mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-06 07:58:07 +02:00
LCL: Win32: Groupbox disabled painted when parent is disabled.
git-svn-id: branches/fixes_1_8@58495 -
This commit is contained in:
parent
fe48156563
commit
edff405905
@ -538,7 +538,7 @@ begin
|
||||
begin
|
||||
Info := GetWin32WindowInfo(Window);
|
||||
if Assigned(Info) and (Info^.WinControl is TCustomGroupBox)
|
||||
and not TCustomGroupBox(Info^.WinControl).Enabled then
|
||||
and not Info^.WinControl.IsEnabled then
|
||||
begin
|
||||
GroupBox := TCustomGroupBox(Info^.WinControl);
|
||||
DC := Windows.GetDC(Window);
|
||||
|
Loading…
Reference in New Issue
Block a user