Fixes for wxUSE_STATUSBAR.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -216,9 +216,11 @@ bool MainApp::OnInit(void) // Does everything needed for a program start
|
||||
menu_bar->Append(file_menu, _("&File"));
|
||||
menu_bar->Append(help_menu, _("&Help"));
|
||||
frame->SetMenuBar(menu_bar);
|
||||
#if wxUSE_STATUSBAR
|
||||
frame->CreateStatusBar(1);
|
||||
Temp0.Printf(_("%s has started !"),p_ProgramCfg->GetAppName().c_str());
|
||||
frame->SetStatusText(Temp0, 0);
|
||||
#endif // wxUSE_STATUSBAR
|
||||
//---------------------------------------------------------------------------------------
|
||||
int width, height;
|
||||
frame->GetClientSize(&width, &height);
|
||||
|
Reference in New Issue
Block a user