What steps will reproduce the problem?
1. Use the Vcl.Styles.Utils.Menus unit
2. Use a theme with a dark background and white text
3. Show the system menu for any form
What is the expected output? What do you see instead?
The icons should be "white" but they are "black".
This can also be seen on the examples in the blog here:
http://theroadtodelphi.wordpress.com/2014/08/22/a-new-way-to-select-and-apply-a-
vcl-style-in-runtime/
What version of the product are you using? On what operating system?
Using the latest SVN content on Windows 7
Attached is a patch that modifies TSysPopupStyleHook.DrawItem.DrawSpecialChar
to use the same "color finding" code that was used later on to find the color
to use for the text itself.
Original issue reported on code.google.com by obo...@gmail.com on 23 Oct 2014 at 7:28
Original issue reported on code.google.com by
obo...@gmail.com
on 23 Oct 2014 at 7:28Attachments: