Fixed Wiimote config window closing (Don't use EndModal if you aren't using ShowModal)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2117 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
XTra.KrazzY 2009-02-05 05:44:16 +00:00
parent 3d73d781ec
commit 7cc80c32f9
2 changed files with 4 additions and 8 deletions

View File

@ -139,9 +139,7 @@ CISOProperties::CISOProperties(const std::string fileName, wxWindow* parent, wxW
CISOProperties::~CISOProperties()
{
if (pFileSystem)
delete pFileSystem;
if (OpenISO)
delete OpenISO;
}

View File

@ -161,10 +161,8 @@ void DllConfig(HWND _hParent)
frame = new ConfigDialog(&win);
g_FrameOpen = true;
/* We don't need to use ShowModal() anymore becaue FreeLibrary() is not called after this function
anymore */
//frame->ShowModal();
frame->Show();
frame->ShowModal();
#ifdef _WIN32
win.SetHWND(0);