|
|
|
|
@ -33,7 +33,6 @@ namespace ICSharpCode.SharpDevelop.Gui
@@ -33,7 +33,6 @@ namespace ICSharpCode.SharpDevelop.Gui
|
|
|
|
|
if (dockLayout == null) |
|
|
|
|
throw new ArgumentNullException("dockLayout"); |
|
|
|
|
|
|
|
|
|
FocusManager.SetIsFocusScope(this, true); |
|
|
|
|
this.IsFloatingAllowed = true; |
|
|
|
|
this.dockLayout = dockLayout; |
|
|
|
|
viewContents = new ViewContentCollection(this); |
|
|
|
|
@ -423,13 +422,6 @@ namespace ICSharpCode.SharpDevelop.Gui
@@ -423,13 +422,6 @@ namespace ICSharpCode.SharpDevelop.Gui
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
protected override void FocusContent() |
|
|
|
|
{ |
|
|
|
|
LoggingService.Debug("Trying to set focus to: " + FocusManager.GetFocusedElement(this)); |
|
|
|
|
Keyboard.Focus(FocusManager.GetFocusedElement(this)); |
|
|
|
|
LoggingService.Debug("Focus was set to: " + Keyboard.FocusedElement); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public override string ToString() |
|
|
|
|
{ |
|
|
|
|
return "[AvalonWorkbenchWindow: " + this.Title + "]"; |
|
|
|
|
|