In Test/System.Windows.Forms:
* FormTest.cs: make sure Form.ImeMode is NoControl by default.
* ButtonTest.cs: add a unit test for Button.DefaultImeMode.
2006-12-06 Chris Toshok <toshok@ximian.com>
In System.Windows.Forms:
* Form.cs: we don't need to explicitly set ImeMode to
ImeMode.NoControl - that's a natural fallout of Control.ImeMode's
behavior in the face of ImeMode.Inherit.
* ButtonBase.cs: change DefaultImeMode to ImeMode.Disable, and
change the ctor's assignment to use ImeMode instead of ime_mode.
* Control.cs (get_ImeMode): don't assume DefaultImeMode ==
ImeModeInherit. Only check for the parent's imemode (and return
NoControl if there is no parent) if ime_Mode == ImeMode.Inherit.
This fixes the button unit test, which sets both ImeMode and
DefaultImeMode to ImeMode.Disable.
also make the ime_mode field private.
2006-12-06 Chris Toshok <toshok@ximian.com>
git-svn-id: svn+ssh://mono-cvs.ximian.com/source/trunk/mcs@69148 e3ebcda4-bce8-0310-ba0a-eca2169e7518