X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/be698f50301674b969cacecc683ffac5ba6e2e16..822e690b221486b63895b5f14a7fbee2bc966fe5:/contrib/include/wx/stc/stc.h?ds=sidebyside diff --git a/contrib/include/wx/stc/stc.h b/contrib/include/wx/stc/stc.h index 6d17fd87ef..32b6b7bf34 100644 --- a/contrib/include/wx/stc/stc.h +++ b/contrib/include/wx/stc/stc.h @@ -1311,14 +1311,14 @@ public: %pythonAppend wxStyledTextCtrl "self._setOORInfo(self)" %pythonAppend wxStyledTextCtrl() "" - wxStyledTextCtrl(wxWindow *parent, wxWindowID id, + wxStyledTextCtrl(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0, const wxString& name = wxPySTCNameStr); %name(PreStyledTextCtrl) wxStyledTextCtrl(); #else - wxStyledTextCtrl(wxWindow *parent, wxWindowID id, + wxStyledTextCtrl(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0, const wxString& name = wxSTCNameStr); @@ -1327,7 +1327,7 @@ public: #endif - void Create(wxWindow *parent, wxWindowID id, + void Create(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0, const wxString& name = wxSTCNameStr); @@ -2730,6 +2730,7 @@ private: void OnListBox(wxCommandEvent& evt); void OnIdle(wxIdleEvent& evt); + virtual wxSize DoGetBestSize() const; // Turn notifications from Scintilla into events void NotifyChange();