This commit is contained in:
恍兮惚兮 2025-01-02 18:15:22 +08:00
parent 25f580680c
commit 88cdaf254b

View File

@ -145,7 +145,6 @@ MWebBrowserEx *MWebBrowserEx::Create(HWND _hwndParent)
pBrowser->Release();
pBrowser = NULL;
}
auto hwnd = pBrowser->GetControlWindow();
SetProp(_hwndParent, L"GWLP_WNDPROC", (HANDLE)GetWindowLongPtr(_hwndParent, GWLP_WNDPROC));
SetProp(_hwndParent, L"THIS_PTR", (HANDLE)pBrowser);
SetWindowLongPtr(_hwndParent, GWLP_WNDPROC, (ULONG_PTR)Extra_Menu_Handle);