have TryValidator even if wxUSE_VALIDATORS=1, so that wxBase library can be used by GUI ports

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2003-08-17 10:33:25 +00:00
parent b880adecc4
commit 6eabf58cec
4 changed files with 13 additions and 15 deletions

View File

@@ -1107,10 +1107,8 @@ bool wxEvtHandler::ProcessEvent(wxEvent& event)
{
// if we have a validator, it has higher priority than our own event
// table
#if wxUSE_VALIDATORS
if ( TryValidator(event) )
return TRUE;
#endif // wxUSE_VALIDATORS
// Handle per-instance dynamic event tables first
if ( m_dynamicEvents && SearchDynamicEventTable(event) )