git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39551
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
- // say something?
- return false;
+ // load via wxBitmap which, in turn, uses wxImage allowing us to
+ // support more formats
+ wxBitmap bmp;
+ if ( !bmp.LoadFile(filename, type) )
+ return false;
+
+ CopyFromBitmap(bmp);
+ return true;
}
return handler->Load(this, filename, type, desiredWidth, desiredHeight);
}
return handler->Load(this, filename, type, desiredWidth, desiredHeight);