]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/power.h
Handle underlined and strikethrough attributes in wxGTK native font info.
[wxWidgets.git] / interface / wx / power.h
index da34f5c41616b9a1f5c6f5a4e18e42d4895fee38..ce9b2a9bc8c9dd627a9eb890afd49f971ab01840 100644 (file)
@@ -61,10 +61,24 @@ enum wxBatteryState
 class wxPowerEvent : public wxEvent
 {
 public:
+    wxPowerEvent();
+    wxPowerEvent(wxEventType evtType);
+    
     /**
         Call this to prevent suspend from taking place in @c wxEVT_POWER_SUSPENDING
         handler (it is ignored for all the others).
     */
     void Veto();
+
+    /**
+       Returns whether Veto has been called.
+    */
+    bool IsVetoed() const;
 };
 
+wxEventType wxEVT_POWER_SUSPENDING;
+wxEventType wxEVT_POWER_SUSPENDED;
+wxEventType wxEVT_POWER_SUSPEND_CANCEL;
+wxEventType wxEVT_POWER_RESUME;
+
+