Use standard allocator for pxEventList/wxEventList

wxWidgets3.0 does not have the WXObjectAllocator anymore, so remove it.
This commit is contained in:
Jonathan Li 2015-06-08 03:46:28 +01:00
parent 93168069db
commit b6375686ff
2 changed files with 2 additions and 10 deletions

View File

@ -58,11 +58,7 @@ public:
virtual void OnActionButtonClicked( wxCommandEvent& evt );
};
#ifdef _MSC_VER
typedef std::list< wxEvent*, WXObjectAllocator(wxEvent*) > wxEventList;
#else
typedef std::list< wxEvent* > wxEventList;
#endif
typedef std::list< wxEvent* > wxEventList;
// --------------------------------------------------------------------------------------
// wxAppWithHelpers

View File

@ -171,11 +171,7 @@ protected:
}
};
#ifdef _MSC_VER
typedef std::list< SysExecEvent*, WXObjectAllocator(SysExecEvent*) > pxEvtList;
#else
typedef std::list<SysExecEvent*> pxEvtList;
#endif
typedef std::list<SysExecEvent*> pxEvtList;
// --------------------------------------------------------------------------------------
// pxEvtQueue