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:
parent
069d493e84
commit
588b8b7037
@ -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 (?)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user