X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2fd0ada57881c6a591594c269213db66f653a0be..da8b1d4b3b535aba94d04494f5b6e2b3e47901ee:/include/wx/animate.h?ds=sidebyside diff --git a/include/wx/animate.h b/include/wx/animate.h index 27f37a3b80..fd9ca49320 100644 --- a/include/wx/animate.h +++ b/include/wx/animate.h @@ -24,7 +24,7 @@ class WXDLLIMPEXP_FWD_ADV wxAnimation; extern WXDLLIMPEXP_DATA_ADV(wxAnimation) wxNullAnimation; -extern WXDLLIMPEXP_DATA_ADV(const wxChar) wxAnimationCtrlNameStr[]; +extern WXDLLIMPEXP_DATA_ADV(const char) wxAnimationCtrlNameStr[]; // ---------------------------------------------------------------------------- @@ -75,6 +75,8 @@ public: // public API virtual bool LoadFile(const wxString& filename, wxAnimationType type = wxANIMATION_TYPE_ANY) = 0; + virtual bool Load(wxInputStream& stream, + wxAnimationType type = wxANIMATION_TYPE_ANY) = 0; virtual void SetAnimation(const wxAnimation &anim) = 0; virtual wxAnimation GetAnimation() const = 0;