]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/helpctrl.cpp
sleep while waiting for the spawned process to terminate so that we don't eat 100...
[wxWidgets.git] / src / html / helpctrl.cpp
index e513a50f6377ab715d480f71a6d3f0c2facf3a6b..dbbf32c4742c1fa23792f81f34ce71e200a4f86e 100644 (file)
@@ -96,6 +96,8 @@ bool wxHtmlHelpController::AddBook(const wxString& book, bool show_wait_msg)
     if (show_wait_msg)
         delete busy;
 #endif
+    if (m_helpFrame) 
+        m_helpFrame->RefreshLists();
     return retval;
 }
 
@@ -195,7 +197,7 @@ bool wxHtmlHelpController::DisplaySection(int sectionNo)
 
 bool wxHtmlHelpController::DisplayTextPopup(const wxString& text, const wxPoint& WXUNUSED(pos))
 {
-#if wxUSE_HELP
+#if wxUSE_TIPWINDOW
     static wxTipWindow* s_tipWindow = NULL;
 
     if (s_tipWindow)
@@ -213,7 +215,8 @@ bool wxHtmlHelpController::DisplayTextPopup(const wxString& text, const wxPoint&
 
         return TRUE;
     }
-#endif
+#endif // wxUSE_TIPWINDOW
+
     return FALSE;
 }