Center paged dialog after lazy-loading first page.
This commit is contained in:
parent
460e609619
commit
f28d29ce1a
|
@ -261,7 +261,10 @@ bool DIALOG_SHIM::Show( bool show )
|
|||
}
|
||||
}
|
||||
else if( m_initialSize != wxDefaultSize )
|
||||
{
|
||||
SetSize( m_initialSize );
|
||||
Centre();
|
||||
}
|
||||
|
||||
// Be sure that the dialog appears in a visible area
|
||||
// (the dialog position might have been stored at the time when it was
|
||||
|
|
|
@ -159,8 +159,6 @@ void PAGED_DIALOG::finishInitialization()
|
|||
m_treebook->Fit();
|
||||
|
||||
finishDialogSettings();
|
||||
|
||||
Centre( wxBOTH );
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue