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:
@@ -107,8 +107,10 @@ bool MyApp::OnInit(void)
|
||||
wxT("wxWidgets Resource Sample"),
|
||||
wxPoint(-1, -1), wxSize(300, 250) );
|
||||
|
||||
#if wxUSE_STATUSBAR
|
||||
// Give it a status line
|
||||
frame->CreateStatusBar(2);
|
||||
#endif // wxUSE_STATUSBAR
|
||||
|
||||
wxMenuBar *menu_bar = wxResourceCreateMenuBar(wxT("menu1"));
|
||||
|
||||
|
Reference in New Issue
Block a user