]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/power.h
extract setters from wxHeaderColumnBase into a separate wxSettableHeaderColumn class...
[wxWidgets.git] / include / wx / power.h
index 1b80a8c71cf954851e94233c3afc6ace0ce6ba14..f1a23b9fe27cae0e1b9e887411a6207a325e5056 100644 (file)
@@ -66,14 +66,14 @@ public:
 
 private:
     bool m_veto;
+
+    DECLARE_ABSTRACT_CLASS(wxPowerEvent)
 };
 
-BEGIN_DECLARE_EVENT_TYPES()
-    DECLARE_EXPORTED_EVENT_TYPE(WXDLLIMPEXP_BASE, wxEVT_POWER_SUSPENDING, 406)
-    DECLARE_EXPORTED_EVENT_TYPE(WXDLLIMPEXP_BASE, wxEVT_POWER_SUSPENDED, 407)
-    DECLARE_EXPORTED_EVENT_TYPE(WXDLLIMPEXP_BASE, wxEVT_POWER_SUSPEND_CANCEL, 408)
-    DECLARE_EXPORTED_EVENT_TYPE(WXDLLIMPEXP_BASE, wxEVT_POWER_RESUME, 444)
-END_DECLARE_EVENT_TYPES()
+extern WXDLLIMPEXP_BASE const wxEventType wxEVT_POWER_SUSPENDING;
+extern WXDLLIMPEXP_BASE const wxEventType wxEVT_POWER_SUSPENDED;
+extern WXDLLIMPEXP_BASE const wxEventType wxEVT_POWER_SUSPEND_CANCEL;
+extern WXDLLIMPEXP_BASE const wxEventType wxEVT_POWER_RESUME;
 
 typedef void (wxEvtHandler::*wxPowerEventFunction)(wxPowerEvent&);