diff --git a/src/osx/textentry_osx.cpp b/src/osx/textentry_osx.cpp index d7175f8238..8fe74193ea 100644 --- a/src/osx/textentry_osx.cpp +++ b/src/osx/textentry_osx.cpp @@ -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 ; }