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:
Jaakko Salli
2009-04-18 09:56:09 +00:00
parent 29d50f3e8f
commit 9a1eabd485

View File

@@ -660,8 +660,7 @@ void wxFontProperty::OnSetValue()
if ( !font.Ok() ) if ( !font.Ok() )
{ {
font = wxFont(10,wxSWISS,wxNORMAL,wxNORMAL); m_value << *wxNORMAL_FONT;
m_value << font;
} }
} }