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
------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief surveys
-- and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
wxperl-users mailing list
wxperl-users lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxperl-use
rs
|