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
This commit is contained in:
Kevin Ollivier 2004-08-13 15:49:24 +00:00
parent cc86383526
commit c11d9cb85d

View File

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