From: Mattia B. <mb...@ds...> - 2002-10-10 20:09:57
|
> The following code runs, but the font list is empty. Is there something > else I need to do first? Yes, sorry for giving you bad advice. > Running MSW, NT4. > > use strict; > use Wx qw(:everything); > > my $enum = Wx::FontEnumerator->new; $enum->EnumerateFacenames; > my @fonts = $enum->GetFacenames(); > > foreach (@fonts) { print}; FWIW, this is mentioned in wxFE::GetFacenames documentation. Regards Mattia |