From: Andre M. <And...@t-...> - 2006-07-21 10:01:03
|
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 |