X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..ce4b7808ca940be201422a066de141ca12f13863:/include/wx/mac/classic/dcclient.h diff --git a/include/wx/mac/classic/dcclient.h b/include/wx/mac/classic/dcclient.h index e8f9dc7e8a..8efbefbaab 100644 --- a/include/wx/mac/classic/dcclient.h +++ b/include/wx/mac/classic/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); virtual void DoGetSize( int *width, int *height ) const; protected : 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); virtual void DoGetSize( int *width, int *height ) const; }; @@ -62,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; };