X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6f02a879ed7efc5fcf6328ff47a1352ec82812b7..fe8635a7e78715344f0f4b6abc9d797931429333:/include/wx/mac/carbon/dcclient.h diff --git a/include/wx/mac/carbon/dcclient.h b/include/wx/mac/carbon/dcclient.h index 993e01dacd..a62be04d31 100644 --- a/include/wx/mac/carbon/dcclient.h +++ b/include/wx/mac/carbon/dcclient.h @@ -31,7 +31,7 @@ class WXDLLEXPORT wxWindowDC: public wxDC // Create a DC corresponding to a canvas wxWindowDC(wxWindow *win); - ~wxWindowDC(void); + virtual ~wxWindowDC(void); protected : virtual void DoGetSize( int *width, int *height ) const; wxWindow *m_window; @@ -48,7 +48,7 @@ class WXDLLEXPORT wxClientDC: public wxWindowDC // Create a DC corresponding to a canvas wxClientDC(wxWindow *win); - ~wxClientDC(void); + virtual ~wxClientDC(void); protected: virtual void DoGetSize( int *width, int *height ) const; @@ -64,7 +64,7 @@ class WXDLLEXPORT wxPaintDC: public wxWindowDC // Create a DC corresponding to a canvas wxPaintDC(wxWindow *win); - ~wxPaintDC(void); + virtual ~wxPaintDC(void); protected: virtual void DoGetSize( int *width, int *height ) const;