From f756b0d4d73cec80d34509dd3d88ee1323555640 Mon Sep 17 00:00:00 2001 From: Steve Daulton Date: Fri, 31 Jul 2015 12:09:02 +0100 Subject: [PATCH] Fix layout of error dialog TLW. Thanks Leland for the suggested fix. Works OK on Linux, please test on other platforms. --- src/widgets/ErrorDialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/ErrorDialog.cpp b/src/widgets/ErrorDialog.cpp index 6efa780e6..b9810b75b 100644 --- a/src/widgets/ErrorDialog.cpp +++ b/src/widgets/ErrorDialog.cpp @@ -102,7 +102,7 @@ ErrorDialog::ErrorDialog( S.EndVerticalLay(); Layout(); - Fit(); + GetSizer()->Fit(this); SetMinSize(GetSize()); Center();