mirror of https://github.com/PCSX2/pcsx2.git
Use standard allocator for pxEventList/wxEventList
wxWidgets3.0 does not have the WXObjectAllocator anymore, so remove it.
This commit is contained in:
parent
93168069db
commit
b6375686ff
|
@ -58,11 +58,7 @@ public:
|
||||||
virtual void OnActionButtonClicked( wxCommandEvent& evt );
|
virtual void OnActionButtonClicked( wxCommandEvent& evt );
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
typedef std::list< wxEvent* > wxEventList;
|
||||||
typedef std::list< wxEvent*, WXObjectAllocator(wxEvent*) > wxEventList;
|
|
||||||
#else
|
|
||||||
typedef std::list< wxEvent* > wxEventList;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------------------
|
// --------------------------------------------------------------------------------------
|
||||||
// wxAppWithHelpers
|
// wxAppWithHelpers
|
||||||
|
|
|
@ -171,11 +171,7 @@ protected:
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
typedef std::list<SysExecEvent*> pxEvtList;
|
||||||
typedef std::list< SysExecEvent*, WXObjectAllocator(SysExecEvent*) > pxEvtList;
|
|
||||||
#else
|
|
||||||
typedef std::list<SysExecEvent*> pxEvtList;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------------------
|
// --------------------------------------------------------------------------------------
|
||||||
// pxEvtQueue
|
// pxEvtQueue
|
||||||
|
|
Loading…
Reference in New Issue