fontFamily = GetFontFamily();
wxFont font(fontSize, fontFamily, fontStyle, fontWeight, underlined, fontFaceName, encoding);
-#ifdef __WXMAC__
- font.SetNoAntiAliasing(true);
-#endif
return font;
}
bool wxTextCtrlBase::DoSaveFile(const wxString& filename, int WXUNUSED(fileType))
{
#if wxUSE_FFILE
- wxFFile file(filename, _T("w"));
+ wxFFile file(filename, wxT("w"));
if ( file.IsOpened() && file.Write(GetValue()) )
{
// if it worked, save for future calls
case WXK_NUMPAD7:
case WXK_NUMPAD8:
case WXK_NUMPAD9:
- ch = (wxChar)(_T('0') + keycode - WXK_NUMPAD0);
+ ch = (wxChar)(wxT('0') + keycode - WXK_NUMPAD0);
break;
case WXK_MULTIPLY:
case WXK_NUMPAD_MULTIPLY:
- ch = _T('*');
+ ch = wxT('*');
break;
case WXK_ADD:
case WXK_NUMPAD_ADD:
- ch = _T('+');
+ ch = wxT('+');
break;
case WXK_SUBTRACT:
case WXK_NUMPAD_SUBTRACT:
- ch = _T('-');
+ ch = wxT('-');
break;
case WXK_DECIMAL:
case WXK_NUMPAD_DECIMAL:
- ch = _T('.');
+ ch = wxT('.');
break;
case WXK_DIVIDE:
case WXK_NUMPAD_DIVIDE:
- ch = _T('/');
+ ch = wxT('/');
break;
case WXK_DELETE:
}
else
{
- ch = _T('\0');
+ ch = wxT('\0');
}
}