Does wx have any functionality for app/user files? Topic is solved

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
JohnD
Earned some good credits
Earned some good credits
Posts: 118
Joined: Fri Nov 21, 2008 2:18 pm

Does wx have any functionality for app/user files?

Post by JohnD » Mon Apr 20, 2009 2:54 pm

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.

Auria
Site Admin
Site Admin
Posts: 6695
Joined: Thu Sep 28, 2006 12:23 am
Contact:

Post by Auria » Mon Apr 20, 2009 2:57 pm


Frank
Filthy Rich wx Solver
Filthy Rich wx Solver
Posts: 211
Joined: Sat Jan 01, 2005 6:19 pm

Post by Frank » Mon Apr 20, 2009 2:58 pm

wxStandardPaths::GetUserConfigDir()
and
wxStandardPaths::GetUserLocalDataDir()

seems to be what your're looking for.

Post Reply