From fccb76c1f19a08ee0f0db6014cd217a64ba3502f Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Thu, 15 Jul 2021 09:50:54 -0400 Subject: add upstream 11.12 --- wx+/graph.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wx+/graph.cpp') diff --git a/wx+/graph.cpp b/wx+/graph.cpp index 8dec2074..0f9cffef 100644 --- a/wx+/graph.cpp +++ b/wx+/graph.cpp @@ -576,7 +576,7 @@ void Graph2D::render(wxDC& dc) const assert(attr_.yLabelpos == YLabelPos::none || attr_.labelFmtY); //paint graph background (excluding label area) - drawFilledRectangle(dc, graphArea, fastFromDIP(1), getBorderColor(), attr_.colorBack); + drawInsetRectangle(dc, graphArea, fastFromDIP(1), getBorderColor(), attr_.colorBack); graphArea.Deflate(fastFromDIP(1)); //set label areas respecting graph area border! -- cgit