Created
May 1, 2011 22:42
-
-
Save alyx/950963 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl -w -- | |
# generated by wxGlade 0.6.3 on Sun Apr 24 21:53:14 2011 | |
# To get wxPerl visit http://wxPerl.sourceforge.net/ | |
use Wx 0.15 qw[:allclasses]; | |
use strict; | |
package MyUnicorns; | |
use base qw(Wx::App); | |
use strict; | |
use MyDialog; | |
sub OnInit { | |
my( $self ) = shift; | |
Wx::InitAllImageHandlers(); | |
my $dialog_1 = MyDialog->new(); | |
$self->SetTopWindow($dialog_1); | |
$dialog_1->Show(1); | |
return 1; | |
} | |
# end of class MyUnicorns | |
package main; | |
unless(caller){ | |
my $Unicorns = MyUnicorns->new(); | |
$Unicorns->MainLoop(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment