restored the default value of wxObjectEventFunctor wxNewEventFunctor and explain why is it needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -244,12 +244,13 @@ private:
|
||||
wxObjectEventFunction m_method;
|
||||
};
|
||||
|
||||
// Create a functor for the legacy events: handler can be NULL
|
||||
// Create a functor for the legacy events: handler can be NULL and its default
|
||||
// value is used by the event table macros
|
||||
|
||||
inline wxObjectEventFunctor *
|
||||
wxNewEventFunctor(wxEventType WXUNUSED(evtType),
|
||||
wxObjectEventFunction method,
|
||||
wxEvtHandler *handler)
|
||||
wxEvtHandler *handler = NULL)
|
||||
{
|
||||
return new wxObjectEventFunctor(method, handler);
|
||||
}
|
||||
|
Reference in New Issue
Block a user