Mac file dialog extensions [2.8.1, Mac OS-X, xCode 2.4.1]
Yaron Tadmor
YaronT at HumanEyes.com
Sun Mar 4 23:51:14 PST 2007
OK, I will fix this, and send a patch.
> -----Original Message-----
> From: Vadim Zeitlin [mailto:vadim at wxwindows.org]
> Sent: Sunday, March 04, 2007 11:38 PM
> To: wx-users at lists.wxwidgets.org
> Subject: Re: Mac file dialog extensions [2.8.1, Mac OS-X, xCode 2.4.1]
>
> On Wed, 21 Feb 2007 18:11:23 +0200 Yaron Tadmor <YaronT at HumanEyes.com>
> wrote:
>
> YT> Looking at the code in Mac/Carbon/FileDlg.cpp, at NavEventProc, in
> YT> response to the kNavCBPopupMenuSelect event, I noticed that the
code
> YT> takes the LAST extension from the filter and attaches it to the
file.
> YT>
> YT> I find this a bit strange, and I would expect the FIRST extension
of
> YT> each file type to be the most dominant one, so that it's used as
the
> YT> default extension if none is supplied.
> YT>
> YT> Is there any reason for using the last extension (other than a
> slightly
> YT> simpler code)?
>
> I don't think so. If you can make a patch fixing this problem (please
see
> http://www.wxwidgets.org/technote/patches.htm) it would be
appreciated.
>
> TIA,
> VZ
>
> --
> TT-Solutions: wxWidgets consultancy and technical support
> http://www.tt-solutions.com/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wx-users-help at lists.wxwidgets.org
>
More information about the wx-users
mailing list