Fixed typo causing multiple file selections to always return the same single name.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
e608d2285c
commit
d1b3039b9f
@ -436,7 +436,7 @@ int wxFileDialog::ShowModal()
|
||||
::AECountItems(&navReply.selection , &count);
|
||||
for (long i = 1; i <= count; ++i)
|
||||
{
|
||||
err = ::AEGetNthPtr(&(navReply.selection), 1, typeFSRef, &theKeyword, &actualType,
|
||||
err = ::AEGetNthPtr(&(navReply.selection), i, typeFSRef, &theKeyword, &actualType,
|
||||
&theFSRef, sizeof(theFSRef), &actualSize);
|
||||
if (err != noErr)
|
||||
break;
|
||||
|
@ -436,7 +436,7 @@ int wxFileDialog::ShowModal()
|
||||
::AECountItems(&navReply.selection , &count);
|
||||
for (long i = 1; i <= count; ++i)
|
||||
{
|
||||
err = ::AEGetNthPtr(&(navReply.selection), 1, typeFSRef, &theKeyword, &actualType,
|
||||
err = ::AEGetNthPtr(&(navReply.selection), i, typeFSRef, &theKeyword, &actualType,
|
||||
&theFSRef, sizeof(theFSRef), &actualSize);
|
||||
if (err != noErr)
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user