add wxTE_AUTO_SCROLL

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Unknown (MT)
2000-02-29 08:14:01 +00:00
parent 7f82eb0018
commit cfdd3a98d8

View 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_AUTO_SCROLL)
msStyle |= ES_AUTOHSCROLL;
// we always want the characters and the arrows
m_lDlgCode = DLGC_WANTCHARS | DLGC_WANTARROWS;