1. Herbert Breunung
  2. WxPerlBook

Commits

Herbert Breunung  committed a112300

fix examples

  • Participants
  • Parent commits dfc323d
  • Branches default

Comments (0)

Files changed (4)

File CREDITS

View file
 
 N: lichtkind
 E: lichtkind@cpan.org
+P: main author
+
+N: frankes
+P: found example bugs

File example/00_start.pl

View file
 
 package App;
 use parent qw(Wx::App);
+use Wx;
 
 sub OnInit {
 	my $app   = shift;
 	1;
 }
 
+package main;
 App->new->MainLoop;

File example/01_golden_button.pl

View file
 
 package App;
 use parent qw(Wx::App);
+use Wx;
 
 sub OnInit {
 	my $app   = shift;

File example/01_golden_win.pl

View file
 
 package App;
 use parent qw(Wx::App);
+use Wx;
 
 sub OnInit {
 	my $app   = shift;