X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d07d2bc9d05408c58b76c53a0a291915b88e5064..ad3fca675f77c2903cafd096bbda8baa2e7689ff:/wxPython/src/_control.i diff --git a/wxPython/src/_control.i b/wxPython/src/_control.i index f681865741..966b3950a6 100644 --- a/wxPython/src/_control.i +++ b/wxPython/src/_control.i @@ -27,6 +27,8 @@ DocStr(wxControl, A control is generally a small window which processes user input and/or displays one or more item of data.", ""); +MustHaveApp(wxControl); + class wxControl : public wxWindow { public: @@ -35,7 +37,7 @@ public: DocCtorStr( wxControl(wxWindow *parent, - wxWindowID id, + wxWindowID id=-1, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=0, @@ -51,7 +53,7 @@ __init__ as a plain old wx.Control is not very useful.", ""); DocDeclStr( bool , Create(wxWindow *parent, - wxWindowID id, + wxWindowID id=-1, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=0,