diff options
author | George Hazan <ghazan@miranda.im> | 2018-04-06 21:10:31 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-04-06 21:10:31 +0300 |
commit | aba87b6bcc2158bc7a070ce4027aee687d554d77 (patch) | |
tree | 4ffe12bf1c69fb320e8bfbe05b2373e9473c9da8 /plugins/Clist_modern | |
parent | aade717f024f4791547586c81fad7ae61991ed1a (diff) |
CLIST_INTERFACE::pfnDeleteItemFromTree => Clist_DeleteItemFromTree
Diffstat (limited to 'plugins/Clist_modern')
-rw-r--r-- | plugins/Clist_modern/src/modern_clc.cpp | 2 | ||||
-rw-r--r-- | plugins/Clist_modern/src/modern_clcmsgs.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Clist_modern/src/modern_clc.cpp b/plugins/Clist_modern/src/modern_clc.cpp index ecc198f83c..29e4e4ccee 100644 --- a/plugins/Clist_modern/src/modern_clc.cpp +++ b/plugins/Clist_modern/src/modern_clc.cpp @@ -1300,7 +1300,7 @@ static LRESULT clcOnIntmGroupChanged(ClcData *dat, HWND hwnd, UINT, WPARAM wPara memcpy(iExtraImage, contact->iExtraImage, sizeof(iExtraImage));
flags = contact->flags;
}
- pcli->pfnDeleteItemFromTree(hwnd, wParam);
+ Clist_DeleteItemFromTree(hwnd, wParam);
if (GetWindowLongPtr(hwnd, GWL_STYLE) & CLS_SHOWHIDDEN || !db_get_b(wParam, "CList", "Hidden", 0)) {
NMCLISTCONTROL nm;
pcli->pfnAddContactToTree(hwnd, dat, wParam, 1, 1);
diff --git a/plugins/Clist_modern/src/modern_clcmsgs.cpp b/plugins/Clist_modern/src/modern_clcmsgs.cpp index facfb11609..42c709ac6d 100644 --- a/plugins/Clist_modern/src/modern_clcmsgs.cpp +++ b/plugins/Clist_modern/src/modern_clcmsgs.cpp @@ -34,7 +34,7 @@ LRESULT cli_ProcessExternalMessages(HWND hwnd, ClcData *dat, UINT msg, WPARAM wP switch (msg) {
case CLM_DELETEITEM:
- pcli->pfnDeleteItemFromTree(hwnd, wParam);
+ Clist_DeleteItemFromTree(hwnd, wParam);
clcSetDelayTimer(TIMERID_DELAYEDRESORTCLC, hwnd, 1); //pcli->pfnSortCLC(hwnd, dat, 1);
clcSetDelayTimer(TIMERID_RECALCSCROLLBAR, hwnd, 2); //pcli->pfnRecalcScrollBar(hwnd, dat);
return 0;
|