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 | |
parent | 0943ae89e869ded753e5fbc5b64dca458a8f31b8 (diff) |
suddenly: tipper services were used as string constants
(cherry picked from commit 15fcbbc128178ea5a4cdb1a58927a43ea740be88)
Diffstat (limited to 'plugins/Clist_nicer')
-rw-r--r-- | plugins/Clist_nicer/src/statusbar.cpp | 6 | ||||
-rw-r--r-- | plugins/Clist_nicer/src/stdafx.h | 1 |
2 files changed, 4 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;
}
diff --git a/plugins/Clist_nicer/src/stdafx.h b/plugins/Clist_nicer/src/stdafx.h index 80427aa16a..39216d9f92 100644 --- a/plugins/Clist_nicer/src/stdafx.h +++ b/plugins/Clist_nicer/src/stdafx.h @@ -55,6 +55,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include <m_cluiframes.h>
#include <m_icolib.h>
#include <m_fontservice.h>
+#include <m_tipper.h>
#include <m_xstatus.h>
#include <m_extraicons.h>
#include <m_variables.h>
|