From 4028b64fcc8e4d4647f1d195b74c81fda93294da Mon Sep 17 00:00:00 2001 From: okrc Date: Fri, 7 Oct 2022 17:51:27 +0800 Subject: [PATCH] Changed the message notification for system color change. --- SandboxiePlus/SandMan/SandMan.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SandboxiePlus/SandMan/SandMan.cpp b/SandboxiePlus/SandMan/SandMan.cpp index c4d5b01c..b1c3df49 100644 --- a/SandboxiePlus/SandMan/SandMan.cpp +++ b/SandboxiePlus/SandMan/SandMan.cpp @@ -78,7 +78,7 @@ public: { }*/ } - else if (msg->message == WM_DWMCOLORIZATIONCOLORCHANGED) + else if (msg->message == WM_SETTINGCHANGE) { if (theGUI && theConf->GetInt("Options/UseDarkTheme", 2) == 2) theGUI->UpdateTheme();