From bf9ce2abdf465110ca83469c1b336b056ae8ec72 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 6 Oct 2008 13:26:27 +0000 Subject: [PATCH] removed the strange __WXMSW__ test in AddFile(bitmap) -- why should this function silently do nothing in this case? git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/fs_mem.cpp | 2 -- 1 file changed, 2 deletions(-) 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