// Author: Stefan Csomor
// Modified by:
// Created: 1998-01-01
-// RCS-ID: $Id$
// Copyright: (c) Stefan Csomor
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
switch (item)
{
case FONT_NORMAL:
- font = new wxFont;
- font->CreateSystemFont(wxOSX_SYSTEM_FONT_NORMAL);
+ font = new wxFont(wxOSX_SYSTEM_FONT_NORMAL);
break;
case FONT_SMALL:
- font = new wxFont;
- font->CreateSystemFont(wxOSX_SYSTEM_FONT_SMALL);
+ font = new wxFont(wxOSX_SYSTEM_FONT_SMALL);
break;
default:
font = const_cast<wxFont*>(super::GetFont(item));