Variables used in Caption can now be set in .onGuiInit (RFE #539)

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6860 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
anders_k 2017-05-22 18:10:19 +00:00
parent ce7078517f
commit d39ef1d219
6 changed files with 21 additions and 14 deletions

View file

@ -144,7 +144,7 @@ int NSISCALL my_MessageBox(const TCHAR *text, UINT type) {
mbp.hwndOwner = g_hwnd;
mbp.hInstance = g_hInstance;
mbp.lpszText = text;
mbp.lpszCaption = g_caption;
mbp.lpszCaption = g_caption; // Should call update_caption() here?
mbp.dwStyle = _type;
return MessageBoxIndirect(&mbp);