X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/be5a51fb592f3fa2ba38ac6cd1e488d6d806058c..e508567a95c7858f7bbf21d37c189fdd6f3eac2e:/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);