X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/947c91dae14d0f9bdb12fa0a640a63946a9cc935..9e9574fe45b176ee74bba8fad7574cf9906145d1:/interface/wx/printdlg.h?ds=sidebyside diff --git a/interface/wx/printdlg.h b/interface/wx/printdlg.h index 7e92bb8f75..9c9cf83a5a 100644 --- a/interface/wx/printdlg.h +++ b/interface/wx/printdlg.h @@ -2,8 +2,7 @@ // Name: printdlg.h // Purpose: interface of wxPrintDialog // Author: wxWidgets team -// RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// /** @@ -18,7 +17,7 @@ @see @ref overview_printing, @ref overview_cmndlg_print */ -class wxPrintDialog : public wxDialog +class wxPrintDialog : public wxObject { public: /** @@ -30,6 +29,7 @@ public: @see wxPrintDialogData */ wxPrintDialog(wxWindow* parent, wxPrintDialogData* data = NULL); + wxPrintDialog(wxWindow *parent, wxPrintData* data); /** Destructor. @@ -54,6 +54,12 @@ public: */ virtual wxPrintDialogData& GetPrintDialogData(); + /** + Returns the @ref overview_printing_printdata "print data" associated + with the print dialog. + */ + virtual wxPrintData& GetPrintData(); + /** Shows the dialog, returning @c wxID_OK if the user pressed OK, and @c wxID_CANCEL otherwise. @@ -89,7 +95,7 @@ public: @see @ref overview_printing, wxPrintDialog, wxPageSetupDialogData */ -class wxPageSetupDialog : public wxDialog +class wxPageSetupDialog : public wxObject { public: /**