]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/fs_mem.cpp
initialize m_initialized to false to avoid spurious asserts
[wxWidgets.git] / src / common / fs_mem.cpp
index 37a272bbdc8948d8903b05948c9bf79ced45d4d5..782b95d758e608c98088e5862ad048233db07c09 100644 (file)
@@ -231,7 +231,6 @@ wxMemoryFSHandler::AddFile(const wxString& filename, wxImage& image, long type)
         wxLogError(s);
     }
 }
-#endif // wxUSE_IMAGE
 
 /*static*/ void wxMemoryFSHandler::AddFile(const wxString& filename, const wxBitmap& bitmap, long type)
 {
@@ -239,7 +238,9 @@ wxMemoryFSHandler::AddFile(const wxString& filename, wxImage& image, long type)
     AddFile(filename, img, type);
 }
 
-#endif
+#endif // wxUSE_IMAGE
+
+#endif // wxUSE_GUI
 
 
 #endif // wxUSE_FILESYSTEM && wxUSE_FS_ZIP