X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/42fe16e58be724a33c50fcf3911a7ae0fb753cb9..3eee64e7cfbf7741766bee8f7e612045dd8a3ad0:/src/generic/textdlgg.cpp diff --git a/src/generic/textdlgg.cpp b/src/generic/textdlgg.cpp index 7d52947e51..f3d697fafc 100644 --- a/src/generic/textdlgg.cpp +++ b/src/generic/textdlgg.cpp @@ -4,7 +4,6 @@ // Author: Julian Smart // Modified by: // Created: 04/01/98 -// RCS-ID: $Id$ // Copyright: (c) Julian Smart // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -151,6 +150,11 @@ void wxTextEntryDialog::OnOK(wxCommandEvent& WXUNUSED(event) ) } } +void wxTextEntryDialog::SetMaxLength(unsigned long len) +{ + m_textctrl->SetMaxLength(len); +} + void wxTextEntryDialog::SetValue(const wxString& val) { m_value = val;