X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d0960f6d3be27a47c2f4ba14542af6902c7e9ac7..f239a20092359e3c914adb79bd39f3f5d2b2e06f:/src/common/powercmn.cpp diff --git a/src/common/powercmn.cpp b/src/common/powercmn.cpp index 578dbb2309..c71b9171bd 100644 --- a/src/common/powercmn.cpp +++ b/src/common/powercmn.cpp @@ -34,10 +34,10 @@ // ============================================================================ #ifdef wxHAS_POWER_EVENTS - DEFINE_EVENT_TYPE(wxEVT_POWER_SUSPENDING) - DEFINE_EVENT_TYPE(wxEVT_POWER_SUSPENDED) - DEFINE_EVENT_TYPE(wxEVT_POWER_SUSPEND_CANCEL) - DEFINE_EVENT_TYPE(wxEVT_POWER_RESUME) + wxDEFINE_EVENT( wxEVT_POWER_SUSPENDING, wxPowerEvent ); + wxDEFINE_EVENT( wxEVT_POWER_SUSPENDED, wxPowerEvent ); + wxDEFINE_EVENT( wxEVT_POWER_SUSPEND_CANCEL, wxPowerEvent ); + wxDEFINE_EVENT( wxEVT_POWER_RESUME, wxPowerEvent ); IMPLEMENT_DYNAMIC_CLASS(wxPowerEvent, wxEvent) #endif