From: Robin Dunn Date: Wed, 11 Oct 2006 23:49:59 +0000 (+0000) Subject: a couple new generic methods X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/bd2b8a16e2a0b7a99e998ba96bbe229896f94995 a couple new generic methods git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/src/animate.i b/wxPython/src/animate.i index 94149e1cac..8a2d294bdc 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