#endif
#include <commctrl.h>
-#include <pbt.h>
+
+#ifndef __WXWINCE__
+ #include <pbt.h>
+#endif
#include "wx/msw/missing.h"
}
break;
+#ifndef __WXWINCE__
case WM_POWERBROADCAST:
{
bool vetoed;
rc.result = processed && vetoed ? BROADCAST_QUERY_DENY : TRUE;
}
break;
+#endif // __WXWINCE__
}
if ( !processed )
return false;
}
-bool wxWindowMSW::HandlePower(WXWPARAM wParam,
+bool wxWindowMSW::HandlePower(WXWPARAM WXUNUSED_IN_WINCE(wParam),
WXLPARAM WXUNUSED(lParam),
- bool *vetoed)
+ bool *WXUNUSED_IN_WINCE(vetoed))
{
+#ifdef __WXWINCE__
+ // FIXME
+ return false;
+#else
wxEventType evtType;
switch ( wParam )
{
*vetoed = event.IsVetoed();
return true;
+#endif
}
// ---------------------------------------------------------------------------