X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12f5e1e78fe906050ff2fee9529476db332633f0..62960a2c6e9c54720126a7207fa47e9e539f6040:/interface/wx/printdlg.h?ds=sidebyside diff --git a/interface/wx/printdlg.h b/interface/wx/printdlg.h index 2da2fde377..4cb99f4f69 100644 --- a/interface/wx/printdlg.h +++ b/interface/wx/printdlg.h @@ -37,7 +37,7 @@ public: 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. @@ -46,13 +46,13 @@ public: 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 @@ -61,7 +61,7 @@ public: After this function is called, a device context may be retrievable using GetPrintDC(). */ - int ShowModal(); + virtual int ShowModal(); }; @@ -93,8 +93,7 @@ public: @library{wxcore} @category{printing} - @see @ref overview_printing "Printing framework overview", - wxPrintDialog, wxPageSetupDialogData + @see @ref overview_printing, wxPrintDialog, wxPageSetupDialogData */ class wxPageSetupDialog : public wxDialog { @@ -110,7 +109,7 @@ public: /** Destructor. */ - ~wxPageSetupDialog(); + virtual ~wxPageSetupDialog(); /** Returns the wxPageSetupDialogData object associated with the dialog.