diff options
Diffstat (limited to 'wx+/grid.cpp')
-rw-r--r-- | wx+/grid.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wx+/grid.cpp b/wx+/grid.cpp index 306d4847..8d3dbea9 100644 --- a/wx+/grid.cpp +++ b/wx+/grid.cpp @@ -1443,7 +1443,7 @@ private: void setMouseHighlight(const std::optional<MouseHighlight>& hl) { - assert(!hl || hl->row < refParent().getRowCount() && hl->rowHover != HoverArea::none); + assert(!hl || (hl->row < refParent().getRowCount() && hl->rowHover != HoverArea::none)); if (highlight_ != hl) { if (highlight_) |