mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-10-24 01:01:38 +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
|
and not TCustomGroupBox(Info^.WinControl).Enabled then
|
||||||
begin
|
begin
|
||||||
GroupBox := TCustomGroupBox(Info^.WinControl);
|
GroupBox := TCustomGroupBox(Info^.WinControl);
|
||||||
DC := GetDC(Window);
|
DC := Windows.GetDC(Window);
|
||||||
SetBkColor(DC, GetSysColor(COLOR_BTNFACE));
|
SetBkColor(DC, GetSysColor(COLOR_BTNFACE));
|
||||||
SetTextColor(DC, GetSysColor(COLOR_GRAYTEXT));
|
SetTextColor(DC, GetSysColor(COLOR_GRAYTEXT));
|
||||||
SelectObject(DC, GroupBox.Font.Reference.Handle);
|
SelectObject(DC, GroupBox.Font.Reference.Handle);
|
||||||
|
Loading…
Reference in New Issue
Block a user