]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/dcscreen.h
wxUniversal compilation fix.
[wxWidgets.git] / include / wx / msw / dcscreen.h
index 3517e78b6168ef80fef89056e54a9e7f527e1154..f45f903d061de0f96c79b6aa949c68683d5c9b6a 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_DCSCREEN_H_
 #define _WX_DCSCREEN_H_
 
 #ifndef _WX_DCSCREEN_H_
 #define _WX_DCSCREEN_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "dcscreen.h"
 #endif
 
 #pragma interface "dcscreen.h"
 #endif
 
@@ -33,7 +33,7 @@ protected:
     virtual void DoGetSize(int *width, int *height) const;
 
 private:
     virtual void DoGetSize(int *width, int *height) const;
 
 private:
-    DECLARE_DYNAMIC_CLASS(wxScreenDC)
+    DECLARE_DYNAMIC_CLASS_NO_COPY(wxScreenDC)
 };
 
 #endif
 };
 
 #endif