mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
DolphinWX: Use the typesafe equivalents for declaring wx event types
The others were used when wx 2.4 was around
This commit is contained in:
@ -45,11 +45,8 @@
|
||||
|
||||
class wxWindow;
|
||||
|
||||
DECLARE_EVENT_TYPE(RECORDING_FINISHED_EVENT, -1)
|
||||
DEFINE_EVENT_TYPE(RECORDING_FINISHED_EVENT)
|
||||
|
||||
DECLARE_EVENT_TYPE(FRAME_WRITTEN_EVENT, -1)
|
||||
DEFINE_EVENT_TYPE(FRAME_WRITTEN_EVENT)
|
||||
wxDEFINE_EVENT(RECORDING_FINISHED_EVENT, wxCommandEvent);
|
||||
wxDEFINE_EVENT(FRAME_WRITTEN_EVENT, wxCommandEvent);
|
||||
|
||||
static std::recursive_mutex sMutex;
|
||||
wxEvtHandler *volatile FifoPlayerDlg::m_EvtHandler = nullptr;
|
||||
|
Reference in New Issue
Block a user