]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/powercmn.cpp
Update version to 2.9.4 in version.bkl too and rebake everything.
[wxWidgets.git] / src / common / powercmn.cpp
index 578dbb23096af365eade50585ee2d7061e97379d..c71b9171bd6309202c74b204f5833a60601af174 100644 (file)
 // ============================================================================
 
 #ifdef wxHAS_POWER_EVENTS
 // ============================================================================
 
 #ifdef wxHAS_POWER_EVENTS
-    DEFINE_EVENT_TYPE(wxEVT_POWER_SUSPENDING)
-    DEFINE_EVENT_TYPE(wxEVT_POWER_SUSPENDED)
-    DEFINE_EVENT_TYPE(wxEVT_POWER_SUSPEND_CANCEL)
-    DEFINE_EVENT_TYPE(wxEVT_POWER_RESUME)
+    wxDEFINE_EVENT( wxEVT_POWER_SUSPENDING, wxPowerEvent );
+    wxDEFINE_EVENT( wxEVT_POWER_SUSPENDED, wxPowerEvent );
+    wxDEFINE_EVENT( wxEVT_POWER_SUSPEND_CANCEL, wxPowerEvent );
+    wxDEFINE_EVENT( wxEVT_POWER_RESUME, wxPowerEvent );
 
     IMPLEMENT_DYNAMIC_CLASS(wxPowerEvent, wxEvent)
 #endif
 
     IMPLEMENT_DYNAMIC_CLASS(wxPowerEvent, wxEvent)
 #endif