From 994ec9e1cba547bed6eef02f996ca2a7beaf777a Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Sun, 23 Jun 2024 16:51:52 -0400 Subject: add upstream 13.7 --- wx+/grid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wx+/grid.cpp') diff --git a/wx+/grid.cpp b/wx+/grid.cpp index 1c8897a1..3665c6cf 100644 --- a/wx+/grid.cpp +++ b/wx+/grid.cpp @@ -163,7 +163,7 @@ void GridData::drawCellText(wxDC& dc, const wxRect& rect, const std::wstring_vie if (extentTrunc.GetWidth() > rect.width) { - //unlike Windows Explorer, we truncate UTF-16 correctly: e.g. CJK-Ideograph encodes to TWO wchar_t: utfTo("\xf0\xa4\xbd\x9c"); + //unlike File Explorer, we truncate UTF-16 correctly: e.g. CJK-Ideograph encodes to TWO wchar_t: utfTo("\xf0\xa4\xbd\x9c"); size_t low = 0; //number of Unicode chars! size_t high = unicodeLength(text); // if (high > 1) -- cgit