]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/stc/stc.h
use wxWindowDisabler instead of ShowModal() for showing the print preview frame ...
[wxWidgets.git] / include / wx / stc / stc.h
index 6d17fd87efba013a5dae0e215214d9ff07215242..12bb66c3b5f8901876fb33bb2851b68452acb460 100644 (file)
@@ -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);