From b71e94da10e5f6db42ad10182655450b11ebda2f Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Sat, 5 Apr 2003 10:38:18 +0000 Subject: [PATCH] Added a const for CW compilation git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- contrib/include/wx/animate/animate.h | 2 +- contrib/src/animate/animate.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/include/wx/animate/animate.h b/contrib/include/wx/animate/animate.h index 2768d13d30..0a6e933b49 100644 --- a/contrib/include/wx/animate/animate.h +++ b/contrib/include/wx/animate/animate.h @@ -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); diff --git a/contrib/src/animate/animate.cpp b/contrib/src/animate/animate.cpp index a0bad64e6e..1b88fce47e 100644 --- a/contrib/src/animate/animate.cpp +++ b/contrib/src/animate/animate.cpp @@ -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); -- 2.45.2