From: Václav Slavík Date: Fri, 15 Jun 2007 09:57:57 +0000 (+0000) Subject: (blind) compilation fix X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/63415a83f7dd40618953e46a98a34604b1dd5b15?hp=8f0b4082f4139ba25052bc09d9944373b7e68176 (blind) compilation fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/gtk1/font.cpp b/src/gtk1/font.cpp index 2125d30012..a8524ccd8b 100644 --- a/src/gtk1/font.cpp +++ b/src/gtk1/font.cpp @@ -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;