]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/print.h
fix warnings in EventsSuppressor ctor from gcc with -O option
[wxWidgets.git] / include / wx / os2 / print.h
index baf6ecbcf98cb45e6282f1790db04c6bcdb93be6..34c9336604782861c2ba44151eb78fdaed45c68d 100644 (file)
@@ -24,7 +24,7 @@ class WXDLLEXPORT wxOS2Printer: public wxPrinterBase
 
  public:
   wxOS2Printer(wxPrintData *data = NULL);
 
  public:
   wxOS2Printer(wxPrintData *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);
@@ -43,7 +43,7 @@ class WXDLLEXPORT wxOS2PrintPreview: public wxPrintPreviewBase
 
  public:
   wxOS2PrintPreview(wxPrintout *printout, wxPrintout *printoutForPrinting = NULL, wxPrintData *data = NULL);
 
  public:
   wxOS2PrintPreview(wxPrintout *printout, wxPrintout *printoutForPrinting = NULL, wxPrintData *data = NULL);
-  ~wxOS2PrintPreview();
+  virtual ~wxOS2PrintPreview();
 
   virtual bool Print(bool interactive);
   virtual void DetermineScaling();
 
   virtual bool Print(bool interactive);
   virtual void DetermineScaling();