]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/helpctrl.cpp
(blind) compilation fix for GTK+ 1.x after last commit
[wxWidgets.git] / src / html / helpctrl.cpp
index 2900d99d31ec39789cb912f13e478878e38c6db5..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();
@@ -148,6 +150,7 @@ void wxHtmlHelpController::CreateHelpWindow()
 
     m_helpFrame->Create(NULL, wxID_HTML_HELPFRAME, wxEmptyString, m_FrameStyle);
     m_helpFrame->SetTitleFormat(m_titleFormat);
 
     m_helpFrame->Create(NULL, wxID_HTML_HELPFRAME, wxEmptyString, m_FrameStyle);
     m_helpFrame->SetTitleFormat(m_titleFormat);
+
     m_helpFrame->Show(TRUE);
 }
 
     m_helpFrame->Show(TRUE);
 }