X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..f08b7bec7f042cc8df4be88504f50961dae36697:/include/wx/mac/classic/dcclient.h diff --git a/include/wx/mac/classic/dcclient.h b/include/wx/mac/classic/dcclient.h index 8e01314084..8efbefbaab 100644 --- a/include/wx/mac/classic/dcclient.h +++ b/include/wx/mac/classic/dcclient.h @@ -12,10 +12,6 @@ #ifndef _WX_DCCLIENT_H_ #define _WX_DCCLIENT_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "dcclient.h" -#endif - #include "wx/dc.h" //----------------------------------------------------------------------------- @@ -35,7 +31,7 @@ class WXDLLEXPORT wxWindowDC: public wxDC // Create a DC corresponding to a canvas wxWindowDC(wxWindow *win); - ~wxWindowDC(void); + virtual ~wxWindowDC(void); virtual void DoGetSize( int *width, int *height ) const; protected : wxWindow *m_window; @@ -52,7 +48,7 @@ class WXDLLEXPORT wxClientDC: public wxWindowDC // Create a DC corresponding to a canvas wxClientDC(wxWindow *win); - ~wxClientDC(void); + virtual ~wxClientDC(void); virtual void DoGetSize( int *width, int *height ) const; }; @@ -66,7 +62,7 @@ class WXDLLEXPORT wxPaintDC: public wxWindowDC // Create a DC corresponding to a canvas wxPaintDC(wxWindow *win); - ~wxPaintDC(void); + virtual ~wxPaintDC(void); virtual void DoGetSize( int *width, int *height ) const; };