If you use File->Exit, you have to use the EVT_MENU event and define an
ID for the Exit menu
Exemple:
self.mnuFile.Append(ID_EXIT, "Exit", "Exit the application",
wxITEM_NORMAL)
.
.
.
EVT_MENU(self, ID_EXIT, self.mnuFileExit)
When killing the application, I think you have to intercept the kill
signal or something like that.
Roland
···
Le lun 05/04/2004 à 11:34, bala a écrit :
Hi,
My Application is running....While running if i close through..File-> Exit or Killing the Process through TaskManager....I want to save the result before my Application get close.
Regards
Bala
--
Everaert Roland <roland_everaert@yahoo.fr>