diff --git a/contrib/src/stc/stc.cpp b/contrib/src/stc/stc.cpp index 93a193a70c..a9ca85c5c1 100644 --- a/contrib/src/stc/stc.cpp +++ b/contrib/src/stc/stc.cpp @@ -151,7 +151,7 @@ void wxStyledTextCtrl::Create(wxWindow *parent, const wxString& name) { wxControl::Create(parent, id, pos, size, - style | wxVSCROLL | wxHSCROLL | wxWANTS_CHARS | wxCLIP_CHILDREN, + style | wxWANTS_CHARS | wxCLIP_CHILDREN, wxDefaultValidator, name); #ifdef LINK_LEXERS diff --git a/contrib/src/stc/stc.cpp.in b/contrib/src/stc/stc.cpp.in index 9b9825a9db..d94ba9ac68 100644 --- a/contrib/src/stc/stc.cpp.in +++ b/contrib/src/stc/stc.cpp.in @@ -151,7 +151,7 @@ void wxStyledTextCtrl::Create(wxWindow *parent, const wxString& name) { wxControl::Create(parent, id, pos, size, - style | wxVSCROLL | wxHSCROLL | wxWANTS_CHARS | wxCLIP_CHILDREN, + style | wxWANTS_CHARS | wxCLIP_CHILDREN, wxDefaultValidator, name); #ifdef LINK_LEXERS diff --git a/src/stc/stc.cpp b/src/stc/stc.cpp index 93a193a70c..a9ca85c5c1 100644 --- a/src/stc/stc.cpp +++ b/src/stc/stc.cpp @@ -151,7 +151,7 @@ void wxStyledTextCtrl::Create(wxWindow *parent, const wxString& name) { wxControl::Create(parent, id, pos, size, - style | wxVSCROLL | wxHSCROLL | wxWANTS_CHARS | wxCLIP_CHILDREN, + style | wxWANTS_CHARS | wxCLIP_CHILDREN, wxDefaultValidator, name); #ifdef LINK_LEXERS diff --git a/src/stc/stc.cpp.in b/src/stc/stc.cpp.in index 9b9825a9db..d94ba9ac68 100644 --- a/src/stc/stc.cpp.in +++ b/src/stc/stc.cpp.in @@ -151,7 +151,7 @@ void wxStyledTextCtrl::Create(wxWindow *parent, const wxString& name) { wxControl::Create(parent, id, pos, size, - style | wxVSCROLL | wxHSCROLL | wxWANTS_CHARS | wxCLIP_CHILDREN, + style | wxWANTS_CHARS | wxCLIP_CHILDREN, wxDefaultValidator, name); #ifdef LINK_LEXERS