]> git.saurik.com Git - wxWidgets.git/commitdiff
removed the strange __WXMSW__ test in AddFile(bitmap) -- why should this function...
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 6 Oct 2008 13:26:27 +0000 (13:26 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 6 Oct 2008 13:26:27 +0000 (13:26 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/fs_mem.cpp

index 53df2e002aef00be01ed870d70c578ea6022f9f0..6e8ba3b6fdcb008893f5a3e14ed0f8f43e03433e 100644 (file)
@@ -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