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:
parent
8db2e3ef15
commit
a39815bd30
@ -77,6 +77,8 @@ void wxTextEntry::GetSelection(long* from, long* to) const
|
|||||||
|
|
||||||
void wxTextEntry::SetMaxLength(unsigned long len)
|
void wxTextEntry::SetMaxLength(unsigned long len)
|
||||||
{
|
{
|
||||||
|
if ( GetTextPeer()->CanClipMaxLength() )
|
||||||
|
GetTextPeer()->SetMaxLength(len);
|
||||||
m_maxLength = len ;
|
m_maxLength = len ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user