]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/font.cpp
1. libunicows support in configure
[wxWidgets.git] / src / msw / font.cpp
index 2df27bb969eec459694eef08c90d8b26df570a14..56778e8b8b24e87c900cb3a7b9d296e717b92bcd 100644 (file)
@@ -465,7 +465,7 @@ void wxNativeFontInfo::SetUnderlined(bool underlined)
 
 void wxNativeFontInfo::SetFaceName(wxString facename)
 {
-    wxStrncpy(lf.lfFaceName, facename, sizeof(lf.lfFaceName));
+    wxStrncpy(lf.lfFaceName, facename, sizeof(lf.lfFaceName)/sizeof(WCHAR));
 }
 
 void wxNativeFontInfo::SetFamily(wxFontFamily family)
@@ -482,7 +482,7 @@ void wxNativeFontInfo::SetFamily(wxFontFamily family)
 
         case wxDECORATIVE:
             ff_family = FF_DECORATIVE;
-            facename = _T("Wingdings");
+            facename = _T("Old English Text MT");
             break;
 
         case wxROMAN: