]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/fs_mem.cpp
Added part of patch
[wxWidgets.git] / src / common / fs_mem.cpp
index 7b83991f0a359bb26a0ebcfccdfea47783f72bcb..054cb609ef830437e0631b402d7b9425f39db7fa 100644 (file)
     #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;
         }