+ for (auto const& i: _input_groups) {
+ dc.DrawLine (wxPoint(MINIMUM_COLUMN_WIDTH, y), wxPoint(MINIMUM_COLUMN_WIDTH * 2, y));
+ y += (i.to - i.from + 1) * ROW_HEIGHT;
+ }
+ dc.DrawLine (wxPoint(MINIMUM_COLUMN_WIDTH, y), wxPoint(MINIMUM_COLUMN_WIDTH * 2, y));
+
+ /* Group labels and lines; be careful here as wxDCClipper does not restore the old
+ * clipping rectangle after it is destroyed
+ */
+ y = TOP_HEIGHT;
+ for (auto const& i: _input_groups) {