X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..8b56b16aca250be0f25881456350966a535095e2:/include/wx/x11/print.h diff --git a/include/wx/x11/print.h b/include/wx/x11/print.h index 64b50ef0a6..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(NO_GCC_PRAGMA) -#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();