mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-04 04:00:25 +02:00
win32: apply font color when painting a bitbtn (bug #0010601)
git-svn-id: trunk@18391 -
This commit is contained in:
parent
6b36e8d35a
commit
2721a7be42
@ -212,7 +212,7 @@ var
|
||||
end;
|
||||
end;
|
||||
SetBkMode(hdcNewBitmap, TRANSPARENT);
|
||||
SetTextColor(hdcNewBitmap, 0);
|
||||
SetTextColor(hdcNewBitmap, ColorToRGB(BitBtn.Font.Color));
|
||||
{$IFDEF WindowsUnicodeSupport}
|
||||
if UnicodeEnabledOS then
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user