#ifndef WX_PRECOMP
#include "wx/gdicmn.h"
+ #include "wx/module.h"
#endif
-#include "wx/module.h"
#include "wx/link.h"
#include "wx/mac/private.h"
{
case FONT_NORMAL:
font = new wxFont;
- font->MacCreateThemeFont(kThemeSystemFont);
+ font->MacCreateFromThemeFont(kThemeSystemFont);
break;
case FONT_SMALL:
font = new wxFont;
- font->MacCreateThemeFont(kThemeSmallSystemFont);
+ font->MacCreateFromThemeFont(kThemeSmallSystemFont);
break;
default:
font = const_cast<wxFont*>(super::GetFont(item));