X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ab1f7d2aa9cb1857cf87e105ebbd36a92676bbde..431839ac8e74421678a5c3d619c97035f4616cc6:/wxPython/src/_tglbtn.i diff --git a/wxPython/src/_tglbtn.i b/wxPython/src/_tglbtn.i index d3947cc5e3..3241807ee6 100644 --- a/wxPython/src/_tglbtn.i +++ b/wxPython/src/_tglbtn.i @@ -59,8 +59,8 @@ public: %pythonAppend wxToggleButton() "" wxToggleButton(wxWindow *parent, - wxWindowID id, - const wxString& label, + wxWindowID id=-1, + const wxString& label = wxPyEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0, @@ -69,8 +69,8 @@ public: %name(PreToggleButton)wxToggleButton(); bool Create(wxWindow *parent, - wxWindowID id, - const wxString& label, + wxWindowID id=-1, + const wxString& label = wxPyEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0,