X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6d50343d87bec1ad537a74c43e2ed2a114574a5a..eba91e51e8d7cce2c5c9a99d8ddcad5b29a114a8:/src/mac/classic/dcprint.cpp?ds=sidebyside diff --git a/src/mac/classic/dcprint.cpp b/src/mac/classic/dcprint.cpp index 8d21ba124b..03f81738af 100644 --- a/src/mac/classic/dcprint.cpp +++ b/src/mac/classic/dcprint.cpp @@ -19,10 +19,10 @@ #include "wx/dcprint.h" #ifndef WX_PRECOMP + #include "wx/msgdlg.h" + #include "wx/math.h" #endif -#include "wx/msgdlg.h" -#include "wx/math.h" #include "wx/mac/uma.h" #include "wx/mac/private/print.h" @@ -52,7 +52,7 @@ class wxMacCarbonPrinterDC : public wxNativePrinterDC { public : wxMacCarbonPrinterDC( wxPrintData* data ) ; - ~wxMacCarbonPrinterDC() ; + virtual ~wxMacCarbonPrinterDC() ; virtual bool StartDoc( wxPrinterDC* dc , const wxString& message ) ; virtual void EndDoc( wxPrinterDC* dc ) ; virtual void StartPage( wxPrinterDC* dc ) ; @@ -185,7 +185,7 @@ class wxMacClassicPrinterDC : public wxNativePrinterDC { public : wxMacClassicPrinterDC( wxPrintData* data ) ; - ~wxMacClassicPrinterDC() ; + virtual ~wxMacClassicPrinterDC() ; virtual bool StartDoc( wxPrinterDC* dc , const wxString& message ) ; virtual void EndDoc( wxPrinterDC* dc ) ; virtual void StartPage( wxPrinterDC* dc ) ;