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:
parent
3d73d781ec
commit
7cc80c32f9
|
@ -139,10 +139,8 @@ CISOProperties::CISOProperties(const std::string fileName, wxWindow* parent, wxW
|
|||
|
||||
CISOProperties::~CISOProperties()
|
||||
{
|
||||
if (pFileSystem)
|
||||
delete pFileSystem;
|
||||
if (OpenISO)
|
||||
delete OpenISO;
|
||||
delete pFileSystem;
|
||||
delete OpenISO;
|
||||
}
|
||||
|
||||
void CISOProperties::CreateDirectoryTree(wxTreeItemId& parent,
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue