Help for this page
use strict; use Wx qw/wxSOLID/; ... package main; MGV->new()->MainLoop();
$self->EVT_PAINT( sub{ ... $dc->EndDrawing(); } );