#include "wx/os2/private.h"
-#if !USE_SHARED_LIBRARIES
IMPLEMENT_DYNAMIC_CLASS(wxFont, wxGDIObject)
#if wxUSE_PORTABLE_FONTS_IN_MSW
IMPLEMENT_DYNAMIC_CLASS(wxFontNameDirectory, wxObject)
#endif
-#endif
// ----------------------------------------------------------------------------
// wxFontRefData - the internal description of the font
{
// VZ: the old code returned FALSE in this case, but it doesn't seem
// to make sense because the font _was_ created
- wxLogDebug(T("Calling wxFont::RealizeResource() twice"));
+ wxLogDebug(wxT("Calling wxFont::RealizeResource() twice"));
return TRUE;
}
{
case wxSCRIPT:
// ff_family = FF_SCRIPT ;
- ff_face = T("Script") ;
+ ff_face = wxT("Script") ;
break ;
case wxDECORATIVE:
case wxROMAN:
// ff_family = FF_ROMAN;
- ff_face = T("Times New Roman") ;
+ ff_face = wxT("Times New Roman") ;
break;
case wxTELETYPE:
case wxMODERN:
// ff_family = FF_MODERN;
- ff_face = T("Courier New") ;
+ ff_face = wxT("Courier New") ;
break;
case wxSWISS:
// ff_family = FF_SWISS;
- ff_face = T("Arial") ;
+ ff_face = wxT("Arial") ;
break;
case wxDEFAULT:
default:
// ff_family = FF_SWISS;
- ff_face = T("Arial") ;
+ ff_face = wxT("Arial") ;
}
BYTE ff_italic;
break;
default:
- wxFAIL_MSG(T("unknown font slant"));
+ wxFAIL_MSG(wxT("unknown font slant"));
// fall through
case wxNORMAL:
switch ( M_FONTDATA->m_weight )
{
default:
- wxFAIL_MSG(T("unknown font weight"));
+ wxFAIL_MSG(wxT("unknown font weight"));
// fall through
case wxNORMAL:
break;
default:
- wxFAIL_MSG(T("unsupported encoding"));
+ wxFAIL_MSG(wxT("unsupported encoding"));
// fall through
case wxFONTENCODING_SYSTEM:
}
// TODO:
-WXHFONT hFont;
+WXHFONT hFont = 0;
// HFONT hFont = ::CreateFont
// (
// nHeight, // height