summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXDialog.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-05-09 13:50:24 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-05-09 13:50:24 (GMT)
commit882a555db830c6d81763ae58eedfbee540e2316d (patch)
tree7f8f8bb868b76f2eeb1b872ac6b0478e5f0a7d36 /macosx/tkMacOSXDialog.c
parent147082b028ee8e566257822d195e675deff06bd7 (diff)
downloadtk-882a555db830c6d81763ae58eedfbee540e2316d.zip
tk-882a555db830c6d81763ae58eedfbee540e2316d.tar.gz
tk-882a555db830c6d81763ae58eedfbee540e2316d.tar.bz2
unnecessary Tcl_DStringInit(), since Tcl_WinUtfToTChar() already does that.
Diffstat (limited to 'macosx/tkMacOSXDialog.c')
-rw-r--r--macosx/tkMacOSXDialog.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/macosx/tkMacOSXDialog.c b/macosx/tkMacOSXDialog.c
index ca55c60..42cd1e5 100644
--- a/macosx/tkMacOSXDialog.c
+++ b/macosx/tkMacOSXDialog.c
@@ -755,15 +755,15 @@ Tk_GetSaveFileObjCmd(
[label setBordered:NO];
[label setBezeled:NO];
[label setDrawsBackground:NO];
-
+
NSPopUpButton *popupButton = [[NSPopUpButton alloc] initWithFrame:NSMakeRect(50.0, 2, 140, 22.0) pullsDown:NO];
[popupButton addItemsWithTitles:saveFileTypes];
[popupButton setAction:@selector(saveFormat:)];
-
+
[accessoryView addSubview:label];
[accessoryView addSubview:popupButton];
[savepanel setAllowedFileTypes:saveFileTypes];
-
+
[savepanel setAccessoryView:accessoryView];
[savepanel setAllowsOtherFileTypes:YES];
}