commit | 5a7015c93c31cb7522e214de75be94d00ff4c35a | [log] [tgz] |
---|---|---|
author | Sam Lantinga <slouken@libsdl.org> | Mon Aug 05 23:52:16 2019 -0700 |
committer | Sam Lantinga <slouken@libsdl.org> | Mon Aug 05 23:52:16 2019 -0700 |
tree | c247f5e41a8d06d9d8063796babbcbd00632b5e6 | |
parent | 97b93a86d66c21d219bc20ea8d5a802e720dc4b8 [diff] |
Fixed bug 4747 - [Patch] SDL_ShowMessageBox ignores BUTTON_RETURNKEY_DEFAULT flag Caleb Cornett SDL_ShowMessageBox on UIKit doesn't do anything special with buttons that are marked with the flag SDL_MESSAGEBOX_BUTTON_RETURNKEY_DEFAULT. According to Apple's documentation on UIAlertController, a button can respond to a return key if it's marked as the preferredAction of the controller. SDL doesn't set a preferredAction currently, so I've attached a patch to fix that.