Update of /cvsroot/mahogany/M/include/gui
In directory usw-pr-cvs1:/tmp/cvs-serv4124/include/gui

Modified Files:
        wxMApp.h 
Log Message:
modified the program exiting logic to behave in the same way whether it
exits because of a menu command or because the main frame was closed


Index: wxMApp.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/gui/wxMApp.h,v
retrieving revision 1.64
retrieving revision 1.65
diff -b -u -2 -r1.64 -r1.65
--- wxMApp.h    13 Apr 2002 23:34:31 -0000      1.64
+++ wxMApp.h    15 Apr 2002 23:45:13 -0000      1.65
@@ -70,6 +70,7 @@
    virtual void SetLogFile(const String& filename);
 
-   // override this to return true only if all frames can close
+   // program termination helpers
    virtual bool CanClose() const;
+   virtual void OnClose();
 
    // wxWin calls these functions to start/run/stop the application
@@ -201,7 +202,4 @@
    /// get the default help directory
    static wxString GetHelpDir();
-
-   /// implement base class pure virtual
-   virtual void DoExit();
 
    /// an iconmanager instance


_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to