diff --git a/include/wx/event.h b/include/wx/event.h index 98f0416059..5bf02f3607 100644 --- a/include/wx/event.h +++ b/include/wx/event.h @@ -269,8 +269,8 @@ wxNewEventFunctor(const wxEventType& WXUNUSED(evtType), // This version is used by DECLARE_EVENT_TABLE_ENTRY() inline wxObjectEventFunctor * -wxNewEventFunctor(const wxEventType& WXUNUSED(evtType), - wxObjectEventFunction method) +wxNewEventTableFunctor(const wxEventType& WXUNUSED(evtType), + wxObjectEventFunction method) { return new wxObjectEventFunctor(method, NULL); }