X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c801d85f158c4cba50b588807daabdcbd0ed3853..721b32e05823b7b7356f9a7a99f7d0af457dc5f3:/include/wx/generic/printps.h diff --git a/include/wx/generic/printps.h b/include/wx/generic/printps.h index 9bf783b4bc..15213b91a0 100644 --- a/include/wx/generic/printps.h +++ b/include/wx/generic/printps.h @@ -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);