]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/tbar95.cpp
reSWIGged
[wxWidgets.git] / src / msw / tbar95.cpp
index 1286461f05f30afe1b34c85cdf8d72b0ad5f63a3..5744077dfa83aa4290ab84e608568403610af116 100644 (file)
@@ -249,8 +249,14 @@ 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.
+        // However, the separators can look ugly and distracting, especially between controls,
+        // so I'm restoring the test and removing the separators again - JACS
+#if 1
         wxUxThemeEngine *p = wxUxThemeEngine::Get();
         if ( !p || !p->IsThemeActive() )
+#endif            
         {
             DWORD dwToolbarStyle;