X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7fa03f04345b620d1a14529b05961116b20a1297..32c19f25fce3a38f9e4cf1497761fd7364d7bc62:/include/wx/taskbar.h diff --git a/include/wx/taskbar.h b/include/wx/taskbar.h index 202aae6f78..2a03b0f0c1 100644 --- a/include/wx/taskbar.h +++ b/include/wx/taskbar.h @@ -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))