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:
@@ -572,6 +572,8 @@ bool wxAnimationCtrlBase::Create(wxWindow *parent, wxWindowID id,
|
|||||||
m_animationPlayer.SetPosition(wxPoint(0, 0));
|
m_animationPlayer.SetPosition(wxPoint(0, 0));
|
||||||
m_animationPlayer.SetDestroyAnimation(FALSE);
|
m_animationPlayer.SetDestroyAnimation(FALSE);
|
||||||
|
|
||||||
|
LoadFile(filename);
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user