X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d0b223a1483141d4a6535af46141943f30e5a40b..9ce192d417eb9eb614bcf8510e91dac318706249:/src/generic/sashwin.cpp?ds=sidebyside diff --git a/src/generic/sashwin.cpp b/src/generic/sashwin.cpp index 87a02961b8..a443cc9f07 100644 --- a/src/generic/sashwin.cpp +++ b/src/generic/sashwin.cpp @@ -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)); } } }