]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/font.cpp
fixed incorrect GetTextExtent for wxTELETYPE font
[wxWidgets.git] / src / mac / font.cpp
index a5df9049a20fa3b8ea2d01e50130f4fd920d1a42..4f26c04f914e3bfab6d22d3655d28981ec364b68 100644 (file)
@@ -18,7 +18,9 @@
 #include "wx/font.h"
 #include "wx/gdicmn.h"
 
+#if !USE_SHARED_LIBRARIES
 IMPLEMENT_DYNAMIC_CLASS(wxFont, wxGDIObject)
+#endif
 
 
 
@@ -77,7 +79,7 @@ void wxFontRefData::MacFindFont()
                                ::GetFNum( "\pTimes" , &m_macFontNum) ;
                                break ;
                        case wxSWISS :
-                               ::GetFNum( "\pHelvetica" , &m_macFontNum) ;
+                               ::GetFNum( "\pGeneva" , &m_macFontNum) ;
                                break ;
                        case wxMODERN :
                                ::GetFNum( "\pMonaco" , &m_macFontNum) ;