Fix layout of error dialog TLW.

Thanks Leland for the suggested fix.
Works OK on Linux, please test on other platforms.
This commit is contained in:
Steve Daulton 2015-07-31 12:09:02 +01:00
parent a9b6d2382c
commit f756b0d4d7
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ ErrorDialog::ErrorDialog(
S.EndVerticalLay();
Layout();
Fit();
GetSizer()->Fit(this);
SetMinSize(GetSize());
Center();