]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix in GetPixelSize() for wxUSE_GRAPHICS_CONTEXT==0
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 14 May 2007 22:55:09 +0000 (22:55 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 14 May 2007 22:55:09 +0000 (22:55 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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
-    wxFontBase::GetPixelSize();
+    return wxFontBase::GetPixelSize();
 #endif
 }