]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/samples/stc/edit.h
Removed ambiguity between deprecated and new constructor.
[wxWidgets.git] / contrib / samples / stc / edit.h
index 22d5c8cac37f5ebf0b369440bf54df0a4556797e..54034003ae9115571d4f0afdf61c4d7437a33150 100644 (file)
@@ -45,7 +45,7 @@ class Edit: public wxStyledTextCtrl {
 
 public:
     //! constructor
-    Edit (wxWindow *parent, wxWindowID id = -1,
+    Edit (wxWindow *parent, wxWindowID id = wxID_ANY,
           const wxPoint &pos = wxDefaultPosition,
           const wxSize &size = wxDefaultSize,
           long style = wxSUNKEN_BORDER|wxVSCROLL