X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/da31cbc4ef4ea342ac1cbb2339cd85074d28ff98..faad1887075b65f7c457c6543ea739d6104b2f34:/src/mac/textctrl.cpp diff --git a/src/mac/textctrl.cpp b/src/mac/textctrl.cpp index 183c86981c..90871927da 100644 --- a/src/mac/textctrl.cpp +++ b/src/mac/textctrl.cpp @@ -683,7 +683,7 @@ bool wxTextCtrl::Create(wxWindow *parent, wxWindowID id, m_macUsesTXN &= (TXNInitTextension != (void*) kUnresolvedCFragSymbolAddress) ; // base initialization - if ( !wxTextCtrlBase::Create(parent, id, pos, size, style, validator, name) ) + if ( !wxTextCtrlBase::Create(parent, id, pos, size, style & ~(wxHSCROLL|wxVSCROLL), validator, name) ) return FALSE; wxSize mySize = size ;