X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/aec437166095bad505a05f8efc1e9efb0720ed0e..5527476f67f7313aeea0d16b2fe366e5a5ddb493:/include/wx/dc.h?ds=sidebyside diff --git a/include/wx/dc.h b/include/wx/dc.h index 4b0b0d8ff0..dcff29cc03 100644 --- a/include/wx/dc.h +++ b/include/wx/dc.h @@ -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: