/////////////////////////////////////////////////////////////////////////////
-// Name: src/mac/carbon/gdiobj.cpp
+// Name: src/osx/carbon/gdiobj.cpp
// Purpose: wxGDIObject class
// Author: Stefan Csomor
// Modified by:
#include "wx/link.h"
#include "wx/osx/private.h"
+#include "wx/font.h"
// Linker will discard entire object file without this
wxFORCE_LINK_THIS_MODULE(gdiobj)
{
case FONT_NORMAL:
font = new wxFont;
- font->MacCreateFromThemeFont(kThemeSystemFont);
+ font->CreateSystemFont(wxOSX_SYSTEM_FONT_NORMAL);
break;
case FONT_SMALL:
font = new wxFont;
- font->MacCreateFromThemeFont(kThemeSmallSystemFont);
+ font->CreateSystemFont(wxOSX_SYSTEM_FONT_SMALL);
break;
default:
font = const_cast<wxFont*>(super::GetFont(item));