From: Vadim Zeitlin Date: Mon, 14 May 2007 22:55:09 +0000 (+0000) Subject: compilation fix in GetPixelSize() for wxUSE_GRAPHICS_CONTEXT==0 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/5d465013d6a2315a684833ee7c642b2d097f8463 compilation fix in GetPixelSize() for wxUSE_GRAPHICS_CONTEXT==0 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/font.cpp b/src/mac/carbon/font.cpp index fe8a315e25..0fcdd8ad72 100644 --- a/src/mac/carbon/font.cpp +++ b/src/mac/carbon/font.cpp @@ -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 }