]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/dc.h
Added wxPaintDCEx class, to handle the case where an HDC
[wxWidgets.git] / include / wx / msw / dc.h
index dde2cf42460d790039936457f078a900d4621483..51c3bfdf9459298ca0535a23f3f31990e312fcac 100644 (file)
@@ -241,6 +241,7 @@ protected:
 #endif
 
     DECLARE_DYNAMIC_CLASS(wxDC)
 #endif
 
     DECLARE_DYNAMIC_CLASS(wxDC)
+    DECLARE_NO_COPY_CLASS(wxDC)
 };
 
 // ----------------------------------------------------------------------------
 };
 
 // ----------------------------------------------------------------------------
@@ -253,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