Ticket #11611 (closed defect: fixed)
wxTaskBarIcon menu item event handling at wxOSX/Carbon
| Reported by: | kosenko | Owned by: | csomor |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | wxOSX-Carbon | Version: | 2.9-svn |
| Keywords: | Cc: | ||
| Blocked By: | Patch: | yes | |
| Blocking: |
Description
Menu item event handler of wxTaskBarIcon at wxOSX/Carbon 2.9.0 is not called in taskbar sample.
It is because SetMenuItemRefCon from Carbon API saves pointer to wxMenuItemCarbonImpl type but GetMenuItemRefCon reads this pointer as wxMenuItem type.
It looks like this was broken in r55419.
This patch fixed this bug only for taskbar, other calls of SetMenuItemRefCon and GetMenuItemRefCon probably should be reviewed and fixed in the same way.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

