]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/configtool/src/mainframe.h
Small fixes to allow compilation in Unicode mode with gcc
[wxWidgets.git] / utils / configtool / src / mainframe.h
index cf240a0dca28c3399a30eb20fafb2e107a08f167..8567f116aeed915899048ab5c991933957bebefa 100644 (file)
 #ifndef _AP_MAINFRAME_H_
 #define _AP_MAINFRAME_H_
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma interface "mainframe.cpp"
-#endif
-
 #include "wx/imaglist.h"
 #include "wx/docview.h"
 #include "wx/notebook.h"
+#include "wx/textctrl.h"
 
 // #define USE_CONFIG_BROWSER_PAGE
 
@@ -184,7 +181,9 @@ public:
     void CreateWindows();
 
     /// Copies the text to the clipboard.
+#if wxUSE_CLIPBOARD
     void OnCopyToClipboard(wxCommandEvent& event);
+#endif // wxUSE_CLIPBOARD
     void OnUpdateCopy(wxUpdateUIEvent& event);
 
     /// Regenerates setup.h/configure command