]> git.saurik.com Git - wxWidgets.git/commitdiff
Added a flag to enable selecting .app bundles (programs) from the file open dialog.
authorKevin Ollivier <kevino@theolliviers.com>
Fri, 13 Aug 2004 15:49:24 +0000 (15:49 +0000)
committerKevin Ollivier <kevino@theolliviers.com>
Fri, 13 Aug 2004 15:49:24 +0000 (15:49 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/filedlg.cpp

index 3385b176a9d5ac751524783e2080fd4fceb19e2e..9c7cd9f6b41feee17fd0f70ce52850ad58042da7 100644 (file)
@@ -419,6 +419,10 @@ int wxFileDialog::ShowModal()
     }
     else
     {
+    
+        //let people select bundles/programs in dialogs
+        dialogCreateOptions.optionFlags |= kNavSupportPackages;
+    
         navFilterUPP = NewNavObjectFilterUPP(CrossPlatformFilterCallback);
         err = ::NavCreateGetFileDialog(&dialogCreateOptions,
                                        NULL, // NavTypeListHandle