summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
304c306)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70478
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
const wxScopedCharBuffer data(text.utf8_str());
const wxScopedCharBuffer data(text.utf8_str());
- size_t datalen = strlen(data);
- pango_layout_set_text( m_layout, data, datalen);
-
- const bool
- setAttrs = wxGTKPrivate::SetPangoAttrsForFont(m_font, m_layout, datalen);
+ pango_layout_set_text(m_layout, data, data.length());
+ const bool setAttrs = m_font.GTKSetPangoAttrs(m_layout);
if (m_textForegroundColour.IsOk())
{
if (m_textForegroundColour.IsOk())
{