From: Francesco Montorsi Date: Fri, 21 Mar 2008 18:03:12 +0000 (+0000) Subject: add the default ctor X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/106ef548fdc9d37de0c9f8b63c706b291ce1ac0f add the default ctor git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/generic/animate.h b/include/wx/generic/animate.h index 7a140b3b96..883c8a5952 100644 --- a/include/wx/generic/animate.h +++ b/include/wx/generic/animate.h @@ -23,6 +23,7 @@ WX_DECLARE_LIST_WITH_DECL(wxAnimationDecoder, wxAnimationDecoderList, class WXDL class WXDLLIMPEXP_ADV wxAnimation : public wxAnimationBase { public: + wxAnimation() {} wxAnimation(const wxString &name, wxAnimationType type = wxANIMATION_TYPE_ANY) { LoadFile(name, type); } @@ -71,12 +72,12 @@ class WXDLLIMPEXP_ADV wxAnimationCtrl: public wxAnimationCtrlBase public: wxAnimationCtrl() { Init(); } wxAnimationCtrl(wxWindow *parent, - wxWindowID id, - const wxAnimation& anim = wxNullAnimation, - const wxPoint& pos = wxDefaultPosition, - const wxSize& size = wxDefaultSize, - long style = wxAC_DEFAULT_STYLE, - const wxString& name = wxAnimationCtrlNameStr) + wxWindowID id, + const wxAnimation& anim = wxNullAnimation, + const wxPoint& pos = wxDefaultPosition, + const wxSize& size = wxDefaultSize, + long style = wxAC_DEFAULT_STYLE, + const wxString& name = wxAnimationCtrlNameStr) { Init();