Use default wxPen for DrawPoint in wxGCDC
Match the default wxDC implementations by using a default wxPen with width 1, wxPENSTYLE_SOLID and default join and cap values.
This commit is contained in:
parent
2874dab7f0
commit
4dc5eb9a54
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user