]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/printps.h
simplifications and corrections to background drawing:
[wxWidgets.git] / include / wx / generic / printps.h
index c3d16a02f52996f12513767bfbe6c04d4ab8f703..b0446273406db4ebb3d51e537b2c41938789dbfe 100644 (file)
@@ -13,7 +13,7 @@
 #ifndef __PRINTPSH__
 #define __PRINTPSH__
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "printps.h"
 #endif
 
@@ -31,10 +31,10 @@ public:
     wxPostScriptPrinter(wxPrintDialogData *data = (wxPrintDialogData *) NULL);
     virtual ~wxPostScriptPrinter();
 
-    virtual bool Print(wxWindow *parent, wxPrintout *printout, bool prompt = TRUE);
+    virtual bool Print(wxWindow *parent, wxPrintout *printout, bool prompt = true);
     virtual wxDC* PrintDialog(wxWindow *parent);
     virtual bool Setup(wxWindow *parent);
-    
+
 private:
     DECLARE_DYNAMIC_CLASS(wxPostScriptPrinter)
 };