Fix button text in dark mode regression from Wine crash fix
ref: https://community.notepad-plus-plus.org/topic/23432/notepad-v8-4-5-release-candidate/4?_=1662157237187 Close #12083
This commit is contained in:
parent
1aa93bd85a
commit
39ab226c8c
|
@ -1796,11 +1796,8 @@ namespace NppDarkMode
|
|||
GetClassName(hwnd, className, classNameLen);
|
||||
|
||||
if (wcscmp(className, WC_BUTTON) == 0)
|
||||
{
|
||||
if (g_isAtLeastWindows10)
|
||||
{
|
||||
NppDarkMode::subclassAndThemeButton(hwnd, p);
|
||||
}
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue