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:
parent
cc86383526
commit
c11d9cb85d
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user