From e289f578471893be518d8f680f3675ebee889c81 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Sun, 22 May 2005 13:18:33 +0000 Subject: [PATCH] Applied patch [ 1204217 ] [wxMSW] winXP: wxToolbar bad background vs separator lines git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/tbar95.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/msw/tbar95.cpp b/src/msw/tbar95.cpp index 1286461f05..3510019626 100644 --- a/src/msw/tbar95.cpp +++ b/src/msw/tbar95.cpp @@ -249,8 +249,12 @@ bool wxToolBar::Create(wxWindow *parent, #if wxUSE_UXTHEME if ( style & wxTB_FLAT ) { + // Testing for an active theme appears to be unnecessary (see comments in patch 1204217). + // Disabling the test brings back separator lines. +#if 0 wxUxThemeEngine *p = wxUxThemeEngine::Get(); if ( !p || !p->IsThemeActive() ) +#endif { DWORD dwToolbarStyle; -- 2.47.2