mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 00:59:44 -06:00
Some more work on making dialogs close when escape is pressed. Also make sure dialog modality is ended properly so that they can be closed on OSX.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7352 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -191,15 +191,15 @@ void InputConfigDialog::UpdateControlReferences()
|
||||
(*i)->controller->UpdateReferences(g_controller_interface);
|
||||
}
|
||||
|
||||
void InputConfigDialog::ClickCancel(wxCommandEvent&)
|
||||
void InputConfigDialog::ClickCancel(wxCommandEvent& event)
|
||||
{
|
||||
Close();
|
||||
event.Skip();
|
||||
}
|
||||
|
||||
void InputConfigDialog::ClickSave(wxCommandEvent&)
|
||||
void InputConfigDialog::ClickSave(wxCommandEvent& event)
|
||||
{
|
||||
m_plugin.SaveConfig();
|
||||
Close();
|
||||
event.Skip();
|
||||
}
|
||||
|
||||
void ControlDialog::UpdateListContents()
|
||||
|
Reference in New Issue
Block a user