X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/16f26dadb502b874b6aa7b5fa914928be0c5f1af..da98e15760bfcad41a5579e64955caadc2e535f3:/samples/html/virtual/virtual.cpp diff --git a/samples/html/virtual/virtual.cpp b/samples/html/virtual/virtual.cpp index 75d9193dfb..0260ba5514 100644 --- a/samples/html/virtual/virtual.cpp +++ b/samples/html/virtual/virtual.cpp @@ -202,11 +202,15 @@ wxHtmlWindow *html; // ... and attach this menu bar to the frame SetMenuBar(menuBar); +#if wxUSE_STATUSBAR CreateStatusBar(2); +#endif // wxUSE_STATUSBAR html = new wxHtmlWindow(this); html -> SetRelatedFrame(this, _("VFS Demo: '%s'")); +#if wxUSE_STATUSBAR html -> SetRelatedStatusBar(1); +#endif // wxUSE_STATUSBAR html -> LoadPage(wxT("start.htm")); }