diff --git a/include/wx/generic/animate.h b/include/wx/generic/animate.h index d28788830f..b4580b8295 100644 --- a/include/wx/generic/animate.h +++ b/include/wx/generic/animate.h @@ -59,6 +59,7 @@ public: static void CleanUpHandlers(); static void InitStandardHandlers(); + wxDECLARE_NO_COPY_CLASS(wxAnimationGenericImpl); wxDECLARE_DYNAMIC_CLASS(wxAnimationGenericImpl); }; diff --git a/include/wx/gtk/animate.h b/include/wx/gtk/animate.h index b8893eca79..79ae0e53cc 100644 --- a/include/wx/gtk/animate.h +++ b/include/wx/gtk/animate.h @@ -65,6 +65,7 @@ private: void UnRef(); typedef wxAnimationImpl base_type; + wxDECLARE_NO_COPY_CLASS(wxAnimationGTKImpl); wxDECLARE_DYNAMIC_CLASS(wxAnimationGTKImpl); };