]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/stc/edit.h
don't preselect the first item if the array with the initial selections is empty...
[wxWidgets.git] / 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