X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/699e192bccb7bfd8cf69455d2c6786d3da634550..85ac8ca017a0409e9762ed305ccc1d32a7c28fa7:/wxPython/src/_radio.i?ds=sidebyside diff --git a/wxPython/src/_radio.i b/wxPython/src/_radio.i index a2af8d1d71..c70ce8c11c 100644 --- a/wxPython/src/_radio.i +++ b/wxPython/src/_radio.i @@ -24,7 +24,7 @@ MAKE_CONST_WXSTRING(RadioButtonNameStr); class wxRadioBox : public wxControl { public: - %pythonPrepend wxRadioBox "if kwargs.has_key('point'): kwargs['pos'] = kwargs['point']" + %pythonPrepend wxRadioBox "if kwargs.has_key('point'): kwargs['pos'] = kwargs['point'];del kwargs['point']" %pythonPrepend wxRadioBox() "" %pythonAppend wxRadioBox "self._setOORInfo(self)" %pythonAppend wxRadioBox() "" @@ -86,6 +86,8 @@ public: } #endif + static wxVisualAttributes + GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL); }; @@ -117,6 +119,9 @@ public: bool GetValue(); void SetValue(bool value); + + static wxVisualAttributes + GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL); }; //---------------------------------------------------------------------------