#ifndef _WX_GIFDECOD_H
#define _WX_GIFDECOD_H
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "gifdecod.h"
#endif
class GIFImage
{
public:
+ // def ctor
+ GIFImage();
+
unsigned int w; /* width */
unsigned int h; /* height */
unsigned int left; /* x coord (in logical screen) */
int getcode(int bits, int abfin);
int dgif(GIFImage *img, int interl, int bits);
-protected:
+public:
// get data of current frame
int GetFrameIndex() const;
unsigned char* GetData() const;