From: Julian Smart Date: Fri, 18 Jul 2008 08:17:14 +0000 (+0000) Subject: Fixed initial layout bug when using dynamically created bitmap on wxGTK X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a8eeee195b4bd3a5244e1528e4b0854129ea1744 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 --- 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;