From b7fd84915dc0f990d03a91b2666ffc889893bb39 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Thu, 7 Feb 2008 16:42:22 +0000 Subject: [PATCH] Show 3D border on XP Classic theme git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- contrib/src/gizmos/splittree.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/contrib/src/gizmos/splittree.cpp b/contrib/src/gizmos/splittree.cpp index 8f5ed67f10..729ea76f73 100644 --- a/contrib/src/gizmos/splittree.cpp +++ b/contrib/src/gizmos/splittree.cpp @@ -38,6 +38,7 @@ #endif #include "wx/gizmos/splittree.h" +#include "wx/renderer.h" #include /* @@ -639,6 +640,12 @@ bool wxThinSplitterWindow::SashHitTest(int x, int y, int WXUNUSED(tolerance)) void wxThinSplitterWindow::DrawSash(wxDC& dc) { + wxRendererNative::Get().DrawSplitterBorder + ( + this, + dc, + GetClientRect() + ); if ( m_sashPosition == 0 || !m_windowTwo) return; if (GetWindowStyle() & wxSP_NOSASH)