From e97e6073b3b999ad8f083cb7ac48ad3bb5728534 Mon Sep 17 00:00:00 2001 From: Jouk Jansen Date: Tue, 9 Oct 2007 09:20:32 +0000 Subject: [PATCH] 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 --- src/x11/font.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;