Added a const for CW compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -138,7 +138,7 @@ public:
|
|||||||
//// Implementation
|
//// Implementation
|
||||||
|
|
||||||
// Play the frame
|
// Play the frame
|
||||||
virtual bool PlayFrame(int frame, wxWindow& window, wxPoint& pos);
|
virtual bool PlayFrame(int frame, wxWindow& window, const wxPoint& pos);
|
||||||
virtual bool PlayFrame();
|
virtual bool PlayFrame();
|
||||||
virtual void DrawFrame(int frame, wxDC& dc, const wxPoint& pos);
|
virtual void DrawFrame(int frame, wxDC& dc, const wxPoint& pos);
|
||||||
virtual void DrawBackground(wxDC& dc, const wxPoint& pos, const wxColour& colour);
|
virtual void DrawBackground(wxDC& dc, const wxPoint& pos, const wxColour& colour);
|
||||||
|
@@ -212,7 +212,7 @@ bool wxAnimationPlayer::GetTransparentColour(wxColour& col) const
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Play the frame
|
// Play the frame
|
||||||
bool wxAnimationPlayer::PlayFrame(int frame, wxWindow& window, wxPoint& pos)
|
bool wxAnimationPlayer::PlayFrame(int frame, wxWindow& window, const wxPoint& pos)
|
||||||
{
|
{
|
||||||
wxMemoryDC dc;
|
wxMemoryDC dc;
|
||||||
dc.SelectObject(m_backingStore);
|
dc.SelectObject(m_backingStore);
|
||||||
|
Reference in New Issue
Block a user