From 2840393bf5378c012577c4764dc4cbd162f85d4e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 8 Jun 2012 21:02:06 +0000 Subject: GetWindowLong -> GetWindowLongPtr git-svn-id: http://svn.miranda-ng.org/main/trunk@364 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/W7UI/w7ui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/W7UI') diff --git a/plugins/W7UI/w7ui.cpp b/plugins/W7UI/w7ui.cpp index afce9b65eb..c94f7b31ca 100644 --- a/plugins/W7UI/w7ui.cpp +++ b/plugins/W7UI/w7ui.cpp @@ -127,7 +127,7 @@ int OnProcessSrmmEvent(WPARAM, LPARAM lParam) HWND hwndParent = FindParent(evt->hwndWindow); if (hwndParent != evt->hwndWindow) { - SetWindowLong(hwndParent, GWL_EXSTYLE, GetWindowLong(hwndParent, GWL_EXSTYLE) & ~WS_EX_APPWINDOW); + SetWindowLongPtr(hwndParent, GWL_EXSTYLE, GetWindowLongPtr(hwndParent, GWL_EXSTYLE) & ~WS_EX_APPWINDOW); CSrmmProxyWindow *wnd = new CSrmmProxyWindow(evt->hContact, evt->hwndWindow, hwndParent); HWND hwndProxy = wnd->hwnd(); g_pTaskbarList->UnregisterTab(hwndParent); -- cgit v1.2.3