2009-08-25 Chris Toshok <toshok@ximian.com>
commit1e730f945e96bc567cf5e1f8aa4f4ea2418bac85
authortoshok <toshok@e3ebcda4-bce8-0310-ba0a-eca2169e7518>
Wed, 26 Aug 2009 06:28:08 +0000 (26 06:28 +0000)
committertoshok <toshok@e3ebcda4-bce8-0310-ba0a-eca2169e7518>
Wed, 26 Aug 2009 06:28:08 +0000 (26 06:28 +0000)
tree939eda9ed72d4e1f8fedb521811aae114a8e6c45
parent8c7f3a1e94d084d2cb0cf4b35aa6c2203aecc49d
2009-08-25  Chris Toshok  <toshok@ximian.com>

* control.cpp (Control::OnPropertyChanged): emit IsEnabledChanged
when IsEnabledProperty has changed.  we need to do it after the
focus handling has happened, though, as
FocusManager.GetFocusedElement() returns the currently focused
thing in handlers for IsEnabledChanged.  Fixes the rendering of
disabled elements in drt #432.

r: andreia

git-svn-id: svn+ssh://mono-cvs.ximian.com/source/trunk/moon@140688 e3ebcda4-bce8-0310-ba0a-eca2169e7518
src/ChangeLog
src/control.cpp