From: Jouk Jansen Date: Tue, 9 Oct 2007 09:20:32 +0000 (+0000) Subject: src/X11/font.cpp needs smae change as other wxXXX versions X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/e97e6073b3b999ad8f083cb7ac48ad3bb5728534 src/X11/font.cpp needs smae change as other wxXXX versions git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/x11/font.cpp b/src/x11/font.cpp index 859175c11b..3b0f09338f 100644 --- a/src/x11/font.cpp +++ b/src/x11/font.cpp @@ -325,8 +325,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;