added wxPowerEvent; moved power functions stubs to common/powercmn.cpp

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-05-27 14:09:40 +00:00
parent 9fa1b6aad4
commit 355debca06
37 changed files with 2660 additions and 277 deletions

View File

@@ -35,6 +35,7 @@
#include "wx/apptrait.h"
#include "wx/dynload.h"
#include "wx/confbase.h"
#include "wx/power.h"
#include <MemoryMgr.h>
#include <DLServer.h>
@@ -147,6 +148,10 @@ bool wxShutdown(wxShutdownFlags wFlags)
return false;
}
// ----------------------------------------------------------------------------
// power management
// ----------------------------------------------------------------------------
wxPowerType wxGetPowerType()
{
return wxPOWER_BATTERY;