Reverted change to DrawLine so it doesn't draw the last point (sorry!)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -513,14 +513,14 @@ void wxSashWindow::DrawSash(wxSashEdgePosition edge, wxDC& dc)
|
||||
// Draw a light grey line on the bottom to indicate that the
|
||||
// sash is raised
|
||||
dc.SetPen(lightShadowPen);
|
||||
dc.DrawLine(0, h - GetEdgeMargin(edge), w-1, h - GetEdgeMargin(edge));
|
||||
dc.DrawLine(0, h - GetEdgeMargin(edge), w, h - GetEdgeMargin(edge));
|
||||
}
|
||||
else
|
||||
{
|
||||
// Draw a drak grey line on the top to indicate that the
|
||||
// sash is raised
|
||||
dc.SetPen(mediumShadowPen);
|
||||
dc.DrawLine(1, GetEdgeMargin(edge), w-1, GetEdgeMargin(edge));
|
||||
dc.DrawLine(1, GetEdgeMargin(edge), w, GetEdgeMargin(edge));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user