X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3032b7b5c2d19764e4e7f3b50a5f727cbbaccc45..f5766910b6731eb03e82371416e9778203396ce7:/src/msw/power.cpp diff --git a/src/msw/power.cpp b/src/msw/power.cpp index 022e624dad..83819c38fb 100644 --- a/src/msw/power.cpp +++ b/src/msw/power.cpp @@ -28,6 +28,15 @@ #endif //WX_PRECOMP #include "wx/power.h" +#include "wx/msw/private.h" + +#ifdef __WXWINCE__ + typedef SYSTEM_POWER_STATUS_EX SYSTEM_POWER_STATUS; + BOOL GetSystemPowerStatus(SYSTEM_POWER_STATUS *status) + { + return GetSystemPowerStatusEx(status, TRUE); + } +#endif // ---------------------------------------------------------------------------- // helper functions @@ -93,5 +102,3 @@ wxBatteryState wxGetBatteryState() return wxBATTERY_UNKNOWN_STATE; } - -