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
This commit is contained in:
@@ -38,6 +38,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "wx/gizmos/splittree.h"
|
#include "wx/gizmos/splittree.h"
|
||||||
|
#include "wx/renderer.h"
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -639,6 +640,12 @@ bool wxThinSplitterWindow::SashHitTest(int x, int y, int WXUNUSED(tolerance))
|
|||||||
|
|
||||||
void wxThinSplitterWindow::DrawSash(wxDC& dc)
|
void wxThinSplitterWindow::DrawSash(wxDC& dc)
|
||||||
{
|
{
|
||||||
|
wxRendererNative::Get().DrawSplitterBorder
|
||||||
|
(
|
||||||
|
this,
|
||||||
|
dc,
|
||||||
|
GetClientRect()
|
||||||
|
);
|
||||||
if ( m_sashPosition == 0 || !m_windowTwo)
|
if ( m_sashPosition == 0 || !m_windowTwo)
|
||||||
return;
|
return;
|
||||||
if (GetWindowStyle() & wxSP_NOSASH)
|
if (GetWindowStyle() & wxSP_NOSASH)
|
||||||
|
Reference in New Issue
Block a user