mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 19:49:18 +02:00
LCL-Win32: Take care of standard style painting when reducing flicker in TListbox. Issue #28146, patch from wp.
git-svn-id: trunk@49561 -
This commit is contained in:
parent
d5a1ca25e1
commit
c6a1a07dac
@ -613,7 +613,8 @@ begin
|
||||
Exit(DeliverMessage(WindowInfo^.WinControl, LMessage));
|
||||
end;
|
||||
WM_ERASEBKGND:
|
||||
if WindowsVersion <= wvXP then // Standardbehavior for XP
|
||||
if (WindowsVersion <= wvXP) or not ThemeServices.ThemesEnabled then
|
||||
// Standardbehavior for XP, or no themes
|
||||
Result := CallDefaultWindowProc(Window, Msg, WParam, LParam)
|
||||
else
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user