]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/msw/_misc_wrap.cpp
Missing header
[wxWidgets.git] / wxPython / src / msw / _misc_wrap.cpp
index 66c58403c83c9116fca5d420c12a2eb960adf5fd..8127c1e1113eb004ca86f7957f7db8ab496eae4b 100644 (file)
@@ -4059,22 +4059,11 @@ SWIGINTERN wxStandardPaths *wxStandardPaths_Get(){
 SWIGINTERN void wxStandardPaths_SetInstallPrefix(wxStandardPaths *self,wxString const &prefix){}
 SWIGINTERN wxString wxStandardPaths_GetInstallPrefix(wxStandardPaths *self){ return wxEmptyString; }
 
-#include <wx/power.h>
-
-
 #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,