Corrected valtext.cpp for disabled controls; added Dialog Editor fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
1999-03-23 19:56:58 +00:00
parent cc385968c4
commit 6cd47507e8
3 changed files with 6 additions and 5 deletions

View File

@@ -128,9 +128,9 @@ bool wxTextValidator::Validate(wxWindow *parent)
wxTextCtrl *control = (wxTextCtrl *) m_validatorWindow ;
// If window is disabled, don't validate
// If window is disabled, simply return
if ( !control->Enabled() )
return FALSE;
return TRUE;
wxString val(control->GetValue());