add wxTE_AUTO_SCROLL

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Unknown (MT) 1999-09-13 07:14:27 +00:00
parent ebb206a33d
commit 2c738dd87a

View File

@ -139,6 +139,9 @@ bool wxTextCtrl::Create(wxWindow *parent, wxWindowID id,
else else
msStyle |= ES_AUTOHSCROLL; msStyle |= ES_AUTOHSCROLL;
if (m_windowStyle & wxHSCROLL)
msStyle |= (WS_HSCROLL | ES_AUTOHSCROLL);
if (m_windowStyle & wxTE_READONLY) if (m_windowStyle & wxTE_READONLY)
msStyle |= ES_READONLY; msStyle |= ES_READONLY;