From 3e6b658b925081a591744c879449ff0e4e5a7426 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Sun, 6 Dec 2020 14:57:26 +0000 Subject: [PATCH] Use stronger language when talking to wx. --- common/dialog_shim.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/common/dialog_shim.cpp b/common/dialog_shim.cpp index 4b82c4d843..2781eb8a1d 100644 --- a/common/dialog_shim.cpp +++ b/common/dialog_shim.cpp @@ -299,6 +299,7 @@ static void selectAllInTextCtrls( wxWindowList& children ) rect.Inflate( std::max( 0, minSize.x - rect.GetWidth() ), std::max( 0, minSize.y - rect.GetHeight() ) ); + child->SetMinSize( rect.GetSize() ); child->SetSize( rect ); } #endif