X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/657a8a359826e46a7fc458216403f54deca34989..85284ca4b226d9a1ab6bed26c5eaa480543649d5:/src/common/appbase.cpp?ds=sidebyside diff --git a/src/common/appbase.cpp b/src/common/appbase.cpp index a3caf25a2b..269be5b575 100644 --- a/src/common/appbase.cpp +++ b/src/common/appbase.cpp @@ -503,7 +503,7 @@ void wxAppConsoleBase::CallEventHandler(wxEvtHandler *handler, { // If the functor holds a method then, for backward compatibility, call // HandleEvent(): - wxEventFunction eventFunction = functor.GetMethod(); + wxEventFunction eventFunction = functor.GetEvtMethod(); if ( eventFunction ) HandleEvent(handler, eventFunction, event);