]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/classic/printdlg.h
fix warnings about calling an inline function before it is defined inline
[wxWidgets.git] / include / wx / mac / classic / printdlg.h
index 6bb45dad2f485963b446df36e0b6a77918eb88f5..ea04282cda64511863d928d78731a8aff3553399 100644 (file)
 #ifndef _WX_PRINTDLG_H_
 #define _WX_PRINTDLG_H_
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma interface "printdlg.h"
-#endif
-
 #include "wx/dialog.h"
 #include "wx/cmndata.h"
 
@@ -35,7 +31,7 @@ class WXDLLEXPORT wxPrintDialog: public wxDialog
   wxPrintDialog();
     wxPrintDialog(wxWindow *parent, wxPrintDialogData* data = NULL);
   wxPrintDialog(wxWindow *parent, wxPrintData* data );
-  ~wxPrintDialog();
+  virtual ~wxPrintDialog();
 
     bool Create(wxWindow *parent, wxPrintDialogData* data = NULL);
   virtual int ShowModal();
@@ -58,7 +54,7 @@ class WXDLLEXPORT wxPageSetupDialog: public wxDialog
  public:
   wxPageSetupDialog();
   wxPageSetupDialog(wxWindow *parent, wxPageSetupData *data = NULL);
-  ~wxPageSetupDialog();
+  virtual ~wxPageSetupDialog();
 
   bool Create(wxWindow *parent, wxPageSetupData *data = NULL);
   virtual int ShowModal();