]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/control.h
compilation fix for cygwin
[wxWidgets.git] / include / wx / gtk1 / control.h
index 085e5e8cfc3624e60741fa04aabc344dd00d1d00..38b59dcf29f301681d3b21215261a3a1baf95e18 100644 (file)
@@ -10,7 +10,7 @@
 #ifndef __GTKCONTROLH__
 #define __GTKCONTROLH__
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
 #pragma interface
 #endif
 
@@ -29,8 +29,6 @@ class wxControl;
 // wxControl
 //-----------------------------------------------------------------------------
 
-extern const wxChar* wxControlNameStr;
-
 class wxControl : public wxControlBase
 {
 public: