mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-10-21 08:01:40 +02:00
LCL: TGroupBox: Win32: Fix for doubled caption. Issue #31670
git-svn-id: trunk@54623 -
This commit is contained in:
parent
95312d4835
commit
e0e21cd0d0
@ -541,7 +541,7 @@ begin
|
||||
and not TCustomGroupBox(Info^.WinControl).Enabled then
|
||||
begin
|
||||
GroupBox := TCustomGroupBox(Info^.WinControl);
|
||||
DC := GetDC(Window);
|
||||
DC := Windows.GetDC(Window);
|
||||
SetBkColor(DC, GetSysColor(COLOR_BTNFACE));
|
||||
SetTextColor(DC, GetSysColor(COLOR_GRAYTEXT));
|
||||
SelectObject(DC, GroupBox.Font.Reference.Handle);
|
||||
|
Loading…
Reference in New Issue
Block a user