Modal windows must be closed with EndModal(), not just Destroy()'ed.

wxFD_FILE_MUST_EXIST cannot be used with wxFD_SAVE.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6003 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Soren Jorvang
2010-07-30 13:14:53 +00:00
parent 2d108f8d57
commit 1fb47e6393
2 changed files with 3 additions and 2 deletions

View File

@ -105,7 +105,7 @@ void AboutDolphin::CreateGUIControls()
void AboutDolphin::OnClose(wxCloseEvent& WXUNUSED (event))
{
Destroy();
EndModal(wxID_OK);
}
void AboutDolphin::CloseClick(wxCommandEvent& WXUNUSED (event))