Icons on buttons not display in Windows XP.
use warnings;
use strict;
use Win32::GUI();
my $wnd = Win32::GUI::Window->new(
-size => [200, 200]
);
my $ico = Win32::GUI::Icon->new('tick.ico');
my $button = $wnd->AddButton(
-pos => [10, 10],
-size => [100, 24],
-text => 'Ok'
);
$button->SetImage($ico);
$wnd->Center();
$wnd->Show();
Win32::GUI::Dialog;