]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/filedlg.cpp
Fixed multiline static texts
[wxWidgets.git] / src / mac / carbon / filedlg.cpp
index 08bce85f1f55e5dd5f04f2848969db0dfc632b74..59807f398d9aba4bd8e2b450ee9bfee982ddf04d 100644 (file)
@@ -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;