wxFontInstance *wxFontFaceBase::GetFontInstance(float ptSize, bool aa)
{
- wxASSERT_MSG( m_refCnt > 0, _T("font library not loaded!") );
+ wxASSERT_MSG( m_refCnt > 0, wxT("font library not loaded!") );
for ( wxFontInstanceList::const_iterator i = m_instances->begin();
i != m_instances->end(); ++i )
{
wxFontFace *f = m_faces[type];
- wxCHECK_MSG( f, NULL, _T("no such face in font bundle") );
+ wxCHECK_MSG( f, NULL, wxT("no such face in font bundle") );
f->Acquire();
{
wxASSERT_MSG( font.GetFaceName().empty() ||
GetName().CmpNoCase(font.GetFaceName()) == 0,
- _T("calling GetFaceForFont for incompatible font") );
+ wxT("calling GetFaceForFont for incompatible font") );
int type = FaceType_Regular;
return GetFace((FaceType)i);
}
- wxFAIL_MSG( _T("no face") );
+ wxFAIL_MSG( wxT("no face") );
return NULL;
}