diff options
author | George Hazan <george.hazan@gmail.com> | 2014-03-11 12:30:35 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-03-11 12:30:35 +0000 |
commit | e5a52db1e9acd0dc80c7581f20bacf63e1d08722 (patch) | |
tree | 9c09fb8edc2e0ea3571956a95457544bb3f3d4e9 /plugins/TabSRMM/src/taskbar.cpp | |
parent | f9a8ee1e76018444b934c14c9288a89dbb7f84ac (diff) |
fix for tabSRMM send queue
git-svn-id: http://svn.miranda-ng.org/main/trunk@8555 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/taskbar.cpp')
-rw-r--r-- | plugins/TabSRMM/src/taskbar.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/TabSRMM/src/taskbar.cpp b/plugins/TabSRMM/src/taskbar.cpp index 06acd7a1e5..0303771b77 100644 --- a/plugins/TabSRMM/src/taskbar.cpp +++ b/plugins/TabSRMM/src/taskbar.cpp @@ -382,7 +382,7 @@ void CProxyWindow::sendPreview() ::DeleteObject(brb);
CImageItem::SetBitmap32Alpha(hbm, 100);
- LRESULT first = ::SendMessage(hwndRich, EM_CHARFROMPOS, 0, reinterpret_cast<LPARAM>(&ptOrigin));
+ LRESULT first = ::SendMessage(hwndRich, EM_CHARFROMPOS, 0, LPARAM(&ptOrigin));
/*
* paint the content of the message log control into a separate bitmap without
@@ -414,7 +414,7 @@ void CProxyWindow::sendPreview() fr.chrg.cpMax = -1;
fr.chrg.cpMin = first;
- ::SendMessage(hwndRich, EM_FORMATRANGE, 1, reinterpret_cast<LPARAM>(&fr));
+ ::SendMessage(hwndRich, EM_FORMATRANGE, 1, LPARAM(&fr));
}
::SelectObject(hdcRich, hbmRichOld);
@@ -478,7 +478,7 @@ void CProxyWindow::setOverlayIcon(const HICON hIcon, bool fInvalidate) void CProxyWindow::updateIcon(const HICON hIcon) const
{
if (m_hwndProxy && hIcon)
- ::SendMessage(m_hwndProxy, WM_SETICON, ICON_SMALL, reinterpret_cast<LPARAM>(hIcon));
+ ::SendMessage(m_hwndProxy, WM_SETICON, ICON_SMALL, LPARAM(hIcon));
}
/**
|