TSpeedButton with NumGlyph=2 keeps drawing 1st image
Original Reporter info from Mantis: normann
-
Reporter name: Bent Normann Olsen
Original Reporter info from Mantis: normann
- Reporter name: Bent Normann Olsen
Description:
Assigning a TSpeedButton with a bitmap, and then setting the NumGlyph to two, keeps drawing the first half of a bitmap, while it should have been drawing the second half when speedbutton is disabled.
I've debugged the call from FGlyph.Draw all the way to the TDefaultImageListImplementor.Draw, and the image index is showing the right number (0 for BSUP, 1 for BSDISABLED), but keeps getting the first half of the glyph as bitmap.
I've tested this on Win32, al though an older installation (0.9.25, rev15188), and it is drawing the correct half when enabled and disabled.
Additional information:
This is 0.9.27, svn 16996 on i386-darwin-carbon, as well as svn 16998M on powerpc-darwin-carbon.
Mantis conversion info:
- Mantis ID: 12411
- Version: 0.9.27 (SVN)