From 52437a76c384f7f27ff3632e152e71847b34f65e Mon Sep 17 00:00:00 2001 From: Kevin Hock Date: Mon, 6 Feb 2006 04:24:40 +0000 Subject: [PATCH] CheckValidator should not return false if no variable is associated for data storage, data storage is optional [ fixes bug 1414892, closes patch 1415315 ] git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/valtext.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/wx/valtext.h b/include/wx/valtext.h index 43b6380ef3..394c160fcf 100644 --- a/include/wx/valtext.h +++ b/include/wx/valtext.h @@ -102,8 +102,6 @@ protected: _T("No window associated with validator") ); wxCHECK_MSG( m_validatorWindow->IsKindOf(CLASSINFO(wxTextCtrl)), false, _T("wxTextValidator is only for wxTextCtrl's") ); - wxCHECK_MSG( m_stringValue, false, - _T("No variable storage for validator") ); return true; } -- 2.50.0