diff options
author | wolfsuit <wolfsuit> | 2003-02-24 19:27:05 (GMT) |
---|---|---|
committer | wolfsuit <wolfsuit> | 2003-02-24 19:27:05 (GMT) |
commit | 5719ab8c9c954eb7784bb352ac645fe811a9662b (patch) | |
tree | a1d1e044b10605e7da3460e603f6166940edb438 | |
parent | 0bd1e26fca31c23206e90ef9bed71483dfcb3982 (diff) | |
download | tk-5719ab8c9c954eb7784bb352ac645fe811a9662b.zip tk-5719ab8c9c954eb7784bb352ac645fe811a9662b.tar.gz tk-5719ab8c9c954eb7784bb352ac645fe811a9662b.tar.bz2 |
2003-02-24 Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>
* tkMacOSXDialog.c (NavServicesGetFile): Fix bug with
kNavCtlSetSelection - control data should be a pointer
not a handle.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | macosx/tkMacOSXDialog.c | 4 |
2 files changed, 8 insertions, 2 deletions
@@ -1,3 +1,9 @@ +2003-02-24 Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de> + + * tkMacOSXDialog.c (NavServicesGetFile): Fix bug with + kNavCtlSetSelection - control data should be a pointer + not a handle. + 2003-02-21 Donal K. Fellows <fellowsd@cs.man.ac.uk> * 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 <Carbon/Carbon.h> @@ -846,7 +846,7 @@ NavServicesGetFile( } if ((selectDescPtr != NULL) && (selectDescPtr->descriptorType != typeNull)) { - NavCustomControl(dialogRef, kNavCtlSetSelection, &selectDescPtr); + NavCustomControl(dialogRef, kNavCtlSetSelection, selectDescPtr); } if ((err = NavDialogRun(dialogRef)) != noErr ){ |