]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dc.h
applied patch 410892 (wxCopyFile uses ::CopyFile under Win32, has overwrite parameter)
[wxWidgets.git] / include / wx / dc.h
index 4b0b0d8ff026fe8e20ae844bfe75c9a7ec3eeb1b..dcff29cc03636df9975c1ff5361a5b46094d96f8 100644 (file)
@@ -44,7 +44,7 @@ public:
 
     virtual ~wxDrawObject() { }
 
-    void Draw(const wxDCBase& dc) const { }
+    virtual void Draw(wxDCBase& dc) const { }
 
     virtual void CalcBoundingBox(wxCoord x, wxCoord y)
     {
@@ -654,7 +654,7 @@ protected:
                                  wxFont *theFont = NULL) const = 0;
 
 #if wxUSE_SPLINES
-    virtual void DoDrawSpline(wxList *points) = 0;
+    virtual void DoDrawSpline(wxList *points);
 #endif
 
 protected: