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:
parent
261a9107f0
commit
391e226e8b
@ -66,6 +66,8 @@ public:
|
||||
|
||||
private:
|
||||
bool m_veto;
|
||||
|
||||
DECLARE_ABSTRACT_CLASS(wxPowerEvent)
|
||||
};
|
||||
|
||||
BEGIN_DECLARE_EVENT_TYPES()
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user