diff --git a/include/wx/gtk/animate.h b/include/wx/gtk/animate.h index f2c070fa8c..b54fd58ce4 100644 --- a/include/wx/gtk/animate.h +++ b/include/wx/gtk/animate.h @@ -28,10 +28,6 @@ class WXDLLIMPEXP_ADV wxAnimationGTKImpl : public wxAnimationImpl public: wxAnimationGTKImpl() : m_pixbuf(NULL) {} - // wxAnimation(const wxString &name, wxAnimationType type = wxANIMATION_TYPE_ANY) - // : m_pixbuf(NULL) { LoadFile(name, type); } - // wxAnimation(GdkPixbufAnimation *p = NULL); - // wxAnimation(const wxAnimation&); ~wxAnimationGTKImpl() { UnRef(); } // wxAnimation& operator= (const wxAnimation&); @@ -119,7 +115,7 @@ public: // public API virtual bool LoadFile(const wxString& filename, wxAnimationType type = wxANIMATION_TYPE_ANY) wxOVERRIDE; virtual bool Load(wxInputStream& stream, wxAnimationType type = wxANIMATION_TYPE_ANY) wxOVERRIDE; - void SetAnimation(const wxAnimation &anim); + void SetAnimation(const wxAnimation &anim) wxOVERRIDE; virtual bool Play() wxOVERRIDE; virtual void Stop() wxOVERRIDE; diff --git a/src/common/animatecmn.cpp b/src/common/animatecmn.cpp index 88c72e9b19..91167a0444 100644 --- a/src/common/animatecmn.cpp +++ b/src/common/animatecmn.cpp @@ -90,7 +90,7 @@ wxSize wxAnimation::GetSize() const bool wxAnimation::LoadFile(const wxString& name, wxAnimationType type) { // the animation impl may not be fully ready until after it has loaded the - // file, so just check GetImpl the Load methods + // file, so just check GetImpl in the Load methods wxCHECK_MSG( GetImpl(), false, wxT("invalid animation") ); return GetImpl()->LoadFile(name, type); }