]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/font.cpp
process pending wx events before sending idle events
[wxWidgets.git] / src / mac / carbon / font.cpp
index 77a08d785554528eb563b5c06c8d2ca9edd28d6f..0fcdd8ad72ffca1844a475b9d2d6381ad763957d 100644 (file)
@@ -254,6 +254,7 @@ void wxFontRefData::MacFindFont()
                         break ;
 
                     case wxMODERN :
+                    case wxTELETYPE:
                         m_faceName =  wxT("Monaco");
                         break ;
 
@@ -554,7 +555,7 @@ wxSize wxFont::GetPixelSize() const
     dc->GetTextExtent( wxT("g"), &width, &height, NULL, NULL);
     return wxSize((int)width, (int)height);
 #else
-    wxFontBase::GetPixelSize();
+    return wxFontBase::GetPixelSize();
 #endif
 }