diff --git a/src/gtk/font.cpp b/src/gtk/font.cpp index 1047a2f503..a7fed7deca 100644 --- a/src/gtk/font.cpp +++ b/src/gtk/font.cpp @@ -962,7 +962,7 @@ GdkFont *wxFont::GetInternalFont( float scale ) const &xfontname); if ( font ) { - M_FONTDATA->m_nativeFontInfo.ReInit(xfontname); + M_FONTDATA->ReInit(xfontname); } } } diff --git a/src/gtk1/font.cpp b/src/gtk1/font.cpp index 1047a2f503..a7fed7deca 100644 --- a/src/gtk1/font.cpp +++ b/src/gtk1/font.cpp @@ -962,7 +962,7 @@ GdkFont *wxFont::GetInternalFont( float scale ) const &xfontname); if ( font ) { - M_FONTDATA->m_nativeFontInfo.ReInit(xfontname); + M_FONTDATA->ReInit(xfontname); } } }