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:
parent
ebb206a33d
commit
2c738dd87a
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user