From 009c7a01b9399f14be5c85b9343c3063b12e5c7e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 11 Mar 2014 18:30:49 +0000 Subject: SetWindowLong -> SetWindowLongPtr; GetWindowLong -> GetWindowLongPtr; LONG -> LONG_PTR git-svn-id: http://svn.miranda-ng.org/main/trunk@8559 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/HistoryStats/src/dlgoption_subglobal.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/HistoryStats/src/dlgoption_subglobal.cpp') diff --git a/plugins/HistoryStats/src/dlgoption_subglobal.cpp b/plugins/HistoryStats/src/dlgoption_subglobal.cpp index 1b4dbbe6ee..c34752dbdc 100644 --- a/plugins/HistoryStats/src/dlgoption_subglobal.cpp +++ b/plugins/HistoryStats/src/dlgoption_subglobal.cpp @@ -191,7 +191,7 @@ BOOL DlgOption::SubGlobal::handleMsg(UINT msg, WPARAM wParam, LPARAM lParam) else if (p->code == TVN_ITEMEXPANDING) { if (pNM->action == TVE_COLLAPSE || pNM->action == TVE_COLLAPSERESET || (pNM->action == TVE_TOGGLE && pNM->itemNew.state & TVIS_EXPANDED)) { - SetWindowLong(getHWnd(), DWLP_MSGRESULT, TRUE); + SetWindowLongPtr(getHWnd(), DWLP_MSGRESULT, TRUE); return TRUE; } } @@ -346,7 +346,7 @@ void DlgOption::SubGlobal::initSupportInfo() HWND hInfo = GetDlgItem(getHWnd(), IDC_INFO); - SetWindowLong(hInfo, GWL_STYLE, GetWindowLong(hInfo, GWL_STYLE) | TVS_NOHSCROLL); + SetWindowLongPtr(hInfo, GWL_STYLE, GetWindowLong(hInfo, GWL_STYLE) | TVS_NOHSCROLL); SendMessage(hInfo, WM_SETREDRAW, FALSE, 0); -- cgit v1.2.3