X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/657a8a359826e46a7fc458216403f54deca34989..795160b7f64e8e70e90e1ad49689e6af280ab5f1:/src/common/appbase.cpp 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);