static char **CreateFontList(wxChar spacing, int *nFonts)
{
wxString pattern;
- pattern.Printf(_T("-*-*-*-*-*-*-*-*-*-*-%c-*-*-*"), spacing);
+ pattern.Printf(wxT("-*-*-*-*-*-*-*-*-*-*-%c-*-*-*"), spacing);
// get the list of all fonts
return XListFonts((Display *)wxGetDisplay(), pattern, 32767, nFonts);
if ( fixedWidthOnly )
{
bool cont = TRUE;
- fonts = CreateFontList(_T('m'), &nFonts);
+ fonts = CreateFontList(wxT('m'), &nFonts);
if ( fonts )
{
cont = ProcessFamiliesFromFontList(this, fonts, nFonts);
return TRUE;
}
- fonts = CreateFontList(_T('c'), &nFonts);
+ fonts = CreateFontList(wxT('c'), &nFonts);
if ( !fonts )
{
return TRUE;
}
else
{
- fonts = CreateFontList(_T('*'), &nFonts);
+ fonts = CreateFontList(wxT('*'), &nFonts);
if ( !fonts )
{
- wxFAIL_MSG(_T("No fonts at all on this system?"));
+ wxFAIL_MSG(wxT("No fonts at all on this system?"));
return FALSE;
}
{
#if 0
wxString pattern;
- pattern.Printf(_T("-*-%s-*-*-*-*-*-*-*-*-*-*-*-*"),
- family.IsEmpty() ? _T("*") : family.c_str());
+ pattern.Printf(wxT("-*-%s-*-*-*-*-*-*-*-*-*-*-*-*"),
+ family.IsEmpty() ? wxT("*") : family.c_str());
// get the list of all fonts
int nFonts;