[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]

[XaraXtreme-commits] Commit Complete



Commit by  : alex
Repository : xara
Revision   : 1549
Date       : Wed Jul 26 12:10:52 BST 2006

Changed paths:
   M /Trunk/XaraLX/wxOil/imgmgkft.cpp

Fix flicker issue on ImageMagick export


Diff:
Index: Trunk/XaraLX/wxOil/imgmgkft.cpp
===================================================================
--- Trunk/XaraLX/wxOil/imgmgkft.cpp	(revision 1548)
+++ Trunk/XaraLX/wxOil/imgmgkft.cpp	(revision 1549)
@@ -1317,7 +1317,7 @@
 	IMargv[1]=cifn;
 	IMargv[2]=cofn;
 	IMargv[3]=NULL;
-	long /*TYPENOTE: Correct*/ ret = ::wxExecute((wxChar **)IMargv, wxEXEC_SYNC);
+	long /*TYPENOTE: Correct*/ ret = ::wxExecute((wxChar **)IMargv, wxEXEC_SYNC | wxEXEC_NODISABLE);
 	
 	free(cifn);
 	free(cofn);
@@ -1379,7 +1379,7 @@
 #ifdef AVOID_BROKEN_GDB
 	::wxCopyFile(wxString(_T("/tmp/test.png")), TempFileName);
 #else
-	long /*TYPENOTE: Correct*/ ret = ::wxExecute((wxChar **)IMargv, wxEXEC_SYNC);
+	long /*TYPENOTE: Correct*/ ret = ::wxExecute((wxChar **)IMargv, wxEXEC_SYNC | wxEXEC_NODISABLE);
 #endif
 	
 	free(cifn);
@@ -1468,7 +1468,7 @@
 		s_ImageMagickPath = DIP_QUOTE(DEFAULT_IMAGEMAGICK_PATH);
 
 	wxArrayString output;
-	long /*TYPENOTE: Correct*/ ret=::wxExecute(wxString((const TCHAR *)s_ImageMagickPath)/*+_T(" --version")*/, output);
+	long /*TYPENOTE: Correct*/ ret=::wxExecute(wxString((const TCHAR *)s_ImageMagickPath)/*+_T(" --version")*/, output, wxEXEC_SYNC | wxEXEC_NODISABLE);
 	if (!ret && output.GetCount()>0)
 	{
 		wxString check = output[0];


Xara