summaryrefslogtreecommitdiff
path: root/wx+/graph.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'wx+/graph.cpp')
-rw-r--r--wx+/graph.cpp2
1 files changed, 1 insertions, 1 deletions
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!
bgstack15