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:
Václav Slavík
2003-12-24 20:23:13 +00:00
parent 71cfd642d3
commit 7845e34a61
2 changed files with 2 additions and 0 deletions

View File

@@ -969,6 +969,7 @@ GdkFont *wxFont::GetInternalFont( float scale ) const
if ( font )
{
M_FONTDATA->m_nativeFontInfo.SetXFontName(xfontname);
M_FONTDATA->InitFromNative();
}
}
}

View File

@@ -969,6 +969,7 @@ GdkFont *wxFont::GetInternalFont( float scale ) const
if ( font )
{
M_FONTDATA->m_nativeFontInfo.SetXFontName(xfontname);
M_FONTDATA->InitFromNative();
}
}
}