line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Wx::App::AnnualCal; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
82310
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
44
|
|
4
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
11
|
|
|
1
|
|
|
|
|
45
|
|
5
|
|
|
|
|
|
|
|
6
|
1
|
|
|
1
|
|
406
|
use Wx 0.990 qw(:frame); |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
use base qw(Wx::App); |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
use lib qw(../../../lib); |
10
|
|
|
|
|
|
|
use Wx::App::AnnualCal::MyFrame; |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
my $VERSION = 0.92; |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
################################################## |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
sub OnInit |
17
|
|
|
|
|
|
|
{ |
18
|
|
|
|
|
|
|
my $frame = Wx::App::AnnualCal::MyFrame->new |
19
|
|
|
|
|
|
|
( |
20
|
|
|
|
|
|
|
undef, # parent window |
21
|
|
|
|
|
|
|
-1, # default id value |
22
|
|
|
|
|
|
|
'Annual Calendar', # title |
23
|
|
|
|
|
|
|
[-1,-1], # default position |
24
|
|
|
|
|
|
|
[-1,-1], # default size |
25
|
|
|
|
|
|
|
wxDEFAULT_FRAME_STYLE, # frame style |
26
|
|
|
|
|
|
|
); |
27
|
|
|
|
|
|
|
$frame->build(); # creates calendar |
28
|
|
|
|
|
|
|
$frame->Center(wxBOTH); # center frame on screen |
29
|
|
|
|
|
|
|
$frame->Show(1); # displays calendar |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
return(1); |
32
|
|
|
|
|
|
|
} |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
# * * * |
35
|
|
|
|
|
|
|
# |
36
|
|
|
|
|
|
|
# Input for Dist::Zilla::Pod::Weaver plugin to create POD documentation. |
37
|
|
|
|
|
|
|
# |
38
|
|
|
|
|
|
|
# * * * |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
#ABSTRACT: the main module of the AnnualCal distribution |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
1; |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
__END__ |