no message

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2003-09-17 21:36:15 +00:00
parent 48748ed497
commit 4891a3d58e
2 changed files with 8 additions and 6 deletions

View File

@@ -93,7 +93,8 @@ NavEventProc(
else if ( inSelector == kNavCBStart ) else if ( inSelector == kNavCBStart )
{ {
#if TARGET_CARBON #if TARGET_CARBON
#else // there is no way to set this in the new API
#else
if ( data->menuitems ) if ( data->menuitems )
NavCustomControl(ioParams->context, kNavCtlSelectCustomType, &(*data->menuitems)[data->currentfilter]); NavCustomControl(ioParams->context, kNavCtlSelectCustomType, &(*data->menuitems)[data->currentfilter]);
#endif #endif
@@ -115,7 +116,7 @@ NavEventProc(
wxString sfilename ; wxString sfilename ;
#if TARGET_CARBON #if TARGET_CARBON
wxMacCFStringHolder cfString = NavDialogGetSaveFileName( ioParams->context ) ; wxMacCFStringHolder cfString( NavDialogGetSaveFileName( ioParams->context ) , false );
sfilename = cfString.AsString() ; sfilename = cfString.AsString() ;
#else #else
Str255 filename ; Str255 filename ;

View File

@@ -93,7 +93,8 @@ NavEventProc(
else if ( inSelector == kNavCBStart ) else if ( inSelector == kNavCBStart )
{ {
#if TARGET_CARBON #if TARGET_CARBON
#else // there is no way to set this in the new API
#else
if ( data->menuitems ) if ( data->menuitems )
NavCustomControl(ioParams->context, kNavCtlSelectCustomType, &(*data->menuitems)[data->currentfilter]); NavCustomControl(ioParams->context, kNavCtlSelectCustomType, &(*data->menuitems)[data->currentfilter]);
#endif #endif
@@ -115,7 +116,7 @@ NavEventProc(
wxString sfilename ; wxString sfilename ;
#if TARGET_CARBON #if TARGET_CARBON
wxMacCFStringHolder cfString = NavDialogGetSaveFileName( ioParams->context ) ; wxMacCFStringHolder cfString( NavDialogGetSaveFileName( ioParams->context ) , false );
sfilename = cfString.AsString() ; sfilename = cfString.AsString() ;
#else #else
Str255 filename ; Str255 filename ;