]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/motif/print.h
remove warnings of intentionally unreachable code
[wxWidgets.git] / include / wx / motif / print.h
index edfe2d2a093ac906e3cca22ad7914bd5407660bf..9a6575ef81f2dc378c544e25994790747195b77a 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();