X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7d7b3f69f2b8ab29b3cb8ceb6e2923018cf96562..5337ab1bb87eb9691d84e24471489808072ac9fd:/src/common/dcbase.cpp diff --git a/src/common/dcbase.cpp b/src/common/dcbase.cpp index 6dc769fe8b..1742bf8dad 100644 --- a/src/common/dcbase.cpp +++ b/src/common/dcbase.cpp @@ -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 /*