From b690a8f672bc5e992926a9fa45428d32edcb1cca Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 24 Oct 2012 23:13:16 +0000 Subject: [PATCH] Add a missing test for wxHAS_CALL_AFTER in the implementation too. This completes the changes of r72743. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/event.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/common/event.cpp b/src/common/event.cpp index 1d2beecc21..5db5744639 100644 --- a/src/common/event.cpp +++ b/src/common/event.cpp @@ -1565,6 +1565,7 @@ bool wxEvtHandler::TryHereOnly(wxEvent& event) if ( GetEventHashTable().HandleEvent(event, this) ) return true; +#ifdef wxHAS_CALL_AFTER // There is an implicit entry for async method calls processing in every // event handler: if ( event.GetEventType() == wxEVT_ASYNC_METHOD_CALL && @@ -1573,6 +1574,7 @@ bool wxEvtHandler::TryHereOnly(wxEvent& event) static_cast(event).Execute(); return true; } +#endif // wxHAS_CALL_AFTER // We don't have a handler for this event. return false; -- 2.47.2