X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ae3c17b4013e80b99976c750c19fca47729517f6..b54129836cbc680fbeb338bb6087c1a4f80bdf18:/interface/wx/printdlg.h diff --git a/interface/wx/printdlg.h b/interface/wx/printdlg.h index 4a174546bb..76863350f3 100644 --- a/interface/wx/printdlg.h +++ b/interface/wx/printdlg.h @@ -8,7 +8,6 @@ /** @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 @@ -38,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. @@ -47,7 +46,7 @@ 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 @@ -62,14 +61,13 @@ public: 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 @@ -112,7 +110,7 @@ public: /** Destructor. */ - ~wxPageSetupDialog(); + virtual ~wxPageSetupDialog(); /** Returns the wxPageSetupDialogData object associated with the dialog.