mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 19:29:34 +02:00
Win32: TGroupBox: Fixed wrong background color for inactive groupbox.
git-svn-id: trunk@55442 -
This commit is contained in:
parent
d5349a31a7
commit
03442ee2a9
@ -542,7 +542,7 @@ begin
|
||||
begin
|
||||
GroupBox := TCustomGroupBox(Info^.WinControl);
|
||||
DC := Windows.GetDC(Window);
|
||||
SetBkColor(DC, GetSysColor(COLOR_BTNFACE));
|
||||
SetBkMode(DC, TRANSPARENT);
|
||||
SetTextColor(DC, GetSysColor(COLOR_GRAYTEXT));
|
||||
SelectObject(DC, GroupBox.Font.Reference.Handle);
|
||||
Flags := 0;
|
||||
|
Loading…
Reference in New Issue
Block a user