Hi,
I do this all the time as I don't want to use registry on windows. Works
fine on 'nix too.
my $localfilename = "~/.foobar/app";
my $config = Wx::FileConfig->new(
$app->GetAppName() ,
$app->GetVendorName() ,
$localfilename,
'',
wxCONFIG_USE_LOCAL_FILE );
Cheers
Mark
Johan Vromans wrote:
I have a package "FooBar" that contains some applications.
I want to use Wx::ConfigBase to maintain persistent settings.
Application "App" will, by default, use config file ~/.app on non-VMS
Unix systems. Since App is part of the FooBar package, I want to use
~/.foobar/app instead.
Can I obtain this behaviour without having to write my own classes?
-- Johan