X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e19b9131cb2d7c0f5d05dc75889172de49f788d0..2a783b2daaae6f06928e7095ebbc4fc039583907:/wxPython/src/animate.i diff --git a/wxPython/src/animate.i b/wxPython/src/animate.i index 94149e1cac..450d0ef3f5 100644 --- a/wxPython/src/animate.i +++ b/wxPython/src/animate.i @@ -113,12 +113,16 @@ public: // extended interface used by the generic implementation of wxAnimat #ifndef __WXGTK__ wxPoint GetFramePosition(size_t frame) const; + wxSize GetFrameSize(size_t frame) const; wxAnimationDisposal GetDisposalMethod(size_t frame) const; + wxColour GetTransparentColour(size_t frame) const; wxColour GetBackgroundColour() const; #else %extend { wxPoint GetFramePosition(size_t frame) const { return wxDefaultPosition; } + wxSize GetFrameSize(size_t frame) const { return wxDefaultSize; } wxAnimationDisposal GetDisposalMethod(size_t frame) const { return wxANIM_UNSPECIFIED; } + wxColour GetTransparentColour(size_t frame) const { return wxNullColour; } wxColour GetBackgroundColour() const { return wxNullColour; } } #endif @@ -174,6 +178,10 @@ public: virtual void Stop(); virtual bool IsPlaying() const; + virtual void SetInactiveBitmap(const wxBitmap &bmp); + wxBitmap GetInactiveBitmap() const; + + %property(InactiveBitmap, GetInactiveBitmap, SetInactiveBitmap); };