]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_checkbox.i
Allow for Cmd-click on wxMac
[wxWidgets.git] / wxPython / src / _checkbox.i
index 626c4f20fbec9828e1e07243efd52ae5a36c88ed..1b553a151b6e288dc1eeba9f93a50262da260ad6 100644 (file)
@@ -78,6 +78,8 @@ Events
 
 
         
 
 
         
+MustHaveApp(wxCheckBox);
+
 class wxCheckBox : public wxControl
 {
 public:
 class wxCheckBox : public wxControl
 {
 public:
@@ -85,7 +87,8 @@ public:
     %pythonAppend wxCheckBox()       ""
 
     DocCtorStr(
     %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,
                    const wxPoint& pos = wxDefaultPosition,
                    const wxSize& size = wxDefaultSize,
                    long style = 0,
@@ -100,7 +103,8 @@ public:
 
     
     DocDeclStr(
 
     
     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,
                      const wxPoint& pos = wxDefaultPosition,
                      const wxSize& size = wxDefaultSize,
                      long style = 0,