win32: apply font color when painting a bitbtn (bug #0010601)

git-svn-id: trunk@18391 -
This commit is contained in:
paul 2009-01-22 14:40:36 +00:00
parent 6b36e8d35a
commit 2721a7be42

View File

@ -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