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:
parent
cc202d9b5e
commit
bd2b8a16e2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user