summaryrefslogtreecommitdiff
path: root/plugins/HistoryStats/src/bandctrl.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-03-11 18:30:49 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-03-11 18:30:49 +0000
commit009c7a01b9399f14be5c85b9343c3063b12e5c7e (patch)
tree1c0396712141c4b79f2a8478d19bc1d15321bf11 /plugins/HistoryStats/src/bandctrl.cpp
parent5dffb8d954968e1bd715bc62d0e3d51d5afb67c4 (diff)
SetWindowLong -> SetWindowLongPtr;
GetWindowLong -> GetWindowLongPtr; LONG -> LONG_PTR git-svn-id: http://svn.miranda-ng.org/main/trunk@8559 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/HistoryStats/src/bandctrl.cpp')
-rw-r--r--plugins/HistoryStats/src/bandctrl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/HistoryStats/src/bandctrl.cpp b/plugins/HistoryStats/src/bandctrl.cpp
index 1629c6a638..a377717efb 100644
--- a/plugins/HistoryStats/src/bandctrl.cpp
+++ b/plugins/HistoryStats/src/bandctrl.cpp
@@ -10,7 +10,7 @@ void BandCtrl::setLayout(int nLayout)
SendMessage(m_hBandWnd, BCM_SETLAYOUT, nLayout, 0);
}
-HANDLE BandCtrl::addButton(DWORD dwFlags, HICON hIcon, DWORD dwData, const TCHAR* szTooltip /* = NULL */, const TCHAR* szText /* = NULL */)
+HANDLE BandCtrl::addButton(DWORD dwFlags, HICON hIcon, INT_PTR dwData, const TCHAR* szTooltip /* = NULL */, const TCHAR* szText /* = NULL */)
{
BCBUTTON bcb;
@@ -38,7 +38,7 @@ DWORD BandCtrl::getButtonData(HANDLE hButton)
return SendMessage(m_hBandWnd, BCM_GETBUTTONDATA, reinterpret_cast<WPARAM>(hButton), 0);
}
-void BandCtrl::setButtonData(HANDLE hButton, DWORD dwData)
+void BandCtrl::setButtonData(HANDLE hButton, INT_PTR dwData)
{
SendMessage(m_hBandWnd, BCM_SETBUTTONDATA, reinterpret_cast<WPARAM>(hButton), dwData);
}