From ba023fa0759292a5f1133686d5a937efad7acd73 Mon Sep 17 00:00:00 2001 From: riccardom Date: Mon, 5 Apr 2010 14:40:08 +0000 Subject: [PATCH] Remember to destroy the 3d dialog If we don't call Destroy() on close event callback i'm not able to quit fully from wx frontend if i've previously launched the 3d viewer. --- desmume/src/wxdlg/wxdlg3dViewer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/desmume/src/wxdlg/wxdlg3dViewer.cpp b/desmume/src/wxdlg/wxdlg3dViewer.cpp index 9b27cd51c..4696d7c55 100644 --- a/desmume/src/wxdlg/wxdlg3dViewer.cpp +++ b/desmume/src/wxdlg/wxdlg3dViewer.cpp @@ -275,6 +275,7 @@ void wxdlg3dViewer::OnCloseWindow( wxCloseEvent& event ) { event.Skip(); + Destroy(); }