X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/42fe16e58be724a33c50fcf3911a7ae0fb753cb9..ad653fa23069c5d9378247084f03c9a718c3ad62:/src/generic/textdlgg.cpp?ds=sidebyside diff --git a/src/generic/textdlgg.cpp b/src/generic/textdlgg.cpp index 7d52947e51..03a5f690fc 100644 --- a/src/generic/textdlgg.cpp +++ b/src/generic/textdlgg.cpp @@ -151,6 +151,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;