]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/printdlg.h
fixing 10.5 only compiles
[wxWidgets.git] / include / wx / printdlg.h
index 9179ab5f519b3fb926e8c556c584f5740242d632..6079f4a1001e08de177c4c886d9f068669dd4321 100644 (file)
@@ -55,7 +55,7 @@ class WXDLLEXPORT wxPrintDialog : public wxObject
 public:
     wxPrintDialog(wxWindow *parent, wxPrintDialogData* data = NULL);
     wxPrintDialog(wxWindow *parent, wxPrintData* data);
-    ~wxPrintDialog();
+    virtual ~wxPrintDialog();
 
     virtual int ShowModal();
 
@@ -101,7 +101,7 @@ class WXDLLEXPORT wxPageSetupDialog: public wxObject
 {
 public:
     wxPageSetupDialog(wxWindow *parent, wxPageSetupDialogData *data = NULL);
-    ~wxPageSetupDialog();
+    virtual ~wxPageSetupDialog();
 
     int ShowModal();
     wxPageSetupDialogData& GetPageSetupDialogData();