long EfeWidth; // Efective Width
- LPBITMAPINFOHEADER lpbi;
+ BITMAPINFOHEADER2* lpbi;
int bgindex;
wxPalette* Palette;
bool imageOK;
virtual bool InstantiateBitmap(wxBitmap *bitmap);
wxMask *CreateMask(void);
- inline bool Ok(void) { return imageOK; }
+ inline bool Ok() const { return IsOk(); }
+ inline bool IsOk(void) { return imageOK; }
};
class wxPNGReaderIter
Itx -= Stepx;
if (Itx >= 0)
return 1;
- else {
+ else {
Ity -= Stepy;
if (Ity >= 0 && Ity < ima->Height)
{