diff --git a/src/video/cocoa/SDL_cocoaevents.m b/src/video/cocoa/SDL_cocoaevents.m index 52790a92d4..02b0edc5e8 100644 --- a/src/video/cocoa/SDL_cocoaevents.m +++ b/src/video/cocoa/SDL_cocoaevents.m @@ -195,7 +195,7 @@ static void Cocoa_DispatchEvent(NSEvent *theEvent) } } -- (void)windowWillClose:(NSNotification *)notification; +- (void)windowWillClose:(NSNotification *)notification { NSWindow *win = (NSWindow *)[notification object];