]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed fallback font used in wxFontProperty::OnSetValue()
authorJaakko Salli <jaakko.salli@dnainternet.net>
Sat, 18 Apr 2009 09:56:09 +0000 (09:56 +0000)
committerJaakko Salli <jaakko.salli@dnainternet.net>
Sat, 18 Apr 2009 09:56:09 +0000 (09:56 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/propgrid/advprops.cpp

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