From 695277eb06da17fed42782c43dc11f1e55653600 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 23 Jul 2023 21:53:39 +0300 Subject: compilation fix --- src/mir_app/src/clcutils.cpp | 2 ++ src/mir_app/src/clistcore.cpp | 5 +++++ 2 files changed, 7 insertions(+) (limited to 'src') diff --git a/src/mir_app/src/clcutils.cpp b/src/mir_app/src/clcutils.cpp index 34a012ae34..33b86e60e5 100644 --- a/src/mir_app/src/clcutils.cpp +++ b/src/mir_app/src/clcutils.cpp @@ -297,6 +297,8 @@ MIR_APP_DLL(void) Clist_SetGroupExpand(HWND hwnd, ClcData *dat, ClcGroup *group, group->bExpanded = newState != 0; } + g_clistApi.pfnOnGroupExpanded(dat, group); + g_clistApi.pfnInvalidateRect(hwnd, nullptr, FALSE); int contentCount = g_clistApi.pfnGetGroupContentsCount(group, 1); int groupy = g_clistApi.pfnGetRowsPriorTo(&dat->list, group, -1); diff --git a/src/mir_app/src/clistcore.cpp b/src/mir_app/src/clistcore.cpp index 77800b9113..297851d52d 100644 --- a/src/mir_app/src/clistcore.cpp +++ b/src/mir_app/src/clistcore.cpp @@ -56,6 +56,10 @@ static int fnIsVisibleContact(ClcCacheEntry*, ClcGroup*) return false; } +static void fnOnGroupExpanded(ClcData *, ClcGroup *) +{ +} + void InitClistCore() { g_clistApi.menuProtos = &g_menuProtos; @@ -129,6 +133,7 @@ void InitClistCore() g_clistApi.pfnTrayCalcChanged = fnTrayCalcChanged; g_clistApi.pfnSetContactCheckboxes = fnSetContactCheckboxes; + g_clistApi.pfnOnGroupExpanded = fnOnGroupExpanded; } MIR_APP_DLL(CLIST_INTERFACE*) Clist_GetInterface(void) -- cgit v1.2.3