]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/taskbar.h
wxLaunchDefaultBrowser
[wxWidgets.git] / include / wx / taskbar.h
index 202aae6f78830fc1326596e230ea11ab06fdc042..2a03b0f0c11b1d88c633e9d6c4b1c8c712d45368 100644 (file)
@@ -85,7 +85,7 @@ BEGIN_DECLARE_EVENT_TYPES()
 END_DECLARE_EVENT_TYPES()
 
 #define wxTaskBarIconEventHandler(func) \
-    (wxObjectEventFunction)wxStaticCastEvent(wxTaskBarIconEventFunction, &func)
+    (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxTaskBarIconEventFunction, &func)
 
 #define wx__DECLARE_TASKBAREVT(evt, fn) \
     wx__DECLARE_EVT0(wxEVT_TASKBAR_ ## evt, wxTaskBarIconEventHandler(fn))