X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/aec437166095bad505a05f8efc1e9efb0720ed0e..504d911e5a101759669b3ab3487a2f1e28989d7b:/include/wx/dc.h diff --git a/include/wx/dc.h b/include/wx/dc.h index 4b0b0d8ff0..faee757e84 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) {