summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon TURNEY <jon.turney@dronecode.org.uk>2015-02-24 14:07:36 +0000
committerJon TURNEY <jon.turney@dronecode.org.uk>2015-02-24 20:25:59 +0000
commitb0def775ecf9bbb00e10da355bbf31f2b5f84cec (patch)
tree958467fc455f92f2d2276fbf517d2e6ffc0fb299
parent02821b447f73d83ad626f00e35044b7aae8440e0 (diff)
Make the HtmlHelp window owned by the xlaunch wizard window
Make the HtmlHelp window owned by the xlaunch wizard window, so it gets closed when the wizard is closed.
-rw-r--r--main.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.cc b/main.cc
index d343536..717a768 100644
--- a/main.cc
+++ b/main.cc
@@ -357,7 +357,7 @@ class CMyWizard : public CWizard
printf("chmfile %s = %s\n", chmFile, winPath);
#endif
- HtmlHelp(NULL, winPath, HH_HELP_CONTEXT, 500 + offset);
+ HtmlHelp(hwndDlg, winPath, HH_HELP_CONTEXT, 500 + offset);
free(winPath);