CFrame: Claim all keyboard events on OS X.
This commit is contained in:
1 parent
da38e3a8ae
commit
ccb56ddf97
3 files changed
+15
-2
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user