wxWindow split into wxWindowBase and wxWindow (wxGTK part)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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());
|
||||
|
Reference in New Issue
Block a user