#endif
#include <commctrl.h>
+#include <pbt.h>
#include "wx/msw/missing.h"
case PBT_APMBATTERYLOW:
case PBT_APMPOWERSTATUSCHANGE:
case PBT_APMOEMEVENT:
+#ifdef PBT_APMRESUMEAUTOMATIC
case PBT_APMRESUMEAUTOMATIC:
+#endif
case PBT_APMRESUMECRITICAL:
evtType = wxEVT_NULL;
break;