mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-29 19:52:26 +02:00
win32: fix 2 typos
git-svn-id: trunk@28152 -
This commit is contained in:
parent
f09ed2fb3c
commit
1e7ca80be4
@ -517,7 +517,7 @@ begin
|
||||
WM_CTLCOLORSTATIC:
|
||||
begin
|
||||
Info := GetWin32WindowInfo(HWND(LParam));
|
||||
Result := Assigned(Info) and ThemeServices.ThemesAvailable and (Info^.WinControl.Color = AWinControl.Color);
|
||||
Result := Assigned(Info) and ThemeServices.ThemesEnabled and (Info^.WinControl.Color = AWinControl.Color);
|
||||
if Result then
|
||||
begin
|
||||
ThemeServices.DrawParentBackground(HWND(LParam), HDC(WParam), nil, False);
|
||||
@ -1395,7 +1395,7 @@ begin
|
||||
WM_CTLCOLORSTATIC:
|
||||
begin
|
||||
Info := GetWin32WindowInfo(HWND(LParam));
|
||||
Result := Assigned(Info) and ThemeServices.ThemesAvailable and TCustomStaticText(Info^.WinControl).Transparent;
|
||||
Result := Assigned(Info) and ThemeServices.ThemesEnabled and TCustomStaticText(Info^.WinControl).Transparent;
|
||||
if Result then
|
||||
begin
|
||||
ThemeServices.DrawParentBackground(HWND(LParam), HDC(WParam), nil, False);
|
||||
|
Loading…
Reference in New Issue
Block a user