From: Stefan Csomor Date: Wed, 17 Sep 2003 21:36:15 +0000 (+0000) Subject: no message X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/4891a3d58e04064c680c360eb275fc05f2efdd1c?ds=sidebyside no message git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/filedlg.cpp b/src/mac/carbon/filedlg.cpp index 0ff9c0e9dc..6347f87577 100644 --- a/src/mac/carbon/filedlg.cpp +++ b/src/mac/carbon/filedlg.cpp @@ -93,7 +93,8 @@ NavEventProc( else if ( inSelector == kNavCBStart ) { #if TARGET_CARBON -#else + // there is no way to set this in the new API + #else if ( data->menuitems ) NavCustomControl(ioParams->context, kNavCtlSelectCustomType, &(*data->menuitems)[data->currentfilter]); #endif @@ -113,9 +114,9 @@ NavEventProc( wxString extension = data->extensions[i].AfterLast('.') ; extension.MakeLower() ; wxString sfilename ; - + #if TARGET_CARBON - wxMacCFStringHolder cfString = NavDialogGetSaveFileName( ioParams->context ) ; + wxMacCFStringHolder cfString( NavDialogGetSaveFileName( ioParams->context ) , false ); sfilename = cfString.AsString() ; #else Str255 filename ; diff --git a/src/mac/filedlg.cpp b/src/mac/filedlg.cpp index 0ff9c0e9dc..6347f87577 100644 --- a/src/mac/filedlg.cpp +++ b/src/mac/filedlg.cpp @@ -93,7 +93,8 @@ NavEventProc( else if ( inSelector == kNavCBStart ) { #if TARGET_CARBON -#else + // there is no way to set this in the new API + #else if ( data->menuitems ) NavCustomControl(ioParams->context, kNavCtlSelectCustomType, &(*data->menuitems)[data->currentfilter]); #endif @@ -113,9 +114,9 @@ NavEventProc( wxString extension = data->extensions[i].AfterLast('.') ; extension.MakeLower() ; wxString sfilename ; - + #if TARGET_CARBON - wxMacCFStringHolder cfString = NavDialogGetSaveFileName( ioParams->context ) ; + wxMacCFStringHolder cfString( NavDialogGetSaveFileName( ioParams->context ) , false ); sfilename = cfString.AsString() ; #else Str255 filename ;