From: Vadim Zeitlin Date: Fri, 15 Mar 2002 15:18:42 +0000 (+0000) Subject: compilation warning fix X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/588b8b7037d2b1c736863c43952b4d3a05c6cf2f compilation warning fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/univ/textctrl.cpp b/src/univ/textctrl.cpp index 3a2bf8b547..e1cedbad12 100644 --- a/src/univ/textctrl.cpp +++ b/src/univ/textctrl.cpp @@ -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 (?)