Fixes for wxUSE_STATUSBAR.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user