]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed initial layout bug when using dynamically created bitmap on wxGTK
authorJulian Smart <julian@anthemion.co.uk>
Fri, 18 Jul 2008 08:17:14 +0000 (08:17 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Fri, 18 Jul 2008 08:17:14 +0000 (08:17 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/wizard.cpp

index 5fcf9f92070177198f40f35b48026070cbc26504..74e205b81afba3d92bcdc75804f012dc17d076cd 100644 (file)
@@ -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;