diff options
author | George Hazan <ghazan@miranda.im> | 2021-05-09 18:45:30 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2021-05-10 19:46:05 +0300 |
commit | 50c2fbbb1f7f6f233c980d7e4a52151fb72820f7 (patch) | |
tree | 349bc156e11357e68e2814778e7e4287eae43b3b /plugins/Clist_nicer/src/statusbar.cpp | |
parent | 0943ae89e869ded753e5fbc5b64dca458a8f31b8 (diff) |
suddenly: tipper services were used as string constants
(cherry picked from commit 15fcbbc128178ea5a4cdb1a58927a43ea740be88)
Diffstat (limited to 'plugins/Clist_nicer/src/statusbar.cpp')
-rw-r--r-- | plugins/Clist_nicer/src/statusbar.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Clist_nicer/src/statusbar.cpp b/plugins/Clist_nicer/src/statusbar.cpp index 348924f623..a61bd60c1e 100644 --- a/plugins/Clist_nicer/src/statusbar.cpp +++ b/plugins/Clist_nicer/src/statusbar.cpp @@ -49,7 +49,7 @@ LRESULT CALLBACK NewStatusBarWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM if (tooltip_active) {
KillTimer(hwnd, TIMERID_HOVER);
if (!NotifyEventHooks(hStatusBarHideToolTipEvent, 0, 0))
- CallService("mToolTip/HideTip", 0, 0);
+ Tipper_Hide();
tooltip_active = FALSE;
}
KillTimer(hwnd, TIMERID_HOVER);
@@ -74,7 +74,7 @@ LRESULT CALLBACK NewStatusBarWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM case WM_RBUTTONDOWN:
KillTimer(hwnd, TIMERID_HOVER);
if (!NotifyEventHooks(hStatusBarHideToolTipEvent, 0, 0))
- CallService("mToolTip/HideTip", 0, 0);
+ Tipper_Hide();
tooltip_active = FALSE;
break;
@@ -164,7 +164,7 @@ LRESULT CALLBACK NewStatusBarWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM CLCINFOTIP ti = { sizeof(ti) };
ti.isTreeFocused = (GetFocus() == g_clistApi.hwndContactList);
- CallService("mToolTip/ShowTipW", (WPARAM)szTipText, (LPARAM)&ti);
+ Tipper_ShowTip(szTipText, &ti);
}
break;
}
|