TGTextLBEntry

From: Patrick Dupre LCMI (pdupre@labs.polycnrs-gre.fr)
Date: Mon Mar 20 2000 - 17:31:10 MET


Hello,

Why I cannot do this:
  char [16] tmp = "toto" ;
  TGListBox *fDispSize = new TGListBox (fDisplay, -1) ;
  TGTextLBEntry *fNbpt = new TGTextLBEntry (fDisplay, tmp) ;

The last line gives a compilation error:
r/local/root/include/TGListBox.h:114: candidates are: TGTextLBEntry::TGTextLBEntry(const TGTextLBEntry &)

/usr/local/root/include/TGListBox.h:104:                 TGTextLBEntry::TGTextLBEntry(const TGWindow *, TGString *, Int_t, GContext_t, FontStruct_t, UInt_t, ULong_t)


Thank for helping a novice.

-- 
---
==============================================================================
   Patrick DUPRE                |   |   Tel:  (33 4) 76-88-78-51
   CNRS/LCMI (GHMFL)            |   |   Fax:  (33 4) 76-85-56-10
   25 Rue des Martyrs, BP 166   |   |   http://eschyle.polycnrs-gre.fr
   F-38042 GRENOBLE Cedex 09    |   |   email: pdupre@polycnrs-gre.fr
==============================================================================



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:21 MET