backport of initialization from xfont fix (patch #863847)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@25008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -969,6 +969,7 @@ GdkFont *wxFont::GetInternalFont( float scale ) const
|
|||||||
if ( font )
|
if ( font )
|
||||||
{
|
{
|
||||||
M_FONTDATA->m_nativeFontInfo.SetXFontName(xfontname);
|
M_FONTDATA->m_nativeFontInfo.SetXFontName(xfontname);
|
||||||
|
M_FONTDATA->InitFromNative();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -969,6 +969,7 @@ GdkFont *wxFont::GetInternalFont( float scale ) const
|
|||||||
if ( font )
|
if ( font )
|
||||||
{
|
{
|
||||||
M_FONTDATA->m_nativeFontInfo.SetXFontName(xfontname);
|
M_FONTDATA->m_nativeFontInfo.SetXFontName(xfontname);
|
||||||
|
M_FONTDATA->InitFromNative();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user