]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/frame.h
Patch #826420, and also adapted to new SWIG
[wxWidgets.git] / include / wx / msw / frame.h
index cc8bd90b35dc33fdaa9743b1c98239fc0097ca3d..21b6badf8670933d842f55378a8202adf8d05bdd 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_FRAME_H_
 #define _WX_FRAME_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "frame.h"
 #endif
 
@@ -154,7 +154,7 @@ private:
     bool m_wasMinimized;
 
     DECLARE_EVENT_TABLE()
-    DECLARE_DYNAMIC_CLASS(wxFrame)
+    DECLARE_DYNAMIC_CLASS_NO_COPY(wxFrame)
 };
 
 #endif