Add libwx-perl
[pkg-perl] / deb-src / libwx-perl / libwx-perl-0.96 / XS / ItemContainerImmutable.xs
1 #############################################################################
2
3
4 ## Name:        XS/ItemContainerImmutable.xsp
5
6
7 ## Purpose:     XS for Wx::ItemContainerImmutable
8
9
10 ## Author:      Mattia Barbon
11
12
13 ## Modified by:
14
15
16 ## Created:     14/08/2007
17
18
19 ## RCS-ID:      $Id: ItemContainerImmutable.xsp 2163 2007-08-15 22:46:51Z mbarbon $
20
21
22 ## Copyright:   (c) 2007 Mattia Barbon
23
24
25 ## Licence:     This program is free software; you can redistribute it and/or
26
27
28 ##              modify it under the same terms as Perl itself
29
30
31 #############################################################################
32
33
34 MODULE=Wx
35
36 MODULE=Wx PACKAGE=Wx::ItemContainerImmutable
37
38 unsigned int
39 wxItemContainerImmutable::GetCount()
40
41 bool
42 wxItemContainerImmutable::IsEmpty()
43
44 wxString
45 wxItemContainerImmutable::GetString( n )
46     unsigned int n
47
48
49 void
50 wxItemContainerImmutable::GetStrings()
51   PPCODE:
52     PUTBACK;
53     wxPli_stringarray_push( aTHX_ THIS->GetStrings() );
54     SPAGAIN;
55
56
57 void
58 wxItemContainerImmutable::SetString( n, s )
59     unsigned int n
60     wxString s
61
62
63 int
64 wxItemContainerImmutable::FindString( ... )
65   PPCODE:
66     BEGIN_OVERLOAD()
67 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
68         MATCH_REDISP( wxPliOvl_s_b, FindStringCase )
69 #endif
70         MATCH_REDISP( wxPliOvl_s, FindStringNoCase )
71     END_OVERLOAD( Wx::ItemContainerImmutable::FindString )
72
73
74 int
75 wxItemContainerImmutable::FindStringNoCase( s )
76     wxString s
77   CODE:
78     RETVAL = THIS->FindString( s );
79   OUTPUT: RETVAL
80
81 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
82
83
84 int
85 wxItemContainerImmutable::FindStringCase( s, bCase = false )
86     wxString s
87     bool bCase
88   CODE:
89     RETVAL = THIS->FindString( s, bCase );
90   OUTPUT: RETVAL
91
92 #endif
93
94
95 #if WXPERL_W_VERSION_GE( 2, 6, 0 ) && !defined(WXPERL_IN_COMBOBOX)
96
97
98 void
99 wxItemContainerImmutable::SetSelection( n )
100     int n
101
102 #endif
103
104
105 int
106 wxItemContainerImmutable::GetSelection()
107
108 #if WXPERL_W_VERSION_GE( 2, 6, 0 ) || defined(WXPERL_IN_COMBOBOX)
109
110
111 bool
112 wxItemContainerImmutable::SetStringSelection( s )
113     wxString s
114
115 #endif
116
117
118 wxString
119 wxItemContainerImmutable::GetStringSelection()
120
121 void
122 wxItemContainerImmutable::Select( n )
123     int n
124