git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39268
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
const wxRect& rect,
int flags)
{
+ // store settings
+ wxPen pen(dc.GetPen());
+ wxBrush brush(dc.GetBrush());
+
// white background
dc.SetPen(*wxGREY_PEN);
dc.SetBrush(*wxWHITE_BRUSH);
dc.DrawLine(xMiddle, yMiddle - halfHeight,
xMiddle, yMiddle + halfHeight + 1);
}
+
+ dc.SetPen(pen);
+ dc.SetBrush(brush);
}
// ----------------------------------------------------------------------------