From fd352f9ac7ab8e3b66c352f14b4a9088609e754a Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Sat, 9 Apr 2022 07:43:16 -0700 Subject: [PATCH] Avoid -Wdeprecated-copy warning, see #22291 --- include/wx/power.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/power.h b/include/wx/power.h index ccddf1bba5..eba94b9dbd 100644 --- a/include/wx/power.h +++ b/include/wx/power.h @@ -69,7 +69,7 @@ public: private: bool m_veto; - wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxPowerEvent); + wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN_DEF_COPY(wxPowerEvent); }; wxDECLARE_EXPORTED_EVENT( WXDLLIMPEXP_BASE, wxEVT_POWER_SUSPENDING, wxPowerEvent );