]> git.saurik.com Git - wxWidgets.git/commitdiff
Added a const for CW compilation
authorJulian Smart <julian@anthemion.co.uk>
Sat, 5 Apr 2003 10:38:18 +0000 (10:38 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Sat, 5 Apr 2003 10:38:18 +0000 (10:38 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

contrib/include/wx/animate/animate.h
contrib/src/animate/animate.cpp

index 2768d13d302e3ab567e16466745a0c01eaebf354..0a6e933b49bae9a4f7d3575da56992c6d9c47a77 100644 (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);
index a0bad64e6eed94903d7a22fcd4fe916dae29a768..1b88fce47ee27a10eecb7c83c4b4f0aad8291263 100644 (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);