X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/925f7740663f38ed8296ddb247754a9d62152aea..71ebd60b06f0c299b3f6ae3b11a8dcb4b0306493:/include/wx/motif/print.h diff --git a/include/wx/motif/print.h b/include/wx/motif/print.h index edfe2d2a09..9a6575ef81 100644 --- a/include/wx/motif/print.h +++ b/include/wx/motif/print.h @@ -24,7 +24,7 @@ class WXDLLEXPORT wxPrinter: public wxPrinterBase public: wxPrinter(wxPrintData *data = NULL); - ~wxPrinter(); + virtual ~wxPrinter(); virtual bool Print(wxWindow *parent, wxPrintout *printout, bool prompt = true); virtual bool PrintDialog(wxWindow *parent); @@ -42,7 +42,7 @@ class WXDLLEXPORT wxPrintPreview: public wxPrintPreviewBase public: wxPrintPreview(wxPrintout *printout, wxPrintout *printoutForPrinting = NULL, wxPrintData *data = NULL); - ~wxPrintPreview(); + virtual ~wxPrintPreview(); virtual bool Print(bool interactive); virtual void DetermineScaling();