From 48def411aa04dc852ceb56532b5c8ccc58ad5b9d Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Sun, 18 Jan 2009 19:30:23 +0000 Subject: [PATCH] Applied Peter Most's EVT_SPIN crash fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/event.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) { -- 2.47.2