[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] pnetlib/System.Windows.Forms Control.cs, 1.44, 1.
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] pnetlib/System.Windows.Forms Control.cs, 1.44, 1.45 |
Date: |
Sun, 30 Nov 2003 05:50:42 +0000 |
Update of /cvsroot/dotgnu-pnet/pnetlib/System.Windows.Forms
In directory subversions:/tmp/cvs-serv15747/System.Windows.Forms
Modified Files:
Control.cs
Log Message:
Shift the creation of the default font into the toolkit so that it
can be made system-specific.
Index: Control.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System.Windows.Forms/Control.cs,v
retrieving revision 1.44
retrieving revision 1.45
diff -C2 -d -r1.44 -r1.45
*** Control.cs 28 Nov 2003 18:51:04 -0000 1.44
--- Control.cs 30 Nov 2003 05:50:40 -0000 1.45
***************
*** 596,602 ****
if(defaultFont == null)
{
! defaultFont = new Font
! (new FontFamily
!
(GenericFontFamilies.SansSerif), 9.0f);
}
return defaultFont;
--- 596,601 ----
if(defaultFont == null)
{
! defaultFont =
!
ToolkitManager.Toolkit.CreateDefaultFont();
}
return defaultFont;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] pnetlib/System.Windows.Forms Control.cs, 1.44, 1.45,
Rhys Weatherley <address@hidden> <=