X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/be5a51fb592f3fa2ba38ac6cd1e488d6d806058c..a56938e47598ebb4006cb8942f2d8ace07e54399:/samples/html/test/test.cpp diff --git a/samples/html/test/test.cpp b/samples/html/test/test.cpp index d514ddc7ba..50e10402e4 100644 --- a/samples/html/test/test.cpp +++ b/samples/html/test/test.cpp @@ -184,13 +184,17 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size) SetAcceleratorTable(accel); #endif // wxUSE_ACCEL +#if wxUSE_STATUSBAR CreateStatusBar(1); +#endif // wxUSE_STATUSBAR m_Processor = new BoldProcessor; m_Processor->Enable(false); m_Html = new wxHtmlWindow(this); m_Html->SetRelatedFrame(this, _("HTML : %s")); +#if wxUSE_STATUSBAR m_Html->SetRelatedStatusBar(0); +#endif // wxUSE_STATUSBAR m_Html->ReadCustomization(wxConfig::Get()); m_Html->LoadFile(wxFileName(wxT("test.htm"))); m_Html->AddProcessor(m_Processor);