mirror of
https://github.com/rizonesoft/Notepad3.git
synced 2026-06-17 21:03:19 +08:00
Merge pull request #2841 from RaiKoHoff/Dev_NewFeatures
Bring back themed ReBar (Toolbar parent) for Win7
This commit is contained in:
commit
c3cd15bde1
@ -2672,7 +2672,7 @@ void CreateBars(HWND hwnd, HINSTANCE hInstance)
|
||||
0,0,0,0,hwnd,(HMENU)IDC_REBAR,hInstance,NULL);
|
||||
|
||||
// Theme = false (!) ~ you cannot change a toolbar's color when a visual style is active
|
||||
InitWindowCommon(Globals.hwndRebar, false);
|
||||
InitWindowCommon(Globals.hwndRebar, !(IsWindows10OrGreater() && IsDarkModeSupported()));
|
||||
|
||||
#ifdef D_NP3_WIN10_DARK_MODE
|
||||
if (IsDarkModeSupported()) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user