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
+5 -4
View File
@@ -27,10 +27,11 @@
DIALOG_ENUM_PADS::DIALOG_ENUM_PADS( wxWindow* aParent ) :
DIALOG_ENUM_PADS_BASE( aParent )
{
// Calling SetSizeHints after all widgets are built is mandatory
// to set the correct size of the dialog
GetSizer()->SetSizeHints( this );
Center();
FixOSXCancelButtonIssue();
// Now all widgets have the size fixed, call FinishDialogSettings
FinishDialogSettings();
}