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
This commit is contained in:
Julian Smart
2009-01-18 19:30:23 +00:00
parent c76fb54570
commit 48def411aa

View File

@@ -253,7 +253,7 @@ private:
// value is used by the event table macros // value is used by the event table macros
inline wxObjectEventFunctor * inline wxObjectEventFunctor *
wxNewEventFunctor(wxEventType WXUNUSED(evtType), wxNewEventFunctor(const wxEventType& WXUNUSED(evtType),
wxObjectEventFunction method, wxObjectEventFunction method,
wxEvtHandler *handler = NULL) wxEvtHandler *handler = NULL)
{ {
@@ -261,7 +261,7 @@ wxNewEventFunctor(wxEventType WXUNUSED(evtType),
} }
inline wxObjectEventFunctor inline wxObjectEventFunctor
wxConstructEventFunctor(wxEventType WXUNUSED(evtType), wxConstructEventFunctor(const wxEventType& WXUNUSED(evtType),
wxObjectEventFunction method, wxObjectEventFunction method,
wxEvtHandler *handler) wxEvtHandler *handler)
{ {