]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_tglbtn.i
fix building/running of tex2rtf
[wxWidgets.git] / wxPython / src / _tglbtn.i
index 3241807ee64b4a508b4089c412561df4606fdb7e..05fa6455f30ba1e4714fae30d8150755012d6d2d 100644 (file)
@@ -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`");
 };
 
 //---------------------------------------------------------------------------