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

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

[Dotgnu-pnet-commits] CVS: pnetlib/System.Windows.Forms ButtonBase.cs, 1


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/System.Windows.Forms ButtonBase.cs, 1.6, 1.7
Date: Tue, 08 Jul 2003 19:54:31 -0400

Update of /cvsroot/dotgnu-pnet/pnetlib/System.Windows.Forms
In directory subversions:/tmp/cvs-serv27320/System.Windows.Forms

Modified Files:
        ButtonBase.cs 
Log Message:


Make "Draw" "internal virtual" so that it can be overridden in subclasses.


Index: ButtonBase.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System.Windows.Forms/ButtonBase.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** ButtonBase.cs       8 Jul 2003 10:45:00 -0000       1.6
--- ButtonBase.cs       8 Jul 2003 23:54:28 -0000       1.7
***************
*** 324,328 ****
  
        // Draw the button in its current state on a Graphics surface.
!       private void Draw(Graphics graphics)
                        {
                                ButtonState state = CalculateState();
--- 324,328 ----
  
        // Draw the button in its current state on a Graphics surface.
!       internal virtual void Draw(Graphics graphics)
                        {
                                ButtonState state = CalculateState();





reply via email to

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