]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation warning fix
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 15 Mar 2002 15:18:42 +0000 (15:18 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 15 Mar 2002 15:18:42 +0000 (15:18 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/univ/textctrl.cpp

index 3a2bf8b547c7cfdff071ae923ac28c14e3fea85e..e1cedbad1289db234de92cd2f1980d2823e106a0 100644 (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 (?)