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
This commit is contained in:
Julian Smart
2008-07-18 08:17:14 +00:00
parent 4a4a02acd1
commit a8eeee195b

View File

@@ -945,6 +945,9 @@ bool wxWizard::DoLayoutAdaptation()
wxStandardDialogLayoutAdapter::DoFitWithScrolling(this, windows); wxStandardDialogLayoutAdapter::DoFitWithScrolling(this, windows);
// Size event doesn't get sent soon enough on wxGTK
DoLayout();
SetLayoutAdaptationDone(true); SetLayoutAdaptationDone(true);
return true; return true;