]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/helpfrm.cpp
install headers in prefix/include/wx-version/wx/ instead of prefix/include/wx/
[wxWidgets.git] / src / html / helpfrm.cpp
index cfd698380dc06631164f7d2463511439a51e5d18..0f48ca1d3567aa6abe82526df481900e9d0e5b81 100644 (file)
@@ -338,7 +338,9 @@ bool wxHtmlHelpFrame::Create(wxWindow* parent, wxWindowID id,
 
     int notebook_page = 0;
 
+#if wxUSE_STATUSBAR
     CreateStatusBar();
+#endif // wxUSE_STATUSBAR
 
 #if wxUSE_TOOLBAR
     // toolbar?
@@ -377,7 +379,9 @@ bool wxHtmlHelpFrame::Create(wxWindow* parent, wxWindowID id,
     }
 
     m_HtmlWin->SetRelatedFrame(this, m_TitleFormat);
+#if wxUSE_STATUSBAR
     m_HtmlWin->SetRelatedStatusBar(0);
+#endif // wxUSE_STATUSBAR
     if ( m_Config )
         m_HtmlWin->ReadCustomization(m_Config, m_ConfigRoot);