From fbd2e43ac377f2f589fb904a7352e8981deda2c7 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 4 Aug 2014 01:56:08 -0400 Subject: [PATCH] Revert "Fix hotkeys in Linux and Mac OS X" --- Source/Core/DolphinWX/FrameTools.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Source/Core/DolphinWX/FrameTools.cpp b/Source/Core/DolphinWX/FrameTools.cpp index 1a43246a36..3310623c2c 100644 --- a/Source/Core/DolphinWX/FrameTools.cpp +++ b/Source/Core/DolphinWX/FrameTools.cpp @@ -968,16 +968,12 @@ void CFrame::StartGame(const std::string& filename) else m_RenderFrame->SetWindowStyle(m_RenderFrame->GetWindowStyle() & ~wxSTAY_ON_TOP); + m_RenderFrame->SetBackgroundColour(*wxBLACK); m_RenderFrame->SetClientSize(size.GetWidth(), size.GetHeight()); m_RenderFrame->Bind(wxEVT_CLOSE_WINDOW, &CFrame::OnRenderParentClose, this); m_RenderFrame->Bind(wxEVT_ACTIVATE, &CFrame::OnActive, this); m_RenderFrame->Bind(wxEVT_MOVE, &CFrame::OnRenderParentMove, this); m_RenderParent = m_RenderFrame; - - // To capture key events the frame needs at least one child. - wxPanel* panel = new wxPanel(m_RenderFrame, IDM_MPANEL, wxDefaultPosition, wxDefaultSize, 0); - panel->SetBackgroundColour(*wxBLACK); - m_RenderFrame->Show(); }