]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/dc.h
It was not acceptable to call the class method from the static initializer
[wxWidgets.git] / include / wx / msw / dc.h
index f28ffedd8d82f52c44258e1f7bf375220651fc24..ac1f0a3989c83de77a6ad34db168061d754a5afb 100644 (file)
@@ -135,7 +135,7 @@ public:
 #endif
 
 protected:
 #endif
 
 protected:
-    virtual void DoFloodFill(wxCoord x, wxCoord y, const wxColour& col,
+    virtual bool DoFloodFill(wxCoord x, wxCoord y, const wxColour& col,
                              int style = wxFLOOD_SURFACE);
 
     virtual bool DoGetPixel(wxCoord x, wxCoord y, wxColour *col) const;
                              int style = wxFLOOD_SURFACE);
 
     virtual bool DoGetPixel(wxCoord x, wxCoord y, wxColour *col) const;
@@ -241,6 +241,7 @@ protected:
 #endif
 
     DECLARE_DYNAMIC_CLASS(wxDC)
 #endif
 
     DECLARE_DYNAMIC_CLASS(wxDC)
+    DECLARE_NO_COPY_CLASS(wxDC)
 };
 
 // ----------------------------------------------------------------------------
 };
 
 // ----------------------------------------------------------------------------