]> git.saurik.com Git - wxWidgets.git/blobdiff - src/stc/stc.h.in
Compilation fixes.
[wxWidgets.git] / src / stc / stc.h.in
index af0e74346fbb5f6abf80d8f7656de2e1ebb00881..2592301f637911e10843077b2392d1a3b1ac68ca 100644 (file)
@@ -86,14 +86,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);
@@ -102,7 +102,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);