Update GTK animation classes for the new pattern

This commit is contained in:
Robin Dunn
2020-04-01 14:16:15 -07:00
parent f641601ea9
commit 6b6a930e9c
3 changed files with 85 additions and 64 deletions

View File

@@ -301,7 +301,8 @@ bool wxGenericAnimationCtrl::Create(wxWindow *parent, wxWindowID id,
wxGenericAnimationCtrl::~wxGenericAnimationCtrl()
{
Stop();
if (IsPlaying())
Stop();
}
bool wxGenericAnimationCtrl::LoadFile(const wxString& filename, wxAnimationType type)