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 );