Add FHasPaint to TCarbonWidget to allow for owner draw
Original Reporter info from Mantis: djenkins @dfjenkins
-
Reporter name: David Jenkins
Original Reporter info from Mantis: djenkins @dfjenkins
- Reporter name: David Jenkins
Description:
We need carbon to respond to owner draw for TBitBtn.
Suggested change is to add FHasPaint to TCarbonWidget and then modify CarbonCommon_Draw to check the FHasPaint property before calling CallNextEventHandler() so that owner draws replace widget draw instead of being below or on top of widget draw.
Patches against rev 36681 attached.
Mantis conversion info:
- Mantis ID: 21744
- Version: 0.9.30.5 (SVN)
- Fixed in revision: 36956 (#81bcc719)
- Monitored by: » @dfjenkins (David Jenkins)