summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mir_app/src/clc.cpp4
-rw-r--r--src/mir_app/src/clc.h1
-rw-r--r--src/mir_app/src/clcutils.cpp4
-rw-r--r--src/mir_app/src/clistcore.cpp1
-rw-r--r--src/mir_app/src/mir_app.def1
-rw-r--r--src/mir_app/src/mir_app64.def1
6 files changed, 6 insertions, 6 deletions
diff --git a/src/mir_app/src/clc.cpp b/src/mir_app/src/clc.cpp
index b6b78e9157..4b786cda53 100644
--- a/src/mir_app/src/clc.cpp
+++ b/src/mir_app/src/clc.cpp
@@ -984,8 +984,8 @@ LRESULT CALLBACK fnContactListControlWndProc(HWND hwnd, UINT uMsg, WPARAM wParam
else if (dat->iHotTrack == -1)
ReleaseCapture();
if (dat->exStyle & CLS_EX_TRACKSELECT) {
- cli.pfnInvalidateItem(hwnd, dat, iOldHotTrack);
- cli.pfnInvalidateItem(hwnd, dat, dat->iHotTrack);
+ Clist_InvalidateItem(hwnd, dat, iOldHotTrack);
+ Clist_InvalidateItem(hwnd, dat, dat->iHotTrack);
}
cli.pfnHideInfoTip(hwnd, dat);
}
diff --git a/src/mir_app/src/clc.h b/src/mir_app/src/clc.h
index 6a031f6e07..2925629a88 100644
--- a/src/mir_app/src/clc.h
+++ b/src/mir_app/src/clc.h
@@ -98,7 +98,6 @@ void fnLoadClcOptions(HWND hwnd, struct ClcData *dat, BOOL bFirst);
void fnRecalculateGroupCheckboxes(HWND hwnd, struct ClcData *dat);
void fnSetGroupChildCheckboxes(ClcGroup *group, int checked);
void fnSetContactCheckboxes(ClcContact *cc, int checked);
-void fnInvalidateItem(HWND hwnd, struct ClcData *dat, int iItem);
DWORD fnGetDefaultExStyle(void);
diff --git a/src/mir_app/src/clcutils.cpp b/src/mir_app/src/clcutils.cpp
index feb31fcf2b..0c04d08279 100644
--- a/src/mir_app/src/clcutils.cpp
+++ b/src/mir_app/src/clcutils.cpp
@@ -198,7 +198,7 @@ void fnScrollTo(HWND hwnd, ClcData *dat, int desty, int noSmooth)
int oldy = dat->yScroll;
if (dat->iHotTrack != -1 && dat->yScroll != desty) {
- cli.pfnInvalidateItem(hwnd, dat, dat->iHotTrack);
+ Clist_InvalidateItem(hwnd, dat, dat->iHotTrack);
dat->iHotTrack = -1;
ReleaseCapture();
}
@@ -847,7 +847,7 @@ void fnSetGroupChildCheckboxes(ClcGroup *group, int checked)
}
}
-void fnInvalidateItem(HWND hwnd, ClcData *dat, int iItem)
+MIR_APP_DLL(void) Clist_InvalidateItem(HWND hwnd, ClcData *dat, int iItem)
{
if (iItem == -1)
return;
diff --git a/src/mir_app/src/clistcore.cpp b/src/mir_app/src/clistcore.cpp
index 4d846c0ece..ea02d17230 100644
--- a/src/mir_app/src/clistcore.cpp
+++ b/src/mir_app/src/clistcore.cpp
@@ -116,7 +116,6 @@ void InitClistCore()
cli.pfnLoadClcOptions = fnLoadClcOptions;
cli.pfnRecalculateGroupCheckboxes = fnRecalculateGroupCheckboxes;
cli.pfnSetGroupChildCheckboxes = fnSetGroupChildCheckboxes;
- cli.pfnInvalidateItem = fnInvalidateItem;
cli.pfnGetRowBottomY = fnGetRowBottomY;
cli.pfnGetRowHeight = fnGetRowHeight;
cli.pfnGetRowTopY = fnGetRowTopY;
diff --git a/src/mir_app/src/mir_app.def b/src/mir_app/src/mir_app.def
index 37d849b6a3..674af31044 100644
--- a/src/mir_app/src/mir_app.def
+++ b/src/mir_app/src/mir_app.def
@@ -557,3 +557,4 @@ Clist_TraySetTimer @576
Clist_GetContactDisplayName @577
Clist_GetCacheEntry @578
Clist_EventsProcessTrayDoubleClick @579
+Clist_InvalidateItem @580
diff --git a/src/mir_app/src/mir_app64.def b/src/mir_app/src/mir_app64.def
index 9721b041c1..8671a4d445 100644
--- a/src/mir_app/src/mir_app64.def
+++ b/src/mir_app/src/mir_app64.def
@@ -557,3 +557,4 @@ Clist_TraySetTimer @576
Clist_GetContactDisplayName @577
Clist_GetCacheEntry @578
Clist_EventsProcessTrayDoubleClick @579
+Clist_InvalidateItem @580