Update of /cvsroot/mahogany/M/include/gui
In directory usw-pr-cvs1:/tmp/cvs-serv3737/include/gui
Modified Files:
wxMApp.h
Log Message:
do (some) cleanup even if the app failed to start up
Index: wxMApp.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/gui/wxMApp.h,v
retrieving revision 1.65
retrieving revision 1.66
diff -b -u -2 -r1.65 -r1.66
--- wxMApp.h 15 Apr 2002 23:45:13 -0000 1.65
+++ wxMApp.h 22 Apr 2002 16:49:31 -0000 1.66
@@ -193,8 +193,16 @@
virtual void UnloadModules(void);
+private:
+ /// common part of OnExit() and dtor, i.e. cleanup which is always done
+ void DoCleanup();
+
+ /**
+ @name Help subsystem
+ */
+ //@{
+
/// initialize the help controller, return true only if ok
bool InitHelp();
-private:
/// construct the helpfile name from the dir name
static wxString BuildHelpInitString(const wxString& dir);
@@ -209,4 +217,6 @@
wxHelpControllerBase *m_HelpController;
+ //@}
+
#ifdef USE_I18N
/// a locale for translation
@@ -214,4 +224,9 @@
#endif // USE_I18N
+ /**
+ @name Printing
+ */
+ //@{
+
/// save the printing parameters
void CleanUpPrintData();
@@ -221,4 +236,6 @@
/// page setup for printing
wxPageSetupDialogData *m_PageSetupData;
+
+ //@}
/// to recycle the last CanClose() result
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates