]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_checkbox.i
fixed wxString iterators linked list corruption
[wxWidgets.git] / wxPython / src / _checkbox.i
index 0d7800accb56ccfa80dec218ef755ce2ac2dea35..2e6287c00a298265bcfd7256214a4f11c49e8626 100644 (file)
@@ -87,7 +87,8 @@ public:
     %pythonAppend wxCheckBox()       ""
 
     DocCtorStr(
-        wxCheckBox(wxWindow* parent, wxWindowID id, const wxString& label,
+        wxCheckBox(wxWindow* parent, wxWindowID id=-1,
+                   const wxString& label = wxPyEmptyString,
                    const wxPoint& pos = wxDefaultPosition,
                    const wxSize& size = wxDefaultSize,
                    long style = 0,
@@ -102,7 +103,8 @@ public:
 
     
     DocDeclStr(
-        bool, Create(wxWindow* parent, wxWindowID id, const wxString& label,
+        bool, Create(wxWindow* parent, wxWindowID id=-1,
+                     const wxString& label = wxPyEmptyString,
                      const wxPoint& pos = wxDefaultPosition,
                      const wxSize& size = wxDefaultSize,
                      long style = 0,
@@ -152,6 +154,10 @@ state.", "");
     
     static wxVisualAttributes
     GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
+
+    %property(ThreeStateValue, Get3StateValue, Set3StateValue, doc="See `Get3StateValue` and `Set3StateValue`");
+    %property(Value, GetValue, SetValue, doc="See `GetValue` and `SetValue`");
+    
 };
 
 //---------------------------------------------------------------------------