From 7ed2158034ef5c26eed7fed9aa3c118d79a06fa8 Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Wed, 13 Sep 2023 13:49:38 -0400 Subject: add upstream 13.0 --- wx+/image_tools.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wx+/image_tools.cpp') diff --git a/wx+/image_tools.cpp b/wx+/image_tools.cpp index 04f7f7ff..7b6d943b 100644 --- a/wx+/image_tools.cpp +++ b/wx+/image_tools.cpp @@ -170,7 +170,7 @@ wxImage zen::createImageFromText(const wxString& text, const wxFont& font, const { wxMemoryDC dc; //the context used for bitmaps setScaleFactor(dc, getDisplayScaleFactor()); - dc.SetFont(font); //the font parameter of GetMultiLineTextExtent() is not evaluated on OS X, wxWidgets 2.9.5, so apply it to the DC directly! + dc.SetFont(font); //the font parameter of GetTextExtent() is not evaluated on OS X, wxWidgets 2.9.5, so apply it to the DC directly! std::vector> lineInfo; //text + extent for (const wxString& line : splitCpy(text, L'\n', SplitOnEmpty::allow)) -- cgit