X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/213ad8e72cb6e838d15bf54145d661b081dca308..5ff14574fc48a85531252d675b1cf8cfadb65399:/include/wx/msw/dc.h diff --git a/include/wx/msw/dc.h b/include/wx/msw/dc.h index 49927b84b3..1bfa0488d6 100644 --- a/include/wx/msw/dc.h +++ b/include/wx/msw/dc.h @@ -30,7 +30,7 @@ class wxDCCacheEntry: public wxObject public: wxDCCacheEntry(WXHBITMAP hBitmap, int w, int h, int depth); wxDCCacheEntry(WXHDC hDC, int depth); - ~wxDCCacheEntry(); + virtual ~wxDCCacheEntry(); WXHBITMAP m_bitmap; WXHDC m_dc; @@ -46,7 +46,7 @@ class WXDLLEXPORT wxDC : public wxDCBase { public: wxDC(WXHDC hDC) { Init(); m_hDC = hDC; } - ~wxDC(); + virtual ~wxDC(); // implement base class pure virtuals // ----------------------------------