X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/16f26dadb502b874b6aa7b5fa914928be0c5f1af..90b78a567f3271fede518e42de3f90eef10a3fdb:/samples/html/virtual/virtual.cpp?ds=sidebyside 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")); }