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
#if wxUSE_RICHEDIT
// we're using RICHEDIT (and not simple EDIT) control if this field is not
- // 0, it also gives the version of the RICHEDIT control being used (1, 2 or
- // 3 so far)
+ // 0, it also gives the version of the RICHEDIT control being used
+ // (although not directly: 1 is for 1.0, 2 is for either 2.0 or 3.0 as we
+ // can't nor really need to distinguish between them and 4 is for 4.1)
int m_verRichEdit;
#endif // wxUSE_RICHEDIT
{
// yes, class name for version 4.1 really is 5.0
windowClass = wxT("RICHEDIT50W");
+
+ m_verRichEdit = 4;
}
else if ( wxRichEditModule::Load(wxRichEditModule::Version_2or3) )
{