]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/powercmn.cpp
minimize searching for tlw parent, remove useless code
[wxWidgets.git] / src / common / powercmn.cpp
index 7e5cbcc65b884898d06889c3006e4d5bd1938c5c..fa7eb03b206a1dcc85aaf00e0272fb3262a2f2d9 100644 (file)
@@ -38,6 +38,8 @@
     DEFINE_EVENT_TYPE(wxEVT_POWER_SUSPENDED)
     DEFINE_EVENT_TYPE(wxEVT_POWER_SUSPEND_CANCEL)
     DEFINE_EVENT_TYPE(wxEVT_POWER_RESUME)
+
+    IMPLEMENT_ABSTRACT_CLASS(wxPowerEvent, wxEvent)
 #endif
 
 // provide stubs for the systems not implementing these functions