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:
Robert Roebling
1999-06-09 00:32:07 +00:00
parent 96eb3b1a82
commit 5ea105e0ba
17 changed files with 149 additions and 33 deletions

View File

@@ -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);