Fix new editing dialog not in dark mode
Fix https://community.notepad-plus-plus.org/topic/25478/notepad-v8-6-3-rc-2/3?_=1708095675232
This commit is contained in:
parent
f2d66170fc
commit
250dfe0f8b
|
@ -1323,6 +1323,26 @@ intptr_t CALLBACK Editing2SubDlg::run_dlgProc(UINT message, WPARAM wParam, LPARA
|
|||
}
|
||||
return TRUE;
|
||||
|
||||
case WM_CTLCOLOREDIT:
|
||||
{
|
||||
return NppDarkMode::onCtlColorSofter(reinterpret_cast<HDC>(wParam));
|
||||
}
|
||||
|
||||
case WM_CTLCOLORDLG:
|
||||
case WM_CTLCOLORSTATIC:
|
||||
{
|
||||
return NppDarkMode::onCtlColorDarker(reinterpret_cast<HDC>(wParam));
|
||||
}
|
||||
|
||||
case WM_PRINTCLIENT:
|
||||
{
|
||||
if (NppDarkMode::isEnabled())
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
case WM_COMMAND:
|
||||
{
|
||||
NppParameters& nppParam = NppParameters::getInstance();
|
||||
|
|
Loading…
Reference in New Issue