wxDEFAULT_FRAME_STYLE);
frame->Show(true);
- SetTopWindow(frame);
-
return true;
}
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;