summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/taskbar.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-12-29 09:26:02 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-12-29 09:26:02 +0000
commitc5d063641ee1d9e0a4ca9872fbc4d1578731d9a6 (patch)
treeeb77a34e1690eee9d65d36f9feab233f72eac5cc /plugins/TabSRMM/src/taskbar.cpp
parentbd276bf08cc7ae0c2c9be6b0c202047fede7c704 (diff)
unused DM_FORCESCROLL removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@11666 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/taskbar.cpp')
-rw-r--r--plugins/TabSRMM/src/taskbar.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/taskbar.cpp b/plugins/TabSRMM/src/taskbar.cpp
index b594845180..e6141f0937 100644
--- a/plugins/TabSRMM/src/taskbar.cpp
+++ b/plugins/TabSRMM/src/taskbar.cpp
@@ -224,7 +224,7 @@ void CProxyWindow::verify(TWindowData *dat)
* and previews for a message session.
* each tab has one invisible proxy window
*/
-CProxyWindow::CProxyWindow(const TWindowData *dat)
+CProxyWindow::CProxyWindow(TWindowData *dat)
{
m_dat = dat;
m_hBigIcon = 0;
@@ -340,7 +340,7 @@ void CProxyWindow::sendPreview()
::SendMessage(m_dat->pContainer->hwnd, DM_QUERYCLIENTAREA, 0, (LPARAM)&rcClient);
::MoveWindow(m_dat->hwnd, rcClient.left, rcClient.top, (rcClient.right - rcClient.left), (rcClient.bottom - rcClient.top), FALSE);
::SendMessage(m_dat->hwnd, WM_SIZE, 0, 0);
- ::SendMessage(m_dat->hwnd, DM_FORCESCROLL, 0, 0);
+ DM_ScrollToBottom(m_dat, 0, 1);
}
/*
* a minimized container has a null rect as client area, so do not use it