From: Julian Smart Date: Thu, 11 Dec 2003 06:30:50 +0000 (+0000) Subject: Applied part of patch [ 774826 ] Background colour and cursor handling X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/52a73e5fe89b2681a31b782236ca3e7742c94050?ds=inline Applied part of patch [ 774826 ] Background colour and cursor handling Set correct background for hollow line ends git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/contrib/src/ogl/lines.cpp b/contrib/src/ogl/lines.cpp index c3a378c13e..639015bda6 100644 --- a/contrib/src/ogl/lines.cpp +++ b/contrib/src/ogl/lines.cpp @@ -745,7 +745,7 @@ void wxLineShape::DrawArrow(wxDC& dc, wxArrowHead *arrow, double xOffset, bool p dc.SetPen(* m_pen); if (arrow->_GetType() == ARROW_HOLLOW_CIRCLE) - dc.SetBrush(* g_oglWhiteBackgroundBrush); + dc.SetBrush(GetBackgroundBrush()); else dc.SetBrush(* m_brush);