diff --git a/macosx/SDLMain.m b/macosx/SDLMain.m index 81d9ee599..358ac4425 100644 --- a/macosx/SDLMain.m +++ b/macosx/SDLMain.m @@ -177,7 +177,7 @@ static NSString *getApplicationName(void) - (IBAction) onPrint:(id)sender { macosx.menuAction = 1; - do_print(); + [self sendSDLControlKeystroke:SDLK_p]; macosx.menuAction = 0; }