X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d7463f75f9c170c29b4965d27dccf535ac32cfde..3a39df31ff47004a46cfb06f3fb2d3e317f96d2b:/utils/configtool/src/wxconfigtool.h?ds=sidebyside diff --git a/utils/configtool/src/wxconfigtool.h b/utils/configtool/src/wxconfigtool.h index a38fca2140..4a1e57fce9 100644 --- a/utils/configtool/src/wxconfigtool.h +++ b/utils/configtool/src/wxconfigtool.h @@ -12,12 +12,13 @@ #ifndef _AP_WXCONFIGTOOL_H_ #define _AP_WXCONFIGTOOL_H_ -#ifdef __GNUG__ -#pragma interface wxconfigtool.cpp +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) +#pragma interface "wxconfigtool.cpp" #endif #include "wx/docview.h" #include "wx/help.h" +#include "wx/app.h" #ifdef __WXMSW__ #include "wx/msw/helpchm.h" @@ -43,7 +44,7 @@ public: ctApp(); /// Destructor. - ~ctApp(); + ~ctApp(){}; // Accessors @@ -62,13 +63,13 @@ public: /// Returns the notebook window. wxNotebook* GetNotebookWindow() { return m_notebookWindow; } - /// Returns TRUE if the application should show tooltips. + /// Returns true if the application should show tooltips. virtual bool UsingTooltips(); /// Returns the help controller object for the manual. wxHelpControllerBase& GetHelpController() { return *m_helpController; } - /// Returns the help controller object for the wxWindows reference manual. + /// Returns the help controller object for the wxWidgets reference manual. wxHelpControllerBase& GetReferenceHelpController() { return *m_helpControllerReference; } /// Returns the document manager object. @@ -91,7 +92,7 @@ public: /// Saves config info to the registry or a file. virtual bool SaveConfig(); - /// The help controller needs to be cleared before wxWindows + /// The help controller needs to be cleared before wxWidgets /// cleanup happens. void ClearHelpControllers() ; @@ -99,12 +100,6 @@ protected: /// The application directory. wxString m_appDir; - /// Global print data, to remember settings during the session. - wxPrintData m_printData; - - /// Global page setup data. - wxPageSetupDialogData m_pageSetupData; - /// Notebook window. wxNotebook* m_notebookWindow; @@ -136,6 +131,7 @@ DECLARE_APP(ctApp) // File menu ids #define ctID_SAVE_SETUP_FILE 1001 #define ctID_SAVE_CONFIGURE_COMMAND 1002 +#define ctID_GO 1003 // Edit menu ids #define ctID_ADD_ITEM 1030