Simply set the relevant variable while changing selection and give the extra control a chance to update. Note that updating the UI currently asserts with the dialog sample if wxOSX_FILEDIALOG_ALWAYS_SHOW_TYPES is 1 (toggable with Ctrl+Cmd+S in the sample), This will be fixed in the next commit.