Don't delete dialogs. Let wxWidgets take care of this.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4950 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Glenn Rice 2010-01-24 16:39:47 +00:00
parent 225d691bcc
commit cb47eb27cc
3 changed files with 0 additions and 3 deletions

View File

@ -162,7 +162,6 @@ void DllConfig(HWND _hParent)
m_ConfigFrame = new GCPadConfigDialog(GetParentedWxWindow(_hParent));
m_ConfigFrame->ShowModal();
m_ConfigFrame->Destroy();
delete m_ConfigFrame;
m_ConfigFrame = NULL;
}
#endif

View File

@ -628,7 +628,6 @@ void DllConfig(HWND _hParent)
m_ConfigFrame = new PADConfigDialogSimple(GetParentedWxWindow(_hParent));
m_ConfigFrame->ShowModal();
m_ConfigFrame->Destroy();
delete m_ConfigFrame;
m_ConfigFrame = NULL;
}
#endif

View File

@ -186,7 +186,6 @@ void DllConfig(HWND _hParent)
m_BasicConfigFrame = new WiimoteBasicConfigDialog(GetParentedWxWindow(_hParent));
m_BasicConfigFrame->ShowModal();
m_BasicConfigFrame->Destroy();
delete m_BasicConfigFrame;
m_BasicConfigFrame = NULL;
}
#endif