X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d07d2bc9d05408c58b76c53a0a291915b88e5064..9e477492e29e03c02827b1e42a16cb09a13f5149:/wxPython/src/_checkbox.i?ds=sidebyside

diff --git a/wxPython/src/_checkbox.i b/wxPython/src/_checkbox.i
index 626c4f20fb..2e6287c00a 100644
--- a/wxPython/src/_checkbox.i
+++ b/wxPython/src/_checkbox.i
@@ -78,6 +78,8 @@ Events
 
 
         
+MustHaveApp(wxCheckBox);
+
 class wxCheckBox : public wxControl
 {
 public:
@@ -85,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,
@@ -100,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,
@@ -150,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`");
+    
 };
 
 //---------------------------------------------------------------------------