mirror of
https://github.com/rizonesoft/Notepad3.git
synced 2026-06-11 21:03:05 +08:00
+ fix: bring back themed ReBar (Toolbar parent) for Win7
This commit is contained in:
parent
a078b7b6d0
commit
fb682f27d7
@ -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());
|
||||
|
||||
#ifdef D_NP3_WIN10_DARK_MODE
|
||||
if (IsDarkModeSupported()) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user