diff options
Diffstat (limited to 'plugins/W7UI/w7ui.cpp')
-rw-r--r-- | plugins/W7UI/w7ui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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);
|