]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/htmlhelp.cpp
Added wxHTML build to Makefile for VisualC++
[wxWidgets.git] / src / html / htmlhelp.cpp
index 22d69b06cdd35610da286b25acf0b0f940a56d4d..0f75ef0580a926ee412f02d182321f1b770a464c 100644 (file)
@@ -219,7 +219,7 @@ static int IndexCompareFunc(const void *a, const void *b)
 
 
 
-bool wxHtmlHelpController::AddBook(const wxString& book, bool show_wait_msg = FALSE)
+bool wxHtmlHelpController::AddBook(const wxString& book, bool show_wait_msg)
 {
     wxFSFile *fi;
     wxFileSystem fsys;
@@ -532,7 +532,9 @@ void wxHtmlHelpController::CreateHelpWindow()
         return;
     }
 
+#if wxUSE_BUSYINFO
     wxBusyInfo busyinfo(_("Preparing help window..."));
+#endif
 
     if (m_Config) ReadCustomization(m_Config, m_ConfigRoot);