]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/dc.h
Added implementation of MDI using top level windows
[wxWidgets.git] / include / wx / msw / dc.h
index ac1f0a3989c83de77a6ad34db168061d754a5afb..1271d458c39b7c64a7a394087ca3455bd1adaf57 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_DC_H_
 #define _WX_DC_H_
 
 #ifndef _WX_DC_H_
 #define _WX_DC_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "dc.h"
 #endif
 
     #pragma interface "dc.h"
 #endif
 
@@ -254,6 +254,9 @@ class WXDLLEXPORT wxDCTemp : public wxDC
 public:
     wxDCTemp(WXHDC hdc) { SetHDC(hdc); }
     virtual ~wxDCTemp() { SetHDC((WXHDC)NULL); }
 public:
     wxDCTemp(WXHDC hdc) { SetHDC(hdc); }
     virtual ~wxDCTemp() { SetHDC((WXHDC)NULL); }
+
+private:
+    DECLARE_NO_COPY_CLASS(wxDCTemp)
 };
 
 #endif
 };
 
 #endif