]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/font.cpp
Added missing URL attribute testing
[wxWidgets.git] / src / mac / carbon / font.cpp
index fe8a315e25a9ad7d58437cda7cf616f235a9d13c..90f88f2d00f55d9aa9bfb5d711dafeaa50c4e619 100644 (file)
@@ -36,7 +36,7 @@ IMPLEMENT_DYNAMIC_CLASS(wxFont, wxGDIObject)
 
 class WXDLLEXPORT wxFontRefData: public wxGDIRefData
 {
-    friend class WXDLLEXPORT wxFont;
+    friend class wxFont;
 
 public:
     wxFontRefData()
@@ -555,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
 }