From 4439a8315ba49d269b6a1d46b547eaec926a5134 Mon Sep 17 00:00:00 2001 From: pbartok Date: Tue, 18 Apr 2006 00:03:21 +0000 Subject: [PATCH] 2006-04-17 Peter Dennis Bartok * KeyPressEventArgs: Added 2.0 only setter for KeyChar * Control.cs (.ctor): verify_thread_handle is static, don't reset every time a control is created * Application.cs: Removed obsolete EnableRTLMirroring method git-svn-id: svn+ssh://mono-cvs.ximian.com/source/trunk/mcs@59555 e3ebcda4-bce8-0310-ba0a-eca2169e7518 --- class/Managed.Windows.Forms/System.Windows.Forms/Application.cs | 4 ---- class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog | 7 +++++++ class/Managed.Windows.Forms/System.Windows.Forms/Control.cs | 1 - .../System.Windows.Forms/KeyPressEventArgs.cs | 8 +++++++- 4 files changed, 14 insertions(+), 6 deletions(-) diff --git a/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs b/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs index 625a32b9b6..238b37431e 100644 --- a/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs +++ b/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs @@ -230,10 +230,6 @@ namespace System.Windows.Forms { } #if NET_2_0 - public static void EnableRTLMirroring () - { - } - // // If true, it uses GDI+, performance reasons were quoted // diff --git a/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog b/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog index 4b88390493..db017baf7d 100644 --- a/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog +++ b/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog @@ -1,3 +1,10 @@ +2006-04-17 Peter Dennis Bartok + + * KeyPressEventArgs: Added 2.0 only setter for KeyChar + * Control.cs (.ctor): verify_thread_handle is static, don't reset + every time a control is created + * Application.cs: Removed obsolete EnableRTLMirroring method + 2006-04-18 Gert Driesen * TabControl.cs: Avoid ArgumentOutOfRangeException when setting diff --git a/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs b/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs index cee4883f95..d93a468fb6 100644 --- a/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs +++ b/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs @@ -676,7 +676,6 @@ namespace System.Windows.Forms dist_bottom = 0; #if NET_2_0 - verify_thread_handle = false; use_compatible_text_rendering = Application.use_compatible_text_rendering; padding = new Padding(0); #endif diff --git a/class/Managed.Windows.Forms/System.Windows.Forms/KeyPressEventArgs.cs b/class/Managed.Windows.Forms/System.Windows.Forms/KeyPressEventArgs.cs index 6907480be2..4f8b376e3c 100644 --- a/class/Managed.Windows.Forms/System.Windows.Forms/KeyPressEventArgs.cs +++ b/class/Managed.Windows.Forms/System.Windows.Forms/KeyPressEventArgs.cs @@ -17,7 +17,7 @@ // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // -// Copyright (c) 2004-2005 Novell, Inc. +// Copyright (c) 2004-2006 Novell, Inc. // // Authors: // Peter Bartok pbartok@novell.com @@ -57,6 +57,12 @@ namespace System.Windows.Forms { get { return this.key_char; } + +#if NET_2_0 + set { + key_char = value; + } +#endif } #endregion // Public Instance Properties } -- 2.11.4.GIT