X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d55734102e25f5d11bcb4bbac39083320afd3699..30e24d9dd5a5abf1c9a375ea259eb239b122b7f7:/wxPython/src/_tglbtn.i diff --git a/wxPython/src/_tglbtn.i b/wxPython/src/_tglbtn.i index 3241807ee6..05fa6455f3 100644 --- a/wxPython/src/_tglbtn.i +++ b/wxPython/src/_tglbtn.i @@ -66,7 +66,7 @@ public: long style = 0, const wxValidator& validator = wxDefaultValidator, const wxString& name = wxPyToggleButtonNameStr); - %name(PreToggleButton)wxToggleButton(); + %RenameCtor(PreToggleButton, wxToggleButton()); bool Create(wxWindow *parent, wxWindowID id=-1, @@ -83,6 +83,8 @@ public: static wxVisualAttributes GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL); + + %property(Value, GetValue, SetValue, doc="See `GetValue` and `SetValue`"); }; //---------------------------------------------------------------------------