CFrame: Claim all keyboard events on OS X.

This commit is contained in:
Jules Blok committed 2015-07-20 10:11:11 +02:00
1 parent da38e3a8ae
commit ccb56ddf97
3 files changed
+15 -2

No files matched your search

+1
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);