From a91900eda61b6d52ad23f25fe59e3f7681f5f8e0 Mon Sep 17 00:00:00 2001 From: joostverburg Date: Fri, 15 Nov 2002 16:17:34 +0000 Subject: [PATCH] custom guiinit git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1732 212acab6-be3b-0410-9dea-997c60f758d6 --- Contrib/Modern UI/System.nsh | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Contrib/Modern UI/System.nsh b/Contrib/Modern UI/System.nsh index 7a48191d..9fc93d67 100644 --- a/Contrib/Modern UI/System.nsh +++ b/Contrib/Modern UI/System.nsh @@ -554,7 +554,7 @@ !verbose 3 - !ifndef MUI_NOGUIINIT + !ifndef MUI_CUSTOMGUIINIT Function .onGUIInit !insertmacro MUI_GUIINIT @@ -922,10 +922,14 @@ !macro MUI_UNFUNCTIONS_GUIINIT !verbose 3 + + !ifndef MUI_UNCUSTOMGUIINIT - Function un.onGUIInit - !insertmacro MUI_GUIINIT - FunctionEnd + Function un.onGUIInit + !insertmacro MUI_GUIINIT + FunctionEnd + + !endif !verbose 4