X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d14a1e28567de23c586bc80017073d0c39f8d18f..4a7ea057cd6bf54d645134615f4c9d247767cef0:/wxPython/src/_statusbar.i diff --git a/wxPython/src/_statusbar.i b/wxPython/src/_statusbar.i index 360970e3fa..48ef90034f 100644 --- a/wxPython/src/_statusbar.i +++ b/wxPython/src/_statusbar.i @@ -59,8 +59,14 @@ public: virtual void SetStatusWidths(int widths, const int* widths_field); // uses typemap in _toplvl.i // Get the position and size of the field's internal bounding rectangle - virtual bool GetFieldRect(int i, wxRect& rect) const; - + %extend { + wxRect GetFieldRect(int i) { + wxRect r; + self->GetFieldRect(i, r); + return r; + } + } + // sets the minimal vertical size of the status bar virtual void SetMinHeight(int height);