missing commit, see #10269

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2012-01-17 21:54:02 +00:00
parent 8db2e3ef15
commit a39815bd30

View File

@ -77,6 +77,8 @@ void wxTextEntry::GetSelection(long* from, long* to) const
void wxTextEntry::SetMaxLength(unsigned long len)
{
if ( GetTextPeer()->CanClipMaxLength() )
GetTextPeer()->SetMaxLength(len);
m_maxLength = len ;
}