X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f80ea77b4a8bac4ab005bfc592f9cd3262ffa397..9149aa8c961e1bfccc159526eeee5dc089eaf906:/samples/xrc/myframe.cpp diff --git a/samples/xrc/myframe.cpp b/samples/xrc/myframe.cpp index cfab7d39f9..577997cc1e 100644 --- a/samples/xrc/myframe.cpp +++ b/samples/xrc/myframe.cpp @@ -122,12 +122,14 @@ MyFrame::MyFrame(wxWindow* parent) // needs to be all in one step. SetToolBar(wxXmlResource::Get()->LoadToolBar(this, wxT("main_toolbar"))); +#if wxUSE_STATUSBAR // Give the frame a optional statusbar. The '1' just means one field. // A gripsizer will automatically get put on into the corner, if that // is the normal OS behaviour for frames on that platform. Helptext // for menu items and toolbar tools will automatically get displayed // here. CreateStatusBar( 1 ); +#endif // wxUSE_STATUSBAR } //-----------------------------------------------------------------------------