mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
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:
parent
225d691bcc
commit
cb47eb27cc
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user