From fc4ce5a1e786192c86f14e9d99ad9b14eab201ef Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 11 Mar 2014 19:30:22 +0000 Subject: some GetWindowLong survived in HistoryStats... git-svn-id: http://svn.miranda-ng.org/main/trunk@8560 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/HistoryStats/src/bandctrlimpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/HistoryStats/src/bandctrlimpl.cpp') 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(GetWindowLong(hWnd, 0)); + BandCtrlImpl* pCtrl = reinterpret_cast(GetWindowLongPtr(hWnd, 0)); switch (msg) { case WM_NCCREATE: -- cgit v1.2.3