Desktop flickering with first page a custom page

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1861 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2002-12-01 18:42:16 +00:00
parent a8d05dad3c
commit 95483e3eff

View file

@ -530,7 +530,7 @@ nextPage:
#ifdef NSIS_SUPPORT_CODECALLBACKS
// lock display for custom pages to prevent flickering
// the custom page must unlock the display
if (this_page->id<0) LockWindowUpdate(hwndDlg);
if (this_page->id<0 && uMsg != WM_INITDIALOG) LockWindowUpdate(hwndDlg);
else LockWindowUpdate(0);
#endif