X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ab1f7d2aa9cb1857cf87e105ebbd36a92676bbde..e998fa2691b6b0f545155fa6704cfff5a27663c6:/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,