X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0bca03736369e836cce9297509505c5972e775dd..80a779275ae04443c568dca919adb26cf6f5002c:/src/common/fs_mem.cpp?ds=sidebyside 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; }