]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/power.h
Added event handler macro
[wxWidgets.git] / include / wx / power.h
index b9ae9efc958ed547571622d7a50dc48efb5d4b22..ccd64e82477536feeab893f999a92b83a7c5a127 100644 (file)
@@ -1,5 +1,5 @@
 ///////////////////////////////////////////////////////////////////////////////
-// Name:        wx/include/wx/power.h
+// Name:        wx/power.h
 // Purpose:     functions and classes for system power management
 // Author:      Vadim Zeitlin
 // Modified by:
@@ -66,6 +66,8 @@ public:
 
 private:
     bool m_veto;
+
+    DECLARE_ABSTRACT_CLASS(wxPowerEvent)
 };
 
 BEGIN_DECLARE_EVENT_TYPES()
@@ -105,4 +107,3 @@ WXDLLIMPEXP_BASE wxPowerType wxGetPowerType();
 WXDLLIMPEXP_BASE wxBatteryState wxGetBatteryState();
 
 #endif // _WX_POWER_H_
-