diff --git a/include/wx/anidecod.h b/include/wx/anidecod.h index 4a112410c8..8e50d0a60c 100644 --- a/include/wx/anidecod.h +++ b/include/wx/anidecod.h @@ -53,11 +53,12 @@ public: wxAnimationType GetType() const wxOVERRIDE { return wxANIMATION_TYPE_ANI; } -private: +protected: // wxAnimationDecoder pure virtual: virtual bool DoCanRead( wxInputStream& stream ) const wxOVERRIDE; // modifies current stream position (see wxAnimationDecoder::CanRead) +private: // frames stored as wxImage(s): ANI files are meant to be used mostly for animated // cursors and thus they do not use any optimization to encode differences between // two frames: they are just a list of images to display sequentially. diff --git a/include/wx/gifdecod.h b/include/wx/gifdecod.h index b0de4669e6..4e878ba61e 100644 --- a/include/wx/gifdecod.h +++ b/include/wx/gifdecod.h @@ -85,11 +85,12 @@ public: wxAnimationType GetType() const wxOVERRIDE { return wxANIMATION_TYPE_GIF; } -private: +protected: // wxAnimationDecoder pure virtual virtual bool DoCanRead( wxInputStream& stream ) const wxOVERRIDE; // modifies current stream position (see wxAnimationDecoder::CanRead) +private: int getcode(wxInputStream& stream, int bits, int abfin); wxGIFErrorCode dgif(wxInputStream& stream, GIFImage *img, int interl, int bits);