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:
@@ -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) )
|
||||
{
|
||||
|
Reference in New Issue
Block a user