src/video/cocoa/SDL_cocoamessagebox.m
changeset 6639 c7e81fae23c4
parent 6626 4aa5af31f2f9
child 6714 146d1d7ecdc4
     1.1 --- a/src/video/cocoa/SDL_cocoamessagebox.m	Fri Nov 02 15:22:37 2012 -0400
     1.2 +++ b/src/video/cocoa/SDL_cocoamessagebox.m	Fri Nov 02 16:48:47 2012 -0400
     1.3 @@ -37,6 +37,8 @@
     1.4  int
     1.5  Cocoa_ShowMessageBox(const SDL_MessageBoxData *messageboxdata, int *buttonid)
     1.6  {
     1.7 +    Cocoa_RegisterApp();
     1.8 +
     1.9      NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
    1.10  
    1.11      NSAlert* alert = [[NSAlert alloc] init];