git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59014
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
- virtual void operator()(wxEvtHandler *handler, wxEvent& event)
- {
- wxEvtHandler * const realHandler = m_handler ? m_handler : handler;
-
- (realHandler->*m_method)(event);
- }
+ virtual void operator()(wxEvtHandler *handler, wxEvent& event);
virtual bool Matches(const wxEventFunctor& func) const
{
virtual bool Matches(const wxEventFunctor& func) const
{
wxDECLARE_NO_ASSIGN_CLASS(wxEventConnectionRef);
};
wxDECLARE_NO_ASSIGN_CLASS(wxEventConnectionRef);
};
+inline void wxObjectEventFunctor::operator()(wxEvtHandler *handler, wxEvent& event)
+{
+ wxEvtHandler * const realHandler = m_handler ? m_handler : handler;
+
+ (realHandler->*m_method)(event);
+}
+
// Post a message to the given event handler which will be processed during the
// next event loop iteration.
//
// Post a message to the given event handler which will be processed during the
// next event loop iteration.
//