X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3e21fc053d9017f79ad71675db8d2e1497049159..fb63a24232a48e4b634124c7eaa968974c3c24a1:/include/wx/cocoa/dcclient.h?ds=sidebyside diff --git a/include/wx/cocoa/dcclient.h b/include/wx/cocoa/dcclient.h index 5bfc6a15e9..c927f0e5bf 100644 --- a/include/wx/cocoa/dcclient.h +++ b/include/wx/cocoa/dcclient.h @@ -25,7 +25,7 @@ public: wxWindowDC(void); // Create a DC corresponding to a window wxWindowDC(wxWindow *win); - ~wxWindowDC(void); + virtual ~wxWindowDC(void); protected: wxWindow *m_window; @@ -45,7 +45,7 @@ public: wxClientDC(void); // Create a DC corresponding to a window wxClientDC(wxWindow *win); - ~wxClientDC(void); + virtual ~wxClientDC(void); protected: // DC stack virtual bool CocoaLockFocus(); @@ -59,7 +59,7 @@ public: wxPaintDC(void); // Create a DC corresponding to a window wxPaintDC(wxWindow *win); - ~wxPaintDC(void); + virtual ~wxPaintDC(void); protected: // DC stack virtual bool CocoaLockFocus();