mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 19:39:17 +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
|
begin
|
||||||
GroupBox := TCustomGroupBox(Info^.WinControl);
|
GroupBox := TCustomGroupBox(Info^.WinControl);
|
||||||
DC := Windows.GetDC(Window);
|
DC := Windows.GetDC(Window);
|
||||||
SetBkColor(DC, GetSysColor(COLOR_BTNFACE));
|
SetBkMode(DC, TRANSPARENT);
|
||||||
SetTextColor(DC, GetSysColor(COLOR_GRAYTEXT));
|
SetTextColor(DC, GetSysColor(COLOR_GRAYTEXT));
|
||||||
SelectObject(DC, GroupBox.Font.Reference.Handle);
|
SelectObject(DC, GroupBox.Font.Reference.Handle);
|
||||||
Flags := 0;
|
Flags := 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user