]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/x11/print.h
Compile fix.
[wxWidgets.git] / include / wx / x11 / print.h
index a814a64dcc093ec4fc4112686f224c6f20840b57..66eaab2ed118f4c25a380ebe95d6b9e7d8b1a338 100644 (file)
@@ -24,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);
@@ -42,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();