From: Vadim Zeitlin Date: Wed, 26 May 1999 12:39:50 +0000 (+0000) Subject: validators now validate again X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/dcd6b914e5d3647f41bc28c56378601a66f2d0f6?hp=6db90681cf0b58209a061561f5d3624f6eda8024 validators now validate again git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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; }