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

[XaraXtreme-commits] Commit Complete



Commit by  : alex
Repository : xara
Revision   : 1539
Date       : Tue Jul 25 21:25:57 BST 2006

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

Fix printing of complex drawings at the expense of disabling cancelling print jobs


Diff:
Index: Trunk/XaraLX/wxOil/printprg.cpp
===================================================================
--- Trunk/XaraLX/wxOil/printprg.cpp	(revision 1538)
+++ Trunk/XaraLX/wxOil/printprg.cpp	(revision 1539)
@@ -482,7 +482,7 @@
 		// Save current doc view etc. around yield as paint can destroy them.
 		View * pCurrentView = View::GetCurrent();
 		Document * pCurrentDocument = Document::GetCurrent();
-		::wxSafeYield(pPrintProgressDlg->WindowID, TRUE);
+//		::wxSafeYield(pPrintProgressDlg->WindowID, TRUE); - THIS YIELD CAUSES PROBLEMS (some bit of attribute stack is being corrupted) - AMB
 		pCurrentDocument->SetCurrent();
 		pCurrentView->SetCurrent();
 


Xara