attempt to fix the main window closing from r5056. i'm not sure how this affects window deletion tho.

apply eol-style native to GCPad, pretty annoying to break patches and stuff

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5059 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
j4ck.fr0st 2010-02-14 16:33:53 +00:00
parent dc7029e7f4
commit cd321feb83
13 changed files with 3460 additions and 3456 deletions

View File

@ -193,6 +193,7 @@ void DllConfig(HWND _hParent)
m_ConfigFrame->ShowModal(); m_ConfigFrame->ShowModal();
delete m_ConfigFrame; delete m_ConfigFrame;
frame->SetHWND(NULL);
delete frame; delete frame;
m_ConfigFrame = 0; m_ConfigFrame = 0;
} }

View File

@ -174,6 +174,7 @@ void DllConfig(HWND _hParent)
m_ConfigFrame->ShowModal(); m_ConfigFrame->ShowModal();
m_ConfigFrame->Destroy(); m_ConfigFrame->Destroy();
m_ConfigFrame = NULL; m_ConfigFrame = NULL;
frame->SetHWND(NULL);
delete frame; delete frame;
} }
#endif #endif

View File

@ -315,6 +315,7 @@ void DllConfig(HWND _hParent)
allowConfigShow = m_ConfigFrame->ShowModal() == 1 ? true : false; allowConfigShow = m_ConfigFrame->ShowModal() == 1 ? true : false;
delete m_ConfigFrame; delete m_ConfigFrame;
frame->SetHWND(NULL);
delete frame; delete frame;
m_ConfigFrame = 0; m_ConfigFrame = 0;
} }

View File

@ -188,6 +188,7 @@ void DllConfig(HWND _hParent)
m_BasicConfigFrame->ShowModal(); m_BasicConfigFrame->ShowModal();
m_BasicConfigFrame->Destroy(); m_BasicConfigFrame->Destroy();
m_BasicConfigFrame = NULL; m_BasicConfigFrame = NULL;
frame->SetHWND(NULL);
delete frame; delete frame;
} }
#endif #endif