git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71934
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxArrayString fileNames;
for (i = 1; i <= itemsInList; i++)
{
wxArrayString fileNames;
for (i = 1; i <= itemsInList; i++)
{
&docList, i, typeFSRef, &keywd, &returnedType,
(Ptr)&theRef, sizeof(theRef), &actualSize);
&docList, i, typeFSRef, &keywd, &returnedType,
(Ptr)&theRef, sizeof(theRef), &actualSize);
+
+ if ( err != noErr)
+ return err;
+
fName = wxMacFSRefToPath( &theRef ) ;
fileNames.Add(fName);
fName = wxMacFSRefToPath( &theRef ) ;
fileNames.Add(fName);