refinemenst in dialogs and OSX Cancel button fix

This commit is contained in:
jean-pierre charras
2016-07-18 17:54:41 +02:00
parent f83a76a970
commit defac5272b
10 changed files with 57 additions and 28 deletions
+4 -5
View File
@@ -106,13 +106,12 @@ public:
m_IDF_Yref->Enable( true );
}
wxWindow* button = FindWindowByLabel( wxT( "OK" ) );
m_sdbSizerOK->SetDefault();
if( button )
SetDefaultItem( button );
FixOSXCancelButtonIssue();
GetSizer()->SetSizeHints( this );
Centre();
// Now all widgets have the size fixed, call FinishDialogSettings
FinishDialogSettings();
}
~DIALOG_EXPORT_IDF3()