MSW fixes; added wxUSE_XPM to wxUniv's setup.h so now widgets sample works
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -588,8 +588,12 @@ int wxGIFDecoder::ReadGIF()
|
||||
|
||||
/* fill in the data */
|
||||
m_f->Read(buf, 9);
|
||||
pimg->left = buf[0] + 256 * buf[1];
|
||||
pimg->top = buf[2] + 256 * buf[3];
|
||||
/*
|
||||
pimg->left = buf[4] + 256 * buf[5];
|
||||
pimg->top = buf[4] + 256 * buf[5];
|
||||
*/
|
||||
pimg->w = buf[4] + 256 * buf[5];
|
||||
pimg->h = buf[6] + 256 * buf[7];
|
||||
interl = ((buf[8] & 0x40)? 1 : 0);
|
||||
|
||||
Reference in New Issue
Block a user