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
This commit is contained in:
Kevin Hock 2006-02-06 04:24:40 +00:00
parent 471e64d61e
commit 52437a76c3

View File

@ -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;
}