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
This commit is contained in:
@@ -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<wxAsyncMethodCallEvent&>(event).Execute();
|
||||
return true;
|
||||
}
|
||||
#endif // wxHAS_CALL_AFTER
|
||||
|
||||
// We don't have a handler for this event.
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user