no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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 ;
|
||||||
|
@@ -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 ;
|
||||||
|
Reference in New Issue
Block a user