]> git.saurik.com Git - wxWidgets.git/commitdiff
If the filename is given in the ctor then call LoadFile
authorRobin Dunn <robin@alldunn.com>
Mon, 4 Apr 2005 22:57:43 +0000 (22:57 +0000)
committerRobin Dunn <robin@alldunn.com>
Mon, 4 Apr 2005 22:57:43 +0000 (22:57 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

contrib/src/animate/animate.cpp

index 5c687f927a0f9c85ba257f2d1e18e3eadfffa4b2..f033901e6279c2214392147fd71bd826cbb477db 100644 (file)
@@ -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;
 }