removing scroll flags before instantiation the base class

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2003-09-05 14:38:03 +00:00
parent 605c7e7ed8
commit b657d5dbee
4 changed files with 4 additions and 4 deletions

View File

@@ -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 ;