mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 535495 - build break test plugin on x64 due to changeset 9c16bf14545c. r=josh
This commit is contained in:
parent
b22600af13
commit
86412ece0c
@ -473,7 +473,7 @@ void
|
||||
ClearSubclass(HWND hWnd)
|
||||
{
|
||||
if (GetProp(hWnd, "MozillaWndProc")) {
|
||||
::SetWindowLong(hWnd, GWL_WNDPROC, (long)GetProp(hWnd, "MozillaWndProc"));
|
||||
::SetWindowLongPtr(hWnd, GWLP_WNDPROC, (LONG_PTR)GetProp(hWnd, "MozillaWndProc"));
|
||||
RemoveProp(hWnd, "MozillaWndProc");
|
||||
RemoveProp(hWnd, "InstanceData");
|
||||
}
|
||||
@ -484,7 +484,7 @@ SetSubclass(HWND hWnd, InstanceData* instanceData)
|
||||
{
|
||||
// Subclass the plugin window so we can handle our own windows events.
|
||||
SetProp(hWnd, "InstanceData", (HANDLE)instanceData);
|
||||
WNDPROC origProc = (WNDPROC)::SetWindowLong(hWnd, GWL_WNDPROC, (long)PluginWndProc);
|
||||
WNDPROC origProc = (WNDPROC)::SetWindowLongPtr(hWnd, GWLP_WNDPROC, (LONG_PTR)PluginWndProc);
|
||||
SetProp(hWnd, "MozillaWndProc", (HANDLE)origProc);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user