diff --git a/src/common/fs_mem.cpp b/src/common/fs_mem.cpp index 53df2e002a..6e8ba3b6fd 100644 --- a/src/common/fs_mem.cpp +++ b/src/common/fs_mem.cpp @@ -252,10 +252,8 @@ wxMemoryFSHandler::AddFile(const wxString& filename, const wxBitmap& bitmap, wxBitmapType type) { -#if !defined(__WXMSW__) || wxUSE_WXDIB wxImage img = bitmap.ConvertToImage(); AddFile(filename, img, type); -#endif } #endif // wxUSE_IMAGE