I want to close a TGMainFrame window and delete the object TGMainFrame to free
the memory. But as soon as I delete the object inside of the method
CloseWindow() (delete this;) I get this error message:
Error in <RootX11Error>: BadWindow (invalid Window parameter) (XID: 121634943)
How can I delete an already closed window?
Cheers Reiner.