diff --git a/src/common/dcgraph.cpp b/src/common/dcgraph.cpp index e0baafa06d..e9baee8b7c 100644 --- a/src/common/dcgraph.cpp +++ b/src/common/dcgraph.cpp @@ -752,6 +752,9 @@ void wxGCDCImpl::DoDrawPoint( wxCoord x, wxCoord y ) if (!m_logicalFunctionSupported) return; + wxPen pointPen(m_pen.GetColour()); + wxDCPenChanger penChanger(*GetOwner(), pointPen); + #if defined(__WXMSW__) && wxUSE_GRAPHICS_GDIPLUS // single point path does not work with GDI+ if (m_graphicContext->GetRenderer() == wxGraphicsRenderer::GetGDIPlusRenderer())