X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/99d800190a04a2deaf769017a5fae04a4ae50378..05a09b0b9f9d93cd2a149efc0c1ccc0790cdc82c:/include/wx/printdlg.h diff --git a/include/wx/printdlg.h b/include/wx/printdlg.h index 56327b9f27..6079f4a100 100644 --- a/include/wx/printdlg.h +++ b/include/wx/printdlg.h @@ -12,10 +12,6 @@ #ifndef _WX_PRINTDLG_H_BASE_ #define _WX_PRINTDLG_H_BASE_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma interface "printdlg.h" -#endif - #include "wx/defs.h" #if wxUSE_PRINTING_ARCHITECTURE @@ -59,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(); @@ -105,7 +101,7 @@ class WXDLLEXPORT wxPageSetupDialog: public wxObject { public: wxPageSetupDialog(wxWindow *parent, wxPageSetupDialogData *data = NULL); - ~wxPageSetupDialog(); + virtual ~wxPageSetupDialog(); int ShowModal(); wxPageSetupDialogData& GetPageSetupDialogData();