CreateStatusBar();
+#if wxUSE_TOOLBAR
// toolbar?
if (style & (wxHF_TOOLBAR | wxHF_FLAT_TOOLBAR))
{
AddToolbarButtons(toolBar, style);
toolBar->Realize();
}
+#endif //wxUSE_TOOLBAR
wxSizer *navigSizer = NULL;
if ( navigSizer )
{
- navigSizer->SetSizeHints(m_NavigPan);
+ // We don't really want to set the nav panel min size to
+ // the current overall window size (which may be large).
+ // But leaving this code commented in case there's
+ // some variation that makes sense.
+// navigSizer->SetSizeHints(m_NavigPan);
m_NavigPan->Layout();
}
}
+#if wxUSE_TOOLBAR
void wxHtmlHelpFrame::AddToolbarButtons(wxToolBar *toolBar, int style)
{
wxBitmap wpanelBitmap =
FALSE, -1, -1, (wxObject *) NULL,
_("Display options dialog"));
}
+#endif //wxUSE_TOOLBAR
void wxHtmlHelpFrame::SetTitleFormat(const wxString& format)