https://git.reactos.org/?p=reactos.git;a=commitdiff;h=17f34887f3e193f957e690...
commit 17f34887f3e193f957e690e983a2a2e5c173f0b8 Author: Katayama Hirofumi MZ katayama.hirofumi.mz@gmail.com AuthorDate: Sun Jan 9 23:24:30 2022 +0900 Commit: GitHub noreply@github.com 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));