]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/print.cpp
Correct printf() format specifiers for long variables in life demo.
[wxWidgets.git] / src / gtk / print.cpp
index dcbb0f42e9a403376a39c326d79c8cea9793e503..32b2c08b1eba236af1181859a587bb0a8ee1af45 100644 (file)
@@ -3,7 +3,7 @@
 // Author:      Anthony Bretaudeau
 // Purpose:     GTK printing support
 // Created:     2007-08-25
-// RCS-ID:      $Id: print.cpp,v 1 2007-08-25 05:44:44 PC Exp $
+// RCS-ID:      $Id$
 // Copyright:   (c) 2007 wxWidgets development team
 // Licence:     wxWindows Licence
 /////////////////////////////////////////////////////////////////////////////
@@ -836,8 +836,6 @@ bool wxGtkPrinter::Print(wxWindow *parent, wxPrintout *printout, bool prompt )
 
     native->SetPrintJob( printOp );
 
-    printout->SetIsPreview(false);
-
     wxPrinterToGtkData dataToSend;
     dataToSend.printer = this;
     dataToSend.printout = printout;