From 5d465013d6a2315a684833ee7c642b2d097f8463 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 14 May 2007 22:55:09 +0000 Subject: [PATCH] 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 --- 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 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 } -- 2.45.2