Incorrect drawing of buttons when not using themes
Original Reporter info from Mantis: PaulvH
-
Reporter name: Paul van Helden
Original Reporter info from Mantis: PaulvH
- Reporter name: Paul van Helden
Description:
The function FillWithDottedBrush (line 1985 of Themes.pas) actually fills with black. This causes the background of a TSpeedButton to be black when it is in a down (toggled) state.
Normally the Windows theme functions are used to draw the background but when disabled or on WinCE, this makes for very ugly toggle speedbuttons.
I can't see why a solid black block is being produced so I've just commented the function out for now.
Mantis conversion info:
- Mantis ID: 15068
- Version: 0.9.28
- Fixed in version: 0.9.29 (SVN)
- Fixed in revision: 22689 (#606e852b)
- Target version: 1.0.0
- LazTarget: 1.0