X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/440ddb750f4b9d9a4bb968a4f2ee07f3b307cf17..ab67e8874db324fab5223cc8d5dff8a8de3e2b77:/include/wx/dc.h?ds=inline diff --git a/include/wx/dc.h b/include/wx/dc.h index c6ff1fa3a2..34f58e2662 100644 --- a/include/wx/dc.h +++ b/include/wx/dc.h @@ -433,8 +433,12 @@ public: // clipping + // Note that this pure virtual method has an implementation that updates + // the values returned by DoGetClippingBox() and so can be called from the + // derived class overridden version if it makes sense (i.e. if the clipping + // box coordinates are not already updated in some other way). virtual void DoSetClippingRegion(wxCoord x, wxCoord y, - wxCoord width, wxCoord height) = 0; + wxCoord w, wxCoord h) = 0; // NB: this function works with device coordinates, not the logical ones! virtual void DoSetDeviceClippingRegion(const wxRegion& region) = 0;