]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/printps.h
In DialogEd, changed Close to Destroy to make it shut down properly.
[wxWidgets.git] / include / wx / generic / printps.h
index 9bf783b4bc1a8dd544d56720435e69ab0905dde7..15213b91a030e117ff58f1511c71968bdd09de36 100644 (file)
@@ -28,7 +28,7 @@ class WXDLLEXPORT wxPostScriptPrinter: public wxPrinterBase
   DECLARE_DYNAMIC_CLASS(wxPostScriptPrinter)
 
  public:
-  wxPostScriptPrinter(wxPrintData *data = NULL);
+  wxPostScriptPrinter(wxPrintData *data = (wxPrintData *) NULL);
   ~wxPostScriptPrinter(void);
 
   virtual bool Print(wxWindow *parent, wxPrintout *printout, bool prompt = TRUE);
@@ -46,7 +46,7 @@ class WXDLLEXPORT wxPostScriptPrintPreview: public wxPrintPreviewBase
   DECLARE_CLASS(wxPostScriptPrintPreview)
 
  public:
-  wxPostScriptPrintPreview(wxPrintout *printout, wxPrintout *printoutForPrinting = NULL, wxPrintData *data = NULL);
+  wxPostScriptPrintPreview(wxPrintout *printout, wxPrintout *printoutForPrinting = (wxPrintout *) NULL, wxPrintData *data = (wxPrintData *) NULL);
   ~wxPostScriptPrintPreview(void);
 
   virtual bool Print(bool interactive);