validators now validate again

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 1999-05-26 12:39:50 +00:00
parent 6db90681cf
commit dcd6b914e5

View File

@ -624,7 +624,7 @@ bool wxWindowBase::Validate()
{
wxWindowBase *child = node->GetData();
wxValidator *validator = child->GetValidator();
if ( validator && validator->Validate((wxWindow *)this) )
if ( validator && !validator->Validate((wxWindow *)this) )
{
return FALSE;
}