X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b9048c56f0aa04b2adbb7813f9698abdda15184..a5ee0656c2cee1cb835a0eab4a82bc4948ba05fc:/wxPython/src/_slider.i?ds=sidebyside diff --git a/wxPython/src/_slider.i b/wxPython/src/_slider.i index 4ed28e4ff0..7ecf040a2e 100644 --- a/wxPython/src/_slider.i +++ b/wxPython/src/_slider.i @@ -27,7 +27,7 @@ MAKE_CONST_WXSTRING(SliderNameStr); class wxSlider : public wxControl { public: - %pythonPrepend wxSlider "if kwargs.has_key('point'): kwargs['pos'] = kwargs['point']" + %pythonPrepend wxSlider "if kwargs.has_key('point'): kwargs['pos'] = kwargs['point'];del kwargs['point']" %pythonPrepend wxSlider() "" %pythonAppend wxSlider "self._setOORInfo(self)" %pythonAppend wxSlider() "" @@ -83,6 +83,9 @@ public: virtual int GetSelStart() const; virtual void SetSelection(int min, int max); + + static wxVisualAttributes + GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL); }; //---------------------------------------------------------------------------