https://git.reactos.org/?p=reactos.git;a=commitdiff;h=bb209e9010ecddfe89150261b937ea8c73c1c823

commit bb209e9010ecddfe89150261b937ea8c73c1c823
Author:     Eric Kohl <[email protected]>
AuthorDate: Sun Dec 20 11:21:10 2020 +0100
Commit:     Eric Kohl <[email protected]>
CommitDate: Sun Dec 20 11:21:10 2020 +0100

    [INTL] Broadcast a WM_SETTINGCHANGED message when settings have been 
changed.
---
 dll/cpl/intl/intl.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dll/cpl/intl/intl.c b/dll/cpl/intl/intl.c
index 1942be8d714..0b775a734d6 100644
--- a/dll/cpl/intl/intl.c
+++ b/dll/cpl/intl/intl.c
@@ -219,6 +219,8 @@ Applet(HWND hwnd, UINT uMsg, LPARAM wParam, LPARAM lParam)
         psh.nStartPage = nPage;
 
     ret = (LONG)(PropertySheet(&psh) != -1);
+    if (ret > 0)
+        SendMessageW(HWND_BROADCAST, WM_SETTINGCHANGE, 0, (LPARAM)L"intl");
 
     HeapFree(GetProcessHeap(), 0, pGlobalData);
 

Reply via email to