Fixed hotkeys not working with the TAS Input dialog open.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7676 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
baby.lueshi
2011-07-13 05:53:56 +00:00
parent bb827eb837
commit 2eb1565aaa
3 changed files with 7 additions and 1 deletions

View File

@ -368,3 +368,8 @@ void TASInputDlg::OnCloseWindow(wxCloseEvent& event)
ResetValues();
}
}
bool TASInputDlg::HasFocus()
{
return (wxWindow::FindFocus() == this || wxWindow::FindFocus()->GetParent() == this);
}