|
From: Marcus <li...@wo...> - 2002-07-08 12:02:01
|
I tried the following inside OnInit, but I don't see a file in the
application directory. Has it been created in some mysterious place?
(It didn't write to the registry).
my $pconfig = Wx::FileConfig->new("conftest");
Wx::ConfigBase::Set($pconfig);
my $config = Wx::ConfigBase::Get;
$config->Write( "Fontface", "Arial" );
I also tried adding this first:
$this->SetAppName( "myapp" );
$this->SetVendorName( "mycomp" );
I also tried doing ...new("app","vendor","conftest")...
What's missing?
Thanks,
Marcus
|