src/video/SDL_video.c
changeset 6619 42214b6959c5
parent 6617 3a92812e0c91
child 6620 62fe18dc6841
     1.1 --- a/src/video/SDL_video.c	Tue Oct 30 12:37:57 2012 -0700
     1.2 +++ b/src/video/SDL_video.c	Tue Oct 30 13:44:59 2012 -0700
     1.3 @@ -2844,6 +2844,9 @@
     1.4  #if SDL_VIDEO_DRIVER_COCOA
     1.5  #include "cocoa/SDL_cocoamessagebox.h"
     1.6  #endif
     1.7 +#if SDL_VIDEO_DRIVER_UIKIT
     1.8 +#include "uikit/SDL_uikitmessagebox.h"
     1.9 +#endif
    1.10  #if SDL_VIDEO_DRIVER_X11
    1.11  #include "x11/SDL_x11messagebox.h"
    1.12  #endif
    1.13 @@ -2868,6 +2871,11 @@
    1.14          return 0;
    1.15      }
    1.16  #endif
    1.17 +#if SDL_VIDEO_DRIVER_UIKIT
    1.18 +    if (UIKit_ShowMessageBox(messageboxdata, buttonid) == 0) {
    1.19 +        return 0;
    1.20 +    }
    1.21 +#endif
    1.22  #if SDL_VIDEO_DRIVER_X11
    1.23      if (X11_ShowMessageBox(messageboxdata, buttonid) == 0) {
    1.24          return 0;