[ 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:
@@ -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();
|
||||
|
Reference in New Issue
Block a user