X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3c7789014106c9269b0f4ecc1a3071b14f351d3f..4164a04a98be1066038317c2d16438cce3f59c81:/src/common/powercmn.cpp diff --git a/src/common/powercmn.cpp b/src/common/powercmn.cpp index c15ebebc93..bb5acce9e4 100644 --- a/src/common/powercmn.cpp +++ b/src/common/powercmn.cpp @@ -34,16 +34,16 @@ // ============================================================================ #ifdef wxHAS_POWER_EVENTS - 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 ) + 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 // provide stubs for the systems not implementing these functions -#if !defined(__WXPALMOS__) && !defined(__WXMSW__) +#if !defined(__WINDOWS__) wxPowerType wxGetPowerType() {