]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/power.h
fix the bug which prevented the same wxFile/DirDialog object from being used twice...
[wxWidgets.git] / include / wx / power.h
index e70fb6c215103cf0345b457aa6691998ed761b31..b9ae9efc958ed547571622d7a50dc48efb5d4b22 100644 (file)
@@ -69,10 +69,10 @@ private:
 };
 
 BEGIN_DECLARE_EVENT_TYPES()
-    DECLARE_EVENT_TYPE(wxEVT_POWER_SUSPENDING, 406)
-    DECLARE_EVENT_TYPE(wxEVT_POWER_SUSPENDED, 407)
-    DECLARE_EVENT_TYPE(wxEVT_POWER_SUSPEND_CANCEL, 408)
-    DECLARE_EVENT_TYPE(wxEVT_POWER_RESUME, 444)
+    DECLARE_EXPORTED_EVENT_TYPE(WXDLLIMPEXP_BASE, wxEVT_POWER_SUSPENDING, 406)
+    DECLARE_EXPORTED_EVENT_TYPE(WXDLLIMPEXP_BASE, wxEVT_POWER_SUSPENDED, 407)
+    DECLARE_EXPORTED_EVENT_TYPE(WXDLLIMPEXP_BASE, wxEVT_POWER_SUSPEND_CANCEL, 408)
+    DECLARE_EXPORTED_EVENT_TYPE(WXDLLIMPEXP_BASE, wxEVT_POWER_RESUME, 444)
 END_DECLARE_EVENT_TYPES()
 
 typedef void (wxEvtHandler::*wxPowerEventFunction)(wxPowerEvent&);