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

Vadim Zeitlin vadim at wxwidgets.org
Tue Jun 26 11:30:59 PDT 2007


On Tue, 26 Jun 2007 20:24:57 +0200 Stefan Csomor <csomor at advancedconcepts.ch> wrote:

SC> you mean a method to indicate 'treat packages as folders' as a instance
SC> method on a dialog or as a static method. The problem with instance
SC> methods would be that the one-liners like wxFileSelector (although if
SC> you pass all params this won't fit onto one line;-) wouldn't be
SC> supported,

 I'd suggest doing the same thing as for wxMessageBox (well, except it's
not done yet, that is), i.e. use wxFileDlgOptions object which would have
the same (instance) methods and which you could pass to wxFileSelector.

SC> therefore I'd slightly lean towards a
SC> wxFD_MAC_ALLOW_OPEN_PACKAGES or something

 Well, we do have a couple of flags left so if we must do it like this,
it's ok too but I find the flag name a bit confusing -- if you call it
"OPEN", what does it do when saving?

 Regards,
VZ

-- 
TT-Solutions: wxWidgets consultancy and technical support
               http://www.tt-solutions.com/





More information about the wx-users mailing list