X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/34da0970a018b4b0828248028040ca339868ed4e..e146b8c8bf449e2264ac3edc6a0228585c619dd1:/include/wx/msw/printwin.h diff --git a/include/wx/msw/printwin.h b/include/wx/msw/printwin.h index 2f92fa3ca9..00abaf710d 100644 --- a/include/wx/msw/printwin.h +++ b/include/wx/msw/printwin.h @@ -27,11 +27,11 @@ class WXDLLEXPORT wxWindowsPrinter: public wxPrinterBase DECLARE_DYNAMIC_CLASS(wxWindowsPrinter) public: - wxWindowsPrinter(wxPrintData *data = NULL); + wxWindowsPrinter(wxPrintDialogData *data = NULL); ~wxWindowsPrinter(void); virtual bool Print(wxWindow *parent, wxPrintout *printout, bool prompt = TRUE); - virtual bool PrintDialog(wxWindow *parent); + virtual wxDC* PrintDialog(wxWindow *parent); virtual bool Setup(wxWindow *parent); private: @@ -48,7 +48,7 @@ class WXDLLEXPORT wxWindowsPrintPreview: public wxPrintPreviewBase DECLARE_CLASS(wxWindowsPrintPreview) public: - wxWindowsPrintPreview(wxPrintout *printout, wxPrintout *printoutForPrinting = NULL, wxPrintData *data = NULL); + wxWindowsPrintPreview(wxPrintout *printout, wxPrintout *printoutForPrinting = NULL, wxPrintDialogData *data = NULL); ~wxWindowsPrintPreview(void); virtual bool Print(bool interactive);