Give wxPowerEvent wxRTTI

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2007-09-19 23:14:16 +00:00
parent 261a9107f0
commit 391e226e8b
2 changed files with 4 additions and 0 deletions

View File

@ -66,6 +66,8 @@ public:
private:
bool m_veto;
DECLARE_ABSTRACT_CLASS(wxPowerEvent)
};
BEGIN_DECLARE_EVENT_TYPES()

View 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