From 95483e3efff9490b4f33023f57540ec162087ab4 Mon Sep 17 00:00:00 2001 From: kichik Date: Sun, 1 Dec 2002 18:42:16 +0000 Subject: [PATCH] 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 --- Source/exehead/Ui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/exehead/Ui.c b/Source/exehead/Ui.c index 658bb507..b0bddb7e 100644 --- a/Source/exehead/Ui.c +++ b/Source/exehead/Ui.c @@ -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