From 17bcbdbf5621e13ef97a51e5c805e8efa5bf2386 Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Mon, 1 Mar 2021 21:59:19 -0500 Subject: [PATCH] Disable AuiBar fix until dark icon support is ready --- common/tool/action_toolbar.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/common/tool/action_toolbar.cpp b/common/tool/action_toolbar.cpp index 7719822ac5..29c5e67f88 100644 --- a/common/tool/action_toolbar.cpp +++ b/common/tool/action_toolbar.cpp @@ -170,10 +170,14 @@ ACTION_TOOLBAR::ACTION_TOOLBAR( EDA_BASE_FRAME* parent, wxWindowID id, const wxP { m_paletteTimer = new wxTimer( this ); + // Enable this once dark icon switching is available. Without dark theme icons, this just + // makes things (even) harder to see +#ifdef NOTYET #if !wxCHECK_VERSION( 3, 1, 0 ) // Custom art provider makes dark mode work on wx < 3.1 AUI_ART_PROVIDER* newArt = new AUI_ART_PROVIDER(); SetArtProvider( newArt ); +#endif #endif Connect( wxEVT_COMMAND_TOOL_CLICKED, wxAuiToolBarEventHandler( ACTION_TOOLBAR::onToolEvent ),