Help for this page

Select Code to Download


  1. or download this
        my $dc = new Wx::ClientDC($frame);
        $dc->DrawLine(...);
    
  2. or download this
        use Wx::Event 'EVT_PAINT';
        EVT_PAINT($frame, \&OnPaint);
    ...
            my $dc = new Wx::PaintDC($frame);
            $dc->DrawLine(...);
        }