Set wxTextCtrl::m_verRichEdit to 4 for RichEdit 4.1.

Set m_verRichEdit to a different value for the version 4.1 of the control as
it behaves subtly differently from the previous versions.

Also clarify that value of 2 is used for both 2.0 and 3.0 versions of the
control.

No real changes yet.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2010-09-18 16:26:22 +00:00
parent 3f53dd3a2f
commit 4f7c00f237
2 changed files with 5 additions and 2 deletions

View File

@@ -434,6 +434,8 @@ bool wxTextCtrl::MSWCreateText(const wxString& value,
{
// yes, class name for version 4.1 really is 5.0
windowClass = wxT("RICHEDIT50W");
m_verRichEdit = 4;
}
else if ( wxRichEditModule::Load(wxRichEditModule::Version_2or3) )
{