summaryrefslogtreecommitdiff
path: root/plugins/HistoryStats/src/bandctrlimpl.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-03-11 19:30:22 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-03-11 19:30:22 +0000
commitfc4ce5a1e786192c86f14e9d99ad9b14eab201ef (patch)
tree1646925dea7adb0e366e8f08bf111c58e518b39c /plugins/HistoryStats/src/bandctrlimpl.cpp
parent009c7a01b9399f14be5c85b9343c3063b12e5c7e (diff)
some GetWindowLong survived in HistoryStats...
git-svn-id: http://svn.miranda-ng.org/main/trunk@8560 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/HistoryStats/src/bandctrlimpl.cpp')
-rw-r--r--plugins/HistoryStats/src/bandctrlimpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/HistoryStats/src/bandctrlimpl.cpp b/plugins/HistoryStats/src/bandctrlimpl.cpp
index 8445debf64..b68dadee1d 100644
--- a/plugins/HistoryStats/src/bandctrlimpl.cpp
+++ b/plugins/HistoryStats/src/bandctrlimpl.cpp
@@ -14,7 +14,7 @@ const int BandCtrlImpl::m_PollDelay = 50;
LRESULT CALLBACK BandCtrlImpl::staticWndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
{
- BandCtrlImpl* pCtrl = reinterpret_cast<BandCtrlImpl*>(GetWindowLong(hWnd, 0));
+ BandCtrlImpl* pCtrl = reinterpret_cast<BandCtrlImpl*>(GetWindowLongPtr(hWnd, 0));
switch (msg) {
case WM_NCCREATE: