]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/font.cpp
tell that there was an error...
[wxWidgets.git] / src / msw / font.cpp
index 25ff0295e3fcabadfc2880e5a4fefdcb6f2ca6f4..918e7c06d28ffad9b7a3e5bf675200792be5d736 100644 (file)
@@ -281,6 +281,9 @@ void wxFontRefData::Init(const wxNativeFontInfo& info, WXHFONT hFont)
 
     m_nativeFontInfoOk = TRUE;
     m_nativeFontInfo = info;
+    // This is the best we can do since we don't have the
+    // correct information at this point.
+    m_family = wxSWISS;
 }
 
 wxFontRefData::~wxFontRefData()