]> git.saurik.com Git - wxWidgets.git/commitdiff
CheckValidator should not return false if no variable is associated for data storage...
authorKevin Hock <hockkn@yahoo.com>
Mon, 6 Feb 2006 04:24:40 +0000 (04:24 +0000)
committerKevin Hock <hockkn@yahoo.com>
Mon, 6 Feb 2006 04:24:40 +0000 (04:24 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/valtext.h

index 43b6380ef379ea3b4da126753cb57d91a892ebe6..394c160fcfe71aa482ef6655b9d3914f460b0ee3 100644 (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;
     }