X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0bca03736369e836cce9297509505c5972e775dd..a8c5e1a9d1f56190e2d87aadc40a75589585af1f:/src/common/fs_mem.cpp diff --git a/src/common/fs_mem.cpp b/src/common/fs_mem.cpp index 7b83991f0a..054cb609ef 100644 --- a/src/common/fs_mem.cpp +++ b/src/common/fs_mem.cpp @@ -23,13 +23,10 @@ #include "wx/hash.h" #if wxUSE_GUI #include "wx/bitmap.h" + #include "wx/image.h" #endif // wxUSE_GUI #endif -#if wxUSE_GUI - #include "wx/image.h" -#endif // wxUSE_GUI - #include "wx/mstream.h" class MemFSHashObj : public wxObject @@ -52,7 +49,7 @@ class MemFSHashObj : public wxObject InitTime(); } - ~MemFSHashObj() + virtual ~MemFSHashObj() { delete[] m_Data; }