From 770ddb3ff7afe5711fdf58f6aa9215e6e4ad6fde Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Mon, 4 Apr 2005 22:57:43 +0000 Subject: [PATCH] If the filename is given in the ctor then call LoadFile git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- contrib/src/animate/animate.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contrib/src/animate/animate.cpp b/contrib/src/animate/animate.cpp index 5c687f927a..f033901e62 100644 --- a/contrib/src/animate/animate.cpp +++ b/contrib/src/animate/animate.cpp @@ -572,6 +572,8 @@ bool wxAnimationCtrlBase::Create(wxWindow *parent, wxWindowID id, m_animationPlayer.SetPosition(wxPoint(0, 0)); m_animationPlayer.SetDestroyAnimation(FALSE); + LoadFile(filename); + return TRUE; }