]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gifdecod.h
fixed MSVC6 compiler warning
[wxWidgets.git] / include / wx / gifdecod.h
index 13a3a7b5a8b3a9880e5a62f0d46a9d83365f34b7..e524466c0dd2e54f89160b204d6c804f6be33cf1 100644 (file)
@@ -11,7 +11,7 @@
 #ifndef _WX_GIFDECOD_H
 #define _WX_GIFDECOD_H
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "gifdecod.h"
 #endif
 
@@ -78,6 +78,8 @@ public:
     unsigned char *pal;             /* palette */
     GIFImage *next;                 /* next image */
     GIFImage *prev;                 /* prev image */
+
+    DECLARE_NO_COPY_CLASS(GIFImage)
 };
 
 
@@ -148,6 +150,8 @@ public:
 
     // convert current frame to wxImage
     bool ConvertToImage(wxImage *image) const;
+
+    DECLARE_NO_COPY_CLASS(wxGIFDecoder)
 };