X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/29de6f400ce48a9ce52c4aa900d8d1edb178d5ba..c23b255ab4b2867efbaf4721311c4c8265dd6098:/include/wx/event.h diff --git a/include/wx/event.h b/include/wx/event.h index e88450a8a2..42c5406b13 100644 --- a/include/wx/event.h +++ b/include/wx/event.h @@ -253,7 +253,7 @@ private: // value is used by the event table macros inline wxObjectEventFunctor * -wxNewEventFunctor(wxEventType WXUNUSED(evtType), +wxNewEventFunctor(const wxEventType& WXUNUSED(evtType), wxObjectEventFunction method, wxEvtHandler *handler = NULL) { @@ -261,7 +261,7 @@ wxNewEventFunctor(wxEventType WXUNUSED(evtType), } inline wxObjectEventFunctor -wxConstructEventFunctor(wxEventType WXUNUSED(evtType), +wxConstructEventFunctor(const wxEventType& WXUNUSED(evtType), wxObjectEventFunction method, wxEvtHandler *handler) {