From 3b6b63a38796fc2d14cfebeb9b10ca159c2cbccf Mon Sep 17 00:00:00 2001 From: jpbruyere Date: Fri, 4 Nov 2016 08:56:28 +0100 Subject: remove old ResolveBinding call, remove IBindable, DataSourceChanged event --- src/Interface.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/Interface.cs') diff --git a/src/Interface.cs b/src/Interface.cs index 1659c0ea..941b96f9 100644 --- a/src/Interface.cs +++ b/src/Interface.cs @@ -312,10 +312,10 @@ namespace Crow if (_focusedWidget == value) return; if (_focusedWidget != null) - _focusedWidget.onUnfocused (this, null); + _focusedWidget.HasFocus = false; _focusedWidget = value; if (_focusedWidget != null) - _focusedWidget.onFocused (this, null); + _focusedWidget.HasFocus = true; } } #endregion @@ -499,7 +499,6 @@ namespace Crow public void DeleteWidget(GraphicObject g) { g.Visible = false;//trick to ensure clip is added to refresh zone - g.ClearBinding(); GraphicTree.Remove (g); } public void PutOnTop(GraphicObject g) @@ -520,7 +519,6 @@ namespace Crow //to ObjectToRedraw list, and without parent, it fails GraphicObject g = GraphicTree [i]; g.Visible = false; - g.ClearBinding (); GraphicTree.RemoveAt (0); } #if DEBUG_LAYOUTING -- cgit v1.3.1-4-g156e