CFrame: Claim all keyboard events on OS X.

This commit is contained in:
Jules Blok
2015-07-20 10:04:18 +02:00
parent da38e3a8ae
commit ccb56ddf97
3 changed files with 15 additions and 2 deletions

View File

@ -1046,6 +1046,7 @@ void CFrame::StartGame(const std::string& filename)
m_RenderParent->SetFocus();
wxTheApp->Bind(wxEVT_KEY_DOWN, &CFrame::OnKeyDown, this);
wxTheApp->Bind(wxEVT_RIGHT_DOWN, &CFrame::OnMouse, this);
wxTheApp->Bind(wxEVT_RIGHT_UP, &CFrame::OnMouse, this);
wxTheApp->Bind(wxEVT_MIDDLE_DOWN, &CFrame::OnMouse, this);