git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19985
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
//// 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);
}
// 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);