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
This commit is contained in:
parent
0eb2e51048
commit
bf9ce2abdf
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user