]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/helpctrl.cpp
Avoid an assert in wxFrame::SetTitle
[wxWidgets.git] / src / html / helpctrl.cpp
index ca6194c4cc329b66113ec305c00ebee6b9caf429..87be6838d1d4fc3e73e694672fbb56bb58a5c2f8 100644 (file)
@@ -111,6 +111,8 @@ bool wxHtmlHelpController::AddBook(const wxString& book, bool show_wait_msg)
 #if wxUSE_BUSYINFO
     if (show_wait_msg)
         delete busy;
 #if wxUSE_BUSYINFO
     if (show_wait_msg)
         delete busy;
+#else
+    wxUnusedVar(show_wait_msg);
 #endif
     if (m_helpFrame) 
         m_helpFrame->RefreshLists();
 #endif
     if (m_helpFrame) 
         m_helpFrame->RefreshLists();
@@ -137,7 +139,7 @@ void wxHtmlHelpController::CreateHelpWindow()
     {
         m_Config = wxConfigBase::Get(FALSE);
         if (m_Config != NULL)
     {
         m_Config = wxConfigBase::Get(FALSE);
         if (m_Config != NULL)
-            m_ConfigRoot = _T("wxWidgets/wxHtmlHelpController");
+            m_ConfigRoot = _T("wxWindows/wxHtmlHelpController");
     }
 
     m_helpFrame = CreateHelpFrame(&m_helpData);
     }
 
     m_helpFrame = CreateHelpFrame(&m_helpData);