diff --git a/pcbnew/footprint_edit_frame.cpp b/pcbnew/footprint_edit_frame.cpp index 759fb65ea1..4bf3502eaa 100644 --- a/pcbnew/footprint_edit_frame.cpp +++ b/pcbnew/footprint_edit_frame.cpp @@ -201,7 +201,13 @@ FOOTPRINT_EDIT_FRAME::FOOTPRINT_EDIT_FRAME( KIWAY* aKiway, wxWindow* aParent, m_infoBar = new WX_INFOBAR( this, &m_auimgr ); m_auimgr.SetManagedWindow( this ); - m_auimgr.SetFlags( wxAUI_MGR_DEFAULT | wxAUI_MGR_LIVE_RESIZE ); + + unsigned int auiFlags = wxAUI_MGR_DEFAULT; +#if !defined( _WIN32 ) + // Windows cannot redraw the UI fast enough during a live resize and may lead to all kinds of graphical glitches + auiFlags |= wxAUI_MGR_LIVE_RESIZE ); +#endif + m_auimgr.SetFlags( auiFlags ); // Horizontal items; layers 4 - 6 m_auimgr.AddPane( m_mainToolBar, EDA_PANE().HToolbar().Name( "MainToolbar" ).Top().Layer( 6 ) ); diff --git a/pcbnew/pcb_edit_frame.cpp b/pcbnew/pcb_edit_frame.cpp index 86a6b81f4e..607802cfb2 100644 --- a/pcbnew/pcb_edit_frame.cpp +++ b/pcbnew/pcb_edit_frame.cpp @@ -227,7 +227,13 @@ PCB_EDIT_FRAME::PCB_EDIT_FRAME( KIWAY* aKiway, wxWindow* aParent ) : m_appearancePanel = new APPEARANCE_CONTROLS( this, GetCanvas() ); m_auimgr.SetManagedWindow( this ); - m_auimgr.SetFlags( wxAUI_MGR_DEFAULT | wxAUI_MGR_LIVE_RESIZE ); + + unsigned int auiFlags = wxAUI_MGR_DEFAULT; +#if !defined( _WIN32 ) + // Windows cannot redraw the UI fast enough during a live resize and may lead to all kinds of graphical glitches + auiFlags |= wxAUI_MGR_LIVE_RESIZE ); +#endif + m_auimgr.SetFlags( auiFlags ); // Horizontal items; layers 4 - 6 m_auimgr.AddPane( m_mainToolBar,