Author: rolf
Date: 2007-05-28 05:43:41 -0400 (Mon, 28 May 2007)
New Revision: 78037

Modified:
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MonthCalendar.cs
Log:
* MonthCalendar.cs: Set the size after initializing all the relevant
  variables. Fixes #81742.

Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2007-05-28 08:53:55 UTC (rev 78036)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2007-05-28 09:43:41 UTC (rev 78037)
@@ -1,5 +1,10 @@
 2007-05-28  Rolf Bjarne Kvinge <[EMAIL PROTECTED]> 
 
+       * MonthCalendar.cs: Set the size after initializing all the relevant
+         variables. Fixes #81742.
+
+2007-05-28  Rolf Bjarne Kvinge <[EMAIL PROTECTED]> 
+
        * KeyEventArgs.cs: Fix typo.
 
 2007-05-28  Gert Driesen  <[EMAIL PROTECTED]>

Modified: 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MonthCalendar.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MonthCalendar.cs 
2007-05-28 08:53:55 UTC (rev 78036)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MonthCalendar.cs 
2007-05-28 09:43:41 UTC (rev 78037)
@@ -187,6 +187,8 @@
                        
                        // this replaces paint so call the control version
                        base.Paint += new PaintEventHandler (PaintHandler);
+                       
+                       Size = DefaultSize;
                }
                
                // called when this control is added to date time picker

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

Reply via email to