]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/textctrl.cpp
clear the frame statusbar when the mouse leaves the toolbar or enters a tool without...
[wxWidgets.git] / 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 (?)