Author: everaldo
Date: 2008-01-23 08:09:21 -0500 (Wed, 23 Jan 2008)
New Revision: 93652
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ThemeWin32Classic.cs
Log:
Remove old Label drawing methods.
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ThemeWin32Classic.cs
===================================================================
---
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ThemeWin32Classic.cs
2008-01-23 13:07:10 UTC (rev 93651)
+++
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ThemeWin32Classic.cs
2008-01-23 13:09:21 UTC (rev 93652)
@@ -2340,25 +2340,6 @@
#endregion // HScrollBar
- #region Label
- public override void DrawLabel (Graphics dc, Rectangle
clip_rectangle, Label label)
- {
- label.DrawImage (dc, label.Image,
label.ClientRectangle, label.ImageAlign);
-
- if (label.Enabled) {
- dc.DrawString (label.Text, label.Font,
ResPool.GetSolidBrush (label.ForeColor), clip_rectangle, label.string_format);
- } else {
- ControlPaint.DrawStringDisabled (dc,
label.Text, label.Font, label.BackColor, clip_rectangle, label.string_format);
- }
- }
-
- public override Size LabelDefaultSize {
- get {
- return new Size (100, 23);
- }
- }
- #endregion // Label
-
#region ListBox
public override void DrawListBoxItem (ListBox ctrl,
DrawItemEventArgs e)
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches