]> git.saurik.com Git - wxWidgets.git/commitdiff
Applied part of patch [ 774826 ] Background colour and cursor handling
authorJulian Smart <julian@anthemion.co.uk>
Thu, 11 Dec 2003 06:30:50 +0000 (06:30 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Thu, 11 Dec 2003 06:30:50 +0000 (06:30 +0000)
Set correct background for hollow line ends

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

contrib/src/ogl/lines.cpp

index c3a378c13ed72080312ba641e20882c1a1896267..639015bda6710b0d0c35e24379f7434f4f50fdc6 100644 (file)
@@ -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);