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 /protocols/Weather | |
parent | 0943ae89e869ded753e5fbc5b64dca458a8f31b8 (diff) |
suddenly: tipper services were used as string constants
(cherry picked from commit 15fcbbc128178ea5a4cdb1a58927a43ea740be88)
Diffstat (limited to 'protocols/Weather')
-rw-r--r-- | protocols/Weather/src/stdafx.h | 1 | ||||
-rw-r--r-- | protocols/Weather/src/weather_mwin.cpp | 5 |
2 files changed, 2 insertions, 4 deletions
diff --git a/protocols/Weather/src/stdafx.h b/protocols/Weather/src/stdafx.h index 82bbbdaa87..bd4cddffbe 100644 --- a/protocols/Weather/src/stdafx.h +++ b/protocols/Weather/src/stdafx.h @@ -55,6 +55,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #include <m_popup.h> #include <m_acc.h> +#include <m_tipper.h> #include <m_weather.h> #include <m_toptoolbar.h> diff --git a/protocols/Weather/src/weather_mwin.cpp b/protocols/Weather/src/weather_mwin.cpp index 27c6664a1e..a1cfff3ddd 100644 --- a/protocols/Weather/src/weather_mwin.cpp +++ b/protocols/Weather/src/weather_mwin.cpp @@ -20,9 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #include "stdafx.h" -#define MS_TOOLTIP_SHOWTIP "mToolTip/ShowTip" -#define MS_TOOLTIP_HIDETIP "mToolTip/HideTip" - static MWindowList hMwinWindowList; static HANDLE hFontHook; @@ -95,7 +92,7 @@ static LRESULT CALLBACK wndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lPara ti.hItem = (HANDLE)data->hContact; ti.ptCursor = pt; ti.isTreeFocused = 1; - CallService(MS_TOOLTIP_SHOWTIP, 0, (LPARAM)&ti); + CallService(MS_TIPPER_SHOWTIP, 0, (LPARAM)&ti); } break; |