]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/valtext.cpp
A few weeks of Unicode fixes (my old win95 laptop compiles sloowly,
[wxWidgets.git] / src / common / valtext.cpp
index 4f1740a7499d2cfe82306e4d74345eeb13d63fed..bb83543bb10266717f9dbdd0689725d0bc8709dd 100644 (file)
@@ -129,7 +129,7 @@ bool wxTextValidator::Validate(wxWindow *parent)
     wxTextCtrl *control = (wxTextCtrl *) m_validatorWindow ;
 
     // If window is disabled, simply return
-    if ( !control->Enabled() )
+    if ( !control->IsEnabled() )
         return TRUE;
 
     wxString val(control->GetValue());