X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..3fd8c9885425ab527572a74d16badc913dfba53c:/include/wx/mac/classic/dcclient.h diff --git a/include/wx/mac/classic/dcclient.h b/include/wx/mac/classic/dcclient.h index a7d6b87240..8efbefbaab 100644 --- a/include/wx/mac/classic/dcclient.h +++ b/include/wx/mac/classic/dcclient.h @@ -6,16 +6,12 @@ // Created: 1998-01-01 // RCS-ID: $Id$ // Copyright: (c) Stefan Csomor -// Licence: wxWidgets licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #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; };