]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/fs_mem.cpp
don't try to remove -g flag from CFLAGS, it is not necessary and doesn't work correct...
[wxWidgets.git] / src / common / fs_mem.cpp
index 2bfcfd02be1240efd3c5b24b75813cf44c2a16f4..93e51c7625bdcc14edadee29ff5690c76cebc272 100644 (file)
@@ -174,7 +174,7 @@ bool wxMemoryFSHandler::CheckHash(const wxString& filename)
 
 /*static*/ void wxMemoryFSHandler::AddFile(const wxString& filename, const wxBitmap& bitmap, long type)
 {
-    wxImage img(bitmap);
+    wxImage img = bitmap.ConvertToImage();
     AddFile(filename, img, type);
 }