Add a Create method to the shim class

This commit is contained in:
Robin Dunn 2020-03-30 15:20:19 -07:00
parent 868154ee90
commit 1608fde659

View File

@ -161,6 +161,16 @@ private:
: wxGenericAnimationCtrl(parent, id, anim, pos, size, style, name)
{}
bool Create(wxWindow *parent, wxWindowID id,
const wxAnimation& anim = wxNullGenericAnimation,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxAC_DEFAULT_STYLE,
const wxString& name = wxAnimationCtrlNameStr)
{ return wxGenericAnimationCtrl::Create(parent, id, anim, pos, size, style, name); }
void SetAnimation(const wxAnimation &anim)
{ wxGenericAnimationCtrl::SetAnimation(anim); }
virtual wxAnimation GetAnimation() const
{ return wxAnimation(m_animation) ; }