Only draw borders if wxSP_3DBORDER specified, as before

Added IsAppThemedEx which _really_ tells you if the app is
themed, and used it in wxRendererNative::GetDefault()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2003-08-01 14:12:55 +00:00
parent d7dd1f1bc8
commit 3255bce320
4 changed files with 23 additions and 2 deletions

View File

@@ -428,7 +428,8 @@ int wxSplitterWindow::GetBorderSize() const
// Draw the sash
void wxSplitterWindow::DrawSash(wxDC& dc)
{
wxRendererNative::Get().DrawSplitterBorder
if (HasFlag(wxSP_3DBORDER))
wxRendererNative::Get().DrawSplitterBorder
(
this,
dc,