From f76994f1fb3e25c4563c9d8afce6bbc86701d1d2 Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Tue, 20 Jun 2023 07:46:53 -0400 Subject: add upstream 12.4 --- 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 306d4847..8d3dbea9 100644 --- a/wx+/grid.cpp +++ b/wx+/grid.cpp @@ -1443,7 +1443,7 @@ private: void setMouseHighlight(const std::optional& 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_) -- cgit