]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/dcbase.cpp
blind build fix for STL builds
[wxWidgets.git] / src / common / dcbase.cpp
index 6dc769fe8ba218be5b746ca1fcbbd02280910d29..1742bf8dadf501062060326c5f9ef153588d4b10 100644 (file)
@@ -1332,6 +1332,13 @@ void wxDC::GetClippingBox(long *x, long *y, long *w, long *h) const
         if (h) *h = hh;
     }
 
+void wxDC::DrawObject(wxDrawObject* drawobject)
+{
+    drawobject->Draw(*this);
+    CalcBoundingBox(drawobject->MinX(),drawobject->MinY());
+    CalcBoundingBox(drawobject->MaxX(),drawobject->MaxY());
+}
+
 #endif  // WXWIN_COMPATIBILITY_2_8
 
 /*