X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dea7e44a76e4e886f2bc60b0e82322a71b1f1f4f..bfeed34c1cb102300a9a24a50657304e60486700:/contrib/src/mmedia/vidxanm.cpp diff --git a/contrib/src/mmedia/vidxanm.cpp b/contrib/src/mmedia/vidxanm.cpp index 2d767c14b7..1630c05d76 100644 --- a/contrib/src/mmedia/vidxanm.cpp +++ b/contrib/src/mmedia/vidxanm.cpp @@ -8,19 +8,15 @@ // License: wxWindows license // ------------------------------------------------------------------------- -#ifdef __GNUG__ -#pragma implementation "vidxanm.h" -#endif - #include "wx/wxprec.h" #ifndef WX_PRECOMP -#include +#include "wx/wx.h" #endif #ifdef __WXGTK__ // Pizza ! -#include +#include "wx/gtk/win_gtk.h" #endif #include @@ -32,10 +28,10 @@ #include #endif -#include -#include -#include -#include +#include "wx/filefn.h" +#include "wx/wfstream.h" +#include "wx/datstrm.h" +#include "wx/tokenzr.h" #define WXMMEDIA_INTERNAL #include "wx/mmedia/vidbase.h" @@ -475,10 +471,11 @@ bool wxVideoXANIM::RestartXANIM() "XANIM_PROPERTY", False); // Build the command - xanim_command.Printf(wxT("xanim -Zr +Ze +Sr +f +W%d +f +q " - "+Av70 %s %s"), m_internal->xanim_window, - (xanim_chg_size) ? _T("") : _T(""), - WXSTRINGCAST m_filename); + xanim_command.Printf( + wxT("xanim -Zr +Ze +Sr +f +W%d +f +q +Av70 %s %s"), + (int)m_internal->xanim_window, + (xanim_chg_size) ? _T("") : _T(""), // ??? why ??? + WXSTRINGCAST m_filename); // Execute it if (!wxExecute(xanim_command, false, m_xanim_detector))