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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user