compilation warning fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2002-03-15 15:18:42 +00:00
parent 069d493e84
commit 588b8b7037

View File

@ -665,11 +665,14 @@ bool wxTextCtrl::Create(wxWindow *parent,
style |= wxALWAYS_SHOW_SB;
}
// wxTE_WORDWRAP is 0 for now so we don't need the code below
#if 0
if ( style & wxTE_WORDWRAP )
{
// wrapping words means wrapping, hence no horz scrollbar
style &= ~wxHSCROLL;
}
#endif // 0
// TODO: support wxTE_NO_VSCROLL (?)