From cfdd3a98d8b374351ab2ed8f48a155fa52f52c74 Mon Sep 17 00:00:00 2001 From: "Unknown (MT)" Date: Tue, 29 Feb 2000 08:14:01 +0000 Subject: [PATCH] add wxTE_AUTO_SCROLL git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/textctrl.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/msw/textctrl.cpp b/src/msw/textctrl.cpp index 91ad453853..c4e85c8f19 100644 --- a/src/msw/textctrl.cpp +++ b/src/msw/textctrl.cpp @@ -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_AUTO_SCROLL) + msStyle |= ES_AUTOHSCROLL; + + // we always want the characters and the arrows m_lDlgCode = DLGC_WANTCHARS | DLGC_WANTARROWS; -- 2.47.2