diff --git a/build/bakefiles/version.bkl b/build/bakefiles/version.bkl index c9abd34a18..41fa8bcb78 100644 --- a/build/bakefiles/version.bkl +++ b/build/bakefiles/version.bkl @@ -23,9 +23,9 @@ 3. Else, i.e. if there were no changes at all to API but only internal changes, change C:R:A to C:R+1:A --> - 2 - 1 - 2 + 3 + 0 + 3 diff --git a/include/wx/power.h b/include/wx/power.h index 1b80a8c71c..0fe35e5263 100644 --- a/include/wx/power.h +++ b/include/wx/power.h @@ -66,6 +66,10 @@ public: private: bool m_veto; + +#if wxABI_VERSION >= 20806 + DECLARE_ABSTRACT_CLASS(wxPowerEvent) +#endif }; BEGIN_DECLARE_EVENT_TYPES() diff --git a/src/common/powercmn.cpp b/src/common/powercmn.cpp index 7e5cbcc65b..98f3fd3f58 100644 --- a/src/common/powercmn.cpp +++ b/src/common/powercmn.cpp @@ -38,8 +38,10 @@ DEFINE_EVENT_TYPE(wxEVT_POWER_SUSPENDED) DEFINE_EVENT_TYPE(wxEVT_POWER_SUSPEND_CANCEL) DEFINE_EVENT_TYPE(wxEVT_POWER_RESUME) -#endif + IMPLEMENT_ABSTRACT_CLASS(wxPowerEvent, wxEvent) +#endif + // provide stubs for the systems not implementing these functions #if !defined(__WXPALMOS__) && !defined(__WXMSW__)