[ 1580776 ] wxAnimationCtrl::SetInactiveBitmap

Additionally call UnShare() in it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2006-10-21 13:51:38 +00:00
parent 1a5e269be8
commit 8e458bb539
7 changed files with 147 additions and 49 deletions

View File

@@ -68,9 +68,6 @@ public: // used by GTK callbacks
protected:
GdkPixbufAnimation *m_pixbuf;
// used temporary by Load()
//bool m_bLoadComplete;
private:
void UnRef();
@@ -132,12 +129,14 @@ public: // public API
virtual bool IsPlaying() const;
bool SetBackgroundColour( const wxColour &colour );
void SetInactiveBitmap(const wxBitmap &bmp);
protected:
virtual wxSize DoGetBestSize() const;
void FitToAnimation();
void ClearToBackgroundColour();
void DisplayStaticImage();
void ResetAnim();
void ResetIter();