]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/panelg.h
avoid a bug in Carbon headers
[wxWidgets.git] / include / wx / generic / panelg.h
index b6bc8cb2a442a5deadeef81e26044649a9e5a0ed..b79a59e0f4906f721497a4830e8ddaa3a64987d6 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_GENERIC_PANEL_H_
 #define _WX_GENERIC_PANEL_H_
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "panelg.h"
 #endif
 
@@ -93,7 +93,7 @@ protected:
     void Init();
 
 private:
-    DECLARE_DYNAMIC_CLASS(wxPanel)
+    DECLARE_DYNAMIC_CLASS_NO_COPY(wxPanel)
     DECLARE_EVENT_TABLE()
 };