X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ee0d4b469ad3a53a32336e5f354694904c34db71..2bee30334333a204427148b7464217929cdbc936:/contrib/samples/animate/anitest.cpp?ds=sidebyside diff --git a/contrib/samples/animate/anitest.cpp b/contrib/samples/animate/anitest.cpp index acf5eae9ee..b3f7d2d2e6 100644 --- a/contrib/samples/animate/anitest.cpp +++ b/contrib/samples/animate/anitest.cpp @@ -93,7 +93,9 @@ bool MyApp::OnInit() // Associate the menu bar with the frame frame->SetMenuBar(menu_bar); +#if wxUSE_STATUSBAR frame->CreateStatusBar(); +#endif // wxUSE_STATUSBAR frame->Show(TRUE); @@ -139,7 +141,7 @@ void MyFrame::OnQuit(wxCommandEvent& WXUNUSED(event)) void MyFrame::OnAbout(wxCommandEvent& WXUNUSED(event) ) { - (void)wxMessageBox(_T("wxWindows 2 Animation Demo\n") + (void)wxMessageBox(_T("wxWidgets 2 Animation Demo\n") _T("Author: Julian Smart (c) 2001\n"), _T("About Animation Demo")); }