dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[dotgnu-pnet-commits] pnetlib ./ChangeLog System.Windows.Forms/TabCon...


From: Klaus Treichel
Subject: [dotgnu-pnet-commits] pnetlib ./ChangeLog System.Windows.Forms/TabCon...
Date: Wed, 12 Apr 2006 17:50:51 +0000

CVSROOT:        /cvsroot/dotgnu-pnet
Module name:    pnetlib
Branch:         
Changes by:     Klaus Treichel <address@hidden> 06/04/12 17:50:50

Modified files:
        .              : ChangeLog 
        System.Windows.Forms: TabControl.cs 

Log message:
        2006-04-12  Radek Polak  <address@hidden>
        
        * System.Windows.Forms/TabControl.cs: Fix an IndexOutOfRange exception 
in
        Draw. (Klaus)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/dotgnu-pnet/pnetlib/ChangeLog.diff?tr1=1.2380&tr2=1.2381&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/dotgnu-pnet/pnetlib/System.Windows.Forms/TabControl.cs.diff?tr1=1.28&tr2=1.29&r1=text&r2=text

Patches:
Index: pnetlib/ChangeLog
diff -u pnetlib/ChangeLog:1.2380 pnetlib/ChangeLog:1.2381
--- pnetlib/ChangeLog:1.2380    Tue Apr 11 15:34:08 2006
+++ pnetlib/ChangeLog   Wed Apr 12 17:50:50 2006
@@ -1,3 +1,8 @@
+2006-04-12  Radek Polak  <address@hidden>
+
+       * System.Windows.Forms/TabControl.cs: Fix an IndexOutOfRange exception 
in
+       Draw. (Klaus)
+  
 2006-04-11  Heiko Weiss  <address@hidden>
 
        * System.Windows.Forms/Control.cs: Fixed deadlock with invokes.
@@ -11,15 +16,16 @@
        System.Windows.Forms/MainMenu.cs,
        System.Windows.Forms/ScrollableControl.cs,
        System.Windows.Forms/TextBox.cs,
-       System.Windows.Forms/TextBoxBase.cs: fixed some memory leaks by keeping 
references. 
-       Now a weak reference of a control is given for the toolkit 
-       and not the control itself. This avoids keeping a reference of the 
control in
-       toolkit.
+       System.Windows.Forms/TextBoxBase.cs: fixed some memory leaks by keeping
+       references. Now a weak reference of a control is given for the toolkit
+       and not the control itself. This avoids keeping a reference of the 
control
+       in toolkit.
        Still some memory leaks are in pnetlib.
 
 2006-04-03  Heiko Weiss  <address@hidden>
 
-       * System.Windows.Forms/Control.cs: fixed some layouting issues. Do 
layout in PerformLayout, if control visible, even if parent not visible.
+       * System.Windows.Forms/Control.cs: fixed some layouting issues. Do 
layout
+       in PerformLayout, if control visible, even if parent not visible.
 
 2006-03-27  Gopal V  <address@hidden>
 
Index: pnetlib/System.Windows.Forms/TabControl.cs
diff -u pnetlib/System.Windows.Forms/TabControl.cs:1.28 
pnetlib/System.Windows.Forms/TabControl.cs:1.29
--- pnetlib/System.Windows.Forms/TabControl.cs:1.28     Mon Feb 13 07:44:59 2006
+++ pnetlib/System.Windows.Forms/TabControl.cs  Wed Apr 12 17:50:50 2006
@@ -621,7 +621,7 @@
                                        }
                                }
                        }
-                       if (SelectedIndex < TabPages.Count)
+                       if (SelectedIndex < TabPages.Count && SelectedIndex >= 
0)
                        {
                                Rectangle bounds = GetTabRect(SelectedIndex);
                                g.SetClip(new Rectangle(bounds.Left, 
bounds.Top, bounds.Width, bounds.Height), 
Drawing.Drawing2D.CombineMode.Intersect);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]