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

This commit is contained in:
David Jenkins 2024-06-05 15:30:07 -05:00 committed by Maxim Ganetsky
parent 82cc65e98b
commit 9da0d75b79

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);