From 2d3cddaf52b535e41afe7ad37d636a6258e8991b Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 15 Mar 2002 00:33:38 +0000 Subject: [PATCH] draw toolbar separators in Win32 theme git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/univ/themes/win32.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/univ/themes/win32.cpp b/src/univ/themes/win32.cpp index 3e11c5ff99..9217d0363e 100644 --- a/src/univ/themes/win32.cpp +++ b/src/univ/themes/win32.cpp @@ -2381,7 +2381,11 @@ void wxWin32Renderer::DrawToolBarButton(wxDC& dc, } else // a separator { - // TODO + // leave a small gap aroudn the line, also account for the toolbar + // border itself + DrawVerticalLine(dc, rectOrig.x + rectOrig.width/2, + rectOrig.y + 2*BORDER_THICKNESS, + rectOrig.GetBottom() - BORDER_THICKNESS); } } -- 2.45.2