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:
Julian Smart
2001-07-03 10:03:13 +00:00
parent 748fbf95a8
commit bd52bee106
8 changed files with 138 additions and 87 deletions

View File

@@ -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);