From a8eeee195b4bd3a5244e1528e4b0854129ea1744 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Fri, 18 Jul 2008 08:17:14 +0000 Subject: [PATCH] Fixed initial layout bug when using dynamically created bitmap on wxGTK git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/wizard.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/generic/wizard.cpp b/src/generic/wizard.cpp index 5fcf9f9207..74e205b81a 100644 --- a/src/generic/wizard.cpp +++ b/src/generic/wizard.cpp @@ -945,6 +945,9 @@ bool wxWizard::DoLayoutAdaptation() wxStandardDialogLayoutAdapter::DoFitWithScrolling(this, windows); + // Size event doesn't get sent soon enough on wxGTK + DoLayout(); + SetLayoutAdaptationDone(true); return true; -- 2.45.2