From 5719ab8c9c954eb7784bb352ac645fe811a9662b Mon Sep 17 00:00:00 2001 From: wolfsuit Date: Mon, 24 Feb 2003 19:27:05 +0000 Subject: 2003-02-24 Benjamin Riefenstahl * tkMacOSXDialog.c (NavServicesGetFile): Fix bug with kNavCtlSetSelection - control data should be a pointer not a handle. --- ChangeLog | 6 ++++++ macosx/tkMacOSXDialog.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index c0616d8..e963580 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-02-24 Benjamin Riefenstahl + + * tkMacOSXDialog.c (NavServicesGetFile): Fix bug with + kNavCtlSetSelection - control data should be a pointer + not a handle. + 2003-02-21 Donal K. Fellows * library/clrpick.tcl (color::BuildDialog): diff --git a/macosx/tkMacOSXDialog.c b/macosx/tkMacOSXDialog.c index 3decc8a..6232e64 100644 --- a/macosx/tkMacOSXDialog.c +++ b/macosx/tkMacOSXDialog.c @@ -9,7 +9,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkMacOSXDialog.c,v 1.2 2002/08/31 06:12:29 das Exp $ + * RCS: @(#) $Id: tkMacOSXDialog.c,v 1.3 2003/02/24 19:27:08 wolfsuit Exp $ */ #include @@ -846,7 +846,7 @@ NavServicesGetFile( } if ((selectDescPtr != NULL) && (selectDescPtr->descriptorType != typeNull)) { - NavCustomControl(dialogRef, kNavCtlSetSelection, &selectDescPtr); + NavCustomControl(dialogRef, kNavCtlSetSelection, selectDescPtr); } if ((err = NavDialogRun(dialogRef)) != noErr ){ -- cgit v0.12