From dfc54fb3a5858121a0be5b11617e04836ff41dba Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Wed, 3 Nov 2010 20:42:38 +0100 Subject: [PATCH] Fix issue with new layer box, mainly with wxWidgets 2.9.1 --- pcbnew/toolbars_update_user_interface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/toolbars_update_user_interface.cpp b/pcbnew/toolbars_update_user_interface.cpp index 71148f271f..e0cd18a502 100644 --- a/pcbnew/toolbars_update_user_interface.cpp +++ b/pcbnew/toolbars_update_user_interface.cpp @@ -186,7 +186,7 @@ void WinEDA_PcbFrame::SetToolbars() m_HToolBar->EnableTool( wxID_REDO, state ); syncLayerBox(); PrepareLayerIndicator(); - m_HToolBar->Refresh(); + m_HToolBar->Refresh(true); if( m_OptionsToolBar ) {