]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/helpchm.cpp
fix crash which happened if you called SetAttr(NULL) followed by SetAttr(attr) (...
[wxWidgets.git] / src / msw / helpchm.cpp
index 4f6fedcfe60090f6f4a63188eb92ab5007eed4c9..c991d47a3c5450dc47f33af285feab89dfd5414c 100644 (file)
@@ -213,7 +213,7 @@ bool wxCHMHelpController::KeywordSearch(const wxString& k,
 
 bool wxCHMHelpController::Quit()
 {
-    return CallHtmlHelp(NULL, HH_CLOSE_ALL);
+    return CallHtmlHelp(NULL, NULL, HH_CLOSE_ALL);
 }
 
 wxString wxCHMHelpController::GetValidFilename() const