Casting fix for events. Needs check by ARM eVC4 users.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2005-03-08 20:53:16 +00:00
parent 656dad21d8
commit 8bc3ec1ff5
11 changed files with 52 additions and 61 deletions

View 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))