(cherry picked from commit 3f08780)
Setfocus now works on macos dialogs by setting DLGSHIM_USE_SETFOCUS. This option is only enabled __WXMAC__ is defined. FixOSXCancelButtonIssue() is now called inside DIALOG_SHIM::SHOW. All other calls from within the dialogs were removed.