compilation fix for wxEVENTS_COMPATIBILITY_2_8 build after r60212
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -258,17 +258,23 @@ private:
|
|||||||
|
|
||||||
#if wxEVENTS_COMPATIBILITY_2_8
|
#if wxEVENTS_COMPATIBILITY_2_8
|
||||||
|
|
||||||
// Create a functor for the legacy events: handler can be NULL and its default
|
// Create a functor for the legacy events: used by Connect()
|
||||||
// value is used by the event table macros
|
|
||||||
|
|
||||||
inline wxObjectEventFunctor *
|
inline wxObjectEventFunctor *
|
||||||
wxNewEventFunctor(const wxEventType& WXUNUSED(evtType),
|
wxNewEventFunctor(const wxEventType& WXUNUSED(evtType),
|
||||||
wxObjectEventFunction method,
|
wxObjectEventFunction method,
|
||||||
wxEvtHandler *handler = NULL)
|
wxEvtHandler *handler)
|
||||||
{
|
{
|
||||||
return new wxObjectEventFunctor(method, handler);
|
return new wxObjectEventFunctor(method, handler);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// This version is used by DECLARE_EVENT_TABLE_ENTRY()
|
||||||
|
inline wxObjectEventFunctor *
|
||||||
|
wxNewEventFunctor(const wxEventType& WXUNUSED(evtType),
|
||||||
|
wxObjectEventFunction method)
|
||||||
|
{
|
||||||
|
return new wxObjectEventFunctor(method, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
inline wxObjectEventFunctor
|
inline wxObjectEventFunctor
|
||||||
wxMakeEventFunctor(const wxEventType& WXUNUSED(evtType),
|
wxMakeEventFunctor(const wxEventType& WXUNUSED(evtType),
|
||||||
wxObjectEventFunction method,
|
wxObjectEventFunction method,
|
||||||
|
Reference in New Issue
Block a user