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