Jacek Caban : shdocvw: Added GetWindow implementation.
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Jan 20 13:20:16 CST 2006
Module: wine
Branch: refs/heads/master
Commit: 360a4aff2982a7d34595f25cd2f9f3f7a4caa4d7
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=360a4aff2982a7d34595f25cd2f9f3f7a4caa4d7
Author: Jacek Caban <jacek at codeweavers.com>
Date: Fri Jan 20 16:12:36 2006 +0100
shdocvw: Added GetWindow implementation.
---
dlls/shdocvw/oleobject.c | 17 ++---------------
1 files changed, 2 insertions(+), 15 deletions(-)
diff --git a/dlls/shdocvw/oleobject.c b/dlls/shdocvw/oleobject.c
index 58eb6ef..656fe0d 100644
--- a/dlls/shdocvw/oleobject.c
+++ b/dlls/shdocvw/oleobject.c
@@ -459,22 +459,9 @@ static HRESULT WINAPI OleInPlaceObject_G
{
WebBrowser *This = INPLACEOBJ_THIS(iface);
- FIXME("(%p)->(%p)\n", This, phwnd);
-
-#if 0
- /* Create a fake window to fool MFC into believing that we actually
- * have an implemented browser control. Avoids the assertion.
- */
- HWND hwnd;
- hwnd = CreateWindowA("BUTTON", "Web Control",
- WS_HSCROLL | WS_VSCROLL | WS_OVERLAPPEDWINDOW,
- CW_USEDEFAULT, CW_USEDEFAULT, 600,
- 400, NULL, NULL, NULL, NULL);
-
- *phwnd = hwnd;
- TRACE ("Returning hwnd = %d\n", hwnd);
-#endif
+ TRACE("(%p)->(%p)\n", This, phwnd);
+ *phwnd = This->shell_embedding_hwnd;
return S_OK;
}
More information about the wine-cvs
mailing list