]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/print.h
remove the unnecessary non-const GetPage() overload
[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);
-  ~wxOS2Printer();
+  virtual ~wxOS2Printer();
 
   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);
-  ~wxOS2PrintPreview();
+  virtual ~wxOS2PrintPreview();
 
   virtual bool Print(bool interactive);
   virtual void DetermineScaling();