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:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user