]> git.saurik.com Git - wxWidgets.git/commitdiff
Applied patch [ 1204217 ] [wxMSW] winXP: wxToolbar bad background vs separator lines
authorJulian Smart <julian@anthemion.co.uk>
Sun, 22 May 2005 13:18:33 +0000 (13:18 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Sun, 22 May 2005 13:18:33 +0000 (13:18 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/tbar95.cpp

index 1286461f05f30afe1b34c85cdf8d72b0ad5f63a3..3510019626eae55666f05da477a13a9df9975015 100644 (file)
@@ -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;