test/testmessage.c
changeset 6722 37283d4416e0
parent 6614 92925281e7ca
child 6758 2a218048b45f
     1.1 --- a/test/testmessage.c	Tue Dec 04 19:21:10 2012 -0800
     1.2 +++ b/test/testmessage.c	Fri Dec 07 19:59:30 2012 -0500
     1.3 @@ -49,6 +49,16 @@
     1.4          quit(1);
     1.5      }
     1.6  
     1.7 +    /* Google says this is Traditional Chinese for "beef with broccoli" */
     1.8 +    success = SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_ERROR,
     1.9 +                "UTF-8 Simple MessageBox",
    1.10 +                "Unicode text: '牛肉西蘭花' ...",
    1.11 +                NULL);
    1.12 +    if (success == -1) {
    1.13 +        printf("Error Presenting MessageBox: %s\n", SDL_GetError());
    1.14 +        quit(1);
    1.15 +    }
    1.16 +
    1.17      {
    1.18          const SDL_MessageBoxButtonData buttons[] = {
    1.19              {