Page 1 of 1

Does wx have any functionality for app/user files?

Posted: Mon Apr 20, 2009 2:54 pm
by JohnD
Our app needs to create save-files and user preferences etc. We run on MSW & Mac platforms and I figure MacOs has a standard way to store app files, I know MSW does.
Just wondered if wx happens by luck to have any functionality in this area to save me writing cross-platform C++ code? If not, any general advice is more than welcome.

Posted: Mon Apr 20, 2009 2:57 pm
by Auria

Posted: Mon Apr 20, 2009 2:58 pm
by Frank
wxStandardPaths::GetUserConfigDir()
and
wxStandardPaths::GetUserLocalDataDir()

seems to be what your're looking for.