]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/textctrl.cpp
add wxTE_AUTO_SCROLL
[wxWidgets.git] / src / msw / textctrl.cpp
index 91ad4538531b32592f527b9a343fdc850e7fcd39..c4e85c8f196e3309298a9c426474aaf9a143fdbe 100644 (file)
@@ -178,6 +178,10 @@ bool wxTextCtrl::Create(wxWindow *parent, wxWindowID id,
     if (m_windowStyle & wxTE_PASSWORD) // hidden input
         msStyle |= ES_PASSWORD;
 
     if (m_windowStyle & wxTE_PASSWORD) // hidden input
         msStyle |= ES_PASSWORD;
 
+   if (m_windowStyle & wxTE_AUTO_SCROLL)
+        msStyle |=  ES_AUTOHSCROLL;
+
+
     // we always want the characters and the arrows
     m_lDlgCode = DLGC_WANTCHARS | DLGC_WANTARROWS;
 
     // we always want the characters and the arrows
     m_lDlgCode = DLGC_WANTCHARS | DLGC_WANTARROWS;