mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
Revert "Fix hotkeys in Linux and Mac OS X"
This commit is contained in:
parent
6befa34b60
commit
fbd2e43ac3
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user