X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/edf6a063410b3fa401c913153a64f81d700fbda4..a5b31f4e11c860fa5d9949c8694a7499793c3b98:/include/wx/x11/print.h diff --git a/include/wx/x11/print.h b/include/wx/x11/print.h index 17417a4092..66eaab2ed1 100644 --- a/include/wx/x11/print.h +++ b/include/wx/x11/print.h @@ -12,10 +12,6 @@ #ifndef _WX_PRINT_H_ #define _WX_PRINT_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "print.h" -#endif - #include "wx/prntbase.h" /* @@ -28,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); @@ -46,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();