LCL: Add CM_THEMEDCHANGED to TWinControl.WndProc to catch widget system light/dark change

See merge request freepascal.org/lazarus/lazarus!293
This commit is contained in:
rich2014 2024-06-09 07:28:57 +00:00
commit da0c4ec917

View File

@ -5467,6 +5467,8 @@ begin
Assigned(HostDockSite.DockManager) then
HostDockSite.DockManager.MessageHandler(Self, Message);
end;
CM_THEMECHANGED:
Broadcast(Message);
end;
inherited WndProc(Message);