Fons Rademakers writes: > it is important that you connect a function to the TGMainFrame CloseWindow() > signal in which you delete the frame and all other widgets. The default > TGMainFrame::CloseWindow() just closes the TGMainFrame (i.e. destroys the > associated X11 window, but does not delete the TGMainFrame object) Thanks Fons, I still have problems, but I think these are due to undeleted or double deleted objects owned by my TGMainFrame, or one of its children. I think this must have been asked many times before, but I couldn't find the answer: does TPad own its objects? It seems that I remember a document explaining this, but searching through the user's guide and searching root.cern.ch came up empty. -Brett.
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:03 MET