mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-29 12:32:47 +00:00
LogWindow: Fix the timer event bindings
This commit is contained in:
parent
e789920340
commit
8f92059705
@ -49,12 +49,13 @@ CLogWindow::CLogWindow(CFrame *parent, wxWindowID id, const wxPoint& pos,
|
|||||||
, m_Log(nullptr), m_cmdline(nullptr), m_FontChoice(nullptr)
|
, m_Log(nullptr), m_cmdline(nullptr), m_FontChoice(nullptr)
|
||||||
{
|
{
|
||||||
Bind(wxEVT_CLOSE_WINDOW, &CLogWindow::OnClose, this);
|
Bind(wxEVT_CLOSE_WINDOW, &CLogWindow::OnClose, this);
|
||||||
|
Bind(wxEVT_TIMER, &CLogWindow::OnLogTimer, this);
|
||||||
|
|
||||||
m_LogManager = LogManager::GetInstance();
|
m_LogManager = LogManager::GetInstance();
|
||||||
|
|
||||||
CreateGUIControls();
|
CreateGUIControls();
|
||||||
|
|
||||||
m_LogTimer = new wxTimer(this);
|
m_LogTimer = new wxTimer(this);
|
||||||
m_LogTimer->Bind(wxEVT_TIMER, &CLogWindow::OnLogTimer, this);
|
|
||||||
m_LogTimer->Start(UPDATETIME);
|
m_LogTimer->Start(UPDATETIME);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user