[Mac, wx 2.8.1] file dialogs and OS-X packages

Yaron Tadmor YaronT at HumanEyes.com
Mon Jun 25 10:44:07 PDT 2007


Hi,

I noticed that in the file dialog, when creating a save file dialog the
carbon flag kNavSupportPackages is not used, while in open files it is
used.

First, I was wondering if there's a reason for this?

Second, I think that that in both save and open dialogs the usage of
this flag needs to be kept up to the user. Basically this flag says
whether the file dialog will treat packages as files or folders.

For open dialogs, this is good if you want to select a package as
something to open (some applications save their documents as packages).
But in some cases one might like to consider packages as folders. For
example a low-level hex editor might want to allow navigation into a
package to choose one of its real files.

For save dialog, the same logic applies. If my app is using packages as
documents I'd like package to be considered as files. But in some cases
I'd like to allow navigation inside the package.

So ultimately, I'm suggesting a small change allowing to pass this
option somehow. Perhaps as a file dialog flag.

Any thoughts?
Thanx
Yaron Tadmor

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wx-users/attachments/20070625/cd42c24a/attachment.htm


More information about the wx-users mailing list