X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dd9f7fea29e3f8bb61861f52984b7943512346ac..56a52e909411904736e41258c39f306d218d84d5:/wxPython/src/_scrolbar.i diff --git a/wxPython/src/_scrolbar.i b/wxPython/src/_scrolbar.i index 196a8241ef..cb87fb1013 100644 --- a/wxPython/src/_scrolbar.i +++ b/wxPython/src/_scrolbar.i @@ -15,17 +15,17 @@ //--------------------------------------------------------------------------- -%{ - DECLARE_DEF_STRING(ScrollBarNameStr); -%} +MAKE_CONST_WXSTRING(ScrollBarNameStr); //--------------------------------------------------------------------------- %newgroup +MustHaveApp(wxScrollBar); + class wxScrollBar : public wxControl { public: - %addtofunc wxScrollBar "self._setOORInfo(self)" - %addtofunc wxScrollBar() "" + %pythonAppend wxScrollBar "self._setOORInfo(self)" + %pythonAppend wxScrollBar() "" wxScrollBar(wxWindow* parent, wxWindowID id = -1, const wxPoint& pos = wxDefaultPosition, @@ -53,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); }; //---------------------------------------------------------------------------