diff --git a/contrib/include/wx/stc/stc.h b/contrib/include/wx/stc/stc.h index 20c184589c..5ba166a5ae 100644 --- a/contrib/include/wx/stc/stc.h +++ b/contrib/include/wx/stc/stc.h @@ -182,7 +182,7 @@ public: wxStyledTextCtrl(wxWindow *parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0, - const char* name = wxSTCNameStr); + const char* name = "styledtext"); #else wxStyledTextCtrl(wxWindow *parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition, diff --git a/include/wx/stc/stc.h b/include/wx/stc/stc.h index 20c184589c..5ba166a5ae 100644 --- a/include/wx/stc/stc.h +++ b/include/wx/stc/stc.h @@ -182,7 +182,7 @@ public: wxStyledTextCtrl(wxWindow *parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0, - const char* name = wxSTCNameStr); + const char* name = "styledtext"); #else wxStyledTextCtrl(wxWindow *parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition,