Improve wxImage::LoadImage so that image format in not anymore required
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -64,7 +64,7 @@ IMPLEMENT_DYNAMIC_CLASS(wxBMPHandler,wxImageHandler)
|
||||
|
||||
#define poffset (line * width * 3 + column * 3)
|
||||
|
||||
bool wxBMPHandler::LoadFile( wxImage *image, wxInputStream& stream )
|
||||
bool wxBMPHandler::LoadFile( wxImage *image, wxInputStream& stream, bool WXUNUSED(verbose) )
|
||||
{
|
||||
int rshift = 0, gshift = 0, bshift = 0;
|
||||
wxUint8 aByte;
|
||||
|
Reference in New Issue
Block a user