]> git.saurik.com Git - wxWidgets.git/commitdiff
Give wxPowerEvent wxRTTI
authorRobin Dunn <robin@alldunn.com>
Wed, 19 Sep 2007 23:14:16 +0000 (23:14 +0000)
committerRobin Dunn <robin@alldunn.com>
Wed, 19 Sep 2007 23:14:16 +0000 (23:14 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/power.h
src/common/powercmn.cpp

index 1b80a8c71cf954851e94233c3afc6ace0ce6ba14..ccd64e82477536feeab893f999a92b83a7c5a127 100644 (file)
@@ -66,6 +66,8 @@ public:
 
 private:
     bool m_veto;
 
 private:
     bool m_veto;
+
+    DECLARE_ABSTRACT_CLASS(wxPowerEvent)
 };
 
 BEGIN_DECLARE_EVENT_TYPES()
 };
 
 BEGIN_DECLARE_EVENT_TYPES()
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)
     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
 #endif
 
 // provide stubs for the systems not implementing these functions