X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/be5a51fb592f3fa2ba38ac6cd1e488d6d806058c..2bee30334333a204427148b7464217929cdbc936:/contrib/samples/animate/anitest.cpp diff --git a/contrib/samples/animate/anitest.cpp b/contrib/samples/animate/anitest.cpp index f03f8875b1..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);