]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/dcprint.h
Added missing NO_GCC_PRAGMA check.
[wxWidgets.git] / include / wx / msw / dcprint.h
index 245a6a49be67725fd930c491004d28a4e3f9340f..68e1e2d10cbe5797c1ed19c3af2926286ea35693 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_DCPRINT_H_
 #define _WX_DCPRINT_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "dcprint.h"
 #endif
 
@@ -52,7 +52,7 @@ protected:
     wxPrintData m_printData;
 
 private:
-    DECLARE_CLASS(wxPrinterDC)
+    DECLARE_DYNAMIC_CLASS_NO_COPY(wxPrinterDC)
 };
 
 // Gets an HDC for the default printer configuration