X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..68a9527d5185cdd9d3fef3d9421415c50de8794d:/include/wx/palmos/dc.h diff --git a/include/wx/palmos/dc.h b/include/wx/palmos/dc.h index f9facffd55..ce2fc9a905 100644 --- a/include/wx/palmos/dc.h +++ b/include/wx/palmos/dc.h @@ -31,7 +31,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; @@ -45,7 +45,7 @@ class WXDLLEXPORT wxDC : public wxDCBase { public: wxDC(); - ~wxDC(); + virtual ~wxDC(); // implement base class pure virtuals // ----------------------------------