Hi, I am trying to put a button with a picture into a GUI. I do const TGPicture *pic = fClient->GetPicture("tb_uplevel.xpm") fCdup = new TGPictureButton(fC1,fPcdup,M_CDUP); When I do .x GUI.C root complaints that fClient does not exit? If I define fClient TGClient *fClient When I do .x GUI.C root I get: Error: illegal pointer to class object fClient 0x0 417 FILE:GUI.C LINE:222 *** Interpreter error recovered *** Does anybody know what the problem is? I am running ROOT 3.02/07 under Linux Red Hat 7.2 Thanks, Carlos Sanchez
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:13 MET