summaryrefslogtreecommitdiff
path: root/wx+/grid.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'wx+/grid.cpp')
-rw-r--r--wx+/grid.cpp5
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
bgstack15