]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/textdlgg.cpp
Add test for absence of events from wxSpinCtrlDouble ctor.
[wxWidgets.git] / src / generic / textdlgg.cpp
index 7d52947e51a8239820d7890fc1b19a56ca52870b..f3d697fafccf087b3a2d29c32b74ed39932e9768 100644 (file)
@@ -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;