X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d0e2ede057148772415ee526344f1a1597db3ae7..9057d6d46ea0acc7223311b81c7b50707d787f66:/wxPython/src/_power.i?ds=sidebyside diff --git a/wxPython/src/_power.i b/wxPython/src/_power.i index 318891a495..cb8deace69 100644 --- a/wxPython/src/_power.i +++ b/wxPython/src/_power.i @@ -15,26 +15,13 @@ //--------------------------------------------------------------------------- %newgroup -%{ -#include -%} - - %{ #ifndef wxHAS_POWER_EVENTS // Dummy class and other definitions for platforms that don't have them -class wxPowerEvent : public wxEvent -{ -public: - wxPowerEvent(wxEventType evtType) : wxEvent(wxID_NONE, evtType) {} - void Veto() {} - bool IsVetoed() const { return false; } - - virtual wxEvent *Clone() const { return new wxPowerEvent(*this); } -}; - +// See wxPython_int.h for wxPowerEvent + enum { wxEVT_POWER_SUSPENDING, wxEVT_POWER_SUSPENDED,