]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dc.h
Added DECLARE_LOCAL_EVENT_TYPE which doesn't use WXDLLEXPORT. This is
[wxWidgets.git] / include / wx / dc.h
index 4b0b0d8ff026fe8e20ae844bfe75c9a7ec3eeb1b..dcff29cc03636df9975c1ff5361a5b46094d96f8 100644 (file)
@@ -44,7 +44,7 @@ public:
 
     virtual ~wxDrawObject() { }
 
 
     virtual ~wxDrawObject() { }
 
-    void Draw(const wxDCBase& dc) const { }
+    virtual void Draw(wxDCBase& dc) const { }
 
     virtual void CalcBoundingBox(wxCoord x, wxCoord y)
     {
 
     virtual void CalcBoundingBox(wxCoord x, wxCoord y)
     {
@@ -654,7 +654,7 @@ protected:
                                  wxFont *theFont = NULL) const = 0;
 
 #if wxUSE_SPLINES
                                  wxFont *theFont = NULL) const = 0;
 
 #if wxUSE_SPLINES
-    virtual void DoDrawSpline(wxList *points) = 0;
+    virtual void DoDrawSpline(wxList *points);
 #endif
 
 protected:
 #endif
 
 protected: