replaced size_t with unsigned int in wxAnimation and related classes and a couple of minor cleanups (use C++ comments; wrap long lines; put private parts after the public ones)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -39,14 +39,12 @@ public:
|
||||
|
||||
// unfortunately GdkPixbufAnimation does not expose these info:
|
||||
|
||||
virtual size_t GetFrameCount() const
|
||||
{ return 0; }
|
||||
virtual wxImage GetFrame(size_t i) const;
|
||||
virtual unsigned int GetFrameCount() const { return 0; }
|
||||
virtual wxImage GetFrame(unsigned int frame) const;
|
||||
|
||||
// we can retrieve the delay for a frame only after building
|
||||
// a GdkPixbufAnimationIter...
|
||||
virtual int GetDelay(size_t i) const
|
||||
{ return 0; }
|
||||
virtual int GetDelay(unsigned int frame) const { return 0; }
|
||||
|
||||
virtual wxSize GetSize() const;
|
||||
|
||||
|
Reference in New Issue
Block a user