Fix some minor paged dialog object issues.

This commit is contained in:
Wayne Stambaugh 2021-12-14 08:14:49 -05:00
parent 2dbc6ef6ca
commit 0bfb5bab02
1 changed files with 2 additions and 4 deletions

View File

@ -133,12 +133,12 @@ void PAGED_DIALOG::finishInitialization()
m_treebook->GetPage( i )->Layout();
}
m_treebook->Fit();
m_treebook->Layout();
m_treebook->Fit();
finishDialogSettings();
Centre( wxBOTH );
Centre( wxBOTH );
}
@ -396,8 +396,6 @@ void PAGED_DIALOG::OnPageChange( wxBookCtrlEvent& event )
m_macHack[ page ] = false;
}
#endif
Layout();
}