attr.colFg = wxSystemSettings::GetColour( wxSYS_COLOUR_WINDOWTEXT );
attr.colBg = wxSystemSettings::GetColour( wxSYS_COLOUR_LISTBOX );
-#if wxOSX_USE_ATSU_TEXT
- attr.font.MacCreateFromThemeFont( kThemeViewsFont ) ;
-#else
- attr.font.MacCreateFromUIFont( kCTFontViewsFontType ) ;
-#endif
+ attr.font.CreateSystemFont(wxOSX_SYSTEM_FONT_VIEWS);
return attr;
}
bool wxListCtrl::GetSubItemRect( long item, long subItem, wxRect& rect, int code ) const
{
if (m_genericImpl)
- return m_genericImpl->GetItemRect(item, rect, code);
+ return m_genericImpl->GetSubItemRect(item, subItem, rect, code);
// TODO: implement for DataBrowser implementation
return false;
if (font.Ok())
{
info.fontID = kThemeSpecifiedFont;
- info.font = (CTFontRef) font.MacGetCTFont();
+ info.font = (CTFontRef) font.OSXGetCTFont();
setup = true;
}
}
{
info.fontID = font.MacGetThemeFontID();
- ::TextSize( (short)(font.MacGetFontSize()) ) ;
+ ::TextSize( (short)(font.GetPointSize()) ) ;
::TextFace( font.MacGetFontStyle() ) ;
}
}