Finish making dialogs close when escape is pressed. Fixes issue 4265. At least I think I got them all.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7365 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Glenn Rice
2011-03-17 04:26:01 +00:00
parent cab5fdb44b
commit e4141c331e
15 changed files with 110 additions and 227 deletions

View File

@ -58,9 +58,6 @@ class CMemcardManager : public wxDialog
IniFile MemcardManagerIni;
IniFile::Section* iniMemcardSection;
wxBoxSizer *sMain,
*sButtons,
*sPages[2];
wxButton *m_CopyFrom[2],
*m_SaveImport[2],
*m_SaveExport[2],
@ -69,7 +66,6 @@ class CMemcardManager : public wxDialog
*m_PrevPage[2],
*m_ConvertToGci;
wxFilePickerCtrl *m_MemcardPath[2];
wxStaticBoxSizer *sMemcard[2];
wxStaticText *t_Status[2];
enum
@ -124,7 +120,6 @@ class CMemcardManager : public wxDialog
GCMemcard *memoryCard[2];
void CreateGUIControls();
void OnClose(wxCloseEvent& event);
void CopyDeleteClick(wxCommandEvent& event);
bool ReloadMemcard(const char *fileName, int card);
void OnMenuChange(wxCommandEvent& event);