Compile fixes: gcc seems to need pbt.h including, and PBT_APMRESUMEAUTOMATIC
isn't in the headers for most compilers (the other PBT_* macros are there). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
2f0add5ae0
commit
5de959df83
@ -105,6 +105,7 @@
|
||||
#endif
|
||||
|
||||
#include <commctrl.h>
|
||||
#include <pbt.h>
|
||||
|
||||
#include "wx/msw/missing.h"
|
||||
|
||||
@ -3829,7 +3830,9 @@ bool wxWindowMSW::HandlePower(WXWPARAM wParam,
|
||||
case PBT_APMBATTERYLOW:
|
||||
case PBT_APMPOWERSTATUSCHANGE:
|
||||
case PBT_APMOEMEVENT:
|
||||
#ifdef PBT_APMRESUMEAUTOMATIC
|
||||
case PBT_APMRESUMEAUTOMATIC:
|
||||
#endif
|
||||
case PBT_APMRESUMECRITICAL:
|
||||
evtType = wxEVT_NULL;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user