]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/font.cpp
Added extra width for controls to avoid edge being clipped
[wxWidgets.git] / src / mac / carbon / font.cpp
index fe8a315e25a9ad7d58437cda7cf616f235a9d13c..0fcdd8ad72ffca1844a475b9d2d6381ad763957d 100644 (file)
@@ -555,7 +555,7 @@ wxSize wxFont::GetPixelSize() const
     dc->GetTextExtent( wxT("g"), &width, &height, NULL, NULL);
     return wxSize((int)width, (int)height);
 #else
     dc->GetTextExtent( wxT("g"), &width, &height, NULL, NULL);
     return wxSize((int)width, (int)height);
 #else
-    wxFontBase::GetPixelSize();
+    return wxFontBase::GetPixelSize();
 #endif
 }
 
 #endif
 }