Call wxTopLevelWindow::Layout() rather than DoLayout()

Ideal would be to completely get rid of the DoLayout() method later,
however this method seems to be used in the existing applications, so
for now it needs to be kept.
This commit is contained in:
Vadim Zeitlin
2019-08-22 13:48:07 +02:00
parent 3241e7a850
commit c74a15eded
2 changed files with 5 additions and 5 deletions

View File

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