]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/textdlgg.cpp
Use wxWindow::Refresh() instead of artificial wxPaintEvent in the test.
[wxWidgets.git] / src / generic / textdlgg.cpp
index 7d52947e51a8239820d7890fc1b19a56ca52870b..03a5f690fc5956af88a09610976a0726869a1562 100644 (file)
@@ -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;