X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/809e8e443f2e863cf299d631c977648a7c5ff662..d0ce3e528a41a1d2f7420888b6f360c793e5f247:/include/wx/gifdecod.h diff --git a/include/wx/gifdecod.h b/include/wx/gifdecod.h index 576a25d962..fac5e45639 100644 --- a/include/wx/gifdecod.h +++ b/include/wx/gifdecod.h @@ -11,7 +11,7 @@ #ifndef _WX_GIFDECOD_H #define _WX_GIFDECOD_H -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "gifdecod.h" #endif @@ -64,6 +64,9 @@ enum class GIFImage { public: + // def ctor + GIFImage(); + unsigned int w; /* width */ unsigned int h; /* height */ unsigned int left; /* x coord (in logical screen) */ @@ -75,6 +78,8 @@ public: unsigned char *pal; /* palette */ GIFImage *next; /* next image */ GIFImage *prev; /* prev image */ + + DECLARE_NO_COPY_CLASS(GIFImage) }; @@ -145,6 +150,8 @@ public: // convert current frame to wxImage bool ConvertToImage(wxImage *image) const; + + DECLARE_NO_COPY_CLASS(wxGIFDecoder) };