add the default ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -23,6 +23,7 @@ WX_DECLARE_LIST_WITH_DECL(wxAnimationDecoder, wxAnimationDecoderList, class WXDL
|
|||||||
class WXDLLIMPEXP_ADV wxAnimation : public wxAnimationBase
|
class WXDLLIMPEXP_ADV wxAnimation : public wxAnimationBase
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
wxAnimation() {}
|
||||||
wxAnimation(const wxString &name, wxAnimationType type = wxANIMATION_TYPE_ANY)
|
wxAnimation(const wxString &name, wxAnimationType type = wxANIMATION_TYPE_ANY)
|
||||||
{ LoadFile(name, type); }
|
{ LoadFile(name, type); }
|
||||||
|
|
||||||
@@ -71,12 +72,12 @@ class WXDLLIMPEXP_ADV wxAnimationCtrl: public wxAnimationCtrlBase
|
|||||||
public:
|
public:
|
||||||
wxAnimationCtrl() { Init(); }
|
wxAnimationCtrl() { Init(); }
|
||||||
wxAnimationCtrl(wxWindow *parent,
|
wxAnimationCtrl(wxWindow *parent,
|
||||||
wxWindowID id,
|
wxWindowID id,
|
||||||
const wxAnimation& anim = wxNullAnimation,
|
const wxAnimation& anim = wxNullAnimation,
|
||||||
const wxPoint& pos = wxDefaultPosition,
|
const wxPoint& pos = wxDefaultPosition,
|
||||||
const wxSize& size = wxDefaultSize,
|
const wxSize& size = wxDefaultSize,
|
||||||
long style = wxAC_DEFAULT_STYLE,
|
long style = wxAC_DEFAULT_STYLE,
|
||||||
const wxString& name = wxAnimationCtrlNameStr)
|
const wxString& name = wxAnimationCtrlNameStr)
|
||||||
{
|
{
|
||||||
Init();
|
Init();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user