Verify the animation impl type matches the animation ctrl type

This commit is contained in:
Robin Dunn
2020-04-01 12:39:48 -07:00
parent e464453073
commit 606f365ea3
3 changed files with 8 additions and 0 deletions

View File

@@ -24,6 +24,9 @@ class WXDLLIMPEXP_ADV wxAnimationGenericImpl : public wxAnimationImpl
public:
wxAnimationGenericImpl() {}
virtual wxAnimationImplType GetImplType() wxOVERRIDE
{ return wxANIMATION_IMPL_TYPE_GENERIC; }
virtual bool IsOk() const wxOVERRIDE
{ return m_refData != NULL; }