X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/16f26dadb502b874b6aa7b5fa914928be0c5f1af..1296186133b677fdbaddfc1551b2b2c7321dac39:/samples/html/zip/zip.cpp diff --git a/samples/html/zip/zip.cpp b/samples/html/zip/zip.cpp index f33295c215..ad3b9b2478 100644 --- a/samples/html/zip/zip.cpp +++ b/samples/html/zip/zip.cpp @@ -153,14 +153,16 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size) // ... and attach this menu bar to the frame SetMenuBar(menuBar); +#if wxUSE_STATUSBAR CreateStatusBar(1); +#endif // wxUSE_STATUSBAR - { html = new wxHtmlWindow(this); html -> SetRelatedFrame(this, _("HTML : %s")); +#if wxUSE_STATUSBAR html -> SetRelatedStatusBar(0); +#endif // wxUSE_STATUSBAR html -> LoadPage(wxT("start.htm")); - } }