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

commit 17f34887f3e193f957e690e983a2a2e5c173f0b8
Author:     Katayama Hirofumi MZ <[email protected]>
AuthorDate: Sun Jan 9 23:24:30 2022 +0900
Commit:     GitHub <[email protected]>
CommitDate: Sun Jan 9 23:24:30 2022 +0900

    [MSPAINT] Add ICC_BAR_CLASSES (#4261)
    
    The Fonts toolbar uses toolbar and tooltips. Thus this flag is needed. 
CORE-17949
---
 base/applications/mspaint/main.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/base/applications/mspaint/main.cpp 
b/base/applications/mspaint/main.cpp
index ab410537a69..4d285c2874d 100644
--- a/base/applications/mspaint/main.cpp
+++ b/base/applications/mspaint/main.cpp
@@ -173,7 +173,7 @@ _tWinMain (HINSTANCE hThisInstance, HINSTANCE 
hPrevInstance, LPTSTR lpszArgument
     /* initialize common controls library */
     INITCOMMONCONTROLSEX iccx;
     iccx.dwSize = sizeof(iccx);
-    iccx.dwICC = ICC_STANDARD_CLASSES | ICC_USEREX_CLASSES;
+    iccx.dwICC = ICC_STANDARD_CLASSES | ICC_USEREX_CLASSES | ICC_BAR_CLASSES;
     InitCommonControlsEx(&iccx);
 
     LoadString(hThisInstance, IDS_DEFAULTFILENAME, filepathname, 
_countof(filepathname));

Reply via email to