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:
parent
6db90681cf
commit
dcd6b914e5
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user