X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1b8c7ba607a15a2ff8a04448138df9ffff7df6c5..30e24d9dd5a5abf1c9a375ea259eb239b122b7f7:/wxPython/src/_scrolbar.i?ds=sidebyside diff --git a/wxPython/src/_scrolbar.i b/wxPython/src/_scrolbar.i index eef02eb2f5..a02af38c63 100644 --- a/wxPython/src/_scrolbar.i +++ b/wxPython/src/_scrolbar.i @@ -51,12 +51,21 @@ public: bool IsVertical() const { return (m_windowStyle & wxVERTICAL) != 0; } virtual void SetThumbPosition(int viewStart); - virtual void SetScrollbar(int position, int thumbSize, - int range, int pageSize, - bool refresh = true); + + DocDeclStr( + virtual void , SetScrollbar(int position, int thumbSize, + int range, int pageSize, + bool refresh = true), + "", ""); + static wxVisualAttributes GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL); + + %property(PageSize, GetPageSize, doc="See `GetPageSize`"); + %property(Range, GetRange, doc="See `GetRange`"); + %property(ThumbPosition, GetThumbPosition, SetThumbPosition, doc="See `GetThumbPosition` and `SetThumbPosition`"); + %property(ThumbSize, GetThumbSize, doc="See `GetThumbSize`"); }; //---------------------------------------------------------------------------