From dcd6b914e5d3647f41bc28c56378601a66f2d0f6 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 26 May 1999 12:39:50 +0000 Subject: [PATCH] validators now validate again git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/wincmn.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/wincmn.cpp b/src/common/wincmn.cpp index e8999d0f1a..12e2f11fef 100644 --- a/src/common/wincmn.cpp +++ b/src/common/wincmn.cpp @@ -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; } -- 2.45.2