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:
ozone10 2022-09-02 14:59:21 +02:00 committed by Don Ho
parent 1aa93bd85a
commit 39ab226c8c
1 changed files with 1 additions and 4 deletions

View File

@ -1796,11 +1796,8 @@ namespace NppDarkMode
GetClassName(hwnd, className, classNameLen); GetClassName(hwnd, className, classNameLen);
if (wcscmp(className, WC_BUTTON) == 0) if (wcscmp(className, WC_BUTTON) == 0)
{
if (g_isAtLeastWindows10)
{ {
NppDarkMode::subclassAndThemeButton(hwnd, p); NppDarkMode::subclassAndThemeButton(hwnd, p);
}
return TRUE; return TRUE;
} }