Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelipe Heidrich2010-01-19 16:30:56 +0000
committerFelipe Heidrich2010-01-19 16:30:56 +0000
commit5401cd6816818f3dc0ba06b72aa06527bc7ea960 (patch)
treefade94f4379b98145583dc32153c4293baf8fe1d /bundles/org.eclipse.swt/Eclipse SWT OLE Win32
parentea1d575e9416dd5ff6c77bf5e76119c25e83f5ae (diff)
downloadeclipse.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-xbundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleControlSite.java13
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)

Back to the top