]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/powercmn.cpp
don't list SetSelection() as being deprecated, it isn't
[wxWidgets.git] / src / common / powercmn.cpp
index fa7eb03b206a1dcc85aaf00e0272fb3262a2f2d9..c15ebebc93fe66c7c884a4748691c824ce0b641f 100644 (file)
 // ============================================================================
 
 #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_ABSTRACT_CLASS(wxPowerEvent, wxEvent)
+    IMPLEMENT_DYNAMIC_CLASS(wxPowerEvent, wxEvent)
 #endif
 
 // provide stubs for the systems not implementing these functions