(blind) compilation fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík 2007-06-15 09:57:57 +00:00
parent 8f0b4082f4
commit 63415a83f7

View File

@ -215,8 +215,8 @@ void wxFontRefData::InitFromNative()
}
}
switch ( wxToupper(*m_nativeFontInfo.
GetXFontComponent(wxXLFD_SLANT).c_str()) )
switch ( wxToupper(m_nativeFontInfo.
GetXFontComponent(wxXLFD_SLANT)[0u]).GetValue() )
{
case _T('I'): // italique
m_style = wxFONTSTYLE_ITALIC;