]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/textctrl.cpp
more things to ignore
[wxWidgets.git] / src / msw / textctrl.cpp
index fa88d2dc95537cbe8481ea33cd333ecfa974f5cc..5cc8e00a8221d666d210abe1bf55e142a0d1d816 100644 (file)
@@ -139,6 +139,9 @@ bool wxTextCtrl::Create(wxWindow *parent, wxWindowID id,
     else
         msStyle |= ES_AUTOHSCROLL;
 
+    if (m_windowStyle & wxHSCROLL)
+        msStyle |= (WS_HSCROLL | ES_AUTOHSCROLL);
+
     if (m_windowStyle & wxTE_READONLY)
         msStyle |= ES_READONLY;