X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9b11752c4f9e1fd4b11ba3d184246267facb3ad3..438959cca892a7651634cc3a7aad4819ac49b23c:/include/wx/power.h diff --git a/include/wx/power.h b/include/wx/power.h index bae6406482..e55cd60bcc 100644 --- a/include/wx/power.h +++ b/include/wx/power.h @@ -42,7 +42,7 @@ enum wxBatteryState // compiling in the code for handling them which is never going to be invoked // under the other platforms, we define wxHAS_POWER_EVENTS symbol if this event // is available, it should be used to guard all code using wxPowerEvent -#ifdef __WXMSW__ +#ifdef __WINDOWS__ #define wxHAS_POWER_EVENTS