X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..ff1dadae388b2f408874b80251d64d16d9d46280:/include/wx/x11/print.h?ds=sidebyside diff --git a/include/wx/x11/print.h b/include/wx/x11/print.h index a814a64dcc..66eaab2ed1 100644 --- a/include/wx/x11/print.h +++ b/include/wx/x11/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();