Author: everaldo
Date: 2007-10-16 06:40:54 -0400 (Tue, 16 Oct 2007)
New Revision: 87569

Modified:
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs
   
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MdiWindowManager.cs
Log:
        * Form.cs: Change SelectActiveControl to internal, we need to call it in
        MdiWindowManager.
        
        * MdiWindowManager.cs: In RaiseActivated call SelectActiveControl to 
select
        active control when activate a new mdi window.
        
        [Fixes bug #330495]

2007-10-15  Everaldo Canuto  <[EMAIL PROTECTED]>



Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2007-10-16 10:37:34 UTC (rev 87568)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2007-10-16 10:40:54 UTC (rev 87569)
@@ -1,5 +1,15 @@
 2007-10-15  Everaldo Canuto  <[EMAIL PROTECTED]>
 
+       * Form.cs: Change SelectActiveControl to internal, we need to call it in
+       MdiWindowManager.
+       
+       * MdiWindowManager.cs: In RaiseActivated call SelectActiveControl to 
select
+       active control when activate a new mdi window.
+       
+       [Fixes bug #330495]
+
+2007-10-15  Everaldo Canuto  <[EMAIL PROTECTED]>
+
        * ComboBox.cs: Dont implicit add listbox_ctrl on OnHandleCreated 
because it
        is already added.
        [Fixes bug #333617]

Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs  
2007-10-16 10:37:34 UTC (rev 87568)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs  
2007-10-16 10:40:54 UTC (rev 87569)
@@ -235,7 +235,7 @@
                        XplatUI.Text (Handle, Text.Replace 
(Environment.NewLine, string.Empty));
                }
                
-               private void SelectActiveControl ()
+               internal void SelectActiveControl ()
                {
                        if (this.IsMdiContainer) {
                                mdi_container.SendFocusToActiveChild ();

Modified: 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MdiWindowManager.cs
===================================================================
--- 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MdiWindowManager.cs  
    2007-10-16 10:37:34 UTC (rev 87568)
+++ 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MdiWindowManager.cs  
    2007-10-16 10:40:54 UTC (rev 87569)
@@ -61,6 +61,7 @@
                        
                        last_activation_event = 1;
                        form.OnActivatedInternal ();
+                       form.SelectActiveControl ();
                }
                
                public void RaiseDeactivate ()

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to