Fix the PadSimple and GCPad plugins so their dialogs close properly.

Get rid of g_FrameOpen variable in Wiimote plugin.  It isn't needed anymore.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4948 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Glenn Rice
2010-01-24 14:41:53 +00:00
parent 177ec96472
commit afb82b1d8c
5 changed files with 10 additions and 17 deletions

View File

@ -161,8 +161,9 @@ void DllConfig(HWND _hParent)
{
m_ConfigFrame = new GCPadConfigDialog(GetParentedWxWindow(_hParent));
m_ConfigFrame->ShowModal();
m_ConfigFrame->Destroy();
delete m_ConfigFrame;
m_ConfigFrame = 0;
m_ConfigFrame = NULL;
}
#endif
}