From c23145643c47428677da6a42f3185b94968fddf1 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 27 Sep 2012 19:35:36 +0000 Subject: clutch for TopToolBar not to destroy buttons on Apply in options git-svn-id: http://svn.miranda-ng.org/main/trunk@1691 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Clist_modern/src/modern_toolbar.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'plugins/Clist_modern') 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" -- cgit v1.2.3