Fix issue 2364 + another issue introduced in r5129 causing the main window to lose the focus on windows

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5133 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
sl1nk3.s
2010-02-25 17:50:08 +00:00
parent f1ed7e5656
commit 6da7695843
6 changed files with 21 additions and 11 deletions

View File

@ -186,11 +186,13 @@ void DllConfig(HWND _hParent)
m_ConfigFrame->ShowModal();
frame->Enable();
m_ConfigFrame->Destroy();
m_ConfigFrame = NULL;
#ifdef _WIN32
frame->SetFocus();
frame->SetHWND(NULL);
#endif
m_ConfigFrame->Destroy();
m_ConfigFrame = NULL;
frame->Destroy();
#endif
}