my $item = Wx::MenuItem->new( $parent ... ); $item->SetBitmap( ... ); $parent->Append( $item );