f



RE: Mac file dialog extensions [2.8.1, Mac OS-X, xCode 2.4.1]

OK, I will fix this, and send a patch.

> -----Original Message-----
> From: Vadim Zeitlin [mailto:vadim@wxwindows.org]
> Sent: Sunday, March 04, 2007 11:38 PM
> To: wx-users@lists.wxwidgets.org
> Subject: Re: Mac file dialog extensions [2.8.1, Mac OS-X, xCode 2.4.1]
>=20
> On Wed, 21 Feb 2007 18:11:23 +0200 Yaron Tadmor <YaronT@HumanEyes.com>
> wrote:
>=20
> 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)?
>=20
>  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.
>=20
>  TIA,
> VZ
>=20
> --
> TT-Solutions: wxWidgets consultancy and technical support
>                http://www.tt-solutions.com/
>=20
>=20
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-users-unsubscribe@lists.wxwidgets.org
> For additional commands, e-mail: wx-users-help@lists.wxwidgets.org
>=20


---------------------------------------------------------------------
To unsubscribe, e-mail: wx-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wx-users-help@lists.wxwidgets.org

0
YaronT
3/5/2007 7:51:14 AM
comp.soft-sys.wxwindows 21076 articles. 0 followers. Post Follow

0 Replies
904 Views

Similar Articles

[PageSpeed] 34

Reply: