@see @ref overview_printing, @ref overview_cmndlg_print
*/
-class wxPrintDialog : public wxDialog
+class wxPrintDialog : public wxObject
{
public:
/**
@see wxPrintDialogData
*/
wxPrintDialog(wxWindow* parent, wxPrintDialogData* data = NULL);
+ wxPrintDialog(wxWindow *parent, wxPrintData* data);
/**
Destructor.
*/
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.
@see @ref overview_printing, wxPrintDialog, wxPageSetupDialogData
*/
-class wxPageSetupDialog : public wxDialog
+class wxPageSetupDialog : public wxObject
{
public:
/**