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
This commit is contained in:
parent
2b9590d611
commit
770ddb3ff7
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user