From 3be1862b0f31388a467d23f88967eb8fe35676d0 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Wed, 20 Nov 2019 17:45:30 +0100 Subject: [PATCH] Fix minor wxWidgets alert (with wxWidgets 3.1.3) --- pcbnew/dialogs/dialog_exchange_footprints.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pcbnew/dialogs/dialog_exchange_footprints.cpp b/pcbnew/dialogs/dialog_exchange_footprints.cpp index e177d3c34d..76e5d246c4 100644 --- a/pcbnew/dialogs/dialog_exchange_footprints.cpp +++ b/pcbnew/dialogs/dialog_exchange_footprints.cpp @@ -113,7 +113,8 @@ DIALOG_EXCHANGE_FOOTPRINTS::DIALOG_EXCHANGE_FOOTPRINTS( PCB_EDIT_FRAME* aParent, m_specifiedIDBrowseButton->SetBitmap( KiBitmap( small_library_xpm ) ); m_upperSizer->SetEmptyCellSize( wxSize( 0, 0 ) ); - m_upperSizer->RecalcSizes(); + // The upper sizer has its content modified: re-layout it: + m_upperSizer->Layout(); // initialize match-mode if( m_updateMode )