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:
Julian Smart
2003-04-05 10:38:18 +00:00
parent 9279e47404
commit 0bab18a8e0
2 changed files with 2 additions and 2 deletions

View File

@@ -138,7 +138,7 @@ public:
//// Implementation
// 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 void DrawFrame(int frame, wxDC& dc, const wxPoint& pos);
virtual void DrawBackground(wxDC& dc, const wxPoint& pos, const wxColour& colour);

View File

@@ -212,7 +212,7 @@ bool wxAnimationPlayer::GetTransparentColour(wxColour& col) const
}
// Play the frame
bool wxAnimationPlayer::PlayFrame(int frame, wxWindow& window, wxPoint& pos)
bool wxAnimationPlayer::PlayFrame(int frame, wxWindow& window, const wxPoint& pos)
{
wxMemoryDC dc;
dc.SelectObject(m_backingStore);