Hi,
how can I use the icons supplied by wxMimeTypeManager ?
I tried :
my $hFileType =
Wx::MimeTypesManager->new()->GetFileTypeFromExtension($suffix);
my $hIconLocation = $hFileType->GetIcon();
my $hIcon = Wx::Icon->new($hIconLocation->GetFileName());
or
my $hIcon = Wx::Icon->new($hIconLocation);
But the constructor for Wx::Icon seems to miss the overloading function
and the function GetFileName isnt implemented either. Is there another
way to use the icons from the MimeTypeManger ?
Greetings,
Andre
|