Patch to fix selecting an item in a TListView on Carbon when OwnerDraw is true.
Original Reporter info from Mantis: Joost
-
Reporter name: Joost van der Sluis
Original Reporter info from Mantis: Joost
- Reporter name: Joost van der Sluis
Description:
It is impossible to select an item in a TListView when OwnerDraw is true on Carbon. This is because the event is cancelled when there are no 'regular' items. And because the event is cancelled when there's never been any item added.
With Ownerdraw set to true both are always the case.
Steps to reproduce:
Just open the IDE on Carbon, go to run->attach to program. Try to select one of the programs. You can't. Here the IDE itself uses a TListView with OnwerDraw=true.
Mantis conversion info:
- Mantis ID: 25274
- OS: Darwin
- OS Build: 10.7.5
- Platform: Apple
- Version: 1.3 (SVN)
- Fixed in revision: 43384 (#cd298498)