]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/mmedia/vidxanm.cpp
Source cleaning, wxW headers, whitespaces and improved PCH support.
[wxWidgets.git] / contrib / src / mmedia / vidxanm.cpp
index 2d767c14b70b9dfe382a87617d569080306ed126..1630c05d7693dc6f77ea544c4bf830a6f9cbe29a 100644 (file)
@@ -8,19 +8,15 @@
 // License:    wxWindows license
 // -------------------------------------------------------------------------
 
-#ifdef __GNUG__
-#pragma implementation "vidxanm.h"
-#endif
-
 #include "wx/wxprec.h"
 
 #ifndef WX_PRECOMP
-#include <wx/wx.h>
+#include "wx/wx.h"
 #endif
 
 #ifdef __WXGTK__
 // Pizza !
-#include <wx/gtk/win_gtk.h>
+#include "wx/gtk/win_gtk.h"
 #endif
 
 #include <X11/Xlib.h>
 #include <gdk/gdkprivate.h>
 #endif
 
-#include <wx/filefn.h>
-#include <wx/wfstream.h>
-#include <wx/datstrm.h>
-#include <wx/tokenzr.h>
+#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))