X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/61775320c5f2e71df6b9dfe525c40dce23fbcfe7..3a39df31ff47004a46cfb06f3fb2d3e317f96d2b:/utils/configtool/src/wxconfigtool.h diff --git a/utils/configtool/src/wxconfigtool.h b/utils/configtool/src/wxconfigtool.h index 5fe71a22b1..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__ +#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() ;