diff options
author | B. Stack <bgstack15@gmail.com> | 2023-09-13 13:49:38 -0400 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2023-09-13 13:49:38 -0400 |
commit | 7ed2158034ef5c26eed7fed9aa3c118d79a06fa8 (patch) | |
tree | 979e6628193f88d2140e722a3893321904869896 /wx+/grid.cpp | |
parent | add extra_log.h (diff) | |
download | FreeFileSync-7ed2158034ef5c26eed7fed9aa3c118d79a06fa8.tar.gz FreeFileSync-7ed2158034ef5c26eed7fed9aa3c118d79a06fa8.tar.bz2 FreeFileSync-7ed2158034ef5c26eed7fed9aa3c118d79a06fa8.zip |
add upstream 13.013.0
Diffstat (limited to 'wx+/grid.cpp')
-rw-r--r-- | wx+/grid.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/wx+/grid.cpp b/wx+/grid.cpp index 68f40fb6..8e9fe592 100644 --- a/wx+/grid.cpp +++ b/wx+/grid.cpp @@ -171,7 +171,7 @@ void GridData::drawCellText(wxDC& dc, const wxRect& rect, const std::wstring& te if (extentTrunc.GetWidth() > rect.width) { //unlike Windows Explorer, we truncate UTF-16 correctly: e.g. CJK-Ideograph encodes to TWO wchar_t: utfTo<std::wstring>("\xf0\xa4\xbd\x9c"); - size_t low = 0; //number of unicode chars! + size_t low = 0; //number of Unicode chars! size_t high = unicodeLength(text); // if (high > 1) for (;;) @@ -1991,6 +1991,9 @@ void Grid::setRowHeight(int height) } +int Grid::getRowHeight() const { return rowLabelWin_->getRowHeight(); } + + void Grid::setColumnConfig(const std::vector<Grid::ColAttributes>& attr) { //hold ownership of non-visible columns |