#include "wx/wx.h"
#endif
-#ifndef __WXMSW__
- #include "sample.xpm"
+#ifndef wxHAS_IMAGES_IN_RESOURCES
+ #include "../sample.xpm"
#endif
#include "wx/aboutdlg.h"
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;