]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/samples/stc/edit.h
Avoid warnings from mgl headers if possible.
[wxWidgets.git] / contrib / samples / stc / edit.h
index 0a4cbf4aba4c4debca7fb710d376c47149013011..54034003ae9115571d4f0afdf61c4d7437a33150 100644 (file)
@@ -20,9 +20,9 @@
 // headers
 //----------------------------------------------------------------------------
 
-//! wxWindows headers
+//! wxWidgets headers
 
-//! wxWindows/contrib headers
+//! wxWidgets/contrib headers
 #include <wx/stc/stc.h>  // styled text control
 
 //! application headers
@@ -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