From 4a085fca7abbbe738995554956da5a2d9c8d2432 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 14 May 2007 22:57:57 +0000 Subject: [PATCH] compilation fix in GetPixelSize() for wxUSE_GRAPHICS_CONTEXT==0 [backport from HEAD] git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/font.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }