[Bug 34923] SolidWorks 2014 installer needs ieframe IWebBrowser2::Refresh2

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Jan 4 15:33:37 CST 2014


http://bugs.winehq.org/show_bug.cgi?id=34923

Vijay Kamuju <infyquest at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |infyquest at gmail.com

--- Comment #1 from Vijay Kamuju <infyquest at gmail.com> ---
can you test with the below code fix (just a small hack), I dont have the app
as well:

diff --git a/dlls/ieframe/webbrowser.c b/dlls/ieframe/webbrowser.c
index 55f757f..a255dcc 100644
--- a/dlls/ieframe/webbrowser.c
+++ b/dlls/ieframe/webbrowser.c
@@ -303,7 +303,13 @@ static HRESULT WINAPI WebBrowser_Refresh2(IWebBrowser2
*iface, VARIANT *Level)
 {
     WebBrowser *This = impl_from_IWebBrowser2(iface);
     FIXME("(%p)->(%s)\n", This, debugstr_variant(Level));
-    return E_NOTIMPL;
+    switch(V_I4(Level)) {
+    case 1:
+    case 3:
+        return refresh_document(&This->doc_host);
+    default :
+        return E_NOTIMPL;
+    }
 }

 static HRESULT WINAPI WebBrowser_Stop(IWebBrowser2 *iface)

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list