=item GetDC()
Returns the DC object associated with the window.
=for html
=back
=head3 Events
=over 4
=for html
=item Paint()
Sent when the Graphic object needs to be repainted.
Note that you need to use GetDC() to get the DC
of the Graphic object where you do your paint
work, and then Validate() the DC to inform Windows
that you painted the DC area (otherwise it will
continue to call the Paint event continuously).
Example:
sub Graphic_Paint {
my $DC = $Window->Graphic->GetDC();
$DC->MoveTo(0, 0);
$DC->LineTo(100, 100);
$DC->Validate();
}
=for html
=back
=cut