From 1aec343ddbb51a6daf834b0e1d3383acd83f1858 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Thu, 11 Dec 2003 06:30:50 +0000 Subject: [PATCH] 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/branches/WX_2_4_BRANCH@24729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- contrib/src/ogl/lines.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/src/ogl/lines.cpp b/contrib/src/ogl/lines.cpp index b0670b4246..a2f65fc16d 100644 --- a/contrib/src/ogl/lines.cpp +++ b/contrib/src/ogl/lines.cpp @@ -749,7 +749,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);