X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3cb332c1553bb977cb8db16c19c733684ef72805..2db3b9a6a40343d0a2b6c5008e5ed9768f4a7358:/samples/animate/anitest.cpp?ds=sidebyside diff --git a/samples/animate/anitest.cpp b/samples/animate/anitest.cpp index 13d00db097..e2500c0fc5 100644 --- a/samples/animate/anitest.cpp +++ b/samples/animate/anitest.cpp @@ -102,8 +102,6 @@ bool MyApp::OnInit() wxDEFAULT_FRAME_STYLE); frame->Show(true); - SetTopWindow(frame); - return true; } @@ -295,7 +293,7 @@ void MyFrame::OnOpen(wxCommandEvent& WXUNUSED(event)) m_animationCtrl->Play(); #else wxFileInputStream stream(filename); - if (!stream.Ok()) + if (!stream.IsOk()) { wxLogError(wxT("Sorry, this animation is not a valid format for wxAnimation.")); return;