Try to fix issues on Ubuntu/Unity for dialogs which are not displayed: adding GetSizer()->Fit( this ) in some other dialogs

This commit is contained in:
jean-pierre charras
2014-11-19 16:54:36 +01:00
parent 2ab98f76c1
commit ca2b9cee57
2 changed files with 5 additions and 0 deletions
@@ -197,7 +197,10 @@ void DIALOG_PRINT_USING_PRINTER::OnInitDialog( wxInitDialogEvent& event )
pageSetupDialogData.GetPrintData().SetOrientation( pageInfo.GetWxOrientation() );
if ( GetSizer() )
{
GetSizer()->SetSizeHints( this );
GetSizer()->Fit( this );
}
// Rely on the policy in class DIALOG_SHIM, which centers the dialog
// initially during a runtime session but gives user the ability to move it in