X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b9048c56f0aa04b2adbb7813f9698abdda15184..b519803b436486ca933d750c990ef64a29551221:/wxPython/src/_scrolbar.i?ds=sidebyside diff --git a/wxPython/src/_scrolbar.i b/wxPython/src/_scrolbar.i index 8155c4502e..cb87fb1013 100644 --- a/wxPython/src/_scrolbar.i +++ b/wxPython/src/_scrolbar.i @@ -20,6 +20,8 @@ MAKE_CONST_WXSTRING(ScrollBarNameStr); //--------------------------------------------------------------------------- %newgroup +MustHaveApp(wxScrollBar); + class wxScrollBar : public wxControl { public: %pythonAppend wxScrollBar "self._setOORInfo(self)" @@ -51,7 +53,10 @@ public: virtual void SetThumbPosition(int viewStart); virtual void SetScrollbar(int position, int thumbSize, int range, int pageSize, - bool refresh = True); + bool refresh = true); + + static wxVisualAttributes + GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL); }; //---------------------------------------------------------------------------