From 8f9205970563a2e70205d362e645dfefc4f66fd6 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 14 Nov 2014 00:46:42 -0500 Subject: [PATCH] LogWindow: Fix the timer event bindings --- Source/Core/DolphinWX/LogWindow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/Core/DolphinWX/LogWindow.cpp b/Source/Core/DolphinWX/LogWindow.cpp index 501b18cc3a..4771c1d594 100644 --- a/Source/Core/DolphinWX/LogWindow.cpp +++ b/Source/Core/DolphinWX/LogWindow.cpp @@ -49,12 +49,13 @@ CLogWindow::CLogWindow(CFrame *parent, wxWindowID id, const wxPoint& pos, , m_Log(nullptr), m_cmdline(nullptr), m_FontChoice(nullptr) { Bind(wxEVT_CLOSE_WINDOW, &CLogWindow::OnClose, this); + Bind(wxEVT_TIMER, &CLogWindow::OnLogTimer, this); + m_LogManager = LogManager::GetInstance(); CreateGUIControls(); m_LogTimer = new wxTimer(this); - m_LogTimer->Bind(wxEVT_TIMER, &CLogWindow::OnLogTimer, this); m_LogTimer->Start(UPDATETIME); }