The escape key should now work to close most of the dialogs in dolphin. Let me know of any that I missed. I am sure there are some. I also notice that anytime a wxNotebook is used a page should be set to get proper focus on the dialog.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7351 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Glenn Rice
2011-03-15 14:37:04 +00:00
parent 1e46f069c2
commit f26a7288a7
7 changed files with 30 additions and 17 deletions

View File

@ -213,7 +213,7 @@ void CConfigMain::SetSelectedTab(int tab)
switch (tab)
{
case ID_AUDIOPAGE:
this->Notebook->SetSelection(2);
Notebook->SetSelection(2);
break;
}
}
@ -947,6 +947,7 @@ void CConfigMain::CreateGUIControls()
Fit();
Center();
Notebook->SetSelection(0);
}
void CConfigMain::OnClose(wxCloseEvent& WXUNUSED (event))