summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Clist_modern/src')
-rw-r--r--plugins/Clist_modern/src/modern_toolbar.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/plugins/Clist_modern/src/modern_toolbar.cpp b/plugins/Clist_modern/src/modern_toolbar.cpp
index ce407edc96..0390e39949 100644
--- a/plugins/Clist_modern/src/modern_toolbar.cpp
+++ b/plugins/Clist_modern/src/modern_toolbar.cpp
@@ -100,11 +100,6 @@ struct ModernToolbarCtrl : public TTBCtrl
XPTHANDLE mtbXPTheme;
};
-struct MTB_BUTTONINFO
-{
- HWND hWindow;
-};
-
struct
{
HBITMAP mtb_hBmpBackground;
@@ -304,6 +299,7 @@ void CustomizeToolbar(HWND hwnd)
CallService(MS_SKINENG_REGISTERPAINTSUB,(WPARAM)hwnd,(LPARAM)ToolBar_LayeredPaintProc);
pMTBInfo->mtbXPTheme = xpt_AddThemeHandle(hwnd, L"TOOLBAR");
+ pMTBInfo->bHardUpdate = TRUE;
}
#define TTB_OPTDIR "TopToolBar"