summaryrefslogtreecommitdiff
path: root/wx+/graph.cpp
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2022-10-11 11:16:39 -0400
committerB. Stack <bgstack15@gmail.com>2022-10-11 11:16:39 -0400
commitcab22f2dc3c5f41b5163f74cbb233e390edff6ff (patch)
treea49cfd729d9793681a57fa6f7409b0f0848e9ede /wx+/graph.cpp
parentMerge branch 'b11.25' into 'master' (diff)
downloadFreeFileSync-cab22f2dc3c5f41b5163f74cbb233e390edff6ff.tar.gz
FreeFileSync-cab22f2dc3c5f41b5163f74cbb233e390edff6ff.tar.bz2
FreeFileSync-cab22f2dc3c5f41b5163f74cbb233e390edff6ff.zip
add upstream 11.26
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 f9094386..bee38e36 100644
--- a/wx+/graph.cpp
+++ b/wx+/graph.cpp
@@ -730,7 +730,7 @@ void Graph2D::render(wxDC& dc) const
//unlike wxDC::DrawRectangle() which just widens inner area!
wxDCPenChanger dummy (dc, wxPen(it->second.fillColor, 1 /*[!] width*/));
wxDCBrushChanger dummy2(dc, it->second.fillColor);
- dc.DrawPolygon(static_cast<int>(points.size()), &points[0]);
+ dc.DrawPolygon(static_cast<int>(points.size()), points.data());
}
//2. draw all currently set mouse selections (including active selection)
bgstack15