Fixed fallback font used in wxFontProperty::OnSetValue()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
29d50f3e8f
commit
9a1eabd485
@ -660,8 +660,7 @@ void wxFontProperty::OnSetValue()
|
||||
|
||||
if ( !font.Ok() )
|
||||
{
|
||||
font = wxFont(10,wxSWISS,wxNORMAL,wxNORMAL);
|
||||
m_value << font;
|
||||
m_value << *wxNORMAL_FONT;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user