On 17 mai, 13:48, Vadim Zeitlin <
va...@wxwidgets.org> wrote:
> On Fri, 17 May 2013 00:42:50 -0700 (PDT) ___matthieu___ wrote:
>
> > > Yes. Non-GUI applications use standard Unix conventions while GUI ones
> > > uses OS X-specific conventions under OS X.
>
> > Something bothers me about that :
> > If it is a non-GUI application, then the path should be
> > "$HOME/.appname";
> > here, the path it returns me is "$HOME/appname Preferences".
> > It seems to be a mix between the new path and the old filename.
>
> Ugh, indeed, " Preferences" is added unconditionally under Mac, even in
> wxBase code. This should indeed be fixed. The trouble is that we don't have
> any way to virtualize this currently (i.e. make it work differently in
> wxBase and wxCore), we probably need to extend wxStandardPaths and add some
> GetConfigFileExtension() or BuildConfigFileFromBaseName() method to it.
>
> And, of course, ideally we should be using preferences files in the GUI
> apps and not wxFileConfig at all...