+ fix: bring back themed ReBar (Toolbar parent) for Win7

This commit is contained in:
RaiKoHoff 2020-09-17 13:54:38 +02:00
parent a078b7b6d0
commit fb682f27d7

View File

@ -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()) {