]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/powercmn.cpp
remove wxSOCKET_MAX_EVENT, it is not really necessary and results in gcc warnings...
[wxWidgets.git] / src / common / powercmn.cpp
index 7e5cbcc65b884898d06889c3006e4d5bd1938c5c..578dbb23096af365eade50585ee2d7061e97379d 100644 (file)
@@ -38,6 +38,8 @@
     DEFINE_EVENT_TYPE(wxEVT_POWER_SUSPENDED)
     DEFINE_EVENT_TYPE(wxEVT_POWER_SUSPEND_CANCEL)
     DEFINE_EVENT_TYPE(wxEVT_POWER_RESUME)
+
+    IMPLEMENT_DYNAMIC_CLASS(wxPowerEvent, wxEvent)
 #endif
 
 // provide stubs for the systems not implementing these functions