mirror of https://github.com/PCSX2/pcsx2.git
ConsoleLogger: Define events in a Bind compatible way
Also remove the pxEvt_LogWrite event, since that isn't used.
This commit is contained in:
parent
a6ba7a19b9
commit
de6b7752d4
|
@ -26,15 +26,11 @@
|
|||
|
||||
#include <wx/textfile.h>
|
||||
|
||||
BEGIN_DECLARE_EVENT_TYPES()
|
||||
DECLARE_EVENT_TYPE(pxEvt_LogWrite, -1)
|
||||
DECLARE_EVENT_TYPE(pxEvt_SetTitleText, -1)
|
||||
DECLARE_EVENT_TYPE(pxEvt_FlushQueue, -1)
|
||||
END_DECLARE_EVENT_TYPES()
|
||||
wxDECLARE_EVENT(pxEvt_SetTitleText, wxCommandEvent);
|
||||
wxDECLARE_EVENT(pxEvt_FlushQueue, wxCommandEvent);
|
||||
|
||||
DEFINE_EVENT_TYPE(pxEvt_LogWrite)
|
||||
DEFINE_EVENT_TYPE(pxEvt_SetTitleText)
|
||||
DEFINE_EVENT_TYPE(pxEvt_FlushQueue)
|
||||
wxDEFINE_EVENT(pxEvt_SetTitleText, wxCommandEvent);
|
||||
wxDEFINE_EVENT(pxEvt_FlushQueue, wxCommandEvent);
|
||||
|
||||
// C++ requires abstract destructors to exist, even though they're abstract.
|
||||
PipeRedirectionBase::~PipeRedirectionBase() throw() {}
|
||||
|
|
Loading…
Reference in New Issue