diff options
author | Felipe Heidrich | 2010-01-19 16:30:56 +0000 |
---|---|---|
committer | Felipe Heidrich | 2010-01-19 16:30:56 +0000 |
commit | 5401cd6816818f3dc0ba06b72aa06527bc7ea960 (patch) | |
tree | fade94f4379b98145583dc32153c4293baf8fe1d /bundles/org.eclipse.swt/Eclipse SWT OLE Win32 | |
parent | ea1d575e9416dd5ff6c77bf5e76119c25e83f5ae (diff) | |
download | eclipse.platform.swt-5401cd6816818f3dc0ba06b72aa06527bc7ea960.tar.gz eclipse.platform.swt-5401cd6816818f3dc0ba06b72aa06527bc7ea960.tar.xz eclipse.platform.swt-5401cd6816818f3dc0ba06b72aa06527bc7ea960.zip |
Bug 299241 - [OLE] Menus disappear when opening/closing a RAC view with embedded MS Word 2007 (using OleControlSite)
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT OLE Win32')
-rwxr-xr-x | bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleControlSite.java | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleControlSite.java b/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleControlSite.java index 5bb981ef62..eaacf9872f 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleControlSite.java +++ b/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleControlSite.java @@ -718,19 +718,6 @@ void onFocusOut(Event e) { private int OnFocus(int fGotFocus) { return COM.S_OK; } -protected int OnUIDeactivate(int fUndoable) { - // controls don't need to do anything for - // border space or menubars - if (frame == null || frame.isDisposed()) return COM.S_OK; - state = STATE_INPLACEACTIVE; - frame.SetActiveObject(0,0); - redraw(); - Shell shell = getShell(); - if (isFocusControl() || frame.isFocusControl()) { - shell.traverse(SWT.TRAVERSE_TAB_NEXT); - } - return COM.S_OK; -} protected int QueryInterface(int /*long*/ riid, int /*long*/ ppvObject) { int result = super.QueryInterface(riid, ppvObject); if (result == COM.S_OK) |