]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/printos2.h
fix warnings in EventsSuppressor ctor from gcc with -O option
[wxWidgets.git] / include / wx / os2 / printos2.h
index bf026a06b2faf36d3726dcdb36eaa0b1845b04ae..171ce9fd07958b6041b4d96152984a7e38498cee 100644 (file)
@@ -26,7 +26,7 @@ class WXDLLEXPORT wxOS2Printer: public wxPrinterBase
 
 public:
     wxOS2Printer(wxPrintDialogData *data = NULL);
 
 public:
     wxOS2Printer(wxPrintDialogData *data = NULL);
-    ~wxOS2Printer();
+    virtual ~wxOS2Printer();
 
     virtual bool Print(wxWindow *parent, wxPrintout *printout, bool prompt = true);
     virtual wxDC* PrintDialog(wxWindow *parent);
 
     virtual bool Print(wxWindow *parent, wxPrintout *printout, bool prompt = true);
     virtual wxDC* PrintDialog(wxWindow *parent);
@@ -46,7 +46,7 @@ class WXDLLEXPORT wxOS2PrintPreview: public wxPrintPreviewBase
 public:
     wxOS2PrintPreview(wxPrintout *printout, wxPrintout *printoutForPrinting = NULL, wxPrintDialogData *data = NULL);
     wxOS2PrintPreview(wxPrintout *printout, wxPrintout *printoutForPrinting, wxPrintData *data);
 public:
     wxOS2PrintPreview(wxPrintout *printout, wxPrintout *printoutForPrinting = NULL, wxPrintDialogData *data = NULL);
     wxOS2PrintPreview(wxPrintout *printout, wxPrintout *printoutForPrinting, wxPrintData *data);
-    ~wxOS2PrintPreview();
+    virtual ~wxOS2PrintPreview();
 
     virtual bool Print(bool interactive);
     virtual void DetermineScaling();
 
     virtual bool Print(bool interactive);
     virtual void DetermineScaling();