a couple new generic methods

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2006-10-11 23:49:59 +00:00
parent cc202d9b5e
commit bd2b8a16e2

View File

@ -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