From a7fd4db10714086399762b61fe82128c2afee25a Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 2 Apr 2020 13:00:44 -0700 Subject: [PATCH] Use wxDECLARE_NO_COPY_CLASS in the Impl classes --- include/wx/generic/animate.h | 1 + include/wx/gtk/animate.h | 1 + 2 files changed, 2 insertions(+) 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); };