From b6a42b4ef46622ee554d3d95f58ec666e3b05441 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 7 Feb 2023 10:59:54 +0100 Subject: [PATCH] Remove Mac workaround from wxFont unit test not needed any more After #23144 was fixed, calling DumpFont() doesn't modify the font under Mac any longer, so we don't need to avoid calling it there. --- tests/font/fonttest.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tests/font/fonttest.cpp b/tests/font/fonttest.cpp index 9c5eb41d07..dcf5da2623 100644 --- a/tests/font/fonttest.cpp +++ b/tests/font/fonttest.cpp @@ -489,12 +489,7 @@ TEST_CASE("wxFontList::FindOrCreate", "[font][fontinfo][fontlist]") REQUIRE(font1); REQUIRE(font1->IsOk()); - // There is a bug in wxOSX which results in the font size in points being - // changed (rounded) by the call to GetPixelSize() inside DumpFont(), so we - // can't use it there until #23144 is fixed. -#ifndef __WXMAC__ INFO("Font from font list:" << DumpFont(font1)); -#endif if ( info.IsUsingSizeInPixels() ) CHECK(font1->GetPixelSize().y == pixelSize.y);