]> git.saurik.com Git - wxWidgets.git/commitdiff
wxDrawObject::Draw vritual and non const wxDCBase
authorKevin Hock <hockkn@yahoo.com>
Sat, 19 Aug 2000 06:32:50 +0000 (06:32 +0000)
committerKevin Hock <hockkn@yahoo.com>
Sat, 19 Aug 2000 06:32:50 +0000 (06:32 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/dc.h

index 4b0b0d8ff026fe8e20ae844bfe75c9a7ec3eeb1b..faee757e84bcdc02db8b4986816de2d3e6687d91 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)
     {