]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/configtool/src/mainframe.h
wxToggleButton on wxMac has these methods now
[wxWidgets.git] / utils / configtool / src / mainframe.h
index 9ad6366a866747f86e84e2cfb942e454bd07faae..a80dce014cd68792213c5e7a50d10e6333167f3f 100644 (file)
 #ifndef _AP_MAINFRAME_H_
 #define _AP_MAINFRAME_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "mainframe.cpp"
 #endif
 
 #include "wx/imaglist.h"
 #include "wx/docview.h"
 
+// #define USE_CONFIG_BROWSER_PAGE
+
 class WXDLLEXPORT wxHtmlWindow;
 class WXDLLEXPORT wxSplitterWindow;
 class WXDLLEXPORT wxNotebookEvent;
@@ -27,7 +29,9 @@ class ctConfigTreeCtrl;
 class ctPropertyEditor;
 class ctOutputWindow;
 class ctFindReplaceDialog;
+#ifdef USE_CONFIG_BROWSER_PAGE
 class ctConfigurationBrowserWindow;
+#endif
 
 /*!
  * \brief The main window of the application.
@@ -156,7 +160,9 @@ protected:
 
     // The control panel for browsing, adding and removing
     // configurations.
+#ifdef USE_CONFIG_BROWSER_PAGE
     ctConfigurationBrowserWindow*   m_configBrowserPage;
+#endif
 
     ctFindReplaceDialog*    m_findDialog;
 };