Nasty threading bug should now be fixed
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1022 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
a25361a5ce
commit
42fd7b4f6e
1 changed files with 5 additions and 1 deletions
|
@ -588,7 +588,11 @@ static BOOL CALLBACK DialogProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM l
|
||||||
ScreenToClient(hwndDlg,(LPPOINT)&r);
|
ScreenToClient(hwndDlg,(LPPOINT)&r);
|
||||||
SetWindowPos(m_curwnd,0,r.left,r.top,0,0,SWP_NOACTIVATE|SWP_NOSIZE|SWP_NOZORDER);
|
SetWindowPos(m_curwnd,0,r.left,r.top,0,0,SWP_NOACTIVATE|SWP_NOSIZE|SWP_NOZORDER);
|
||||||
#ifdef NSIS_SUPPORT_CODECALLBACKS
|
#ifdef NSIS_SUPPORT_CODECALLBACKS
|
||||||
ExecuteCodeSegment(g_inst_entry,g_inst_cmnheader->code_onInitDialog,NULL);
|
{
|
||||||
|
MSG msg;
|
||||||
|
while (PeekMessage(&msg,m_curwnd,0,0,PM_NOREMOVE)) Sleep(100);
|
||||||
|
ExecuteCodeSegment(g_inst_entry,g_inst_cmnheader->code_onInitDialog,NULL);
|
||||||
|
}
|
||||||
#endif //NSIS_SUPPORT_CODECALLBACKS
|
#endif //NSIS_SUPPORT_CODECALLBACKS
|
||||||
ShowWindow(m_curwnd,SW_SHOWNA);
|
ShowWindow(m_curwnd,SW_SHOWNA);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue