diff options
author | Kevin Walzer <kw@codebykevin.com> | 2019-03-07 03:17:35 (GMT) |
---|---|---|
committer | Kevin Walzer <kw@codebykevin.com> | 2019-03-07 03:17:35 (GMT) |
commit | e7619b55d90b8d69afd4424ee4a897553a305427 (patch) | |
tree | 434df46f5f4d26b72c061db54ad2a18a59004ea3 /macosx/tkMacOSXHLEvents.c | |
parent | 7075df40c0a760ccc6276ff9907f8706d7fcaa1d (diff) | |
download | tk-e7619b55d90b8d69afd4424ee4a897553a305427.zip tk-e7619b55d90b8d69afd4424ee4a897553a305427.tar.gz tk-e7619b55d90b8d69afd4424ee4a897553a305427.tar.bz2 |
Fix bug in print doc implementation
Diffstat (limited to 'macosx/tkMacOSXHLEvents.c')
-rw-r--r-- | macosx/tkMacOSXHLEvents.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/tkMacOSXHLEvents.c b/macosx/tkMacOSXHLEvents.c index 9383d96..0bd2d5e 100644 --- a/macosx/tkMacOSXHLEvents.c +++ b/macosx/tkMacOSXHLEvents.c @@ -126,7 +126,7 @@ static int ReallyKillMe(Tcl_Event *eventPtr, int flags); - (void) handlePrintDocumentsEvent: (NSAppleEventDescriptor *)event withReplyEvent: (NSAppleEventDescriptor *)replyEvent { - tkMacOSXProcessFiles(event, replyEvent, _eventInterp, "::tk::mac::PrintDocument"); + tkMacOSXProcessFiles(event, replyEvent, _eventInterp, "::tk::mac::PrintDocument"); } - (void) handleDoScriptEvent: (NSAppleEventDescriptor *)event @@ -429,7 +429,7 @@ TkMacOSXInitAppleEvents( forEventClass:kCoreEventClass andEventID:kAEOpenDocuments]; [aeManager setEventHandler:NSApp - andSelector:@selector(handleOpenDocumentsEvent:withReplyEvent:) + andSelector:@selector(handlePrintDocumentsEvent:withReplyEvent:) forEventClass:kCoreEventClass andEventID:kAEPrintDocuments]; [aeManager setEventHandler:NSApp |