mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Modal dialogs must be closed with EndModal() or all kinds of weird
corruption can happen with wx 2.9. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7092 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -132,7 +132,7 @@ VideoConfigDialog::VideoConfigDialog(wxWindow* parent, const std::string& title,
|
||||
|
||||
void VideoConfigDialog::Event_ClickClose(wxCommandEvent&)
|
||||
{
|
||||
Close();
|
||||
EndModal(wxID_OK);
|
||||
}
|
||||
|
||||
void VideoConfigDialog::Event_Close(wxCloseEvent& ev)
|
||||
|
Reference in New Issue
Block a user