X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/880715c9a941c58e5f702ff340aac7138b27f6ed..015fd9ef4833ec3d8b0043a1c7e448c8be4f734a:/wxPython/src/_statctrls.i diff --git a/wxPython/src/_statctrls.i b/wxPython/src/_statctrls.i index c407a4d799..3c15670aaf 100644 --- a/wxPython/src/_statctrls.i +++ b/wxPython/src/_statctrls.i @@ -23,19 +23,23 @@ MAKE_CONST_WXSTRING(StaticTextNameStr); //--------------------------------------------------------------------------- %newgroup +MustHaveApp(wxStaticBox); + class wxStaticBox : public wxControl { public: %pythonAppend wxStaticBox "self._setOORInfo(self)" %pythonAppend wxStaticBox() "" - wxStaticBox(wxWindow* parent, wxWindowID id, const wxString& label, + wxStaticBox(wxWindow* parent, wxWindowID id=-1, + const wxString& label = wxPyEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0, const wxString& name = wxPyStaticBoxNameStr); %name(PreStaticBox)wxStaticBox(); - 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, @@ -50,19 +54,21 @@ public: %newgroup +MustHaveApp(wxStaticLine); + class wxStaticLine : public wxControl { public: %pythonAppend wxStaticLine "self._setOORInfo(self)" %pythonAppend wxStaticLine() "" - wxStaticLine( wxWindow *parent, wxWindowID id, + wxStaticLine( wxWindow *parent, wxWindowID id=-1, const wxPoint &pos = wxDefaultPosition, const wxSize &size = wxDefaultSize, long style = wxLI_HORIZONTAL, const wxString& name = wxPyStaticTextNameStr); %name(PreStaticLine)wxStaticLine(); - bool Create( wxWindow *parent, wxWindowID id, + bool Create( wxWindow *parent, wxWindowID id=-1, const wxPoint &pos = wxDefaultPosition, const wxSize &size = wxDefaultSize, long style = wxLI_HORIZONTAL, @@ -82,19 +88,23 @@ public: //--------------------------------------------------------------------------- %newgroup +MustHaveApp(wxStaticText); + class wxStaticText : public wxControl { public: %pythonAppend wxStaticText "self._setOORInfo(self)" %pythonAppend wxStaticText() "" - wxStaticText(wxWindow* parent, wxWindowID id, const wxString& label, + wxStaticText(wxWindow* parent, wxWindowID id=-1, + const wxString& label = wxPyEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0, const wxString& name = wxPyStaticTextNameStr); %name(PreStaticText)wxStaticText(); - 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, @@ -107,21 +117,23 @@ public: //--------------------------------------------------------------------------- %newgroup +MustHaveApp(wxStaticBitmap); + class wxStaticBitmap : public wxControl { public: %pythonAppend wxStaticBitmap "self._setOORInfo(self)" %pythonAppend wxStaticBitmap() "" - wxStaticBitmap(wxWindow* parent, wxWindowID id, - const wxBitmap& bitmap, + wxStaticBitmap(wxWindow* parent, wxWindowID id=-1, + const wxBitmap& bitmap = wxNullBitmap, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0, const wxString& name = wxPyStaticBitmapNameStr); %name(PreStaticBitmap)wxStaticBitmap(); - bool Create(wxWindow* parent, wxWindowID id, - const wxBitmap& bitmap, + bool Create(wxWindow* parent, wxWindowID id=-1, + const wxBitmap& bitmap = wxNullBitmap, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0,