]> git.saurik.com Git - wxWidgets.git/commitdiff
Removed default parameter setting for wxHtmlHelpControler::AddBook causing
authorJ. Russell Smyth <drfish@cox.net>
Tue, 13 Jul 1999 17:56:35 +0000 (17:56 +0000)
committerJ. Russell Smyth <drfish@cox.net>
Tue, 13 Jul 1999 17:56:35 +0000 (17:56 +0000)
VC++ to bomb compile

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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);