X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7cdd78f635849b72c98b520e427148051620edf8..87b8de0fceca302c88ab3cfac1e7498646c6cc93:/samples/oleauto/oleauto.cpp?ds=sidebyside diff --git a/samples/oleauto/oleauto.cpp b/samples/oleauto/oleauto.cpp index 1d851b9f64..a4de77a6a2 100644 --- a/samples/oleauto/oleauto.cpp +++ b/samples/oleauto/oleauto.cpp @@ -170,9 +170,11 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size) // ... and attach this menu bar to the frame SetMenuBar(menuBar); +#if wxUSE_STATUSBAR // create a status bar just for fun (by default with 1 pane only) CreateStatusBar(2); SetStatusText(_T("Welcome to wxWidgets!")); +#endif // wxUSE_STATUSBAR }