From c11d9cb85d5d3ee71ef8d1de7d7b559615e0a3ff Mon Sep 17 00:00:00 2001 From: Kevin Ollivier Date: Fri, 13 Aug 2004 15:49:24 +0000 Subject: [PATCH] Added a flag to enable selecting .app bundles (programs) from the file open dialog. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/filedlg.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mac/carbon/filedlg.cpp b/src/mac/carbon/filedlg.cpp index 3385b176a9..9c7cd9f6b4 100644 --- a/src/mac/carbon/filedlg.cpp +++ b/src/mac/carbon/filedlg.cpp @@ -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