mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-06 05:38:25 +02:00
Add CM_THEMEDCHANGED to TWinControl.WndProc to catch widget system light/dark change
This commit is contained in:
parent
82cc65e98b
commit
9da0d75b79
@ -5467,6 +5467,8 @@ begin
|
||||
Assigned(HostDockSite.DockManager) then
|
||||
HostDockSite.DockManager.MessageHandler(Self, Message);
|
||||
end;
|
||||
CM_THEMECHANGED:
|
||||
Broadcast(Message);
|
||||
end;
|
||||
|
||||
inherited WndProc(Message);
|
||||
|
Loading…
Reference in New Issue
Block a user