WINE is so fine.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1189,7 +1189,11 @@ void wxTextCtrl::AdjustSpaceLimit()
|
||||
{
|
||||
limit = len + 0x8000; // 32Kb
|
||||
|
||||
#if wxUSE_RICHEDIT
|
||||
if ( m_isRich || limit > 0xffff )
|
||||
#else
|
||||
if ( limit > 0xffff )
|
||||
#endif
|
||||
::SendMessage(GetHwnd(), EM_LIMITTEXT, 0, limit);
|
||||
else
|
||||
::SendMessage(GetHwnd(), EM_LIMITTEXT, limit, 0);
|
||||
|
Reference in New Issue
Block a user