[ 1598659 ] make wxAnimationCtrl::SetInactiveBitmap center given bitmap

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2006-11-18 17:46:29 +00:00
parent 97331b821f
commit 1bd2ceb57b
7 changed files with 112 additions and 34 deletions

View File

@@ -105,7 +105,7 @@ public:
wxAnimation GetAnimation() const
{ return m_animation; }
void SetInactiveBitmap(const wxBitmap &bmp);
virtual void SetInactiveBitmap(const wxBitmap &bmp);
// override base class method
virtual bool SetBackgroundColour(const wxColour& col);
@@ -146,11 +146,11 @@ protected: // internal utilities
void DisposeToBackground(wxDC& dc);
void DisposeToBackground(wxDC& dc, const wxPoint &pos, const wxSize &sz);
void UpdateBackingStoreWithStaticImage();
void IncrementalUpdateBackingStore();
bool RebuildBackingStoreUpToFrame(size_t);
void DrawFrame(wxDC &dc, size_t);
virtual void DisplayStaticImage();
virtual wxSize DoGetBestSize() const;
protected: