Add system fonts

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Bart A.M. Jourquin
2000-02-01 09:16:04 +00:00
parent b8365facc3
commit c45a4560f8
5 changed files with 9 additions and 5 deletions

View File

@@ -65,7 +65,8 @@ PgmCtrl::PgmCtrl(wxWindow *parent, const wxWindowID id,const wxPoint& pos, const
: wxTreeCtrl(parent, id, pos, size, style)
{
//wxFont* ft_Temp = new wxFont(10,wxSWISS,wxNORMAL,wxBOLD,FALSE,"Comic Sans MS");
//SetFont(* ft_Temp);
wxFont* ft_Temp = new wxFont(wxSystemSettings::GetSystemFont(wxSYS_SYSTEM_FONT));
SetFont(* ft_Temp);
// Make an image list containing small icons
p_imageListNormal = new wxImageList(16, 16, TRUE);