/**
@class wxPrintDialog
- @wxheader{printdlg.h}
This class represents the print and print setup common dialogs.
You may obtain a wxPrinterDC device context from a successfully dismissed
If GetPrintDC() has not been called, the device context obtained by
the dialog (if any) will be deleted.
*/
- ~wxPrintDialog();
+ virtual ~wxPrintDialog();
/**
Returns the device context created by the print dialog, if any.
is transferred to the application, so it must then be deleted
explicitly.
*/
- wxDC* GetPrintDC();
+ virtual wxDC* GetPrintDC();
/**
Returns the @ref overview_printing_printdata "print dialog data" associated
with the print dialog.
*/
- wxPrintDialogData GetPrintDialogData();
+ virtual wxPrintDialogData& GetPrintDialogData();
/**
Shows the dialog, returning @c wxID_OK if the user pressed OK, and @c
After this function is called, a device context may be retrievable using
GetPrintDC().
*/
- int ShowModal();
+ virtual int ShowModal();
};
/**
@class wxPageSetupDialog
- @wxheader{printdlg.h}
This class represents the page setup common dialog. In MSW, the page setup
dialog is standard from Windows 95 on, replacing the print setup dialog (which
@library{wxcore}
@category{printing}
- @see @ref overview_printing "Printing framework overview",
- wxPrintDialog, wxPageSetupDialogData
+ @see @ref overview_printing, wxPrintDialog, wxPageSetupDialogData
*/
class wxPageSetupDialog : public wxDialog
{
/**
Destructor.
*/
- ~wxPageSetupDialog();
+ virtual ~wxPageSetupDialog();
/**
Returns the wxPageSetupDialogData object associated with the dialog.