diff --git a/src/mac/carbon/font.cpp b/src/mac/carbon/font.cpp index d087b7fa65..3df102a89d 100644 --- a/src/mac/carbon/font.cpp +++ b/src/mac/carbon/font.cpp @@ -552,7 +552,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 }