Add libwx-perl
[pkg-perl] / deb-src / libwx-perl / libwx-perl-0.96 / Controls.c
1 /*
2  * This file was generated automatically by ExtUtils::ParseXS version 2.2202 from the
3  * contents of Controls.xs. Do not edit this file, edit Controls.xs instead.
4  *
5  *      ANY CHANGES MADE HERE WILL BE LOST! 
6  *
7  */
8
9 /////////////////////////////////////////////////////////////////////////////
10 // Name:        Controls.xs
11 // Purpose:     XS for Wx::Control and derived classes
12 // Author:      Mattia Barbon
13 // Modified by:
14 // Created:     29/10/2000
15 // RCS-ID:      $Id: Controls.xs 2700 2009-12-13 11:25:50Z mbarbon $
16 // Copyright:   (c) 2000-2009 Mattia Barbon
17 // Licence:     This program is free software; you can redistribute it and/or
18 //              modify it under the same terms as Perl itself
19 /////////////////////////////////////////////////////////////////////////////
20
21 #define PERL_NO_GET_CONTEXT
22
23 #include "cpp/wxapi.h"
24
25 #include <wx/defs.h>
26
27 #include <wx/imaglist.h>
28 #include <wx/event.h>
29 #include <wx/colour.h>
30 #include <wx/listctrl.h>
31 #include <wx/treectrl.h>
32 #include <wx/ctrlsub.h>
33
34 // re-include for client data
35 #include "cpp/helpers.h"
36
37 #define wxDefaultValidatorPtr (wxValidator*)&wxDefaultValidator
38 #define wxBLACKPtr (wxColour*)wxBLACK
39 #define wxNORMAL_FONTPtr (wxFont*)wxNORMAL_FONT
40 #define wxNullBitmapPtr (wxBitmap*) &wxNullBitmap
41 #define wxNullAnimationPtr (wxAnimation*) &wxNullAnimation
42
43 #undef THIS
44
45 #include "cpp/v_cback.h"
46
47 #include "cpp/controls.h"
48 #include "cpp/controls.cpp"
49 #include "cpp/overload.h"
50
51 WXPLI_BOOT_ONCE(Wx_Ctrl);
52 #define boot_Wx_Ctrl wxPli_boot_Wx_Ctrl
53
54 #ifndef PERL_UNUSED_VAR
55 #  define PERL_UNUSED_VAR(var) if (0) var = var
56 #endif
57
58 #ifndef PERL_ARGS_ASSERT_CROAK_XS_USAGE
59 #define PERL_ARGS_ASSERT_CROAK_XS_USAGE assert(cv); assert(params)
60
61 /* prototype to pass -Wmissing-prototypes */
62 STATIC void
63 S_croak_xs_usage(pTHX_ const CV *const cv, const char *const params);
64
65 STATIC void
66 S_croak_xs_usage(pTHX_ const CV *const cv, const char *const params)
67 {
68     const GV *const gv = CvGV(cv);
69
70     PERL_ARGS_ASSERT_CROAK_XS_USAGE;
71
72     if (gv) {
73         const char *const gvname = GvNAME(gv);
74         const HV *const stash = GvSTASH(gv);
75         const char *const hvname = stash ? HvNAME(stash) : NULL;
76
77         if (hvname)
78             Perl_croak(aTHX_ "Usage: %s::%s(%s)", hvname, gvname, params);
79         else
80             Perl_croak(aTHX_ "Usage: %s(%s)", gvname, params);
81     } else {
82         /* Pants. I don't think that it should be possible to get here. */
83         Perl_croak(aTHX_ "Usage: CODE(0x%"UVxf")(%s)", PTR2UV(cv), params);
84     }
85 }
86 #undef  PERL_ARGS_ASSERT_CROAK_XS_USAGE
87
88 #ifdef PERL_IMPLICIT_CONTEXT
89 #define croak_xs_usage(a,b)     S_croak_xs_usage(aTHX_ a,b)
90 #else
91 #define croak_xs_usage          S_croak_xs_usage
92 #endif
93
94 #endif
95
96 /* NOTE: the prototype of newXSproto() is different in versions of perls,
97  * so we define a portable version of newXSproto()
98  */
99 #ifdef newXS_flags
100 #define newXSproto_portable(name, c_impl, file, proto) newXS_flags(name, c_impl, file, proto, 0)
101 #else
102 #define newXSproto_portable(name, c_impl, file, proto) (PL_Sv=(SV*)newXS(name, c_impl, file), sv_setpv(PL_Sv, proto), (CV*)PL_Sv)
103 #endif /* !defined(newXS_flags) */
104
105
106 XS(XS_Wx__Control_Command); /* prototype to pass -Wmissing-prototypes */
107 XS(XS_Wx__Control_Command)
108 {
109 #ifdef dVAR
110     dVAR; dXSARGS;
111 #else
112     dXSARGS;
113 #endif
114     if (items != 2)
115        croak_xs_usage(cv,  "THIS, event");
116     {
117         wxCommandEvent*    event = (wxCommandEvent *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::CommandEvent" );
118         wxControl *    THIS = (wxControl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Control" );
119     THIS->Command( *event );
120     }
121     XSRETURN_EMPTY;
122 }
123
124 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
125 #define XSubPPtmpAAAA 1
126
127
128 XS(XS_Wx__Control_GetLabelText); /* prototype to pass -Wmissing-prototypes */
129 XS(XS_Wx__Control_GetLabelText)
130 {
131 #ifdef dVAR
132     dVAR; dXSARGS;
133 #else
134     dXSARGS;
135 #endif
136     if (items != 1)
137        croak_xs_usage(cv,  "THIS");
138     {
139         wxControl *    THIS = (wxControl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Control" );
140         wxString        RETVAL;
141
142         RETVAL = THIS->GetLabelText();
143         ST(0) = sv_newmortal();
144     WXSTRING_OUTPUT( RETVAL, ST(0) );
145
146     }
147     XSRETURN(1);
148 }
149
150 #endif
151
152 /* INCLUDE:  Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/ControlWithItems.xsp |' from 'Controls.xs' */
153
154
155 /* INCLUDE:  Including 'perl -pe "s/ItemContainerImmutable/ControlWithItems/g" XS/ItemContainerImmutable.xs |' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/ControlWithItems.xsp |' */
156
157
158 XS(XS_Wx__ControlWithItems_GetCount); /* prototype to pass -Wmissing-prototypes */
159 XS(XS_Wx__ControlWithItems_GetCount)
160 {
161 #ifdef dVAR
162     dVAR; dXSARGS;
163 #else
164     dXSARGS;
165 #endif
166     if (items != 1)
167        croak_xs_usage(cv,  "THIS");
168     {
169         wxControlWithItems *    THIS = (wxControlWithItems *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ControlWithItems" );
170         unsigned int    RETVAL;
171         dXSTARG;
172
173         RETVAL = THIS->GetCount();
174         XSprePUSH; PUSHu((UV)RETVAL );
175     }
176     XSRETURN(1);
177 }
178
179
180 XS(XS_Wx__ControlWithItems_IsEmpty); /* prototype to pass -Wmissing-prototypes */
181 XS(XS_Wx__ControlWithItems_IsEmpty)
182 {
183 #ifdef dVAR
184     dVAR; dXSARGS;
185 #else
186     dXSARGS;
187 #endif
188     if (items != 1)
189        croak_xs_usage(cv,  "THIS");
190     {
191         wxControlWithItems *    THIS = (wxControlWithItems *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ControlWithItems" );
192         bool    RETVAL;
193
194         RETVAL = THIS->IsEmpty();
195         ST(0) = boolSV(RETVAL);
196         sv_2mortal(ST(0));
197     }
198     XSRETURN(1);
199 }
200
201
202 XS(XS_Wx__ControlWithItems_GetString); /* prototype to pass -Wmissing-prototypes */
203 XS(XS_Wx__ControlWithItems_GetString)
204 {
205 #ifdef dVAR
206     dVAR; dXSARGS;
207 #else
208     dXSARGS;
209 #endif
210     if (items != 2)
211        croak_xs_usage(cv,  "THIS, n");
212     {
213         unsigned int    n = (unsigned int)SvUV( ST(1) );
214         wxControlWithItems *    THIS = (wxControlWithItems *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ControlWithItems" );
215         wxString        RETVAL;
216
217         RETVAL = THIS->GetString(n);
218         ST(0) = sv_newmortal();
219     WXSTRING_OUTPUT( RETVAL, ST(0) );
220
221     }
222     XSRETURN(1);
223 }
224
225
226 XS(XS_Wx__ControlWithItems_GetStrings); /* prototype to pass -Wmissing-prototypes */
227 XS(XS_Wx__ControlWithItems_GetStrings)
228 {
229 #ifdef dVAR
230     dVAR; dXSARGS;
231 #else
232     dXSARGS;
233 #endif
234     if (items != 1)
235        croak_xs_usage(cv,  "THIS");
236     PERL_UNUSED_VAR(ax); /* -Wall */
237     SP -= items;
238     {
239         wxControlWithItems *    THIS = (wxControlWithItems *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ControlWithItems" );
240     PUTBACK;
241     wxPli_stringarray_push( aTHX_ THIS->GetStrings() );
242     SPAGAIN;
243         PUTBACK;
244         return;
245     }
246 }
247
248
249 XS(XS_Wx__ControlWithItems_SetString); /* prototype to pass -Wmissing-prototypes */
250 XS(XS_Wx__ControlWithItems_SetString)
251 {
252 #ifdef dVAR
253     dVAR; dXSARGS;
254 #else
255     dXSARGS;
256 #endif
257     if (items != 3)
258        croak_xs_usage(cv,  "THIS, n, s");
259     {
260         unsigned int    n = (unsigned int)SvUV( ST(1) );
261         wxString        s;
262         wxControlWithItems *    THIS = (wxControlWithItems *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ControlWithItems" );
263
264     WXSTRING_INPUT( s, wxString, ST(2) );
265
266         THIS->SetString(n, s);
267     }
268     XSRETURN_EMPTY;
269 }
270
271
272 XS(XS_Wx__ControlWithItems_FindString); /* prototype to pass -Wmissing-prototypes */
273 XS(XS_Wx__ControlWithItems_FindString)
274 {
275 #ifdef dVAR
276     dVAR; dXSARGS;
277 #else
278     dXSARGS;
279 #endif
280     if (items < 1)
281        croak_xs_usage(cv,  "THIS, ...");
282     PERL_UNUSED_VAR(ax); /* -Wall */
283     SP -= items;
284     {
285         wxControlWithItems *    THIS = (wxControlWithItems *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ControlWithItems" );
286         int     RETVAL;
287         dXSTARG;
288     BEGIN_OVERLOAD()
289 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
290         MATCH_REDISP( wxPliOvl_s_b, FindStringCase )
291 #endif
292         MATCH_REDISP( wxPliOvl_s, FindStringNoCase )
293     END_OVERLOAD( Wx::ControlWithItems::FindString )
294         PUTBACK;
295         return;
296     }
297 }
298
299
300 XS(XS_Wx__ControlWithItems_FindStringNoCase); /* prototype to pass -Wmissing-prototypes */
301 XS(XS_Wx__ControlWithItems_FindStringNoCase)
302 {
303 #ifdef dVAR
304     dVAR; dXSARGS;
305 #else
306     dXSARGS;
307 #endif
308     if (items != 2)
309        croak_xs_usage(cv,  "THIS, s");
310     {
311         wxString        s;
312         wxControlWithItems *    THIS = (wxControlWithItems *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ControlWithItems" );
313         int     RETVAL;
314         dXSTARG;
315
316     WXSTRING_INPUT( s, wxString, ST(1) );
317     RETVAL = THIS->FindString( s );
318         XSprePUSH; PUSHi((IV)RETVAL);
319     }
320     XSRETURN(1);
321 }
322
323 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
324 #define XSubPPtmpAAAB 1
325
326
327 XS(XS_Wx__ControlWithItems_FindStringCase); /* prototype to pass -Wmissing-prototypes */
328 XS(XS_Wx__ControlWithItems_FindStringCase)
329 {
330 #ifdef dVAR
331     dVAR; dXSARGS;
332 #else
333     dXSARGS;
334 #endif
335     if (items < 2 || items > 3)
336        croak_xs_usage(cv,  "THIS, s, bCase = false");
337     {
338         wxString        s;
339         bool    bCase;
340         wxControlWithItems *    THIS = (wxControlWithItems *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ControlWithItems" );
341         int     RETVAL;
342         dXSTARG;
343
344     WXSTRING_INPUT( s, wxString, ST(1) );
345
346         if (items < 3)
347             bCase = false;
348         else {
349             bCase = (bool)SvTRUE(ST(2));
350         }
351     RETVAL = THIS->FindString( s, bCase );
352         XSprePUSH; PUSHi((IV)RETVAL);
353     }
354     XSRETURN(1);
355 }
356
357 #endif
358 #if WXPERL_W_VERSION_GE( 2, 6, 0 ) && !defined(WXPERL_IN_COMBOBOX)
359 #define XSubPPtmpAAAC 1
360
361
362 XS(XS_Wx__ControlWithItems_SetSelection); /* prototype to pass -Wmissing-prototypes */
363 XS(XS_Wx__ControlWithItems_SetSelection)
364 {
365 #ifdef dVAR
366     dVAR; dXSARGS;
367 #else
368     dXSARGS;
369 #endif
370     if (items != 2)
371        croak_xs_usage(cv,  "THIS, n");
372     {
373         int     n = (int)SvIV(ST(1));
374         wxControlWithItems *    THIS = (wxControlWithItems *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ControlWithItems" );
375
376         THIS->SetSelection(n);
377     }
378     XSRETURN_EMPTY;
379 }
380
381 #endif
382
383 XS(XS_Wx__ControlWithItems_GetSelection); /* prototype to pass -Wmissing-prototypes */
384 XS(XS_Wx__ControlWithItems_GetSelection)
385 {
386 #ifdef dVAR
387     dVAR; dXSARGS;
388 #else
389     dXSARGS;
390 #endif
391     if (items != 1)
392        croak_xs_usage(cv,  "THIS");
393     {
394         wxControlWithItems *    THIS = (wxControlWithItems *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ControlWithItems" );
395         int     RETVAL;
396         dXSTARG;
397
398         RETVAL = THIS->GetSelection();
399         XSprePUSH; PUSHi((IV)RETVAL);
400     }
401     XSRETURN(1);
402 }
403
404 #if WXPERL_W_VERSION_GE( 2, 6, 0 ) || defined(WXPERL_IN_COMBOBOX)
405 #define XSubPPtmpAAAD 1
406
407
408 XS(XS_Wx__ControlWithItems_SetStringSelection); /* prototype to pass -Wmissing-prototypes */
409 XS(XS_Wx__ControlWithItems_SetStringSelection)
410 {
411 #ifdef dVAR
412     dVAR; dXSARGS;
413 #else
414     dXSARGS;
415 #endif
416     if (items != 2)
417        croak_xs_usage(cv,  "THIS, s");
418     {
419         wxString        s;
420         wxControlWithItems *    THIS = (wxControlWithItems *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ControlWithItems" );
421         bool    RETVAL;
422
423     WXSTRING_INPUT( s, wxString, ST(1) );
424
425         RETVAL = THIS->SetStringSelection(s);
426         ST(0) = boolSV(RETVAL);
427         sv_2mortal(ST(0));
428     }
429     XSRETURN(1);
430 }
431
432 #endif
433
434 XS(XS_Wx__ControlWithItems_GetStringSelection); /* prototype to pass -Wmissing-prototypes */
435 XS(XS_Wx__ControlWithItems_GetStringSelection)
436 {
437 #ifdef dVAR
438     dVAR; dXSARGS;
439 #else
440     dXSARGS;
441 #endif
442     if (items != 1)
443        croak_xs_usage(cv,  "THIS");
444     {
445         wxControlWithItems *    THIS = (wxControlWithItems *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ControlWithItems" );
446         wxString        RETVAL;
447
448         RETVAL = THIS->GetStringSelection();
449         ST(0) = sv_newmortal();
450     WXSTRING_OUTPUT( RETVAL, ST(0) );
451
452     }
453     XSRETURN(1);
454 }
455
456
457 XS(XS_Wx__ControlWithItems_Select); /* prototype to pass -Wmissing-prototypes */
458 XS(XS_Wx__ControlWithItems_Select)
459 {
460 #ifdef dVAR
461     dVAR; dXSARGS;
462 #else
463     dXSARGS;
464 #endif
465     if (items != 2)
466        croak_xs_usage(cv,  "THIS, n");
467     {
468         int     n = (int)SvIV(ST(1));
469         wxControlWithItems *    THIS = (wxControlWithItems *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ControlWithItems" );
470
471         THIS->Select(n);
472     }
473     XSRETURN_EMPTY;
474 }
475
476
477 /* INCLUDE: Returning to 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/ControlWithItems.xsp |' from 'perl -pe "s/ItemContainerImmutable/ControlWithItems/g" XS/ItemContainerImmutable.xs |' */
478
479
480 /* INCLUDE:  Including 'perl -pe "s/ItemContainer/ControlWithItems/g" XS/ItemContainer.xs |' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/ControlWithItems.xsp |' */
481
482
483 XS(XS_Wx__ControlWithItems_Append); /* prototype to pass -Wmissing-prototypes */
484 XS(XS_Wx__ControlWithItems_Append)
485 {
486 #ifdef dVAR
487     dVAR; dXSARGS;
488 #else
489     dXSARGS;
490 #endif
491     if (items < 1)
492        croak_xs_usage(cv,  "THIS, ...");
493     PERL_UNUSED_VAR(ax); /* -Wall */
494     SP -= items;
495     {
496         wxControlWithItems *    THIS = (wxControlWithItems *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ControlWithItems" );
497     BEGIN_OVERLOAD()
498         MATCH_REDISP( wxPliOvl_arr_arr, AppendItemsData )
499         MATCH_REDISP( wxPliOvl_arr, AppendItems )
500         MATCH_REDISP( wxPliOvl_s_s, AppendData )
501         MATCH_REDISP( wxPliOvl_s, AppendString )
502     END_OVERLOAD( Wx::ControlWithItems::Append )
503         PUTBACK;
504         return;
505     }
506 }
507
508
509 XS(XS_Wx__ControlWithItems_AppendString); /* prototype to pass -Wmissing-prototypes */
510 XS(XS_Wx__ControlWithItems_AppendString)
511 {
512 #ifdef dVAR
513     dVAR; dXSARGS;
514 #else
515     dXSARGS;
516 #endif
517     if (items != 2)
518        croak_xs_usage(cv,  "THIS, item");
519     {
520         wxString        item;
521         wxControlWithItems *    THIS = (wxControlWithItems *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ControlWithItems" );
522
523     WXSTRING_INPUT( item, wxString, ST(1) );
524     THIS->Append( item );
525     }
526     XSRETURN_EMPTY;
527 }
528
529
530 XS(XS_Wx__ControlWithItems_AppendData); /* prototype to pass -Wmissing-prototypes */
531 XS(XS_Wx__ControlWithItems_AppendData)
532 {
533 #ifdef dVAR
534     dVAR; dXSARGS;
535 #else
536     dXSARGS;
537 #endif
538     if (items != 3)
539        croak_xs_usage(cv,  "THIS, item, data");
540     {
541         wxString        item;
542         wxPliUserDataCD*        data;
543         wxControlWithItems *    THIS = (wxControlWithItems *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ControlWithItems" );
544
545     WXSTRING_INPUT( item, wxString, ST(1) );
546
547     if( SvOK( ST(2) ) )
548     {
549         data = new wxPliUserDataCD( ST(2) );
550     }
551     else
552         data = 0;
553     THIS->Append( item, data );
554     }
555     XSRETURN_EMPTY;
556 }
557
558
559 XS(XS_Wx__ControlWithItems_AppendItems); /* prototype to pass -Wmissing-prototypes */
560 XS(XS_Wx__ControlWithItems_AppendItems)
561 {
562 #ifdef dVAR
563     dVAR; dXSARGS;
564 #else
565     dXSARGS;
566 #endif
567     if (items != 2)
568        croak_xs_usage(cv,  "THIS, items");
569     {
570         wxArrayString   items;
571         wxControlWithItems *    THIS = (wxControlWithItems *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ControlWithItems" );
572
573     wxPli_av_2_arraystring( aTHX_ ST(1), & items );
574     THIS->Append( items );
575     }
576     XSRETURN_EMPTY;
577 }
578
579 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
580 #define XSubPPtmpAAAE 1
581
582
583 XS(XS_Wx__ControlWithItems_AppendItemsData); /* prototype to pass -Wmissing-prototypes */
584 XS(XS_Wx__ControlWithItems_AppendItemsData)
585 {
586 #ifdef dVAR
587     dVAR; dXSARGS;
588 #else
589     dXSARGS;
590 #endif
591     if (items != 3)
592        croak_xs_usage(cv,  "THIS, items, data");
593     {
594         wxArrayString   items;
595         wxPliUserDataCD**       data;
596         wxControlWithItems *    THIS = (wxControlWithItems *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ControlWithItems" );
597
598     wxPli_av_2_arraystring( aTHX_ ST(1), & items );
599
600     wxPli_av_2_userdatacdarray( aTHX_ ST(2), & data );
601     wxPliArrayGuard<wxPliUserDataCD*> guard_data = data;;
602      THIS->Append( items, (wxClientData**)data ); 
603     }
604     XSRETURN_EMPTY;
605 }
606
607 #endif
608
609 XS(XS_Wx__ControlWithItems_Insert); /* prototype to pass -Wmissing-prototypes */
610 XS(XS_Wx__ControlWithItems_Insert)
611 {
612 #ifdef dVAR
613     dVAR; dXSARGS;
614 #else
615     dXSARGS;
616 #endif
617     if (items < 1)
618        croak_xs_usage(cv,  "THIS, ...");
619     PERL_UNUSED_VAR(ax); /* -Wall */
620     SP -= items;
621     {
622         wxControlWithItems *    THIS = (wxControlWithItems *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ControlWithItems" );
623     BEGIN_OVERLOAD()
624         MATCH_REDISP( wxPliOvl_arr_n_arr, InsertItemsData )
625         MATCH_REDISP( wxPliOvl_arr_n, InsertItems )
626         MATCH_REDISP( wxPliOvl_s_n_s, InsertData )
627         MATCH_REDISP( wxPliOvl_s_n, InsertString )
628     END_OVERLOAD( Wx::ControlWithItems::Insert )
629         PUTBACK;
630         return;
631     }
632 }
633
634
635 XS(XS_Wx__ControlWithItems_InsertString); /* prototype to pass -Wmissing-prototypes */
636 XS(XS_Wx__ControlWithItems_InsertString)
637 {
638 #ifdef dVAR
639     dVAR; dXSARGS;
640 #else
641     dXSARGS;
642 #endif
643     if (items != 3)
644        croak_xs_usage(cv,  "THIS, item, pos");
645     {
646         wxString        item;
647         unsigned int    pos = (unsigned int)SvUV( ST(2) );
648         wxControlWithItems *    THIS = (wxControlWithItems *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ControlWithItems" );
649
650     WXSTRING_INPUT( item, wxString, ST(1) );
651     THIS->Insert( item, pos );
652     }
653     XSRETURN_EMPTY;
654 }
655
656
657 XS(XS_Wx__ControlWithItems_InsertData); /* prototype to pass -Wmissing-prototypes */
658 XS(XS_Wx__ControlWithItems_InsertData)
659 {
660 #ifdef dVAR
661     dVAR; dXSARGS;
662 #else
663     dXSARGS;
664 #endif
665     if (items != 4)
666        croak_xs_usage(cv,  "THIS, item, pos, data");
667     {
668         wxString        item;
669         unsigned int    pos = (unsigned int)SvUV( ST(2) );
670         wxPliUserDataCD*        data;
671         wxControlWithItems *    THIS = (wxControlWithItems *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ControlWithItems" );
672
673     WXSTRING_INPUT( item, wxString, ST(1) );
674
675     if( SvOK( ST(3) ) )
676     {
677         data = new wxPliUserDataCD( ST(3) );
678     }
679     else
680         data = 0;
681     THIS->Insert( item, pos, data );
682     }
683     XSRETURN_EMPTY;
684 }
685
686 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
687 #define XSubPPtmpAAAF 1
688
689
690 XS(XS_Wx__ControlWithItems_InsertItems); /* prototype to pass -Wmissing-prototypes */
691 XS(XS_Wx__ControlWithItems_InsertItems)
692 {
693 #ifdef dVAR
694     dVAR; dXSARGS;
695 #else
696     dXSARGS;
697 #endif
698     if (items != 3)
699        croak_xs_usage(cv,  "THIS, items, pos");
700     {
701         wxArrayString   items;
702         unsigned int    pos = (unsigned int)SvUV( ST(2) );
703         wxControlWithItems *    THIS = (wxControlWithItems *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ControlWithItems" );
704
705     wxPli_av_2_arraystring( aTHX_ ST(1), & items );
706     THIS->Insert( items, pos );
707     }
708     XSRETURN_EMPTY;
709 }
710
711
712 XS(XS_Wx__ControlWithItems_InsertItemsData); /* prototype to pass -Wmissing-prototypes */
713 XS(XS_Wx__ControlWithItems_InsertItemsData)
714 {
715 #ifdef dVAR
716     dVAR; dXSARGS;
717 #else
718     dXSARGS;
719 #endif
720     if (items != 4)
721        croak_xs_usage(cv,  "THIS, items, pos, data");
722     {
723         wxArrayString   items;
724         unsigned int    pos = (unsigned int)SvUV( ST(2) );
725         wxPliUserDataCD**       data;
726         wxControlWithItems *    THIS = (wxControlWithItems *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ControlWithItems" );
727
728     wxPli_av_2_arraystring( aTHX_ ST(1), & items );
729
730     wxPli_av_2_userdatacdarray( aTHX_ ST(3), & data );
731     wxPliArrayGuard<wxPliUserDataCD*> guard_data = data;;
732      THIS->Insert( items, pos, (wxClientData**)data ); 
733     }
734     XSRETURN_EMPTY;
735 }
736
737 #endif
738 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
739 #define XSubPPtmpAAAG 1
740
741
742 XS(XS_Wx__ControlWithItems_Set); /* prototype to pass -Wmissing-prototypes */
743 XS(XS_Wx__ControlWithItems_Set)
744 {
745 #ifdef dVAR
746     dVAR; dXSARGS;
747 #else
748     dXSARGS;
749 #endif
750     if (items < 1)
751        croak_xs_usage(cv,  "THIS, ...");
752     PERL_UNUSED_VAR(ax); /* -Wall */
753     SP -= items;
754     {
755         wxControlWithItems *    THIS = (wxControlWithItems *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ControlWithItems" );
756     BEGIN_OVERLOAD()
757         MATCH_REDISP( wxPliOvl_arr_arr, SetItemsData )
758         MATCH_REDISP( wxPliOvl_arr, SetItems )
759     END_OVERLOAD( Wx::ControlWithItems::Set )
760         PUTBACK;
761         return;
762     }
763 }
764
765
766 XS(XS_Wx__ControlWithItems_SetItems); /* prototype to pass -Wmissing-prototypes */
767 XS(XS_Wx__ControlWithItems_SetItems)
768 {
769 #ifdef dVAR
770     dVAR; dXSARGS;
771 #else
772     dXSARGS;
773 #endif
774     if (items != 2)
775        croak_xs_usage(cv,  "THIS, items");
776     {
777         wxArrayString   items;
778         wxControlWithItems *    THIS = (wxControlWithItems *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ControlWithItems" );
779
780     wxPli_av_2_arraystring( aTHX_ ST(1), & items );
781     THIS->Set( items );
782     }
783     XSRETURN_EMPTY;
784 }
785
786
787 XS(XS_Wx__ControlWithItems_SetItemsData); /* prototype to pass -Wmissing-prototypes */
788 XS(XS_Wx__ControlWithItems_SetItemsData)
789 {
790 #ifdef dVAR
791     dVAR; dXSARGS;
792 #else
793     dXSARGS;
794 #endif
795     if (items != 3)
796        croak_xs_usage(cv,  "THIS, items, data");
797     {
798         wxArrayString   items;
799         wxPliUserDataCD**       data;
800         wxControlWithItems *    THIS = (wxControlWithItems *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ControlWithItems" );
801
802     wxPli_av_2_arraystring( aTHX_ ST(1), & items );
803
804     wxPli_av_2_userdatacdarray( aTHX_ ST(2), & data );
805     wxPliArrayGuard<wxPliUserDataCD*> guard_data = data;;
806      THIS->Set( items, (wxClientData**)data ); 
807     }
808     XSRETURN_EMPTY;
809 }
810
811 #endif
812
813 XS(XS_Wx__ControlWithItems_Clear); /* prototype to pass -Wmissing-prototypes */
814 XS(XS_Wx__ControlWithItems_Clear)
815 {
816 #ifdef dVAR
817     dVAR; dXSARGS;
818 #else
819     dXSARGS;
820 #endif
821     if (items != 1)
822        croak_xs_usage(cv,  "THIS");
823     {
824         wxControlWithItems *    THIS = (wxControlWithItems *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ControlWithItems" );
825
826         THIS->Clear();
827     }
828     XSRETURN_EMPTY;
829 }
830
831
832 XS(XS_Wx__ControlWithItems_Delete); /* prototype to pass -Wmissing-prototypes */
833 XS(XS_Wx__ControlWithItems_Delete)
834 {
835 #ifdef dVAR
836     dVAR; dXSARGS;
837 #else
838     dXSARGS;
839 #endif
840     if (items != 2)
841        croak_xs_usage(cv,  "THIS, n");
842     {
843         int     n = (int)SvIV(ST(1));
844         wxControlWithItems *    THIS = (wxControlWithItems *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ControlWithItems" );
845
846         THIS->Delete(n);
847     }
848     XSRETURN_EMPTY;
849 }
850
851
852 XS(XS_Wx__ControlWithItems_GetClientData); /* prototype to pass -Wmissing-prototypes */
853 XS(XS_Wx__ControlWithItems_GetClientData)
854 {
855 #ifdef dVAR
856     dVAR; dXSARGS;
857 #else
858     dXSARGS;
859 #endif
860     if (items != 2)
861        croak_xs_usage(cv,  "THIS, n");
862     {
863         int     n = (int)SvIV(ST(1));
864         wxControlWithItems *    THIS = (wxControlWithItems *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ControlWithItems" );
865         wxPliUserDataCD *       RETVAL;
866      RETVAL = (wxPliUserDataCD*) THIS->GetClientObject( n ); 
867     ST(0) = ( RETVAL == 0 ) ? &PL_sv_undef : RETVAL->GetData();
868     SvREFCNT_inc( ST(0) ); // xsubpp mortalizes it...
869
870         sv_2mortal(ST(0));
871     }
872     XSRETURN(1);
873 }
874
875
876 XS(XS_Wx__ControlWithItems_SetClientData); /* prototype to pass -Wmissing-prototypes */
877 XS(XS_Wx__ControlWithItems_SetClientData)
878 {
879 #ifdef dVAR
880     dVAR; dXSARGS;
881 #else
882     dXSARGS;
883 #endif
884     if (items != 3)
885        croak_xs_usage(cv,  "THIS, n, data");
886     {
887         int     n = (int)SvIV(ST(1));
888         wxPliUserDataCD*        data;
889         wxControlWithItems *    THIS = (wxControlWithItems *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ControlWithItems" );
890
891     if( SvOK( ST(2) ) )
892     {
893         data = new wxPliUserDataCD( ST(2) );
894     }
895     else
896         data = 0;
897     THIS->SetClientObject( n, data );
898     }
899     XSRETURN_EMPTY;
900 }
901
902 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
903 #endif
904
905 /* INCLUDE: Returning to 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/ControlWithItems.xsp |' from 'perl -pe "s/ItemContainer/ControlWithItems/g" XS/ItemContainer.xs |' */
906
907
908 /* INCLUDE: Returning to 'Controls.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/ControlWithItems.xsp |' */
909
910
911 /* INCLUDE:  Including 'XS/BitmapButton.xs' from 'Controls.xs' */
912
913
914 /* INCLUDE:  Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/AnimationCtrl.xsp |' from 'XS/BitmapButton.xs' */
915
916 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
917 #include <wx/animate.h>
918 #define XSubPPtmpAAAH 1
919
920
921 XS(XS_Wx__AnimationCtrl_newDefault); /* prototype to pass -Wmissing-prototypes */
922 XS(XS_Wx__AnimationCtrl_newDefault)
923 {
924 #ifdef dVAR
925     dVAR; dXSARGS;
926 #else
927     dXSARGS;
928 #endif
929     if (items != 1)
930        croak_xs_usage(cv,  "CLASS");
931     {
932         char *  CLASS = (char *)SvPV_nolen(ST(0));
933         wxAnimationCtrl *       RETVAL;
934      RETVAL = new wxAnimationCtrl();
935                 wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
936
937         ST(0) = sv_newmortal();
938     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
939
940     }
941     XSRETURN(1);
942 }
943
944
945 XS(XS_Wx__AnimationCtrl_new); /* prototype to pass -Wmissing-prototypes */
946 XS(XS_Wx__AnimationCtrl_new)
947 {
948 #ifdef dVAR
949     dVAR; dXSARGS;
950 #else
951     dXSARGS;
952 #endif
953     if (items < 3 || items > 8)
954        croak_xs_usage(cv,  "CLASS, parent, id, anim = wxNullAnimationPtr, pos = wxDefaultPosition, size = wxDefaultSize, style = wxAC_DEFAULT_STYLE, name = wxAnimationCtrlNameStr");
955     {
956         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
957         wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) );
958         wxAnimation*    anim;
959         wxPoint pos;
960         wxSize  size;
961         long    style;
962         wxString        name;
963         char *  CLASS = (char *)SvPV_nolen(ST(0));
964         wxAnimationCtrl *       RETVAL;
965
966         if (items < 4)
967             anim = wxNullAnimationPtr;
968         else {
969     anim = (wxAnimation *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::Animation" );
970         }
971
972         if (items < 5)
973             pos = wxDefaultPosition;
974         else {
975     pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
976         }
977
978         if (items < 6)
979             size = wxDefaultSize;
980         else {
981     size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
982         }
983
984         if (items < 7)
985             style = wxAC_DEFAULT_STYLE;
986         else {
987             style = (long)SvIV(ST(6));
988         }
989
990         if (items < 8)
991             name = wxAnimationCtrlNameStr;
992         else {
993     WXSTRING_INPUT( name, wxString, ST(7) );
994         }
995      RETVAL = new wxAnimationCtrl( parent, id, *anim, pos, size,
996                                               style, name );
997                 wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
998
999         ST(0) = sv_newmortal();
1000     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
1001
1002     }
1003     XSRETURN(1);
1004 }
1005
1006
1007 XS(XS_Wx__AnimationCtrl_Create); /* prototype to pass -Wmissing-prototypes */
1008 XS(XS_Wx__AnimationCtrl_Create)
1009 {
1010 #ifdef dVAR
1011     dVAR; dXSARGS;
1012 #else
1013     dXSARGS;
1014 #endif
1015     if (items < 3 || items > 8)
1016        croak_xs_usage(cv,  "THIS, parent, id, anim = wxNullAnimationPtr, pos = wxDefaultPosition, size = wxDefaultSize, style = wxAC_DEFAULT_STYLE, name = wxAnimationCtrlNameStr");
1017     {
1018         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
1019         wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) );
1020         wxAnimation*    anim;
1021         wxPoint pos;
1022         wxSize  size;
1023         long    style;
1024         wxString        name;
1025         wxAnimationCtrl *    THIS = (wxAnimationCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::AnimationCtrl" );
1026         bool    RETVAL;
1027
1028         if (items < 4)
1029             anim = wxNullAnimationPtr;
1030         else {
1031     anim = (wxAnimation *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::Animation" );
1032         }
1033
1034         if (items < 5)
1035             pos = wxDefaultPosition;
1036         else {
1037     pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
1038         }
1039
1040         if (items < 6)
1041             size = wxDefaultSize;
1042         else {
1043     size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
1044         }
1045
1046         if (items < 7)
1047             style = wxAC_DEFAULT_STYLE;
1048         else {
1049             style = (long)SvIV(ST(6));
1050         }
1051
1052         if (items < 8)
1053             name = wxAnimationCtrlNameStr;
1054         else {
1055     WXSTRING_INPUT( name, wxString, ST(7) );
1056         }
1057     RETVAL = THIS->Create( parent, id, *( anim ), pos, size, style, name );
1058         ST(0) = boolSV(RETVAL);
1059         sv_2mortal(ST(0));
1060     }
1061     XSRETURN(1);
1062 }
1063
1064
1065 XS(XS_Wx__AnimationCtrl_LoadFile); /* prototype to pass -Wmissing-prototypes */
1066 XS(XS_Wx__AnimationCtrl_LoadFile)
1067 {
1068 #ifdef dVAR
1069     dVAR; dXSARGS;
1070 #else
1071     dXSARGS;
1072 #endif
1073     if (items < 2 || items > 3)
1074        croak_xs_usage(cv,  "THIS, filename, type = wxANIMATION_TYPE_ANY");
1075     {
1076         wxString        filename;
1077         wxAnimationType type;
1078         wxAnimationCtrl *    THIS = (wxAnimationCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::AnimationCtrl" );
1079         bool    RETVAL;
1080
1081     WXSTRING_INPUT( filename, wxString, ST(1) );
1082
1083         if (items < 3)
1084             type = wxANIMATION_TYPE_ANY;
1085         else {
1086             type = (wxAnimationType)SvIV(ST(2));
1087         }
1088
1089         RETVAL = THIS->LoadFile(filename, type);
1090         ST(0) = boolSV(RETVAL);
1091         sv_2mortal(ST(0));
1092     }
1093     XSRETURN(1);
1094 }
1095
1096
1097 XS(XS_Wx__AnimationCtrl_SetAnimation); /* prototype to pass -Wmissing-prototypes */
1098 XS(XS_Wx__AnimationCtrl_SetAnimation)
1099 {
1100 #ifdef dVAR
1101     dVAR; dXSARGS;
1102 #else
1103     dXSARGS;
1104 #endif
1105     if (items != 2)
1106        croak_xs_usage(cv,  "THIS, anim");
1107     {
1108         wxAnimation*    anim = (wxAnimation *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Animation" );
1109         wxAnimationCtrl *    THIS = (wxAnimationCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::AnimationCtrl" );
1110     THIS->SetAnimation( *( anim ) );
1111     }
1112     XSRETURN_EMPTY;
1113 }
1114
1115
1116 XS(XS_Wx__AnimationCtrl_GetAnimation); /* prototype to pass -Wmissing-prototypes */
1117 XS(XS_Wx__AnimationCtrl_GetAnimation)
1118 {
1119 #ifdef dVAR
1120     dVAR; dXSARGS;
1121 #else
1122     dXSARGS;
1123 #endif
1124     if (items != 1)
1125        croak_xs_usage(cv,  "THIS");
1126     {
1127         wxAnimationCtrl *    THIS = (wxAnimationCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::AnimationCtrl" );
1128         wxAnimation *   RETVAL;
1129     RETVAL = new wxAnimation( THIS->GetAnimation() );
1130         ST(0) = sv_newmortal();
1131     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
1132     wxPli_thread_sv_register( aTHX_ "Wx::Animation", RETVAL, ST(0) );
1133
1134     }
1135     XSRETURN(1);
1136 }
1137
1138
1139 XS(XS_Wx__AnimationCtrl_Play); /* prototype to pass -Wmissing-prototypes */
1140 XS(XS_Wx__AnimationCtrl_Play)
1141 {
1142 #ifdef dVAR
1143     dVAR; dXSARGS;
1144 #else
1145     dXSARGS;
1146 #endif
1147     if (items != 1)
1148        croak_xs_usage(cv,  "THIS");
1149     {
1150         wxAnimationCtrl *    THIS = (wxAnimationCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::AnimationCtrl" );
1151         bool    RETVAL;
1152
1153         RETVAL = THIS->Play();
1154         ST(0) = boolSV(RETVAL);
1155         sv_2mortal(ST(0));
1156     }
1157     XSRETURN(1);
1158 }
1159
1160
1161 XS(XS_Wx__AnimationCtrl_Stop); /* prototype to pass -Wmissing-prototypes */
1162 XS(XS_Wx__AnimationCtrl_Stop)
1163 {
1164 #ifdef dVAR
1165     dVAR; dXSARGS;
1166 #else
1167     dXSARGS;
1168 #endif
1169     if (items != 1)
1170        croak_xs_usage(cv,  "THIS");
1171     {
1172         wxAnimationCtrl *    THIS = (wxAnimationCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::AnimationCtrl" );
1173
1174         THIS->Stop();
1175     }
1176     XSRETURN_EMPTY;
1177 }
1178
1179
1180 XS(XS_Wx__AnimationCtrl_IsPlaying); /* prototype to pass -Wmissing-prototypes */
1181 XS(XS_Wx__AnimationCtrl_IsPlaying)
1182 {
1183 #ifdef dVAR
1184     dVAR; dXSARGS;
1185 #else
1186     dXSARGS;
1187 #endif
1188     if (items != 1)
1189        croak_xs_usage(cv,  "THIS");
1190     {
1191         wxAnimationCtrl *    THIS = (wxAnimationCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::AnimationCtrl" );
1192         bool    RETVAL;
1193
1194         RETVAL = THIS->IsPlaying();
1195         ST(0) = boolSV(RETVAL);
1196         sv_2mortal(ST(0));
1197     }
1198     XSRETURN(1);
1199 }
1200
1201
1202 XS(XS_Wx__AnimationCtrl_SetInactiveBitmap); /* prototype to pass -Wmissing-prototypes */
1203 XS(XS_Wx__AnimationCtrl_SetInactiveBitmap)
1204 {
1205 #ifdef dVAR
1206     dVAR; dXSARGS;
1207 #else
1208     dXSARGS;
1209 #endif
1210     if (items != 2)
1211        croak_xs_usage(cv,  "THIS, bmp");
1212     {
1213         wxBitmap*    bmp = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Bitmap" );
1214         wxAnimationCtrl *    THIS = (wxAnimationCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::AnimationCtrl" );
1215     THIS->SetInactiveBitmap( *( bmp ) );
1216     }
1217     XSRETURN_EMPTY;
1218 }
1219
1220
1221 XS(XS_Wx__AnimationCtrl_GetInactiveBitmap); /* prototype to pass -Wmissing-prototypes */
1222 XS(XS_Wx__AnimationCtrl_GetInactiveBitmap)
1223 {
1224 #ifdef dVAR
1225     dVAR; dXSARGS;
1226 #else
1227     dXSARGS;
1228 #endif
1229     if (items != 1)
1230        croak_xs_usage(cv,  "THIS");
1231     {
1232         wxAnimationCtrl *    THIS = (wxAnimationCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::AnimationCtrl" );
1233         wxBitmap *      RETVAL;
1234     RETVAL = new wxBitmap( THIS->GetInactiveBitmap() );
1235         ST(0) = sv_newmortal();
1236     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
1237     wxPli_thread_sv_register( aTHX_ "Wx::Bitmap", RETVAL, ST(0) );
1238
1239     }
1240     XSRETURN(1);
1241 }
1242
1243 #endif
1244
1245 /* INCLUDE: Returning to 'XS/BitmapButton.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/AnimationCtrl.xsp |' */
1246
1247 #include <wx/bmpbuttn.h>
1248
1249 XS(XS_Wx__BitmapButton_new); /* prototype to pass -Wmissing-prototypes */
1250 XS(XS_Wx__BitmapButton_new)
1251 {
1252 #ifdef dVAR
1253     dVAR; dXSARGS;
1254 #else
1255     dXSARGS;
1256 #endif
1257     PERL_UNUSED_VAR(cv); /* -W */
1258     PERL_UNUSED_VAR(ax); /* -Wall */
1259     SP -= items;
1260     {
1261     BEGIN_OVERLOAD()
1262         MATCH_VOIDM_REDISP( newDefault )
1263         MATCH_ANY_REDISP( newFull )
1264     END_OVERLOAD( "Wx::BitmapButton::new" )
1265         PUTBACK;
1266         return;
1267     }
1268 }
1269
1270
1271 XS(XS_Wx__BitmapButton_newDefault); /* prototype to pass -Wmissing-prototypes */
1272 XS(XS_Wx__BitmapButton_newDefault)
1273 {
1274 #ifdef dVAR
1275     dVAR; dXSARGS;
1276 #else
1277     dXSARGS;
1278 #endif
1279     if (items != 1)
1280        croak_xs_usage(cv,  "CLASS");
1281     {
1282         PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) );
1283         wxBitmapButton *        RETVAL;
1284     RETVAL = new wxBitmapButton();
1285     wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
1286         ST(0) = sv_newmortal();
1287     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
1288
1289     }
1290     XSRETURN(1);
1291 }
1292
1293
1294 XS(XS_Wx__BitmapButton_newFull); /* prototype to pass -Wmissing-prototypes */
1295 XS(XS_Wx__BitmapButton_newFull)
1296 {
1297 #ifdef dVAR
1298     dVAR; dXSARGS;
1299 #else
1300     dXSARGS;
1301 #endif
1302     if (items < 4 || items > 9)
1303        croak_xs_usage(cv,  "CLASS, parent, id, bitmap, pos = wxDefaultPosition, size = wxDefaultSize, style = wxBU_AUTODRAW, validator = (wxValidator*)&wxDefaultValidator, name = wxButtonNameStr");
1304     {
1305         PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) );
1306         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
1307         wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) );
1308         wxBitmap*    bitmap = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::Bitmap" );
1309         wxPoint pos;
1310         wxSize  size;
1311         long    style;
1312         wxValidator*    validator;
1313         wxString        name;
1314         wxBitmapButton *        RETVAL;
1315
1316         if (items < 5)
1317             pos = wxDefaultPosition;
1318         else {
1319     pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
1320         }
1321
1322         if (items < 6)
1323             size = wxDefaultSize;
1324         else {
1325     size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
1326         }
1327
1328         if (items < 7)
1329             style = wxBU_AUTODRAW;
1330         else {
1331             style = (long)SvIV(ST(6));
1332         }
1333
1334         if (items < 8)
1335             validator = (wxValidator*)&wxDefaultValidator;
1336         else {
1337     validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" );
1338         }
1339
1340         if (items < 9)
1341             name = wxButtonNameStr;
1342         else {
1343     WXSTRING_INPUT( name, wxString, ST(8) );
1344         }
1345     RETVAL = new wxBitmapButton( parent, id, *bitmap, pos, size,
1346         style, *validator, name );
1347     wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
1348         ST(0) = sv_newmortal();
1349     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
1350
1351     }
1352     XSRETURN(1);
1353 }
1354
1355
1356 XS(XS_Wx__BitmapButton_Create); /* prototype to pass -Wmissing-prototypes */
1357 XS(XS_Wx__BitmapButton_Create)
1358 {
1359 #ifdef dVAR
1360     dVAR; dXSARGS;
1361 #else
1362     dXSARGS;
1363 #endif
1364     if (items < 4 || items > 9)
1365        croak_xs_usage(cv,  "THIS, parent, id, bitmap, pos = wxDefaultPosition, size = wxDefaultSize, style = wxBU_AUTODRAW, validator = (wxValidator*)&wxDefaultValidator, name = wxButtonNameStr");
1366     {
1367         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
1368         wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) );
1369         wxBitmap*    bitmap = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::Bitmap" );
1370         wxPoint pos;
1371         wxSize  size;
1372         long    style;
1373         wxValidator*    validator;
1374         wxString        name;
1375         wxBitmapButton *    THIS = (wxBitmapButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BitmapButton" );
1376         bool    RETVAL;
1377
1378         if (items < 5)
1379             pos = wxDefaultPosition;
1380         else {
1381     pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
1382         }
1383
1384         if (items < 6)
1385             size = wxDefaultSize;
1386         else {
1387     size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
1388         }
1389
1390         if (items < 7)
1391             style = wxBU_AUTODRAW;
1392         else {
1393             style = (long)SvIV(ST(6));
1394         }
1395
1396         if (items < 8)
1397             validator = (wxValidator*)&wxDefaultValidator;
1398         else {
1399     validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" );
1400         }
1401
1402         if (items < 9)
1403             name = wxButtonNameStr;
1404         else {
1405     WXSTRING_INPUT( name, wxString, ST(8) );
1406         }
1407
1408         RETVAL = THIS->Create(parent, id, *bitmap, pos, size, style, *validator, name);
1409         ST(0) = boolSV(RETVAL);
1410         sv_2mortal(ST(0));
1411     }
1412     XSRETURN(1);
1413 }
1414
1415
1416 XS(XS_Wx__BitmapButton_GetBitmapDisabled); /* prototype to pass -Wmissing-prototypes */
1417 XS(XS_Wx__BitmapButton_GetBitmapDisabled)
1418 {
1419 #ifdef dVAR
1420     dVAR; dXSARGS;
1421 #else
1422     dXSARGS;
1423 #endif
1424     if (items != 1)
1425        croak_xs_usage(cv,  "THIS");
1426     {
1427         wxBitmapButton *    THIS = (wxBitmapButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BitmapButton" );
1428         wxBitmap *      RETVAL;
1429     RETVAL = new wxBitmap( THIS->GetBitmapDisabled() );
1430         ST(0) = sv_newmortal();
1431     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
1432     wxPli_thread_sv_register( aTHX_ "Wx::Bitmap", RETVAL, ST(0) );
1433
1434     }
1435     XSRETURN(1);
1436 }
1437
1438
1439 XS(XS_Wx__BitmapButton_GetBitmapFocus); /* prototype to pass -Wmissing-prototypes */
1440 XS(XS_Wx__BitmapButton_GetBitmapFocus)
1441 {
1442 #ifdef dVAR
1443     dVAR; dXSARGS;
1444 #else
1445     dXSARGS;
1446 #endif
1447     if (items != 1)
1448        croak_xs_usage(cv,  "THIS");
1449     {
1450         wxBitmapButton *    THIS = (wxBitmapButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BitmapButton" );
1451         wxBitmap *      RETVAL;
1452     RETVAL = new wxBitmap( THIS->GetBitmapFocus() );
1453         ST(0) = sv_newmortal();
1454     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
1455     wxPli_thread_sv_register( aTHX_ "Wx::Bitmap", RETVAL, ST(0) );
1456
1457     }
1458     XSRETURN(1);
1459 }
1460
1461 #if WXPERL_W_VERSION_GE( 2, 7, 0 )
1462 #define XSubPPtmpAAAI 1
1463
1464
1465 XS(XS_Wx__BitmapButton_GetBitmapHover); /* prototype to pass -Wmissing-prototypes */
1466 XS(XS_Wx__BitmapButton_GetBitmapHover)
1467 {
1468 #ifdef dVAR
1469     dVAR; dXSARGS;
1470 #else
1471     dXSARGS;
1472 #endif
1473     if (items != 1)
1474        croak_xs_usage(cv,  "THIS");
1475     {
1476         wxBitmapButton *    THIS = (wxBitmapButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BitmapButton" );
1477         wxBitmap *      RETVAL;
1478     RETVAL = new wxBitmap( THIS->GetBitmapHover() );
1479         ST(0) = sv_newmortal();
1480     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
1481     wxPli_thread_sv_register( aTHX_ "Wx::Bitmap", RETVAL, ST(0) );
1482
1483     }
1484     XSRETURN(1);
1485 }
1486
1487 #endif
1488
1489 XS(XS_Wx__BitmapButton_GetBitmapLabel); /* prototype to pass -Wmissing-prototypes */
1490 XS(XS_Wx__BitmapButton_GetBitmapLabel)
1491 {
1492 #ifdef dVAR
1493     dVAR; dXSARGS;
1494 #else
1495     dXSARGS;
1496 #endif
1497     if (items != 1)
1498        croak_xs_usage(cv,  "THIS");
1499     {
1500         wxBitmapButton *    THIS = (wxBitmapButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BitmapButton" );
1501         wxBitmap *      RETVAL;
1502     RETVAL = new wxBitmap( THIS->GetBitmapLabel() );
1503         ST(0) = sv_newmortal();
1504     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
1505     wxPli_thread_sv_register( aTHX_ "Wx::Bitmap", RETVAL, ST(0) );
1506
1507     }
1508     XSRETURN(1);
1509 }
1510
1511
1512 XS(XS_Wx__BitmapButton_GetBitmapSelected); /* prototype to pass -Wmissing-prototypes */
1513 XS(XS_Wx__BitmapButton_GetBitmapSelected)
1514 {
1515 #ifdef dVAR
1516     dVAR; dXSARGS;
1517 #else
1518     dXSARGS;
1519 #endif
1520     if (items != 1)
1521        croak_xs_usage(cv,  "THIS");
1522     {
1523         wxBitmapButton *    THIS = (wxBitmapButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BitmapButton" );
1524         wxBitmap *      RETVAL;
1525     RETVAL = new wxBitmap( THIS->GetBitmapSelected() );
1526         ST(0) = sv_newmortal();
1527     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
1528     wxPli_thread_sv_register( aTHX_ "Wx::Bitmap", RETVAL, ST(0) );
1529
1530     }
1531     XSRETURN(1);
1532 }
1533
1534
1535 XS(XS_Wx__BitmapButton_SetBitmapDisabled); /* prototype to pass -Wmissing-prototypes */
1536 XS(XS_Wx__BitmapButton_SetBitmapDisabled)
1537 {
1538 #ifdef dVAR
1539     dVAR; dXSARGS;
1540 #else
1541     dXSARGS;
1542 #endif
1543     if (items != 2)
1544        croak_xs_usage(cv,  "THIS, bitmap");
1545     {
1546         wxBitmap*    bitmap = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Bitmap" );
1547         wxBitmapButton *    THIS = (wxBitmapButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BitmapButton" );
1548
1549         THIS->SetBitmapDisabled(*bitmap);
1550     }
1551     XSRETURN_EMPTY;
1552 }
1553
1554
1555 XS(XS_Wx__BitmapButton_SetBitmapLabel); /* prototype to pass -Wmissing-prototypes */
1556 XS(XS_Wx__BitmapButton_SetBitmapLabel)
1557 {
1558 #ifdef dVAR
1559     dVAR; dXSARGS;
1560 #else
1561     dXSARGS;
1562 #endif
1563     if (items != 2)
1564        croak_xs_usage(cv,  "THIS, bitmap");
1565     {
1566         wxBitmap*    bitmap = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Bitmap" );
1567         wxBitmapButton *    THIS = (wxBitmapButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BitmapButton" );
1568
1569         THIS->SetBitmapLabel(*bitmap);
1570     }
1571     XSRETURN_EMPTY;
1572 }
1573
1574
1575 XS(XS_Wx__BitmapButton_SetBitmapSelected); /* prototype to pass -Wmissing-prototypes */
1576 XS(XS_Wx__BitmapButton_SetBitmapSelected)
1577 {
1578 #ifdef dVAR
1579     dVAR; dXSARGS;
1580 #else
1581     dXSARGS;
1582 #endif
1583     if (items != 2)
1584        croak_xs_usage(cv,  "THIS, bitmap");
1585     {
1586         wxBitmap*    bitmap = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Bitmap" );
1587         wxBitmapButton *    THIS = (wxBitmapButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BitmapButton" );
1588
1589         THIS->SetBitmapSelected(*bitmap);
1590     }
1591     XSRETURN_EMPTY;
1592 }
1593
1594
1595 XS(XS_Wx__BitmapButton_SetBitmapFocus); /* prototype to pass -Wmissing-prototypes */
1596 XS(XS_Wx__BitmapButton_SetBitmapFocus)
1597 {
1598 #ifdef dVAR
1599     dVAR; dXSARGS;
1600 #else
1601     dXSARGS;
1602 #endif
1603     if (items != 2)
1604        croak_xs_usage(cv,  "THIS, bitmap");
1605     {
1606         wxBitmap*    bitmap = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Bitmap" );
1607         wxBitmapButton *    THIS = (wxBitmapButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BitmapButton" );
1608
1609         THIS->SetBitmapFocus(*bitmap);
1610     }
1611     XSRETURN_EMPTY;
1612 }
1613
1614 #if WXPERL_W_VERSION_GE( 2, 7, 0 )
1615 #define XSubPPtmpAAAJ 1
1616
1617
1618 XS(XS_Wx__BitmapButton_SetBitmapHover); /* prototype to pass -Wmissing-prototypes */
1619 XS(XS_Wx__BitmapButton_SetBitmapHover)
1620 {
1621 #ifdef dVAR
1622     dVAR; dXSARGS;
1623 #else
1624     dXSARGS;
1625 #endif
1626     if (items != 2)
1627        croak_xs_usage(cv,  "THIS, bitmap");
1628     {
1629         wxBitmap*    bitmap = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Bitmap" );
1630         wxBitmapButton *    THIS = (wxBitmapButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BitmapButton" );
1631
1632         THIS->SetBitmapHover(*bitmap);
1633     }
1634     XSRETURN_EMPTY;
1635 }
1636
1637 #endif
1638
1639 /* INCLUDE: Returning to 'Controls.xs' from 'XS/BitmapButton.xs' */
1640
1641
1642 /* INCLUDE:  Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/EditableListBox.xsp |' from 'Controls.xs' */
1643
1644 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
1645 #include <wx/editlbox.h>
1646 #define XSubPPtmpAAAK 1
1647
1648
1649 XS(XS_Wx__EditableListBox_new); /* prototype to pass -Wmissing-prototypes */
1650 XS(XS_Wx__EditableListBox_new)
1651 {
1652 #ifdef dVAR
1653     dVAR; dXSARGS;
1654 #else
1655     dXSARGS;
1656 #endif
1657     PERL_UNUSED_VAR(cv); /* -W */
1658     PERL_UNUSED_VAR(ax); /* -Wall */
1659     SP -= items;
1660     {
1661     BEGIN_OVERLOAD()
1662         MATCH_VOIDM_REDISP( newDefault )
1663         MATCH_ANY_REDISP( newFull )
1664     END_OVERLOAD( "Wx::EditableListBox::new" )
1665         PUTBACK;
1666         return;
1667     }
1668 }
1669
1670
1671 XS(XS_Wx__EditableListBox_newDefault); /* prototype to pass -Wmissing-prototypes */
1672 XS(XS_Wx__EditableListBox_newDefault)
1673 {
1674 #ifdef dVAR
1675     dVAR; dXSARGS;
1676 #else
1677     dXSARGS;
1678 #endif
1679     if (items != 1)
1680        croak_xs_usage(cv,  "CLASS");
1681     {
1682         char *  CLASS = (char *)SvPV_nolen(ST(0));
1683         wxEditableListBox *     RETVAL;
1684      RETVAL = new wxEditableListBox();
1685                 wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
1686
1687         ST(0) = sv_newmortal();
1688     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
1689
1690     }
1691     XSRETURN(1);
1692 }
1693
1694
1695 XS(XS_Wx__EditableListBox_newFull); /* prototype to pass -Wmissing-prototypes */
1696 XS(XS_Wx__EditableListBox_newFull)
1697 {
1698 #ifdef dVAR
1699     dVAR; dXSARGS;
1700 #else
1701     dXSARGS;
1702 #endif
1703     if (items < 4 || items > 8)
1704        croak_xs_usage(cv,  "CLASS, parent, id, label, pos = wxDefaultPosition, size = wxDefaultSize, style = wxEL_DEFAULT_STYLE, name = wxEditableListBoxNameStr");
1705     {
1706         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
1707         wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) );
1708         wxString        label;
1709         wxPoint pos;
1710         wxSize  size;
1711         long    style;
1712         wxString        name;
1713         char *  CLASS = (char *)SvPV_nolen(ST(0));
1714         wxEditableListBox *     RETVAL;
1715
1716     WXSTRING_INPUT( label, wxString, ST(3) );
1717
1718         if (items < 5)
1719             pos = wxDefaultPosition;
1720         else {
1721     pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
1722         }
1723
1724         if (items < 6)
1725             size = wxDefaultSize;
1726         else {
1727     size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
1728         }
1729
1730         if (items < 7)
1731             style = wxEL_DEFAULT_STYLE;
1732         else {
1733             style = (long)SvIV(ST(6));
1734         }
1735
1736         if (items < 8)
1737             name = wxEditableListBoxNameStr;
1738         else {
1739     WXSTRING_INPUT( name, wxString, ST(7) );
1740         }
1741      RETVAL = new wxEditableListBox( parent, id, label, pos, size,
1742                                                 style, name );
1743                 wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
1744
1745         ST(0) = sv_newmortal();
1746     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
1747
1748     }
1749     XSRETURN(1);
1750 }
1751
1752
1753 XS(XS_Wx__EditableListBox_Create); /* prototype to pass -Wmissing-prototypes */
1754 XS(XS_Wx__EditableListBox_Create)
1755 {
1756 #ifdef dVAR
1757     dVAR; dXSARGS;
1758 #else
1759     dXSARGS;
1760 #endif
1761     if (items < 4 || items > 8)
1762        croak_xs_usage(cv,  "THIS, parent, id, label, pos = wxDefaultPosition, size = wxDefaultSize, style = wxEL_DEFAULT_STYLE, name = wxEditableListBoxNameStr");
1763     {
1764         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
1765         wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) );
1766         wxString        label;
1767         wxPoint pos;
1768         wxSize  size;
1769         long    style;
1770         wxString        name;
1771         wxEditableListBox *    THIS = (wxEditableListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::EditableListBox" );
1772         bool    RETVAL;
1773
1774     WXSTRING_INPUT( label, wxString, ST(3) );
1775
1776         if (items < 5)
1777             pos = wxDefaultPosition;
1778         else {
1779     pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
1780         }
1781
1782         if (items < 6)
1783             size = wxDefaultSize;
1784         else {
1785     size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
1786         }
1787
1788         if (items < 7)
1789             style = wxEL_DEFAULT_STYLE;
1790         else {
1791             style = (long)SvIV(ST(6));
1792         }
1793
1794         if (items < 8)
1795             name = wxEditableListBoxNameStr;
1796         else {
1797     WXSTRING_INPUT( name, wxString, ST(7) );
1798         }
1799
1800         RETVAL = THIS->Create(parent, id, label, pos, size, style, name);
1801         ST(0) = boolSV(RETVAL);
1802         sv_2mortal(ST(0));
1803     }
1804     XSRETURN(1);
1805 }
1806
1807
1808 XS(XS_Wx__EditableListBox_SetStrings); /* prototype to pass -Wmissing-prototypes */
1809 XS(XS_Wx__EditableListBox_SetStrings)
1810 {
1811 #ifdef dVAR
1812     dVAR; dXSARGS;
1813 #else
1814     dXSARGS;
1815 #endif
1816     if (items != 2)
1817        croak_xs_usage(cv,  "THIS, strings");
1818     {
1819         wxArrayString   strings;
1820         wxEditableListBox *    THIS = (wxEditableListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::EditableListBox" );
1821
1822     wxPli_av_2_arraystring( aTHX_ ST(1), & strings );
1823
1824         THIS->SetStrings(strings);
1825     }
1826     XSRETURN_EMPTY;
1827 }
1828
1829
1830 XS(XS_Wx__EditableListBox_GetStrings); /* prototype to pass -Wmissing-prototypes */
1831 XS(XS_Wx__EditableListBox_GetStrings)
1832 {
1833 #ifdef dVAR
1834     dVAR; dXSARGS;
1835 #else
1836     dXSARGS;
1837 #endif
1838     if (items != 1)
1839        croak_xs_usage(cv,  "THIS");
1840     PERL_UNUSED_VAR(ax); /* -Wall */
1841     SP -= items;
1842     {
1843         wxEditableListBox *    THIS = (wxEditableListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::EditableListBox" );
1844     wxArrayString strings;
1845     THIS->GetStrings( strings );
1846     PUTBACK;
1847     wxPli_stringarray_push( aTHX_ strings );
1848     SPAGAIN;
1849         PUTBACK;
1850         return;
1851     }
1852 }
1853
1854
1855 XS(XS_Wx__EditableListBox_GetListCtrl); /* prototype to pass -Wmissing-prototypes */
1856 XS(XS_Wx__EditableListBox_GetListCtrl)
1857 {
1858 #ifdef dVAR
1859     dVAR; dXSARGS;
1860 #else
1861     dXSARGS;
1862 #endif
1863     if (items != 1)
1864        croak_xs_usage(cv,  "THIS");
1865     {
1866         wxEditableListBox *    THIS = (wxEditableListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::EditableListBox" );
1867         wxListCtrl *    RETVAL;
1868
1869         RETVAL = THIS->GetListCtrl();
1870         ST(0) = sv_newmortal();
1871     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
1872
1873     }
1874     XSRETURN(1);
1875 }
1876
1877
1878 XS(XS_Wx__EditableListBox_GetDelButton); /* prototype to pass -Wmissing-prototypes */
1879 XS(XS_Wx__EditableListBox_GetDelButton)
1880 {
1881 #ifdef dVAR
1882     dVAR; dXSARGS;
1883 #else
1884     dXSARGS;
1885 #endif
1886     if (items != 1)
1887        croak_xs_usage(cv,  "THIS");
1888     {
1889         wxEditableListBox *    THIS = (wxEditableListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::EditableListBox" );
1890         wxBitmapButton *        RETVAL;
1891
1892         RETVAL = THIS->GetDelButton();
1893         ST(0) = sv_newmortal();
1894     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
1895
1896     }
1897     XSRETURN(1);
1898 }
1899
1900
1901 XS(XS_Wx__EditableListBox_GetNewButton); /* prototype to pass -Wmissing-prototypes */
1902 XS(XS_Wx__EditableListBox_GetNewButton)
1903 {
1904 #ifdef dVAR
1905     dVAR; dXSARGS;
1906 #else
1907     dXSARGS;
1908 #endif
1909     if (items != 1)
1910        croak_xs_usage(cv,  "THIS");
1911     {
1912         wxEditableListBox *    THIS = (wxEditableListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::EditableListBox" );
1913         wxBitmapButton *        RETVAL;
1914
1915         RETVAL = THIS->GetNewButton();
1916         ST(0) = sv_newmortal();
1917     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
1918
1919     }
1920     XSRETURN(1);
1921 }
1922
1923
1924 XS(XS_Wx__EditableListBox_GetUpButton); /* prototype to pass -Wmissing-prototypes */
1925 XS(XS_Wx__EditableListBox_GetUpButton)
1926 {
1927 #ifdef dVAR
1928     dVAR; dXSARGS;
1929 #else
1930     dXSARGS;
1931 #endif
1932     if (items != 1)
1933        croak_xs_usage(cv,  "THIS");
1934     {
1935         wxEditableListBox *    THIS = (wxEditableListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::EditableListBox" );
1936         wxBitmapButton *        RETVAL;
1937
1938         RETVAL = THIS->GetUpButton();
1939         ST(0) = sv_newmortal();
1940     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
1941
1942     }
1943     XSRETURN(1);
1944 }
1945
1946
1947 XS(XS_Wx__EditableListBox_GetDownButton); /* prototype to pass -Wmissing-prototypes */
1948 XS(XS_Wx__EditableListBox_GetDownButton)
1949 {
1950 #ifdef dVAR
1951     dVAR; dXSARGS;
1952 #else
1953     dXSARGS;
1954 #endif
1955     if (items != 1)
1956        croak_xs_usage(cv,  "THIS");
1957     {
1958         wxEditableListBox *    THIS = (wxEditableListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::EditableListBox" );
1959         wxBitmapButton *        RETVAL;
1960
1961         RETVAL = THIS->GetDownButton();
1962         ST(0) = sv_newmortal();
1963     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
1964
1965     }
1966     XSRETURN(1);
1967 }
1968
1969
1970 XS(XS_Wx__EditableListBox_GetEditButton); /* prototype to pass -Wmissing-prototypes */
1971 XS(XS_Wx__EditableListBox_GetEditButton)
1972 {
1973 #ifdef dVAR
1974     dVAR; dXSARGS;
1975 #else
1976     dXSARGS;
1977 #endif
1978     if (items != 1)
1979        croak_xs_usage(cv,  "THIS");
1980     {
1981         wxEditableListBox *    THIS = (wxEditableListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::EditableListBox" );
1982         wxBitmapButton *        RETVAL;
1983
1984         RETVAL = THIS->GetEditButton();
1985         ST(0) = sv_newmortal();
1986     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
1987
1988     }
1989     XSRETURN(1);
1990 }
1991
1992 #endif
1993
1994 /* INCLUDE: Returning to 'Controls.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/EditableListBox.xsp |' */
1995
1996
1997 /* INCLUDE:  Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/BookCtrl.xsp |' from 'Controls.xs' */
1998
1999 #if WXPERL_W_VERSION_GE( 2, 5, 1 )
2000 #include <wx/bookctrl.h>
2001 #include <wx/sizer.h>
2002 #define XSubPPtmpAAAL 1
2003
2004
2005 XS(XS_Wx__BookCtrl_GetPageCount); /* prototype to pass -Wmissing-prototypes */
2006 XS(XS_Wx__BookCtrl_GetPageCount)
2007 {
2008 #ifdef dVAR
2009     dVAR; dXSARGS;
2010 #else
2011     dXSARGS;
2012 #endif
2013     if (items != 1)
2014        croak_xs_usage(cv,  "THIS");
2015     {
2016         wxBookCtrl *    THIS = (wxBookCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BookCtrl" );
2017         size_t  RETVAL;
2018         dXSTARG;
2019
2020         RETVAL = THIS->GetPageCount();
2021         XSprePUSH; PUSHu((UV)RETVAL );
2022     }
2023     XSRETURN(1);
2024 }
2025
2026
2027 XS(XS_Wx__BookCtrl_GetPage); /* prototype to pass -Wmissing-prototypes */
2028 XS(XS_Wx__BookCtrl_GetPage)
2029 {
2030 #ifdef dVAR
2031     dVAR; dXSARGS;
2032 #else
2033     dXSARGS;
2034 #endif
2035     if (items != 2)
2036        croak_xs_usage(cv,  "THIS, n");
2037     {
2038         size_t    n = (size_t)SvUV( ST(1) );
2039         wxBookCtrl *    THIS = (wxBookCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BookCtrl" );
2040         wxWindow *      RETVAL;
2041
2042         RETVAL = THIS->GetPage(n);
2043         ST(0) = sv_newmortal();
2044     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
2045
2046     }
2047     XSRETURN(1);
2048 }
2049
2050
2051 XS(XS_Wx__BookCtrl_GetSelection); /* prototype to pass -Wmissing-prototypes */
2052 XS(XS_Wx__BookCtrl_GetSelection)
2053 {
2054 #ifdef dVAR
2055     dVAR; dXSARGS;
2056 #else
2057     dXSARGS;
2058 #endif
2059     if (items != 1)
2060        croak_xs_usage(cv,  "THIS");
2061     {
2062         wxBookCtrl *    THIS = (wxBookCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BookCtrl" );
2063         int     RETVAL;
2064         dXSTARG;
2065
2066         RETVAL = THIS->GetSelection();
2067         XSprePUSH; PUSHi((IV)RETVAL);
2068     }
2069     XSRETURN(1);
2070 }
2071
2072
2073 XS(XS_Wx__BookCtrl_SetPageText); /* prototype to pass -Wmissing-prototypes */
2074 XS(XS_Wx__BookCtrl_SetPageText)
2075 {
2076 #ifdef dVAR
2077     dVAR; dXSARGS;
2078 #else
2079     dXSARGS;
2080 #endif
2081     if (items != 3)
2082        croak_xs_usage(cv,  "THIS, n, strText");
2083     {
2084         size_t    n = (size_t)SvUV( ST(1) );
2085         wxString        strText;
2086         wxBookCtrl *    THIS = (wxBookCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BookCtrl" );
2087         bool    RETVAL;
2088
2089     WXSTRING_INPUT( strText, wxString, ST(2) );
2090
2091         RETVAL = THIS->SetPageText(n, strText);
2092         ST(0) = boolSV(RETVAL);
2093         sv_2mortal(ST(0));
2094     }
2095     XSRETURN(1);
2096 }
2097
2098
2099 XS(XS_Wx__BookCtrl_GetPageText); /* prototype to pass -Wmissing-prototypes */
2100 XS(XS_Wx__BookCtrl_GetPageText)
2101 {
2102 #ifdef dVAR
2103     dVAR; dXSARGS;
2104 #else
2105     dXSARGS;
2106 #endif
2107     if (items != 2)
2108        croak_xs_usage(cv,  "THIS, n");
2109     {
2110         size_t    n = (size_t)SvUV( ST(1) );
2111         wxBookCtrl *    THIS = (wxBookCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BookCtrl" );
2112         wxString        RETVAL;
2113
2114         RETVAL = THIS->GetPageText(n);
2115         ST(0) = sv_newmortal();
2116     WXSTRING_OUTPUT( RETVAL, ST(0) );
2117
2118     }
2119     XSRETURN(1);
2120 }
2121
2122
2123 XS(XS_Wx__BookCtrl_SetImageList); /* prototype to pass -Wmissing-prototypes */
2124 XS(XS_Wx__BookCtrl_SetImageList)
2125 {
2126 #ifdef dVAR
2127     dVAR; dXSARGS;
2128 #else
2129     dXSARGS;
2130 #endif
2131     if (items != 2)
2132        croak_xs_usage(cv,  "THIS, imageList");
2133     {
2134         wxImageList*    imageList = (wxImageList *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::ImageList" );
2135         wxBookCtrl *    THIS = (wxBookCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BookCtrl" );
2136
2137         THIS->SetImageList(imageList);
2138     }
2139     XSRETURN_EMPTY;
2140 }
2141
2142
2143 XS(XS_Wx__BookCtrl_GetPageImage); /* prototype to pass -Wmissing-prototypes */
2144 XS(XS_Wx__BookCtrl_GetPageImage)
2145 {
2146 #ifdef dVAR
2147     dVAR; dXSARGS;
2148 #else
2149     dXSARGS;
2150 #endif
2151     if (items != 2)
2152        croak_xs_usage(cv,  "THIS, n");
2153     {
2154         size_t    n = (size_t)SvUV( ST(1) );
2155         wxBookCtrl *    THIS = (wxBookCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BookCtrl" );
2156         int     RETVAL;
2157         dXSTARG;
2158
2159         RETVAL = THIS->GetPageImage(n);
2160         XSprePUSH; PUSHi((IV)RETVAL);
2161     }
2162     XSRETURN(1);
2163 }
2164
2165
2166 XS(XS_Wx__BookCtrl_SetPageImage); /* prototype to pass -Wmissing-prototypes */
2167 XS(XS_Wx__BookCtrl_SetPageImage)
2168 {
2169 #ifdef dVAR
2170     dVAR; dXSARGS;
2171 #else
2172     dXSARGS;
2173 #endif
2174     if (items != 3)
2175        croak_xs_usage(cv,  "THIS, n, imageId");
2176     {
2177         size_t    n = (size_t)SvUV( ST(1) );
2178         int     imageId = (int)SvIV(ST(2));
2179         wxBookCtrl *    THIS = (wxBookCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BookCtrl" );
2180         bool    RETVAL;
2181
2182         RETVAL = THIS->SetPageImage(n, imageId);
2183         ST(0) = boolSV(RETVAL);
2184         sv_2mortal(ST(0));
2185     }
2186     XSRETURN(1);
2187 }
2188
2189
2190 XS(XS_Wx__BookCtrl_SetPageSize); /* prototype to pass -Wmissing-prototypes */
2191 XS(XS_Wx__BookCtrl_SetPageSize)
2192 {
2193 #ifdef dVAR
2194     dVAR; dXSARGS;
2195 #else
2196     dXSARGS;
2197 #endif
2198     if (items != 2)
2199        croak_xs_usage(cv,  "THIS, size");
2200     {
2201         wxSize    size = wxPli_sv_2_wxsize( aTHX_ ST(1) );
2202         wxBookCtrl *    THIS = (wxBookCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BookCtrl" );
2203
2204         THIS->SetPageSize(size);
2205     }
2206     XSRETURN_EMPTY;
2207 }
2208
2209
2210 XS(XS_Wx__BookCtrl_CalcSizeFromPage); /* prototype to pass -Wmissing-prototypes */
2211 XS(XS_Wx__BookCtrl_CalcSizeFromPage)
2212 {
2213 #ifdef dVAR
2214     dVAR; dXSARGS;
2215 #else
2216     dXSARGS;
2217 #endif
2218     if (items != 2)
2219        croak_xs_usage(cv,  "THIS, sizePage");
2220     {
2221         wxSize    sizePage = wxPli_sv_2_wxsize( aTHX_ ST(1) );
2222         wxBookCtrl *    THIS = (wxBookCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BookCtrl" );
2223         wxSize  RETVAL;
2224
2225         RETVAL = THIS->CalcSizeFromPage(sizePage);
2226         ST(0) = sv_newmortal();
2227     wxPli_non_object_2_sv( aTHX_ ST(0), new wxSize(RETVAL), "Wx::Size" );
2228
2229     }
2230     XSRETURN(1);
2231 }
2232
2233 #if WXPERL_W_VERSION_GE( 2, 7, 0 )
2234 #define XSubPPtmpAAAM 1
2235
2236
2237 XS(XS_Wx__BookCtrl_GetInternalBorder); /* prototype to pass -Wmissing-prototypes */
2238 XS(XS_Wx__BookCtrl_GetInternalBorder)
2239 {
2240 #ifdef dVAR
2241     dVAR; dXSARGS;
2242 #else
2243     dXSARGS;
2244 #endif
2245     if (items != 1)
2246        croak_xs_usage(cv,  "THIS");
2247     {
2248         wxBookCtrl *    THIS = (wxBookCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BookCtrl" );
2249         unsigned int    RETVAL;
2250         dXSTARG;
2251
2252         RETVAL = THIS->GetInternalBorder();
2253         XSprePUSH; PUSHu((UV)RETVAL );
2254     }
2255     XSRETURN(1);
2256 }
2257
2258
2259 XS(XS_Wx__BookCtrl_SetInternalBorder); /* prototype to pass -Wmissing-prototypes */
2260 XS(XS_Wx__BookCtrl_SetInternalBorder)
2261 {
2262 #ifdef dVAR
2263     dVAR; dXSARGS;
2264 #else
2265     dXSARGS;
2266 #endif
2267     if (items != 2)
2268        croak_xs_usage(cv,  "THIS, border");
2269     {
2270         unsigned int    border = (unsigned int)SvUV( ST(1) );
2271         wxBookCtrl *    THIS = (wxBookCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BookCtrl" );
2272
2273         THIS->SetInternalBorder(border);
2274     }
2275     XSRETURN_EMPTY;
2276 }
2277
2278
2279 XS(XS_Wx__BookCtrl_IsVertical); /* prototype to pass -Wmissing-prototypes */
2280 XS(XS_Wx__BookCtrl_IsVertical)
2281 {
2282 #ifdef dVAR
2283     dVAR; dXSARGS;
2284 #else
2285     dXSARGS;
2286 #endif
2287     if (items != 1)
2288        croak_xs_usage(cv,  "THIS");
2289     {
2290         wxBookCtrl *    THIS = (wxBookCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BookCtrl" );
2291         bool    RETVAL;
2292
2293         RETVAL = THIS->IsVertical();
2294         ST(0) = boolSV(RETVAL);
2295         sv_2mortal(ST(0));
2296     }
2297     XSRETURN(1);
2298 }
2299
2300
2301 XS(XS_Wx__BookCtrl_SetFitToCurrentPage); /* prototype to pass -Wmissing-prototypes */
2302 XS(XS_Wx__BookCtrl_SetFitToCurrentPage)
2303 {
2304 #ifdef dVAR
2305     dVAR; dXSARGS;
2306 #else
2307     dXSARGS;
2308 #endif
2309     if (items != 2)
2310        croak_xs_usage(cv,  "THIS, fit");
2311     {
2312         bool    fit = (bool)SvTRUE(ST(1));
2313         wxBookCtrl *    THIS = (wxBookCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BookCtrl" );
2314
2315         THIS->SetFitToCurrentPage(fit);
2316     }
2317     XSRETURN_EMPTY;
2318 }
2319
2320
2321 XS(XS_Wx__BookCtrl_GetFitToCurrentPage); /* prototype to pass -Wmissing-prototypes */
2322 XS(XS_Wx__BookCtrl_GetFitToCurrentPage)
2323 {
2324 #ifdef dVAR
2325     dVAR; dXSARGS;
2326 #else
2327     dXSARGS;
2328 #endif
2329     if (items != 1)
2330        croak_xs_usage(cv,  "THIS");
2331     {
2332         wxBookCtrl *    THIS = (wxBookCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BookCtrl" );
2333         bool    RETVAL;
2334
2335         RETVAL = THIS->GetFitToCurrentPage();
2336         ST(0) = boolSV(RETVAL);
2337         sv_2mortal(ST(0));
2338     }
2339     XSRETURN(1);
2340 }
2341
2342
2343 XS(XS_Wx__BookCtrl_GetControlSizer); /* prototype to pass -Wmissing-prototypes */
2344 XS(XS_Wx__BookCtrl_GetControlSizer)
2345 {
2346 #ifdef dVAR
2347     dVAR; dXSARGS;
2348 #else
2349     dXSARGS;
2350 #endif
2351     if (items != 1)
2352        croak_xs_usage(cv,  "THIS");
2353     {
2354         wxBookCtrl *    THIS = (wxBookCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BookCtrl" );
2355         wxSizer *       RETVAL;
2356
2357         RETVAL = THIS->GetControlSizer();
2358         ST(0) = sv_newmortal();
2359     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
2360
2361     }
2362     XSRETURN(1);
2363 }
2364
2365 #endif
2366
2367 XS(XS_Wx__BookCtrl_DeletePage); /* prototype to pass -Wmissing-prototypes */
2368 XS(XS_Wx__BookCtrl_DeletePage)
2369 {
2370 #ifdef dVAR
2371     dVAR; dXSARGS;
2372 #else
2373     dXSARGS;
2374 #endif
2375     if (items != 2)
2376        croak_xs_usage(cv,  "THIS, n");
2377     {
2378         size_t    n = (size_t)SvUV( ST(1) );
2379         wxBookCtrl *    THIS = (wxBookCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BookCtrl" );
2380         bool    RETVAL;
2381
2382         RETVAL = THIS->DeletePage(n);
2383         ST(0) = boolSV(RETVAL);
2384         sv_2mortal(ST(0));
2385     }
2386     XSRETURN(1);
2387 }
2388
2389
2390 XS(XS_Wx__BookCtrl_RemovePage); /* prototype to pass -Wmissing-prototypes */
2391 XS(XS_Wx__BookCtrl_RemovePage)
2392 {
2393 #ifdef dVAR
2394     dVAR; dXSARGS;
2395 #else
2396     dXSARGS;
2397 #endif
2398     if (items != 2)
2399        croak_xs_usage(cv,  "THIS, n");
2400     {
2401         size_t    n = (size_t)SvUV( ST(1) );
2402         wxBookCtrl *    THIS = (wxBookCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BookCtrl" );
2403         bool    RETVAL;
2404
2405         RETVAL = THIS->RemovePage(n);
2406         ST(0) = boolSV(RETVAL);
2407         sv_2mortal(ST(0));
2408     }
2409     XSRETURN(1);
2410 }
2411
2412
2413 XS(XS_Wx__BookCtrl_DeleteAllPages); /* prototype to pass -Wmissing-prototypes */
2414 XS(XS_Wx__BookCtrl_DeleteAllPages)
2415 {
2416 #ifdef dVAR
2417     dVAR; dXSARGS;
2418 #else
2419     dXSARGS;
2420 #endif
2421     if (items != 1)
2422        croak_xs_usage(cv,  "THIS");
2423     {
2424         wxBookCtrl *    THIS = (wxBookCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BookCtrl" );
2425         bool    RETVAL;
2426
2427         RETVAL = THIS->DeleteAllPages();
2428         ST(0) = boolSV(RETVAL);
2429         sv_2mortal(ST(0));
2430     }
2431     XSRETURN(1);
2432 }
2433
2434
2435 XS(XS_Wx__BookCtrl_AddPage); /* prototype to pass -Wmissing-prototypes */
2436 XS(XS_Wx__BookCtrl_AddPage)
2437 {
2438 #ifdef dVAR
2439     dVAR; dXSARGS;
2440 #else
2441     dXSARGS;
2442 #endif
2443     if (items < 3 || items > 5)
2444        croak_xs_usage(cv,  "THIS, page, text, bSelect = false, imageId = -1");
2445     {
2446         wxWindow*    page = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
2447         wxString        text;
2448         bool    bSelect;
2449         int     imageId;
2450         wxBookCtrl *    THIS = (wxBookCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BookCtrl" );
2451         bool    RETVAL;
2452
2453     WXSTRING_INPUT( text, wxString, ST(2) );
2454
2455         if (items < 4)
2456             bSelect = false;
2457         else {
2458             bSelect = (bool)SvTRUE(ST(3));
2459         }
2460
2461         if (items < 5)
2462             imageId = -1;
2463         else {
2464             imageId = (int)SvIV(ST(4));
2465         }
2466
2467         RETVAL = THIS->AddPage(page, text, bSelect, imageId);
2468         ST(0) = boolSV(RETVAL);
2469         sv_2mortal(ST(0));
2470     }
2471     XSRETURN(1);
2472 }
2473
2474
2475 XS(XS_Wx__BookCtrl_InsertPage); /* prototype to pass -Wmissing-prototypes */
2476 XS(XS_Wx__BookCtrl_InsertPage)
2477 {
2478 #ifdef dVAR
2479     dVAR; dXSARGS;
2480 #else
2481     dXSARGS;
2482 #endif
2483     if (items < 4 || items > 6)
2484        croak_xs_usage(cv,  "THIS, n, page, text, bSelect = false, imageId = -1");
2485     {
2486         size_t    n = (size_t)SvUV( ST(1) );
2487         wxWindow*    page = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Window" );
2488         wxString        text;
2489         bool    bSelect;
2490         int     imageId;
2491         wxBookCtrl *    THIS = (wxBookCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BookCtrl" );
2492         bool    RETVAL;
2493
2494     WXSTRING_INPUT( text, wxString, ST(3) );
2495
2496         if (items < 5)
2497             bSelect = false;
2498         else {
2499             bSelect = (bool)SvTRUE(ST(4));
2500         }
2501
2502         if (items < 6)
2503             imageId = -1;
2504         else {
2505             imageId = (int)SvIV(ST(5));
2506         }
2507
2508         RETVAL = THIS->InsertPage(n, page, text, bSelect, imageId);
2509         ST(0) = boolSV(RETVAL);
2510         sv_2mortal(ST(0));
2511     }
2512     XSRETURN(1);
2513 }
2514
2515
2516 XS(XS_Wx__BookCtrl_SetSelection); /* prototype to pass -Wmissing-prototypes */
2517 XS(XS_Wx__BookCtrl_SetSelection)
2518 {
2519 #ifdef dVAR
2520     dVAR; dXSARGS;
2521 #else
2522     dXSARGS;
2523 #endif
2524     if (items != 2)
2525        croak_xs_usage(cv,  "THIS, n");
2526     {
2527         size_t    n = (size_t)SvUV( ST(1) );
2528         wxBookCtrl *    THIS = (wxBookCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BookCtrl" );
2529         int     RETVAL;
2530         dXSTARG;
2531
2532         RETVAL = THIS->SetSelection(n);
2533         XSprePUSH; PUSHi((IV)RETVAL);
2534     }
2535     XSRETURN(1);
2536 }
2537
2538
2539 XS(XS_Wx__BookCtrl_AdvanceSelection); /* prototype to pass -Wmissing-prototypes */
2540 XS(XS_Wx__BookCtrl_AdvanceSelection)
2541 {
2542 #ifdef dVAR
2543     dVAR; dXSARGS;
2544 #else
2545     dXSARGS;
2546 #endif
2547     if (items < 1 || items > 2)
2548        croak_xs_usage(cv,  "THIS, forward = true");
2549     {
2550         bool    forward;
2551         wxBookCtrl *    THIS = (wxBookCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BookCtrl" );
2552
2553         if (items < 2)
2554             forward = true;
2555         else {
2556             forward = (bool)SvTRUE(ST(1));
2557         }
2558
2559         THIS->AdvanceSelection(forward);
2560     }
2561     XSRETURN_EMPTY;
2562 }
2563
2564 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
2565 #define XSubPPtmpAAAN 1
2566
2567
2568 XS(XS_Wx__BookCtrl_ChangeSelection); /* prototype to pass -Wmissing-prototypes */
2569 XS(XS_Wx__BookCtrl_ChangeSelection)
2570 {
2571 #ifdef dVAR
2572     dVAR; dXSARGS;
2573 #else
2574     dXSARGS;
2575 #endif
2576     if (items != 2)
2577        croak_xs_usage(cv,  "THIS, n");
2578     {
2579         size_t    n = (size_t)SvUV( ST(1) );
2580         wxBookCtrl *    THIS = (wxBookCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BookCtrl" );
2581         int     RETVAL;
2582         dXSTARG;
2583
2584         RETVAL = THIS->ChangeSelection(n);
2585         XSprePUSH; PUSHi((IV)RETVAL);
2586     }
2587     XSRETURN(1);
2588 }
2589
2590 #endif
2591 #if WXPERL_W_VERSION_GE( 2, 6, 0 )
2592 #define XSubPPtmpAAAO 1
2593
2594
2595 XS(XS_Wx__BookCtrl_GetCurrentPage); /* prototype to pass -Wmissing-prototypes */
2596 XS(XS_Wx__BookCtrl_GetCurrentPage)
2597 {
2598 #ifdef dVAR
2599     dVAR; dXSARGS;
2600 #else
2601     dXSARGS;
2602 #endif
2603     if (items != 1)
2604        croak_xs_usage(cv,  "THIS");
2605     {
2606         wxBookCtrl *    THIS = (wxBookCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BookCtrl" );
2607         wxWindow *      RETVAL;
2608
2609         RETVAL = THIS->GetCurrentPage();
2610         ST(0) = sv_newmortal();
2611     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
2612
2613     }
2614     XSRETURN(1);
2615 }
2616
2617 #endif
2618
2619 XS(XS_Wx__BookCtrl_AssignImageList); /* prototype to pass -Wmissing-prototypes */
2620 XS(XS_Wx__BookCtrl_AssignImageList)
2621 {
2622 #ifdef dVAR
2623     dVAR; dXSARGS;
2624 #else
2625     dXSARGS;
2626 #endif
2627     if (items != 2)
2628        croak_xs_usage(cv,  "THIS, imagelist");
2629     {
2630         wxImageList*    imagelist = (wxImageList *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::ImageList" );
2631         wxBookCtrl *    THIS = (wxBookCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BookCtrl" );
2632     wxPli_object_set_deleteable( aTHX_ ST(1), false );
2633     THIS->AssignImageList( imagelist );
2634     }
2635     XSRETURN_EMPTY;
2636 }
2637
2638
2639 XS(XS_Wx__BookCtrl_GetImageList); /* prototype to pass -Wmissing-prototypes */
2640 XS(XS_Wx__BookCtrl_GetImageList)
2641 {
2642 #ifdef dVAR
2643     dVAR; dXSARGS;
2644 #else
2645     dXSARGS;
2646 #endif
2647     if (items != 1)
2648        croak_xs_usage(cv,  "THIS");
2649     {
2650         wxBookCtrl *    THIS = (wxBookCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BookCtrl" );
2651         wxImageList *   RETVAL;
2652
2653         RETVAL = THIS->GetImageList();
2654         ST(0) = sv_newmortal();
2655     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
2656     wxPli_thread_sv_register( aTHX_ "Wx::ImageList", RETVAL, ST(0) );
2657
2658     wxPli_object_set_deleteable( aTHX_ ST(0), false );
2659     }
2660     XSRETURN(1);
2661 }
2662
2663 #if WXPERL_W_VERSION_GE( 2, 7, 0 )
2664 #define XSubPPtmpAAAP 1
2665
2666
2667 XS(XS_Wx__BookCtrl_HitTest); /* prototype to pass -Wmissing-prototypes */
2668 XS(XS_Wx__BookCtrl_HitTest)
2669 {
2670 #ifdef dVAR
2671     dVAR; dXSARGS;
2672 #else
2673     dXSARGS;
2674 #endif
2675     if (items != 2)
2676        croak_xs_usage(cv,  "THIS, point");
2677     PERL_UNUSED_VAR(ax); /* -Wall */
2678     SP -= items;
2679     {
2680         wxPoint    point = wxPli_sv_2_wxpoint( aTHX_ ST(1) );
2681     long flags;
2682     int item;
2683         wxBookCtrl *    THIS = (wxBookCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BookCtrl" );
2684     item = THIS->HitTest( point, &flags );
2685     EXTEND( SP, 2 );
2686     PUSHs( sv_2mortal( newSViv( item ) ) );
2687     PUSHs( sv_2mortal( newSViv( flags ) ) );
2688         PUTBACK;
2689         return;
2690     }
2691 }
2692
2693 #endif
2694
2695 XS(XS_Wx__BookCtrlEvent_GetSelection); /* prototype to pass -Wmissing-prototypes */
2696 XS(XS_Wx__BookCtrlEvent_GetSelection)
2697 {
2698 #ifdef dVAR
2699     dVAR; dXSARGS;
2700 #else
2701     dXSARGS;
2702 #endif
2703     if (items != 1)
2704        croak_xs_usage(cv,  "THIS");
2705     {
2706         wxBookCtrlEvent *    THIS = (wxBookCtrlEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BookCtrlEvent" );
2707         int     RETVAL;
2708         dXSTARG;
2709
2710         RETVAL = THIS->GetSelection();
2711         XSprePUSH; PUSHi((IV)RETVAL);
2712     }
2713     XSRETURN(1);
2714 }
2715
2716
2717 XS(XS_Wx__BookCtrlEvent_SetSelection); /* prototype to pass -Wmissing-prototypes */
2718 XS(XS_Wx__BookCtrlEvent_SetSelection)
2719 {
2720 #ifdef dVAR
2721     dVAR; dXSARGS;
2722 #else
2723     dXSARGS;
2724 #endif
2725     if (items != 2)
2726        croak_xs_usage(cv,  "THIS, nSel");
2727     {
2728         int     nSel = (int)SvIV(ST(1));
2729         wxBookCtrlEvent *    THIS = (wxBookCtrlEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BookCtrlEvent" );
2730
2731         THIS->SetSelection(nSel);
2732     }
2733     XSRETURN_EMPTY;
2734 }
2735
2736
2737 XS(XS_Wx__BookCtrlEvent_GetOldSelection); /* prototype to pass -Wmissing-prototypes */
2738 XS(XS_Wx__BookCtrlEvent_GetOldSelection)
2739 {
2740 #ifdef dVAR
2741     dVAR; dXSARGS;
2742 #else
2743     dXSARGS;
2744 #endif
2745     if (items != 1)
2746        croak_xs_usage(cv,  "THIS");
2747     {
2748         wxBookCtrlEvent *    THIS = (wxBookCtrlEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BookCtrlEvent" );
2749         int     RETVAL;
2750         dXSTARG;
2751
2752         RETVAL = THIS->GetOldSelection();
2753         XSprePUSH; PUSHi((IV)RETVAL);
2754     }
2755     XSRETURN(1);
2756 }
2757
2758
2759 XS(XS_Wx__BookCtrlEvent_SetOldSelection); /* prototype to pass -Wmissing-prototypes */
2760 XS(XS_Wx__BookCtrlEvent_SetOldSelection)
2761 {
2762 #ifdef dVAR
2763     dVAR; dXSARGS;
2764 #else
2765     dXSARGS;
2766 #endif
2767     if (items != 2)
2768        croak_xs_usage(cv,  "THIS, nOldSel");
2769     {
2770         int     nOldSel = (int)SvIV(ST(1));
2771         wxBookCtrlEvent *    THIS = (wxBookCtrlEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BookCtrlEvent" );
2772
2773         THIS->SetOldSelection(nOldSel);
2774     }
2775     XSRETURN_EMPTY;
2776 }
2777
2778 #endif
2779
2780 /* INCLUDE: Returning to 'Controls.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/BookCtrl.xsp |' */
2781
2782
2783 /* INCLUDE:  Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/Listbook.xsp |' from 'Controls.xs' */
2784
2785 #if WXPERL_W_VERSION_GE( 2, 5, 1 )
2786 #include <wx/listbook.h>
2787 #define XSubPPtmpAAAQ 1
2788
2789
2790 XS(XS_Wx__Listbook_newDefault); /* prototype to pass -Wmissing-prototypes */
2791 XS(XS_Wx__Listbook_newDefault)
2792 {
2793 #ifdef dVAR
2794     dVAR; dXSARGS;
2795 #else
2796     dXSARGS;
2797 #endif
2798     if (items != 1)
2799        croak_xs_usage(cv,  "CLASS");
2800     {
2801         char *  CLASS = (char *)SvPV_nolen(ST(0));
2802         wxListbook *    RETVAL;
2803      RETVAL = new wxListbook();
2804                 wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
2805
2806         ST(0) = sv_newmortal();
2807     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
2808
2809     }
2810     XSRETURN(1);
2811 }
2812
2813
2814 XS(XS_Wx__Listbook_newFull); /* prototype to pass -Wmissing-prototypes */
2815 XS(XS_Wx__Listbook_newFull)
2816 {
2817 #ifdef dVAR
2818     dVAR; dXSARGS;
2819 #else
2820     dXSARGS;
2821 #endif
2822     if (items < 2 || items > 7)
2823        croak_xs_usage(cv,  "CLASS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, name = wxEmptyString");
2824     {
2825         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
2826         wxWindowID      id;
2827         wxPoint pos;
2828         wxSize  size;
2829         long    style;
2830         wxString        name;
2831         char *  CLASS = (char *)SvPV_nolen(ST(0));
2832         wxListbook *    RETVAL;
2833
2834         if (items < 3)
2835             id = wxID_ANY;
2836         else {
2837     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
2838         }
2839
2840         if (items < 4)
2841             pos = wxDefaultPosition;
2842         else {
2843     pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) );
2844         }
2845
2846         if (items < 5)
2847             size = wxDefaultSize;
2848         else {
2849     size = wxPli_sv_2_wxsize( aTHX_ ST(4) );
2850         }
2851
2852         if (items < 6)
2853             style = 0;
2854         else {
2855             style = (long)SvIV(ST(5));
2856         }
2857
2858         if (items < 7)
2859             name = wxEmptyString;
2860         else {
2861     WXSTRING_INPUT( name, wxString, ST(6) );
2862         }
2863      RETVAL = new wxListbook( parent, id, pos, size, style, name );
2864                 wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
2865
2866         ST(0) = sv_newmortal();
2867     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
2868
2869     }
2870     XSRETURN(1);
2871 }
2872
2873
2874 XS(XS_Wx__Listbook_Create); /* prototype to pass -Wmissing-prototypes */
2875 XS(XS_Wx__Listbook_Create)
2876 {
2877 #ifdef dVAR
2878     dVAR; dXSARGS;
2879 #else
2880     dXSARGS;
2881 #endif
2882     if (items < 2 || items > 7)
2883        croak_xs_usage(cv,  "THIS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, name = wxEmptyString");
2884     {
2885         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
2886         wxWindowID      id;
2887         wxPoint pos;
2888         wxSize  size;
2889         long    style;
2890         wxString        name;
2891         wxListbook *    THIS = (wxListbook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Listbook" );
2892         bool    RETVAL;
2893
2894         if (items < 3)
2895             id = wxID_ANY;
2896         else {
2897     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
2898         }
2899
2900         if (items < 4)
2901             pos = wxDefaultPosition;
2902         else {
2903     pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) );
2904         }
2905
2906         if (items < 5)
2907             size = wxDefaultSize;
2908         else {
2909     size = wxPli_sv_2_wxsize( aTHX_ ST(4) );
2910         }
2911
2912         if (items < 6)
2913             style = 0;
2914         else {
2915             style = (long)SvIV(ST(5));
2916         }
2917
2918         if (items < 7)
2919             name = wxEmptyString;
2920         else {
2921     WXSTRING_INPUT( name, wxString, ST(6) );
2922         }
2923
2924         RETVAL = THIS->Create(parent, id, pos, size, style, name);
2925         ST(0) = boolSV(RETVAL);
2926         sv_2mortal(ST(0));
2927     }
2928     XSRETURN(1);
2929 }
2930
2931 #if WXPERL_W_VERSION_GE( 2, 5, 3 )
2932 #define XSubPPtmpAAAR 1
2933
2934
2935 XS(XS_Wx__Listbook_GetListView); /* prototype to pass -Wmissing-prototypes */
2936 XS(XS_Wx__Listbook_GetListView)
2937 {
2938 #ifdef dVAR
2939     dVAR; dXSARGS;
2940 #else
2941     dXSARGS;
2942 #endif
2943     if (items != 1)
2944        croak_xs_usage(cv,  "THIS");
2945     {
2946         wxListbook *    THIS = (wxListbook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Listbook" );
2947         wxListView *    RETVAL;
2948
2949         RETVAL = THIS->GetListView();
2950         ST(0) = sv_newmortal();
2951     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
2952
2953     }
2954     XSRETURN(1);
2955 }
2956
2957 #endif
2958
2959 XS(XS_Wx__Listbook_new); /* prototype to pass -Wmissing-prototypes */
2960 XS(XS_Wx__Listbook_new)
2961 {
2962 #ifdef dVAR
2963     dVAR; dXSARGS;
2964 #else
2965     dXSARGS;
2966 #endif
2967     PERL_UNUSED_VAR(cv); /* -W */
2968     PERL_UNUSED_VAR(ax); /* -Wall */
2969     SP -= items;
2970     {
2971     BEGIN_OVERLOAD()
2972         MATCH_VOIDM_REDISP( newDefault )
2973         MATCH_ANY_REDISP( newFull )
2974     END_OVERLOAD( "Wx::Listbook::new" )
2975         PUTBACK;
2976         return;
2977     }
2978 }
2979
2980 #endif
2981
2982 /* INCLUDE: Returning to 'Controls.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/Listbook.xsp |' */
2983
2984
2985 /* INCLUDE:  Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/Choicebook.xsp |' from 'Controls.xs' */
2986
2987 #if WXPERL_W_VERSION_GE( 2, 5, 3 )
2988 #include <wx/choice.h>
2989 #include <wx/choicebk.h>
2990 #define XSubPPtmpAAAS 1
2991
2992
2993 XS(XS_Wx__Choicebook_newDefault); /* prototype to pass -Wmissing-prototypes */
2994 XS(XS_Wx__Choicebook_newDefault)
2995 {
2996 #ifdef dVAR
2997     dVAR; dXSARGS;
2998 #else
2999     dXSARGS;
3000 #endif
3001     if (items != 1)
3002        croak_xs_usage(cv,  "CLASS");
3003     {
3004         char *  CLASS = (char *)SvPV_nolen(ST(0));
3005         wxChoicebook *  RETVAL;
3006      RETVAL = new wxChoicebook();
3007                 wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
3008
3009         ST(0) = sv_newmortal();
3010     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
3011
3012     }
3013     XSRETURN(1);
3014 }
3015
3016
3017 XS(XS_Wx__Choicebook_newFull); /* prototype to pass -Wmissing-prototypes */
3018 XS(XS_Wx__Choicebook_newFull)
3019 {
3020 #ifdef dVAR
3021     dVAR; dXSARGS;
3022 #else
3023     dXSARGS;
3024 #endif
3025     if (items < 3 || items > 7)
3026        croak_xs_usage(cv,  "CLASS, parent, id, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, name = wxEmptyString");
3027     {
3028         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
3029         wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) );
3030         wxPoint pos;
3031         wxSize  size;
3032         long    style;
3033         wxString        name;
3034         char *  CLASS = (char *)SvPV_nolen(ST(0));
3035         wxChoicebook *  RETVAL;
3036
3037         if (items < 4)
3038             pos = wxDefaultPosition;
3039         else {
3040     pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) );
3041         }
3042
3043         if (items < 5)
3044             size = wxDefaultSize;
3045         else {
3046     size = wxPli_sv_2_wxsize( aTHX_ ST(4) );
3047         }
3048
3049         if (items < 6)
3050             style = 0;
3051         else {
3052             style = (long)SvIV(ST(5));
3053         }
3054
3055         if (items < 7)
3056             name = wxEmptyString;
3057         else {
3058     WXSTRING_INPUT( name, wxString, ST(6) );
3059         }
3060      RETVAL = new wxChoicebook( parent, id, pos, size, style, name );
3061                 wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
3062
3063         ST(0) = sv_newmortal();
3064     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
3065
3066     }
3067     XSRETURN(1);
3068 }
3069
3070
3071 XS(XS_Wx__Choicebook_Create); /* prototype to pass -Wmissing-prototypes */
3072 XS(XS_Wx__Choicebook_Create)
3073 {
3074 #ifdef dVAR
3075     dVAR; dXSARGS;
3076 #else
3077     dXSARGS;
3078 #endif
3079     if (items < 3 || items > 7)
3080        croak_xs_usage(cv,  "THIS, parent, id, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, name = wxEmptyString");
3081     {
3082         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
3083         wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) );
3084         wxPoint pos;
3085         wxSize  size;
3086         long    style;
3087         wxString        name;
3088         wxChoicebook *    THIS = (wxChoicebook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Choicebook" );
3089         bool    RETVAL;
3090
3091         if (items < 4)
3092             pos = wxDefaultPosition;
3093         else {
3094     pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) );
3095         }
3096
3097         if (items < 5)
3098             size = wxDefaultSize;
3099         else {
3100     size = wxPli_sv_2_wxsize( aTHX_ ST(4) );
3101         }
3102
3103         if (items < 6)
3104             style = 0;
3105         else {
3106             style = (long)SvIV(ST(5));
3107         }
3108
3109         if (items < 7)
3110             name = wxEmptyString;
3111         else {
3112     WXSTRING_INPUT( name, wxString, ST(6) );
3113         }
3114
3115         RETVAL = THIS->Create(parent, id, pos, size, style, name);
3116         ST(0) = boolSV(RETVAL);
3117         sv_2mortal(ST(0));
3118     }
3119     XSRETURN(1);
3120 }
3121
3122
3123 XS(XS_Wx__Choicebook_IsVertical); /* prototype to pass -Wmissing-prototypes */
3124 XS(XS_Wx__Choicebook_IsVertical)
3125 {
3126 #ifdef dVAR
3127     dVAR; dXSARGS;
3128 #else
3129     dXSARGS;
3130 #endif
3131     if (items != 1)
3132        croak_xs_usage(cv,  "THIS");
3133     {
3134         wxChoicebook *    THIS = (wxChoicebook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Choicebook" );
3135         bool    RETVAL;
3136
3137         RETVAL = THIS->IsVertical();
3138         ST(0) = boolSV(RETVAL);
3139         sv_2mortal(ST(0));
3140     }
3141     XSRETURN(1);
3142 }
3143
3144 #if WXPERL_W_VERSION_GE( 2, 6, 0 )
3145 #define XSubPPtmpAAAT 1
3146
3147
3148 XS(XS_Wx__Choicebook_GetChoiceCtrl); /* prototype to pass -Wmissing-prototypes */
3149 XS(XS_Wx__Choicebook_GetChoiceCtrl)
3150 {
3151 #ifdef dVAR
3152     dVAR; dXSARGS;
3153 #else
3154     dXSARGS;
3155 #endif
3156     if (items != 1)
3157        croak_xs_usage(cv,  "THIS");
3158     {
3159         wxChoicebook *    THIS = (wxChoicebook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Choicebook" );
3160         wxChoice *      RETVAL;
3161
3162         RETVAL = THIS->GetChoiceCtrl();
3163         ST(0) = sv_newmortal();
3164     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
3165
3166     }
3167     XSRETURN(1);
3168 }
3169
3170 #endif
3171
3172 XS(XS_Wx__Choicebook_new); /* prototype to pass -Wmissing-prototypes */
3173 XS(XS_Wx__Choicebook_new)
3174 {
3175 #ifdef dVAR
3176     dVAR; dXSARGS;
3177 #else
3178     dXSARGS;
3179 #endif
3180     PERL_UNUSED_VAR(cv); /* -W */
3181     PERL_UNUSED_VAR(ax); /* -Wall */
3182     SP -= items;
3183     {
3184     BEGIN_OVERLOAD()
3185         MATCH_VOIDM_REDISP( newDefault )
3186         MATCH_ANY_REDISP( newFull )
3187     END_OVERLOAD( "Wx::Choicebook::new" )
3188         PUTBACK;
3189         return;
3190     }
3191 }
3192
3193 #endif
3194
3195 /* INCLUDE: Returning to 'Controls.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/Choicebook.xsp |' */
3196
3197
3198 /* INCLUDE:  Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/Toolbook.xsp |' from 'Controls.xs' */
3199
3200 #if WXPERL_W_VERSION_GE( 2, 7, 0 )
3201 #include <wx/toolbar.h>
3202 #include <wx/toolbook.h>
3203 #define XSubPPtmpAAAU 1
3204
3205
3206 XS(XS_Wx__Toolbook_newDefault); /* prototype to pass -Wmissing-prototypes */
3207 XS(XS_Wx__Toolbook_newDefault)
3208 {
3209 #ifdef dVAR
3210     dVAR; dXSARGS;
3211 #else
3212     dXSARGS;
3213 #endif
3214     if (items != 1)
3215        croak_xs_usage(cv,  "CLASS");
3216     {
3217         char *  CLASS = (char *)SvPV_nolen(ST(0));
3218         wxToolbook *    RETVAL;
3219      RETVAL = new wxToolbook();
3220                 wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
3221
3222         ST(0) = sv_newmortal();
3223     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
3224
3225     }
3226     XSRETURN(1);
3227 }
3228
3229
3230 XS(XS_Wx__Toolbook_newFull); /* prototype to pass -Wmissing-prototypes */
3231 XS(XS_Wx__Toolbook_newFull)
3232 {
3233 #ifdef dVAR
3234     dVAR; dXSARGS;
3235 #else
3236     dXSARGS;
3237 #endif
3238     if (items < 2 || items > 7)
3239        croak_xs_usage(cv,  "CLASS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, name = wxEmptyString");
3240     {
3241         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
3242         wxWindowID      id;
3243         wxPoint pos;
3244         wxSize  size;
3245         long    style;
3246         wxString        name;
3247         char *  CLASS = (char *)SvPV_nolen(ST(0));
3248         wxToolbook *    RETVAL;
3249
3250         if (items < 3)
3251             id = wxID_ANY;
3252         else {
3253     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
3254         }
3255
3256         if (items < 4)
3257             pos = wxDefaultPosition;
3258         else {
3259     pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) );
3260         }
3261
3262         if (items < 5)
3263             size = wxDefaultSize;
3264         else {
3265     size = wxPli_sv_2_wxsize( aTHX_ ST(4) );
3266         }
3267
3268         if (items < 6)
3269             style = 0;
3270         else {
3271             style = (long)SvIV(ST(5));
3272         }
3273
3274         if (items < 7)
3275             name = wxEmptyString;
3276         else {
3277     WXSTRING_INPUT( name, wxString, ST(6) );
3278         }
3279      RETVAL = new wxToolbook( parent, id, pos, size, style, name );
3280                 wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
3281
3282         ST(0) = sv_newmortal();
3283     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
3284
3285     }
3286     XSRETURN(1);
3287 }
3288
3289
3290 XS(XS_Wx__Toolbook_Create); /* prototype to pass -Wmissing-prototypes */
3291 XS(XS_Wx__Toolbook_Create)
3292 {
3293 #ifdef dVAR
3294     dVAR; dXSARGS;
3295 #else
3296     dXSARGS;
3297 #endif
3298     if (items < 2 || items > 7)
3299        croak_xs_usage(cv,  "THIS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, name = wxEmptyString");
3300     {
3301         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
3302         wxWindowID      id;
3303         wxPoint pos;
3304         wxSize  size;
3305         long    style;
3306         wxString        name;
3307         wxToolbook *    THIS = (wxToolbook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Toolbook" );
3308         bool    RETVAL;
3309
3310         if (items < 3)
3311             id = wxID_ANY;
3312         else {
3313     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
3314         }
3315
3316         if (items < 4)
3317             pos = wxDefaultPosition;
3318         else {
3319     pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) );
3320         }
3321
3322         if (items < 5)
3323             size = wxDefaultSize;
3324         else {
3325     size = wxPli_sv_2_wxsize( aTHX_ ST(4) );
3326         }
3327
3328         if (items < 6)
3329             style = 0;
3330         else {
3331             style = (long)SvIV(ST(5));
3332         }
3333
3334         if (items < 7)
3335             name = wxEmptyString;
3336         else {
3337     WXSTRING_INPUT( name, wxString, ST(6) );
3338         }
3339
3340         RETVAL = THIS->Create(parent, id, pos, size, style, name);
3341         ST(0) = boolSV(RETVAL);
3342         sv_2mortal(ST(0));
3343     }
3344     XSRETURN(1);
3345 }
3346
3347
3348 XS(XS_Wx__Toolbook_GetToolBar); /* prototype to pass -Wmissing-prototypes */
3349 XS(XS_Wx__Toolbook_GetToolBar)
3350 {
3351 #ifdef dVAR
3352     dVAR; dXSARGS;
3353 #else
3354     dXSARGS;
3355 #endif
3356     if (items != 1)
3357        croak_xs_usage(cv,  "THIS");
3358     {
3359         wxToolbook *    THIS = (wxToolbook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Toolbook" );
3360         wxToolBarBase * RETVAL;
3361
3362         RETVAL = THIS->GetToolBar();
3363         ST(0) = sv_newmortal();
3364     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
3365
3366     }
3367     XSRETURN(1);
3368 }
3369
3370
3371 XS(XS_Wx__Toolbook_Realize); /* prototype to pass -Wmissing-prototypes */
3372 XS(XS_Wx__Toolbook_Realize)
3373 {
3374 #ifdef dVAR
3375     dVAR; dXSARGS;
3376 #else
3377     dXSARGS;
3378 #endif
3379     if (items != 1)
3380        croak_xs_usage(cv,  "THIS");
3381     {
3382         wxToolbook *    THIS = (wxToolbook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Toolbook" );
3383
3384         THIS->Realize();
3385     }
3386     XSRETURN_EMPTY;
3387 }
3388
3389
3390 XS(XS_Wx__Toolbook_new); /* prototype to pass -Wmissing-prototypes */
3391 XS(XS_Wx__Toolbook_new)
3392 {
3393 #ifdef dVAR
3394     dVAR; dXSARGS;
3395 #else
3396     dXSARGS;
3397 #endif
3398     PERL_UNUSED_VAR(cv); /* -W */
3399     PERL_UNUSED_VAR(ax); /* -Wall */
3400     SP -= items;
3401     {
3402     BEGIN_OVERLOAD()
3403         MATCH_VOIDM_REDISP( newDefault )
3404         MATCH_ANY_REDISP( newFull )
3405     END_OVERLOAD( "Wx::Toolbook::new" )
3406         PUTBACK;
3407         return;
3408     }
3409 }
3410
3411 #endif
3412
3413 /* INCLUDE: Returning to 'Controls.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/Toolbook.xsp |' */
3414
3415
3416 /* INCLUDE:  Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/Treebook.xsp |' from 'Controls.xs' */
3417
3418 #if WXPERL_W_VERSION_GE( 2, 7, 0 )
3419 #include <wx/treebook.h>
3420 #define XSubPPtmpAAAV 1
3421
3422
3423 XS(XS_Wx__TreebookEvent_new); /* prototype to pass -Wmissing-prototypes */
3424 XS(XS_Wx__TreebookEvent_new)
3425 {
3426 #ifdef dVAR
3427     dVAR; dXSARGS;
3428 #else
3429     dXSARGS;
3430 #endif
3431     if (items < 1 || items > 5)
3432        croak_xs_usage(cv,  "CLASS, commandType = wxEVT_NULL, id = 0, nSel = wxNOT_FOUND, nOldSel = wxNOT_FOUND");
3433     {
3434         wxEventType     commandType;
3435         int     id;
3436         int     nSel;
3437         int     nOldSel;
3438         char *  CLASS = (char *)SvPV_nolen(ST(0));
3439         wxTreebookEvent *       RETVAL;
3440
3441         if (items < 2)
3442             commandType = wxEVT_NULL;
3443         else {
3444             commandType = (wxEventType)SvIV(ST(1));
3445         }
3446
3447         if (items < 3)
3448             id = 0;
3449         else {
3450             id = (int)SvIV(ST(2));
3451         }
3452
3453         if (items < 4)
3454             nSel = wxNOT_FOUND;
3455         else {
3456             nSel = (int)SvIV(ST(3));
3457         }
3458
3459         if (items < 5)
3460             nOldSel = wxNOT_FOUND;
3461         else {
3462             nOldSel = (int)SvIV(ST(4));
3463         }
3464
3465         RETVAL = new wxTreebookEvent(commandType, id, nSel, nOldSel);
3466         ST(0) = sv_newmortal();
3467     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
3468     wxPli_thread_sv_register( aTHX_ "Wx::TreebookEvent", RETVAL, ST(0) );
3469
3470     }
3471     XSRETURN(1);
3472 }
3473
3474
3475 XS(XS_Wx__TreebookEvent_GetOldSelection); /* prototype to pass -Wmissing-prototypes */
3476 XS(XS_Wx__TreebookEvent_GetOldSelection)
3477 {
3478 #ifdef dVAR
3479     dVAR; dXSARGS;
3480 #else
3481     dXSARGS;
3482 #endif
3483     if (items != 1)
3484        croak_xs_usage(cv,  "THIS");
3485     {
3486         wxTreebookEvent *    THIS = (wxTreebookEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreebookEvent" );
3487         int     RETVAL;
3488         dXSTARG;
3489
3490         RETVAL = THIS->GetOldSelection();
3491         XSprePUSH; PUSHi((IV)RETVAL);
3492     }
3493     XSRETURN(1);
3494 }
3495
3496
3497 XS(XS_Wx__TreebookEvent_GetSelection); /* prototype to pass -Wmissing-prototypes */
3498 XS(XS_Wx__TreebookEvent_GetSelection)
3499 {
3500 #ifdef dVAR
3501     dVAR; dXSARGS;
3502 #else
3503     dXSARGS;
3504 #endif
3505     if (items != 1)
3506        croak_xs_usage(cv,  "THIS");
3507     {
3508         wxTreebookEvent *    THIS = (wxTreebookEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreebookEvent" );
3509         int     RETVAL;
3510         dXSTARG;
3511
3512         RETVAL = THIS->GetSelection();
3513         XSprePUSH; PUSHi((IV)RETVAL);
3514     }
3515     XSRETURN(1);
3516 }
3517
3518
3519 XS(XS_Wx__Treebook_newDefault); /* prototype to pass -Wmissing-prototypes */
3520 XS(XS_Wx__Treebook_newDefault)
3521 {
3522 #ifdef dVAR
3523     dVAR; dXSARGS;
3524 #else
3525     dXSARGS;
3526 #endif
3527     if (items != 1)
3528        croak_xs_usage(cv,  "CLASS");
3529     {
3530         char *  CLASS = (char *)SvPV_nolen(ST(0));
3531         wxTreebook *    RETVAL;
3532      RETVAL = new wxTreebook();
3533                 wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
3534
3535         ST(0) = sv_newmortal();
3536     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
3537
3538     }
3539     XSRETURN(1);
3540 }
3541
3542
3543 XS(XS_Wx__Treebook_newFull); /* prototype to pass -Wmissing-prototypes */
3544 XS(XS_Wx__Treebook_newFull)
3545 {
3546 #ifdef dVAR
3547     dVAR; dXSARGS;
3548 #else
3549     dXSARGS;
3550 #endif
3551     if (items < 2 || items > 7)
3552        croak_xs_usage(cv,  "CLASS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, name = wxEmptyString");
3553     {
3554         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
3555         wxWindowID      id;
3556         wxPoint pos;
3557         wxSize  size;
3558         long    style;
3559         wxString        name;
3560         char *  CLASS = (char *)SvPV_nolen(ST(0));
3561         wxTreebook *    RETVAL;
3562
3563         if (items < 3)
3564             id = wxID_ANY;
3565         else {
3566     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
3567         }
3568
3569         if (items < 4)
3570             pos = wxDefaultPosition;
3571         else {
3572     pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) );
3573         }
3574
3575         if (items < 5)
3576             size = wxDefaultSize;
3577         else {
3578     size = wxPli_sv_2_wxsize( aTHX_ ST(4) );
3579         }
3580
3581         if (items < 6)
3582             style = 0;
3583         else {
3584             style = (long)SvIV(ST(5));
3585         }
3586
3587         if (items < 7)
3588             name = wxEmptyString;
3589         else {
3590     WXSTRING_INPUT( name, wxString, ST(6) );
3591         }
3592      RETVAL = new wxTreebook( parent, id, pos, size, style, name );
3593                 wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
3594
3595         ST(0) = sv_newmortal();
3596     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
3597
3598     }
3599     XSRETURN(1);
3600 }
3601
3602
3603 XS(XS_Wx__Treebook_Create); /* prototype to pass -Wmissing-prototypes */
3604 XS(XS_Wx__Treebook_Create)
3605 {
3606 #ifdef dVAR
3607     dVAR; dXSARGS;
3608 #else
3609     dXSARGS;
3610 #endif
3611     if (items < 2 || items > 7)
3612        croak_xs_usage(cv,  "THIS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, name = wxEmptyString");
3613     {
3614         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
3615         wxWindowID      id;
3616         wxPoint pos;
3617         wxSize  size;
3618         long    style;
3619         wxString        name;
3620         wxTreebook *    THIS = (wxTreebook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Treebook" );
3621         bool    RETVAL;
3622
3623         if (items < 3)
3624             id = wxID_ANY;
3625         else {
3626     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
3627         }
3628
3629         if (items < 4)
3630             pos = wxDefaultPosition;
3631         else {
3632     pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) );
3633         }
3634
3635         if (items < 5)
3636             size = wxDefaultSize;
3637         else {
3638     size = wxPli_sv_2_wxsize( aTHX_ ST(4) );
3639         }
3640
3641         if (items < 6)
3642             style = 0;
3643         else {
3644             style = (long)SvIV(ST(5));
3645         }
3646
3647         if (items < 7)
3648             name = wxEmptyString;
3649         else {
3650     WXSTRING_INPUT( name, wxString, ST(6) );
3651         }
3652
3653         RETVAL = THIS->Create(parent, id, pos, size, style, name);
3654         ST(0) = boolSV(RETVAL);
3655         sv_2mortal(ST(0));
3656     }
3657     XSRETURN(1);
3658 }
3659
3660
3661 XS(XS_Wx__Treebook_InsertSubPage); /* prototype to pass -Wmissing-prototypes */
3662 XS(XS_Wx__Treebook_InsertSubPage)
3663 {
3664 #ifdef dVAR
3665     dVAR; dXSARGS;
3666 #else
3667     dXSARGS;
3668 #endif
3669     if (items < 4 || items > 6)
3670        croak_xs_usage(cv,  "THIS, pos, page, text, bSelect = false, imageId = wxNOT_FOUND");
3671     {
3672         size_t    pos = (size_t)SvUV( ST(1) );
3673         wxWindow*    page = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Window" );
3674         wxString        text;
3675         bool    bSelect;
3676         int     imageId;
3677         wxTreebook *    THIS = (wxTreebook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Treebook" );
3678         bool    RETVAL;
3679
3680     WXSTRING_INPUT( text, wxString, ST(3) );
3681
3682         if (items < 5)
3683             bSelect = false;
3684         else {
3685             bSelect = (bool)SvTRUE(ST(4));
3686         }
3687
3688         if (items < 6)
3689             imageId = wxNOT_FOUND;
3690         else {
3691             imageId = (int)SvIV(ST(5));
3692         }
3693
3694         RETVAL = THIS->InsertSubPage(pos, page, text, bSelect, imageId);
3695         ST(0) = boolSV(RETVAL);
3696         sv_2mortal(ST(0));
3697     }
3698     XSRETURN(1);
3699 }
3700
3701
3702 XS(XS_Wx__Treebook_AddSubPage); /* prototype to pass -Wmissing-prototypes */
3703 XS(XS_Wx__Treebook_AddSubPage)
3704 {
3705 #ifdef dVAR
3706     dVAR; dXSARGS;
3707 #else
3708     dXSARGS;
3709 #endif
3710     if (items < 3 || items > 5)
3711        croak_xs_usage(cv,  "THIS, page, text, bSelect = false, imageId = wxNOT_FOUND");
3712     {
3713         wxWindow*    page = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
3714         wxString        text;
3715         bool    bSelect;
3716         int     imageId;
3717         wxTreebook *    THIS = (wxTreebook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Treebook" );
3718         bool    RETVAL;
3719
3720     WXSTRING_INPUT( text, wxString, ST(2) );
3721
3722         if (items < 4)
3723             bSelect = false;
3724         else {
3725             bSelect = (bool)SvTRUE(ST(3));
3726         }
3727
3728         if (items < 5)
3729             imageId = wxNOT_FOUND;
3730         else {
3731             imageId = (int)SvIV(ST(4));
3732         }
3733
3734         RETVAL = THIS->AddSubPage(page, text, bSelect, imageId);
3735         ST(0) = boolSV(RETVAL);
3736         sv_2mortal(ST(0));
3737     }
3738     XSRETURN(1);
3739 }
3740
3741
3742 XS(XS_Wx__Treebook_IsNodeExpanded); /* prototype to pass -Wmissing-prototypes */
3743 XS(XS_Wx__Treebook_IsNodeExpanded)
3744 {
3745 #ifdef dVAR
3746     dVAR; dXSARGS;
3747 #else
3748     dXSARGS;
3749 #endif
3750     if (items != 2)
3751        croak_xs_usage(cv,  "THIS, pos");
3752     {
3753         size_t    pos = (size_t)SvUV( ST(1) );
3754         wxTreebook *    THIS = (wxTreebook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Treebook" );
3755         bool    RETVAL;
3756
3757         RETVAL = THIS->IsNodeExpanded(pos);
3758         ST(0) = boolSV(RETVAL);
3759         sv_2mortal(ST(0));
3760     }
3761     XSRETURN(1);
3762 }
3763
3764
3765 XS(XS_Wx__Treebook_ExpandNode); /* prototype to pass -Wmissing-prototypes */
3766 XS(XS_Wx__Treebook_ExpandNode)
3767 {
3768 #ifdef dVAR
3769     dVAR; dXSARGS;
3770 #else
3771     dXSARGS;
3772 #endif
3773     if (items < 2 || items > 3)
3774        croak_xs_usage(cv,  "THIS, pos, expand = true");
3775     {
3776         size_t    pos = (size_t)SvUV( ST(1) );
3777         bool    expand;
3778         wxTreebook *    THIS = (wxTreebook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Treebook" );
3779         bool    RETVAL;
3780
3781         if (items < 3)
3782             expand = true;
3783         else {
3784             expand = (bool)SvTRUE(ST(2));
3785         }
3786
3787         RETVAL = THIS->ExpandNode(pos, expand);
3788         ST(0) = boolSV(RETVAL);
3789         sv_2mortal(ST(0));
3790     }
3791     XSRETURN(1);
3792 }
3793
3794
3795 XS(XS_Wx__Treebook_CollapseNode); /* prototype to pass -Wmissing-prototypes */
3796 XS(XS_Wx__Treebook_CollapseNode)
3797 {
3798 #ifdef dVAR
3799     dVAR; dXSARGS;
3800 #else
3801     dXSARGS;
3802 #endif
3803     if (items != 2)
3804        croak_xs_usage(cv,  "THIS, pos");
3805     {
3806         size_t    pos = (size_t)SvUV( ST(1) );
3807         wxTreebook *    THIS = (wxTreebook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Treebook" );
3808         bool    RETVAL;
3809
3810         RETVAL = THIS->CollapseNode(pos);
3811         ST(0) = boolSV(RETVAL);
3812         sv_2mortal(ST(0));
3813     }
3814     XSRETURN(1);
3815 }
3816
3817
3818 XS(XS_Wx__Treebook_GetPageParent); /* prototype to pass -Wmissing-prototypes */
3819 XS(XS_Wx__Treebook_GetPageParent)
3820 {
3821 #ifdef dVAR
3822     dVAR; dXSARGS;
3823 #else
3824     dXSARGS;
3825 #endif
3826     if (items != 2)
3827        croak_xs_usage(cv,  "THIS, pos");
3828     {
3829         size_t    pos = (size_t)SvUV( ST(1) );
3830         wxTreebook *    THIS = (wxTreebook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Treebook" );
3831         int     RETVAL;
3832         dXSTARG;
3833
3834         RETVAL = THIS->GetPageParent(pos);
3835         XSprePUSH; PUSHi((IV)RETVAL);
3836     }
3837     XSRETURN(1);
3838 }
3839
3840
3841 XS(XS_Wx__Treebook_GetTreeCtrl); /* prototype to pass -Wmissing-prototypes */
3842 XS(XS_Wx__Treebook_GetTreeCtrl)
3843 {
3844 #ifdef dVAR
3845     dVAR; dXSARGS;
3846 #else
3847     dXSARGS;
3848 #endif
3849     if (items != 1)
3850        croak_xs_usage(cv,  "THIS");
3851     {
3852         wxTreebook *    THIS = (wxTreebook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Treebook" );
3853         wxTreeCtrl *    RETVAL;
3854
3855         RETVAL = THIS->GetTreeCtrl();
3856         ST(0) = sv_newmortal();
3857     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
3858
3859     }
3860     XSRETURN(1);
3861 }
3862
3863
3864 XS(XS_Wx__Treebook_new); /* prototype to pass -Wmissing-prototypes */
3865 XS(XS_Wx__Treebook_new)
3866 {
3867 #ifdef dVAR
3868     dVAR; dXSARGS;
3869 #else
3870     dXSARGS;
3871 #endif
3872     PERL_UNUSED_VAR(cv); /* -W */
3873     PERL_UNUSED_VAR(ax); /* -Wall */
3874     SP -= items;
3875     {
3876     BEGIN_OVERLOAD()
3877         MATCH_VOIDM_REDISP( newDefault )
3878         MATCH_ANY_REDISP( newFull )
3879     END_OVERLOAD( "Wx::Treebook::new" )
3880         PUTBACK;
3881         return;
3882     }
3883 }
3884
3885 #endif
3886
3887 /* INCLUDE: Returning to 'Controls.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/Treebook.xsp |' */
3888
3889
3890 /* INCLUDE:  Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/HyperlinkCtrl.xsp |' from 'Controls.xs' */
3891
3892 #if WXPERL_W_VERSION_GE( 2, 7, 0 )
3893 #include <wx/hyperlink.h>
3894 #define XSubPPtmpAAAW 1
3895
3896
3897 XS(XS_Wx__HyperlinkCtrl_newDefault); /* prototype to pass -Wmissing-prototypes */
3898 XS(XS_Wx__HyperlinkCtrl_newDefault)
3899 {
3900 #ifdef dVAR
3901     dVAR; dXSARGS;
3902 #else
3903     dXSARGS;
3904 #endif
3905     if (items != 1)
3906        croak_xs_usage(cv,  "CLASS");
3907     {
3908         char *  CLASS = (char *)SvPV_nolen(ST(0));
3909         wxHyperlinkCtrl *       RETVAL;
3910      RETVAL = new wxHyperlinkCtrl();
3911                 wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
3912
3913         ST(0) = sv_newmortal();
3914     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
3915
3916     }
3917     XSRETURN(1);
3918 }
3919
3920
3921 XS(XS_Wx__HyperlinkCtrl_newFull); /* prototype to pass -Wmissing-prototypes */
3922 XS(XS_Wx__HyperlinkCtrl_newFull)
3923 {
3924 #ifdef dVAR
3925     dVAR; dXSARGS;
3926 #else
3927     dXSARGS;
3928 #endif
3929     if (items < 5 || items > 9)
3930        croak_xs_usage(cv,  "CLASS, parent, id, label, url, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, name = wxHyperlinkCtrlNameStr");
3931     {
3932         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
3933         wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) );
3934         wxString        label;
3935         wxString        url;
3936         wxPoint pos;
3937         wxSize  size;
3938         long    style;
3939         wxString        name;
3940         char *  CLASS = (char *)SvPV_nolen(ST(0));
3941         wxHyperlinkCtrl *       RETVAL;
3942
3943     WXSTRING_INPUT( label, wxString, ST(3) );
3944
3945     WXSTRING_INPUT( url, wxString, ST(4) );
3946
3947         if (items < 6)
3948             pos = wxDefaultPosition;
3949         else {
3950     pos = wxPli_sv_2_wxpoint( aTHX_ ST(5) );
3951         }
3952
3953         if (items < 7)
3954             size = wxDefaultSize;
3955         else {
3956     size = wxPli_sv_2_wxsize( aTHX_ ST(6) );
3957         }
3958
3959         if (items < 8)
3960             style = 0;
3961         else {
3962             style = (long)SvIV(ST(7));
3963         }
3964
3965         if (items < 9)
3966             name = wxHyperlinkCtrlNameStr;
3967         else {
3968     WXSTRING_INPUT( name, wxString, ST(8) );
3969         }
3970      RETVAL = new wxHyperlinkCtrl( parent, id, label, url,
3971                                               pos, size, style, name );
3972                 wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
3973
3974         ST(0) = sv_newmortal();
3975     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
3976
3977     }
3978     XSRETURN(1);
3979 }
3980
3981
3982 XS(XS_Wx__HyperlinkCtrl_Create); /* prototype to pass -Wmissing-prototypes */
3983 XS(XS_Wx__HyperlinkCtrl_Create)
3984 {
3985 #ifdef dVAR
3986     dVAR; dXSARGS;
3987 #else
3988     dXSARGS;
3989 #endif
3990     if (items < 5 || items > 9)
3991        croak_xs_usage(cv,  "THIS, parent, id, label, url, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, name = wxHyperlinkCtrlNameStr");
3992     {
3993         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
3994         wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) );
3995         wxString        label;
3996         wxString        url;
3997         wxPoint pos;
3998         wxSize  size;
3999         long    style;
4000         wxString        name;
4001         wxHyperlinkCtrl *    THIS = (wxHyperlinkCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HyperlinkCtrl" );
4002         bool    RETVAL;
4003
4004     WXSTRING_INPUT( label, wxString, ST(3) );
4005
4006     WXSTRING_INPUT( url, wxString, ST(4) );
4007
4008         if (items < 6)
4009             pos = wxDefaultPosition;
4010         else {
4011     pos = wxPli_sv_2_wxpoint( aTHX_ ST(5) );
4012         }
4013
4014         if (items < 7)
4015             size = wxDefaultSize;
4016         else {
4017     size = wxPli_sv_2_wxsize( aTHX_ ST(6) );
4018         }
4019
4020         if (items < 8)
4021             style = 0;
4022         else {
4023             style = (long)SvIV(ST(7));
4024         }
4025
4026         if (items < 9)
4027             name = wxHyperlinkCtrlNameStr;
4028         else {
4029     WXSTRING_INPUT( name, wxString, ST(8) );
4030         }
4031
4032         RETVAL = THIS->Create(parent, id, label, url, pos, size, style, name);
4033         ST(0) = boolSV(RETVAL);
4034         sv_2mortal(ST(0));
4035     }
4036     XSRETURN(1);
4037 }
4038
4039
4040 XS(XS_Wx__HyperlinkCtrl_GetHoverColour); /* prototype to pass -Wmissing-prototypes */
4041 XS(XS_Wx__HyperlinkCtrl_GetHoverColour)
4042 {
4043 #ifdef dVAR
4044     dVAR; dXSARGS;
4045 #else
4046     dXSARGS;
4047 #endif
4048     if (items != 1)
4049        croak_xs_usage(cv,  "THIS");
4050     {
4051         wxHyperlinkCtrl *    THIS = (wxHyperlinkCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HyperlinkCtrl" );
4052         wxColour *      RETVAL;
4053     RETVAL = new wxColour( THIS->GetHoverColour() );
4054         ST(0) = sv_newmortal();
4055     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Colour" );
4056     wxPli_thread_sv_register( aTHX_ "Wx::Colour", RETVAL, ST(0) );
4057
4058     }
4059     XSRETURN(1);
4060 }
4061
4062
4063 XS(XS_Wx__HyperlinkCtrl_SetHoverColour); /* prototype to pass -Wmissing-prototypes */
4064 XS(XS_Wx__HyperlinkCtrl_SetHoverColour)
4065 {
4066 #ifdef dVAR
4067     dVAR; dXSARGS;
4068 #else
4069     dXSARGS;
4070 #endif
4071     if (items != 2)
4072        croak_xs_usage(cv,  "THIS, colour");
4073     {
4074         wxColour*    colour = (wxColour *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Colour" );
4075         wxHyperlinkCtrl *    THIS = (wxHyperlinkCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HyperlinkCtrl" );
4076     THIS->SetHoverColour( *( colour ) );
4077     }
4078     XSRETURN_EMPTY;
4079 }
4080
4081
4082 XS(XS_Wx__HyperlinkCtrl_GetNormalColour); /* prototype to pass -Wmissing-prototypes */
4083 XS(XS_Wx__HyperlinkCtrl_GetNormalColour)
4084 {
4085 #ifdef dVAR
4086     dVAR; dXSARGS;
4087 #else
4088     dXSARGS;
4089 #endif
4090     if (items != 1)
4091        croak_xs_usage(cv,  "THIS");
4092     {
4093         wxHyperlinkCtrl *    THIS = (wxHyperlinkCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HyperlinkCtrl" );
4094         wxColour *      RETVAL;
4095     RETVAL = new wxColour( THIS->GetNormalColour() );
4096         ST(0) = sv_newmortal();
4097     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Colour" );
4098     wxPli_thread_sv_register( aTHX_ "Wx::Colour", RETVAL, ST(0) );
4099
4100     }
4101     XSRETURN(1);
4102 }
4103
4104
4105 XS(XS_Wx__HyperlinkCtrl_SetNormalColour); /* prototype to pass -Wmissing-prototypes */
4106 XS(XS_Wx__HyperlinkCtrl_SetNormalColour)
4107 {
4108 #ifdef dVAR
4109     dVAR; dXSARGS;
4110 #else
4111     dXSARGS;
4112 #endif
4113     if (items != 2)
4114        croak_xs_usage(cv,  "THIS, colour");
4115     {
4116         wxColour*    colour = (wxColour *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Colour" );
4117         wxHyperlinkCtrl *    THIS = (wxHyperlinkCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HyperlinkCtrl" );
4118     THIS->SetNormalColour( *( colour ) );
4119     }
4120     XSRETURN_EMPTY;
4121 }
4122
4123
4124 XS(XS_Wx__HyperlinkCtrl_GetVisitedColour); /* prototype to pass -Wmissing-prototypes */
4125 XS(XS_Wx__HyperlinkCtrl_GetVisitedColour)
4126 {
4127 #ifdef dVAR
4128     dVAR; dXSARGS;
4129 #else
4130     dXSARGS;
4131 #endif
4132     if (items != 1)
4133        croak_xs_usage(cv,  "THIS");
4134     {
4135         wxHyperlinkCtrl *    THIS = (wxHyperlinkCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HyperlinkCtrl" );
4136         wxColour *      RETVAL;
4137     RETVAL = new wxColour( THIS->GetVisitedColour() );
4138         ST(0) = sv_newmortal();
4139     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Colour" );
4140     wxPli_thread_sv_register( aTHX_ "Wx::Colour", RETVAL, ST(0) );
4141
4142     }
4143     XSRETURN(1);
4144 }
4145
4146
4147 XS(XS_Wx__HyperlinkCtrl_SetVisitedColour); /* prototype to pass -Wmissing-prototypes */
4148 XS(XS_Wx__HyperlinkCtrl_SetVisitedColour)
4149 {
4150 #ifdef dVAR
4151     dVAR; dXSARGS;
4152 #else
4153     dXSARGS;
4154 #endif
4155     if (items != 2)
4156        croak_xs_usage(cv,  "THIS, colour");
4157     {
4158         wxColour*    colour = (wxColour *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Colour" );
4159         wxHyperlinkCtrl *    THIS = (wxHyperlinkCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HyperlinkCtrl" );
4160     THIS->SetVisitedColour( *( colour ) );
4161     }
4162     XSRETURN_EMPTY;
4163 }
4164
4165
4166 XS(XS_Wx__HyperlinkCtrl_GetURL); /* prototype to pass -Wmissing-prototypes */
4167 XS(XS_Wx__HyperlinkCtrl_GetURL)
4168 {
4169 #ifdef dVAR
4170     dVAR; dXSARGS;
4171 #else
4172     dXSARGS;
4173 #endif
4174     if (items != 1)
4175        croak_xs_usage(cv,  "THIS");
4176     {
4177         wxHyperlinkCtrl *    THIS = (wxHyperlinkCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HyperlinkCtrl" );
4178         wxString        RETVAL;
4179
4180         RETVAL = THIS->GetURL();
4181         ST(0) = sv_newmortal();
4182     WXSTRING_OUTPUT( RETVAL, ST(0) );
4183
4184     }
4185     XSRETURN(1);
4186 }
4187
4188
4189 XS(XS_Wx__HyperlinkCtrl_SetURL); /* prototype to pass -Wmissing-prototypes */
4190 XS(XS_Wx__HyperlinkCtrl_SetURL)
4191 {
4192 #ifdef dVAR
4193     dVAR; dXSARGS;
4194 #else
4195     dXSARGS;
4196 #endif
4197     if (items != 2)
4198        croak_xs_usage(cv,  "THIS, url");
4199     {
4200         wxString        url;
4201         wxHyperlinkCtrl *    THIS = (wxHyperlinkCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HyperlinkCtrl" );
4202
4203     WXSTRING_INPUT( url, wxString, ST(1) );
4204
4205         THIS->SetURL(url);
4206     }
4207     XSRETURN_EMPTY;
4208 }
4209
4210
4211 XS(XS_Wx__HyperlinkCtrl_SetVisited); /* prototype to pass -Wmissing-prototypes */
4212 XS(XS_Wx__HyperlinkCtrl_SetVisited)
4213 {
4214 #ifdef dVAR
4215     dVAR; dXSARGS;
4216 #else
4217     dXSARGS;
4218 #endif
4219     if (items < 1 || items > 2)
4220        croak_xs_usage(cv,  "THIS, visited = true");
4221     {
4222         bool    visited;
4223         wxHyperlinkCtrl *    THIS = (wxHyperlinkCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HyperlinkCtrl" );
4224
4225         if (items < 2)
4226             visited = true;
4227         else {
4228             visited = (bool)SvTRUE(ST(1));
4229         }
4230
4231         THIS->SetVisited(visited);
4232     }
4233     XSRETURN_EMPTY;
4234 }
4235
4236
4237 XS(XS_Wx__HyperlinkCtrl_GetVisited); /* prototype to pass -Wmissing-prototypes */
4238 XS(XS_Wx__HyperlinkCtrl_GetVisited)
4239 {
4240 #ifdef dVAR
4241     dVAR; dXSARGS;
4242 #else
4243     dXSARGS;
4244 #endif
4245     if (items != 1)
4246        croak_xs_usage(cv,  "THIS");
4247     {
4248         wxHyperlinkCtrl *    THIS = (wxHyperlinkCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HyperlinkCtrl" );
4249         bool    RETVAL;
4250
4251         RETVAL = THIS->GetVisited();
4252         ST(0) = boolSV(RETVAL);
4253         sv_2mortal(ST(0));
4254     }
4255     XSRETURN(1);
4256 }
4257
4258
4259 XS(XS_Wx__HyperlinkEvent_GetURL); /* prototype to pass -Wmissing-prototypes */
4260 XS(XS_Wx__HyperlinkEvent_GetURL)
4261 {
4262 #ifdef dVAR
4263     dVAR; dXSARGS;
4264 #else
4265     dXSARGS;
4266 #endif
4267     if (items != 1)
4268        croak_xs_usage(cv,  "THIS");
4269     {
4270         wxHyperlinkEvent *    THIS = (wxHyperlinkEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HyperlinkEvent" );
4271         wxString        RETVAL;
4272
4273         RETVAL = THIS->GetURL();
4274         ST(0) = sv_newmortal();
4275     WXSTRING_OUTPUT( RETVAL, ST(0) );
4276
4277     }
4278     XSRETURN(1);
4279 }
4280
4281
4282 XS(XS_Wx__HyperlinkEvent_SetURL); /* prototype to pass -Wmissing-prototypes */
4283 XS(XS_Wx__HyperlinkEvent_SetURL)
4284 {
4285 #ifdef dVAR
4286     dVAR; dXSARGS;
4287 #else
4288     dXSARGS;
4289 #endif
4290     if (items != 2)
4291        croak_xs_usage(cv,  "THIS, url");
4292     {
4293         wxString        url;
4294         wxHyperlinkEvent *    THIS = (wxHyperlinkEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HyperlinkEvent" );
4295
4296     WXSTRING_INPUT( url, wxString, ST(1) );
4297
4298         THIS->SetURL(url);
4299     }
4300     XSRETURN_EMPTY;
4301 }
4302
4303
4304 XS(XS_Wx__HyperlinkEvent_new); /* prototype to pass -Wmissing-prototypes */
4305 XS(XS_Wx__HyperlinkEvent_new)
4306 {
4307 #ifdef dVAR
4308     dVAR; dXSARGS;
4309 #else
4310     dXSARGS;
4311 #endif
4312     PERL_UNUSED_VAR(cv); /* -W */
4313     PERL_UNUSED_VAR(ax); /* -Wall */
4314     SP -= items;
4315     {
4316     BEGIN_OVERLOAD()
4317         MATCH_VOIDM_REDISP( newDefault )
4318         MATCH_ANY_REDISP( newFull )
4319     END_OVERLOAD( "Wx::HyperlinkCtrl::new" )
4320         PUTBACK;
4321         return;
4322     }
4323 }
4324
4325 #endif
4326
4327 /* INCLUDE: Returning to 'Controls.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/HyperlinkCtrl.xsp |' */
4328
4329
4330 /* INCLUDE:  Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/VListBox.xsp |' from 'Controls.xs' */
4331
4332 #if WXPERL_W_VERSION_GE( 2, 5, 0 )
4333 #include <wx/vlbox.h>
4334 #define XSubPPtmpAAAX 1
4335
4336
4337 XS(XS_Wx__VListBox_Create); /* prototype to pass -Wmissing-prototypes */
4338 XS(XS_Wx__VListBox_Create)
4339 {
4340 #ifdef dVAR
4341     dVAR; dXSARGS;
4342 #else
4343     dXSARGS;
4344 #endif
4345     if (items < 2 || items > 7)
4346        croak_xs_usage(cv,  "THIS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, name = wxVListBoxNameStr");
4347     {
4348         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
4349         wxWindowID      id;
4350         wxPoint pos;
4351         wxSize  size;
4352         long    style;
4353         wxString        name;
4354         wxVListBox *    THIS = (wxVListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VListBox" );
4355         bool    RETVAL;
4356
4357         if (items < 3)
4358             id = wxID_ANY;
4359         else {
4360     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
4361         }
4362
4363         if (items < 4)
4364             pos = wxDefaultPosition;
4365         else {
4366     pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) );
4367         }
4368
4369         if (items < 5)
4370             size = wxDefaultSize;
4371         else {
4372     size = wxPli_sv_2_wxsize( aTHX_ ST(4) );
4373         }
4374
4375         if (items < 6)
4376             style = 0;
4377         else {
4378             style = (long)SvIV(ST(5));
4379         }
4380
4381         if (items < 7)
4382             name = wxVListBoxNameStr;
4383         else {
4384     WXSTRING_INPUT( name, wxString, ST(6) );
4385         }
4386
4387         RETVAL = THIS->Create(parent, id, pos, size, style, name);
4388         ST(0) = boolSV(RETVAL);
4389         sv_2mortal(ST(0));
4390     }
4391     XSRETURN(1);
4392 }
4393
4394
4395 XS(XS_Wx__VListBox_IsCurrent); /* prototype to pass -Wmissing-prototypes */
4396 XS(XS_Wx__VListBox_IsCurrent)
4397 {
4398 #ifdef dVAR
4399     dVAR; dXSARGS;
4400 #else
4401     dXSARGS;
4402 #endif
4403     if (items != 2)
4404        croak_xs_usage(cv,  "THIS, item");
4405     {
4406         size_t    item = (size_t)SvUV( ST(1) );
4407         wxVListBox *    THIS = (wxVListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VListBox" );
4408         bool    RETVAL;
4409
4410         RETVAL = THIS->IsCurrent(item);
4411         ST(0) = boolSV(RETVAL);
4412         sv_2mortal(ST(0));
4413     }
4414     XSRETURN(1);
4415 }
4416
4417
4418 XS(XS_Wx__VListBox_IsSelected); /* prototype to pass -Wmissing-prototypes */
4419 XS(XS_Wx__VListBox_IsSelected)
4420 {
4421 #ifdef dVAR
4422     dVAR; dXSARGS;
4423 #else
4424     dXSARGS;
4425 #endif
4426     if (items != 2)
4427        croak_xs_usage(cv,  "THIS, item");
4428     {
4429         size_t    item = (size_t)SvUV( ST(1) );
4430         wxVListBox *    THIS = (wxVListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VListBox" );
4431         bool    RETVAL;
4432
4433         RETVAL = THIS->IsSelected(item);
4434         ST(0) = boolSV(RETVAL);
4435         sv_2mortal(ST(0));
4436     }
4437     XSRETURN(1);
4438 }
4439
4440
4441 XS(XS_Wx__VListBox_GetSelectedCount); /* prototype to pass -Wmissing-prototypes */
4442 XS(XS_Wx__VListBox_GetSelectedCount)
4443 {
4444 #ifdef dVAR
4445     dVAR; dXSARGS;
4446 #else
4447     dXSARGS;
4448 #endif
4449     if (items != 1)
4450        croak_xs_usage(cv,  "THIS");
4451     {
4452         wxVListBox *    THIS = (wxVListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VListBox" );
4453         size_t  RETVAL;
4454         dXSTARG;
4455
4456         RETVAL = THIS->GetSelectedCount();
4457         XSprePUSH; PUSHu((UV)RETVAL );
4458     }
4459     XSRETURN(1);
4460 }
4461
4462
4463 XS(XS_Wx__VListBox_GetMargins); /* prototype to pass -Wmissing-prototypes */
4464 XS(XS_Wx__VListBox_GetMargins)
4465 {
4466 #ifdef dVAR
4467     dVAR; dXSARGS;
4468 #else
4469     dXSARGS;
4470 #endif
4471     if (items != 1)
4472        croak_xs_usage(cv,  "THIS");
4473     {
4474         wxVListBox *    THIS = (wxVListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VListBox" );
4475         wxPoint RETVAL;
4476
4477         RETVAL = THIS->GetMargins();
4478         ST(0) = sv_newmortal();
4479     wxPli_non_object_2_sv( aTHX_ ST(0), new wxPoint(RETVAL), "Wx::Point" );
4480
4481     }
4482     XSRETURN(1);
4483 }
4484
4485
4486 XS(XS_Wx__VListBox_GetSelectionBackground); /* prototype to pass -Wmissing-prototypes */
4487 XS(XS_Wx__VListBox_GetSelectionBackground)
4488 {
4489 #ifdef dVAR
4490     dVAR; dXSARGS;
4491 #else
4492     dXSARGS;
4493 #endif
4494     if (items != 1)
4495        croak_xs_usage(cv,  "THIS");
4496     {
4497         wxVListBox *    THIS = (wxVListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VListBox" );
4498         wxColour *      RETVAL;
4499     RETVAL = new wxColour( THIS->GetSelectionBackground() );
4500         ST(0) = sv_newmortal();
4501     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Colour" );
4502     wxPli_thread_sv_register( aTHX_ "Wx::Colour", RETVAL, ST(0) );
4503
4504     }
4505     XSRETURN(1);
4506 }
4507
4508
4509 XS(XS_Wx__VListBox_SetItemCount); /* prototype to pass -Wmissing-prototypes */
4510 XS(XS_Wx__VListBox_SetItemCount)
4511 {
4512 #ifdef dVAR
4513     dVAR; dXSARGS;
4514 #else
4515     dXSARGS;
4516 #endif
4517     if (items != 2)
4518        croak_xs_usage(cv,  "THIS, count");
4519     {
4520         size_t    count = (size_t)SvUV( ST(1) );
4521         wxVListBox *    THIS = (wxVListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VListBox" );
4522
4523         THIS->SetItemCount(count);
4524     }
4525     XSRETURN_EMPTY;
4526 }
4527
4528
4529 XS(XS_Wx__VListBox_Clear); /* prototype to pass -Wmissing-prototypes */
4530 XS(XS_Wx__VListBox_Clear)
4531 {
4532 #ifdef dVAR
4533     dVAR; dXSARGS;
4534 #else
4535     dXSARGS;
4536 #endif
4537     if (items != 1)
4538        croak_xs_usage(cv,  "THIS");
4539     {
4540         wxVListBox *    THIS = (wxVListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VListBox" );
4541
4542         THIS->Clear();
4543     }
4544     XSRETURN_EMPTY;
4545 }
4546
4547
4548 XS(XS_Wx__VListBox_SetSelection); /* prototype to pass -Wmissing-prototypes */
4549 XS(XS_Wx__VListBox_SetSelection)
4550 {
4551 #ifdef dVAR
4552     dVAR; dXSARGS;
4553 #else
4554     dXSARGS;
4555 #endif
4556     if (items != 2)
4557        croak_xs_usage(cv,  "THIS, selection");
4558     {
4559         int     selection = (int)SvIV(ST(1));
4560         wxVListBox *    THIS = (wxVListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VListBox" );
4561
4562         THIS->SetSelection(selection);
4563     }
4564     XSRETURN_EMPTY;
4565 }
4566
4567
4568 XS(XS_Wx__VListBox_Select); /* prototype to pass -Wmissing-prototypes */
4569 XS(XS_Wx__VListBox_Select)
4570 {
4571 #ifdef dVAR
4572     dVAR; dXSARGS;
4573 #else
4574     dXSARGS;
4575 #endif
4576     if (items < 2 || items > 3)
4577        croak_xs_usage(cv,  "THIS, item, select = true");
4578     {
4579         size_t    item = (size_t)SvUV( ST(1) );
4580         bool    select;
4581         wxVListBox *    THIS = (wxVListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VListBox" );
4582         bool    RETVAL;
4583
4584         if (items < 3)
4585             select = true;
4586         else {
4587             select = (bool)SvTRUE(ST(2));
4588         }
4589
4590         RETVAL = THIS->Select(item, select);
4591         ST(0) = boolSV(RETVAL);
4592         sv_2mortal(ST(0));
4593     }
4594     XSRETURN(1);
4595 }
4596
4597
4598 XS(XS_Wx__VListBox_SelectRange); /* prototype to pass -Wmissing-prototypes */
4599 XS(XS_Wx__VListBox_SelectRange)
4600 {
4601 #ifdef dVAR
4602     dVAR; dXSARGS;
4603 #else
4604     dXSARGS;
4605 #endif
4606     if (items != 3)
4607        croak_xs_usage(cv,  "THIS, from, to");
4608     {
4609         size_t    from = (size_t)SvUV( ST(1) );
4610         size_t    to = (size_t)SvUV( ST(2) );
4611         wxVListBox *    THIS = (wxVListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VListBox" );
4612         bool    RETVAL;
4613
4614         RETVAL = THIS->SelectRange(from, to);
4615         ST(0) = boolSV(RETVAL);
4616         sv_2mortal(ST(0));
4617     }
4618     XSRETURN(1);
4619 }
4620
4621
4622 XS(XS_Wx__VListBox_Toggle); /* prototype to pass -Wmissing-prototypes */
4623 XS(XS_Wx__VListBox_Toggle)
4624 {
4625 #ifdef dVAR
4626     dVAR; dXSARGS;
4627 #else
4628     dXSARGS;
4629 #endif
4630     if (items != 2)
4631        croak_xs_usage(cv,  "THIS, item");
4632     {
4633         size_t    item = (size_t)SvUV( ST(1) );
4634         wxVListBox *    THIS = (wxVListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VListBox" );
4635
4636         THIS->Toggle(item);
4637     }
4638     XSRETURN_EMPTY;
4639 }
4640
4641
4642 XS(XS_Wx__VListBox_SelectAll); /* prototype to pass -Wmissing-prototypes */
4643 XS(XS_Wx__VListBox_SelectAll)
4644 {
4645 #ifdef dVAR
4646     dVAR; dXSARGS;
4647 #else
4648     dXSARGS;
4649 #endif
4650     if (items != 1)
4651        croak_xs_usage(cv,  "THIS");
4652     {
4653         wxVListBox *    THIS = (wxVListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VListBox" );
4654         bool    RETVAL;
4655
4656         RETVAL = THIS->SelectAll();
4657         ST(0) = boolSV(RETVAL);
4658         sv_2mortal(ST(0));
4659     }
4660     XSRETURN(1);
4661 }
4662
4663
4664 XS(XS_Wx__VListBox_DeselectAll); /* prototype to pass -Wmissing-prototypes */
4665 XS(XS_Wx__VListBox_DeselectAll)
4666 {
4667 #ifdef dVAR
4668     dVAR; dXSARGS;
4669 #else
4670     dXSARGS;
4671 #endif
4672     if (items != 1)
4673        croak_xs_usage(cv,  "THIS");
4674     {
4675         wxVListBox *    THIS = (wxVListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VListBox" );
4676         bool    RETVAL;
4677
4678         RETVAL = THIS->DeselectAll();
4679         ST(0) = boolSV(RETVAL);
4680         sv_2mortal(ST(0));
4681     }
4682     XSRETURN(1);
4683 }
4684
4685
4686 XS(XS_Wx__VListBox_SetMargins); /* prototype to pass -Wmissing-prototypes */
4687 XS(XS_Wx__VListBox_SetMargins)
4688 {
4689 #ifdef dVAR
4690     dVAR; dXSARGS;
4691 #else
4692     dXSARGS;
4693 #endif
4694     if (items != 3)
4695        croak_xs_usage(cv,  "THIS, x, y");
4696     {
4697         wxCoord x = (wxCoord)SvIV(ST(1));
4698         wxCoord y = (wxCoord)SvIV(ST(2));
4699         wxVListBox *    THIS = (wxVListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VListBox" );
4700
4701         THIS->SetMargins(x, y);
4702     }
4703     XSRETURN_EMPTY;
4704 }
4705
4706
4707 XS(XS_Wx__VListBox_SetSelectionBackground); /* prototype to pass -Wmissing-prototypes */
4708 XS(XS_Wx__VListBox_SetSelectionBackground)
4709 {
4710 #ifdef dVAR
4711     dVAR; dXSARGS;
4712 #else
4713     dXSARGS;
4714 #endif
4715     if (items != 2)
4716        croak_xs_usage(cv,  "THIS, col");
4717     {
4718         wxColour*    col = (wxColour *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Colour" );
4719         wxVListBox *    THIS = (wxVListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VListBox" );
4720     THIS->SetSelectionBackground( *( col ) );
4721     }
4722     XSRETURN_EMPTY;
4723 }
4724
4725
4726 XS(XS_Wx__VListBox_GetFirstSelected); /* prototype to pass -Wmissing-prototypes */
4727 XS(XS_Wx__VListBox_GetFirstSelected)
4728 {
4729 #ifdef dVAR
4730     dVAR; dXSARGS;
4731 #else
4732     dXSARGS;
4733 #endif
4734     if (items != 1)
4735        croak_xs_usage(cv,  "THIS");
4736     {
4737         wxVListBox *    THIS = (wxVListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VListBox" );
4738     unsigned long cookie;
4739     int ret = THIS->GetFirstSelected( cookie );
4740     EXTEND( SP, 2 );
4741     PUSHs( sv_2mortal( newSViv( ret ) ) );
4742     PUSHs( sv_2mortal( newSViv( cookie ) ) );
4743     }
4744     XSRETURN_EMPTY;
4745 }
4746
4747
4748 XS(XS_Wx__VListBox_GetNextSelected); /* prototype to pass -Wmissing-prototypes */
4749 XS(XS_Wx__VListBox_GetNextSelected)
4750 {
4751 #ifdef dVAR
4752     dVAR; dXSARGS;
4753 #else
4754     dXSARGS;
4755 #endif
4756     if (items != 2)
4757        croak_xs_usage(cv,  "THIS, cookie");
4758     {
4759         wxVListBox *    THIS = (wxVListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VListBox" );
4760         unsigned long    cookie = (unsigned long)SvUV( ST(1) );
4761     int ret = THIS->GetFirstSelected( cookie );
4762     EXTEND( SP, 2 );
4763     PUSHs( sv_2mortal( newSViv( ret ) ) );
4764     PUSHs( sv_2mortal( newSViv( cookie ) ) );
4765     }
4766     XSRETURN_EMPTY;
4767 }
4768
4769 #include "cpp/overload.h"
4770 #include "cpp/vlbox.h"
4771
4772 XS(XS_Wx__PlVListBox_new); /* prototype to pass -Wmissing-prototypes */
4773 XS(XS_Wx__PlVListBox_new)
4774 {
4775 #ifdef dVAR
4776     dVAR; dXSARGS;
4777 #else
4778     dXSARGS;
4779 #endif
4780     PERL_UNUSED_VAR(cv); /* -W */
4781     PERL_UNUSED_VAR(ax); /* -Wall */
4782     SP -= items;
4783     {
4784     BEGIN_OVERLOAD()
4785         MATCH_VOIDM_REDISP( newDefault )
4786         MATCH_ANY_REDISP( newFull )
4787     END_OVERLOAD( "Wx::PlVListBox::new" )
4788         PUTBACK;
4789         return;
4790     }
4791 }
4792
4793
4794 XS(XS_Wx__PlVListBox_newDefault); /* prototype to pass -Wmissing-prototypes */
4795 XS(XS_Wx__PlVListBox_newDefault)
4796 {
4797 #ifdef dVAR
4798     dVAR; dXSARGS;
4799 #else
4800     dXSARGS;
4801 #endif
4802     if (items != 1)
4803        croak_xs_usage(cv,  "CLASS");
4804     {
4805         char *  CLASS = (char *)SvPV_nolen(ST(0));
4806         wxPlVListBox *  RETVAL;
4807      RETVAL = new wxPlVListBox( CLASS ); 
4808         ST(0) = sv_newmortal();
4809     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
4810
4811     }
4812     XSRETURN(1);
4813 }
4814
4815
4816 XS(XS_Wx__PlVListBox_newFull); /* prototype to pass -Wmissing-prototypes */
4817 XS(XS_Wx__PlVListBox_newFull)
4818 {
4819 #ifdef dVAR
4820     dVAR; dXSARGS;
4821 #else
4822     dXSARGS;
4823 #endif
4824     if (items < 2 || items > 7)
4825        croak_xs_usage(cv,  "CLASS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, name = wxVListBoxNameStr");
4826     {
4827         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
4828         wxWindowID      id;
4829         wxPoint pos;
4830         wxSize  size;
4831         long    style;
4832         wxString        name;
4833         char *  CLASS = (char *)SvPV_nolen(ST(0));
4834         wxPlVListBox *  RETVAL;
4835
4836         if (items < 3)
4837             id = wxID_ANY;
4838         else {
4839     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
4840         }
4841
4842         if (items < 4)
4843             pos = wxDefaultPosition;
4844         else {
4845     pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) );
4846         }
4847
4848         if (items < 5)
4849             size = wxDefaultSize;
4850         else {
4851     size = wxPli_sv_2_wxsize( aTHX_ ST(4) );
4852         }
4853
4854         if (items < 6)
4855             style = 0;
4856         else {
4857             style = (long)SvIV(ST(5));
4858         }
4859
4860         if (items < 7)
4861             name = wxVListBoxNameStr;
4862         else {
4863     WXSTRING_INPUT( name, wxString, ST(6) );
4864         }
4865      RETVAL = new wxPlVListBox( CLASS, parent, id, pos, size,
4866                                            style, name );
4867
4868         ST(0) = sv_newmortal();
4869     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
4870
4871     }
4872     XSRETURN(1);
4873 }
4874
4875 #endif
4876
4877 /* INCLUDE: Returning to 'Controls.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/VListBox.xsp |' */
4878
4879
4880 /* INCLUDE:  Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/SearchCtrl.xsp |' from 'Controls.xs' */
4881
4882 #if WXPERL_W_VERSION_GE( 2, 8, 3 )
4883 #include <wx/srchctrl.h>
4884 #include <wx/menu.h>
4885 #define XSubPPtmpAAAY 1
4886
4887
4888 XS(XS_Wx__SearchCtrl_new); /* prototype to pass -Wmissing-prototypes */
4889 XS(XS_Wx__SearchCtrl_new)
4890 {
4891 #ifdef dVAR
4892     dVAR; dXSARGS;
4893 #else
4894     dXSARGS;
4895 #endif
4896     PERL_UNUSED_VAR(cv); /* -W */
4897     PERL_UNUSED_VAR(ax); /* -Wall */
4898     SP -= items;
4899     {
4900     BEGIN_OVERLOAD()
4901         MATCH_VOIDM_REDISP( newDefault )
4902         MATCH_ANY_REDISP( newFull )
4903     END_OVERLOAD( "Wx::SearchCtrl::new" )
4904         PUTBACK;
4905         return;
4906     }
4907 }
4908
4909
4910 XS(XS_Wx__SearchCtrl_newDefault); /* prototype to pass -Wmissing-prototypes */
4911 XS(XS_Wx__SearchCtrl_newDefault)
4912 {
4913 #ifdef dVAR
4914     dVAR; dXSARGS;
4915 #else
4916     dXSARGS;
4917 #endif
4918     if (items != 1)
4919        croak_xs_usage(cv,  "CLASS");
4920     {
4921         char *  CLASS = (char *)SvPV_nolen(ST(0));
4922         wxSearchCtrl *  RETVAL;
4923      RETVAL = new wxSearchCtrl();
4924                 wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
4925
4926         ST(0) = sv_newmortal();
4927     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
4928
4929     }
4930     XSRETURN(1);
4931 }
4932
4933
4934 XS(XS_Wx__SearchCtrl_newFull); /* prototype to pass -Wmissing-prototypes */
4935 XS(XS_Wx__SearchCtrl_newFull)
4936 {
4937 #ifdef dVAR
4938     dVAR; dXSARGS;
4939 #else
4940     dXSARGS;
4941 #endif
4942     if (items < 3 || items > 9)
4943        croak_xs_usage(cv,  "CLASS, parent, id, label = wxEmptyString, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, validator = wxDefaultValidatorPtr, name = wxSearchCtrlNameStr");
4944     {
4945         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
4946         wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) );
4947         wxString        label;
4948         wxPoint pos;
4949         wxSize  size;
4950         long    style;
4951         wxValidator*    validator;
4952         wxString        name;
4953         char *  CLASS = (char *)SvPV_nolen(ST(0));
4954         wxSearchCtrl *  RETVAL;
4955
4956         if (items < 4)
4957             label = wxEmptyString;
4958         else {
4959     WXSTRING_INPUT( label, wxString, ST(3) );
4960         }
4961
4962         if (items < 5)
4963             pos = wxDefaultPosition;
4964         else {
4965     pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
4966         }
4967
4968         if (items < 6)
4969             size = wxDefaultSize;
4970         else {
4971     size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
4972         }
4973
4974         if (items < 7)
4975             style = 0;
4976         else {
4977             style = (long)SvIV(ST(6));
4978         }
4979
4980         if (items < 8)
4981             validator = wxDefaultValidatorPtr;
4982         else {
4983     validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" );
4984         }
4985
4986         if (items < 9)
4987             name = wxSearchCtrlNameStr;
4988         else {
4989     WXSTRING_INPUT( name, wxString, ST(8) );
4990         }
4991      RETVAL = new wxSearchCtrl( parent, id, label, pos, size,
4992                                                 style, *validator, name );
4993                 wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
4994
4995         ST(0) = sv_newmortal();
4996     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
4997
4998     }
4999     XSRETURN(1);
5000 }
5001
5002
5003 XS(XS_Wx__SearchCtrl_Create); /* prototype to pass -Wmissing-prototypes */
5004 XS(XS_Wx__SearchCtrl_Create)
5005 {
5006 #ifdef dVAR
5007     dVAR; dXSARGS;
5008 #else
5009     dXSARGS;
5010 #endif
5011     if (items < 3 || items > 9)
5012        croak_xs_usage(cv,  "THIS, parent, id, value = wxEmptyString, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, validator = wxDefaultValidatorPtr, name = wxSearchCtrlNameStr");
5013     {
5014         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
5015         wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) );
5016         wxString        value;
5017         wxPoint pos;
5018         wxSize  size;
5019         long    style;
5020         wxValidator*    validator;
5021         wxString        name;
5022         wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" );
5023         bool    RETVAL;
5024
5025         if (items < 4)
5026             value = wxEmptyString;
5027         else {
5028     WXSTRING_INPUT( value, wxString, ST(3) );
5029         }
5030
5031         if (items < 5)
5032             pos = wxDefaultPosition;
5033         else {
5034     pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
5035         }
5036
5037         if (items < 6)
5038             size = wxDefaultSize;
5039         else {
5040     size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
5041         }
5042
5043         if (items < 7)
5044             style = 0;
5045         else {
5046             style = (long)SvIV(ST(6));
5047         }
5048
5049         if (items < 8)
5050             validator = wxDefaultValidatorPtr;
5051         else {
5052     validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" );
5053         }
5054
5055         if (items < 9)
5056             name = wxSearchCtrlNameStr;
5057         else {
5058     WXSTRING_INPUT( name, wxString, ST(8) );
5059         }
5060     RETVAL = THIS->Create( parent, id, value, pos, size, style, *( validator ), name );
5061         ST(0) = boolSV(RETVAL);
5062         sv_2mortal(ST(0));
5063     }
5064     XSRETURN(1);
5065 }
5066
5067
5068 XS(XS_Wx__SearchCtrl_SetMenu); /* prototype to pass -Wmissing-prototypes */
5069 XS(XS_Wx__SearchCtrl_SetMenu)
5070 {
5071 #ifdef dVAR
5072     dVAR; dXSARGS;
5073 #else
5074     dXSARGS;
5075 #endif
5076     if (items != 2)
5077        croak_xs_usage(cv,  "THIS, menu");
5078     {
5079         wxMenu*    menu = (wxMenu *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Menu" );
5080         wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" );
5081
5082         THIS->SetMenu(menu);
5083     }
5084     XSRETURN_EMPTY;
5085 }
5086
5087
5088 XS(XS_Wx__SearchCtrl_GetMenu); /* prototype to pass -Wmissing-prototypes */
5089 XS(XS_Wx__SearchCtrl_GetMenu)
5090 {
5091 #ifdef dVAR
5092     dVAR; dXSARGS;
5093 #else
5094     dXSARGS;
5095 #endif
5096     if (items != 1)
5097        croak_xs_usage(cv,  "THIS");
5098     {
5099         wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" );
5100         wxMenu *        RETVAL;
5101
5102         RETVAL = THIS->GetMenu();
5103         ST(0) = sv_newmortal();
5104     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
5105
5106     }
5107     XSRETURN(1);
5108 }
5109
5110
5111 XS(XS_Wx__SearchCtrl_ShowSearchButton); /* prototype to pass -Wmissing-prototypes */
5112 XS(XS_Wx__SearchCtrl_ShowSearchButton)
5113 {
5114 #ifdef dVAR
5115     dVAR; dXSARGS;
5116 #else
5117     dXSARGS;
5118 #endif
5119     if (items != 2)
5120        croak_xs_usage(cv,  "THIS, show");
5121     {
5122         bool    show = (bool)SvTRUE(ST(1));
5123         wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" );
5124
5125         THIS->ShowSearchButton(show);
5126     }
5127     XSRETURN_EMPTY;
5128 }
5129
5130
5131 XS(XS_Wx__SearchCtrl_IsSearchButtonVisible); /* prototype to pass -Wmissing-prototypes */
5132 XS(XS_Wx__SearchCtrl_IsSearchButtonVisible)
5133 {
5134 #ifdef dVAR
5135     dVAR; dXSARGS;
5136 #else
5137     dXSARGS;
5138 #endif
5139     if (items != 1)
5140        croak_xs_usage(cv,  "THIS");
5141     {
5142         wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" );
5143         bool    RETVAL;
5144
5145         RETVAL = THIS->IsSearchButtonVisible();
5146         ST(0) = boolSV(RETVAL);
5147         sv_2mortal(ST(0));
5148     }
5149     XSRETURN(1);
5150 }
5151
5152
5153 XS(XS_Wx__SearchCtrl_ShowCancelButton); /* prototype to pass -Wmissing-prototypes */
5154 XS(XS_Wx__SearchCtrl_ShowCancelButton)
5155 {
5156 #ifdef dVAR
5157     dVAR; dXSARGS;
5158 #else
5159     dXSARGS;
5160 #endif
5161     if (items != 2)
5162        croak_xs_usage(cv,  "THIS, show");
5163     {
5164         bool    show = (bool)SvTRUE(ST(1));
5165         wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" );
5166
5167         THIS->ShowCancelButton(show);
5168     }
5169     XSRETURN_EMPTY;
5170 }
5171
5172
5173 XS(XS_Wx__SearchCtrl_IsCancelButtonVisible); /* prototype to pass -Wmissing-prototypes */
5174 XS(XS_Wx__SearchCtrl_IsCancelButtonVisible)
5175 {
5176 #ifdef dVAR
5177     dVAR; dXSARGS;
5178 #else
5179     dXSARGS;
5180 #endif
5181     if (items != 1)
5182        croak_xs_usage(cv,  "THIS");
5183     {
5184         wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" );
5185         bool    RETVAL;
5186
5187         RETVAL = THIS->IsCancelButtonVisible();
5188         ST(0) = boolSV(RETVAL);
5189         sv_2mortal(ST(0));
5190     }
5191     XSRETURN(1);
5192 }
5193
5194
5195 XS(XS_Wx__SearchCtrl_SetDescriptiveText); /* prototype to pass -Wmissing-prototypes */
5196 XS(XS_Wx__SearchCtrl_SetDescriptiveText)
5197 {
5198 #ifdef dVAR
5199     dVAR; dXSARGS;
5200 #else
5201     dXSARGS;
5202 #endif
5203     if (items != 2)
5204        croak_xs_usage(cv,  "THIS, text");
5205     {
5206         wxString        text;
5207         wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" );
5208
5209     WXSTRING_INPUT( text, wxString, ST(1) );
5210
5211         THIS->SetDescriptiveText(text);
5212     }
5213     XSRETURN_EMPTY;
5214 }
5215
5216
5217 XS(XS_Wx__SearchCtrl_GetDescriptiveText); /* prototype to pass -Wmissing-prototypes */
5218 XS(XS_Wx__SearchCtrl_GetDescriptiveText)
5219 {
5220 #ifdef dVAR
5221     dVAR; dXSARGS;
5222 #else
5223     dXSARGS;
5224 #endif
5225     if (items != 1)
5226        croak_xs_usage(cv,  "THIS");
5227     {
5228         wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" );
5229         wxString        RETVAL;
5230
5231         RETVAL = THIS->GetDescriptiveText();
5232         ST(0) = sv_newmortal();
5233     WXSTRING_OUTPUT( RETVAL, ST(0) );
5234
5235     }
5236     XSRETURN(1);
5237 }
5238
5239 #endif
5240
5241 /* INCLUDE: Returning to 'Controls.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/SearchCtrl.xsp |' */
5242
5243
5244 /* INCLUDE:  Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/ComboPopup.xsp |' from 'Controls.xs' */
5245
5246 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
5247 #include "cpp/combopopup.h"
5248 #define XSubPPtmpAAAZ 1
5249
5250
5251 XS(XS_Wx__ComboPopup_new); /* prototype to pass -Wmissing-prototypes */
5252 XS(XS_Wx__ComboPopup_new)
5253 {
5254 #ifdef dVAR
5255     dVAR; dXSARGS;
5256 #else
5257     dXSARGS;
5258 #endif
5259     if (items != 1)
5260        croak_xs_usage(cv,  "CLASS");
5261     {
5262         char *  CLASS = (char *)SvPV_nolen(ST(0));
5263         wxPlComboPopup *        RETVAL;
5264      RETVAL = new wxPlComboPopup( CLASS ); 
5265         ST(0) = sv_newmortal();
5266     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::PlComboPopup" );
5267
5268     }
5269     XSRETURN(1);
5270 }
5271
5272
5273 XS(XS_Wx__ComboPopup_OnPopup); /* prototype to pass -Wmissing-prototypes */
5274 XS(XS_Wx__ComboPopup_OnPopup)
5275 {
5276 #ifdef dVAR
5277     dVAR; dXSARGS;
5278 #else
5279     dXSARGS;
5280 #endif
5281     if (items != 1)
5282        croak_xs_usage(cv,  "THIS");
5283     {
5284         wxPlComboPopup *    THIS = (wxPlComboPopup *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlComboPopup" );
5285     THIS->base_OnPopup();
5286     }
5287     XSRETURN_EMPTY;
5288 }
5289
5290
5291 XS(XS_Wx__ComboPopup_OnDismiss); /* prototype to pass -Wmissing-prototypes */
5292 XS(XS_Wx__ComboPopup_OnDismiss)
5293 {
5294 #ifdef dVAR
5295     dVAR; dXSARGS;
5296 #else
5297     dXSARGS;
5298 #endif
5299     if (items != 1)
5300        croak_xs_usage(cv,  "THIS");
5301     {
5302         wxPlComboPopup *    THIS = (wxPlComboPopup *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlComboPopup" );
5303     THIS->base_OnDismiss();
5304     }
5305     XSRETURN_EMPTY;
5306 }
5307
5308
5309 XS(XS_Wx__ComboPopup_SetStringValue); /* prototype to pass -Wmissing-prototypes */
5310 XS(XS_Wx__ComboPopup_SetStringValue)
5311 {
5312 #ifdef dVAR
5313     dVAR; dXSARGS;
5314 #else
5315     dXSARGS;
5316 #endif
5317     if (items != 2)
5318        croak_xs_usage(cv,  "THIS, value");
5319     {
5320         wxString        value;
5321         wxPlComboPopup *    THIS = (wxPlComboPopup *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlComboPopup" );
5322
5323     WXSTRING_INPUT( value, wxString, ST(1) );
5324     THIS->base_SetStringValue( value );
5325     }
5326     XSRETURN_EMPTY;
5327 }
5328
5329
5330 XS(XS_Wx__ComboPopup_PaintComboControl); /* prototype to pass -Wmissing-prototypes */
5331 XS(XS_Wx__ComboPopup_PaintComboControl)
5332 {
5333 #ifdef dVAR
5334     dVAR; dXSARGS;
5335 #else
5336     dXSARGS;
5337 #endif
5338     if (items != 3)
5339        croak_xs_usage(cv,  "THIS, dc, rect");
5340     {
5341         wxDC*    dc = (wxDC *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::DC" );
5342         wxRect*    rect = (wxRect *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Rect" );
5343         wxPlComboPopup *    THIS = (wxPlComboPopup *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlComboPopup" );
5344     THIS->base_PaintComboControl( *( dc ), *( rect ) );
5345     }
5346     XSRETURN_EMPTY;
5347 }
5348
5349
5350 XS(XS_Wx__ComboPopup_OnComboKeyEvent); /* prototype to pass -Wmissing-prototypes */
5351 XS(XS_Wx__ComboPopup_OnComboKeyEvent)
5352 {
5353 #ifdef dVAR
5354     dVAR; dXSARGS;
5355 #else
5356     dXSARGS;
5357 #endif
5358     if (items != 2)
5359        croak_xs_usage(cv,  "THIS, event");
5360     {
5361         wxKeyEvent*    event = (wxKeyEvent *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::KeyEvent" );
5362         wxPlComboPopup *    THIS = (wxPlComboPopup *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlComboPopup" );
5363     THIS->base_OnComboKeyEvent( *( event ) );
5364     }
5365     XSRETURN_EMPTY;
5366 }
5367
5368
5369 XS(XS_Wx__ComboPopup_OnComboDoubleClick); /* prototype to pass -Wmissing-prototypes */
5370 XS(XS_Wx__ComboPopup_OnComboDoubleClick)
5371 {
5372 #ifdef dVAR
5373     dVAR; dXSARGS;
5374 #else
5375     dXSARGS;
5376 #endif
5377     if (items != 1)
5378        croak_xs_usage(cv,  "THIS");
5379     {
5380         wxPlComboPopup *    THIS = (wxPlComboPopup *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlComboPopup" );
5381     THIS->base_OnComboDoubleClick();
5382     }
5383     XSRETURN_EMPTY;
5384 }
5385
5386
5387 XS(XS_Wx__ComboPopup_GetAdjustedSize); /* prototype to pass -Wmissing-prototypes */
5388 XS(XS_Wx__ComboPopup_GetAdjustedSize)
5389 {
5390 #ifdef dVAR
5391     dVAR; dXSARGS;
5392 #else
5393     dXSARGS;
5394 #endif
5395     if (items != 4)
5396        croak_xs_usage(cv,  "THIS, minWidth, prefHeight, maxHeight");
5397     {
5398         int     minWidth = (int)SvIV(ST(1));
5399         int     prefHeight = (int)SvIV(ST(2));
5400         int     maxHeight = (int)SvIV(ST(3));
5401         wxPlComboPopup *    THIS = (wxPlComboPopup *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlComboPopup" );
5402         wxSize  RETVAL;
5403     RETVAL = THIS->base_GetAdjustedSize( minWidth, prefHeight, maxHeight );
5404         ST(0) = sv_newmortal();
5405     wxPli_non_object_2_sv( aTHX_ ST(0), new wxSize(RETVAL), "Wx::Size" );
5406
5407     }
5408     XSRETURN(1);
5409 }
5410
5411
5412 XS(XS_Wx__ComboPopup_LazyCreate); /* prototype to pass -Wmissing-prototypes */
5413 XS(XS_Wx__ComboPopup_LazyCreate)
5414 {
5415 #ifdef dVAR
5416     dVAR; dXSARGS;
5417 #else
5418     dXSARGS;
5419 #endif
5420     if (items != 1)
5421        croak_xs_usage(cv,  "THIS");
5422     {
5423         wxPlComboPopup *    THIS = (wxPlComboPopup *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlComboPopup" );
5424         bool    RETVAL;
5425     RETVAL = THIS->base_LazyCreate();
5426         ST(0) = boolSV(RETVAL);
5427         sv_2mortal(ST(0));
5428     }
5429     XSRETURN(1);
5430 }
5431
5432
5433 XS(XS_Wx__ComboPopup_Dismiss); /* prototype to pass -Wmissing-prototypes */
5434 XS(XS_Wx__ComboPopup_Dismiss)
5435 {
5436 #ifdef dVAR
5437     dVAR; dXSARGS;
5438 #else
5439     dXSARGS;
5440 #endif
5441     if (items != 1)
5442        croak_xs_usage(cv,  "THIS");
5443     {
5444         wxPlComboPopup *    THIS = (wxPlComboPopup *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlComboPopup" );
5445
5446         THIS->Dismiss();
5447     }
5448     XSRETURN_EMPTY;
5449 }
5450
5451
5452 XS(XS_Wx__ComboPopup_IsCreated); /* prototype to pass -Wmissing-prototypes */
5453 XS(XS_Wx__ComboPopup_IsCreated)
5454 {
5455 #ifdef dVAR
5456     dVAR; dXSARGS;
5457 #else
5458     dXSARGS;
5459 #endif
5460     if (items != 1)
5461        croak_xs_usage(cv,  "THIS");
5462     {
5463         wxPlComboPopup *    THIS = (wxPlComboPopup *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlComboPopup" );
5464         bool    RETVAL;
5465
5466         RETVAL = THIS->IsCreated();
5467         ST(0) = boolSV(RETVAL);
5468         sv_2mortal(ST(0));
5469     }
5470     XSRETURN(1);
5471 }
5472
5473
5474 XS(XS_Wx__ComboPopup_GetComboCtrl); /* prototype to pass -Wmissing-prototypes */
5475 XS(XS_Wx__ComboPopup_GetComboCtrl)
5476 {
5477 #ifdef dVAR
5478     dVAR; dXSARGS;
5479 #else
5480     dXSARGS;
5481 #endif
5482     if (items != 1)
5483        croak_xs_usage(cv,  "THIS");
5484     {
5485         wxPlComboPopup *    THIS = (wxPlComboPopup *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlComboPopup" );
5486         wxComboCtrlBase *       RETVAL;
5487
5488         RETVAL = THIS->GetComboCtrl();
5489         ST(0) = sv_newmortal();
5490     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
5491
5492     }
5493     XSRETURN(1);
5494 }
5495
5496 #endif
5497
5498 /* INCLUDE: Returning to 'Controls.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/ComboPopup.xsp |' */
5499
5500
5501 /* INCLUDE:  Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/ComboCtrl.xsp |' from 'Controls.xs' */
5502
5503 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
5504 #include <wx/combo.h>
5505 #define XSubPPtmpAABA 1
5506
5507
5508 XS(XS_Wx__ComboCtrl_new); /* prototype to pass -Wmissing-prototypes */
5509 XS(XS_Wx__ComboCtrl_new)
5510 {
5511 #ifdef dVAR
5512     dVAR; dXSARGS;
5513 #else
5514     dXSARGS;
5515 #endif
5516     PERL_UNUSED_VAR(cv); /* -W */
5517     PERL_UNUSED_VAR(ax); /* -Wall */
5518     SP -= items;
5519     {
5520     BEGIN_OVERLOAD()
5521         MATCH_VOIDM_REDISP( newDefault )
5522         MATCH_ANY_REDISP( newFull )
5523     END_OVERLOAD( "Wx::ComboCtrl::new" )
5524         PUTBACK;
5525         return;
5526     }
5527 }
5528
5529
5530 XS(XS_Wx__ComboCtrl_newDefault); /* prototype to pass -Wmissing-prototypes */
5531 XS(XS_Wx__ComboCtrl_newDefault)
5532 {
5533 #ifdef dVAR
5534     dVAR; dXSARGS;
5535 #else
5536     dXSARGS;
5537 #endif
5538     if (items != 1)
5539        croak_xs_usage(cv,  "CLASS");
5540     {
5541         char *  CLASS = (char *)SvPV_nolen(ST(0));
5542         wxComboCtrl *   RETVAL;
5543      RETVAL = new wxComboCtrl();
5544                 wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
5545
5546         ST(0) = sv_newmortal();
5547     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
5548
5549     }
5550     XSRETURN(1);
5551 }
5552
5553
5554 XS(XS_Wx__ComboCtrl_newFull); /* prototype to pass -Wmissing-prototypes */
5555 XS(XS_Wx__ComboCtrl_newFull)
5556 {
5557 #ifdef dVAR
5558     dVAR; dXSARGS;
5559 #else
5560     dXSARGS;
5561 #endif
5562     if (items < 2 || items > 9)
5563        croak_xs_usage(cv,  "CLASS, parent, id = wxID_ANY, value = wxEmptyString, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, validator = wxDefaultValidatorPtr, name = wxEmptyString");
5564     {
5565         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
5566         wxWindowID      id;
5567         wxString        value;
5568         wxPoint pos;
5569         wxSize  size;
5570         long    style;
5571         wxValidator*    validator;
5572         wxString        name;
5573         char *  CLASS = (char *)SvPV_nolen(ST(0));
5574         wxComboCtrl *   RETVAL;
5575
5576         if (items < 3)
5577             id = wxID_ANY;
5578         else {
5579     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
5580         }
5581
5582         if (items < 4)
5583             value = wxEmptyString;
5584         else {
5585     WXSTRING_INPUT( value, wxString, ST(3) );
5586         }
5587
5588         if (items < 5)
5589             pos = wxDefaultPosition;
5590         else {
5591     pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
5592         }
5593
5594         if (items < 6)
5595             size = wxDefaultSize;
5596         else {
5597     size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
5598         }
5599
5600         if (items < 7)
5601             style = 0;
5602         else {
5603             style = (long)SvIV(ST(6));
5604         }
5605
5606         if (items < 8)
5607             validator = wxDefaultValidatorPtr;
5608         else {
5609     validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" );
5610         }
5611
5612         if (items < 9)
5613             name = wxEmptyString;
5614         else {
5615     WXSTRING_INPUT( name, wxString, ST(8) );
5616         }
5617      RETVAL = new wxComboCtrl( parent, id, value, pos, size,
5618                                           style, *validator, name );
5619                 wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
5620
5621         ST(0) = sv_newmortal();
5622     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
5623
5624     }
5625     XSRETURN(1);
5626 }
5627
5628
5629 XS(XS_Wx__ComboCtrl_Create); /* prototype to pass -Wmissing-prototypes */
5630 XS(XS_Wx__ComboCtrl_Create)
5631 {
5632 #ifdef dVAR
5633     dVAR; dXSARGS;
5634 #else
5635     dXSARGS;
5636 #endif
5637     if (items < 3 || items > 9)
5638        croak_xs_usage(cv,  "THIS, parent, id, value = wxEmptyString, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, validator = wxDefaultValidatorPtr, name = wxEmptyString");
5639     {
5640         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
5641         wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) );
5642         wxString        value;
5643         wxPoint pos;
5644         wxSize  size;
5645         long    style;
5646         wxValidator*    validator;
5647         wxString        name;
5648         wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" );
5649         bool    RETVAL;
5650
5651         if (items < 4)
5652             value = wxEmptyString;
5653         else {
5654     WXSTRING_INPUT( value, wxString, ST(3) );
5655         }
5656
5657         if (items < 5)
5658             pos = wxDefaultPosition;
5659         else {
5660     pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
5661         }
5662
5663         if (items < 6)
5664             size = wxDefaultSize;
5665         else {
5666     size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
5667         }
5668
5669         if (items < 7)
5670             style = 0;
5671         else {
5672             style = (long)SvIV(ST(6));
5673         }
5674
5675         if (items < 8)
5676             validator = wxDefaultValidatorPtr;
5677         else {
5678     validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" );
5679         }
5680
5681         if (items < 9)
5682             name = wxEmptyString;
5683         else {
5684     WXSTRING_INPUT( name, wxString, ST(8) );
5685         }
5686     RETVAL = THIS->Create( parent, id, value, pos, size, style, *( validator ), name );
5687         ST(0) = boolSV(RETVAL);
5688         sv_2mortal(ST(0));
5689     }
5690     XSRETURN(1);
5691 }
5692
5693
5694 XS(XS_Wx__ComboCtrl_ShowPopup); /* prototype to pass -Wmissing-prototypes */
5695 XS(XS_Wx__ComboCtrl_ShowPopup)
5696 {
5697 #ifdef dVAR
5698     dVAR; dXSARGS;
5699 #else
5700     dXSARGS;
5701 #endif
5702     if (items != 1)
5703        croak_xs_usage(cv,  "THIS");
5704     {
5705         wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" );
5706
5707         THIS->ShowPopup();
5708     }
5709     XSRETURN_EMPTY;
5710 }
5711
5712
5713 XS(XS_Wx__ComboCtrl_HidePopup); /* prototype to pass -Wmissing-prototypes */
5714 XS(XS_Wx__ComboCtrl_HidePopup)
5715 {
5716 #ifdef dVAR
5717     dVAR; dXSARGS;
5718 #else
5719     dXSARGS;
5720 #endif
5721     if (items != 1)
5722        croak_xs_usage(cv,  "THIS");
5723     {
5724         wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" );
5725
5726         THIS->HidePopup();
5727     }
5728     XSRETURN_EMPTY;
5729 }
5730
5731
5732 XS(XS_Wx__ComboCtrl_IsPopupShown); /* prototype to pass -Wmissing-prototypes */
5733 XS(XS_Wx__ComboCtrl_IsPopupShown)
5734 {
5735 #ifdef dVAR
5736     dVAR; dXSARGS;
5737 #else
5738     dXSARGS;
5739 #endif
5740     if (items != 1)
5741        croak_xs_usage(cv,  "THIS");
5742     {
5743         wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" );
5744         bool    RETVAL;
5745
5746         RETVAL = THIS->IsPopupShown();
5747         ST(0) = boolSV(RETVAL);
5748         sv_2mortal(ST(0));
5749     }
5750     XSRETURN(1);
5751 }
5752
5753
5754 XS(XS_Wx__ComboCtrl_SetPopupControl); /* prototype to pass -Wmissing-prototypes */
5755 XS(XS_Wx__ComboCtrl_SetPopupControl)
5756 {
5757 #ifdef dVAR
5758     dVAR; dXSARGS;
5759 #else
5760     dXSARGS;
5761 #endif
5762     if (items != 2)
5763        croak_xs_usage(cv,  "THIS, popup");
5764     {
5765         wxComboPopup*    popup = (wxComboPopup *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::ComboPopup" );
5766         wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" );
5767
5768         THIS->SetPopupControl(popup);
5769     }
5770     XSRETURN_EMPTY;
5771 }
5772
5773
5774 XS(XS_Wx__ComboCtrl_GetPopupControl); /* prototype to pass -Wmissing-prototypes */
5775 XS(XS_Wx__ComboCtrl_GetPopupControl)
5776 {
5777 #ifdef dVAR
5778     dVAR; dXSARGS;
5779 #else
5780     dXSARGS;
5781 #endif
5782     if (items != 1)
5783        croak_xs_usage(cv,  "THIS");
5784     {
5785         wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" );
5786         wxComboPopup *  RETVAL;
5787
5788         RETVAL = THIS->GetPopupControl();
5789         ST(0) = sv_newmortal();
5790     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::ComboPopup" );
5791
5792     }
5793     XSRETURN(1);
5794 }
5795
5796
5797 XS(XS_Wx__ComboCtrl_GetPopupWindow); /* prototype to pass -Wmissing-prototypes */
5798 XS(XS_Wx__ComboCtrl_GetPopupWindow)
5799 {
5800 #ifdef dVAR
5801     dVAR; dXSARGS;
5802 #else
5803     dXSARGS;
5804 #endif
5805     if (items != 1)
5806        croak_xs_usage(cv,  "THIS");
5807     {
5808         wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" );
5809         wxWindow *      RETVAL;
5810
5811         RETVAL = THIS->GetPopupWindow();
5812         ST(0) = sv_newmortal();
5813     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
5814
5815     }
5816     XSRETURN(1);
5817 }
5818
5819
5820 XS(XS_Wx__ComboCtrl_GetTextCtrl); /* prototype to pass -Wmissing-prototypes */
5821 XS(XS_Wx__ComboCtrl_GetTextCtrl)
5822 {
5823 #ifdef dVAR
5824     dVAR; dXSARGS;
5825 #else
5826     dXSARGS;
5827 #endif
5828     if (items != 1)
5829        croak_xs_usage(cv,  "THIS");
5830     {
5831         wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" );
5832         wxTextCtrl *    RETVAL;
5833
5834         RETVAL = THIS->GetTextCtrl();
5835         ST(0) = sv_newmortal();
5836     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
5837
5838     }
5839     XSRETURN(1);
5840 }
5841
5842
5843 XS(XS_Wx__ComboCtrl_GetButton); /* prototype to pass -Wmissing-prototypes */
5844 XS(XS_Wx__ComboCtrl_GetButton)
5845 {
5846 #ifdef dVAR
5847     dVAR; dXSARGS;
5848 #else
5849     dXSARGS;
5850 #endif
5851     if (items != 1)
5852        croak_xs_usage(cv,  "THIS");
5853     {
5854         wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" );
5855         wxWindow *      RETVAL;
5856
5857         RETVAL = THIS->GetButton();
5858         ST(0) = sv_newmortal();
5859     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
5860
5861     }
5862     XSRETURN(1);
5863 }
5864
5865
5866 XS(XS_Wx__ComboCtrl_GetValue); /* prototype to pass -Wmissing-prototypes */
5867 XS(XS_Wx__ComboCtrl_GetValue)
5868 {
5869 #ifdef dVAR
5870     dVAR; dXSARGS;
5871 #else
5872     dXSARGS;
5873 #endif
5874     if (items != 1)
5875        croak_xs_usage(cv,  "THIS");
5876     {
5877         wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" );
5878         wxString        RETVAL;
5879
5880         RETVAL = THIS->GetValue();
5881         ST(0) = sv_newmortal();
5882     WXSTRING_OUTPUT( RETVAL, ST(0) );
5883
5884     }
5885     XSRETURN(1);
5886 }
5887
5888
5889 XS(XS_Wx__ComboCtrl_SetValue); /* prototype to pass -Wmissing-prototypes */
5890 XS(XS_Wx__ComboCtrl_SetValue)
5891 {
5892 #ifdef dVAR
5893     dVAR; dXSARGS;
5894 #else
5895     dXSARGS;
5896 #endif
5897     if (items != 2)
5898        croak_xs_usage(cv,  "THIS, value");
5899     {
5900         wxString        value;
5901         wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" );
5902
5903     WXSTRING_INPUT( value, wxString, ST(1) );
5904
5905         THIS->SetValue(value);
5906     }
5907     XSRETURN_EMPTY;
5908 }
5909
5910
5911 XS(XS_Wx__ComboCtrl_Copy); /* prototype to pass -Wmissing-prototypes */
5912 XS(XS_Wx__ComboCtrl_Copy)
5913 {
5914 #ifdef dVAR
5915     dVAR; dXSARGS;
5916 #else
5917     dXSARGS;
5918 #endif
5919     if (items != 1)
5920        croak_xs_usage(cv,  "THIS");
5921     {
5922         wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" );
5923
5924         THIS->Copy();
5925     }
5926     XSRETURN_EMPTY;
5927 }
5928
5929
5930 XS(XS_Wx__ComboCtrl_Cut); /* prototype to pass -Wmissing-prototypes */
5931 XS(XS_Wx__ComboCtrl_Cut)
5932 {
5933 #ifdef dVAR
5934     dVAR; dXSARGS;
5935 #else
5936     dXSARGS;
5937 #endif
5938     if (items != 1)
5939        croak_xs_usage(cv,  "THIS");
5940     {
5941         wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" );
5942
5943         THIS->Cut();
5944     }
5945     XSRETURN_EMPTY;
5946 }
5947
5948
5949 XS(XS_Wx__ComboCtrl_Paste); /* prototype to pass -Wmissing-prototypes */
5950 XS(XS_Wx__ComboCtrl_Paste)
5951 {
5952 #ifdef dVAR
5953     dVAR; dXSARGS;
5954 #else
5955     dXSARGS;
5956 #endif
5957     if (items != 1)
5958        croak_xs_usage(cv,  "THIS");
5959     {
5960         wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" );
5961
5962         THIS->Paste();
5963     }
5964     XSRETURN_EMPTY;
5965 }
5966
5967
5968 XS(XS_Wx__ComboCtrl_SetInsertionPoint); /* prototype to pass -Wmissing-prototypes */
5969 XS(XS_Wx__ComboCtrl_SetInsertionPoint)
5970 {
5971 #ifdef dVAR
5972     dVAR; dXSARGS;
5973 #else
5974     dXSARGS;
5975 #endif
5976     if (items != 2)
5977        croak_xs_usage(cv,  "THIS, pos");
5978     {
5979         long    pos = (long)SvIV(ST(1));
5980         wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" );
5981
5982         THIS->SetInsertionPoint(pos);
5983     }
5984     XSRETURN_EMPTY;
5985 }
5986
5987
5988 XS(XS_Wx__ComboCtrl_SetInsertionPointEnd); /* prototype to pass -Wmissing-prototypes */
5989 XS(XS_Wx__ComboCtrl_SetInsertionPointEnd)
5990 {
5991 #ifdef dVAR
5992     dVAR; dXSARGS;
5993 #else
5994     dXSARGS;
5995 #endif
5996     if (items != 1)
5997        croak_xs_usage(cv,  "THIS");
5998     {
5999         wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" );
6000
6001         THIS->SetInsertionPointEnd();
6002     }
6003     XSRETURN_EMPTY;
6004 }
6005
6006
6007 XS(XS_Wx__ComboCtrl_GetInsertionPoint); /* prototype to pass -Wmissing-prototypes */
6008 XS(XS_Wx__ComboCtrl_GetInsertionPoint)
6009 {
6010 #ifdef dVAR
6011     dVAR; dXSARGS;
6012 #else
6013     dXSARGS;
6014 #endif
6015     if (items != 1)
6016        croak_xs_usage(cv,  "THIS");
6017     {
6018         wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" );
6019         long    RETVAL;
6020         dXSTARG;
6021
6022         RETVAL = THIS->GetInsertionPoint();
6023         XSprePUSH; PUSHi((IV)RETVAL);
6024     }
6025     XSRETURN(1);
6026 }
6027
6028
6029 XS(XS_Wx__ComboCtrl_GetLastPosition); /* prototype to pass -Wmissing-prototypes */
6030 XS(XS_Wx__ComboCtrl_GetLastPosition)
6031 {
6032 #ifdef dVAR
6033     dVAR; dXSARGS;
6034 #else
6035     dXSARGS;
6036 #endif
6037     if (items != 1)
6038        croak_xs_usage(cv,  "THIS");
6039     {
6040         wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" );
6041         long    RETVAL;
6042         dXSTARG;
6043
6044         RETVAL = THIS->GetLastPosition();
6045         XSprePUSH; PUSHi((IV)RETVAL);
6046     }
6047     XSRETURN(1);
6048 }
6049
6050
6051 XS(XS_Wx__ComboCtrl_Replace); /* prototype to pass -Wmissing-prototypes */
6052 XS(XS_Wx__ComboCtrl_Replace)
6053 {
6054 #ifdef dVAR
6055     dVAR; dXSARGS;
6056 #else
6057     dXSARGS;
6058 #endif
6059     if (items != 4)
6060        croak_xs_usage(cv,  "THIS, from, to, value");
6061     {
6062         long    from = (long)SvIV(ST(1));
6063         long    to = (long)SvIV(ST(2));
6064         wxString        value;
6065         wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" );
6066
6067     WXSTRING_INPUT( value, wxString, ST(3) );
6068
6069         THIS->Replace(from, to, value);
6070     }
6071     XSRETURN_EMPTY;
6072 }
6073
6074
6075 XS(XS_Wx__ComboCtrl_Remove); /* prototype to pass -Wmissing-prototypes */
6076 XS(XS_Wx__ComboCtrl_Remove)
6077 {
6078 #ifdef dVAR
6079     dVAR; dXSARGS;
6080 #else
6081     dXSARGS;
6082 #endif
6083     if (items != 3)
6084        croak_xs_usage(cv,  "THIS, from, to");
6085     {
6086         long    from = (long)SvIV(ST(1));
6087         long    to = (long)SvIV(ST(2));
6088         wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" );
6089
6090         THIS->Remove(from, to);
6091     }
6092     XSRETURN_EMPTY;
6093 }
6094
6095
6096 XS(XS_Wx__ComboCtrl_SetSelection); /* prototype to pass -Wmissing-prototypes */
6097 XS(XS_Wx__ComboCtrl_SetSelection)
6098 {
6099 #ifdef dVAR
6100     dVAR; dXSARGS;
6101 #else
6102     dXSARGS;
6103 #endif
6104     if (items != 3)
6105        croak_xs_usage(cv,  "THIS, from, to");
6106     {
6107         long    from = (long)SvIV(ST(1));
6108         long    to = (long)SvIV(ST(2));
6109         wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" );
6110
6111         THIS->SetSelection(from, to);
6112     }
6113     XSRETURN_EMPTY;
6114 }
6115
6116
6117 XS(XS_Wx__ComboCtrl_Undo); /* prototype to pass -Wmissing-prototypes */
6118 XS(XS_Wx__ComboCtrl_Undo)
6119 {
6120 #ifdef dVAR
6121     dVAR; dXSARGS;
6122 #else
6123     dXSARGS;
6124 #endif
6125     if (items != 1)
6126        croak_xs_usage(cv,  "THIS");
6127     {
6128         wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" );
6129
6130         THIS->Undo();
6131     }
6132     XSRETURN_EMPTY;
6133 }
6134
6135
6136 XS(XS_Wx__ComboCtrl_SetText); /* prototype to pass -Wmissing-prototypes */
6137 XS(XS_Wx__ComboCtrl_SetText)
6138 {
6139 #ifdef dVAR
6140     dVAR; dXSARGS;
6141 #else
6142     dXSARGS;
6143 #endif
6144     if (items != 2)
6145        croak_xs_usage(cv,  "THIS, value");
6146     {
6147         wxString        value;
6148         wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" );
6149
6150     WXSTRING_INPUT( value, wxString, ST(1) );
6151
6152         THIS->SetText(value);
6153     }
6154     XSRETURN_EMPTY;
6155 }
6156
6157
6158 XS(XS_Wx__ComboCtrl_SetPopupMinWidth); /* prototype to pass -Wmissing-prototypes */
6159 XS(XS_Wx__ComboCtrl_SetPopupMinWidth)
6160 {
6161 #ifdef dVAR
6162     dVAR; dXSARGS;
6163 #else
6164     dXSARGS;
6165 #endif
6166     if (items != 2)
6167        croak_xs_usage(cv,  "THIS, width");
6168     {
6169         int     width = (int)SvIV(ST(1));
6170         wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" );
6171
6172         THIS->SetPopupMinWidth(width);
6173     }
6174     XSRETURN_EMPTY;
6175 }
6176
6177
6178 XS(XS_Wx__ComboCtrl_SetPopupMaxHeight); /* prototype to pass -Wmissing-prototypes */
6179 XS(XS_Wx__ComboCtrl_SetPopupMaxHeight)
6180 {
6181 #ifdef dVAR
6182     dVAR; dXSARGS;
6183 #else
6184     dXSARGS;
6185 #endif
6186     if (items != 2)
6187        croak_xs_usage(cv,  "THIS, height");
6188     {
6189         int     height = (int)SvIV(ST(1));
6190         wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" );
6191
6192         THIS->SetPopupMaxHeight(height);
6193     }
6194     XSRETURN_EMPTY;
6195 }
6196
6197
6198 XS(XS_Wx__ComboCtrl_SetPopupExtents); /* prototype to pass -Wmissing-prototypes */
6199 XS(XS_Wx__ComboCtrl_SetPopupExtents)
6200 {
6201 #ifdef dVAR
6202     dVAR; dXSARGS;
6203 #else
6204     dXSARGS;
6205 #endif
6206     if (items != 3)
6207        croak_xs_usage(cv,  "THIS, extLeft, extRight");
6208     {
6209         int     extLeft = (int)SvIV(ST(1));
6210         int     extRight = (int)SvIV(ST(2));
6211         wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" );
6212
6213         THIS->SetPopupExtents(extLeft, extRight);
6214     }
6215     XSRETURN_EMPTY;
6216 }
6217
6218
6219 XS(XS_Wx__ComboCtrl_SetCustomPaintWidth); /* prototype to pass -Wmissing-prototypes */
6220 XS(XS_Wx__ComboCtrl_SetCustomPaintWidth)
6221 {
6222 #ifdef dVAR
6223     dVAR; dXSARGS;
6224 #else
6225     dXSARGS;
6226 #endif
6227     if (items != 2)
6228        croak_xs_usage(cv,  "THIS, width");
6229     {
6230         int     width = (int)SvIV(ST(1));
6231         wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" );
6232
6233         THIS->SetCustomPaintWidth(width);
6234     }
6235     XSRETURN_EMPTY;
6236 }
6237
6238
6239 XS(XS_Wx__ComboCtrl_GetCustomPaintWidth); /* prototype to pass -Wmissing-prototypes */
6240 XS(XS_Wx__ComboCtrl_GetCustomPaintWidth)
6241 {
6242 #ifdef dVAR
6243     dVAR; dXSARGS;
6244 #else
6245     dXSARGS;
6246 #endif
6247     if (items != 1)
6248        croak_xs_usage(cv,  "THIS");
6249     {
6250         wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" );
6251         int     RETVAL;
6252         dXSTARG;
6253
6254         RETVAL = THIS->GetCustomPaintWidth();
6255         XSprePUSH; PUSHi((IV)RETVAL);
6256     }
6257     XSRETURN(1);
6258 }
6259
6260
6261 XS(XS_Wx__ComboCtrl_SetPopupAnchor); /* prototype to pass -Wmissing-prototypes */
6262 XS(XS_Wx__ComboCtrl_SetPopupAnchor)
6263 {
6264 #ifdef dVAR
6265     dVAR; dXSARGS;
6266 #else
6267     dXSARGS;
6268 #endif
6269     if (items != 2)
6270        croak_xs_usage(cv,  "THIS, anchorSide");
6271     {
6272         int     anchorSide = (int)SvIV(ST(1));
6273         wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" );
6274
6275         THIS->SetPopupAnchor(anchorSide);
6276     }
6277     XSRETURN_EMPTY;
6278 }
6279
6280
6281 XS(XS_Wx__ComboCtrl_SetButtonPosition); /* prototype to pass -Wmissing-prototypes */
6282 XS(XS_Wx__ComboCtrl_SetButtonPosition)
6283 {
6284 #ifdef dVAR
6285     dVAR; dXSARGS;
6286 #else
6287     dXSARGS;
6288 #endif
6289     if (items < 1 || items > 5)
6290        croak_xs_usage(cv,  "THIS, width = -1, height = -1, side = wxRIGHT, spacingX = 0");
6291     {
6292         int     width;
6293         int     height;
6294         int     side;
6295         int     spacingX;
6296         wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" );
6297
6298         if (items < 2)
6299             width = -1;
6300         else {
6301             width = (int)SvIV(ST(1));
6302         }
6303
6304         if (items < 3)
6305             height = -1;
6306         else {
6307             height = (int)SvIV(ST(2));
6308         }
6309
6310         if (items < 4)
6311             side = wxRIGHT;
6312         else {
6313             side = (int)SvIV(ST(3));
6314         }
6315
6316         if (items < 5)
6317             spacingX = 0;
6318         else {
6319             spacingX = (int)SvIV(ST(4));
6320         }
6321
6322         THIS->SetButtonPosition(width, height, side, spacingX);
6323     }
6324     XSRETURN_EMPTY;
6325 }
6326
6327
6328 XS(XS_Wx__ComboCtrl_GetButtonSize); /* prototype to pass -Wmissing-prototypes */
6329 XS(XS_Wx__ComboCtrl_GetButtonSize)
6330 {
6331 #ifdef dVAR
6332     dVAR; dXSARGS;
6333 #else
6334     dXSARGS;
6335 #endif
6336     if (items != 1)
6337        croak_xs_usage(cv,  "THIS");
6338     {
6339         wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" );
6340         wxSize  RETVAL;
6341
6342         RETVAL = THIS->GetButtonSize();
6343         ST(0) = sv_newmortal();
6344     wxPli_non_object_2_sv( aTHX_ ST(0), new wxSize(RETVAL), "Wx::Size" );
6345
6346     }
6347     XSRETURN(1);
6348 }
6349
6350
6351 XS(XS_Wx__ComboCtrl_SetButtonBitmaps); /* prototype to pass -Wmissing-prototypes */
6352 XS(XS_Wx__ComboCtrl_SetButtonBitmaps)
6353 {
6354 #ifdef dVAR
6355     dVAR; dXSARGS;
6356 #else
6357     dXSARGS;
6358 #endif
6359     if (items < 2 || items > 6)
6360        croak_xs_usage(cv,  "THIS, bmpNormal, pushButtonBg = false, bmpPressed = wxNullBitmapPtr, bmpHover = wxNullBitmapPtr, bmpDisabled = wxNullBitmapPtr");
6361     {
6362         wxBitmap*    bmpNormal = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Bitmap" );
6363         bool    pushButtonBg;
6364         wxBitmap*       bmpPressed;
6365         wxBitmap*       bmpHover;
6366         wxBitmap*       bmpDisabled;
6367         wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" );
6368
6369         if (items < 3)
6370             pushButtonBg = false;
6371         else {
6372             pushButtonBg = (bool)SvTRUE(ST(2));
6373         }
6374
6375         if (items < 4)
6376             bmpPressed = wxNullBitmapPtr;
6377         else {
6378     bmpPressed = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::Bitmap" );
6379         }
6380
6381         if (items < 5)
6382             bmpHover = wxNullBitmapPtr;
6383         else {
6384     bmpHover = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(4), "Wx::Bitmap" );
6385         }
6386
6387         if (items < 6)
6388             bmpDisabled = wxNullBitmapPtr;
6389         else {
6390     bmpDisabled = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(5), "Wx::Bitmap" );
6391         }
6392     THIS->SetButtonBitmaps( *( bmpNormal ), pushButtonBg, *( bmpPressed ), *( bmpHover ), *( bmpDisabled ) );
6393     }
6394     XSRETURN_EMPTY;
6395 }
6396
6397 #if WXPERL_W_VERSION_LT( 2, 7, 0 ) || WXWIN_COMPATIBILITY_2_6
6398 #define XSubPPtmpAABB 1
6399
6400
6401 XS(XS_Wx__ComboCtrl_SetTextIndent); /* prototype to pass -Wmissing-prototypes */
6402 XS(XS_Wx__ComboCtrl_SetTextIndent)
6403 {
6404 #ifdef dVAR
6405     dVAR; dXSARGS;
6406 #else
6407     dXSARGS;
6408 #endif
6409     if (items != 2)
6410        croak_xs_usage(cv,  "THIS, indent");
6411     {
6412         int     indent = (int)SvIV(ST(1));
6413         wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" );
6414
6415         THIS->SetTextIndent(indent);
6416     }
6417     XSRETURN_EMPTY;
6418 }
6419
6420
6421 XS(XS_Wx__ComboCtrl_GetTextIndent); /* prototype to pass -Wmissing-prototypes */
6422 XS(XS_Wx__ComboCtrl_GetTextIndent)
6423 {
6424 #ifdef dVAR
6425     dVAR; dXSARGS;
6426 #else
6427     dXSARGS;
6428 #endif
6429     if (items != 1)
6430        croak_xs_usage(cv,  "THIS");
6431     {
6432         wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" );
6433         wxCoord RETVAL;
6434         dXSTARG;
6435
6436         RETVAL = THIS->GetTextIndent();
6437         XSprePUSH; PUSHi((IV)RETVAL);
6438     }
6439     XSRETURN(1);
6440 }
6441
6442 #endif
6443
6444 XS(XS_Wx__ComboCtrl_GetTextRect); /* prototype to pass -Wmissing-prototypes */
6445 XS(XS_Wx__ComboCtrl_GetTextRect)
6446 {
6447 #ifdef dVAR
6448     dVAR; dXSARGS;
6449 #else
6450     dXSARGS;
6451 #endif
6452     if (items != 1)
6453        croak_xs_usage(cv,  "THIS");
6454     {
6455         wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" );
6456         wxRect *        RETVAL;
6457     RETVAL = new wxRect( THIS->GetTextRect() );
6458         ST(0) = sv_newmortal();
6459     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Rect" );
6460     wxPli_thread_sv_register( aTHX_ "Wx::Rect", RETVAL, ST(0) );
6461
6462     }
6463     XSRETURN(1);
6464 }
6465
6466
6467 XS(XS_Wx__ComboCtrl_UseAltPopupWindow); /* prototype to pass -Wmissing-prototypes */
6468 XS(XS_Wx__ComboCtrl_UseAltPopupWindow)
6469 {
6470 #ifdef dVAR
6471     dVAR; dXSARGS;
6472 #else
6473     dXSARGS;
6474 #endif
6475     if (items < 1 || items > 2)
6476        croak_xs_usage(cv,  "THIS, enable = true");
6477     {
6478         bool    enable;
6479         wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" );
6480
6481         if (items < 2)
6482             enable = true;
6483         else {
6484             enable = (bool)SvTRUE(ST(1));
6485         }
6486
6487         THIS->UseAltPopupWindow(enable);
6488     }
6489     XSRETURN_EMPTY;
6490 }
6491
6492
6493 XS(XS_Wx__ComboCtrl_EnablePopupAnimation); /* prototype to pass -Wmissing-prototypes */
6494 XS(XS_Wx__ComboCtrl_EnablePopupAnimation)
6495 {
6496 #ifdef dVAR
6497     dVAR; dXSARGS;
6498 #else
6499     dXSARGS;
6500 #endif
6501     if (items < 1 || items > 2)
6502        croak_xs_usage(cv,  "THIS, enable = true");
6503     {
6504         bool    enable;
6505         wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" );
6506
6507         if (items < 2)
6508             enable = true;
6509         else {
6510             enable = (bool)SvTRUE(ST(1));
6511         }
6512
6513         THIS->EnablePopupAnimation(enable);
6514     }
6515     XSRETURN_EMPTY;
6516 }
6517
6518
6519 XS(XS_Wx__ComboCtrl_GetBitmapNormal); /* prototype to pass -Wmissing-prototypes */
6520 XS(XS_Wx__ComboCtrl_GetBitmapNormal)
6521 {
6522 #ifdef dVAR
6523     dVAR; dXSARGS;
6524 #else
6525     dXSARGS;
6526 #endif
6527     if (items != 1)
6528        croak_xs_usage(cv,  "THIS");
6529     {
6530         wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" );
6531         wxBitmap *      RETVAL;
6532     RETVAL = new wxBitmap( THIS->GetBitmapNormal() );
6533         ST(0) = sv_newmortal();
6534     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
6535     wxPli_thread_sv_register( aTHX_ "Wx::Bitmap", RETVAL, ST(0) );
6536
6537     }
6538     XSRETURN(1);
6539 }
6540
6541
6542 XS(XS_Wx__ComboCtrl_GetBitmapPressed); /* prototype to pass -Wmissing-prototypes */
6543 XS(XS_Wx__ComboCtrl_GetBitmapPressed)
6544 {
6545 #ifdef dVAR
6546     dVAR; dXSARGS;
6547 #else
6548     dXSARGS;
6549 #endif
6550     if (items != 1)
6551        croak_xs_usage(cv,  "THIS");
6552     {
6553         wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" );
6554         wxBitmap *      RETVAL;
6555     RETVAL = new wxBitmap( THIS->GetBitmapPressed() );
6556         ST(0) = sv_newmortal();
6557     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
6558     wxPli_thread_sv_register( aTHX_ "Wx::Bitmap", RETVAL, ST(0) );
6559
6560     }
6561     XSRETURN(1);
6562 }
6563
6564
6565 XS(XS_Wx__ComboCtrl_GetBitmapHover); /* prototype to pass -Wmissing-prototypes */
6566 XS(XS_Wx__ComboCtrl_GetBitmapHover)
6567 {
6568 #ifdef dVAR
6569     dVAR; dXSARGS;
6570 #else
6571     dXSARGS;
6572 #endif
6573     if (items != 1)
6574        croak_xs_usage(cv,  "THIS");
6575     {
6576         wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" );
6577         wxBitmap *      RETVAL;
6578     RETVAL = new wxBitmap( THIS->GetBitmapHover() );
6579         ST(0) = sv_newmortal();
6580     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
6581     wxPli_thread_sv_register( aTHX_ "Wx::Bitmap", RETVAL, ST(0) );
6582
6583     }
6584     XSRETURN(1);
6585 }
6586
6587
6588 XS(XS_Wx__ComboCtrl_GetBitmapDisabled); /* prototype to pass -Wmissing-prototypes */
6589 XS(XS_Wx__ComboCtrl_GetBitmapDisabled)
6590 {
6591 #ifdef dVAR
6592     dVAR; dXSARGS;
6593 #else
6594     dXSARGS;
6595 #endif
6596     if (items != 1)
6597        croak_xs_usage(cv,  "THIS");
6598     {
6599         wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" );
6600         wxBitmap *      RETVAL;
6601     RETVAL = new wxBitmap( THIS->GetBitmapDisabled() );
6602         ST(0) = sv_newmortal();
6603     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
6604     wxPli_thread_sv_register( aTHX_ "Wx::Bitmap", RETVAL, ST(0) );
6605
6606     }
6607     XSRETURN(1);
6608 }
6609
6610 #endif
6611
6612 /* INCLUDE: Returning to 'Controls.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/ComboCtrl.xsp |' */
6613
6614
6615 /* INCLUDE:  Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/OwnerDrawnComboBox.xsp |' from 'Controls.xs' */
6616
6617 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
6618 #include <wx/odcombo.h>
6619 #define XSubPPtmpAABC 1
6620
6621
6622 XS(XS_Wx__OwnerDrawnComboBox_GetWidestItemWidth); /* prototype to pass -Wmissing-prototypes */
6623 XS(XS_Wx__OwnerDrawnComboBox_GetWidestItemWidth)
6624 {
6625 #ifdef dVAR
6626     dVAR; dXSARGS;
6627 #else
6628     dXSARGS;
6629 #endif
6630     if (items != 1)
6631        croak_xs_usage(cv,  "THIS");
6632     {
6633         wxOwnerDrawnComboBox *    THIS = (wxOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OwnerDrawnComboBox" );
6634         int     RETVAL;
6635         dXSTARG;
6636
6637         RETVAL = THIS->GetWidestItemWidth();
6638         XSprePUSH; PUSHi((IV)RETVAL);
6639     }
6640     XSRETURN(1);
6641 }
6642
6643
6644 XS(XS_Wx__OwnerDrawnComboBox_GetWidestItem); /* prototype to pass -Wmissing-prototypes */
6645 XS(XS_Wx__OwnerDrawnComboBox_GetWidestItem)
6646 {
6647 #ifdef dVAR
6648     dVAR; dXSARGS;
6649 #else
6650     dXSARGS;
6651 #endif
6652     if (items != 1)
6653        croak_xs_usage(cv,  "THIS");
6654     {
6655         wxOwnerDrawnComboBox *    THIS = (wxOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OwnerDrawnComboBox" );
6656         int     RETVAL;
6657         dXSTARG;
6658
6659         RETVAL = THIS->GetWidestItem();
6660         XSprePUSH; PUSHi((IV)RETVAL);
6661     }
6662     XSRETURN(1);
6663 }
6664
6665
6666 /* INCLUDE:  Including 'perl -pe "s/ItemContainerImmutable/OwnerDrawnComboBox/g" XS/ItemContainerImmutable.xs |' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/OwnerDrawnComboBox.xsp |' */
6667
6668
6669 XS(XS_Wx__OwnerDrawnComboBox_GetCount); /* prototype to pass -Wmissing-prototypes */
6670 XS(XS_Wx__OwnerDrawnComboBox_GetCount)
6671 {
6672 #ifdef dVAR
6673     dVAR; dXSARGS;
6674 #else
6675     dXSARGS;
6676 #endif
6677     if (items != 1)
6678        croak_xs_usage(cv,  "THIS");
6679     {
6680         wxOwnerDrawnComboBox *    THIS = (wxOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OwnerDrawnComboBox" );
6681         unsigned int    RETVAL;
6682         dXSTARG;
6683
6684         RETVAL = THIS->GetCount();
6685         XSprePUSH; PUSHu((UV)RETVAL );
6686     }
6687     XSRETURN(1);
6688 }
6689
6690
6691 XS(XS_Wx__OwnerDrawnComboBox_IsEmpty); /* prototype to pass -Wmissing-prototypes */
6692 XS(XS_Wx__OwnerDrawnComboBox_IsEmpty)
6693 {
6694 #ifdef dVAR
6695     dVAR; dXSARGS;
6696 #else
6697     dXSARGS;
6698 #endif
6699     if (items != 1)
6700        croak_xs_usage(cv,  "THIS");
6701     {
6702         wxOwnerDrawnComboBox *    THIS = (wxOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OwnerDrawnComboBox" );
6703         bool    RETVAL;
6704
6705         RETVAL = THIS->IsEmpty();
6706         ST(0) = boolSV(RETVAL);
6707         sv_2mortal(ST(0));
6708     }
6709     XSRETURN(1);
6710 }
6711
6712
6713 XS(XS_Wx__OwnerDrawnComboBox_GetString); /* prototype to pass -Wmissing-prototypes */
6714 XS(XS_Wx__OwnerDrawnComboBox_GetString)
6715 {
6716 #ifdef dVAR
6717     dVAR; dXSARGS;
6718 #else
6719     dXSARGS;
6720 #endif
6721     if (items != 2)
6722        croak_xs_usage(cv,  "THIS, n");
6723     {
6724         unsigned int    n = (unsigned int)SvUV( ST(1) );
6725         wxOwnerDrawnComboBox *    THIS = (wxOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OwnerDrawnComboBox" );
6726         wxString        RETVAL;
6727
6728         RETVAL = THIS->GetString(n);
6729         ST(0) = sv_newmortal();
6730     WXSTRING_OUTPUT( RETVAL, ST(0) );
6731
6732     }
6733     XSRETURN(1);
6734 }
6735
6736
6737 XS(XS_Wx__OwnerDrawnComboBox_GetStrings); /* prototype to pass -Wmissing-prototypes */
6738 XS(XS_Wx__OwnerDrawnComboBox_GetStrings)
6739 {
6740 #ifdef dVAR
6741     dVAR; dXSARGS;
6742 #else
6743     dXSARGS;
6744 #endif
6745     if (items != 1)
6746        croak_xs_usage(cv,  "THIS");
6747     PERL_UNUSED_VAR(ax); /* -Wall */
6748     SP -= items;
6749     {
6750         wxOwnerDrawnComboBox *    THIS = (wxOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OwnerDrawnComboBox" );
6751     PUTBACK;
6752     wxPli_stringarray_push( aTHX_ THIS->GetStrings() );
6753     SPAGAIN;
6754         PUTBACK;
6755         return;
6756     }
6757 }
6758
6759
6760 XS(XS_Wx__OwnerDrawnComboBox_SetString); /* prototype to pass -Wmissing-prototypes */
6761 XS(XS_Wx__OwnerDrawnComboBox_SetString)
6762 {
6763 #ifdef dVAR
6764     dVAR; dXSARGS;
6765 #else
6766     dXSARGS;
6767 #endif
6768     if (items != 3)
6769        croak_xs_usage(cv,  "THIS, n, s");
6770     {
6771         unsigned int    n = (unsigned int)SvUV( ST(1) );
6772         wxString        s;
6773         wxOwnerDrawnComboBox *    THIS = (wxOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OwnerDrawnComboBox" );
6774
6775     WXSTRING_INPUT( s, wxString, ST(2) );
6776
6777         THIS->SetString(n, s);
6778     }
6779     XSRETURN_EMPTY;
6780 }
6781
6782
6783 XS(XS_Wx__OwnerDrawnComboBox_FindString); /* prototype to pass -Wmissing-prototypes */
6784 XS(XS_Wx__OwnerDrawnComboBox_FindString)
6785 {
6786 #ifdef dVAR
6787     dVAR; dXSARGS;
6788 #else
6789     dXSARGS;
6790 #endif
6791     if (items < 1)
6792        croak_xs_usage(cv,  "THIS, ...");
6793     PERL_UNUSED_VAR(ax); /* -Wall */
6794     SP -= items;
6795     {
6796         wxOwnerDrawnComboBox *    THIS = (wxOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OwnerDrawnComboBox" );
6797         int     RETVAL;
6798         dXSTARG;
6799     BEGIN_OVERLOAD()
6800 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
6801         MATCH_REDISP( wxPliOvl_s_b, FindStringCase )
6802 #endif
6803         MATCH_REDISP( wxPliOvl_s, FindStringNoCase )
6804     END_OVERLOAD( Wx::OwnerDrawnComboBox::FindString )
6805         PUTBACK;
6806         return;
6807     }
6808 }
6809
6810
6811 XS(XS_Wx__OwnerDrawnComboBox_FindStringNoCase); /* prototype to pass -Wmissing-prototypes */
6812 XS(XS_Wx__OwnerDrawnComboBox_FindStringNoCase)
6813 {
6814 #ifdef dVAR
6815     dVAR; dXSARGS;
6816 #else
6817     dXSARGS;
6818 #endif
6819     if (items != 2)
6820        croak_xs_usage(cv,  "THIS, s");
6821     {
6822         wxString        s;
6823         wxOwnerDrawnComboBox *    THIS = (wxOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OwnerDrawnComboBox" );
6824         int     RETVAL;
6825         dXSTARG;
6826
6827     WXSTRING_INPUT( s, wxString, ST(1) );
6828     RETVAL = THIS->FindString( s );
6829         XSprePUSH; PUSHi((IV)RETVAL);
6830     }
6831     XSRETURN(1);
6832 }
6833
6834 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
6835 #define XSubPPtmpAABD 1
6836
6837
6838 XS(XS_Wx__OwnerDrawnComboBox_FindStringCase); /* prototype to pass -Wmissing-prototypes */
6839 XS(XS_Wx__OwnerDrawnComboBox_FindStringCase)
6840 {
6841 #ifdef dVAR
6842     dVAR; dXSARGS;
6843 #else
6844     dXSARGS;
6845 #endif
6846     if (items < 2 || items > 3)
6847        croak_xs_usage(cv,  "THIS, s, bCase = false");
6848     {
6849         wxString        s;
6850         bool    bCase;
6851         wxOwnerDrawnComboBox *    THIS = (wxOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OwnerDrawnComboBox" );
6852         int     RETVAL;
6853         dXSTARG;
6854
6855     WXSTRING_INPUT( s, wxString, ST(1) );
6856
6857         if (items < 3)
6858             bCase = false;
6859         else {
6860             bCase = (bool)SvTRUE(ST(2));
6861         }
6862     RETVAL = THIS->FindString( s, bCase );
6863         XSprePUSH; PUSHi((IV)RETVAL);
6864     }
6865     XSRETURN(1);
6866 }
6867
6868 #endif
6869 #if WXPERL_W_VERSION_GE( 2, 6, 0 ) && !defined(WXPERL_IN_COMBOBOX)
6870 #define XSubPPtmpAABE 1
6871
6872
6873 XS(XS_Wx__OwnerDrawnComboBox_SetSelection); /* prototype to pass -Wmissing-prototypes */
6874 XS(XS_Wx__OwnerDrawnComboBox_SetSelection)
6875 {
6876 #ifdef dVAR
6877     dVAR; dXSARGS;
6878 #else
6879     dXSARGS;
6880 #endif
6881     if (items != 2)
6882        croak_xs_usage(cv,  "THIS, n");
6883     {
6884         int     n = (int)SvIV(ST(1));
6885         wxOwnerDrawnComboBox *    THIS = (wxOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OwnerDrawnComboBox" );
6886
6887         THIS->SetSelection(n);
6888     }
6889     XSRETURN_EMPTY;
6890 }
6891
6892 #endif
6893
6894 XS(XS_Wx__OwnerDrawnComboBox_GetSelection); /* prototype to pass -Wmissing-prototypes */
6895 XS(XS_Wx__OwnerDrawnComboBox_GetSelection)
6896 {
6897 #ifdef dVAR
6898     dVAR; dXSARGS;
6899 #else
6900     dXSARGS;
6901 #endif
6902     if (items != 1)
6903        croak_xs_usage(cv,  "THIS");
6904     {
6905         wxOwnerDrawnComboBox *    THIS = (wxOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OwnerDrawnComboBox" );
6906         int     RETVAL;
6907         dXSTARG;
6908
6909         RETVAL = THIS->GetSelection();
6910         XSprePUSH; PUSHi((IV)RETVAL);
6911     }
6912     XSRETURN(1);
6913 }
6914
6915 #if WXPERL_W_VERSION_GE( 2, 6, 0 ) || defined(WXPERL_IN_COMBOBOX)
6916 #define XSubPPtmpAABF 1
6917
6918
6919 XS(XS_Wx__OwnerDrawnComboBox_SetStringSelection); /* prototype to pass -Wmissing-prototypes */
6920 XS(XS_Wx__OwnerDrawnComboBox_SetStringSelection)
6921 {
6922 #ifdef dVAR
6923     dVAR; dXSARGS;
6924 #else
6925     dXSARGS;
6926 #endif
6927     if (items != 2)
6928        croak_xs_usage(cv,  "THIS, s");
6929     {
6930         wxString        s;
6931         wxOwnerDrawnComboBox *    THIS = (wxOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OwnerDrawnComboBox" );
6932         bool    RETVAL;
6933
6934     WXSTRING_INPUT( s, wxString, ST(1) );
6935
6936         RETVAL = THIS->SetStringSelection(s);
6937         ST(0) = boolSV(RETVAL);
6938         sv_2mortal(ST(0));
6939     }
6940     XSRETURN(1);
6941 }
6942
6943 #endif
6944
6945 XS(XS_Wx__OwnerDrawnComboBox_GetStringSelection); /* prototype to pass -Wmissing-prototypes */
6946 XS(XS_Wx__OwnerDrawnComboBox_GetStringSelection)
6947 {
6948 #ifdef dVAR
6949     dVAR; dXSARGS;
6950 #else
6951     dXSARGS;
6952 #endif
6953     if (items != 1)
6954        croak_xs_usage(cv,  "THIS");
6955     {
6956         wxOwnerDrawnComboBox *    THIS = (wxOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OwnerDrawnComboBox" );
6957         wxString        RETVAL;
6958
6959         RETVAL = THIS->GetStringSelection();
6960         ST(0) = sv_newmortal();
6961     WXSTRING_OUTPUT( RETVAL, ST(0) );
6962
6963     }
6964     XSRETURN(1);
6965 }
6966
6967
6968 XS(XS_Wx__OwnerDrawnComboBox_Select); /* prototype to pass -Wmissing-prototypes */
6969 XS(XS_Wx__OwnerDrawnComboBox_Select)
6970 {
6971 #ifdef dVAR
6972     dVAR; dXSARGS;
6973 #else
6974     dXSARGS;
6975 #endif
6976     if (items != 2)
6977        croak_xs_usage(cv,  "THIS, n");
6978     {
6979         int     n = (int)SvIV(ST(1));
6980         wxOwnerDrawnComboBox *    THIS = (wxOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OwnerDrawnComboBox" );
6981
6982         THIS->Select(n);
6983     }
6984     XSRETURN_EMPTY;
6985 }
6986
6987
6988 /* INCLUDE: Returning to 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/OwnerDrawnComboBox.xsp |' from 'perl -pe "s/ItemContainerImmutable/OwnerDrawnComboBox/g" XS/ItemContainerImmutable.xs |' */
6989
6990
6991 /* INCLUDE:  Including 'perl -pe "s/ItemContainer/OwnerDrawnComboBox/g" XS/ItemContainer.xs |' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/OwnerDrawnComboBox.xsp |' */
6992
6993
6994 XS(XS_Wx__OwnerDrawnComboBox_Append); /* prototype to pass -Wmissing-prototypes */
6995 XS(XS_Wx__OwnerDrawnComboBox_Append)
6996 {
6997 #ifdef dVAR
6998     dVAR; dXSARGS;
6999 #else
7000     dXSARGS;
7001 #endif
7002     if (items < 1)
7003        croak_xs_usage(cv,  "THIS, ...");
7004     PERL_UNUSED_VAR(ax); /* -Wall */
7005     SP -= items;
7006     {
7007         wxOwnerDrawnComboBox *    THIS = (wxOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OwnerDrawnComboBox" );
7008     BEGIN_OVERLOAD()
7009         MATCH_REDISP( wxPliOvl_arr_arr, AppendItemsData )
7010         MATCH_REDISP( wxPliOvl_arr, AppendItems )
7011         MATCH_REDISP( wxPliOvl_s_s, AppendData )
7012         MATCH_REDISP( wxPliOvl_s, AppendString )
7013     END_OVERLOAD( Wx::OwnerDrawnComboBox::Append )
7014         PUTBACK;
7015         return;
7016     }
7017 }
7018
7019
7020 XS(XS_Wx__OwnerDrawnComboBox_AppendString); /* prototype to pass -Wmissing-prototypes */
7021 XS(XS_Wx__OwnerDrawnComboBox_AppendString)
7022 {
7023 #ifdef dVAR
7024     dVAR; dXSARGS;
7025 #else
7026     dXSARGS;
7027 #endif
7028     if (items != 2)
7029        croak_xs_usage(cv,  "THIS, item");
7030     {
7031         wxString        item;
7032         wxOwnerDrawnComboBox *    THIS = (wxOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OwnerDrawnComboBox" );
7033
7034     WXSTRING_INPUT( item, wxString, ST(1) );
7035     THIS->Append( item );
7036     }
7037     XSRETURN_EMPTY;
7038 }
7039
7040
7041 XS(XS_Wx__OwnerDrawnComboBox_AppendData); /* prototype to pass -Wmissing-prototypes */
7042 XS(XS_Wx__OwnerDrawnComboBox_AppendData)
7043 {
7044 #ifdef dVAR
7045     dVAR; dXSARGS;
7046 #else
7047     dXSARGS;
7048 #endif
7049     if (items != 3)
7050        croak_xs_usage(cv,  "THIS, item, data");
7051     {
7052         wxString        item;
7053         wxPliUserDataCD*        data;
7054         wxOwnerDrawnComboBox *    THIS = (wxOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OwnerDrawnComboBox" );
7055
7056     WXSTRING_INPUT( item, wxString, ST(1) );
7057
7058     if( SvOK( ST(2) ) )
7059     {
7060         data = new wxPliUserDataCD( ST(2) );
7061     }
7062     else
7063         data = 0;
7064     THIS->Append( item, data );
7065     }
7066     XSRETURN_EMPTY;
7067 }
7068
7069
7070 XS(XS_Wx__OwnerDrawnComboBox_AppendItems); /* prototype to pass -Wmissing-prototypes */
7071 XS(XS_Wx__OwnerDrawnComboBox_AppendItems)
7072 {
7073 #ifdef dVAR
7074     dVAR; dXSARGS;
7075 #else
7076     dXSARGS;
7077 #endif
7078     if (items != 2)
7079        croak_xs_usage(cv,  "THIS, items");
7080     {
7081         wxArrayString   items;
7082         wxOwnerDrawnComboBox *    THIS = (wxOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OwnerDrawnComboBox" );
7083
7084     wxPli_av_2_arraystring( aTHX_ ST(1), & items );
7085     THIS->Append( items );
7086     }
7087     XSRETURN_EMPTY;
7088 }
7089
7090 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
7091 #define XSubPPtmpAABG 1
7092
7093
7094 XS(XS_Wx__OwnerDrawnComboBox_AppendItemsData); /* prototype to pass -Wmissing-prototypes */
7095 XS(XS_Wx__OwnerDrawnComboBox_AppendItemsData)
7096 {
7097 #ifdef dVAR
7098     dVAR; dXSARGS;
7099 #else
7100     dXSARGS;
7101 #endif
7102     if (items != 3)
7103        croak_xs_usage(cv,  "THIS, items, data");
7104     {
7105         wxArrayString   items;
7106         wxPliUserDataCD**       data;
7107         wxOwnerDrawnComboBox *    THIS = (wxOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OwnerDrawnComboBox" );
7108
7109     wxPli_av_2_arraystring( aTHX_ ST(1), & items );
7110
7111     wxPli_av_2_userdatacdarray( aTHX_ ST(2), & data );
7112     wxPliArrayGuard<wxPliUserDataCD*> guard_data = data;;
7113      THIS->Append( items, (wxClientData**)data ); 
7114     }
7115     XSRETURN_EMPTY;
7116 }
7117
7118 #endif
7119
7120 XS(XS_Wx__OwnerDrawnComboBox_Insert); /* prototype to pass -Wmissing-prototypes */
7121 XS(XS_Wx__OwnerDrawnComboBox_Insert)
7122 {
7123 #ifdef dVAR
7124     dVAR; dXSARGS;
7125 #else
7126     dXSARGS;
7127 #endif
7128     if (items < 1)
7129        croak_xs_usage(cv,  "THIS, ...");
7130     PERL_UNUSED_VAR(ax); /* -Wall */
7131     SP -= items;
7132     {
7133         wxOwnerDrawnComboBox *    THIS = (wxOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OwnerDrawnComboBox" );
7134     BEGIN_OVERLOAD()
7135         MATCH_REDISP( wxPliOvl_arr_n_arr, InsertItemsData )
7136         MATCH_REDISP( wxPliOvl_arr_n, InsertItems )
7137         MATCH_REDISP( wxPliOvl_s_n_s, InsertData )
7138         MATCH_REDISP( wxPliOvl_s_n, InsertString )
7139     END_OVERLOAD( Wx::OwnerDrawnComboBox::Insert )
7140         PUTBACK;
7141         return;
7142     }
7143 }
7144
7145
7146 XS(XS_Wx__OwnerDrawnComboBox_InsertString); /* prototype to pass -Wmissing-prototypes */
7147 XS(XS_Wx__OwnerDrawnComboBox_InsertString)
7148 {
7149 #ifdef dVAR
7150     dVAR; dXSARGS;
7151 #else
7152     dXSARGS;
7153 #endif
7154     if (items != 3)
7155        croak_xs_usage(cv,  "THIS, item, pos");
7156     {
7157         wxString        item;
7158         unsigned int    pos = (unsigned int)SvUV( ST(2) );
7159         wxOwnerDrawnComboBox *    THIS = (wxOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OwnerDrawnComboBox" );
7160
7161     WXSTRING_INPUT( item, wxString, ST(1) );
7162     THIS->Insert( item, pos );
7163     }
7164     XSRETURN_EMPTY;
7165 }
7166
7167
7168 XS(XS_Wx__OwnerDrawnComboBox_InsertData); /* prototype to pass -Wmissing-prototypes */
7169 XS(XS_Wx__OwnerDrawnComboBox_InsertData)
7170 {
7171 #ifdef dVAR
7172     dVAR; dXSARGS;
7173 #else
7174     dXSARGS;
7175 #endif
7176     if (items != 4)
7177        croak_xs_usage(cv,  "THIS, item, pos, data");
7178     {
7179         wxString        item;
7180         unsigned int    pos = (unsigned int)SvUV( ST(2) );
7181         wxPliUserDataCD*        data;
7182         wxOwnerDrawnComboBox *    THIS = (wxOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OwnerDrawnComboBox" );
7183
7184     WXSTRING_INPUT( item, wxString, ST(1) );
7185
7186     if( SvOK( ST(3) ) )
7187     {
7188         data = new wxPliUserDataCD( ST(3) );
7189     }
7190     else
7191         data = 0;
7192     THIS->Insert( item, pos, data );
7193     }
7194     XSRETURN_EMPTY;
7195 }
7196
7197 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
7198 #define XSubPPtmpAABH 1
7199
7200
7201 XS(XS_Wx__OwnerDrawnComboBox_InsertItems); /* prototype to pass -Wmissing-prototypes */
7202 XS(XS_Wx__OwnerDrawnComboBox_InsertItems)
7203 {
7204 #ifdef dVAR
7205     dVAR; dXSARGS;
7206 #else
7207     dXSARGS;
7208 #endif
7209     if (items != 3)
7210        croak_xs_usage(cv,  "THIS, items, pos");
7211     {
7212         wxArrayString   items;
7213         unsigned int    pos = (unsigned int)SvUV( ST(2) );
7214         wxOwnerDrawnComboBox *    THIS = (wxOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OwnerDrawnComboBox" );
7215
7216     wxPli_av_2_arraystring( aTHX_ ST(1), & items );
7217     THIS->Insert( items, pos );
7218     }
7219     XSRETURN_EMPTY;
7220 }
7221
7222
7223 XS(XS_Wx__OwnerDrawnComboBox_InsertItemsData); /* prototype to pass -Wmissing-prototypes */
7224 XS(XS_Wx__OwnerDrawnComboBox_InsertItemsData)
7225 {
7226 #ifdef dVAR
7227     dVAR; dXSARGS;
7228 #else
7229     dXSARGS;
7230 #endif
7231     if (items != 4)
7232        croak_xs_usage(cv,  "THIS, items, pos, data");
7233     {
7234         wxArrayString   items;
7235         unsigned int    pos = (unsigned int)SvUV( ST(2) );
7236         wxPliUserDataCD**       data;
7237         wxOwnerDrawnComboBox *    THIS = (wxOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OwnerDrawnComboBox" );
7238
7239     wxPli_av_2_arraystring( aTHX_ ST(1), & items );
7240
7241     wxPli_av_2_userdatacdarray( aTHX_ ST(3), & data );
7242     wxPliArrayGuard<wxPliUserDataCD*> guard_data = data;;
7243      THIS->Insert( items, pos, (wxClientData**)data ); 
7244     }
7245     XSRETURN_EMPTY;
7246 }
7247
7248 #endif
7249 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
7250 #define XSubPPtmpAABI 1
7251
7252
7253 XS(XS_Wx__OwnerDrawnComboBox_Set); /* prototype to pass -Wmissing-prototypes */
7254 XS(XS_Wx__OwnerDrawnComboBox_Set)
7255 {
7256 #ifdef dVAR
7257     dVAR; dXSARGS;
7258 #else
7259     dXSARGS;
7260 #endif
7261     if (items < 1)
7262        croak_xs_usage(cv,  "THIS, ...");
7263     PERL_UNUSED_VAR(ax); /* -Wall */
7264     SP -= items;
7265     {
7266         wxOwnerDrawnComboBox *    THIS = (wxOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OwnerDrawnComboBox" );
7267     BEGIN_OVERLOAD()
7268         MATCH_REDISP( wxPliOvl_arr_arr, SetItemsData )
7269         MATCH_REDISP( wxPliOvl_arr, SetItems )
7270     END_OVERLOAD( Wx::OwnerDrawnComboBox::Set )
7271         PUTBACK;
7272         return;
7273     }
7274 }
7275
7276
7277 XS(XS_Wx__OwnerDrawnComboBox_SetItems); /* prototype to pass -Wmissing-prototypes */
7278 XS(XS_Wx__OwnerDrawnComboBox_SetItems)
7279 {
7280 #ifdef dVAR
7281     dVAR; dXSARGS;
7282 #else
7283     dXSARGS;
7284 #endif
7285     if (items != 2)
7286        croak_xs_usage(cv,  "THIS, items");
7287     {
7288         wxArrayString   items;
7289         wxOwnerDrawnComboBox *    THIS = (wxOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OwnerDrawnComboBox" );
7290
7291     wxPli_av_2_arraystring( aTHX_ ST(1), & items );
7292     THIS->Set( items );
7293     }
7294     XSRETURN_EMPTY;
7295 }
7296
7297
7298 XS(XS_Wx__OwnerDrawnComboBox_SetItemsData); /* prototype to pass -Wmissing-prototypes */
7299 XS(XS_Wx__OwnerDrawnComboBox_SetItemsData)
7300 {
7301 #ifdef dVAR
7302     dVAR; dXSARGS;
7303 #else
7304     dXSARGS;
7305 #endif
7306     if (items != 3)
7307        croak_xs_usage(cv,  "THIS, items, data");
7308     {
7309         wxArrayString   items;
7310         wxPliUserDataCD**       data;
7311         wxOwnerDrawnComboBox *    THIS = (wxOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OwnerDrawnComboBox" );
7312
7313     wxPli_av_2_arraystring( aTHX_ ST(1), & items );
7314
7315     wxPli_av_2_userdatacdarray( aTHX_ ST(2), & data );
7316     wxPliArrayGuard<wxPliUserDataCD*> guard_data = data;;
7317      THIS->Set( items, (wxClientData**)data ); 
7318     }
7319     XSRETURN_EMPTY;
7320 }
7321
7322 #endif
7323
7324 XS(XS_Wx__OwnerDrawnComboBox_Clear); /* prototype to pass -Wmissing-prototypes */
7325 XS(XS_Wx__OwnerDrawnComboBox_Clear)
7326 {
7327 #ifdef dVAR
7328     dVAR; dXSARGS;
7329 #else
7330     dXSARGS;
7331 #endif
7332     if (items != 1)
7333        croak_xs_usage(cv,  "THIS");
7334     {
7335         wxOwnerDrawnComboBox *    THIS = (wxOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OwnerDrawnComboBox" );
7336
7337         THIS->Clear();
7338     }
7339     XSRETURN_EMPTY;
7340 }
7341
7342
7343 XS(XS_Wx__OwnerDrawnComboBox_Delete); /* prototype to pass -Wmissing-prototypes */
7344 XS(XS_Wx__OwnerDrawnComboBox_Delete)
7345 {
7346 #ifdef dVAR
7347     dVAR; dXSARGS;
7348 #else
7349     dXSARGS;
7350 #endif
7351     if (items != 2)
7352        croak_xs_usage(cv,  "THIS, n");
7353     {
7354         int     n = (int)SvIV(ST(1));
7355         wxOwnerDrawnComboBox *    THIS = (wxOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OwnerDrawnComboBox" );
7356
7357         THIS->Delete(n);
7358     }
7359     XSRETURN_EMPTY;
7360 }
7361
7362
7363 XS(XS_Wx__OwnerDrawnComboBox_GetClientData); /* prototype to pass -Wmissing-prototypes */
7364 XS(XS_Wx__OwnerDrawnComboBox_GetClientData)
7365 {
7366 #ifdef dVAR
7367     dVAR; dXSARGS;
7368 #else
7369     dXSARGS;
7370 #endif
7371     if (items != 2)
7372        croak_xs_usage(cv,  "THIS, n");
7373     {
7374         int     n = (int)SvIV(ST(1));
7375         wxOwnerDrawnComboBox *    THIS = (wxOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OwnerDrawnComboBox" );
7376         wxPliUserDataCD *       RETVAL;
7377      RETVAL = (wxPliUserDataCD*) THIS->GetClientObject( n ); 
7378     ST(0) = ( RETVAL == 0 ) ? &PL_sv_undef : RETVAL->GetData();
7379     SvREFCNT_inc( ST(0) ); // xsubpp mortalizes it...
7380
7381         sv_2mortal(ST(0));
7382     }
7383     XSRETURN(1);
7384 }
7385
7386
7387 XS(XS_Wx__OwnerDrawnComboBox_SetClientData); /* prototype to pass -Wmissing-prototypes */
7388 XS(XS_Wx__OwnerDrawnComboBox_SetClientData)
7389 {
7390 #ifdef dVAR
7391     dVAR; dXSARGS;
7392 #else
7393     dXSARGS;
7394 #endif
7395     if (items != 3)
7396        croak_xs_usage(cv,  "THIS, n, data");
7397     {
7398         int     n = (int)SvIV(ST(1));
7399         wxPliUserDataCD*        data;
7400         wxOwnerDrawnComboBox *    THIS = (wxOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OwnerDrawnComboBox" );
7401
7402     if( SvOK( ST(2) ) )
7403     {
7404         data = new wxPliUserDataCD( ST(2) );
7405     }
7406     else
7407         data = 0;
7408     THIS->SetClientObject( n, data );
7409     }
7410     XSRETURN_EMPTY;
7411 }
7412
7413 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
7414 #endif
7415
7416 /* INCLUDE: Returning to 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/OwnerDrawnComboBox.xsp |' from 'perl -pe "s/ItemContainer/OwnerDrawnComboBox/g" XS/ItemContainer.xs |' */
7417
7418 #include "cpp/odcombo.h"
7419
7420 XS(XS_Wx__PlOwnerDrawnComboBox_new); /* prototype to pass -Wmissing-prototypes */
7421 XS(XS_Wx__PlOwnerDrawnComboBox_new)
7422 {
7423 #ifdef dVAR
7424     dVAR; dXSARGS;
7425 #else
7426     dXSARGS;
7427 #endif
7428     PERL_UNUSED_VAR(cv); /* -W */
7429     PERL_UNUSED_VAR(ax); /* -Wall */
7430     SP -= items;
7431     {
7432     BEGIN_OVERLOAD()
7433         MATCH_VOIDM_REDISP( newDefault )
7434         MATCH_ANY_REDISP( newFull )
7435     END_OVERLOAD( "Wx::PlOwnerDrawnComboBox::new" )
7436         PUTBACK;
7437         return;
7438     }
7439 }
7440
7441
7442 XS(XS_Wx__PlOwnerDrawnComboBox_newDefault); /* prototype to pass -Wmissing-prototypes */
7443 XS(XS_Wx__PlOwnerDrawnComboBox_newDefault)
7444 {
7445 #ifdef dVAR
7446     dVAR; dXSARGS;
7447 #else
7448     dXSARGS;
7449 #endif
7450     if (items != 1)
7451        croak_xs_usage(cv,  "CLASS");
7452     {
7453         char *  CLASS = (char *)SvPV_nolen(ST(0));
7454         wxPlOwnerDrawnComboBox *        RETVAL;
7455      RETVAL = new wxPlOwnerDrawnComboBox( CLASS );
7456                 wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
7457
7458         ST(0) = sv_newmortal();
7459     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
7460
7461     }
7462     XSRETURN(1);
7463 }
7464
7465
7466 XS(XS_Wx__PlOwnerDrawnComboBox_newFull); /* prototype to pass -Wmissing-prototypes */
7467 XS(XS_Wx__PlOwnerDrawnComboBox_newFull)
7468 {
7469 #ifdef dVAR
7470     dVAR; dXSARGS;
7471 #else
7472     dXSARGS;
7473 #endif
7474     if (items < 7 || items > 10)
7475        croak_xs_usage(cv,  "CLASS, parent, id, value, pos, size, choices, style = 0, validator = wxDefaultValidatorPtr, name = wxEmptyString");
7476     {
7477         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
7478         wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) );
7479         wxString        value;
7480         wxPoint    pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
7481         wxSize    size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
7482         wxArrayString   choices;
7483         long    style;
7484         wxValidator*    validator;
7485         wxString        name;
7486         char *  CLASS = (char *)SvPV_nolen(ST(0));
7487         wxPlOwnerDrawnComboBox *        RETVAL;
7488
7489     WXSTRING_INPUT( value, wxString, ST(3) );
7490
7491     wxPli_av_2_arraystring( aTHX_ ST(6), & choices );
7492
7493         if (items < 8)
7494             style = 0;
7495         else {
7496             style = (long)SvIV(ST(7));
7497         }
7498
7499         if (items < 9)
7500             validator = wxDefaultValidatorPtr;
7501         else {
7502     validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(8), "Wx::Validator" );
7503         }
7504
7505         if (items < 10)
7506             name = wxEmptyString;
7507         else {
7508     WXSTRING_INPUT( name, wxString, ST(9) );
7509         }
7510      RETVAL = new wxPlOwnerDrawnComboBox( CLASS, parent, id, value,
7511                                                      pos, size, choices, style,
7512                                                      *validator, name );
7513                 wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
7514
7515         ST(0) = sv_newmortal();
7516     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
7517
7518     }
7519     XSRETURN(1);
7520 }
7521
7522
7523 XS(XS_Wx__PlOwnerDrawnComboBox_Create); /* prototype to pass -Wmissing-prototypes */
7524 XS(XS_Wx__PlOwnerDrawnComboBox_Create)
7525 {
7526 #ifdef dVAR
7527     dVAR; dXSARGS;
7528 #else
7529     dXSARGS;
7530 #endif
7531     if (items < 4 || items > 10)
7532        croak_xs_usage(cv,  "THIS, parent, id, value = wxEmptyString, pos = wxDefaultPosition, size = wxDefaultSize, choices, style = 0, validator = wxDefaultValidatorPtr, name = wxEmptyString");
7533     {
7534         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
7535         wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) );
7536         wxString        value;
7537         wxPoint pos;
7538         wxSize  size;
7539         wxArrayString   choices;
7540         long    style;
7541         wxValidator*    validator;
7542         wxString        name;
7543         wxPlOwnerDrawnComboBox *    THIS = (wxPlOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlOwnerDrawnComboBox" );
7544         bool    RETVAL;
7545
7546         if (items < 4)
7547             value = wxEmptyString;
7548         else {
7549     WXSTRING_INPUT( value, wxString, ST(3) );
7550         }
7551
7552         if (items < 5)
7553             pos = wxDefaultPosition;
7554         else {
7555     pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
7556         }
7557
7558         if (items < 6)
7559             size = wxDefaultSize;
7560         else {
7561     size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
7562         }
7563
7564     wxPli_av_2_arraystring( aTHX_ ST(6), & choices );
7565
7566         if (items < 8)
7567             style = 0;
7568         else {
7569             style = (long)SvIV(ST(7));
7570         }
7571
7572         if (items < 9)
7573             validator = wxDefaultValidatorPtr;
7574         else {
7575     validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(8), "Wx::Validator" );
7576         }
7577
7578         if (items < 10)
7579             name = wxEmptyString;
7580         else {
7581     WXSTRING_INPUT( name, wxString, ST(9) );
7582         }
7583     RETVAL = THIS->Create( parent, id, value, pos, size, choices, style, *( validator ), name );
7584         ST(0) = boolSV(RETVAL);
7585         sv_2mortal(ST(0));
7586     }
7587     XSRETURN(1);
7588 }
7589
7590 #endif
7591
7592 /* INCLUDE: Returning to 'Controls.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/OwnerDrawnComboBox.xsp |' */
7593
7594
7595 /* INCLUDE:  Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/CollapsiblePane.xsp |' from 'Controls.xs' */
7596
7597 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
7598 #include <wx/collpane.h>
7599 #define XSubPPtmpAABJ 1
7600
7601
7602 XS(XS_Wx__CollapsiblePaneEvent_new); /* prototype to pass -Wmissing-prototypes */
7603 XS(XS_Wx__CollapsiblePaneEvent_new)
7604 {
7605 #ifdef dVAR
7606     dVAR; dXSARGS;
7607 #else
7608     dXSARGS;
7609 #endif
7610     if (items != 4)
7611        croak_xs_usage(cv,  "CLASS, generator, id, collapsed");
7612     {
7613         wxObject*    generator = (wxObject *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Object" );
7614         int     id = (int)SvIV(ST(2));
7615         bool    collapsed = (bool)SvTRUE(ST(3));
7616         char *  CLASS = (char *)SvPV_nolen(ST(0));
7617         wxCollapsiblePaneEvent *        RETVAL;
7618
7619         RETVAL = new wxCollapsiblePaneEvent(generator, id, collapsed);
7620         ST(0) = sv_newmortal();
7621     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
7622     wxPli_thread_sv_register( aTHX_ "Wx::CollapsiblePaneEvent", RETVAL, ST(0) );
7623
7624     }
7625     XSRETURN(1);
7626 }
7627
7628
7629 XS(XS_Wx__CollapsiblePaneEvent_GetCollapsed); /* prototype to pass -Wmissing-prototypes */
7630 XS(XS_Wx__CollapsiblePaneEvent_GetCollapsed)
7631 {
7632 #ifdef dVAR
7633     dVAR; dXSARGS;
7634 #else
7635     dXSARGS;
7636 #endif
7637     if (items != 1)
7638        croak_xs_usage(cv,  "THIS");
7639     {
7640         wxCollapsiblePaneEvent *    THIS = (wxCollapsiblePaneEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::CollapsiblePaneEvent" );
7641         bool    RETVAL;
7642
7643         RETVAL = THIS->GetCollapsed();
7644         ST(0) = boolSV(RETVAL);
7645         sv_2mortal(ST(0));
7646     }
7647     XSRETURN(1);
7648 }
7649
7650
7651 XS(XS_Wx__CollapsiblePaneEvent_SetCollapsed); /* prototype to pass -Wmissing-prototypes */
7652 XS(XS_Wx__CollapsiblePaneEvent_SetCollapsed)
7653 {
7654 #ifdef dVAR
7655     dVAR; dXSARGS;
7656 #else
7657     dXSARGS;
7658 #endif
7659     if (items != 2)
7660        croak_xs_usage(cv,  "THIS, c");
7661     {
7662         bool    c = (bool)SvTRUE(ST(1));
7663         wxCollapsiblePaneEvent *    THIS = (wxCollapsiblePaneEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::CollapsiblePaneEvent" );
7664
7665         THIS->SetCollapsed(c);
7666     }
7667     XSRETURN_EMPTY;
7668 }
7669
7670
7671 XS(XS_Wx__CollapsiblePane_new); /* prototype to pass -Wmissing-prototypes */
7672 XS(XS_Wx__CollapsiblePane_new)
7673 {
7674 #ifdef dVAR
7675     dVAR; dXSARGS;
7676 #else
7677     dXSARGS;
7678 #endif
7679     PERL_UNUSED_VAR(cv); /* -W */
7680     PERL_UNUSED_VAR(ax); /* -Wall */
7681     SP -= items;
7682     {
7683     BEGIN_OVERLOAD()
7684         MATCH_VOIDM_REDISP( newDefault )
7685         MATCH_ANY_REDISP( newFull )
7686     END_OVERLOAD( "Wx::CollapsiblePane::new" )
7687         PUTBACK;
7688         return;
7689     }
7690 }
7691
7692
7693 XS(XS_Wx__CollapsiblePane_newDefault); /* prototype to pass -Wmissing-prototypes */
7694 XS(XS_Wx__CollapsiblePane_newDefault)
7695 {
7696 #ifdef dVAR
7697     dVAR; dXSARGS;
7698 #else
7699     dXSARGS;
7700 #endif
7701     if (items != 1)
7702        croak_xs_usage(cv,  "CLASS");
7703     {
7704         char *  CLASS = (char *)SvPV_nolen(ST(0));
7705         wxCollapsiblePane *     RETVAL;
7706      RETVAL = new wxCollapsiblePane();
7707                 wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
7708
7709         ST(0) = sv_newmortal();
7710     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
7711
7712     }
7713     XSRETURN(1);
7714 }
7715
7716
7717 XS(XS_Wx__CollapsiblePane_newFull); /* prototype to pass -Wmissing-prototypes */
7718 XS(XS_Wx__CollapsiblePane_newFull)
7719 {
7720 #ifdef dVAR
7721     dVAR; dXSARGS;
7722 #else
7723     dXSARGS;
7724 #endif
7725     if (items < 4 || items > 9)
7726        croak_xs_usage(cv,  "CLASS, parent, id, label, pos = wxDefaultPosition, size = wxDefaultSize, style = wxCP_DEFAULT_STYLE, val = wxDefaultValidatorPtr, name = wxCollapsiblePaneNameStr");
7727     {
7728         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
7729         wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) );
7730         wxString        label;
7731         wxPoint pos;
7732         wxSize  size;
7733         long    style;
7734         wxValidator*    val;
7735         wxString        name;
7736         char *  CLASS = (char *)SvPV_nolen(ST(0));
7737         wxCollapsiblePane *     RETVAL;
7738
7739     WXSTRING_INPUT( label, wxString, ST(3) );
7740
7741         if (items < 5)
7742             pos = wxDefaultPosition;
7743         else {
7744     pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
7745         }
7746
7747         if (items < 6)
7748             size = wxDefaultSize;
7749         else {
7750     size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
7751         }
7752
7753         if (items < 7)
7754             style = wxCP_DEFAULT_STYLE;
7755         else {
7756             style = (long)SvIV(ST(6));
7757         }
7758
7759         if (items < 8)
7760             val = wxDefaultValidatorPtr;
7761         else {
7762     val = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" );
7763         }
7764
7765         if (items < 9)
7766             name = wxCollapsiblePaneNameStr;
7767         else {
7768     WXSTRING_INPUT( name, wxString, ST(8) );
7769         }
7770      RETVAL = new wxCollapsiblePane( parent, id, label, pos, size,
7771                                                 style, *val, name );
7772                 wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
7773
7774         ST(0) = sv_newmortal();
7775     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
7776
7777     }
7778     XSRETURN(1);
7779 }
7780
7781
7782 XS(XS_Wx__CollapsiblePane_Create); /* prototype to pass -Wmissing-prototypes */
7783 XS(XS_Wx__CollapsiblePane_Create)
7784 {
7785 #ifdef dVAR
7786     dVAR; dXSARGS;
7787 #else
7788     dXSARGS;
7789 #endif
7790     if (items < 4 || items > 9)
7791        croak_xs_usage(cv,  "THIS, parent, id, label, pos = wxDefaultPosition, size = wxDefaultSize, style = wxCP_DEFAULT_STYLE, val = wxDefaultValidatorPtr, name = wxCollapsiblePaneNameStr");
7792     {
7793         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
7794         wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) );
7795         wxString        label;
7796         wxPoint pos;
7797         wxSize  size;
7798         long    style;
7799         wxValidator*    val;
7800         wxString        name;
7801         wxCollapsiblePane *    THIS = (wxCollapsiblePane *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::CollapsiblePane" );
7802         bool    RETVAL;
7803
7804     WXSTRING_INPUT( label, wxString, ST(3) );
7805
7806         if (items < 5)
7807             pos = wxDefaultPosition;
7808         else {
7809     pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
7810         }
7811
7812         if (items < 6)
7813             size = wxDefaultSize;
7814         else {
7815     size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
7816         }
7817
7818         if (items < 7)
7819             style = wxCP_DEFAULT_STYLE;
7820         else {
7821             style = (long)SvIV(ST(6));
7822         }
7823
7824         if (items < 8)
7825             val = wxDefaultValidatorPtr;
7826         else {
7827     val = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" );
7828         }
7829
7830         if (items < 9)
7831             name = wxCollapsiblePaneNameStr;
7832         else {
7833     WXSTRING_INPUT( name, wxString, ST(8) );
7834         }
7835     RETVAL = THIS->Create( parent, id, label, pos, size, style, *( val ), name );
7836         ST(0) = boolSV(RETVAL);
7837         sv_2mortal(ST(0));
7838     }
7839     XSRETURN(1);
7840 }
7841
7842
7843 XS(XS_Wx__CollapsiblePane_Collapse); /* prototype to pass -Wmissing-prototypes */
7844 XS(XS_Wx__CollapsiblePane_Collapse)
7845 {
7846 #ifdef dVAR
7847     dVAR; dXSARGS;
7848 #else
7849     dXSARGS;
7850 #endif
7851     if (items < 1 || items > 2)
7852        croak_xs_usage(cv,  "THIS, collapse = true");
7853     {
7854         bool    collapse;
7855         wxCollapsiblePane *    THIS = (wxCollapsiblePane *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::CollapsiblePane" );
7856
7857         if (items < 2)
7858             collapse = true;
7859         else {
7860             collapse = (bool)SvTRUE(ST(1));
7861         }
7862
7863         THIS->Collapse(collapse);
7864     }
7865     XSRETURN_EMPTY;
7866 }
7867
7868
7869 XS(XS_Wx__CollapsiblePane_Expand); /* prototype to pass -Wmissing-prototypes */
7870 XS(XS_Wx__CollapsiblePane_Expand)
7871 {
7872 #ifdef dVAR
7873     dVAR; dXSARGS;
7874 #else
7875     dXSARGS;
7876 #endif
7877     if (items != 1)
7878        croak_xs_usage(cv,  "THIS");
7879     {
7880         wxCollapsiblePane *    THIS = (wxCollapsiblePane *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::CollapsiblePane" );
7881
7882         THIS->Expand();
7883     }
7884     XSRETURN_EMPTY;
7885 }
7886
7887
7888 XS(XS_Wx__CollapsiblePane_IsCollapsed); /* prototype to pass -Wmissing-prototypes */
7889 XS(XS_Wx__CollapsiblePane_IsCollapsed)
7890 {
7891 #ifdef dVAR
7892     dVAR; dXSARGS;
7893 #else
7894     dXSARGS;
7895 #endif
7896     if (items != 1)
7897        croak_xs_usage(cv,  "THIS");
7898     {
7899         wxCollapsiblePane *    THIS = (wxCollapsiblePane *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::CollapsiblePane" );
7900         bool    RETVAL;
7901
7902         RETVAL = THIS->IsCollapsed();
7903         ST(0) = boolSV(RETVAL);
7904         sv_2mortal(ST(0));
7905     }
7906     XSRETURN(1);
7907 }
7908
7909
7910 XS(XS_Wx__CollapsiblePane_IsExpanded); /* prototype to pass -Wmissing-prototypes */
7911 XS(XS_Wx__CollapsiblePane_IsExpanded)
7912 {
7913 #ifdef dVAR
7914     dVAR; dXSARGS;
7915 #else
7916     dXSARGS;
7917 #endif
7918     if (items != 1)
7919        croak_xs_usage(cv,  "THIS");
7920     {
7921         wxCollapsiblePane *    THIS = (wxCollapsiblePane *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::CollapsiblePane" );
7922         bool    RETVAL;
7923
7924         RETVAL = THIS->IsExpanded();
7925         ST(0) = boolSV(RETVAL);
7926         sv_2mortal(ST(0));
7927     }
7928     XSRETURN(1);
7929 }
7930
7931
7932 XS(XS_Wx__CollapsiblePane_GetPane); /* prototype to pass -Wmissing-prototypes */
7933 XS(XS_Wx__CollapsiblePane_GetPane)
7934 {
7935 #ifdef dVAR
7936     dVAR; dXSARGS;
7937 #else
7938     dXSARGS;
7939 #endif
7940     if (items != 1)
7941        croak_xs_usage(cv,  "THIS");
7942     {
7943         wxCollapsiblePane *    THIS = (wxCollapsiblePane *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::CollapsiblePane" );
7944         wxWindow *      RETVAL;
7945
7946         RETVAL = THIS->GetPane();
7947         ST(0) = sv_newmortal();
7948     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
7949
7950     }
7951     XSRETURN(1);
7952 }
7953
7954 #endif
7955
7956 /* INCLUDE: Returning to 'Controls.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/CollapsiblePane.xsp |' */
7957
7958
7959 /* INCLUDE:  Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/BitmapComboBox.xsp |' from 'Controls.xs' */
7960
7961 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
7962 #include <wx/bmpcbox.h>
7963 #define XSubPPtmpAABK 1
7964
7965
7966 XS(XS_Wx__BitmapComboBox_new); /* prototype to pass -Wmissing-prototypes */
7967 XS(XS_Wx__BitmapComboBox_new)
7968 {
7969 #ifdef dVAR
7970     dVAR; dXSARGS;
7971 #else
7972     dXSARGS;
7973 #endif
7974     PERL_UNUSED_VAR(cv); /* -W */
7975     PERL_UNUSED_VAR(ax); /* -Wall */
7976     SP -= items;
7977     {
7978     BEGIN_OVERLOAD()
7979         MATCH_VOIDM_REDISP( newDefault )
7980         MATCH_ANY_REDISP( newFull )
7981     END_OVERLOAD( "Wx::BitmapComboBox::new" )
7982         PUTBACK;
7983         return;
7984     }
7985 }
7986
7987
7988 XS(XS_Wx__BitmapComboBox_newDefault); /* prototype to pass -Wmissing-prototypes */
7989 XS(XS_Wx__BitmapComboBox_newDefault)
7990 {
7991 #ifdef dVAR
7992     dVAR; dXSARGS;
7993 #else
7994     dXSARGS;
7995 #endif
7996     if (items != 1)
7997        croak_xs_usage(cv,  "CLASS");
7998     {
7999         char *  CLASS = (char *)SvPV_nolen(ST(0));
8000         wxBitmapComboBox *      RETVAL;
8001      RETVAL = new wxBitmapComboBox();
8002                 wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
8003
8004         ST(0) = sv_newmortal();
8005     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
8006
8007     }
8008     XSRETURN(1);
8009 }
8010
8011
8012 XS(XS_Wx__BitmapComboBox_newFull); /* prototype to pass -Wmissing-prototypes */
8013 XS(XS_Wx__BitmapComboBox_newFull)
8014 {
8015 #ifdef dVAR
8016     dVAR; dXSARGS;
8017 #else
8018     dXSARGS;
8019 #endif
8020     if (items < 5 || items > 10)
8021        croak_xs_usage(cv,  "CLASS, parent, id, value, pos = wxDefaultPosition, size = wxDefaultSize, choices, style = 0, val = wxDefaultValidatorPtr, name = wxBitmapComboBoxNameStr");
8022     {
8023         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
8024         wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) );
8025         wxString        value;
8026         wxPoint pos;
8027         wxSize  size;
8028         wxArrayString   choices;
8029         long    style;
8030         wxValidator*    val;
8031         wxString        name;
8032         char *  CLASS = (char *)SvPV_nolen(ST(0));
8033         wxBitmapComboBox *      RETVAL;
8034
8035     WXSTRING_INPUT( value, wxString, ST(3) );
8036
8037         if (items < 5)
8038             pos = wxDefaultPosition;
8039         else {
8040     pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
8041         }
8042
8043         if (items < 6)
8044             size = wxDefaultSize;
8045         else {
8046     size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
8047         }
8048
8049     wxPli_av_2_arraystring( aTHX_ ST(6), & choices );
8050
8051         if (items < 8)
8052             style = 0;
8053         else {
8054             style = (long)SvIV(ST(7));
8055         }
8056
8057         if (items < 9)
8058             val = wxDefaultValidatorPtr;
8059         else {
8060     val = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(8), "Wx::Validator" );
8061         }
8062
8063         if (items < 10)
8064             name = wxBitmapComboBoxNameStr;
8065         else {
8066     WXSTRING_INPUT( name, wxString, ST(9) );
8067         }
8068      RETVAL = new wxBitmapComboBox( parent, id, value, pos, size,
8069                                                 choices, style, *val, name );
8070                 wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
8071
8072         ST(0) = sv_newmortal();
8073     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
8074
8075     }
8076     XSRETURN(1);
8077 }
8078
8079
8080 XS(XS_Wx__BitmapComboBox_Create); /* prototype to pass -Wmissing-prototypes */
8081 XS(XS_Wx__BitmapComboBox_Create)
8082 {
8083 #ifdef dVAR
8084     dVAR; dXSARGS;
8085 #else
8086     dXSARGS;
8087 #endif
8088     if (items < 5 || items > 10)
8089        croak_xs_usage(cv,  "THIS, parent, id, value, pos = wxDefaultPosition, size = wxDefaultSize, choices, style = 0, val = wxDefaultValidatorPtr, name = wxBitmapComboBoxNameStr");
8090     {
8091         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
8092         wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) );
8093         wxString        value;
8094         wxPoint pos;
8095         wxSize  size;
8096         wxArrayString   choices;
8097         long    style;
8098         wxValidator*    val;
8099         wxString        name;
8100         wxBitmapComboBox *    THIS = (wxBitmapComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BitmapComboBox" );
8101         bool    RETVAL;
8102
8103     WXSTRING_INPUT( value, wxString, ST(3) );
8104
8105         if (items < 5)
8106             pos = wxDefaultPosition;
8107         else {
8108     pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
8109         }
8110
8111         if (items < 6)
8112             size = wxDefaultSize;
8113         else {
8114     size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
8115         }
8116
8117     wxPli_av_2_arraystring( aTHX_ ST(6), & choices );
8118
8119         if (items < 8)
8120             style = 0;
8121         else {
8122             style = (long)SvIV(ST(7));
8123         }
8124
8125         if (items < 9)
8126             val = wxDefaultValidatorPtr;
8127         else {
8128     val = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(8), "Wx::Validator" );
8129         }
8130
8131         if (items < 10)
8132             name = wxBitmapComboBoxNameStr;
8133         else {
8134     WXSTRING_INPUT( name, wxString, ST(9) );
8135         }
8136     RETVAL = THIS->Create( parent, id, value, pos, size, choices, style, *( val ), name );
8137         ST(0) = boolSV(RETVAL);
8138         sv_2mortal(ST(0));
8139     }
8140     XSRETURN(1);
8141 }
8142
8143
8144 XS(XS_Wx__BitmapComboBox_Append); /* prototype to pass -Wmissing-prototypes */
8145 XS(XS_Wx__BitmapComboBox_Append)
8146 {
8147 #ifdef dVAR
8148     dVAR; dXSARGS;
8149 #else
8150     dXSARGS;
8151 #endif
8152     if (items < 1)
8153        croak_xs_usage(cv,  "THIS, ...");
8154     PERL_UNUSED_VAR(ax); /* -Wall */
8155     SP -= items;
8156     {
8157         wxBitmapComboBox *    THIS = (wxBitmapComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BitmapComboBox" );
8158     BEGIN_OVERLOAD()
8159         MATCH_REDISP( wxPliOvl_s_wbmp_s, AppendData )
8160         MATCH_REDISP( wxPliOvl_s_wbmp, AppendString )
8161     END_OVERLOAD( Wx::BitmapComboBox::Append )
8162         PUTBACK;
8163         return;
8164     }
8165 }
8166
8167
8168 XS(XS_Wx__BitmapComboBox_AppendString); /* prototype to pass -Wmissing-prototypes */
8169 XS(XS_Wx__BitmapComboBox_AppendString)
8170 {
8171 #ifdef dVAR
8172     dVAR; dXSARGS;
8173 #else
8174     dXSARGS;
8175 #endif
8176     if (items < 2 || items > 3)
8177        croak_xs_usage(cv,  "THIS, item, bitmap = wxNullBitmapPtr");
8178     {
8179         wxString        item;
8180         wxBitmap*       bitmap;
8181         wxBitmapComboBox *    THIS = (wxBitmapComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BitmapComboBox" );
8182
8183     WXSTRING_INPUT( item, wxString, ST(1) );
8184
8185         if (items < 3)
8186             bitmap = wxNullBitmapPtr;
8187         else {
8188     bitmap = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Bitmap" );
8189         }
8190     THIS->Append( item, *( bitmap ) );
8191     }
8192     XSRETURN_EMPTY;
8193 }
8194
8195
8196 XS(XS_Wx__BitmapComboBox_AppendData); /* prototype to pass -Wmissing-prototypes */
8197 XS(XS_Wx__BitmapComboBox_AppendData)
8198 {
8199 #ifdef dVAR
8200     dVAR; dXSARGS;
8201 #else
8202     dXSARGS;
8203 #endif
8204     if (items != 4)
8205        croak_xs_usage(cv,  "THIS, item, bitmap, data");
8206     {
8207         wxString        item;
8208         wxBitmap*    bitmap = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Bitmap" );
8209         wxPliUserDataCD*        data;
8210         wxBitmapComboBox *    THIS = (wxBitmapComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BitmapComboBox" );
8211
8212     WXSTRING_INPUT( item, wxString, ST(1) );
8213
8214     if( SvOK( ST(3) ) )
8215     {
8216         data = new wxPliUserDataCD( ST(3) );
8217     }
8218     else
8219         data = 0;
8220     THIS->Append( item, *( bitmap ), data );
8221     }
8222     XSRETURN_EMPTY;
8223 }
8224
8225
8226 XS(XS_Wx__BitmapComboBox_Insert); /* prototype to pass -Wmissing-prototypes */
8227 XS(XS_Wx__BitmapComboBox_Insert)
8228 {
8229 #ifdef dVAR
8230     dVAR; dXSARGS;
8231 #else
8232     dXSARGS;
8233 #endif
8234     if (items < 1)
8235        croak_xs_usage(cv,  "THIS, ...");
8236     PERL_UNUSED_VAR(ax); /* -Wall */
8237     SP -= items;
8238     {
8239         wxBitmapComboBox *    THIS = (wxBitmapComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BitmapComboBox" );
8240     BEGIN_OVERLOAD()
8241         MATCH_REDISP( wxPliOvl_s_wbmp_n_s, InsertData )
8242         MATCH_REDISP( wxPliOvl_s_wbmp_n, InsertString )
8243     END_OVERLOAD( Wx::BitmapComboBox::Insert )
8244         PUTBACK;
8245         return;
8246     }
8247 }
8248
8249
8250 XS(XS_Wx__BitmapComboBox_InsertString); /* prototype to pass -Wmissing-prototypes */
8251 XS(XS_Wx__BitmapComboBox_InsertString)
8252 {
8253 #ifdef dVAR
8254     dVAR; dXSARGS;
8255 #else
8256     dXSARGS;
8257 #endif
8258     if (items != 4)
8259        croak_xs_usage(cv,  "THIS, item, bitmap, pos");
8260     {
8261         wxString        item;
8262         wxBitmap*    bitmap = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Bitmap" );
8263         unsigned int    pos = (unsigned int)SvUV( ST(3) );
8264         wxBitmapComboBox *    THIS = (wxBitmapComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BitmapComboBox" );
8265
8266     WXSTRING_INPUT( item, wxString, ST(1) );
8267     THIS->Insert( item, *( bitmap ), pos );
8268     }
8269     XSRETURN_EMPTY;
8270 }
8271
8272
8273 XS(XS_Wx__BitmapComboBox_InsertData); /* prototype to pass -Wmissing-prototypes */
8274 XS(XS_Wx__BitmapComboBox_InsertData)
8275 {
8276 #ifdef dVAR
8277     dVAR; dXSARGS;
8278 #else
8279     dXSARGS;
8280 #endif
8281     if (items != 5)
8282        croak_xs_usage(cv,  "THIS, item, bitmap, pos, data");
8283     {
8284         wxString        item;
8285         wxBitmap*    bitmap = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Bitmap" );
8286         unsigned int    pos = (unsigned int)SvUV( ST(3) );
8287         wxPliUserDataCD*        data;
8288         wxBitmapComboBox *    THIS = (wxBitmapComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BitmapComboBox" );
8289
8290     WXSTRING_INPUT( item, wxString, ST(1) );
8291
8292     if( SvOK( ST(4) ) )
8293     {
8294         data = new wxPliUserDataCD( ST(4) );
8295     }
8296     else
8297         data = 0;
8298     THIS->Insert( item, *( bitmap ), pos, data );
8299     }
8300     XSRETURN_EMPTY;
8301 }
8302
8303
8304 XS(XS_Wx__BitmapComboBox_GetItemBitmap); /* prototype to pass -Wmissing-prototypes */
8305 XS(XS_Wx__BitmapComboBox_GetItemBitmap)
8306 {
8307 #ifdef dVAR
8308     dVAR; dXSARGS;
8309 #else
8310     dXSARGS;
8311 #endif
8312     if (items != 2)
8313        croak_xs_usage(cv,  "THIS, n");
8314     {
8315         unsigned int    n = (unsigned int)SvUV( ST(1) );
8316         wxBitmapComboBox *    THIS = (wxBitmapComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BitmapComboBox" );
8317         wxBitmap *      RETVAL;
8318     RETVAL = new wxBitmap( THIS->GetItemBitmap( n ) );
8319         ST(0) = sv_newmortal();
8320     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
8321     wxPli_thread_sv_register( aTHX_ "Wx::Bitmap", RETVAL, ST(0) );
8322
8323     }
8324     XSRETURN(1);
8325 }
8326
8327
8328 XS(XS_Wx__BitmapComboBox_SetItemBitmap); /* prototype to pass -Wmissing-prototypes */
8329 XS(XS_Wx__BitmapComboBox_SetItemBitmap)
8330 {
8331 #ifdef dVAR
8332     dVAR; dXSARGS;
8333 #else
8334     dXSARGS;
8335 #endif
8336     if (items != 3)
8337        croak_xs_usage(cv,  "THIS, n, bitmap");
8338     {
8339         unsigned int    n = (unsigned int)SvUV( ST(1) );
8340         wxBitmap*    bitmap = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Bitmap" );
8341         wxBitmapComboBox *    THIS = (wxBitmapComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BitmapComboBox" );
8342     THIS->SetItemBitmap( n, *( bitmap ) );
8343     }
8344     XSRETURN_EMPTY;
8345 }
8346
8347
8348 XS(XS_Wx__BitmapComboBox_GetBitmapSize); /* prototype to pass -Wmissing-prototypes */
8349 XS(XS_Wx__BitmapComboBox_GetBitmapSize)
8350 {
8351 #ifdef dVAR
8352     dVAR; dXSARGS;
8353 #else
8354     dXSARGS;
8355 #endif
8356     if (items != 1)
8357        croak_xs_usage(cv,  "THIS");
8358     {
8359         wxBitmapComboBox *    THIS = (wxBitmapComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BitmapComboBox" );
8360         wxSize  RETVAL;
8361
8362         RETVAL = THIS->GetBitmapSize();
8363         ST(0) = sv_newmortal();
8364     wxPli_non_object_2_sv( aTHX_ ST(0), new wxSize(RETVAL), "Wx::Size" );
8365
8366     }
8367     XSRETURN(1);
8368 }
8369
8370 #endif
8371
8372 /* INCLUDE: Returning to 'Controls.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/BitmapComboBox.xsp |' */
8373
8374
8375 /* INCLUDE:  Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/DirCtrl.xsp |' from 'Controls.xs' */
8376
8377 #include <wx/dirctrl.h>
8378 #define wxPLI_DEFAULT_DIRCTRL_STYLE wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER
8379
8380 XS(XS_Wx__GenericDirCtrl_new); /* prototype to pass -Wmissing-prototypes */
8381 XS(XS_Wx__GenericDirCtrl_new)
8382 {
8383 #ifdef dVAR
8384     dVAR; dXSARGS;
8385 #else
8386     dXSARGS;
8387 #endif
8388     PERL_UNUSED_VAR(cv); /* -W */
8389     PERL_UNUSED_VAR(ax); /* -Wall */
8390     SP -= items;
8391     {
8392     BEGIN_OVERLOAD()
8393         MATCH_VOIDM_REDISP( newDefault )
8394         MATCH_ANY_REDISP( newFull )
8395     END_OVERLOAD( "Wx::GenericDirCtrl::new" )
8396         PUTBACK;
8397         return;
8398     }
8399 }
8400
8401
8402 XS(XS_Wx__GenericDirCtrl_newDefault); /* prototype to pass -Wmissing-prototypes */
8403 XS(XS_Wx__GenericDirCtrl_newDefault)
8404 {
8405 #ifdef dVAR
8406     dVAR; dXSARGS;
8407 #else
8408     dXSARGS;
8409 #endif
8410     if (items != 1)
8411        croak_xs_usage(cv,  "CLASS");
8412     {
8413         char *  CLASS = (char *)SvPV_nolen(ST(0));
8414         wxGenericDirCtrl *      RETVAL;
8415      RETVAL = new wxGenericDirCtrl();
8416                 wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
8417
8418         ST(0) = sv_newmortal();
8419     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
8420
8421     }
8422     XSRETURN(1);
8423 }
8424
8425
8426 XS(XS_Wx__GenericDirCtrl_newFull); /* prototype to pass -Wmissing-prototypes */
8427 XS(XS_Wx__GenericDirCtrl_newFull)
8428 {
8429 #ifdef dVAR
8430     dVAR; dXSARGS;
8431 #else
8432     dXSARGS;
8433 #endif
8434     if (items < 2 || items > 10)
8435        croak_xs_usage(cv,  "CLASS, parent, id = wxID_ANY, dir = wxDirDialogDefaultFolderStr, pos = wxDefaultPosition, size = wxDefaultSize, style = wxPLI_DEFAULT_DIRCTRL_STYLE, filter = wxEmptyString, defaultFilter = 0, name = wxTreeCtrlNameStr");
8436     {
8437         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
8438         wxWindowID      id;
8439         wxString        dir;
8440         wxPoint pos;
8441         wxSize  size;
8442         long    style;
8443         wxString        filter;
8444         int     defaultFilter;
8445         wxString        name;
8446         char *  CLASS = (char *)SvPV_nolen(ST(0));
8447         wxGenericDirCtrl *      RETVAL;
8448
8449         if (items < 3)
8450             id = wxID_ANY;
8451         else {
8452     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
8453         }
8454
8455         if (items < 4)
8456             dir = wxDirDialogDefaultFolderStr;
8457         else {
8458     WXSTRING_INPUT( dir, wxString, ST(3) );
8459         }
8460
8461         if (items < 5)
8462             pos = wxDefaultPosition;
8463         else {
8464     pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
8465         }
8466
8467         if (items < 6)
8468             size = wxDefaultSize;
8469         else {
8470     size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
8471         }
8472
8473         if (items < 7)
8474             style = wxPLI_DEFAULT_DIRCTRL_STYLE;
8475         else {
8476             style = (long)SvIV(ST(6));
8477         }
8478
8479         if (items < 8)
8480             filter = wxEmptyString;
8481         else {
8482     WXSTRING_INPUT( filter, wxString, ST(7) );
8483         }
8484
8485         if (items < 9)
8486             defaultFilter = 0;
8487         else {
8488             defaultFilter = (int)SvIV(ST(8));
8489         }
8490
8491         if (items < 10)
8492             name = wxTreeCtrlNameStr;
8493         else {
8494     WXSTRING_INPUT( name, wxString, ST(9) );
8495         }
8496      RETVAL = new wxGenericDirCtrl( parent, id, dir, pos, size,
8497                                                style, filter, defaultFilter,
8498                                                name );
8499                 wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
8500
8501         ST(0) = sv_newmortal();
8502     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
8503
8504     }
8505     XSRETURN(1);
8506 }
8507
8508
8509 XS(XS_Wx__GenericDirCtrl_Create); /* prototype to pass -Wmissing-prototypes */
8510 XS(XS_Wx__GenericDirCtrl_Create)
8511 {
8512 #ifdef dVAR
8513     dVAR; dXSARGS;
8514 #else
8515     dXSARGS;
8516 #endif
8517     if (items < 2 || items > 10)
8518        croak_xs_usage(cv,  "THIS, parent, id = wxID_ANY, dir = wxDirDialogDefaultFolderStr, pos = wxDefaultPosition, size = wxDefaultSize, style = wxPLI_DEFAULT_DIRCTRL_STYLE, filter = wxEmptyString, defaultFilter = 0, name = wxTreeCtrlNameStr");
8519     {
8520         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
8521         wxWindowID      id;
8522         wxString        dir;
8523         wxPoint pos;
8524         wxSize  size;
8525         long    style;
8526         wxString        filter;
8527         int     defaultFilter;
8528         wxString        name;
8529         wxGenericDirCtrl *    THIS = (wxGenericDirCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GenericDirCtrl" );
8530         bool    RETVAL;
8531
8532         if (items < 3)
8533             id = wxID_ANY;
8534         else {
8535     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
8536         }
8537
8538         if (items < 4)
8539             dir = wxDirDialogDefaultFolderStr;
8540         else {
8541     WXSTRING_INPUT( dir, wxString, ST(3) );
8542         }
8543
8544         if (items < 5)
8545             pos = wxDefaultPosition;
8546         else {
8547     pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
8548         }
8549
8550         if (items < 6)
8551             size = wxDefaultSize;
8552         else {
8553     size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
8554         }
8555
8556         if (items < 7)
8557             style = wxPLI_DEFAULT_DIRCTRL_STYLE;
8558         else {
8559             style = (long)SvIV(ST(6));
8560         }
8561
8562         if (items < 8)
8563             filter = wxEmptyString;
8564         else {
8565     WXSTRING_INPUT( filter, wxString, ST(7) );
8566         }
8567
8568         if (items < 9)
8569             defaultFilter = 0;
8570         else {
8571             defaultFilter = (int)SvIV(ST(8));
8572         }
8573
8574         if (items < 10)
8575             name = wxTreeCtrlNameStr;
8576         else {
8577     WXSTRING_INPUT( name, wxString, ST(9) );
8578         }
8579
8580         RETVAL = THIS->Create(parent, id, dir, pos, size, style, filter, defaultFilter, name);
8581         ST(0) = boolSV(RETVAL);
8582         sv_2mortal(ST(0));
8583     }
8584     XSRETURN(1);
8585 }
8586
8587
8588 XS(XS_Wx__GenericDirCtrl_ExpandPath); /* prototype to pass -Wmissing-prototypes */
8589 XS(XS_Wx__GenericDirCtrl_ExpandPath)
8590 {
8591 #ifdef dVAR
8592     dVAR; dXSARGS;
8593 #else
8594     dXSARGS;
8595 #endif
8596     if (items != 2)
8597        croak_xs_usage(cv,  "THIS, path");
8598     {
8599         wxString        path;
8600         wxGenericDirCtrl *    THIS = (wxGenericDirCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GenericDirCtrl" );
8601         bool    RETVAL;
8602
8603     WXSTRING_INPUT( path, wxString, ST(1) );
8604
8605         RETVAL = THIS->ExpandPath(path);
8606         ST(0) = boolSV(RETVAL);
8607         sv_2mortal(ST(0));
8608     }
8609     XSRETURN(1);
8610 }
8611
8612 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
8613 #define XSubPPtmpAABL 1
8614
8615
8616 XS(XS_Wx__GenericDirCtrl_CollapsePath); /* prototype to pass -Wmissing-prototypes */
8617 XS(XS_Wx__GenericDirCtrl_CollapsePath)
8618 {
8619 #ifdef dVAR
8620     dVAR; dXSARGS;
8621 #else
8622     dXSARGS;
8623 #endif
8624     if (items != 2)
8625        croak_xs_usage(cv,  "THIS, path");
8626     {
8627         wxString        path;
8628         wxGenericDirCtrl *    THIS = (wxGenericDirCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GenericDirCtrl" );
8629         bool    RETVAL;
8630
8631     WXSTRING_INPUT( path, wxString, ST(1) );
8632
8633         RETVAL = THIS->CollapsePath(path);
8634         ST(0) = boolSV(RETVAL);
8635         sv_2mortal(ST(0));
8636     }
8637     XSRETURN(1);
8638 }
8639
8640 #endif
8641
8642 XS(XS_Wx__GenericDirCtrl_GetDefaultPath); /* prototype to pass -Wmissing-prototypes */
8643 XS(XS_Wx__GenericDirCtrl_GetDefaultPath)
8644 {
8645 #ifdef dVAR
8646     dVAR; dXSARGS;
8647 #else
8648     dXSARGS;
8649 #endif
8650     if (items != 1)
8651        croak_xs_usage(cv,  "THIS");
8652     {
8653         wxGenericDirCtrl *    THIS = (wxGenericDirCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GenericDirCtrl" );
8654         wxString        RETVAL;
8655
8656         RETVAL = THIS->GetDefaultPath();
8657         ST(0) = sv_newmortal();
8658     WXSTRING_OUTPUT( RETVAL, ST(0) );
8659
8660     }
8661     XSRETURN(1);
8662 }
8663
8664
8665 XS(XS_Wx__GenericDirCtrl_SetDefaultPath); /* prototype to pass -Wmissing-prototypes */
8666 XS(XS_Wx__GenericDirCtrl_SetDefaultPath)
8667 {
8668 #ifdef dVAR
8669     dVAR; dXSARGS;
8670 #else
8671     dXSARGS;
8672 #endif
8673     if (items != 2)
8674        croak_xs_usage(cv,  "THIS, path");
8675     {
8676         wxString        path;
8677         wxGenericDirCtrl *    THIS = (wxGenericDirCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GenericDirCtrl" );
8678
8679     WXSTRING_INPUT( path, wxString, ST(1) );
8680
8681         THIS->SetDefaultPath(path);
8682     }
8683     XSRETURN_EMPTY;
8684 }
8685
8686
8687 XS(XS_Wx__GenericDirCtrl_GetPath); /* prototype to pass -Wmissing-prototypes */
8688 XS(XS_Wx__GenericDirCtrl_GetPath)
8689 {
8690 #ifdef dVAR
8691     dVAR; dXSARGS;
8692 #else
8693     dXSARGS;
8694 #endif
8695     if (items != 1)
8696        croak_xs_usage(cv,  "THIS");
8697     {
8698         wxGenericDirCtrl *    THIS = (wxGenericDirCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GenericDirCtrl" );
8699         wxString        RETVAL;
8700
8701         RETVAL = THIS->GetPath();
8702         ST(0) = sv_newmortal();
8703     WXSTRING_OUTPUT( RETVAL, ST(0) );
8704
8705     }
8706     XSRETURN(1);
8707 }
8708
8709
8710 XS(XS_Wx__GenericDirCtrl_GetFilePath); /* prototype to pass -Wmissing-prototypes */
8711 XS(XS_Wx__GenericDirCtrl_GetFilePath)
8712 {
8713 #ifdef dVAR
8714     dVAR; dXSARGS;
8715 #else
8716     dXSARGS;
8717 #endif
8718     if (items != 1)
8719        croak_xs_usage(cv,  "THIS");
8720     {
8721         wxGenericDirCtrl *    THIS = (wxGenericDirCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GenericDirCtrl" );
8722         wxString        RETVAL;
8723
8724         RETVAL = THIS->GetFilePath();
8725         ST(0) = sv_newmortal();
8726     WXSTRING_OUTPUT( RETVAL, ST(0) );
8727
8728     }
8729     XSRETURN(1);
8730 }
8731
8732
8733 XS(XS_Wx__GenericDirCtrl_SetPath); /* prototype to pass -Wmissing-prototypes */
8734 XS(XS_Wx__GenericDirCtrl_SetPath)
8735 {
8736 #ifdef dVAR
8737     dVAR; dXSARGS;
8738 #else
8739     dXSARGS;
8740 #endif
8741     if (items != 2)
8742        croak_xs_usage(cv,  "THIS, path");
8743     {
8744         wxString        path;
8745         wxGenericDirCtrl *    THIS = (wxGenericDirCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GenericDirCtrl" );
8746
8747     WXSTRING_INPUT( path, wxString, ST(1) );
8748
8749         THIS->SetPath(path);
8750     }
8751     XSRETURN_EMPTY;
8752 }
8753
8754
8755 XS(XS_Wx__GenericDirCtrl_ShowHidden); /* prototype to pass -Wmissing-prototypes */
8756 XS(XS_Wx__GenericDirCtrl_ShowHidden)
8757 {
8758 #ifdef dVAR
8759     dVAR; dXSARGS;
8760 #else
8761     dXSARGS;
8762 #endif
8763     if (items != 2)
8764        croak_xs_usage(cv,  "THIS, show");
8765     {
8766         bool    show = (bool)SvTRUE(ST(1));
8767         wxGenericDirCtrl *    THIS = (wxGenericDirCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GenericDirCtrl" );
8768
8769         THIS->ShowHidden(show);
8770     }
8771     XSRETURN_EMPTY;
8772 }
8773
8774
8775 XS(XS_Wx__GenericDirCtrl_GetShowHidden); /* prototype to pass -Wmissing-prototypes */
8776 XS(XS_Wx__GenericDirCtrl_GetShowHidden)
8777 {
8778 #ifdef dVAR
8779     dVAR; dXSARGS;
8780 #else
8781     dXSARGS;
8782 #endif
8783     if (items != 1)
8784        croak_xs_usage(cv,  "THIS");
8785     {
8786         wxGenericDirCtrl *    THIS = (wxGenericDirCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GenericDirCtrl" );
8787         bool    RETVAL;
8788
8789         RETVAL = THIS->GetShowHidden();
8790         ST(0) = boolSV(RETVAL);
8791         sv_2mortal(ST(0));
8792     }
8793     XSRETURN(1);
8794 }
8795
8796
8797 XS(XS_Wx__GenericDirCtrl_GetFilter); /* prototype to pass -Wmissing-prototypes */
8798 XS(XS_Wx__GenericDirCtrl_GetFilter)
8799 {
8800 #ifdef dVAR
8801     dVAR; dXSARGS;
8802 #else
8803     dXSARGS;
8804 #endif
8805     if (items != 1)
8806        croak_xs_usage(cv,  "THIS");
8807     {
8808         wxGenericDirCtrl *    THIS = (wxGenericDirCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GenericDirCtrl" );
8809         wxString        RETVAL;
8810
8811         RETVAL = THIS->GetFilter();
8812         ST(0) = sv_newmortal();
8813     WXSTRING_OUTPUT( RETVAL, ST(0) );
8814
8815     }
8816     XSRETURN(1);
8817 }
8818
8819
8820 XS(XS_Wx__GenericDirCtrl_SetFilter); /* prototype to pass -Wmissing-prototypes */
8821 XS(XS_Wx__GenericDirCtrl_SetFilter)
8822 {
8823 #ifdef dVAR
8824     dVAR; dXSARGS;
8825 #else
8826     dXSARGS;
8827 #endif
8828     if (items != 2)
8829        croak_xs_usage(cv,  "THIS, filter");
8830     {
8831         wxString        filter;
8832         wxGenericDirCtrl *    THIS = (wxGenericDirCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GenericDirCtrl" );
8833
8834     WXSTRING_INPUT( filter, wxString, ST(1) );
8835
8836         THIS->SetFilter(filter);
8837     }
8838     XSRETURN_EMPTY;
8839 }
8840
8841
8842 XS(XS_Wx__GenericDirCtrl_GetFilterIndex); /* prototype to pass -Wmissing-prototypes */
8843 XS(XS_Wx__GenericDirCtrl_GetFilterIndex)
8844 {
8845 #ifdef dVAR
8846     dVAR; dXSARGS;
8847 #else
8848     dXSARGS;
8849 #endif
8850     if (items != 1)
8851        croak_xs_usage(cv,  "THIS");
8852     {
8853         wxGenericDirCtrl *    THIS = (wxGenericDirCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GenericDirCtrl" );
8854         int     RETVAL;
8855         dXSTARG;
8856
8857         RETVAL = THIS->GetFilterIndex();
8858         XSprePUSH; PUSHi((IV)RETVAL);
8859     }
8860     XSRETURN(1);
8861 }
8862
8863
8864 XS(XS_Wx__GenericDirCtrl_SetFilterIndex); /* prototype to pass -Wmissing-prototypes */
8865 XS(XS_Wx__GenericDirCtrl_SetFilterIndex)
8866 {
8867 #ifdef dVAR
8868     dVAR; dXSARGS;
8869 #else
8870     dXSARGS;
8871 #endif
8872     if (items != 2)
8873        croak_xs_usage(cv,  "THIS, n");
8874     {
8875         int     n = (int)SvIV(ST(1));
8876         wxGenericDirCtrl *    THIS = (wxGenericDirCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GenericDirCtrl" );
8877
8878         THIS->SetFilterIndex(n);
8879     }
8880     XSRETURN_EMPTY;
8881 }
8882
8883
8884 XS(XS_Wx__GenericDirCtrl_GetRootId); /* prototype to pass -Wmissing-prototypes */
8885 XS(XS_Wx__GenericDirCtrl_GetRootId)
8886 {
8887 #ifdef dVAR
8888     dVAR; dXSARGS;
8889 #else
8890     dXSARGS;
8891 #endif
8892     if (items != 1)
8893        croak_xs_usage(cv,  "THIS");
8894     {
8895         wxGenericDirCtrl *    THIS = (wxGenericDirCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GenericDirCtrl" );
8896         wxTreeItemId *  RETVAL;
8897     RETVAL = new wxTreeItemId( THIS->GetRootId() );
8898         ST(0) = sv_newmortal();
8899     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TreeItemId" );
8900     wxPli_thread_sv_register( aTHX_ "Wx::TreeItemId", RETVAL, ST(0) );
8901
8902     }
8903     XSRETURN(1);
8904 }
8905
8906
8907 XS(XS_Wx__GenericDirCtrl_GetTreeCtrl); /* prototype to pass -Wmissing-prototypes */
8908 XS(XS_Wx__GenericDirCtrl_GetTreeCtrl)
8909 {
8910 #ifdef dVAR
8911     dVAR; dXSARGS;
8912 #else
8913     dXSARGS;
8914 #endif
8915     if (items != 1)
8916        croak_xs_usage(cv,  "THIS");
8917     {
8918         wxGenericDirCtrl *    THIS = (wxGenericDirCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GenericDirCtrl" );
8919         wxTreeCtrl *    RETVAL;
8920
8921         RETVAL = THIS->GetTreeCtrl();
8922         ST(0) = sv_newmortal();
8923     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
8924
8925     }
8926     XSRETURN(1);
8927 }
8928
8929
8930 XS(XS_Wx__GenericDirCtrl_GetFilterListCtrl); /* prototype to pass -Wmissing-prototypes */
8931 XS(XS_Wx__GenericDirCtrl_GetFilterListCtrl)
8932 {
8933 #ifdef dVAR
8934     dVAR; dXSARGS;
8935 #else
8936     dXSARGS;
8937 #endif
8938     if (items != 1)
8939        croak_xs_usage(cv,  "THIS");
8940     {
8941         wxGenericDirCtrl *    THIS = (wxGenericDirCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GenericDirCtrl" );
8942         wxDirFilterListCtrl *   RETVAL;
8943
8944         RETVAL = THIS->GetFilterListCtrl();
8945         ST(0) = sv_newmortal();
8946     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
8947
8948     }
8949     XSRETURN(1);
8950 }
8951
8952
8953 XS(XS_Wx__GenericDirCtrl_ReCreateTree); /* prototype to pass -Wmissing-prototypes */
8954 XS(XS_Wx__GenericDirCtrl_ReCreateTree)
8955 {
8956 #ifdef dVAR
8957     dVAR; dXSARGS;
8958 #else
8959     dXSARGS;
8960 #endif
8961     if (items != 1)
8962        croak_xs_usage(cv,  "THIS");
8963     {
8964         wxGenericDirCtrl *    THIS = (wxGenericDirCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GenericDirCtrl" );
8965
8966         THIS->ReCreateTree();
8967     }
8968     XSRETURN_EMPTY;
8969 }
8970
8971 #if WXPERL_W_VERSION_GE( 2, 6, 0 )
8972 #define XSubPPtmpAABM 1
8973
8974
8975 XS(XS_Wx__GenericDirCtrl_CollapseTree); /* prototype to pass -Wmissing-prototypes */
8976 XS(XS_Wx__GenericDirCtrl_CollapseTree)
8977 {
8978 #ifdef dVAR
8979     dVAR; dXSARGS;
8980 #else
8981     dXSARGS;
8982 #endif
8983     if (items != 1)
8984        croak_xs_usage(cv,  "THIS");
8985     {
8986         wxGenericDirCtrl *    THIS = (wxGenericDirCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GenericDirCtrl" );
8987
8988         THIS->CollapseTree();
8989     }
8990     XSRETURN_EMPTY;
8991 }
8992
8993 #endif
8994
8995 /* INCLUDE: Returning to 'Controls.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/DirCtrl.xsp |' */
8996
8997
8998 /* INCLUDE:  Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/FileCtrl.xsp |' from 'Controls.xs' */
8999
9000 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
9001 #include <wx/filectrl.h>
9002 #define XSubPPtmpAABN 1
9003
9004
9005 XS(XS_Wx__FileCtrl_new); /* prototype to pass -Wmissing-prototypes */
9006 XS(XS_Wx__FileCtrl_new)
9007 {
9008 #ifdef dVAR
9009     dVAR; dXSARGS;
9010 #else
9011     dXSARGS;
9012 #endif
9013     PERL_UNUSED_VAR(cv); /* -W */
9014     PERL_UNUSED_VAR(ax); /* -Wall */
9015     SP -= items;
9016     {
9017     BEGIN_OVERLOAD()
9018         MATCH_VOIDM_REDISP( newDefault )
9019         MATCH_ANY_REDISP( newFull )
9020     END_OVERLOAD( "Wx::FileCtrl::new" )
9021         PUTBACK;
9022         return;
9023     }
9024 }
9025
9026
9027 XS(XS_Wx__FileCtrl_newDefault); /* prototype to pass -Wmissing-prototypes */
9028 XS(XS_Wx__FileCtrl_newDefault)
9029 {
9030 #ifdef dVAR
9031     dVAR; dXSARGS;
9032 #else
9033     dXSARGS;
9034 #endif
9035     if (items != 1)
9036        croak_xs_usage(cv,  "CLASS");
9037     {
9038         char *  CLASS = (char *)SvPV_nolen(ST(0));
9039         wxFileCtrl *    RETVAL;
9040      RETVAL = new wxFileCtrl();
9041                 wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
9042
9043         ST(0) = sv_newmortal();
9044     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
9045
9046     }
9047     XSRETURN(1);
9048 }
9049
9050
9051 XS(XS_Wx__FileCtrl_newFull); /* prototype to pass -Wmissing-prototypes */
9052 XS(XS_Wx__FileCtrl_newFull)
9053 {
9054 #ifdef dVAR
9055     dVAR; dXSARGS;
9056 #else
9057     dXSARGS;
9058 #endif
9059     if (items < 2 || items > 10)
9060        croak_xs_usage(cv,  "CLASS, parent, id = wxID_ANY, defaultDirectory = wxEmptyString, defaultFilename = wxEmptyString, wildCard = wxFileSelectorDefaultWildcardStr, style = wxFC_DEFAULT_STYLE, pos = wxDefaultPosition, size = wxDefaultSize, name = wxFileCtrlNameStr");
9061     {
9062         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
9063         wxWindowID      id;
9064         wxString        defaultDirectory;
9065         wxString        defaultFilename;
9066         wxString        wildCard;
9067         long    style;
9068         wxPoint pos;
9069         wxSize  size;
9070         wxString        name;
9071         char *  CLASS = (char *)SvPV_nolen(ST(0));
9072         wxFileCtrl *    RETVAL;
9073
9074         if (items < 3)
9075             id = wxID_ANY;
9076         else {
9077     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
9078         }
9079
9080         if (items < 4)
9081             defaultDirectory = wxEmptyString;
9082         else {
9083     WXSTRING_INPUT( defaultDirectory, wxString, ST(3) );
9084         }
9085
9086         if (items < 5)
9087             defaultFilename = wxEmptyString;
9088         else {
9089     WXSTRING_INPUT( defaultFilename, wxString, ST(4) );
9090         }
9091
9092         if (items < 6)
9093             wildCard = wxFileSelectorDefaultWildcardStr;
9094         else {
9095     WXSTRING_INPUT( wildCard, wxString, ST(5) );
9096         }
9097
9098         if (items < 7)
9099             style = wxFC_DEFAULT_STYLE;
9100         else {
9101             style = (long)SvIV(ST(6));
9102         }
9103
9104         if (items < 8)
9105             pos = wxDefaultPosition;
9106         else {
9107     pos = wxPli_sv_2_wxpoint( aTHX_ ST(7) );
9108         }
9109
9110         if (items < 9)
9111             size = wxDefaultSize;
9112         else {
9113     size = wxPli_sv_2_wxsize( aTHX_ ST(8) );
9114         }
9115
9116         if (items < 10)
9117             name = wxFileCtrlNameStr;
9118         else {
9119     WXSTRING_INPUT( name, wxString, ST(9) );
9120         }
9121      RETVAL = new wxFileCtrl( parent, id, defaultDirectory,
9122                                          defaultFilename, wildCard, style,
9123                                          pos, size, name );
9124                 wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
9125
9126         ST(0) = sv_newmortal();
9127     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
9128
9129     }
9130     XSRETURN(1);
9131 }
9132
9133
9134 XS(XS_Wx__FileCtrl_Create); /* prototype to pass -Wmissing-prototypes */
9135 XS(XS_Wx__FileCtrl_Create)
9136 {
9137 #ifdef dVAR
9138     dVAR; dXSARGS;
9139 #else
9140     dXSARGS;
9141 #endif
9142     if (items < 2 || items > 10)
9143        croak_xs_usage(cv,  "THIS, parent, id = wxID_ANY, defaultDirectory = wxEmptyString, defaultFilename = wxEmptyString, wildCard = wxFileSelectorDefaultWildcardStr, style = wxFC_DEFAULT_STYLE, pos = wxDefaultPosition, size = wxDefaultSize, name = wxFileCtrlNameStr");
9144     {
9145         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
9146         wxWindowID      id;
9147         wxString        defaultDirectory;
9148         wxString        defaultFilename;
9149         wxString        wildCard;
9150         long    style;
9151         wxPoint pos;
9152         wxSize  size;
9153         wxString        name;
9154         wxFileCtrl *    THIS = (wxFileCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileCtrl" );
9155         bool    RETVAL;
9156
9157         if (items < 3)
9158             id = wxID_ANY;
9159         else {
9160     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
9161         }
9162
9163         if (items < 4)
9164             defaultDirectory = wxEmptyString;
9165         else {
9166     WXSTRING_INPUT( defaultDirectory, wxString, ST(3) );
9167         }
9168
9169         if (items < 5)
9170             defaultFilename = wxEmptyString;
9171         else {
9172     WXSTRING_INPUT( defaultFilename, wxString, ST(4) );
9173         }
9174
9175         if (items < 6)
9176             wildCard = wxFileSelectorDefaultWildcardStr;
9177         else {
9178     WXSTRING_INPUT( wildCard, wxString, ST(5) );
9179         }
9180
9181         if (items < 7)
9182             style = wxFC_DEFAULT_STYLE;
9183         else {
9184             style = (long)SvIV(ST(6));
9185         }
9186
9187         if (items < 8)
9188             pos = wxDefaultPosition;
9189         else {
9190     pos = wxPli_sv_2_wxpoint( aTHX_ ST(7) );
9191         }
9192
9193         if (items < 9)
9194             size = wxDefaultSize;
9195         else {
9196     size = wxPli_sv_2_wxsize( aTHX_ ST(8) );
9197         }
9198
9199         if (items < 10)
9200             name = wxFileCtrlNameStr;
9201         else {
9202     WXSTRING_INPUT( name, wxString, ST(9) );
9203         }
9204
9205         RETVAL = THIS->Create(parent, id, defaultDirectory, defaultFilename, wildCard, style, pos, size, name);
9206         ST(0) = boolSV(RETVAL);
9207         sv_2mortal(ST(0));
9208     }
9209     XSRETURN(1);
9210 }
9211
9212
9213 XS(XS_Wx__FileCtrl_SetWildcard); /* prototype to pass -Wmissing-prototypes */
9214 XS(XS_Wx__FileCtrl_SetWildcard)
9215 {
9216 #ifdef dVAR
9217     dVAR; dXSARGS;
9218 #else
9219     dXSARGS;
9220 #endif
9221     if (items != 2)
9222        croak_xs_usage(cv,  "THIS, wildCard");
9223     {
9224         wxString        wildCard;
9225         wxFileCtrl *    THIS = (wxFileCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileCtrl" );
9226
9227     WXSTRING_INPUT( wildCard, wxString, ST(1) );
9228
9229         THIS->SetWildcard(wildCard);
9230     }
9231     XSRETURN_EMPTY;
9232 }
9233
9234
9235 XS(XS_Wx__FileCtrl_SetFilterIndex); /* prototype to pass -Wmissing-prototypes */
9236 XS(XS_Wx__FileCtrl_SetFilterIndex)
9237 {
9238 #ifdef dVAR
9239     dVAR; dXSARGS;
9240 #else
9241     dXSARGS;
9242 #endif
9243     if (items != 2)
9244        croak_xs_usage(cv,  "THIS, filterindex");
9245     {
9246         int     filterindex = (int)SvIV(ST(1));
9247         wxFileCtrl *    THIS = (wxFileCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileCtrl" );
9248
9249         THIS->SetFilterIndex(filterindex);
9250     }
9251     XSRETURN_EMPTY;
9252 }
9253
9254
9255 XS(XS_Wx__FileCtrl_SetDirectory); /* prototype to pass -Wmissing-prototypes */
9256 XS(XS_Wx__FileCtrl_SetDirectory)
9257 {
9258 #ifdef dVAR
9259     dVAR; dXSARGS;
9260 #else
9261     dXSARGS;
9262 #endif
9263     if (items != 2)
9264        croak_xs_usage(cv,  "THIS, dir");
9265     {
9266         wxString        dir;
9267         wxFileCtrl *    THIS = (wxFileCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileCtrl" );
9268         bool    RETVAL;
9269
9270     WXSTRING_INPUT( dir, wxString, ST(1) );
9271
9272         RETVAL = THIS->SetDirectory(dir);
9273         ST(0) = boolSV(RETVAL);
9274         sv_2mortal(ST(0));
9275     }
9276     XSRETURN(1);
9277 }
9278
9279
9280 XS(XS_Wx__FileCtrl_SetFilename); /* prototype to pass -Wmissing-prototypes */
9281 XS(XS_Wx__FileCtrl_SetFilename)
9282 {
9283 #ifdef dVAR
9284     dVAR; dXSARGS;
9285 #else
9286     dXSARGS;
9287 #endif
9288     if (items != 2)
9289        croak_xs_usage(cv,  "THIS, name");
9290     {
9291         wxString        name;
9292         wxFileCtrl *    THIS = (wxFileCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileCtrl" );
9293         bool    RETVAL;
9294
9295     WXSTRING_INPUT( name, wxString, ST(1) );
9296
9297         RETVAL = THIS->SetFilename(name);
9298         ST(0) = boolSV(RETVAL);
9299         sv_2mortal(ST(0));
9300     }
9301     XSRETURN(1);
9302 }
9303
9304
9305 XS(XS_Wx__FileCtrl_SetPath); /* prototype to pass -Wmissing-prototypes */
9306 XS(XS_Wx__FileCtrl_SetPath)
9307 {
9308 #ifdef dVAR
9309     dVAR; dXSARGS;
9310 #else
9311     dXSARGS;
9312 #endif
9313     if (items != 2)
9314        croak_xs_usage(cv,  "THIS, path");
9315     {
9316         wxString        path;
9317         wxFileCtrl *    THIS = (wxFileCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileCtrl" );
9318         bool    RETVAL;
9319
9320     WXSTRING_INPUT( path, wxString, ST(1) );
9321
9322         RETVAL = THIS->SetPath(path);
9323         ST(0) = boolSV(RETVAL);
9324         sv_2mortal(ST(0));
9325     }
9326     XSRETURN(1);
9327 }
9328
9329
9330 XS(XS_Wx__FileCtrl_GetFilename); /* prototype to pass -Wmissing-prototypes */
9331 XS(XS_Wx__FileCtrl_GetFilename)
9332 {
9333 #ifdef dVAR
9334     dVAR; dXSARGS;
9335 #else
9336     dXSARGS;
9337 #endif
9338     if (items != 1)
9339        croak_xs_usage(cv,  "THIS");
9340     {
9341         wxFileCtrl *    THIS = (wxFileCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileCtrl" );
9342         wxString        RETVAL;
9343
9344         RETVAL = THIS->GetFilename();
9345         ST(0) = sv_newmortal();
9346     WXSTRING_OUTPUT( RETVAL, ST(0) );
9347
9348     }
9349     XSRETURN(1);
9350 }
9351
9352
9353 XS(XS_Wx__FileCtrl_GetDirectory); /* prototype to pass -Wmissing-prototypes */
9354 XS(XS_Wx__FileCtrl_GetDirectory)
9355 {
9356 #ifdef dVAR
9357     dVAR; dXSARGS;
9358 #else
9359     dXSARGS;
9360 #endif
9361     if (items != 1)
9362        croak_xs_usage(cv,  "THIS");
9363     {
9364         wxFileCtrl *    THIS = (wxFileCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileCtrl" );
9365         wxString        RETVAL;
9366
9367         RETVAL = THIS->GetDirectory();
9368         ST(0) = sv_newmortal();
9369     WXSTRING_OUTPUT( RETVAL, ST(0) );
9370
9371     }
9372     XSRETURN(1);
9373 }
9374
9375
9376 XS(XS_Wx__FileCtrl_GetWildcard); /* prototype to pass -Wmissing-prototypes */
9377 XS(XS_Wx__FileCtrl_GetWildcard)
9378 {
9379 #ifdef dVAR
9380     dVAR; dXSARGS;
9381 #else
9382     dXSARGS;
9383 #endif
9384     if (items != 1)
9385        croak_xs_usage(cv,  "THIS");
9386     {
9387         wxFileCtrl *    THIS = (wxFileCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileCtrl" );
9388         wxString        RETVAL;
9389
9390         RETVAL = THIS->GetWildcard();
9391         ST(0) = sv_newmortal();
9392     WXSTRING_OUTPUT( RETVAL, ST(0) );
9393
9394     }
9395     XSRETURN(1);
9396 }
9397
9398
9399 XS(XS_Wx__FileCtrl_GetPath); /* prototype to pass -Wmissing-prototypes */
9400 XS(XS_Wx__FileCtrl_GetPath)
9401 {
9402 #ifdef dVAR
9403     dVAR; dXSARGS;
9404 #else
9405     dXSARGS;
9406 #endif
9407     if (items != 1)
9408        croak_xs_usage(cv,  "THIS");
9409     {
9410         wxFileCtrl *    THIS = (wxFileCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileCtrl" );
9411         wxString        RETVAL;
9412
9413         RETVAL = THIS->GetPath();
9414         ST(0) = sv_newmortal();
9415     WXSTRING_OUTPUT( RETVAL, ST(0) );
9416
9417     }
9418     XSRETURN(1);
9419 }
9420
9421
9422 XS(XS_Wx__FileCtrl_GetPaths); /* prototype to pass -Wmissing-prototypes */
9423 XS(XS_Wx__FileCtrl_GetPaths)
9424 {
9425 #ifdef dVAR
9426     dVAR; dXSARGS;
9427 #else
9428     dXSARGS;
9429 #endif
9430     if (items != 1)
9431        croak_xs_usage(cv,  "THIS");
9432     PERL_UNUSED_VAR(ax); /* -Wall */
9433     SP -= items;
9434     {
9435         wxFileCtrl *    THIS = (wxFileCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileCtrl" );
9436     PUTBACK;
9437     wxArrayString ret;
9438     THIS->GetPaths( ret );
9439     wxPli_stringarray_push( aTHX_ ret );
9440     SPAGAIN;
9441         PUTBACK;
9442         return;
9443     }
9444 }
9445
9446
9447 XS(XS_Wx__FileCtrl_GetFilenames); /* prototype to pass -Wmissing-prototypes */
9448 XS(XS_Wx__FileCtrl_GetFilenames)
9449 {
9450 #ifdef dVAR
9451     dVAR; dXSARGS;
9452 #else
9453     dXSARGS;
9454 #endif
9455     if (items != 1)
9456        croak_xs_usage(cv,  "THIS");
9457     PERL_UNUSED_VAR(ax); /* -Wall */
9458     SP -= items;
9459     {
9460         wxFileCtrl *    THIS = (wxFileCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileCtrl" );
9461     PUTBACK;
9462     wxArrayString ret;
9463     THIS->GetFilenames( ret );
9464     wxPli_stringarray_push( aTHX_ ret );
9465     SPAGAIN;
9466         PUTBACK;
9467         return;
9468     }
9469 }
9470
9471
9472 XS(XS_Wx__FileCtrl_GetFilterIndex); /* prototype to pass -Wmissing-prototypes */
9473 XS(XS_Wx__FileCtrl_GetFilterIndex)
9474 {
9475 #ifdef dVAR
9476     dVAR; dXSARGS;
9477 #else
9478     dXSARGS;
9479 #endif
9480     if (items != 1)
9481        croak_xs_usage(cv,  "THIS");
9482     {
9483         wxFileCtrl *    THIS = (wxFileCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileCtrl" );
9484         int     RETVAL;
9485         dXSTARG;
9486
9487         RETVAL = THIS->GetFilterIndex();
9488         XSprePUSH; PUSHi((IV)RETVAL);
9489     }
9490     XSRETURN(1);
9491 }
9492
9493
9494 XS(XS_Wx__FileCtrl_HasMultipleFileSelection); /* prototype to pass -Wmissing-prototypes */
9495 XS(XS_Wx__FileCtrl_HasMultipleFileSelection)
9496 {
9497 #ifdef dVAR
9498     dVAR; dXSARGS;
9499 #else
9500     dXSARGS;
9501 #endif
9502     if (items != 1)
9503        croak_xs_usage(cv,  "THIS");
9504     {
9505         wxFileCtrl *    THIS = (wxFileCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileCtrl" );
9506         bool    RETVAL;
9507
9508         RETVAL = THIS->HasMultipleFileSelection();
9509         ST(0) = boolSV(RETVAL);
9510         sv_2mortal(ST(0));
9511     }
9512     XSRETURN(1);
9513 }
9514
9515
9516 XS(XS_Wx__FileCtrl_ShowHidden); /* prototype to pass -Wmissing-prototypes */
9517 XS(XS_Wx__FileCtrl_ShowHidden)
9518 {
9519 #ifdef dVAR
9520     dVAR; dXSARGS;
9521 #else
9522     dXSARGS;
9523 #endif
9524     if (items != 2)
9525        croak_xs_usage(cv,  "THIS, show");
9526     {
9527         bool    show = (bool)SvTRUE(ST(1));
9528         wxFileCtrl *    THIS = (wxFileCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileCtrl" );
9529
9530         THIS->ShowHidden(show);
9531     }
9532     XSRETURN_EMPTY;
9533 }
9534
9535
9536 XS(XS_Wx__FileCtrlEvent_SetFiles); /* prototype to pass -Wmissing-prototypes */
9537 XS(XS_Wx__FileCtrlEvent_SetFiles)
9538 {
9539 #ifdef dVAR
9540     dVAR; dXSARGS;
9541 #else
9542     dXSARGS;
9543 #endif
9544     if (items != 2)
9545        croak_xs_usage(cv,  "THIS, files");
9546     {
9547         wxArrayString   files;
9548         wxFileCtrlEvent *    THIS = (wxFileCtrlEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileCtrlEvent" );
9549
9550     wxPli_av_2_arraystring( aTHX_ ST(1), & files );
9551
9552         THIS->SetFiles(files);
9553     }
9554     XSRETURN_EMPTY;
9555 }
9556
9557
9558 XS(XS_Wx__FileCtrlEvent_SetDirectory); /* prototype to pass -Wmissing-prototypes */
9559 XS(XS_Wx__FileCtrlEvent_SetDirectory)
9560 {
9561 #ifdef dVAR
9562     dVAR; dXSARGS;
9563 #else
9564     dXSARGS;
9565 #endif
9566     if (items != 2)
9567        croak_xs_usage(cv,  "THIS, directory");
9568     {
9569         wxString        directory;
9570         wxFileCtrlEvent *    THIS = (wxFileCtrlEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileCtrlEvent" );
9571
9572     WXSTRING_INPUT( directory, wxString, ST(1) );
9573
9574         THIS->SetDirectory(directory);
9575     }
9576     XSRETURN_EMPTY;
9577 }
9578
9579
9580 XS(XS_Wx__FileCtrlEvent_GetFiles); /* prototype to pass -Wmissing-prototypes */
9581 XS(XS_Wx__FileCtrlEvent_GetFiles)
9582 {
9583 #ifdef dVAR
9584     dVAR; dXSARGS;
9585 #else
9586     dXSARGS;
9587 #endif
9588     if (items != 1)
9589        croak_xs_usage(cv,  "THIS");
9590     PERL_UNUSED_VAR(ax); /* -Wall */
9591     SP -= items;
9592     {
9593         wxFileCtrlEvent *    THIS = (wxFileCtrlEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileCtrlEvent" );
9594     PUTBACK;
9595     wxPli_stringarray_push( aTHX_ THIS->GetFiles() );
9596     SPAGAIN;
9597         PUTBACK;
9598         return;
9599     }
9600 }
9601
9602
9603 XS(XS_Wx__FileCtrlEvent_GetDirectory); /* prototype to pass -Wmissing-prototypes */
9604 XS(XS_Wx__FileCtrlEvent_GetDirectory)
9605 {
9606 #ifdef dVAR
9607     dVAR; dXSARGS;
9608 #else
9609     dXSARGS;
9610 #endif
9611     if (items != 1)
9612        croak_xs_usage(cv,  "THIS");
9613     {
9614         wxFileCtrlEvent *    THIS = (wxFileCtrlEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileCtrlEvent" );
9615         wxString        RETVAL;
9616
9617         RETVAL = THIS->GetDirectory();
9618         ST(0) = sv_newmortal();
9619     WXSTRING_OUTPUT( RETVAL, ST(0) );
9620
9621     }
9622     XSRETURN(1);
9623 }
9624
9625
9626 XS(XS_Wx__FileCtrlEvent_GetFile); /* prototype to pass -Wmissing-prototypes */
9627 XS(XS_Wx__FileCtrlEvent_GetFile)
9628 {
9629 #ifdef dVAR
9630     dVAR; dXSARGS;
9631 #else
9632     dXSARGS;
9633 #endif
9634     if (items != 1)
9635        croak_xs_usage(cv,  "THIS");
9636     {
9637         wxFileCtrlEvent *    THIS = (wxFileCtrlEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileCtrlEvent" );
9638         wxString        RETVAL;
9639
9640         RETVAL = THIS->GetFile();
9641         ST(0) = sv_newmortal();
9642     WXSTRING_OUTPUT( RETVAL, ST(0) );
9643
9644     }
9645     XSRETURN(1);
9646 }
9647
9648 #endif
9649
9650 /* INCLUDE: Returning to 'Controls.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/FileCtrl.xsp |' */
9651
9652
9653 /* INCLUDE:  Including 'XS/Button.xs' from 'Controls.xs' */
9654
9655
9656 /* INCLUDE:  Including 'XS/CheckBox.xs' from 'XS/Button.xs' */
9657
9658
9659 /* INCLUDE:  Including 'XS/CheckListBox.xs' from 'XS/CheckBox.xs' */
9660
9661
9662 /* INCLUDE:  Including 'XS/Choice.xs' from 'XS/CheckListBox.xs' */
9663
9664
9665 /* INCLUDE:  Including 'XS/ComboBox.xs' from 'XS/Choice.xs' */
9666
9667
9668 /* INCLUDE:  Including 'XS/Gauge.xs' from 'XS/ComboBox.xs' */
9669
9670
9671 /* INCLUDE:  Including 'XS/ListBox.xs' from 'XS/Gauge.xs' */
9672
9673
9674 /* INCLUDE:  Including 'XS/ListCtrl.xs' from 'XS/ListBox.xs' */
9675
9676
9677 /* INCLUDE:  Including 'XS/Notebook.xs' from 'XS/ListCtrl.xs' */
9678
9679
9680 /* INCLUDE:  Including 'XS/RadioBox.xs' from 'XS/Notebook.xs' */
9681
9682
9683 /* INCLUDE:  Including 'XS/RadioButton.xs' from 'XS/RadioBox.xs' */
9684
9685
9686 /* INCLUDE:  Including 'XS/ScrollBar.xs' from 'XS/RadioButton.xs' */
9687
9688
9689 /* INCLUDE:  Including 'XS/Slider.xs' from 'XS/ScrollBar.xs' */
9690
9691
9692 /* INCLUDE:  Including 'XS/SpinButton.xs' from 'XS/Slider.xs' */
9693
9694
9695 /* INCLUDE:  Including 'XS/SpinCtrl.xs' from 'XS/SpinButton.xs' */
9696
9697
9698 /* INCLUDE:  Including 'XS/StaticBitmap.xs' from 'XS/SpinCtrl.xs' */
9699
9700
9701 /* INCLUDE:  Including 'XS/StaticBox.xs' from 'XS/StaticBitmap.xs' */
9702
9703
9704 /* INCLUDE:  Including 'XS/StaticLine.xs' from 'XS/StaticBox.xs' */
9705
9706
9707 /* INCLUDE:  Including 'XS/StaticText.xs' from 'XS/StaticLine.xs' */
9708
9709
9710 /* INCLUDE:  Including 'XS/ToggleButton.xs' from 'XS/StaticText.xs' */
9711
9712
9713 /* INCLUDE:  Including 'XS/TreeCtrl.xs' from 'XS/ToggleButton.xs' */
9714
9715 #include <wx/treectrl.h>
9716 #include "cpp/overload.h"
9717
9718 XS(XS_Wx__TreeItemData_new); /* prototype to pass -Wmissing-prototypes */
9719 XS(XS_Wx__TreeItemData_new)
9720 {
9721 #ifdef dVAR
9722     dVAR; dXSARGS;
9723 #else
9724     dXSARGS;
9725 #endif
9726     if (items < 1 || items > 2)
9727        croak_xs_usage(cv,  "CLASS, data = 0");
9728     {
9729         SV_null*        data;
9730         char *  CLASS = (char *)SvPV_nolen(ST(0));
9731         wxTreeItemData *        RETVAL;
9732
9733         if (items < 2)
9734             data = 0;
9735         else {
9736     data = SvOK( ST(1) ) ? ST(1) : 0;
9737         }
9738     RETVAL = new wxPliTreeItemData( data );
9739         ST(0) = sv_newmortal();
9740     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TreeItemData" );
9741
9742     }
9743     XSRETURN(1);
9744 }
9745
9746
9747 XS(XS_Wx__TreeItemData_Destroy); /* prototype to pass -Wmissing-prototypes */
9748 XS(XS_Wx__TreeItemData_Destroy)
9749 {
9750 #ifdef dVAR
9751     dVAR; dXSARGS;
9752 #else
9753     dXSARGS;
9754 #endif
9755     if (items != 1)
9756        croak_xs_usage(cv,  "THIS");
9757     {
9758         wxTreeItemData *    THIS = (wxTreeItemData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeItemData" );
9759     delete THIS;
9760     }
9761     XSRETURN_EMPTY;
9762 }
9763
9764
9765 XS(XS_Wx__TreeItemData_GetData); /* prototype to pass -Wmissing-prototypes */
9766 XS(XS_Wx__TreeItemData_GetData)
9767 {
9768 #ifdef dVAR
9769     dVAR; dXSARGS;
9770 #else
9771     dXSARGS;
9772 #endif
9773     if (items != 1)
9774        croak_xs_usage(cv,  "THIS");
9775     {
9776         wxTreeItemData *    THIS = (wxTreeItemData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeItemData" );
9777         SV_null *       RETVAL;
9778     RETVAL = ((wxPliTreeItemData*)THIS)->m_data;
9779     ST(0) = ( RETVAL == 0 ) ? &PL_sv_undef : RETVAL;
9780     SvREFCNT_inc( ST(0) ); // xsubpp mortalizes it...
9781
9782         sv_2mortal(ST(0));
9783     }
9784     XSRETURN(1);
9785 }
9786
9787
9788 XS(XS_Wx__TreeItemData_SetData); /* prototype to pass -Wmissing-prototypes */
9789 XS(XS_Wx__TreeItemData_SetData)
9790 {
9791 #ifdef dVAR
9792     dVAR; dXSARGS;
9793 #else
9794     dXSARGS;
9795 #endif
9796     if (items < 1 || items > 2)
9797        croak_xs_usage(cv,  "THIS, data = 0");
9798     {
9799         SV_null*        data;
9800         wxTreeItemData *    THIS = (wxTreeItemData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeItemData" );
9801
9802         if (items < 2)
9803             data = 0;
9804         else {
9805     data = SvOK( ST(1) ) ? ST(1) : 0;
9806         }
9807     ((wxPliTreeItemData*)THIS)->SetData( data );
9808     }
9809     XSRETURN_EMPTY;
9810 }
9811
9812
9813 XS(XS_Wx__TreeItemData_GetId); /* prototype to pass -Wmissing-prototypes */
9814 XS(XS_Wx__TreeItemData_GetId)
9815 {
9816 #ifdef dVAR
9817     dVAR; dXSARGS;
9818 #else
9819     dXSARGS;
9820 #endif
9821     if (items != 1)
9822        croak_xs_usage(cv,  "THIS");
9823     {
9824         wxTreeItemData *    THIS = (wxTreeItemData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeItemData" );
9825         wxTreeItemId *  RETVAL;
9826     RETVAL = new wxTreeItemId( THIS->GetId() );
9827         ST(0) = sv_newmortal();
9828     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TreeItemId" );
9829     wxPli_thread_sv_register( aTHX_ "Wx::TreeItemId", RETVAL, ST(0) );
9830
9831     }
9832     XSRETURN(1);
9833 }
9834
9835
9836 XS(XS_Wx__TreeItemData_SetId); /* prototype to pass -Wmissing-prototypes */
9837 XS(XS_Wx__TreeItemData_SetId)
9838 {
9839 #ifdef dVAR
9840     dVAR; dXSARGS;
9841 #else
9842     dXSARGS;
9843 #endif
9844     if (items != 2)
9845        croak_xs_usage(cv,  "THIS, id");
9846     {
9847         wxTreeItemId*    id = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" );
9848         wxTreeItemData *    THIS = (wxTreeItemData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeItemData" );
9849
9850         THIS->SetId(*id);
9851     }
9852     XSRETURN_EMPTY;
9853 }
9854
9855
9856 XS(XS_Wx__TreeItemId_CLONE); /* prototype to pass -Wmissing-prototypes */
9857 XS(XS_Wx__TreeItemId_CLONE)
9858 {
9859 #ifdef dVAR
9860     dVAR; dXSARGS;
9861 #else
9862     dXSARGS;
9863 #endif
9864     if (items != 1)
9865        croak_xs_usage(cv,  "CLASS");
9866     {
9867         char *  CLASS = (char *)SvPV_nolen(ST(0));
9868     wxPli_thread_sv_clone( aTHX_ CLASS, (wxPliCloneSV)wxPli_detach_object );
9869     }
9870     XSRETURN_EMPTY;
9871 }
9872
9873
9874 XS(XS_Wx__TreeItemId_DESTROY); /* prototype to pass -Wmissing-prototypes */
9875 XS(XS_Wx__TreeItemId_DESTROY)
9876 {
9877 #ifdef dVAR
9878     dVAR; dXSARGS;
9879 #else
9880     dXSARGS;
9881 #endif
9882     if (items != 1)
9883        croak_xs_usage(cv,  "THIS");
9884     {
9885         wxTreeItemId *    THIS = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeItemId" );
9886     wxPli_thread_sv_unregister( aTHX_ "Wx::TreeItemId", THIS, ST(0) );
9887     delete THIS;
9888     }
9889     XSRETURN_EMPTY;
9890 }
9891
9892
9893 XS(XS_Wx__TreeItemId_IsOk); /* prototype to pass -Wmissing-prototypes */
9894 XS(XS_Wx__TreeItemId_IsOk)
9895 {
9896 #ifdef dVAR
9897     dVAR; dXSARGS;
9898 #else
9899     dXSARGS;
9900 #endif
9901     if (items != 1)
9902        croak_xs_usage(cv,  "THIS");
9903     {
9904         wxTreeItemId *    THIS = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeItemId" );
9905         bool    RETVAL;
9906
9907         RETVAL = THIS->IsOk();
9908         ST(0) = boolSV(RETVAL);
9909         sv_2mortal(ST(0));
9910     }
9911     XSRETURN(1);
9912 }
9913
9914
9915 XS(XS_Wx__TreeItemId_tiid_spaceship); /* prototype to pass -Wmissing-prototypes */
9916 XS(XS_Wx__TreeItemId_tiid_spaceship)
9917 {
9918 #ifdef dVAR
9919     dVAR; dXSARGS;
9920 #else
9921     dXSARGS;
9922 #endif
9923     if (items < 2)
9924        croak_xs_usage(cv,  "tid1, tid2, ...");
9925     {
9926         SV*     tid1 = ST(0);
9927         SV*     tid2 = ST(1);
9928         int     RETVAL;
9929         dXSTARG;
9930     // this is not a proper spaceship method
9931     // it just allows autogeneration of != and ==
9932     // anyway, comparing ids is useless
9933     RETVAL = -1;
9934     if( SvROK( tid1 ) && SvROK( tid2 ) &&
9935         sv_derived_from( tid1, CHAR_P "Wx::TreeItemId" ) &&
9936         sv_derived_from( tid2, CHAR_P "Wx::TreeItemId" ) )
9937     {
9938         wxTreeItemId* id1 = (wxTreeItemId*)
9939             wxPli_sv_2_object( aTHX_ tid1, "Wx::TreeItemId" );
9940         wxTreeItemId* id2 = (wxTreeItemId*)
9941             wxPli_sv_2_object( aTHX_ tid2, "Wx::TreeItemId" );
9942
9943         RETVAL = *id1 == *id2 ? 0 : 1;
9944     } else
9945       RETVAL = 1;
9946         XSprePUSH; PUSHi((IV)RETVAL);
9947     }
9948     XSRETURN(1);
9949 }
9950
9951
9952 XS(XS_Wx__TreeEvent_new); /* prototype to pass -Wmissing-prototypes */
9953 XS(XS_Wx__TreeEvent_new)
9954 {
9955 #ifdef dVAR
9956     dVAR; dXSARGS;
9957 #else
9958     dXSARGS;
9959 #endif
9960     if (items < 1 || items > 3)
9961        croak_xs_usage(cv,  "CLASS, commandType = wxEVT_NULL, id = 0");
9962     {
9963         wxEventType     commandType;
9964         int     id;
9965         char *  CLASS = (char *)SvPV_nolen(ST(0));
9966         wxTreeEvent *   RETVAL;
9967
9968         if (items < 2)
9969             commandType = wxEVT_NULL;
9970         else {
9971             commandType = (wxEventType)SvIV(ST(1));
9972         }
9973
9974         if (items < 3)
9975             id = 0;
9976         else {
9977             id = (int)SvIV(ST(2));
9978         }
9979
9980         RETVAL = new wxTreeEvent(commandType, id);
9981         ST(0) = sv_newmortal();
9982     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
9983     wxPli_thread_sv_register( aTHX_ "Wx::TreeEvent", RETVAL, ST(0) );
9984
9985     }
9986     XSRETURN(1);
9987 }
9988
9989
9990 XS(XS_Wx__TreeEvent_GetItem); /* prototype to pass -Wmissing-prototypes */
9991 XS(XS_Wx__TreeEvent_GetItem)
9992 {
9993 #ifdef dVAR
9994     dVAR; dXSARGS;
9995 #else
9996     dXSARGS;
9997 #endif
9998     if (items != 1)
9999        croak_xs_usage(cv,  "THIS");
10000     {
10001         wxTreeEvent *    THIS = (wxTreeEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeEvent" );
10002         wxTreeItemId *  RETVAL;
10003     RETVAL = new wxTreeItemId( THIS->GetItem() );
10004         ST(0) = sv_newmortal();
10005     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TreeItemId" );
10006     wxPli_thread_sv_register( aTHX_ "Wx::TreeItemId", RETVAL, ST(0) );
10007
10008     }
10009     XSRETURN(1);
10010 }
10011
10012 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
10013 #define XSubPPtmpAABO 1
10014
10015
10016 XS(XS_Wx__TreeEvent_SetQuickBestSize); /* prototype to pass -Wmissing-prototypes */
10017 XS(XS_Wx__TreeEvent_SetQuickBestSize)
10018 {
10019 #ifdef dVAR
10020     dVAR; dXSARGS;
10021 #else
10022     dXSARGS;
10023 #endif
10024     if (items != 2)
10025        croak_xs_usage(cv,  "THIS, q");
10026     {
10027         bool    q = (bool)SvTRUE(ST(1));
10028         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
10029
10030         THIS->SetQuickBestSize(q);
10031     }
10032     XSRETURN_EMPTY;
10033 }
10034
10035
10036 XS(XS_Wx__TreeEvent_GetQuickBestSize); /* prototype to pass -Wmissing-prototypes */
10037 XS(XS_Wx__TreeEvent_GetQuickBestSize)
10038 {
10039 #ifdef dVAR
10040     dVAR; dXSARGS;
10041 #else
10042     dXSARGS;
10043 #endif
10044     if (items != 1)
10045        croak_xs_usage(cv,  "THIS");
10046     {
10047         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
10048         bool    RETVAL;
10049
10050         RETVAL = THIS->GetQuickBestSize();
10051         ST(0) = boolSV(RETVAL);
10052         sv_2mortal(ST(0));
10053     }
10054     XSRETURN(1);
10055 }
10056
10057 #endif
10058
10059 XS(XS_Wx__TreeEvent_GetKeyCode); /* prototype to pass -Wmissing-prototypes */
10060 XS(XS_Wx__TreeEvent_GetKeyCode)
10061 {
10062 #ifdef dVAR
10063     dVAR; dXSARGS;
10064 #else
10065     dXSARGS;
10066 #endif
10067     if (items != 1)
10068        croak_xs_usage(cv,  "THIS");
10069     {
10070         wxTreeEvent *    THIS = (wxTreeEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeEvent" );
10071         int     RETVAL;
10072         dXSTARG;
10073
10074         RETVAL = THIS->GetKeyCode();
10075         XSprePUSH; PUSHi((IV)RETVAL);
10076     }
10077     XSRETURN(1);
10078 }
10079
10080
10081 XS(XS_Wx__TreeEvent_GetOldItem); /* prototype to pass -Wmissing-prototypes */
10082 XS(XS_Wx__TreeEvent_GetOldItem)
10083 {
10084 #ifdef dVAR
10085     dVAR; dXSARGS;
10086 #else
10087     dXSARGS;
10088 #endif
10089     if (items != 1)
10090        croak_xs_usage(cv,  "THIS");
10091     {
10092         wxTreeEvent *    THIS = (wxTreeEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeEvent" );
10093         wxTreeItemId *  RETVAL;
10094     RETVAL = new wxTreeItemId( THIS->GetOldItem() );
10095         ST(0) = sv_newmortal();
10096     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TreeItemId" );
10097     wxPli_thread_sv_register( aTHX_ "Wx::TreeItemId", RETVAL, ST(0) );
10098
10099     }
10100     XSRETURN(1);
10101 }
10102
10103
10104 XS(XS_Wx__TreeEvent_GetPoint); /* prototype to pass -Wmissing-prototypes */
10105 XS(XS_Wx__TreeEvent_GetPoint)
10106 {
10107 #ifdef dVAR
10108     dVAR; dXSARGS;
10109 #else
10110     dXSARGS;
10111 #endif
10112     if (items != 1)
10113        croak_xs_usage(cv,  "THIS");
10114     {
10115         wxTreeEvent *    THIS = (wxTreeEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeEvent" );
10116         wxPoint *       RETVAL;
10117     RETVAL = new wxPoint( THIS->GetPoint() );
10118         ST(0) = sv_newmortal();
10119     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Point" );
10120     wxPli_thread_sv_register( aTHX_ "Wx::Point", RETVAL, ST(0) );
10121
10122     }
10123     XSRETURN(1);
10124 }
10125
10126
10127 XS(XS_Wx__TreeEvent_IsEditCancelled); /* prototype to pass -Wmissing-prototypes */
10128 XS(XS_Wx__TreeEvent_IsEditCancelled)
10129 {
10130 #ifdef dVAR
10131     dVAR; dXSARGS;
10132 #else
10133     dXSARGS;
10134 #endif
10135     if (items != 1)
10136        croak_xs_usage(cv,  "THIS");
10137     {
10138         wxTreeEvent *    THIS = (wxTreeEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeEvent" );
10139         bool    RETVAL;
10140
10141         RETVAL = THIS->IsEditCancelled();
10142         ST(0) = boolSV(RETVAL);
10143         sv_2mortal(ST(0));
10144     }
10145     XSRETURN(1);
10146 }
10147
10148
10149 XS(XS_Wx__TreeEvent_GetLabel); /* prototype to pass -Wmissing-prototypes */
10150 XS(XS_Wx__TreeEvent_GetLabel)
10151 {
10152 #ifdef dVAR
10153     dVAR; dXSARGS;
10154 #else
10155     dXSARGS;
10156 #endif
10157     if (items != 1)
10158        croak_xs_usage(cv,  "THIS");
10159     {
10160         wxTreeEvent *    THIS = (wxTreeEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeEvent" );
10161         wxString        RETVAL;
10162
10163         RETVAL = THIS->GetLabel();
10164         ST(0) = sv_newmortal();
10165     WXSTRING_OUTPUT( RETVAL, ST(0) );
10166
10167     }
10168     XSRETURN(1);
10169 }
10170
10171
10172 XS(XS_Wx__TreeEvent_SetToolTip); /* prototype to pass -Wmissing-prototypes */
10173 XS(XS_Wx__TreeEvent_SetToolTip)
10174 {
10175 #ifdef dVAR
10176     dVAR; dXSARGS;
10177 #else
10178     dXSARGS;
10179 #endif
10180     if (items != 2)
10181        croak_xs_usage(cv,  "THIS, tooltip");
10182     {
10183         wxString        tooltip;
10184         wxTreeEvent *    THIS = (wxTreeEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeEvent" );
10185
10186     WXSTRING_INPUT( tooltip, wxString, ST(1) );
10187
10188         THIS->SetToolTip(tooltip);
10189     }
10190     XSRETURN_EMPTY;
10191 }
10192
10193
10194 XS(XS_Wx__TreeCtrl_new); /* prototype to pass -Wmissing-prototypes */
10195 XS(XS_Wx__TreeCtrl_new)
10196 {
10197 #ifdef dVAR
10198     dVAR; dXSARGS;
10199 #else
10200     dXSARGS;
10201 #endif
10202     PERL_UNUSED_VAR(cv); /* -W */
10203     PERL_UNUSED_VAR(ax); /* -Wall */
10204     SP -= items;
10205     {
10206     BEGIN_OVERLOAD()
10207         MATCH_VOIDM_REDISP( newDefault )
10208         MATCH_ANY_REDISP( newFull )
10209     END_OVERLOAD( "Wx::TreeCtrl::new" )
10210         PUTBACK;
10211         return;
10212     }
10213 }
10214
10215
10216 XS(XS_Wx__TreeCtrl_newDefault); /* prototype to pass -Wmissing-prototypes */
10217 XS(XS_Wx__TreeCtrl_newDefault)
10218 {
10219 #ifdef dVAR
10220     dVAR; dXSARGS;
10221 #else
10222     dXSARGS;
10223 #endif
10224     if (items != 1)
10225        croak_xs_usage(cv,  "CLASS");
10226     {
10227         PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) );
10228         wxTreeCtrl *    RETVAL;
10229     RETVAL = new wxPliTreeCtrl( CLASS );
10230     wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
10231         ST(0) = sv_newmortal();
10232     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
10233
10234     }
10235     XSRETURN(1);
10236 }
10237
10238
10239 XS(XS_Wx__TreeCtrl_newFull); /* prototype to pass -Wmissing-prototypes */
10240 XS(XS_Wx__TreeCtrl_newFull)
10241 {
10242 #ifdef dVAR
10243     dVAR; dXSARGS;
10244 #else
10245     dXSARGS;
10246 #endif
10247     if (items < 2 || items > 8)
10248        croak_xs_usage(cv,  "CLASS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = wxTR_HAS_BUTTONS, validator = (wxValidator*)&wxDefaultValidator, name = wxTreeCtrlNameStr");
10249     {
10250         PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) );
10251         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
10252         wxWindowID      id;
10253         wxPoint pos;
10254         wxSize  size;
10255         long    style;
10256         wxValidator*    validator;
10257         wxString        name;
10258         wxTreeCtrl *    RETVAL;
10259
10260         if (items < 3)
10261             id = wxID_ANY;
10262         else {
10263     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
10264         }
10265
10266         if (items < 4)
10267             pos = wxDefaultPosition;
10268         else {
10269     pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) );
10270         }
10271
10272         if (items < 5)
10273             size = wxDefaultSize;
10274         else {
10275     size = wxPli_sv_2_wxsize( aTHX_ ST(4) );
10276         }
10277
10278         if (items < 6)
10279             style = wxTR_HAS_BUTTONS;
10280         else {
10281             style = (long)SvIV(ST(5));
10282         }
10283
10284         if (items < 7)
10285             validator = (wxValidator*)&wxDefaultValidator;
10286         else {
10287     validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(6), "Wx::Validator" );
10288         }
10289
10290         if (items < 8)
10291             name = wxTreeCtrlNameStr;
10292         else {
10293     WXSTRING_INPUT( name, wxString, ST(7) );
10294         }
10295     RETVAL = new wxPliTreeCtrl( CLASS, parent, id, pos, size,
10296         style, *validator, name );
10297         ST(0) = sv_newmortal();
10298     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
10299
10300     }
10301     XSRETURN(1);
10302 }
10303
10304
10305 XS(XS_Wx__TreeCtrl_Create); /* prototype to pass -Wmissing-prototypes */
10306 XS(XS_Wx__TreeCtrl_Create)
10307 {
10308 #ifdef dVAR
10309     dVAR; dXSARGS;
10310 #else
10311     dXSARGS;
10312 #endif
10313     if (items < 2 || items > 8)
10314        croak_xs_usage(cv,  "THIS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = wxTR_HAS_BUTTONS, validator = (wxValidator*)&wxDefaultValidator, name = wxTreeCtrlNameStr");
10315     {
10316         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
10317         wxWindowID      id;
10318         wxPoint pos;
10319         wxSize  size;
10320         long    style;
10321         wxValidator*    validator;
10322         wxString        name;
10323         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
10324         bool    RETVAL;
10325
10326         if (items < 3)
10327             id = wxID_ANY;
10328         else {
10329     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
10330         }
10331
10332         if (items < 4)
10333             pos = wxDefaultPosition;
10334         else {
10335     pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) );
10336         }
10337
10338         if (items < 5)
10339             size = wxDefaultSize;
10340         else {
10341     size = wxPli_sv_2_wxsize( aTHX_ ST(4) );
10342         }
10343
10344         if (items < 6)
10345             style = wxTR_HAS_BUTTONS;
10346         else {
10347             style = (long)SvIV(ST(5));
10348         }
10349
10350         if (items < 7)
10351             validator = (wxValidator*)&wxDefaultValidator;
10352         else {
10353     validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(6), "Wx::Validator" );
10354         }
10355
10356         if (items < 8)
10357             name = wxTreeCtrlNameStr;
10358         else {
10359     WXSTRING_INPUT( name, wxString, ST(7) );
10360         }
10361
10362         RETVAL = THIS->Create(parent, id, pos, size, style, *validator, name);
10363         ST(0) = boolSV(RETVAL);
10364         sv_2mortal(ST(0));
10365     }
10366     XSRETURN(1);
10367 }
10368
10369
10370 XS(XS_Wx__TreeCtrl_AddRoot); /* prototype to pass -Wmissing-prototypes */
10371 XS(XS_Wx__TreeCtrl_AddRoot)
10372 {
10373 #ifdef dVAR
10374     dVAR; dXSARGS;
10375 #else
10376     dXSARGS;
10377 #endif
10378     if (items < 2 || items > 5)
10379        croak_xs_usage(cv,  "THIS, text, image = -1, selImage = -1, data = 0");
10380     {
10381         wxString        text;
10382         int     image;
10383         int     selImage;
10384         wxTreeItemData* data;
10385         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
10386         wxTreeItemId *  RETVAL;
10387
10388     WXSTRING_INPUT( text, wxString, ST(1) );
10389
10390         if (items < 3)
10391             image = -1;
10392         else {
10393             image = (int)SvIV(ST(2));
10394         }
10395
10396         if (items < 4)
10397             selImage = -1;
10398         else {
10399             selImage = (int)SvIV(ST(3));
10400         }
10401
10402         if (items < 5)
10403             data = 0;
10404         else {
10405     data = (wxTreeItemData *) wxPli_sv_2_object( aTHX_ ST(4), "Wx::TreeItemData" );
10406         }
10407     RETVAL = new wxTreeItemId( THIS->AddRoot( text, image, selImage, data ) );
10408         ST(0) = sv_newmortal();
10409     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TreeItemId" );
10410     wxPli_thread_sv_register( aTHX_ "Wx::TreeItemId", RETVAL, ST(0) );
10411
10412     }
10413     XSRETURN(1);
10414 }
10415
10416
10417 XS(XS_Wx__TreeCtrl_AppendItem); /* prototype to pass -Wmissing-prototypes */
10418 XS(XS_Wx__TreeCtrl_AppendItem)
10419 {
10420 #ifdef dVAR
10421     dVAR; dXSARGS;
10422 #else
10423     dXSARGS;
10424 #endif
10425     if (items < 3 || items > 6)
10426        croak_xs_usage(cv,  "THIS, parent, text, image = -1, selImage = -1, data = 0");
10427     {
10428         wxTreeItemId*    parent = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" );
10429         wxString        text;
10430         int     image;
10431         int     selImage;
10432         wxTreeItemData* data;
10433         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
10434         wxTreeItemId *  RETVAL;
10435
10436     WXSTRING_INPUT( text, wxString, ST(2) );
10437
10438         if (items < 4)
10439             image = -1;
10440         else {
10441             image = (int)SvIV(ST(3));
10442         }
10443
10444         if (items < 5)
10445             selImage = -1;
10446         else {
10447             selImage = (int)SvIV(ST(4));
10448         }
10449
10450         if (items < 6)
10451             data = 0;
10452         else {
10453     data = (wxTreeItemData *) wxPli_sv_2_object( aTHX_ ST(5), "Wx::TreeItemData" );
10454         }
10455     RETVAL = new wxTreeItemId( THIS->AppendItem( *parent, text, image,
10456         selImage, data ) );
10457         ST(0) = sv_newmortal();
10458     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TreeItemId" );
10459     wxPli_thread_sv_register( aTHX_ "Wx::TreeItemId", RETVAL, ST(0) );
10460
10461     }
10462     XSRETURN(1);
10463 }
10464
10465
10466 XS(XS_Wx__TreeCtrl_Collapse); /* prototype to pass -Wmissing-prototypes */
10467 XS(XS_Wx__TreeCtrl_Collapse)
10468 {
10469 #ifdef dVAR
10470     dVAR; dXSARGS;
10471 #else
10472     dXSARGS;
10473 #endif
10474     if (items != 2)
10475        croak_xs_usage(cv,  "THIS, item");
10476     {
10477         wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" );
10478         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
10479     THIS->Collapse( *item );
10480     }
10481     XSRETURN_EMPTY;
10482 }
10483
10484 #if WXPERL_W_VERSION_GE( 2, 8, 3 )
10485 #define XSubPPtmpAABP 1
10486
10487
10488 XS(XS_Wx__TreeCtrl_CollapseAll); /* prototype to pass -Wmissing-prototypes */
10489 XS(XS_Wx__TreeCtrl_CollapseAll)
10490 {
10491 #ifdef dVAR
10492     dVAR; dXSARGS;
10493 #else
10494     dXSARGS;
10495 #endif
10496     if (items != 1)
10497        croak_xs_usage(cv,  "THIS");
10498     {
10499         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
10500
10501         THIS->CollapseAll();
10502     }
10503     XSRETURN_EMPTY;
10504 }
10505
10506
10507 XS(XS_Wx__TreeCtrl_CollapseAllChildren); /* prototype to pass -Wmissing-prototypes */
10508 XS(XS_Wx__TreeCtrl_CollapseAllChildren)
10509 {
10510 #ifdef dVAR
10511     dVAR; dXSARGS;
10512 #else
10513     dXSARGS;
10514 #endif
10515     if (items != 2)
10516        croak_xs_usage(cv,  "THIS, item");
10517     {
10518         wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" );
10519         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
10520
10521         THIS->CollapseAllChildren(*item);
10522     }
10523     XSRETURN_EMPTY;
10524 }
10525
10526 #endif
10527
10528 XS(XS_Wx__TreeCtrl_CollapseAndReset); /* prototype to pass -Wmissing-prototypes */
10529 XS(XS_Wx__TreeCtrl_CollapseAndReset)
10530 {
10531 #ifdef dVAR
10532     dVAR; dXSARGS;
10533 #else
10534     dXSARGS;
10535 #endif
10536     if (items != 2)
10537        croak_xs_usage(cv,  "THIS, item");
10538     {
10539         wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" );
10540         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
10541
10542         THIS->CollapseAndReset(*item);
10543     }
10544     XSRETURN_EMPTY;
10545 }
10546
10547
10548 XS(XS_Wx__TreeCtrl_Delete); /* prototype to pass -Wmissing-prototypes */
10549 XS(XS_Wx__TreeCtrl_Delete)
10550 {
10551 #ifdef dVAR
10552     dVAR; dXSARGS;
10553 #else
10554     dXSARGS;
10555 #endif
10556     if (items != 2)
10557        croak_xs_usage(cv,  "THIS, item");
10558     {
10559         wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" );
10560         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
10561
10562         THIS->Delete(*item);
10563     }
10564     XSRETURN_EMPTY;
10565 }
10566
10567
10568 XS(XS_Wx__TreeCtrl_DeleteChildren); /* prototype to pass -Wmissing-prototypes */
10569 XS(XS_Wx__TreeCtrl_DeleteChildren)
10570 {
10571 #ifdef dVAR
10572     dVAR; dXSARGS;
10573 #else
10574     dXSARGS;
10575 #endif
10576     if (items != 2)
10577        croak_xs_usage(cv,  "THIS, item");
10578     {
10579         wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" );
10580         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
10581
10582         THIS->DeleteChildren(*item);
10583     }
10584     XSRETURN_EMPTY;
10585 }
10586
10587
10588 XS(XS_Wx__TreeCtrl_DeleteAllItems); /* prototype to pass -Wmissing-prototypes */
10589 XS(XS_Wx__TreeCtrl_DeleteAllItems)
10590 {
10591 #ifdef dVAR
10592     dVAR; dXSARGS;
10593 #else
10594     dXSARGS;
10595 #endif
10596     if (items != 1)
10597        croak_xs_usage(cv,  "THIS");
10598     {
10599         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
10600
10601         THIS->DeleteAllItems();
10602     }
10603     XSRETURN_EMPTY;
10604 }
10605
10606
10607 XS(XS_Wx__TreeCtrl_EditLabel); /* prototype to pass -Wmissing-prototypes */
10608 XS(XS_Wx__TreeCtrl_EditLabel)
10609 {
10610 #ifdef dVAR
10611     dVAR; dXSARGS;
10612 #else
10613     dXSARGS;
10614 #endif
10615     if (items != 2)
10616        croak_xs_usage(cv,  "THIS, item");
10617     {
10618         wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" );
10619         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
10620     THIS->EditLabel( *item );
10621     }
10622     XSRETURN_EMPTY;
10623 }
10624
10625 #if defined( __WXMSW__ )
10626 #if WXPERL_W_VERSION_GE( 2, 5, 3 )
10627 #define XSubPPtmpAABQ 1
10628
10629
10630 XS(XS_Wx__TreeCtrl_EndEditLabel); /* prototype to pass -Wmissing-prototypes */
10631 XS(XS_Wx__TreeCtrl_EndEditLabel)
10632 {
10633 #ifdef dVAR
10634     dVAR; dXSARGS;
10635 #else
10636     dXSARGS;
10637 #endif
10638     if (items < 2 || items > 3)
10639        croak_xs_usage(cv,  "THIS, item, discardChanges = false");
10640     {
10641         wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" );
10642         bool    discardChanges;
10643         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
10644
10645         if (items < 3)
10646             discardChanges = false;
10647         else {
10648             discardChanges = (bool)SvTRUE(ST(2));
10649         }
10650
10651         THIS->EndEditLabel(*item, discardChanges);
10652     }
10653     XSRETURN_EMPTY;
10654 }
10655
10656 #else
10657 #define XSubPPtmpAABR 1
10658
10659
10660 XS(XS_Wx__TreeCtrl_EndEditLabel); /* prototype to pass -Wmissing-prototypes */
10661 XS(XS_Wx__TreeCtrl_EndEditLabel)
10662 {
10663 #ifdef dVAR
10664     dVAR; dXSARGS;
10665 #else
10666     dXSARGS;
10667 #endif
10668     if (items != 2)
10669        croak_xs_usage(cv,  "THIS, cancelEdit");
10670     {
10671         bool    cancelEdit = (bool)SvTRUE(ST(1));
10672         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
10673
10674         THIS->EndEditLabel(cancelEdit);
10675     }
10676     XSRETURN_EMPTY;
10677 }
10678
10679 #endif
10680 #endif
10681
10682 XS(XS_Wx__TreeCtrl_EnsureVisible); /* prototype to pass -Wmissing-prototypes */
10683 XS(XS_Wx__TreeCtrl_EnsureVisible)
10684 {
10685 #ifdef dVAR
10686     dVAR; dXSARGS;
10687 #else
10688     dXSARGS;
10689 #endif
10690     if (items != 2)
10691        croak_xs_usage(cv,  "THIS, item");
10692     {
10693         wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" );
10694         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
10695
10696         THIS->EnsureVisible(*item);
10697     }
10698     XSRETURN_EMPTY;
10699 }
10700
10701 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
10702 #define XSubPPtmpAABS 1
10703
10704
10705 XS(XS_Wx__TreeCtrl_ExpandAll); /* prototype to pass -Wmissing-prototypes */
10706 XS(XS_Wx__TreeCtrl_ExpandAll)
10707 {
10708 #ifdef dVAR
10709     dVAR; dXSARGS;
10710 #else
10711     dXSARGS;
10712 #endif
10713     if (items != 1)
10714        croak_xs_usage(cv,  "THIS");
10715     {
10716         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
10717
10718         THIS->ExpandAll();
10719     }
10720     XSRETURN_EMPTY;
10721 }
10722
10723 #endif
10724
10725 XS(XS_Wx__TreeCtrl_Expand); /* prototype to pass -Wmissing-prototypes */
10726 XS(XS_Wx__TreeCtrl_Expand)
10727 {
10728 #ifdef dVAR
10729     dVAR; dXSARGS;
10730 #else
10731     dXSARGS;
10732 #endif
10733     if (items != 2)
10734        croak_xs_usage(cv,  "THIS, item");
10735     {
10736         wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" );
10737         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
10738
10739         THIS->Expand(*item);
10740     }
10741     XSRETURN_EMPTY;
10742 }
10743
10744 #if WXPERL_W_VERSION_GE( 2, 7, 0 )
10745 #define XSubPPtmpAABT 1
10746
10747
10748 XS(XS_Wx__TreeCtrl_ExpandAllChildren); /* prototype to pass -Wmissing-prototypes */
10749 XS(XS_Wx__TreeCtrl_ExpandAllChildren)
10750 {
10751 #ifdef dVAR
10752     dVAR; dXSARGS;
10753 #else
10754     dXSARGS;
10755 #endif
10756     if (items != 2)
10757        croak_xs_usage(cv,  "THIS, item");
10758     {
10759         wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" );
10760         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
10761
10762         THIS->ExpandAllChildren(*item);
10763     }
10764     XSRETURN_EMPTY;
10765 }
10766
10767 #endif
10768
10769 XS(XS_Wx__TreeCtrl_GetBoundingRect); /* prototype to pass -Wmissing-prototypes */
10770 XS(XS_Wx__TreeCtrl_GetBoundingRect)
10771 {
10772 #ifdef dVAR
10773     dVAR; dXSARGS;
10774 #else
10775     dXSARGS;
10776 #endif
10777     if (items < 2 || items > 3)
10778        croak_xs_usage(cv,  "THIS, item, textOnly = false");
10779     PERL_UNUSED_VAR(ax); /* -Wall */
10780     SP -= items;
10781     {
10782         wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" );
10783         bool    textOnly;
10784     wxRect rect;
10785         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
10786
10787         if (items < 3)
10788             textOnly = false;
10789         else {
10790             textOnly = (bool)SvTRUE(ST(2));
10791         }
10792     bool ret = THIS->GetBoundingRect( *item, rect, textOnly );
10793     if( ret )
10794     {
10795         SV* ret = sv_newmortal();
10796         wxPli_non_object_2_sv( aTHX_ ret, new wxRect( rect ), "Wx::Rect" );
10797         XPUSHs( ret );
10798     }
10799     else
10800     {
10801         XSRETURN_UNDEF;
10802     }
10803         PUTBACK;
10804         return;
10805     }
10806 }
10807
10808
10809 XS(XS_Wx__TreeCtrl_GetChildrenCount); /* prototype to pass -Wmissing-prototypes */
10810 XS(XS_Wx__TreeCtrl_GetChildrenCount)
10811 {
10812 #ifdef dVAR
10813     dVAR; dXSARGS;
10814 #else
10815     dXSARGS;
10816 #endif
10817     if (items < 2 || items > 3)
10818        croak_xs_usage(cv,  "THIS, item, recursively = true");
10819     {
10820         wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" );
10821         bool    recursively;
10822         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
10823         size_t  RETVAL;
10824         dXSTARG;
10825
10826         if (items < 3)
10827             recursively = true;
10828         else {
10829             recursively = (bool)SvTRUE(ST(2));
10830         }
10831
10832         RETVAL = THIS->GetChildrenCount(*item, recursively);
10833         XSprePUSH; PUSHu((UV)RETVAL );
10834     }
10835     XSRETURN(1);
10836 }
10837
10838
10839 XS(XS_Wx__TreeCtrl_GetCount); /* prototype to pass -Wmissing-prototypes */
10840 XS(XS_Wx__TreeCtrl_GetCount)
10841 {
10842 #ifdef dVAR
10843     dVAR; dXSARGS;
10844 #else
10845     dXSARGS;
10846 #endif
10847     if (items != 1)
10848        croak_xs_usage(cv,  "THIS");
10849     {
10850         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
10851         int     RETVAL;
10852         dXSTARG;
10853
10854         RETVAL = THIS->GetCount();
10855         XSprePUSH; PUSHi((IV)RETVAL);
10856     }
10857     XSRETURN(1);
10858 }
10859
10860
10861 XS(XS_Wx__TreeCtrl_GetItemData); /* prototype to pass -Wmissing-prototypes */
10862 XS(XS_Wx__TreeCtrl_GetItemData)
10863 {
10864 #ifdef dVAR
10865     dVAR; dXSARGS;
10866 #else
10867     dXSARGS;
10868 #endif
10869     if (items != 2)
10870        croak_xs_usage(cv,  "THIS, item");
10871     {
10872         wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" );
10873         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
10874         wxTreeItemData *        RETVAL;
10875     RETVAL = (wxPliTreeItemData*) THIS->GetItemData( *item );
10876         ST(0) = sv_newmortal();
10877     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TreeItemData" );
10878
10879     }
10880     XSRETURN(1);
10881 }
10882
10883
10884 XS(XS_Wx__TreeCtrl_GetPlData); /* prototype to pass -Wmissing-prototypes */
10885 XS(XS_Wx__TreeCtrl_GetPlData)
10886 {
10887 #ifdef dVAR
10888     dVAR; dXSARGS;
10889 #else
10890     dXSARGS;
10891 #endif
10892     if (items != 2)
10893        croak_xs_usage(cv,  "THIS, item");
10894     {
10895         wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" );
10896         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
10897         SV_null *       RETVAL;
10898     wxPliTreeItemData* data = (wxPliTreeItemData*) THIS->GetItemData( *item );
10899     RETVAL = data ? data->m_data : 0;
10900     ST(0) = ( RETVAL == 0 ) ? &PL_sv_undef : RETVAL;
10901     SvREFCNT_inc( ST(0) ); // xsubpp mortalizes it...
10902
10903         sv_2mortal(ST(0));
10904     }
10905     XSRETURN(1);
10906 }
10907
10908 #if defined( __WXMSW__ ) || defined( __WXPERL_FORCE__ )
10909 #define XSubPPtmpAABU 1
10910
10911
10912 XS(XS_Wx__TreeCtrl_GetEditControl); /* prototype to pass -Wmissing-prototypes */
10913 XS(XS_Wx__TreeCtrl_GetEditControl)
10914 {
10915 #ifdef dVAR
10916     dVAR; dXSARGS;
10917 #else
10918     dXSARGS;
10919 #endif
10920     if (items != 1)
10921        croak_xs_usage(cv,  "THIS");
10922     {
10923         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
10924         wxTextCtrl *    RETVAL;
10925
10926         RETVAL = THIS->GetEditControl();
10927         ST(0) = sv_newmortal();
10928     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
10929
10930     }
10931     XSRETURN(1);
10932 }
10933
10934 #endif
10935
10936 XS(XS_Wx__TreeCtrl_GetFirstChild); /* prototype to pass -Wmissing-prototypes */
10937 XS(XS_Wx__TreeCtrl_GetFirstChild)
10938 {
10939 #ifdef dVAR
10940     dVAR; dXSARGS;
10941 #else
10942     dXSARGS;
10943 #endif
10944     if (items != 2)
10945        croak_xs_usage(cv,  "THIS, item");
10946     PERL_UNUSED_VAR(ax); /* -Wall */
10947     SP -= items;
10948     {
10949         wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" );
10950 #if WXPERL_W_VERSION_GE( 2, 5, 1 )
10951     void* cookie;
10952 #else
10953     long cookie;
10954 #endif
10955         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
10956     wxTreeItemId ret = THIS->GetFirstChild( *item, cookie );
10957 #if WXPERL_W_VERSION_LT( 2, 5, 1 )
10958     if( !ret.IsOk() ) cookie = -1;
10959 #endif
10960     EXTEND( SP, 2 );
10961     PUSHs( wxPli_non_object_2_sv( aTHX_ sv_newmortal(),
10962                                   new wxTreeItemId( ret ),
10963                                   "Wx::TreeItemId" ) );
10964 #if WXPERL_W_VERSION_GE( 2, 5, 1 )
10965     PUSHs( sv_2mortal( newSViv( PTR2IV( cookie ) ) ) );
10966 #else
10967     PUSHs( sv_2mortal( newSViv( cookie ) ) );
10968 #endif
10969         PUTBACK;
10970         return;
10971     }
10972 }
10973
10974
10975 XS(XS_Wx__TreeCtrl_GetFirstVisibleItem); /* prototype to pass -Wmissing-prototypes */
10976 XS(XS_Wx__TreeCtrl_GetFirstVisibleItem)
10977 {
10978 #ifdef dVAR
10979     dVAR; dXSARGS;
10980 #else
10981     dXSARGS;
10982 #endif
10983     if (items != 1)
10984        croak_xs_usage(cv,  "THIS");
10985     {
10986         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
10987         wxTreeItemId *  RETVAL;
10988     RETVAL = new wxTreeItemId( THIS->GetFirstVisibleItem() );
10989         ST(0) = sv_newmortal();
10990     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TreeItemId" );
10991     wxPli_thread_sv_register( aTHX_ "Wx::TreeItemId", RETVAL, ST(0) );
10992
10993     }
10994     XSRETURN(1);
10995 }
10996
10997
10998 XS(XS_Wx__TreeCtrl_GetImageList); /* prototype to pass -Wmissing-prototypes */
10999 XS(XS_Wx__TreeCtrl_GetImageList)
11000 {
11001 #ifdef dVAR
11002     dVAR; dXSARGS;
11003 #else
11004     dXSARGS;
11005 #endif
11006     if (items != 1)
11007        croak_xs_usage(cv,  "THIS");
11008     {
11009         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
11010         wxImageList *   RETVAL;
11011
11012         RETVAL = THIS->GetImageList();
11013         ST(0) = sv_newmortal();
11014     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
11015     wxPli_thread_sv_register( aTHX_ "Wx::ImageList", RETVAL, ST(0) );
11016
11017     wxPli_object_set_deleteable( aTHX_ ST(0), false );
11018     }
11019     XSRETURN(1);
11020 }
11021
11022 #if !defined( __WXMSW__ )
11023 #define XSubPPtmpAABV 1
11024
11025
11026 XS(XS_Wx__TreeCtrl_GetButtonsImageList); /* prototype to pass -Wmissing-prototypes */
11027 XS(XS_Wx__TreeCtrl_GetButtonsImageList)
11028 {
11029 #ifdef dVAR
11030     dVAR; dXSARGS;
11031 #else
11032     dXSARGS;
11033 #endif
11034     if (items != 1)
11035        croak_xs_usage(cv,  "THIS");
11036     {
11037         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
11038         wxImageList *   RETVAL;
11039
11040         RETVAL = THIS->GetButtonsImageList();
11041         ST(0) = sv_newmortal();
11042     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
11043     wxPli_thread_sv_register( aTHX_ "Wx::ImageList", RETVAL, ST(0) );
11044
11045     wxPli_object_set_deleteable( aTHX_ ST(0), false );
11046     }
11047     XSRETURN(1);
11048 }
11049
11050 #endif    
11051
11052 XS(XS_Wx__TreeCtrl_GetIndent); /* prototype to pass -Wmissing-prototypes */
11053 XS(XS_Wx__TreeCtrl_GetIndent)
11054 {
11055 #ifdef dVAR
11056     dVAR; dXSARGS;
11057 #else
11058     dXSARGS;
11059 #endif
11060     if (items != 1)
11061        croak_xs_usage(cv,  "THIS");
11062     {
11063         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
11064         int     RETVAL;
11065         dXSTARG;
11066
11067         RETVAL = THIS->GetIndent();
11068         XSprePUSH; PUSHi((IV)RETVAL);
11069     }
11070     XSRETURN(1);
11071 }
11072
11073
11074 XS(XS_Wx__TreeCtrl_GetItemImage); /* prototype to pass -Wmissing-prototypes */
11075 XS(XS_Wx__TreeCtrl_GetItemImage)
11076 {
11077 #ifdef dVAR
11078     dVAR; dXSARGS;
11079 #else
11080     dXSARGS;
11081 #endif
11082     if (items < 2 || items > 3)
11083        croak_xs_usage(cv,  "THIS, item, which = wxTreeItemIcon_Normal");
11084     {
11085         wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" );
11086         wxTreeItemIcon  which;
11087         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
11088         int     RETVAL;
11089         dXSTARG;
11090
11091         if (items < 3)
11092             which = wxTreeItemIcon_Normal;
11093         else {
11094     which = (wxTreeItemIcon)SvUV( ST(2) );
11095         }
11096
11097         RETVAL = THIS->GetItemImage(*item, which);
11098         XSprePUSH; PUSHi((IV)RETVAL);
11099     }
11100     XSRETURN(1);
11101 }
11102
11103
11104 XS(XS_Wx__TreeCtrl_GetItemText); /* prototype to pass -Wmissing-prototypes */
11105 XS(XS_Wx__TreeCtrl_GetItemText)
11106 {
11107 #ifdef dVAR
11108     dVAR; dXSARGS;
11109 #else
11110     dXSARGS;
11111 #endif
11112     if (items != 2)
11113        croak_xs_usage(cv,  "THIS, item");
11114     {
11115         wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" );
11116         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
11117         wxString        RETVAL;
11118
11119         RETVAL = THIS->GetItemText(*item);
11120         ST(0) = sv_newmortal();
11121     WXSTRING_OUTPUT( RETVAL, ST(0) );
11122
11123     }
11124     XSRETURN(1);
11125 }
11126
11127
11128 XS(XS_Wx__TreeCtrl_GetItemBackgroundColour); /* prototype to pass -Wmissing-prototypes */
11129 XS(XS_Wx__TreeCtrl_GetItemBackgroundColour)
11130 {
11131 #ifdef dVAR
11132     dVAR; dXSARGS;
11133 #else
11134     dXSARGS;
11135 #endif
11136     if (items != 2)
11137        croak_xs_usage(cv,  "THIS, item");
11138     {
11139         wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" );
11140         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
11141         wxColour *      RETVAL;
11142     RETVAL = new wxColour( THIS->GetItemBackgroundColour( *item ) );
11143         ST(0) = sv_newmortal();
11144     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Colour" );
11145     wxPli_thread_sv_register( aTHX_ "Wx::Colour", RETVAL, ST(0) );
11146
11147     }
11148     XSRETURN(1);
11149 }
11150
11151
11152 XS(XS_Wx__TreeCtrl_GetItemTextColour); /* prototype to pass -Wmissing-prototypes */
11153 XS(XS_Wx__TreeCtrl_GetItemTextColour)
11154 {
11155 #ifdef dVAR
11156     dVAR; dXSARGS;
11157 #else
11158     dXSARGS;
11159 #endif
11160     if (items != 2)
11161        croak_xs_usage(cv,  "THIS, item");
11162     {
11163         wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" );
11164         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
11165         wxColour *      RETVAL;
11166     RETVAL = new wxColour( THIS->GetItemTextColour( *item ) );
11167         ST(0) = sv_newmortal();
11168     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Colour" );
11169     wxPli_thread_sv_register( aTHX_ "Wx::Colour", RETVAL, ST(0) );
11170
11171     }
11172     XSRETURN(1);
11173 }
11174
11175
11176 XS(XS_Wx__TreeCtrl_GetItemFont); /* prototype to pass -Wmissing-prototypes */
11177 XS(XS_Wx__TreeCtrl_GetItemFont)
11178 {
11179 #ifdef dVAR
11180     dVAR; dXSARGS;
11181 #else
11182     dXSARGS;
11183 #endif
11184     if (items != 2)
11185        croak_xs_usage(cv,  "THIS, item");
11186     {
11187         wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" );
11188         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
11189         wxFont *        RETVAL;
11190     RETVAL = new wxFont( THIS->GetItemFont( *item ) );
11191         ST(0) = sv_newmortal();
11192     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
11193     wxPli_thread_sv_register( aTHX_ "Wx::Font", RETVAL, ST(0) );
11194
11195     }
11196     XSRETURN(1);
11197 }
11198
11199
11200 XS(XS_Wx__TreeCtrl_GetLastChild); /* prototype to pass -Wmissing-prototypes */
11201 XS(XS_Wx__TreeCtrl_GetLastChild)
11202 {
11203 #ifdef dVAR
11204     dVAR; dXSARGS;
11205 #else
11206     dXSARGS;
11207 #endif
11208     if (items != 2)
11209        croak_xs_usage(cv,  "THIS, item");
11210     {
11211         wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" );
11212         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
11213         wxTreeItemId *  RETVAL;
11214     RETVAL = new wxTreeItemId( THIS->GetLastChild( *item ) );
11215         ST(0) = sv_newmortal();
11216     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TreeItemId" );
11217     wxPli_thread_sv_register( aTHX_ "Wx::TreeItemId", RETVAL, ST(0) );
11218
11219     }
11220     XSRETURN(1);
11221 }
11222
11223 #if WXPERL_W_VERSION_GE( 2, 5, 1 )
11224 #define XSubPPtmpAABW 1
11225
11226
11227 XS(XS_Wx__TreeCtrl_GetNextChild); /* prototype to pass -Wmissing-prototypes */
11228 XS(XS_Wx__TreeCtrl_GetNextChild)
11229 {
11230 #ifdef dVAR
11231     dVAR; dXSARGS;
11232 #else
11233     dXSARGS;
11234 #endif
11235     if (items != 3)
11236        croak_xs_usage(cv,  "THIS, item, cookie");
11237     PERL_UNUSED_VAR(ax); /* -Wall */
11238     SP -= items;
11239     {
11240         wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" );
11241         IV      cookie = (IV)SvIV(ST(2));
11242     void* realcookie = INT2PTR( void*, cookie );
11243         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
11244     wxTreeItemId ret = THIS->GetNextChild( *item, realcookie );
11245     EXTEND( SP, 2 );
11246     PUSHs( wxPli_non_object_2_sv( aTHX_ sv_newmortal(),
11247                                   new wxTreeItemId( ret ),
11248                                   "Wx::TreeItemId" ) );
11249     PUSHs( sv_2mortal( newSViv( PTR2IV( realcookie ) ) ) );
11250         PUTBACK;
11251         return;
11252     }
11253 }
11254
11255 #else
11256 #define XSubPPtmpAABX 1
11257
11258
11259 XS(XS_Wx__TreeCtrl_GetNextChild); /* prototype to pass -Wmissing-prototypes */
11260 XS(XS_Wx__TreeCtrl_GetNextChild)
11261 {
11262 #ifdef dVAR
11263     dVAR; dXSARGS;
11264 #else
11265     dXSARGS;
11266 #endif
11267     if (items != 3)
11268        croak_xs_usage(cv,  "THIS, item, cookie");
11269     PERL_UNUSED_VAR(ax); /* -Wall */
11270     SP -= items;
11271     {
11272         wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" );
11273         long    cookie = (long)SvIV(ST(2));
11274         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
11275     wxTreeItemId ret = THIS->GetNextChild( *item, cookie );
11276     EXTEND( SP, 2 );
11277     PUSHs( wxPli_non_object_2_sv( aTHX_ sv_newmortal(),
11278                                   new wxTreeItemId( ret ),
11279                                   "Wx::TreeItemId" ) );
11280     PUSHs( sv_2mortal( newSViv( cookie ) ) );
11281         PUTBACK;
11282         return;
11283     }
11284 }
11285
11286 #endif
11287
11288 XS(XS_Wx__TreeCtrl_GetNextSibling); /* prototype to pass -Wmissing-prototypes */
11289 XS(XS_Wx__TreeCtrl_GetNextSibling)
11290 {
11291 #ifdef dVAR
11292     dVAR; dXSARGS;
11293 #else
11294     dXSARGS;
11295 #endif
11296     if (items != 2)
11297        croak_xs_usage(cv,  "THIS, item");
11298     {
11299         wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" );
11300         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
11301         wxTreeItemId *  RETVAL;
11302     RETVAL = new wxTreeItemId( THIS->GetNextSibling( *item ) );
11303         ST(0) = sv_newmortal();
11304     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TreeItemId" );
11305     wxPli_thread_sv_register( aTHX_ "Wx::TreeItemId", RETVAL, ST(0) );
11306
11307     }
11308     XSRETURN(1);
11309 }
11310
11311
11312 XS(XS_Wx__TreeCtrl_GetNextVisible); /* prototype to pass -Wmissing-prototypes */
11313 XS(XS_Wx__TreeCtrl_GetNextVisible)
11314 {
11315 #ifdef dVAR
11316     dVAR; dXSARGS;
11317 #else
11318     dXSARGS;
11319 #endif
11320     if (items != 2)
11321        croak_xs_usage(cv,  "THIS, item");
11322     {
11323         wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" );
11324         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
11325         wxTreeItemId *  RETVAL;
11326     RETVAL = new wxTreeItemId( THIS->GetNextVisible( *item ) );
11327         ST(0) = sv_newmortal();
11328     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TreeItemId" );
11329     wxPli_thread_sv_register( aTHX_ "Wx::TreeItemId", RETVAL, ST(0) );
11330
11331     }
11332     XSRETURN(1);
11333 }
11334
11335
11336 XS(XS_Wx__TreeCtrl_GetParent); /* prototype to pass -Wmissing-prototypes */
11337 XS(XS_Wx__TreeCtrl_GetParent)
11338 {
11339 #ifdef dVAR
11340     dVAR; dXSARGS;
11341 #else
11342     dXSARGS;
11343 #endif
11344     if (items < 1)
11345        croak_xs_usage(cv,  "THIS, ...");
11346     PERL_UNUSED_VAR(ax); /* -Wall */
11347     SP -= items;
11348     {
11349         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
11350     BEGIN_OVERLOAD()
11351         MATCH_VOIDM_REDISP( Wx::Window::GetParent )
11352         MATCH_REDISP( wxPliOvl_wtid, GetItemParent )
11353     END_OVERLOAD( Wx::TreeCtrl::GetParent )
11354         PUTBACK;
11355         return;
11356     }
11357 }
11358
11359
11360 XS(XS_Wx__TreeCtrl_GetItemParent); /* prototype to pass -Wmissing-prototypes */
11361 XS(XS_Wx__TreeCtrl_GetItemParent)
11362 {
11363 #ifdef dVAR
11364     dVAR; dXSARGS;
11365 #else
11366     dXSARGS;
11367 #endif
11368     if (items != 2)
11369        croak_xs_usage(cv,  "THIS, item");
11370     {
11371         wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" );
11372         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
11373         wxTreeItemId *  RETVAL;
11374     RETVAL = new wxTreeItemId( 
11375        THIS->GetItemParent( *item )
11376      );
11377         ST(0) = sv_newmortal();
11378     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TreeItemId" );
11379     wxPli_thread_sv_register( aTHX_ "Wx::TreeItemId", RETVAL, ST(0) );
11380
11381     }
11382     XSRETURN(1);
11383 }
11384
11385
11386 XS(XS_Wx__TreeCtrl_GetPrevSibling); /* prototype to pass -Wmissing-prototypes */
11387 XS(XS_Wx__TreeCtrl_GetPrevSibling)
11388 {
11389 #ifdef dVAR
11390     dVAR; dXSARGS;
11391 #else
11392     dXSARGS;
11393 #endif
11394     if (items != 2)
11395        croak_xs_usage(cv,  "THIS, item");
11396     {
11397         wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" );
11398         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
11399         wxTreeItemId *  RETVAL;
11400     RETVAL = new wxTreeItemId( THIS->GetPrevSibling( *item ) );
11401         ST(0) = sv_newmortal();
11402     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TreeItemId" );
11403     wxPli_thread_sv_register( aTHX_ "Wx::TreeItemId", RETVAL, ST(0) );
11404
11405     }
11406     XSRETURN(1);
11407 }
11408
11409
11410 XS(XS_Wx__TreeCtrl_GetPrevVisible); /* prototype to pass -Wmissing-prototypes */
11411 XS(XS_Wx__TreeCtrl_GetPrevVisible)
11412 {
11413 #ifdef dVAR
11414     dVAR; dXSARGS;
11415 #else
11416     dXSARGS;
11417 #endif
11418     if (items != 2)
11419        croak_xs_usage(cv,  "THIS, item");
11420     {
11421         wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" );
11422         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
11423         wxTreeItemId *  RETVAL;
11424     RETVAL = new wxTreeItemId( THIS->GetPrevVisible( *item ) );
11425         ST(0) = sv_newmortal();
11426     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TreeItemId" );
11427     wxPli_thread_sv_register( aTHX_ "Wx::TreeItemId", RETVAL, ST(0) );
11428
11429     }
11430     XSRETURN(1);
11431 }
11432
11433
11434 XS(XS_Wx__TreeCtrl_GetRootItem); /* prototype to pass -Wmissing-prototypes */
11435 XS(XS_Wx__TreeCtrl_GetRootItem)
11436 {
11437 #ifdef dVAR
11438     dVAR; dXSARGS;
11439 #else
11440     dXSARGS;
11441 #endif
11442     if (items != 1)
11443        croak_xs_usage(cv,  "THIS");
11444     {
11445         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
11446         wxTreeItemId *  RETVAL;
11447     RETVAL = new wxTreeItemId( THIS->GetRootItem() );
11448         ST(0) = sv_newmortal();
11449     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TreeItemId" );
11450     wxPli_thread_sv_register( aTHX_ "Wx::TreeItemId", RETVAL, ST(0) );
11451
11452     }
11453     XSRETURN(1);
11454 }
11455
11456
11457 XS(XS_Wx__TreeCtrl_GetSelection); /* prototype to pass -Wmissing-prototypes */
11458 XS(XS_Wx__TreeCtrl_GetSelection)
11459 {
11460 #ifdef dVAR
11461     dVAR; dXSARGS;
11462 #else
11463     dXSARGS;
11464 #endif
11465     if (items != 1)
11466        croak_xs_usage(cv,  "THIS");
11467     {
11468         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
11469         wxTreeItemId *  RETVAL;
11470     RETVAL = new wxTreeItemId( THIS->GetSelection() );
11471         ST(0) = sv_newmortal();
11472     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TreeItemId" );
11473     wxPli_thread_sv_register( aTHX_ "Wx::TreeItemId", RETVAL, ST(0) );
11474
11475     }
11476     XSRETURN(1);
11477 }
11478
11479
11480 XS(XS_Wx__TreeCtrl_GetSelections); /* prototype to pass -Wmissing-prototypes */
11481 XS(XS_Wx__TreeCtrl_GetSelections)
11482 {
11483 #ifdef dVAR
11484     dVAR; dXSARGS;
11485 #else
11486     dXSARGS;
11487 #endif
11488     if (items != 1)
11489        croak_xs_usage(cv,  "THIS");
11490     PERL_UNUSED_VAR(ax); /* -Wall */
11491     SP -= items;
11492     {
11493     wxArrayTreeItemIds selections;
11494         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
11495     size_t num = THIS->GetSelections( selections );
11496     EXTEND( SP, (IV)num );
11497     for( size_t i = 0; i < num; ++i )
11498     {
11499         PUSHs( wxPli_non_object_2_sv( aTHX_ sv_newmortal(),
11500                                       new wxTreeItemId( selections[i] ),
11501                                       "Wx::TreeItemId" ) );
11502     }
11503         PUTBACK;
11504         return;
11505     }
11506 }
11507
11508
11509 XS(XS_Wx__TreeCtrl_GetStateImageList); /* prototype to pass -Wmissing-prototypes */
11510 XS(XS_Wx__TreeCtrl_GetStateImageList)
11511 {
11512 #ifdef dVAR
11513     dVAR; dXSARGS;
11514 #else
11515     dXSARGS;
11516 #endif
11517     if (items != 1)
11518        croak_xs_usage(cv,  "THIS");
11519     {
11520         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
11521         wxImageList *   RETVAL;
11522
11523         RETVAL = THIS->GetStateImageList();
11524         ST(0) = sv_newmortal();
11525     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
11526     wxPli_thread_sv_register( aTHX_ "Wx::ImageList", RETVAL, ST(0) );
11527
11528     wxPli_object_set_deleteable( aTHX_ ST(0), false );
11529     }
11530     XSRETURN(1);
11531 }
11532
11533
11534 XS(XS_Wx__TreeCtrl_HitTest); /* prototype to pass -Wmissing-prototypes */
11535 XS(XS_Wx__TreeCtrl_HitTest)
11536 {
11537 #ifdef dVAR
11538     dVAR; dXSARGS;
11539 #else
11540     dXSARGS;
11541 #endif
11542     if (items != 2)
11543        croak_xs_usage(cv,  "THIS, point");
11544     PERL_UNUSED_VAR(ax); /* -Wall */
11545     SP -= items;
11546     {
11547         wxPoint    point = wxPli_sv_2_wxpoint( aTHX_ ST(1) );
11548     int flags;
11549         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
11550     wxTreeItemId ret = THIS->HitTest( point, flags );
11551     EXTEND( SP, 2 );
11552     PUSHs( wxPli_non_object_2_sv( aTHX_ sv_newmortal(),
11553                                   new wxTreeItemId( ret ),
11554                                   "Wx::TreeItemId" ) );
11555     PUSHs( sv_2mortal( newSViv( flags ) ) );
11556         PUTBACK;
11557         return;
11558     }
11559 }
11560
11561
11562 XS(XS_Wx__TreeCtrl_InsertItem); /* prototype to pass -Wmissing-prototypes */
11563 XS(XS_Wx__TreeCtrl_InsertItem)
11564 {
11565 #ifdef dVAR
11566     dVAR; dXSARGS;
11567 #else
11568     dXSARGS;
11569 #endif
11570     if (items < 1)
11571        croak_xs_usage(cv,  "THIS, ...");
11572     PERL_UNUSED_VAR(ax); /* -Wall */
11573     SP -= items;
11574     {
11575         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
11576     BEGIN_OVERLOAD()
11577         MATCH_REDISP_COUNT_ALLOWMORE( wxPliOvl_wtid_wtid_s_n_n, InsertItemPrev, 3 )
11578         MATCH_REDISP_COUNT_ALLOWMORE( wxPliOvl_wtid_n_s_n_n, InsertItemBef, 3 )
11579     END_OVERLOAD( Wx::TreeCtrl::InsertItem )
11580         PUTBACK;
11581         return;
11582     }
11583 }
11584
11585
11586 XS(XS_Wx__TreeCtrl_InsertItemPrev); /* prototype to pass -Wmissing-prototypes */
11587 XS(XS_Wx__TreeCtrl_InsertItemPrev)
11588 {
11589 #ifdef dVAR
11590     dVAR; dXSARGS;
11591 #else
11592     dXSARGS;
11593 #endif
11594     if (items < 4 || items > 7)
11595        croak_xs_usage(cv,  "THIS, parent, previous, text, image = -1, selImage = -1, data = 0");
11596     {
11597         wxTreeItemId*    parent = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" );
11598         wxTreeItemId*    previous = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::TreeItemId" );
11599         wxString        text;
11600         int     image;
11601         int     selImage;
11602         wxTreeItemData* data;
11603         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
11604         wxTreeItemId *  RETVAL;
11605
11606     WXSTRING_INPUT( text, wxString, ST(3) );
11607
11608         if (items < 5)
11609             image = -1;
11610         else {
11611             image = (int)SvIV(ST(4));
11612         }
11613
11614         if (items < 6)
11615             selImage = -1;
11616         else {
11617             selImage = (int)SvIV(ST(5));
11618         }
11619
11620         if (items < 7)
11621             data = 0;
11622         else {
11623     data = (wxTreeItemData *) wxPli_sv_2_object( aTHX_ ST(6), "Wx::TreeItemData" );
11624         }
11625     RETVAL = new wxTreeItemId( THIS->InsertItem( *parent, *previous, text,
11626                 image, selImage, data ) );
11627         ST(0) = sv_newmortal();
11628     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TreeItemId" );
11629     wxPli_thread_sv_register( aTHX_ "Wx::TreeItemId", RETVAL, ST(0) );
11630
11631     }
11632     XSRETURN(1);
11633 }
11634
11635
11636 XS(XS_Wx__TreeCtrl_InsertItemBef); /* prototype to pass -Wmissing-prototypes */
11637 XS(XS_Wx__TreeCtrl_InsertItemBef)
11638 {
11639 #ifdef dVAR
11640     dVAR; dXSARGS;
11641 #else
11642     dXSARGS;
11643 #endif
11644     if (items < 4 || items > 7)
11645        croak_xs_usage(cv,  "THIS, parent, before, text, image = -1, selImage = -1, data = 0");
11646     {
11647         wxTreeItemId*    parent = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" );
11648         size_t    before = (size_t)SvUV( ST(2) );
11649         wxString        text;
11650         int     image;
11651         int     selImage;
11652         wxTreeItemData* data;
11653         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
11654         wxTreeItemId *  RETVAL;
11655
11656     WXSTRING_INPUT( text, wxString, ST(3) );
11657
11658         if (items < 5)
11659             image = -1;
11660         else {
11661             image = (int)SvIV(ST(4));
11662         }
11663
11664         if (items < 6)
11665             selImage = -1;
11666         else {
11667             selImage = (int)SvIV(ST(5));
11668         }
11669
11670         if (items < 7)
11671             data = 0;
11672         else {
11673     data = (wxTreeItemData *) wxPli_sv_2_object( aTHX_ ST(6), "Wx::TreeItemData" );
11674         }
11675     RETVAL = new wxTreeItemId( THIS->InsertItem( *parent, before, text,
11676                 image, selImage, data ) );
11677         ST(0) = sv_newmortal();
11678     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TreeItemId" );
11679     wxPli_thread_sv_register( aTHX_ "Wx::TreeItemId", RETVAL, ST(0) );
11680
11681     }
11682     XSRETURN(1);
11683 }
11684
11685
11686 XS(XS_Wx__TreeCtrl_IsBold); /* prototype to pass -Wmissing-prototypes */
11687 XS(XS_Wx__TreeCtrl_IsBold)
11688 {
11689 #ifdef dVAR
11690     dVAR; dXSARGS;
11691 #else
11692     dXSARGS;
11693 #endif
11694     if (items != 2)
11695        croak_xs_usage(cv,  "THIS, item");
11696     {
11697         wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" );
11698         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
11699         bool    RETVAL;
11700
11701         RETVAL = THIS->IsBold(*item);
11702         ST(0) = boolSV(RETVAL);
11703         sv_2mortal(ST(0));
11704     }
11705     XSRETURN(1);
11706 }
11707
11708
11709 XS(XS_Wx__TreeCtrl_IsExpanded); /* prototype to pass -Wmissing-prototypes */
11710 XS(XS_Wx__TreeCtrl_IsExpanded)
11711 {
11712 #ifdef dVAR
11713     dVAR; dXSARGS;
11714 #else
11715     dXSARGS;
11716 #endif
11717     if (items != 2)
11718        croak_xs_usage(cv,  "THIS, item");
11719     {
11720         wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" );
11721         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
11722         bool    RETVAL;
11723
11724         RETVAL = THIS->IsExpanded(*item);
11725         ST(0) = boolSV(RETVAL);
11726         sv_2mortal(ST(0));
11727     }
11728     XSRETURN(1);
11729 }
11730
11731
11732 XS(XS_Wx__TreeCtrl_IsSelected); /* prototype to pass -Wmissing-prototypes */
11733 XS(XS_Wx__TreeCtrl_IsSelected)
11734 {
11735 #ifdef dVAR
11736     dVAR; dXSARGS;
11737 #else
11738     dXSARGS;
11739 #endif
11740     if (items != 2)
11741        croak_xs_usage(cv,  "THIS, item");
11742     {
11743         wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" );
11744         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
11745         bool    RETVAL;
11746
11747         RETVAL = THIS->IsSelected(*item);
11748         ST(0) = boolSV(RETVAL);
11749         sv_2mortal(ST(0));
11750     }
11751     XSRETURN(1);
11752 }
11753
11754
11755 XS(XS_Wx__TreeCtrl_IsVisible); /* prototype to pass -Wmissing-prototypes */
11756 XS(XS_Wx__TreeCtrl_IsVisible)
11757 {
11758 #ifdef dVAR
11759     dVAR; dXSARGS;
11760 #else
11761     dXSARGS;
11762 #endif
11763     if (items != 2)
11764        croak_xs_usage(cv,  "THIS, item");
11765     {
11766         wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" );
11767         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
11768         bool    RETVAL;
11769
11770         RETVAL = THIS->IsVisible(*item);
11771         ST(0) = boolSV(RETVAL);
11772         sv_2mortal(ST(0));
11773     }
11774     XSRETURN(1);
11775 }
11776
11777 #if WXPERL_W_VERSION_GE( 2, 8, 3 )
11778 #define XSubPPtmpAABY 1
11779
11780
11781 XS(XS_Wx__TreeCtrl_IsEmpty); /* prototype to pass -Wmissing-prototypes */
11782 XS(XS_Wx__TreeCtrl_IsEmpty)
11783 {
11784 #ifdef dVAR
11785     dVAR; dXSARGS;
11786 #else
11787     dXSARGS;
11788 #endif
11789     if (items != 1)
11790        croak_xs_usage(cv,  "THIS");
11791     {
11792         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
11793         bool    RETVAL;
11794
11795         RETVAL = THIS->IsEmpty();
11796         ST(0) = boolSV(RETVAL);
11797         sv_2mortal(ST(0));
11798     }
11799     XSRETURN(1);
11800 }
11801
11802 #endif
11803
11804 XS(XS_Wx__TreeCtrl_ItemHasChildren); /* prototype to pass -Wmissing-prototypes */
11805 XS(XS_Wx__TreeCtrl_ItemHasChildren)
11806 {
11807 #ifdef dVAR
11808     dVAR; dXSARGS;
11809 #else
11810     dXSARGS;
11811 #endif
11812     if (items != 2)
11813        croak_xs_usage(cv,  "THIS, item");
11814     {
11815         wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" );
11816         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
11817         bool    RETVAL;
11818
11819         RETVAL = THIS->ItemHasChildren(*item);
11820         ST(0) = boolSV(RETVAL);
11821         sv_2mortal(ST(0));
11822     }
11823     XSRETURN(1);
11824 }
11825
11826
11827 XS(XS_Wx__TreeCtrl_OnCompareItems); /* prototype to pass -Wmissing-prototypes */
11828 XS(XS_Wx__TreeCtrl_OnCompareItems)
11829 {
11830 #ifdef dVAR
11831     dVAR; dXSARGS;
11832 #else
11833     dXSARGS;
11834 #endif
11835     if (items != 3)
11836        croak_xs_usage(cv,  "THIS, item1, item2");
11837     {
11838         wxTreeItemId*    item1 = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" );
11839         wxTreeItemId*    item2 = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::TreeItemId" );
11840         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
11841         int     RETVAL;
11842         dXSTARG;
11843     RETVAL = THIS->wxTreeCtrl::OnCompareItems( *item1, *item2 );
11844         XSprePUSH; PUSHi((IV)RETVAL);
11845     }
11846     XSRETURN(1);
11847 }
11848
11849
11850 XS(XS_Wx__TreeCtrl_PrependItem); /* prototype to pass -Wmissing-prototypes */
11851 XS(XS_Wx__TreeCtrl_PrependItem)
11852 {
11853 #ifdef dVAR
11854     dVAR; dXSARGS;
11855 #else
11856     dXSARGS;
11857 #endif
11858     if (items < 3 || items > 6)
11859        croak_xs_usage(cv,  "THIS, parent, text, image = -1, selImage = -1, data = 0");
11860     {
11861         wxTreeItemId*    parent = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" );
11862         wxString        text;
11863         int     image;
11864         int     selImage;
11865         wxTreeItemData* data;
11866         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
11867         wxTreeItemId *  RETVAL;
11868
11869     WXSTRING_INPUT( text, wxString, ST(2) );
11870
11871         if (items < 4)
11872             image = -1;
11873         else {
11874             image = (int)SvIV(ST(3));
11875         }
11876
11877         if (items < 5)
11878             selImage = -1;
11879         else {
11880             selImage = (int)SvIV(ST(4));
11881         }
11882
11883         if (items < 6)
11884             data = 0;
11885         else {
11886     data = (wxTreeItemData *) wxPli_sv_2_object( aTHX_ ST(5), "Wx::TreeItemData" );
11887         }
11888     RETVAL = new wxTreeItemId( THIS->PrependItem( *parent, text, image,
11889          selImage, data ) );
11890         ST(0) = sv_newmortal();
11891     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TreeItemId" );
11892     wxPli_thread_sv_register( aTHX_ "Wx::TreeItemId", RETVAL, ST(0) );
11893
11894     }
11895     XSRETURN(1);
11896 }
11897
11898
11899 XS(XS_Wx__TreeCtrl_ScrollTo); /* prototype to pass -Wmissing-prototypes */
11900 XS(XS_Wx__TreeCtrl_ScrollTo)
11901 {
11902 #ifdef dVAR
11903     dVAR; dXSARGS;
11904 #else
11905     dXSARGS;
11906 #endif
11907     if (items != 2)
11908        croak_xs_usage(cv,  "THIS, item");
11909     {
11910         wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" );
11911         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
11912
11913         THIS->ScrollTo(*item);
11914     }
11915     XSRETURN_EMPTY;
11916 }
11917
11918 #if WXPERL_W_VERSION_GE( 2, 5, 2 )
11919 #define XSubPPtmpAABZ 1
11920
11921
11922 XS(XS_Wx__TreeCtrl_SelectItem); /* prototype to pass -Wmissing-prototypes */
11923 XS(XS_Wx__TreeCtrl_SelectItem)
11924 {
11925 #ifdef dVAR
11926     dVAR; dXSARGS;
11927 #else
11928     dXSARGS;
11929 #endif
11930     if (items < 2 || items > 3)
11931        croak_xs_usage(cv,  "THIS, item, select = true");
11932     {
11933         wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" );
11934         bool    select;
11935         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
11936
11937         if (items < 3)
11938             select = true;
11939         else {
11940             select = (bool)SvTRUE(ST(2));
11941         }
11942
11943         THIS->SelectItem(*item, select);
11944     }
11945     XSRETURN_EMPTY;
11946 }
11947
11948 #else
11949 #define XSubPPtmpAACA 1
11950
11951
11952 XS(XS_Wx__TreeCtrl_SelectItem); /* prototype to pass -Wmissing-prototypes */
11953 XS(XS_Wx__TreeCtrl_SelectItem)
11954 {
11955 #ifdef dVAR
11956     dVAR; dXSARGS;
11957 #else
11958     dXSARGS;
11959 #endif
11960     if (items != 2)
11961        croak_xs_usage(cv,  "THIS, item");
11962     {
11963         wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" );
11964         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
11965
11966         THIS->SelectItem(*item);
11967     }
11968     XSRETURN_EMPTY;
11969 }
11970
11971 #endif
11972
11973 XS(XS_Wx__TreeCtrl_SetIndent); /* prototype to pass -Wmissing-prototypes */
11974 XS(XS_Wx__TreeCtrl_SetIndent)
11975 {
11976 #ifdef dVAR
11977     dVAR; dXSARGS;
11978 #else
11979     dXSARGS;
11980 #endif
11981     if (items != 2)
11982        croak_xs_usage(cv,  "THIS, indent");
11983     {
11984         int     indent = (int)SvIV(ST(1));
11985         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
11986
11987         THIS->SetIndent(indent);
11988     }
11989     XSRETURN_EMPTY;
11990 }
11991
11992
11993 XS(XS_Wx__TreeCtrl_SetImageList); /* prototype to pass -Wmissing-prototypes */
11994 XS(XS_Wx__TreeCtrl_SetImageList)
11995 {
11996 #ifdef dVAR
11997     dVAR; dXSARGS;
11998 #else
11999     dXSARGS;
12000 #endif
12001     if (items != 2)
12002        croak_xs_usage(cv,  "THIS, list");
12003     {
12004         wxImageList*    list = (wxImageList *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::ImageList" );
12005         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
12006
12007         THIS->SetImageList(list);
12008     }
12009     XSRETURN_EMPTY;
12010 }
12011
12012 #if !defined( __WXMSW__ )
12013 #define XSubPPtmpAACB 1
12014
12015
12016 XS(XS_Wx__TreeCtrl_SetButtonsImageList); /* prototype to pass -Wmissing-prototypes */
12017 XS(XS_Wx__TreeCtrl_SetButtonsImageList)
12018 {
12019 #ifdef dVAR
12020     dVAR; dXSARGS;
12021 #else
12022     dXSARGS;
12023 #endif
12024     if (items != 2)
12025        croak_xs_usage(cv,  "THIS, list");
12026     {
12027         wxImageList*    list = (wxImageList *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::ImageList" );
12028         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
12029
12030         THIS->SetButtonsImageList(list);
12031     }
12032     XSRETURN_EMPTY;
12033 }
12034
12035 #endif    
12036
12037 XS(XS_Wx__TreeCtrl_SetStateImageList); /* prototype to pass -Wmissing-prototypes */
12038 XS(XS_Wx__TreeCtrl_SetStateImageList)
12039 {
12040 #ifdef dVAR
12041     dVAR; dXSARGS;
12042 #else
12043     dXSARGS;
12044 #endif
12045     if (items != 2)
12046        croak_xs_usage(cv,  "THIS, list");
12047     {
12048         wxImageList*    list = (wxImageList *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::ImageList" );
12049         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
12050
12051         THIS->SetStateImageList(list);
12052     }
12053     XSRETURN_EMPTY;
12054 }
12055
12056
12057 XS(XS_Wx__TreeCtrl_AssignImageList); /* prototype to pass -Wmissing-prototypes */
12058 XS(XS_Wx__TreeCtrl_AssignImageList)
12059 {
12060 #ifdef dVAR
12061     dVAR; dXSARGS;
12062 #else
12063     dXSARGS;
12064 #endif
12065     if (items != 2)
12066        croak_xs_usage(cv,  "THIS, list");
12067     {
12068         wxImageList*    list = (wxImageList *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::ImageList" );
12069         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
12070     wxPli_object_set_deleteable( aTHX_ ST(1), false );
12071     THIS->AssignImageList( list );
12072     }
12073     XSRETURN_EMPTY;
12074 }
12075
12076
12077 XS(XS_Wx__TreeCtrl_AssignButtonsImageList); /* prototype to pass -Wmissing-prototypes */
12078 XS(XS_Wx__TreeCtrl_AssignButtonsImageList)
12079 {
12080 #ifdef dVAR
12081     dVAR; dXSARGS;
12082 #else
12083     dXSARGS;
12084 #endif
12085     if (items != 2)
12086        croak_xs_usage(cv,  "THIS, list");
12087     {
12088         wxImageList*    list = (wxImageList *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::ImageList" );
12089         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
12090     wxPli_object_set_deleteable( aTHX_ ST(1), false );
12091     THIS->AssignStateImageList( list );
12092     }
12093     XSRETURN_EMPTY;
12094 }
12095
12096
12097 XS(XS_Wx__TreeCtrl_AssignStateImageList); /* prototype to pass -Wmissing-prototypes */
12098 XS(XS_Wx__TreeCtrl_AssignStateImageList)
12099 {
12100 #ifdef dVAR
12101     dVAR; dXSARGS;
12102 #else
12103     dXSARGS;
12104 #endif
12105     if (items != 2)
12106        croak_xs_usage(cv,  "THIS, list");
12107     {
12108         wxImageList*    list = (wxImageList *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::ImageList" );
12109         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
12110     wxPli_object_set_deleteable( aTHX_ ST(1), false );
12111     THIS->AssignStateImageList( list );
12112     }
12113     XSRETURN_EMPTY;
12114 }
12115
12116
12117 XS(XS_Wx__TreeCtrl_SetItemBackgroundColour); /* prototype to pass -Wmissing-prototypes */
12118 XS(XS_Wx__TreeCtrl_SetItemBackgroundColour)
12119 {
12120 #ifdef dVAR
12121     dVAR; dXSARGS;
12122 #else
12123     dXSARGS;
12124 #endif
12125     if (items != 3)
12126        croak_xs_usage(cv,  "THIS, item, col");
12127     {
12128         wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" );
12129         wxColour    col = *(wxColour *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Colour" );
12130         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
12131
12132         THIS->SetItemBackgroundColour(*item, col);
12133     }
12134     XSRETURN_EMPTY;
12135 }
12136
12137
12138 XS(XS_Wx__TreeCtrl_SetItemBold); /* prototype to pass -Wmissing-prototypes */
12139 XS(XS_Wx__TreeCtrl_SetItemBold)
12140 {
12141 #ifdef dVAR
12142     dVAR; dXSARGS;
12143 #else
12144     dXSARGS;
12145 #endif
12146     if (items < 2 || items > 3)
12147        croak_xs_usage(cv,  "THIS, item, bold = true");
12148     {
12149         wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" );
12150         bool    bold;
12151         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
12152
12153         if (items < 3)
12154             bold = true;
12155         else {
12156             bold = (bool)SvTRUE(ST(2));
12157         }
12158
12159         THIS->SetItemBold(*item, bold);
12160     }
12161     XSRETURN_EMPTY;
12162 }
12163
12164
12165 XS(XS_Wx__TreeCtrl_SetItemData); /* prototype to pass -Wmissing-prototypes */
12166 XS(XS_Wx__TreeCtrl_SetItemData)
12167 {
12168 #ifdef dVAR
12169     dVAR; dXSARGS;
12170 #else
12171     dXSARGS;
12172 #endif
12173     if (items != 3)
12174        croak_xs_usage(cv,  "THIS, item, data");
12175     {
12176         wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" );
12177         wxTreeItemData*    data = (wxTreeItemData *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::TreeItemData" );
12178         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
12179     wxTreeItemData* tid = THIS->GetItemData( *item );
12180     if( tid ) delete tid;
12181     THIS->SetItemData( *item, data );
12182     }
12183     XSRETURN_EMPTY;
12184 }
12185
12186
12187 XS(XS_Wx__TreeCtrl_SetPlData); /* prototype to pass -Wmissing-prototypes */
12188 XS(XS_Wx__TreeCtrl_SetPlData)
12189 {
12190 #ifdef dVAR
12191     dVAR; dXSARGS;
12192 #else
12193     dXSARGS;
12194 #endif
12195     if (items != 3)
12196        croak_xs_usage(cv,  "THIS, item, data");
12197     {
12198         wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" );
12199         SV_null*    data = SvOK( ST(2) ) ? ST(2) : 0;
12200         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
12201     wxTreeItemData* tid = THIS->GetItemData( *item );
12202     if( tid ) delete tid;
12203     THIS->SetItemData( *item, data ? new wxPliTreeItemData( data ) : 0 );
12204     }
12205     XSRETURN_EMPTY;
12206 }
12207
12208 #if defined( __WXMSW__ )
12209 #define XSubPPtmpAACC 1
12210
12211
12212 XS(XS_Wx__TreeCtrl_SetItemDropHighlight); /* prototype to pass -Wmissing-prototypes */
12213 XS(XS_Wx__TreeCtrl_SetItemDropHighlight)
12214 {
12215 #ifdef dVAR
12216     dVAR; dXSARGS;
12217 #else
12218     dXSARGS;
12219 #endif
12220     if (items < 2 || items > 3)
12221        croak_xs_usage(cv,  "THIS, item, highlight = true");
12222     {
12223         wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" );
12224         bool    highlight;
12225         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
12226
12227         if (items < 3)
12228             highlight = true;
12229         else {
12230             highlight = (bool)SvTRUE(ST(2));
12231         }
12232
12233         THIS->SetItemDropHighlight(*item, highlight);
12234     }
12235     XSRETURN_EMPTY;
12236 }
12237
12238 #endif
12239
12240 XS(XS_Wx__TreeCtrl_SetItemFont); /* prototype to pass -Wmissing-prototypes */
12241 XS(XS_Wx__TreeCtrl_SetItemFont)
12242 {
12243 #ifdef dVAR
12244     dVAR; dXSARGS;
12245 #else
12246     dXSARGS;
12247 #endif
12248     if (items != 3)
12249        croak_xs_usage(cv,  "THIS, item, font");
12250     {
12251         wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" );
12252         wxFont*    font = (wxFont *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Font" );
12253         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
12254
12255         THIS->SetItemFont(*item, *font);
12256     }
12257     XSRETURN_EMPTY;
12258 }
12259
12260
12261 XS(XS_Wx__TreeCtrl_SetItemHasChildren); /* prototype to pass -Wmissing-prototypes */
12262 XS(XS_Wx__TreeCtrl_SetItemHasChildren)
12263 {
12264 #ifdef dVAR
12265     dVAR; dXSARGS;
12266 #else
12267     dXSARGS;
12268 #endif
12269     if (items < 2 || items > 3)
12270        croak_xs_usage(cv,  "THIS, item, hasChildren = true");
12271     {
12272         wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" );
12273         bool    hasChildren;
12274         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
12275
12276         if (items < 3)
12277             hasChildren = true;
12278         else {
12279             hasChildren = (bool)SvTRUE(ST(2));
12280         }
12281
12282         THIS->SetItemHasChildren(*item, hasChildren);
12283     }
12284     XSRETURN_EMPTY;
12285 }
12286
12287
12288 XS(XS_Wx__TreeCtrl_SetItemImage); /* prototype to pass -Wmissing-prototypes */
12289 XS(XS_Wx__TreeCtrl_SetItemImage)
12290 {
12291 #ifdef dVAR
12292     dVAR; dXSARGS;
12293 #else
12294     dXSARGS;
12295 #endif
12296     if (items < 3 || items > 4)
12297        croak_xs_usage(cv,  "THIS, item, image, which = wxTreeItemIcon_Normal");
12298     {
12299         wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" );
12300         int     image = (int)SvIV(ST(2));
12301         wxTreeItemIcon  which;
12302         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
12303
12304         if (items < 4)
12305             which = wxTreeItemIcon_Normal;
12306         else {
12307     which = (wxTreeItemIcon)SvUV( ST(3) );
12308         }
12309
12310         THIS->SetItemImage(*item, image, which);
12311     }
12312     XSRETURN_EMPTY;
12313 }
12314
12315
12316 XS(XS_Wx__TreeCtrl_SetItemText); /* prototype to pass -Wmissing-prototypes */
12317 XS(XS_Wx__TreeCtrl_SetItemText)
12318 {
12319 #ifdef dVAR
12320     dVAR; dXSARGS;
12321 #else
12322     dXSARGS;
12323 #endif
12324     if (items != 3)
12325        croak_xs_usage(cv,  "THIS, item, text");
12326     {
12327         wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" );
12328         wxString        text;
12329         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
12330
12331     WXSTRING_INPUT( text, wxString, ST(2) );
12332
12333         THIS->SetItemText(*item, text);
12334     }
12335     XSRETURN_EMPTY;
12336 }
12337
12338
12339 XS(XS_Wx__TreeCtrl_SetItemTextColour); /* prototype to pass -Wmissing-prototypes */
12340 XS(XS_Wx__TreeCtrl_SetItemTextColour)
12341 {
12342 #ifdef dVAR
12343     dVAR; dXSARGS;
12344 #else
12345     dXSARGS;
12346 #endif
12347     if (items != 3)
12348        croak_xs_usage(cv,  "THIS, item, col");
12349     {
12350         wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" );
12351         wxColour    col = *(wxColour *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Colour" );
12352         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
12353
12354         THIS->SetItemTextColour(*item, col);
12355     }
12356     XSRETURN_EMPTY;
12357 }
12358
12359
12360 XS(XS_Wx__TreeCtrl_SortChildren); /* prototype to pass -Wmissing-prototypes */
12361 XS(XS_Wx__TreeCtrl_SortChildren)
12362 {
12363 #ifdef dVAR
12364     dVAR; dXSARGS;
12365 #else
12366     dXSARGS;
12367 #endif
12368     if (items != 2)
12369        croak_xs_usage(cv,  "THIS, item");
12370     {
12371         wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" );
12372         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
12373
12374         THIS->SortChildren(*item);
12375     }
12376     XSRETURN_EMPTY;
12377 }
12378
12379
12380 XS(XS_Wx__TreeCtrl_Toggle); /* prototype to pass -Wmissing-prototypes */
12381 XS(XS_Wx__TreeCtrl_Toggle)
12382 {
12383 #ifdef dVAR
12384     dVAR; dXSARGS;
12385 #else
12386     dXSARGS;
12387 #endif
12388     if (items != 2)
12389        croak_xs_usage(cv,  "THIS, item");
12390     {
12391         wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" );
12392         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
12393
12394         THIS->Toggle(*item);
12395     }
12396     XSRETURN_EMPTY;
12397 }
12398
12399 #if WXPERL_W_VERSION_GE( 2, 5, 3 )
12400 #define XSubPPtmpAACD 1
12401
12402
12403 XS(XS_Wx__TreeCtrl_UnselectItem); /* prototype to pass -Wmissing-prototypes */
12404 XS(XS_Wx__TreeCtrl_UnselectItem)
12405 {
12406 #ifdef dVAR
12407     dVAR; dXSARGS;
12408 #else
12409     dXSARGS;
12410 #endif
12411     if (items != 2)
12412        croak_xs_usage(cv,  "THIS, item");
12413     {
12414         wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" );
12415         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
12416
12417         THIS->UnselectItem(*item);
12418     }
12419     XSRETURN_EMPTY;
12420 }
12421
12422
12423 XS(XS_Wx__TreeCtrl_ToggleItemSelection); /* prototype to pass -Wmissing-prototypes */
12424 XS(XS_Wx__TreeCtrl_ToggleItemSelection)
12425 {
12426 #ifdef dVAR
12427     dVAR; dXSARGS;
12428 #else
12429     dXSARGS;
12430 #endif
12431     if (items != 2)
12432        croak_xs_usage(cv,  "THIS, item");
12433     {
12434         wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" );
12435         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
12436
12437         THIS->ToggleItemSelection(*item);
12438     }
12439     XSRETURN_EMPTY;
12440 }
12441
12442 #endif
12443
12444 XS(XS_Wx__TreeCtrl_Unselect); /* prototype to pass -Wmissing-prototypes */
12445 XS(XS_Wx__TreeCtrl_Unselect)
12446 {
12447 #ifdef dVAR
12448     dVAR; dXSARGS;
12449 #else
12450     dXSARGS;
12451 #endif
12452     if (items != 1)
12453        croak_xs_usage(cv,  "THIS");
12454     {
12455         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
12456
12457         THIS->Unselect();
12458     }
12459     XSRETURN_EMPTY;
12460 }
12461
12462
12463 XS(XS_Wx__TreeCtrl_UnselectAll); /* prototype to pass -Wmissing-prototypes */
12464 XS(XS_Wx__TreeCtrl_UnselectAll)
12465 {
12466 #ifdef dVAR
12467     dVAR; dXSARGS;
12468 #else
12469     dXSARGS;
12470 #endif
12471     if (items != 1)
12472        croak_xs_usage(cv,  "THIS");
12473     {
12474         wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" );
12475
12476         THIS->UnselectAll();
12477     }
12478     XSRETURN_EMPTY;
12479 }
12480
12481
12482 /* INCLUDE: Returning to 'XS/ToggleButton.xs' from 'XS/TreeCtrl.xs' */
12483
12484 #if wxPERL_USE_TOGGLEBTN
12485 #include <wx/tglbtn.h>
12486 #define XSubPPtmpAACE 1
12487
12488
12489 XS(XS_Wx__ToggleButton_new); /* prototype to pass -Wmissing-prototypes */
12490 XS(XS_Wx__ToggleButton_new)
12491 {
12492 #ifdef dVAR
12493     dVAR; dXSARGS;
12494 #else
12495     dXSARGS;
12496 #endif
12497     PERL_UNUSED_VAR(cv); /* -W */
12498     PERL_UNUSED_VAR(ax); /* -Wall */
12499     SP -= items;
12500     {
12501     BEGIN_OVERLOAD()
12502         MATCH_VOIDM_REDISP( newDefault )
12503         MATCH_ANY_REDISP( newFull )
12504     END_OVERLOAD( "Wx::ToggleButton::new" )
12505         PUTBACK;
12506         return;
12507     }
12508 }
12509
12510
12511 XS(XS_Wx__ToggleButton_newDefault); /* prototype to pass -Wmissing-prototypes */
12512 XS(XS_Wx__ToggleButton_newDefault)
12513 {
12514 #ifdef dVAR
12515     dVAR; dXSARGS;
12516 #else
12517     dXSARGS;
12518 #endif
12519     if (items != 1)
12520        croak_xs_usage(cv,  "CLASS");
12521     {
12522         PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) );
12523         wxToggleButton *        RETVAL;
12524     RETVAL = new wxToggleButton();
12525     wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
12526         ST(0) = sv_newmortal();
12527     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
12528
12529     }
12530     XSRETURN(1);
12531 }
12532
12533
12534 XS(XS_Wx__ToggleButton_newFull); /* prototype to pass -Wmissing-prototypes */
12535 XS(XS_Wx__ToggleButton_newFull)
12536 {
12537 #ifdef dVAR
12538     dVAR; dXSARGS;
12539 #else
12540     dXSARGS;
12541 #endif
12542     if (items < 4 || items > 9)
12543        croak_xs_usage(cv,  "CLASS, parent, id, label, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, validator = (wxValidator*)&wxDefaultValidator, name = wxCheckBoxNameStr");
12544     {
12545         PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) );
12546         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
12547         wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) );
12548         wxString        label;
12549         wxPoint pos;
12550         wxSize  size;
12551         long    style;
12552         wxValidator*    validator;
12553         wxString        name;
12554         wxToggleButton *        RETVAL;
12555
12556     WXSTRING_INPUT( label, wxString, ST(3) );
12557
12558         if (items < 5)
12559             pos = wxDefaultPosition;
12560         else {
12561     pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
12562         }
12563
12564         if (items < 6)
12565             size = wxDefaultSize;
12566         else {
12567     size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
12568         }
12569
12570         if (items < 7)
12571             style = 0;
12572         else {
12573             style = (long)SvIV(ST(6));
12574         }
12575
12576         if (items < 8)
12577             validator = (wxValidator*)&wxDefaultValidator;
12578         else {
12579     validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" );
12580         }
12581
12582         if (items < 9)
12583             name = wxCheckBoxNameStr;
12584         else {
12585     WXSTRING_INPUT( name, wxString, ST(8) );
12586         }
12587     RETVAL = new wxToggleButton( parent, id, label, pos, size, 
12588         style, *validator, name );
12589     wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
12590         ST(0) = sv_newmortal();
12591     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
12592
12593     }
12594     XSRETURN(1);
12595 }
12596
12597
12598 XS(XS_Wx__ToggleButton_Create); /* prototype to pass -Wmissing-prototypes */
12599 XS(XS_Wx__ToggleButton_Create)
12600 {
12601 #ifdef dVAR
12602     dVAR; dXSARGS;
12603 #else
12604     dXSARGS;
12605 #endif
12606     if (items < 4 || items > 9)
12607        croak_xs_usage(cv,  "THIS, parent, id, label, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, validator = (wxValidator*)&wxDefaultValidator, name = wxCheckBoxNameStr");
12608     {
12609         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
12610         wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) );
12611         wxString        label;
12612         wxPoint pos;
12613         wxSize  size;
12614         long    style;
12615         wxValidator*    validator;
12616         wxString        name;
12617         wxToggleButton *    THIS = (wxToggleButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToggleButton" );
12618         bool    RETVAL;
12619
12620     WXSTRING_INPUT( label, wxString, ST(3) );
12621
12622         if (items < 5)
12623             pos = wxDefaultPosition;
12624         else {
12625     pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
12626         }
12627
12628         if (items < 6)
12629             size = wxDefaultSize;
12630         else {
12631     size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
12632         }
12633
12634         if (items < 7)
12635             style = 0;
12636         else {
12637             style = (long)SvIV(ST(6));
12638         }
12639
12640         if (items < 8)
12641             validator = (wxValidator*)&wxDefaultValidator;
12642         else {
12643     validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" );
12644         }
12645
12646         if (items < 9)
12647             name = wxCheckBoxNameStr;
12648         else {
12649     WXSTRING_INPUT( name, wxString, ST(8) );
12650         }
12651
12652         RETVAL = THIS->Create(parent, id, label, pos, size, style, *validator, name);
12653         ST(0) = boolSV(RETVAL);
12654         sv_2mortal(ST(0));
12655     }
12656     XSRETURN(1);
12657 }
12658
12659
12660 XS(XS_Wx__ToggleButton_GetValue); /* prototype to pass -Wmissing-prototypes */
12661 XS(XS_Wx__ToggleButton_GetValue)
12662 {
12663 #ifdef dVAR
12664     dVAR; dXSARGS;
12665 #else
12666     dXSARGS;
12667 #endif
12668     if (items != 1)
12669        croak_xs_usage(cv,  "THIS");
12670     {
12671         wxToggleButton *    THIS = (wxToggleButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToggleButton" );
12672         bool    RETVAL;
12673
12674         RETVAL = THIS->GetValue();
12675         ST(0) = boolSV(RETVAL);
12676         sv_2mortal(ST(0));
12677     }
12678     XSRETURN(1);
12679 }
12680
12681
12682 XS(XS_Wx__ToggleButton_SetValue); /* prototype to pass -Wmissing-prototypes */
12683 XS(XS_Wx__ToggleButton_SetValue)
12684 {
12685 #ifdef dVAR
12686     dVAR; dXSARGS;
12687 #else
12688     dXSARGS;
12689 #endif
12690     if (items != 2)
12691        croak_xs_usage(cv,  "THIS, value");
12692     {
12693         bool    value = (bool)SvTRUE(ST(1));
12694         wxToggleButton *    THIS = (wxToggleButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToggleButton" );
12695
12696         THIS->SetValue(value);
12697     }
12698     XSRETURN_EMPTY;
12699 }
12700
12701 #if WXPERL_W_VERSION_GE( 2, 9, 0 ) && !defined(__WXMSW__)
12702 #define XSubPPtmpAACF 1
12703
12704
12705 XS(XS_Wx__BitmapToggleButton_new); /* prototype to pass -Wmissing-prototypes */
12706 XS(XS_Wx__BitmapToggleButton_new)
12707 {
12708 #ifdef dVAR
12709     dVAR; dXSARGS;
12710 #else
12711     dXSARGS;
12712 #endif
12713     PERL_UNUSED_VAR(cv); /* -W */
12714     PERL_UNUSED_VAR(ax); /* -Wall */
12715     SP -= items;
12716     {
12717     BEGIN_OVERLOAD()
12718         MATCH_VOIDM_REDISP( newDefault )
12719         MATCH_ANY_REDISP( newFull )
12720     END_OVERLOAD( "Wx::BitmapToggleButton::new" )
12721         PUTBACK;
12722         return;
12723     }
12724 }
12725
12726
12727 XS(XS_Wx__BitmapToggleButton_newDefault); /* prototype to pass -Wmissing-prototypes */
12728 XS(XS_Wx__BitmapToggleButton_newDefault)
12729 {
12730 #ifdef dVAR
12731     dVAR; dXSARGS;
12732 #else
12733     dXSARGS;
12734 #endif
12735     if (items != 1)
12736        croak_xs_usage(cv,  "CLASS");
12737     {
12738         PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) );
12739         wxBitmapToggleButton *  RETVAL;
12740     RETVAL = new wxBitmapToggleButton();
12741     wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
12742         ST(0) = sv_newmortal();
12743     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
12744
12745     }
12746     XSRETURN(1);
12747 }
12748
12749
12750 XS(XS_Wx__BitmapToggleButton_newFull); /* prototype to pass -Wmissing-prototypes */
12751 XS(XS_Wx__BitmapToggleButton_newFull)
12752 {
12753 #ifdef dVAR
12754     dVAR; dXSARGS;
12755 #else
12756     dXSARGS;
12757 #endif
12758     if (items < 4 || items > 9)
12759        croak_xs_usage(cv,  "CLASS, parent, id, label, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, validator = (wxValidator*)&wxDefaultValidator, name = wxCheckBoxNameStr");
12760     {
12761         PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) );
12762         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
12763         wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) );
12764         wxBitmap*    label = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::Bitmap" );
12765         wxPoint pos;
12766         wxSize  size;
12767         long    style;
12768         wxValidator*    validator;
12769         wxString        name;
12770         wxBitmapToggleButton *  RETVAL;
12771
12772         if (items < 5)
12773             pos = wxDefaultPosition;
12774         else {
12775     pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
12776         }
12777
12778         if (items < 6)
12779             size = wxDefaultSize;
12780         else {
12781     size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
12782         }
12783
12784         if (items < 7)
12785             style = 0;
12786         else {
12787             style = (long)SvIV(ST(6));
12788         }
12789
12790         if (items < 8)
12791             validator = (wxValidator*)&wxDefaultValidator;
12792         else {
12793     validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" );
12794         }
12795
12796         if (items < 9)
12797             name = wxCheckBoxNameStr;
12798         else {
12799     WXSTRING_INPUT( name, wxString, ST(8) );
12800         }
12801     RETVAL = new wxBitmapToggleButton( parent, id, *label, pos, size, 
12802                                        style, *validator, name );
12803     wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
12804         ST(0) = sv_newmortal();
12805     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
12806
12807     }
12808     XSRETURN(1);
12809 }
12810
12811
12812 XS(XS_Wx__BitmapToggleButton_Create); /* prototype to pass -Wmissing-prototypes */
12813 XS(XS_Wx__BitmapToggleButton_Create)
12814 {
12815 #ifdef dVAR
12816     dVAR; dXSARGS;
12817 #else
12818     dXSARGS;
12819 #endif
12820     if (items < 4 || items > 9)
12821        croak_xs_usage(cv,  "THIS, parent, id, label, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, validator = (wxValidator*)&wxDefaultValidator, name = wxCheckBoxNameStr");
12822     {
12823         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
12824         wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) );
12825         wxBitmap*    label = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::Bitmap" );
12826         wxPoint pos;
12827         wxSize  size;
12828         long    style;
12829         wxValidator*    validator;
12830         wxString        name;
12831         wxBitmapToggleButton *    THIS = (wxBitmapToggleButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BitmapToggleButton" );
12832         bool    RETVAL;
12833
12834         if (items < 5)
12835             pos = wxDefaultPosition;
12836         else {
12837     pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
12838         }
12839
12840         if (items < 6)
12841             size = wxDefaultSize;
12842         else {
12843     size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
12844         }
12845
12846         if (items < 7)
12847             style = 0;
12848         else {
12849             style = (long)SvIV(ST(6));
12850         }
12851
12852         if (items < 8)
12853             validator = (wxValidator*)&wxDefaultValidator;
12854         else {
12855     validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" );
12856         }
12857
12858         if (items < 9)
12859             name = wxCheckBoxNameStr;
12860         else {
12861     WXSTRING_INPUT( name, wxString, ST(8) );
12862         }
12863
12864         RETVAL = THIS->Create(parent, id, *label, pos, size, style, *validator, name);
12865         ST(0) = boolSV(RETVAL);
12866         sv_2mortal(ST(0));
12867     }
12868     XSRETURN(1);
12869 }
12870
12871
12872 XS(XS_Wx__BitmapToggleButton_GetValue); /* prototype to pass -Wmissing-prototypes */
12873 XS(XS_Wx__BitmapToggleButton_GetValue)
12874 {
12875 #ifdef dVAR
12876     dVAR; dXSARGS;
12877 #else
12878     dXSARGS;
12879 #endif
12880     if (items != 1)
12881        croak_xs_usage(cv,  "THIS");
12882     {
12883         wxBitmapToggleButton *    THIS = (wxBitmapToggleButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BitmapToggleButton" );
12884         bool    RETVAL;
12885
12886         RETVAL = THIS->GetValue();
12887         ST(0) = boolSV(RETVAL);
12888         sv_2mortal(ST(0));
12889     }
12890     XSRETURN(1);
12891 }
12892
12893
12894 XS(XS_Wx__BitmapToggleButton_SetValue); /* prototype to pass -Wmissing-prototypes */
12895 XS(XS_Wx__BitmapToggleButton_SetValue)
12896 {
12897 #ifdef dVAR
12898     dVAR; dXSARGS;
12899 #else
12900     dXSARGS;
12901 #endif
12902     if (items != 2)
12903        croak_xs_usage(cv,  "THIS, value");
12904     {
12905         bool    value = (bool)SvTRUE(ST(1));
12906         wxBitmapToggleButton *    THIS = (wxBitmapToggleButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BitmapToggleButton" );
12907
12908         THIS->SetValue(value);
12909     }
12910     XSRETURN_EMPTY;
12911 }
12912
12913 #endif
12914 #endif
12915
12916 /* INCLUDE: Returning to 'XS/StaticText.xs' from 'XS/ToggleButton.xs' */
12917
12918 #include <wx/stattext.h>
12919
12920 XS(XS_Wx__StaticText_new); /* prototype to pass -Wmissing-prototypes */
12921 XS(XS_Wx__StaticText_new)
12922 {
12923 #ifdef dVAR
12924     dVAR; dXSARGS;
12925 #else
12926     dXSARGS;
12927 #endif
12928     if (items < 4 || items > 8)
12929        croak_xs_usage(cv,  "CLASS, parent, id, label, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, name = wxStaticTextNameStr");
12930     {
12931         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
12932         wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) );
12933         wxString        label;
12934         wxPoint pos;
12935         wxSize  size;
12936         long    style;
12937         wxString        name;
12938         char *  CLASS = (char *)SvPV_nolen(ST(0));
12939         wxStaticText *  RETVAL;
12940
12941     WXSTRING_INPUT( label, wxString, ST(3) );
12942
12943         if (items < 5)
12944             pos = wxDefaultPosition;
12945         else {
12946     pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
12947         }
12948
12949         if (items < 6)
12950             size = wxDefaultSize;
12951         else {
12952     size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
12953         }
12954
12955         if (items < 7)
12956             style = 0;
12957         else {
12958             style = (long)SvIV(ST(6));
12959         }
12960
12961         if (items < 8)
12962             name = wxStaticTextNameStr;
12963         else {
12964     WXSTRING_INPUT( name, wxString, ST(7) );
12965         }
12966     RETVAL = new wxStaticText( parent, id, label,
12967         pos, size, style, name );
12968     wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
12969         ST(0) = sv_newmortal();
12970     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
12971
12972     }
12973     XSRETURN(1);
12974 }
12975
12976
12977 XS(XS_Wx__StaticText_Create); /* prototype to pass -Wmissing-prototypes */
12978 XS(XS_Wx__StaticText_Create)
12979 {
12980 #ifdef dVAR
12981     dVAR; dXSARGS;
12982 #else
12983     dXSARGS;
12984 #endif
12985     if (items < 4 || items > 8)
12986        croak_xs_usage(cv,  "THIS, parent, id, label, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, name = wxStaticTextNameStr");
12987     {
12988         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
12989         wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) );
12990         wxString        label;
12991         wxPoint pos;
12992         wxSize  size;
12993         long    style;
12994         wxString        name;
12995         wxStaticText *    THIS = (wxStaticText *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::StaticText" );
12996         bool    RETVAL;
12997
12998     WXSTRING_INPUT( label, wxString, ST(3) );
12999
13000         if (items < 5)
13001             pos = wxDefaultPosition;
13002         else {
13003     pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
13004         }
13005
13006         if (items < 6)
13007             size = wxDefaultSize;
13008         else {
13009     size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
13010         }
13011
13012         if (items < 7)
13013             style = 0;
13014         else {
13015             style = (long)SvIV(ST(6));
13016         }
13017
13018         if (items < 8)
13019             name = wxStaticTextNameStr;
13020         else {
13021     WXSTRING_INPUT( name, wxString, ST(7) );
13022         }
13023
13024         RETVAL = THIS->Create(parent, id, label, pos, size, style, name);
13025         ST(0) = boolSV(RETVAL);
13026         sv_2mortal(ST(0));
13027     }
13028     XSRETURN(1);
13029 }
13030
13031 #if WXPERL_W_VERSION_GE( 2, 6, 3 )
13032 #define XSubPPtmpAACG 1
13033
13034
13035 XS(XS_Wx__StaticText_Wrap); /* prototype to pass -Wmissing-prototypes */
13036 XS(XS_Wx__StaticText_Wrap)
13037 {
13038 #ifdef dVAR
13039     dVAR; dXSARGS;
13040 #else
13041     dXSARGS;
13042 #endif
13043     if (items != 2)
13044        croak_xs_usage(cv,  "THIS, width");
13045     {
13046         int     width = (int)SvIV(ST(1));
13047         wxStaticText *    THIS = (wxStaticText *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::StaticText" );
13048
13049         THIS->Wrap(width);
13050     }
13051     XSRETURN_EMPTY;
13052 }
13053
13054 #endif
13055
13056 /* INCLUDE: Returning to 'XS/StaticLine.xs' from 'XS/StaticText.xs' */
13057
13058 #include <wx/statline.h>
13059
13060 XS(XS_Wx__StaticLine_new); /* prototype to pass -Wmissing-prototypes */
13061 XS(XS_Wx__StaticLine_new)
13062 {
13063 #ifdef dVAR
13064     dVAR; dXSARGS;
13065 #else
13066     dXSARGS;
13067 #endif
13068     if (items < 2 || items > 7)
13069        croak_xs_usage(cv,  "CLASS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = wxLI_HORIZONTAL, name = wxStaticTextNameStr");
13070     {
13071         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
13072         wxWindowID      id;
13073         wxPoint pos;
13074         wxSize  size;
13075         long    style;
13076         wxString        name;
13077         char *  CLASS = (char *)SvPV_nolen(ST(0));
13078         wxStaticLine *  RETVAL;
13079
13080         if (items < 3)
13081             id = wxID_ANY;
13082         else {
13083     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
13084         }
13085
13086         if (items < 4)
13087             pos = wxDefaultPosition;
13088         else {
13089     pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) );
13090         }
13091
13092         if (items < 5)
13093             size = wxDefaultSize;
13094         else {
13095     size = wxPli_sv_2_wxsize( aTHX_ ST(4) );
13096         }
13097
13098         if (items < 6)
13099             style = wxLI_HORIZONTAL;
13100         else {
13101             style = (long)SvIV(ST(5));
13102         }
13103
13104         if (items < 7)
13105             name = wxStaticTextNameStr;
13106         else {
13107     WXSTRING_INPUT( name, wxString, ST(6) );
13108         }
13109     RETVAL = new wxStaticLine( parent, id, pos, size, style, name );
13110     wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
13111         ST(0) = sv_newmortal();
13112     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
13113
13114     }
13115     XSRETURN(1);
13116 }
13117
13118
13119 XS(XS_Wx__StaticLine_Create); /* prototype to pass -Wmissing-prototypes */
13120 XS(XS_Wx__StaticLine_Create)
13121 {
13122 #ifdef dVAR
13123     dVAR; dXSARGS;
13124 #else
13125     dXSARGS;
13126 #endif
13127     if (items < 2 || items > 7)
13128        croak_xs_usage(cv,  "THIS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = wxLI_HORIZONTAL, name = wxStaticTextNameStr");
13129     {
13130         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
13131         wxWindowID      id;
13132         wxPoint pos;
13133         wxSize  size;
13134         long    style;
13135         wxString        name;
13136         wxStaticLine *    THIS = (wxStaticLine *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::StaticLine" );
13137         bool    RETVAL;
13138
13139         if (items < 3)
13140             id = wxID_ANY;
13141         else {
13142     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
13143         }
13144
13145         if (items < 4)
13146             pos = wxDefaultPosition;
13147         else {
13148     pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) );
13149         }
13150
13151         if (items < 5)
13152             size = wxDefaultSize;
13153         else {
13154     size = wxPli_sv_2_wxsize( aTHX_ ST(4) );
13155         }
13156
13157         if (items < 6)
13158             style = wxLI_HORIZONTAL;
13159         else {
13160             style = (long)SvIV(ST(5));
13161         }
13162
13163         if (items < 7)
13164             name = wxStaticTextNameStr;
13165         else {
13166     WXSTRING_INPUT( name, wxString, ST(6) );
13167         }
13168
13169         RETVAL = THIS->Create(parent, id, pos, size, style, name);
13170         ST(0) = boolSV(RETVAL);
13171         sv_2mortal(ST(0));
13172     }
13173     XSRETURN(1);
13174 }
13175
13176
13177 XS(XS_Wx__StaticLine_IsVertical); /* prototype to pass -Wmissing-prototypes */
13178 XS(XS_Wx__StaticLine_IsVertical)
13179 {
13180 #ifdef dVAR
13181     dVAR; dXSARGS;
13182 #else
13183     dXSARGS;
13184 #endif
13185     if (items != 1)
13186        croak_xs_usage(cv,  "THIS");
13187     {
13188         wxStaticLine *    THIS = (wxStaticLine *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::StaticLine" );
13189         bool    RETVAL;
13190
13191         RETVAL = THIS->IsVertical();
13192         ST(0) = boolSV(RETVAL);
13193         sv_2mortal(ST(0));
13194     }
13195     XSRETURN(1);
13196 }
13197
13198
13199 XS(XS_Wx__StaticLine_GetDefaultSize); /* prototype to pass -Wmissing-prototypes */
13200 XS(XS_Wx__StaticLine_GetDefaultSize)
13201 {
13202 #ifdef dVAR
13203     dVAR; dXSARGS;
13204 #else
13205     dXSARGS;
13206 #endif
13207     if (items != 1)
13208        croak_xs_usage(cv,  "THIS");
13209     {
13210         wxStaticLine *    THIS = (wxStaticLine *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::StaticLine" );
13211         int     RETVAL;
13212         dXSTARG;
13213
13214         RETVAL = THIS->GetDefaultSize();
13215         XSprePUSH; PUSHi((IV)RETVAL);
13216     }
13217     XSRETURN(1);
13218 }
13219
13220
13221 /* INCLUDE: Returning to 'XS/StaticBox.xs' from 'XS/StaticLine.xs' */
13222
13223 #include <wx/statbox.h>
13224
13225 XS(XS_Wx__StaticBox_new); /* prototype to pass -Wmissing-prototypes */
13226 XS(XS_Wx__StaticBox_new)
13227 {
13228 #ifdef dVAR
13229     dVAR; dXSARGS;
13230 #else
13231     dXSARGS;
13232 #endif
13233     if (items < 4 || items > 8)
13234        croak_xs_usage(cv,  "CLASS, parent, id, label, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, name = wxStaticBoxNameStr");
13235     {
13236         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
13237         wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) );
13238         wxString        label;
13239         wxPoint pos;
13240         wxSize  size;
13241         long    style;
13242         wxString        name;
13243         char *  CLASS = (char *)SvPV_nolen(ST(0));
13244         wxStaticBox *   RETVAL;
13245
13246     WXSTRING_INPUT( label, wxString, ST(3) );
13247
13248         if (items < 5)
13249             pos = wxDefaultPosition;
13250         else {
13251     pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
13252         }
13253
13254         if (items < 6)
13255             size = wxDefaultSize;
13256         else {
13257     size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
13258         }
13259
13260         if (items < 7)
13261             style = 0;
13262         else {
13263             style = (long)SvIV(ST(6));
13264         }
13265
13266         if (items < 8)
13267             name = wxStaticBoxNameStr;
13268         else {
13269     WXSTRING_INPUT( name, wxString, ST(7) );
13270         }
13271     RETVAL = new wxStaticBox( parent, id, label, pos, 
13272         size, style, name );
13273     wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
13274         ST(0) = sv_newmortal();
13275     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
13276
13277     }
13278     XSRETURN(1);
13279 }
13280
13281
13282 XS(XS_Wx__StaticBox_Create); /* prototype to pass -Wmissing-prototypes */
13283 XS(XS_Wx__StaticBox_Create)
13284 {
13285 #ifdef dVAR
13286     dVAR; dXSARGS;
13287 #else
13288     dXSARGS;
13289 #endif
13290     if (items < 4 || items > 8)
13291        croak_xs_usage(cv,  "THIS, parent, id, label, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, name = wxStaticBoxNameStr");
13292     {
13293         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
13294         wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) );
13295         wxString        label;
13296         wxPoint pos;
13297         wxSize  size;
13298         long    style;
13299         wxString        name;
13300         wxStaticBox *    THIS = (wxStaticBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::StaticBox" );
13301         bool    RETVAL;
13302
13303     WXSTRING_INPUT( label, wxString, ST(3) );
13304
13305         if (items < 5)
13306             pos = wxDefaultPosition;
13307         else {
13308     pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
13309         }
13310
13311         if (items < 6)
13312             size = wxDefaultSize;
13313         else {
13314     size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
13315         }
13316
13317         if (items < 7)
13318             style = 0;
13319         else {
13320             style = (long)SvIV(ST(6));
13321         }
13322
13323         if (items < 8)
13324             name = wxStaticBoxNameStr;
13325         else {
13326     WXSTRING_INPUT( name, wxString, ST(7) );
13327         }
13328
13329         RETVAL = THIS->Create(parent, id, label, pos, size, style, name);
13330         ST(0) = boolSV(RETVAL);
13331         sv_2mortal(ST(0));
13332     }
13333     XSRETURN(1);
13334 }
13335
13336
13337 /* INCLUDE: Returning to 'XS/StaticBitmap.xs' from 'XS/StaticBox.xs' */
13338
13339 #include "cpp/overload.h"
13340 #include <wx/statbmp.h>
13341
13342 XS(XS_Wx__StaticBitmap_new); /* prototype to pass -Wmissing-prototypes */
13343 XS(XS_Wx__StaticBitmap_new)
13344 {
13345 #ifdef dVAR
13346     dVAR; dXSARGS;
13347 #else
13348     dXSARGS;
13349 #endif
13350     if (items < 1)
13351        croak_xs_usage(cv,  "CLASS, ...");
13352     PERL_UNUSED_VAR(ax); /* -Wall */
13353     SP -= items;
13354     {
13355         char *  CLASS = (char *)SvPV_nolen(ST(0));
13356     BEGIN_OVERLOAD()
13357         MATCH_REDISP( wxPliOvl_wwin_n_wico, newIcon )
13358         MATCH_REDISP( wxPliOvl_wwin_n_wbmp, newBitmap )
13359     END_OVERLOAD( Wx::StaticBitmap::new )
13360         PUTBACK;
13361         return;
13362     }
13363 }
13364
13365
13366 XS(XS_Wx__StaticBitmap_newBitmap); /* prototype to pass -Wmissing-prototypes */
13367 XS(XS_Wx__StaticBitmap_newBitmap)
13368 {
13369 #ifdef dVAR
13370     dVAR; dXSARGS;
13371 #else
13372     dXSARGS;
13373 #endif
13374     if (items < 4 || items > 8)
13375        croak_xs_usage(cv,  "cls, parent, id, bitmap, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, name = wxStaticBitmapNameStr");
13376     {
13377         SV*     cls = ST(0);
13378         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
13379         wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) );
13380         wxBitmap*    bitmap = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::Bitmap" );
13381         wxPoint pos;
13382         wxSize  size;
13383         long    style;
13384         wxString        name;
13385     const char* CLASS = wxPli_get_class( aTHX_ cls );
13386         wxStaticBitmap *        RETVAL;
13387
13388         if (items < 5)
13389             pos = wxDefaultPosition;
13390         else {
13391     pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
13392         }
13393
13394         if (items < 6)
13395             size = wxDefaultSize;
13396         else {
13397     size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
13398         }
13399
13400         if (items < 7)
13401             style = 0;
13402         else {
13403             style = (long)SvIV(ST(6));
13404         }
13405
13406         if (items < 8)
13407             name = wxStaticBitmapNameStr;
13408         else {
13409     WXSTRING_INPUT( name, wxString, ST(7) );
13410         }
13411     RETVAL = new wxStaticBitmap( parent, id, *bitmap, pos, size,
13412          style, name );
13413     wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
13414         ST(0) = sv_newmortal();
13415     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
13416
13417     }
13418     XSRETURN(1);
13419 }
13420
13421 #if !defined(__WXUNIVERSAL__) || defined(__WXPERL_FORCE__)
13422 #define XSubPPtmpAACH 1
13423
13424
13425 XS(XS_Wx__StaticBitmap_newIcon); /* prototype to pass -Wmissing-prototypes */
13426 XS(XS_Wx__StaticBitmap_newIcon)
13427 {
13428 #ifdef dVAR
13429     dVAR; dXSARGS;
13430 #else
13431     dXSARGS;
13432 #endif
13433     if (items < 4 || items > 8)
13434        croak_xs_usage(cv,  "cls, parent, id, icon, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, name = wxStaticBitmapNameStr");
13435     {
13436         SV*     cls = ST(0);
13437         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
13438         wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) );
13439         wxIcon*    icon = (wxIcon *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::Icon" );
13440         wxPoint pos;
13441         wxSize  size;
13442         long    style;
13443         wxString        name;
13444     const char* CLASS = wxPli_get_class( aTHX_ cls );
13445         wxStaticBitmap *        RETVAL;
13446
13447         if (items < 5)
13448             pos = wxDefaultPosition;
13449         else {
13450     pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
13451         }
13452
13453         if (items < 6)
13454             size = wxDefaultSize;
13455         else {
13456     size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
13457         }
13458
13459         if (items < 7)
13460             style = 0;
13461         else {
13462             style = (long)SvIV(ST(6));
13463         }
13464
13465         if (items < 8)
13466             name = wxStaticBitmapNameStr;
13467         else {
13468     WXSTRING_INPUT( name, wxString, ST(7) );
13469         }
13470     RETVAL = new wxStaticBitmap( parent, id, *icon, pos, size,
13471          style, name );
13472     wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
13473         ST(0) = sv_newmortal();
13474     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
13475
13476     }
13477     XSRETURN(1);
13478 }
13479
13480 #endif
13481
13482 XS(XS_Wx__StaticBitmap_GetBitmap); /* prototype to pass -Wmissing-prototypes */
13483 XS(XS_Wx__StaticBitmap_GetBitmap)
13484 {
13485 #ifdef dVAR
13486     dVAR; dXSARGS;
13487 #else
13488     dXSARGS;
13489 #endif
13490     if (items != 1)
13491        croak_xs_usage(cv,  "THIS");
13492     {
13493         wxStaticBitmap *    THIS = (wxStaticBitmap *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::StaticBitmap" );
13494         wxBitmap *      RETVAL;
13495     RETVAL = new wxBitmap( THIS->GetBitmap() );
13496         ST(0) = sv_newmortal();
13497     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
13498     wxPli_thread_sv_register( aTHX_ "Wx::Bitmap", RETVAL, ST(0) );
13499
13500     }
13501     XSRETURN(1);
13502 }
13503
13504
13505 XS(XS_Wx__StaticBitmap_SetBitmap); /* prototype to pass -Wmissing-prototypes */
13506 XS(XS_Wx__StaticBitmap_SetBitmap)
13507 {
13508 #ifdef dVAR
13509     dVAR; dXSARGS;
13510 #else
13511     dXSARGS;
13512 #endif
13513     if (items != 2)
13514        croak_xs_usage(cv,  "THIS, bitmap");
13515     {
13516         wxBitmap*    bitmap = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Bitmap" );
13517         wxStaticBitmap *    THIS = (wxStaticBitmap *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::StaticBitmap" );
13518
13519         THIS->SetBitmap(*bitmap);
13520     }
13521     XSRETURN_EMPTY;
13522 }
13523
13524 #if !defined(__WXUNIVERSAL__) || defined(__WXPERL_FORCE__)
13525 #define XSubPPtmpAACI 1
13526
13527
13528 XS(XS_Wx__StaticBitmap_GetIcon); /* prototype to pass -Wmissing-prototypes */
13529 XS(XS_Wx__StaticBitmap_GetIcon)
13530 {
13531 #ifdef dVAR
13532     dVAR; dXSARGS;
13533 #else
13534     dXSARGS;
13535 #endif
13536     if (items != 1)
13537        croak_xs_usage(cv,  "THIS");
13538     {
13539         wxStaticBitmap *    THIS = (wxStaticBitmap *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::StaticBitmap" );
13540         wxIcon *        RETVAL;
13541     RETVAL = new wxIcon( THIS->GetIcon() );
13542         ST(0) = sv_newmortal();
13543     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
13544     wxPli_thread_sv_register( aTHX_ "Wx::Icon", RETVAL, ST(0) );
13545
13546     }
13547     XSRETURN(1);
13548 }
13549
13550
13551 XS(XS_Wx__StaticBitmap_SetIcon); /* prototype to pass -Wmissing-prototypes */
13552 XS(XS_Wx__StaticBitmap_SetIcon)
13553 {
13554 #ifdef dVAR
13555     dVAR; dXSARGS;
13556 #else
13557     dXSARGS;
13558 #endif
13559     if (items != 2)
13560        croak_xs_usage(cv,  "THIS, icon");
13561     {
13562         wxIcon*    icon = (wxIcon *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Icon" );
13563         wxStaticBitmap *    THIS = (wxStaticBitmap *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::StaticBitmap" );
13564
13565         THIS->SetIcon(*icon);
13566     }
13567     XSRETURN_EMPTY;
13568 }
13569
13570 #endif
13571
13572 /* INCLUDE: Returning to 'XS/SpinCtrl.xs' from 'XS/StaticBitmap.xs' */
13573
13574 #include <wx/spinctrl.h>
13575
13576 XS(XS_Wx__SpinCtrl_new); /* prototype to pass -Wmissing-prototypes */
13577 XS(XS_Wx__SpinCtrl_new)
13578 {
13579 #ifdef dVAR
13580     dVAR; dXSARGS;
13581 #else
13582     dXSARGS;
13583 #endif
13584     PERL_UNUSED_VAR(cv); /* -W */
13585     PERL_UNUSED_VAR(ax); /* -Wall */
13586     SP -= items;
13587     {
13588     BEGIN_OVERLOAD()
13589         MATCH_VOIDM_REDISP( newDefault )
13590         MATCH_ANY_REDISP( newFull )
13591     END_OVERLOAD( "Wx::SpinCtrl::new" )
13592         PUTBACK;
13593         return;
13594     }
13595 }
13596
13597
13598 XS(XS_Wx__SpinCtrl_newDefault); /* prototype to pass -Wmissing-prototypes */
13599 XS(XS_Wx__SpinCtrl_newDefault)
13600 {
13601 #ifdef dVAR
13602     dVAR; dXSARGS;
13603 #else
13604     dXSARGS;
13605 #endif
13606     if (items != 1)
13607        croak_xs_usage(cv,  "CLASS");
13608     {
13609         PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) );
13610         wxSpinCtrl *    RETVAL;
13611     RETVAL = new wxSpinCtrl();
13612     wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
13613         ST(0) = sv_newmortal();
13614     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
13615
13616     }
13617     XSRETURN(1);
13618 }
13619
13620
13621 XS(XS_Wx__SpinCtrl_newFull); /* prototype to pass -Wmissing-prototypes */
13622 XS(XS_Wx__SpinCtrl_newFull)
13623 {
13624 #ifdef dVAR
13625     dVAR; dXSARGS;
13626 #else
13627     dXSARGS;
13628 #endif
13629     if (items < 2 || items > 11)
13630        croak_xs_usage(cv,  "CLASS, parent, id = wxID_ANY, value = wxEmptyString, pos = wxDefaultPosition, size = wxDefaultSize, style = wxSP_ARROW_KEYS, min = 0, max = 100, initial = 0, name = wxT(\"spinCtrl\")");
13631     {
13632         PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) );
13633         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
13634         wxWindowID      id;
13635         wxString        value;
13636         wxPoint pos;
13637         wxSize  size;
13638         long    style;
13639         int     min;
13640         int     max;
13641         int     initial;
13642         wxString        name;
13643         wxSpinCtrl *    RETVAL;
13644
13645         if (items < 3)
13646             id = wxID_ANY;
13647         else {
13648     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
13649         }
13650
13651         if (items < 4)
13652             value = wxEmptyString;
13653         else {
13654     WXSTRING_INPUT( value, wxString, ST(3) );
13655         }
13656
13657         if (items < 5)
13658             pos = wxDefaultPosition;
13659         else {
13660     pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
13661         }
13662
13663         if (items < 6)
13664             size = wxDefaultSize;
13665         else {
13666     size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
13667         }
13668
13669         if (items < 7)
13670             style = wxSP_ARROW_KEYS;
13671         else {
13672             style = (long)SvIV(ST(6));
13673         }
13674
13675         if (items < 8)
13676             min = 0;
13677         else {
13678             min = (int)SvIV(ST(7));
13679         }
13680
13681         if (items < 9)
13682             max = 100;
13683         else {
13684             max = (int)SvIV(ST(8));
13685         }
13686
13687         if (items < 10)
13688             initial = 0;
13689         else {
13690             initial = (int)SvIV(ST(9));
13691         }
13692
13693         if (items < 11)
13694             name = wxT("spinCtrl");
13695         else {
13696     WXSTRING_INPUT( name, wxString, ST(10) );
13697         }
13698     RETVAL = new wxSpinCtrl( parent, id, value, pos, size,
13699         style, min, max, initial, name );
13700     wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
13701         ST(0) = sv_newmortal();
13702     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
13703
13704     }
13705     XSRETURN(1);
13706 }
13707
13708
13709 XS(XS_Wx__SpinCtrl_Create); /* prototype to pass -Wmissing-prototypes */
13710 XS(XS_Wx__SpinCtrl_Create)
13711 {
13712 #ifdef dVAR
13713     dVAR; dXSARGS;
13714 #else
13715     dXSARGS;
13716 #endif
13717     if (items < 2 || items > 11)
13718        croak_xs_usage(cv,  "THIS, parent, id = wxID_ANY, value = wxEmptyString, pos = wxDefaultPosition, size = wxDefaultSize, style = wxSP_ARROW_KEYS, min = 0, max = 100, initial = 0, name = wxT(\"spinCtrl\")");
13719     {
13720         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
13721         wxWindowID      id;
13722         wxString        value;
13723         wxPoint pos;
13724         wxSize  size;
13725         long    style;
13726         int     min;
13727         int     max;
13728         int     initial;
13729         wxString        name;
13730         wxSpinCtrl *    THIS = (wxSpinCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SpinCtrl" );
13731         bool    RETVAL;
13732
13733         if (items < 3)
13734             id = wxID_ANY;
13735         else {
13736     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
13737         }
13738
13739         if (items < 4)
13740             value = wxEmptyString;
13741         else {
13742     WXSTRING_INPUT( value, wxString, ST(3) );
13743         }
13744
13745         if (items < 5)
13746             pos = wxDefaultPosition;
13747         else {
13748     pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
13749         }
13750
13751         if (items < 6)
13752             size = wxDefaultSize;
13753         else {
13754     size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
13755         }
13756
13757         if (items < 7)
13758             style = wxSP_ARROW_KEYS;
13759         else {
13760             style = (long)SvIV(ST(6));
13761         }
13762
13763         if (items < 8)
13764             min = 0;
13765         else {
13766             min = (int)SvIV(ST(7));
13767         }
13768
13769         if (items < 9)
13770             max = 100;
13771         else {
13772             max = (int)SvIV(ST(8));
13773         }
13774
13775         if (items < 10)
13776             initial = 0;
13777         else {
13778             initial = (int)SvIV(ST(9));
13779         }
13780
13781         if (items < 11)
13782             name = wxT("spinCtrl");
13783         else {
13784     WXSTRING_INPUT( name, wxString, ST(10) );
13785         }
13786
13787         RETVAL = THIS->Create(parent, id, value, pos, size, style, min, max, initial, name);
13788         ST(0) = boolSV(RETVAL);
13789         sv_2mortal(ST(0));
13790     }
13791     XSRETURN(1);
13792 }
13793
13794
13795 XS(XS_Wx__SpinCtrl_GetMin); /* prototype to pass -Wmissing-prototypes */
13796 XS(XS_Wx__SpinCtrl_GetMin)
13797 {
13798 #ifdef dVAR
13799     dVAR; dXSARGS;
13800 #else
13801     dXSARGS;
13802 #endif
13803     if (items != 1)
13804        croak_xs_usage(cv,  "THIS");
13805     {
13806         wxSpinCtrl *    THIS = (wxSpinCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SpinCtrl" );
13807         int     RETVAL;
13808         dXSTARG;
13809
13810         RETVAL = THIS->GetMin();
13811         XSprePUSH; PUSHi((IV)RETVAL);
13812     }
13813     XSRETURN(1);
13814 }
13815
13816
13817 XS(XS_Wx__SpinCtrl_GetMax); /* prototype to pass -Wmissing-prototypes */
13818 XS(XS_Wx__SpinCtrl_GetMax)
13819 {
13820 #ifdef dVAR
13821     dVAR; dXSARGS;
13822 #else
13823     dXSARGS;
13824 #endif
13825     if (items != 1)
13826        croak_xs_usage(cv,  "THIS");
13827     {
13828         wxSpinCtrl *    THIS = (wxSpinCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SpinCtrl" );
13829         int     RETVAL;
13830         dXSTARG;
13831
13832         RETVAL = THIS->GetMax();
13833         XSprePUSH; PUSHi((IV)RETVAL);
13834     }
13835     XSRETURN(1);
13836 }
13837
13838
13839 XS(XS_Wx__SpinCtrl_GetValue); /* prototype to pass -Wmissing-prototypes */
13840 XS(XS_Wx__SpinCtrl_GetValue)
13841 {
13842 #ifdef dVAR
13843     dVAR; dXSARGS;
13844 #else
13845     dXSARGS;
13846 #endif
13847     if (items != 1)
13848        croak_xs_usage(cv,  "THIS");
13849     {
13850         wxSpinCtrl *    THIS = (wxSpinCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SpinCtrl" );
13851         int     RETVAL;
13852         dXSTARG;
13853
13854         RETVAL = THIS->GetValue();
13855         XSprePUSH; PUSHi((IV)RETVAL);
13856     }
13857     XSRETURN(1);
13858 }
13859
13860
13861 XS(XS_Wx__SpinCtrl_SetRange); /* prototype to pass -Wmissing-prototypes */
13862 XS(XS_Wx__SpinCtrl_SetRange)
13863 {
13864 #ifdef dVAR
13865     dVAR; dXSARGS;
13866 #else
13867     dXSARGS;
13868 #endif
13869     if (items != 3)
13870        croak_xs_usage(cv,  "THIS, min, max");
13871     {
13872         int     min = (int)SvIV(ST(1));
13873         int     max = (int)SvIV(ST(2));
13874         wxSpinCtrl *    THIS = (wxSpinCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SpinCtrl" );
13875
13876         THIS->SetRange(min, max);
13877     }
13878     XSRETURN_EMPTY;
13879 }
13880
13881
13882 XS(XS_Wx__SpinCtrl_SetValue); /* prototype to pass -Wmissing-prototypes */
13883 XS(XS_Wx__SpinCtrl_SetValue)
13884 {
13885 #ifdef dVAR
13886     dVAR; dXSARGS;
13887 #else
13888     dXSARGS;
13889 #endif
13890     if (items != 2)
13891        croak_xs_usage(cv,  "THIS, text");
13892     {
13893         wxString        text;
13894         wxSpinCtrl *    THIS = (wxSpinCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SpinCtrl" );
13895
13896     WXSTRING_INPUT( text, wxString, ST(1) );
13897
13898         THIS->SetValue(text);
13899     }
13900     XSRETURN_EMPTY;
13901 }
13902
13903 #if !defined(__WXGTK__)
13904 #define XSubPPtmpAACJ 1
13905
13906
13907 XS(XS_Wx__SpinCtrl_SetSelection); /* prototype to pass -Wmissing-prototypes */
13908 XS(XS_Wx__SpinCtrl_SetSelection)
13909 {
13910 #ifdef dVAR
13911     dVAR; dXSARGS;
13912 #else
13913     dXSARGS;
13914 #endif
13915     if (items != 3)
13916        croak_xs_usage(cv,  "THIS, from, to");
13917     {
13918         long    from = (long)SvIV(ST(1));
13919         long    to = (long)SvIV(ST(2));
13920         wxSpinCtrl *    THIS = (wxSpinCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SpinCtrl" );
13921
13922         THIS->SetSelection(from, to);
13923     }
13924     XSRETURN_EMPTY;
13925 }
13926
13927 #endif
13928
13929 /* INCLUDE: Returning to 'XS/SpinButton.xs' from 'XS/SpinCtrl.xs' */
13930
13931 #include <wx/spinctrl.h>
13932 #include <wx/spinbutt.h>
13933
13934 XS(XS_Wx__SpinEvent_new); /* prototype to pass -Wmissing-prototypes */
13935 XS(XS_Wx__SpinEvent_new)
13936 {
13937 #ifdef dVAR
13938     dVAR; dXSARGS;
13939 #else
13940     dXSARGS;
13941 #endif
13942     if (items < 1 || items > 3)
13943        croak_xs_usage(cv,  "CLASS, commandType = wxEVT_NULL, id = 0");
13944     {
13945         wxEventType     commandType;
13946         int     id;
13947         char *  CLASS = (char *)SvPV_nolen(ST(0));
13948         wxSpinEvent *   RETVAL;
13949
13950         if (items < 2)
13951             commandType = wxEVT_NULL;
13952         else {
13953             commandType = (wxEventType)SvIV(ST(1));
13954         }
13955
13956         if (items < 3)
13957             id = 0;
13958         else {
13959             id = (int)SvIV(ST(2));
13960         }
13961
13962         RETVAL = new wxSpinEvent(commandType, id);
13963         ST(0) = sv_newmortal();
13964     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
13965     wxPli_thread_sv_register( aTHX_ "Wx::SpinEvent", RETVAL, ST(0) );
13966
13967     }
13968     XSRETURN(1);
13969 }
13970
13971
13972 XS(XS_Wx__SpinEvent_GetPosition); /* prototype to pass -Wmissing-prototypes */
13973 XS(XS_Wx__SpinEvent_GetPosition)
13974 {
13975 #ifdef dVAR
13976     dVAR; dXSARGS;
13977 #else
13978     dXSARGS;
13979 #endif
13980     if (items != 1)
13981        croak_xs_usage(cv,  "THIS");
13982     {
13983         wxSpinEvent *    THIS = (wxSpinEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SpinEvent" );
13984         int     RETVAL;
13985         dXSTARG;
13986
13987         RETVAL = THIS->GetPosition();
13988         XSprePUSH; PUSHi((IV)RETVAL);
13989     }
13990     XSRETURN(1);
13991 }
13992
13993
13994 XS(XS_Wx__SpinEvent_SetPosition); /* prototype to pass -Wmissing-prototypes */
13995 XS(XS_Wx__SpinEvent_SetPosition)
13996 {
13997 #ifdef dVAR
13998     dVAR; dXSARGS;
13999 #else
14000     dXSARGS;
14001 #endif
14002     if (items != 2)
14003        croak_xs_usage(cv,  "THIS, pos");
14004     {
14005         int     pos = (int)SvIV(ST(1));
14006         wxSpinEvent *    THIS = (wxSpinEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SpinEvent" );
14007
14008         THIS->SetPosition(pos);
14009     }
14010     XSRETURN_EMPTY;
14011 }
14012
14013
14014 XS(XS_Wx__SpinButton_new); /* prototype to pass -Wmissing-prototypes */
14015 XS(XS_Wx__SpinButton_new)
14016 {
14017 #ifdef dVAR
14018     dVAR; dXSARGS;
14019 #else
14020     dXSARGS;
14021 #endif
14022     PERL_UNUSED_VAR(cv); /* -W */
14023     PERL_UNUSED_VAR(ax); /* -Wall */
14024     SP -= items;
14025     {
14026     BEGIN_OVERLOAD()
14027         MATCH_VOIDM_REDISP( newDefault )
14028         MATCH_ANY_REDISP( newFull )
14029     END_OVERLOAD( "Wx::SpinButton::new" )
14030         PUTBACK;
14031         return;
14032     }
14033 }
14034
14035
14036 XS(XS_Wx__SpinButton_newDefault); /* prototype to pass -Wmissing-prototypes */
14037 XS(XS_Wx__SpinButton_newDefault)
14038 {
14039 #ifdef dVAR
14040     dVAR; dXSARGS;
14041 #else
14042     dXSARGS;
14043 #endif
14044     if (items != 1)
14045        croak_xs_usage(cv,  "CLASS");
14046     {
14047         PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) );
14048         wxSpinButton *  RETVAL;
14049     RETVAL = new wxSpinButton();
14050     wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
14051         ST(0) = sv_newmortal();
14052     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
14053
14054     }
14055     XSRETURN(1);
14056 }
14057
14058
14059 XS(XS_Wx__SpinButton_newFull); /* prototype to pass -Wmissing-prototypes */
14060 XS(XS_Wx__SpinButton_newFull)
14061 {
14062 #ifdef dVAR
14063     dVAR; dXSARGS;
14064 #else
14065     dXSARGS;
14066 #endif
14067     if (items < 2 || items > 7)
14068        croak_xs_usage(cv,  "CLASS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = wxSP_HORIZONTAL, name = wxSPIN_BUTTON_NAME");
14069     {
14070         PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) );
14071         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
14072         wxWindowID      id;
14073         wxPoint pos;
14074         wxSize  size;
14075         long    style;
14076         wxString        name;
14077         wxSpinButton *  RETVAL;
14078
14079         if (items < 3)
14080             id = wxID_ANY;
14081         else {
14082     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
14083         }
14084
14085         if (items < 4)
14086             pos = wxDefaultPosition;
14087         else {
14088     pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) );
14089         }
14090
14091         if (items < 5)
14092             size = wxDefaultSize;
14093         else {
14094     size = wxPli_sv_2_wxsize( aTHX_ ST(4) );
14095         }
14096
14097         if (items < 6)
14098             style = wxSP_HORIZONTAL;
14099         else {
14100             style = (long)SvIV(ST(5));
14101         }
14102
14103         if (items < 7)
14104             name = wxSPIN_BUTTON_NAME;
14105         else {
14106     WXSTRING_INPUT( name, wxString, ST(6) );
14107         }
14108     RETVAL = new wxSpinButton( parent, id, pos, size, style, name );
14109     wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
14110         ST(0) = sv_newmortal();
14111     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
14112
14113     }
14114     XSRETURN(1);
14115 }
14116
14117
14118 XS(XS_Wx__SpinButton_Create); /* prototype to pass -Wmissing-prototypes */
14119 XS(XS_Wx__SpinButton_Create)
14120 {
14121 #ifdef dVAR
14122     dVAR; dXSARGS;
14123 #else
14124     dXSARGS;
14125 #endif
14126     if (items < 2 || items > 7)
14127        croak_xs_usage(cv,  "THIS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = wxSP_HORIZONTAL, name = wxSPIN_BUTTON_NAME");
14128     {
14129         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
14130         wxWindowID      id;
14131         wxPoint pos;
14132         wxSize  size;
14133         long    style;
14134         wxString        name;
14135         wxSpinButton *    THIS = (wxSpinButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SpinButton" );
14136         bool    RETVAL;
14137
14138         if (items < 3)
14139             id = wxID_ANY;
14140         else {
14141     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
14142         }
14143
14144         if (items < 4)
14145             pos = wxDefaultPosition;
14146         else {
14147     pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) );
14148         }
14149
14150         if (items < 5)
14151             size = wxDefaultSize;
14152         else {
14153     size = wxPli_sv_2_wxsize( aTHX_ ST(4) );
14154         }
14155
14156         if (items < 6)
14157             style = wxSP_HORIZONTAL;
14158         else {
14159             style = (long)SvIV(ST(5));
14160         }
14161
14162         if (items < 7)
14163             name = wxSPIN_BUTTON_NAME;
14164         else {
14165     WXSTRING_INPUT( name, wxString, ST(6) );
14166         }
14167
14168         RETVAL = THIS->Create(parent, id, pos, size, style, name);
14169         ST(0) = boolSV(RETVAL);
14170         sv_2mortal(ST(0));
14171     }
14172     XSRETURN(1);
14173 }
14174
14175
14176 XS(XS_Wx__SpinButton_GetMax); /* prototype to pass -Wmissing-prototypes */
14177 XS(XS_Wx__SpinButton_GetMax)
14178 {
14179 #ifdef dVAR
14180     dVAR; dXSARGS;
14181 #else
14182     dXSARGS;
14183 #endif
14184     if (items != 1)
14185        croak_xs_usage(cv,  "THIS");
14186     {
14187         wxSpinButton *    THIS = (wxSpinButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SpinButton" );
14188         int     RETVAL;
14189         dXSTARG;
14190
14191         RETVAL = THIS->GetMax();
14192         XSprePUSH; PUSHi((IV)RETVAL);
14193     }
14194     XSRETURN(1);
14195 }
14196
14197
14198 XS(XS_Wx__SpinButton_GetMin); /* prototype to pass -Wmissing-prototypes */
14199 XS(XS_Wx__SpinButton_GetMin)
14200 {
14201 #ifdef dVAR
14202     dVAR; dXSARGS;
14203 #else
14204     dXSARGS;
14205 #endif
14206     if (items != 1)
14207        croak_xs_usage(cv,  "THIS");
14208     {
14209         wxSpinButton *    THIS = (wxSpinButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SpinButton" );
14210         int     RETVAL;
14211         dXSTARG;
14212
14213         RETVAL = THIS->GetMin();
14214         XSprePUSH; PUSHi((IV)RETVAL);
14215     }
14216     XSRETURN(1);
14217 }
14218
14219
14220 XS(XS_Wx__SpinButton_GetValue); /* prototype to pass -Wmissing-prototypes */
14221 XS(XS_Wx__SpinButton_GetValue)
14222 {
14223 #ifdef dVAR
14224     dVAR; dXSARGS;
14225 #else
14226     dXSARGS;
14227 #endif
14228     if (items != 1)
14229        croak_xs_usage(cv,  "THIS");
14230     {
14231         wxSpinButton *    THIS = (wxSpinButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SpinButton" );
14232         int     RETVAL;
14233         dXSTARG;
14234
14235         RETVAL = THIS->GetValue();
14236         XSprePUSH; PUSHi((IV)RETVAL);
14237     }
14238     XSRETURN(1);
14239 }
14240
14241
14242 XS(XS_Wx__SpinButton_SetRange); /* prototype to pass -Wmissing-prototypes */
14243 XS(XS_Wx__SpinButton_SetRange)
14244 {
14245 #ifdef dVAR
14246     dVAR; dXSARGS;
14247 #else
14248     dXSARGS;
14249 #endif
14250     if (items != 3)
14251        croak_xs_usage(cv,  "THIS, min, max");
14252     {
14253         int     min = (int)SvIV(ST(1));
14254         int     max = (int)SvIV(ST(2));
14255         wxSpinButton *    THIS = (wxSpinButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SpinButton" );
14256
14257         THIS->SetRange(min, max);
14258     }
14259     XSRETURN_EMPTY;
14260 }
14261
14262
14263 XS(XS_Wx__SpinButton_SetValue); /* prototype to pass -Wmissing-prototypes */
14264 XS(XS_Wx__SpinButton_SetValue)
14265 {
14266 #ifdef dVAR
14267     dVAR; dXSARGS;
14268 #else
14269     dXSARGS;
14270 #endif
14271     if (items != 2)
14272        croak_xs_usage(cv,  "THIS, value");
14273     {
14274         int     value = (int)SvIV(ST(1));
14275         wxSpinButton *    THIS = (wxSpinButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SpinButton" );
14276
14277         THIS->SetValue(value);
14278     }
14279     XSRETURN_EMPTY;
14280 }
14281
14282
14283 /* INCLUDE: Returning to 'XS/Slider.xs' from 'XS/SpinButton.xs' */
14284
14285 #include <wx/slider.h>
14286
14287 XS(XS_Wx__Slider_new); /* prototype to pass -Wmissing-prototypes */
14288 XS(XS_Wx__Slider_new)
14289 {
14290 #ifdef dVAR
14291     dVAR; dXSARGS;
14292 #else
14293     dXSARGS;
14294 #endif
14295     PERL_UNUSED_VAR(cv); /* -W */
14296     PERL_UNUSED_VAR(ax); /* -Wall */
14297     SP -= items;
14298     {
14299     BEGIN_OVERLOAD()
14300         MATCH_VOIDM_REDISP( newDefault )
14301         MATCH_ANY_REDISP( newFull )
14302     END_OVERLOAD( "Wx::Slider::new" )
14303         PUTBACK;
14304         return;
14305     }
14306 }
14307
14308
14309 XS(XS_Wx__Slider_newDefault); /* prototype to pass -Wmissing-prototypes */
14310 XS(XS_Wx__Slider_newDefault)
14311 {
14312 #ifdef dVAR
14313     dVAR; dXSARGS;
14314 #else
14315     dXSARGS;
14316 #endif
14317     if (items != 1)
14318        croak_xs_usage(cv,  "CLASS");
14319     {
14320         PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) );
14321         wxSlider *      RETVAL;
14322     RETVAL = new wxSlider();
14323     wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
14324         ST(0) = sv_newmortal();
14325     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
14326
14327     }
14328     XSRETURN(1);
14329 }
14330
14331
14332 XS(XS_Wx__Slider_newFull); /* prototype to pass -Wmissing-prototypes */
14333 XS(XS_Wx__Slider_newFull)
14334 {
14335 #ifdef dVAR
14336     dVAR; dXSARGS;
14337 #else
14338     dXSARGS;
14339 #endif
14340     if (items < 6 || items > 11)
14341        croak_xs_usage(cv,  "CLASS, parent, id, value, minValue, maxValue, pos = wxDefaultPosition, size = wxDefaultSize, style = wxSL_HORIZONTAL, validator = (wxValidator*)&wxDefaultValidator, name = wxSliderNameStr");
14342     {
14343         PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) );
14344         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
14345         wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) );
14346         int     value = (int)SvIV(ST(3));
14347         int     minValue = (int)SvIV(ST(4));
14348         int     maxValue = (int)SvIV(ST(5));
14349         wxPoint pos;
14350         wxSize  size;
14351         long    style;
14352         wxValidator*    validator;
14353         wxString        name;
14354         wxSlider *      RETVAL;
14355
14356         if (items < 7)
14357             pos = wxDefaultPosition;
14358         else {
14359     pos = wxPli_sv_2_wxpoint( aTHX_ ST(6) );
14360         }
14361
14362         if (items < 8)
14363             size = wxDefaultSize;
14364         else {
14365     size = wxPli_sv_2_wxsize( aTHX_ ST(7) );
14366         }
14367
14368         if (items < 9)
14369             style = wxSL_HORIZONTAL;
14370         else {
14371             style = (long)SvIV(ST(8));
14372         }
14373
14374         if (items < 10)
14375             validator = (wxValidator*)&wxDefaultValidator;
14376         else {
14377     validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(9), "Wx::Validator" );
14378         }
14379
14380         if (items < 11)
14381             name = wxSliderNameStr;
14382         else {
14383     WXSTRING_INPUT( name, wxString, ST(10) );
14384         }
14385     RETVAL = new wxSlider( parent, id, value, minValue, maxValue,
14386         pos, size, style, *validator, name );
14387     wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
14388         ST(0) = sv_newmortal();
14389     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
14390
14391     }
14392     XSRETURN(1);
14393 }
14394
14395
14396 XS(XS_Wx__Slider_Create); /* prototype to pass -Wmissing-prototypes */
14397 XS(XS_Wx__Slider_Create)
14398 {
14399 #ifdef dVAR
14400     dVAR; dXSARGS;
14401 #else
14402     dXSARGS;
14403 #endif
14404     if (items < 6 || items > 11)
14405        croak_xs_usage(cv,  "THIS, parent, id, value, minValue, maxValue, pos = wxDefaultPosition, size = wxDefaultSize, style = wxSL_HORIZONTAL, validator = (wxValidator*)&wxDefaultValidator, name = wxSliderNameStr");
14406     {
14407         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
14408         wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) );
14409         int     value = (int)SvIV(ST(3));
14410         int     minValue = (int)SvIV(ST(4));
14411         int     maxValue = (int)SvIV(ST(5));
14412         wxPoint pos;
14413         wxSize  size;
14414         long    style;
14415         wxValidator*    validator;
14416         wxString        name;
14417         wxSlider *    THIS = (wxSlider *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Slider" );
14418         bool    RETVAL;
14419
14420         if (items < 7)
14421             pos = wxDefaultPosition;
14422         else {
14423     pos = wxPli_sv_2_wxpoint( aTHX_ ST(6) );
14424         }
14425
14426         if (items < 8)
14427             size = wxDefaultSize;
14428         else {
14429     size = wxPli_sv_2_wxsize( aTHX_ ST(7) );
14430         }
14431
14432         if (items < 9)
14433             style = wxSL_HORIZONTAL;
14434         else {
14435             style = (long)SvIV(ST(8));
14436         }
14437
14438         if (items < 10)
14439             validator = (wxValidator*)&wxDefaultValidator;
14440         else {
14441     validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(9), "Wx::Validator" );
14442         }
14443
14444         if (items < 11)
14445             name = wxSliderNameStr;
14446         else {
14447     WXSTRING_INPUT( name, wxString, ST(10) );
14448         }
14449
14450         RETVAL = THIS->Create(parent, id, value, minValue, maxValue, pos, size, style, *validator, name);
14451         ST(0) = boolSV(RETVAL);
14452         sv_2mortal(ST(0));
14453     }
14454     XSRETURN(1);
14455 }
14456
14457 #if defined( __WXMSW__ ) || defined( __WXPERL_FORCE__ )
14458 #define XSubPPtmpAACK 1
14459
14460
14461 XS(XS_Wx__Slider_ClearSel); /* prototype to pass -Wmissing-prototypes */
14462 XS(XS_Wx__Slider_ClearSel)
14463 {
14464 #ifdef dVAR
14465     dVAR; dXSARGS;
14466 #else
14467     dXSARGS;
14468 #endif
14469     if (items != 1)
14470        croak_xs_usage(cv,  "THIS");
14471     {
14472         wxSlider *    THIS = (wxSlider *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Slider" );
14473
14474         THIS->ClearSel();
14475     }
14476     XSRETURN_EMPTY;
14477 }
14478
14479
14480 XS(XS_Wx__Slider_ClearTicks); /* prototype to pass -Wmissing-prototypes */
14481 XS(XS_Wx__Slider_ClearTicks)
14482 {
14483 #ifdef dVAR
14484     dVAR; dXSARGS;
14485 #else
14486     dXSARGS;
14487 #endif
14488     if (items != 1)
14489        croak_xs_usage(cv,  "THIS");
14490     {
14491         wxSlider *    THIS = (wxSlider *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Slider" );
14492
14493         THIS->ClearTicks();
14494     }
14495     XSRETURN_EMPTY;
14496 }
14497
14498 #endif
14499
14500 XS(XS_Wx__Slider_GetLineSize); /* prototype to pass -Wmissing-prototypes */
14501 XS(XS_Wx__Slider_GetLineSize)
14502 {
14503 #ifdef dVAR
14504     dVAR; dXSARGS;
14505 #else
14506     dXSARGS;
14507 #endif
14508     if (items != 1)
14509        croak_xs_usage(cv,  "THIS");
14510     {
14511         wxSlider *    THIS = (wxSlider *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Slider" );
14512         int     RETVAL;
14513         dXSTARG;
14514
14515         RETVAL = THIS->GetLineSize();
14516         XSprePUSH; PUSHi((IV)RETVAL);
14517     }
14518     XSRETURN(1);
14519 }
14520
14521
14522 XS(XS_Wx__Slider_GetMax); /* prototype to pass -Wmissing-prototypes */
14523 XS(XS_Wx__Slider_GetMax)
14524 {
14525 #ifdef dVAR
14526     dVAR; dXSARGS;
14527 #else
14528     dXSARGS;
14529 #endif
14530     if (items != 1)
14531        croak_xs_usage(cv,  "THIS");
14532     {
14533         wxSlider *    THIS = (wxSlider *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Slider" );
14534         int     RETVAL;
14535         dXSTARG;
14536
14537         RETVAL = THIS->GetMax();
14538         XSprePUSH; PUSHi((IV)RETVAL);
14539     }
14540     XSRETURN(1);
14541 }
14542
14543
14544 XS(XS_Wx__Slider_GetMin); /* prototype to pass -Wmissing-prototypes */
14545 XS(XS_Wx__Slider_GetMin)
14546 {
14547 #ifdef dVAR
14548     dVAR; dXSARGS;
14549 #else
14550     dXSARGS;
14551 #endif
14552     if (items != 1)
14553        croak_xs_usage(cv,  "THIS");
14554     {
14555         wxSlider *    THIS = (wxSlider *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Slider" );
14556         int     RETVAL;
14557         dXSTARG;
14558
14559         RETVAL = THIS->GetMin();
14560         XSprePUSH; PUSHi((IV)RETVAL);
14561     }
14562     XSRETURN(1);
14563 }
14564
14565
14566 XS(XS_Wx__Slider_GetPageSize); /* prototype to pass -Wmissing-prototypes */
14567 XS(XS_Wx__Slider_GetPageSize)
14568 {
14569 #ifdef dVAR
14570     dVAR; dXSARGS;
14571 #else
14572     dXSARGS;
14573 #endif
14574     if (items != 1)
14575        croak_xs_usage(cv,  "THIS");
14576     {
14577         wxSlider *    THIS = (wxSlider *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Slider" );
14578         int     RETVAL;
14579         dXSTARG;
14580
14581         RETVAL = THIS->GetPageSize();
14582         XSprePUSH; PUSHi((IV)RETVAL);
14583     }
14584     XSRETURN(1);
14585 }
14586
14587 #if defined( __WXMSW__ ) || defined( __WXPERL_FORCE__ )
14588 #define XSubPPtmpAACL 1
14589
14590
14591 XS(XS_Wx__Slider_GetSelEnd); /* prototype to pass -Wmissing-prototypes */
14592 XS(XS_Wx__Slider_GetSelEnd)
14593 {
14594 #ifdef dVAR
14595     dVAR; dXSARGS;
14596 #else
14597     dXSARGS;
14598 #endif
14599     if (items != 1)
14600        croak_xs_usage(cv,  "THIS");
14601     {
14602         wxSlider *    THIS = (wxSlider *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Slider" );
14603         int     RETVAL;
14604         dXSTARG;
14605
14606         RETVAL = THIS->GetSelEnd();
14607         XSprePUSH; PUSHi((IV)RETVAL);
14608     }
14609     XSRETURN(1);
14610 }
14611
14612
14613 XS(XS_Wx__Slider_GetSelStart); /* prototype to pass -Wmissing-prototypes */
14614 XS(XS_Wx__Slider_GetSelStart)
14615 {
14616 #ifdef dVAR
14617     dVAR; dXSARGS;
14618 #else
14619     dXSARGS;
14620 #endif
14621     if (items != 1)
14622        croak_xs_usage(cv,  "THIS");
14623     {
14624         wxSlider *    THIS = (wxSlider *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Slider" );
14625         int     RETVAL;
14626         dXSTARG;
14627
14628         RETVAL = THIS->GetSelStart();
14629         XSprePUSH; PUSHi((IV)RETVAL);
14630     }
14631     XSRETURN(1);
14632 }
14633
14634
14635 XS(XS_Wx__Slider_GetThumbLength); /* prototype to pass -Wmissing-prototypes */
14636 XS(XS_Wx__Slider_GetThumbLength)
14637 {
14638 #ifdef dVAR
14639     dVAR; dXSARGS;
14640 #else
14641     dXSARGS;
14642 #endif
14643     if (items != 1)
14644        croak_xs_usage(cv,  "THIS");
14645     {
14646         wxSlider *    THIS = (wxSlider *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Slider" );
14647         int     RETVAL;
14648         dXSTARG;
14649
14650         RETVAL = THIS->GetThumbLength();
14651         XSprePUSH; PUSHi((IV)RETVAL);
14652     }
14653     XSRETURN(1);
14654 }
14655
14656
14657 XS(XS_Wx__Slider_GetTickFreq); /* prototype to pass -Wmissing-prototypes */
14658 XS(XS_Wx__Slider_GetTickFreq)
14659 {
14660 #ifdef dVAR
14661     dVAR; dXSARGS;
14662 #else
14663     dXSARGS;
14664 #endif
14665     if (items != 1)
14666        croak_xs_usage(cv,  "THIS");
14667     {
14668         wxSlider *    THIS = (wxSlider *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Slider" );
14669         int     RETVAL;
14670         dXSTARG;
14671
14672         RETVAL = THIS->GetTickFreq();
14673         XSprePUSH; PUSHi((IV)RETVAL);
14674     }
14675     XSRETURN(1);
14676 }
14677
14678 #endif
14679
14680 XS(XS_Wx__Slider_GetValue); /* prototype to pass -Wmissing-prototypes */
14681 XS(XS_Wx__Slider_GetValue)
14682 {
14683 #ifdef dVAR
14684     dVAR; dXSARGS;
14685 #else
14686     dXSARGS;
14687 #endif
14688     if (items != 1)
14689        croak_xs_usage(cv,  "THIS");
14690     {
14691         wxSlider *    THIS = (wxSlider *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Slider" );
14692         int     RETVAL;
14693         dXSTARG;
14694
14695         RETVAL = THIS->GetValue();
14696         XSprePUSH; PUSHi((IV)RETVAL);
14697     }
14698     XSRETURN(1);
14699 }
14700
14701
14702 XS(XS_Wx__Slider_SetRange); /* prototype to pass -Wmissing-prototypes */
14703 XS(XS_Wx__Slider_SetRange)
14704 {
14705 #ifdef dVAR
14706     dVAR; dXSARGS;
14707 #else
14708     dXSARGS;
14709 #endif
14710     if (items != 3)
14711        croak_xs_usage(cv,  "THIS, minValue, maxValue");
14712     {
14713         int     minValue = (int)SvIV(ST(1));
14714         int     maxValue = (int)SvIV(ST(2));
14715         wxSlider *    THIS = (wxSlider *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Slider" );
14716
14717         THIS->SetRange(minValue, maxValue);
14718     }
14719     XSRETURN_EMPTY;
14720 }
14721
14722
14723 XS(XS_Wx__Slider_SetTickFreq); /* prototype to pass -Wmissing-prototypes */
14724 XS(XS_Wx__Slider_SetTickFreq)
14725 {
14726 #ifdef dVAR
14727     dVAR; dXSARGS;
14728 #else
14729     dXSARGS;
14730 #endif
14731     if (items != 3)
14732        croak_xs_usage(cv,  "THIS, n, pos");
14733     {
14734         int     n = (int)SvIV(ST(1));
14735         int     pos = (int)SvIV(ST(2));
14736         wxSlider *    THIS = (wxSlider *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Slider" );
14737
14738         THIS->SetTickFreq(n, pos);
14739     }
14740     XSRETURN_EMPTY;
14741 }
14742
14743
14744 XS(XS_Wx__Slider_SetLineSize); /* prototype to pass -Wmissing-prototypes */
14745 XS(XS_Wx__Slider_SetLineSize)
14746 {
14747 #ifdef dVAR
14748     dVAR; dXSARGS;
14749 #else
14750     dXSARGS;
14751 #endif
14752     if (items != 2)
14753        croak_xs_usage(cv,  "THIS, lineSize");
14754     {
14755         int     lineSize = (int)SvIV(ST(1));
14756         wxSlider *    THIS = (wxSlider *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Slider" );
14757
14758         THIS->SetLineSize(lineSize);
14759     }
14760     XSRETURN_EMPTY;
14761 }
14762
14763
14764 XS(XS_Wx__Slider_SetPageSize); /* prototype to pass -Wmissing-prototypes */
14765 XS(XS_Wx__Slider_SetPageSize)
14766 {
14767 #ifdef dVAR
14768     dVAR; dXSARGS;
14769 #else
14770     dXSARGS;
14771 #endif
14772     if (items != 2)
14773        croak_xs_usage(cv,  "THIS, pageSize");
14774     {
14775         int     pageSize = (int)SvIV(ST(1));
14776         wxSlider *    THIS = (wxSlider *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Slider" );
14777
14778         THIS->SetPageSize(pageSize);
14779     }
14780     XSRETURN_EMPTY;
14781 }
14782
14783 #if defined( __WXPERL_FORCE__ )
14784 #define XSubPPtmpAACM 1
14785
14786
14787 XS(XS_Wx__Slider_StartSelection); /* prototype to pass -Wmissing-prototypes */
14788 XS(XS_Wx__Slider_StartSelection)
14789 {
14790 #ifdef dVAR
14791     dVAR; dXSARGS;
14792 #else
14793     dXSARGS;
14794 #endif
14795     if (items != 3)
14796        croak_xs_usage(cv,  "THIS, startPos, endPos");
14797     {
14798         int     startPos = (int)SvIV(ST(1));
14799         int     endPos = (int)SvIV(ST(2));
14800         wxSlider *    THIS = (wxSlider *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Slider" );
14801
14802         THIS->StartSelection(startPos, endPos);
14803     }
14804     XSRETURN_EMPTY;
14805 }
14806
14807 #endif
14808 #if defined( __WXMSW__ ) || defined( __WXPERL_FORCE__ )
14809 #define XSubPPtmpAACN 1
14810
14811
14812 XS(XS_Wx__Slider_SetThumbLength); /* prototype to pass -Wmissing-prototypes */
14813 XS(XS_Wx__Slider_SetThumbLength)
14814 {
14815 #ifdef dVAR
14816     dVAR; dXSARGS;
14817 #else
14818     dXSARGS;
14819 #endif
14820     if (items != 2)
14821        croak_xs_usage(cv,  "THIS, len");
14822     {
14823         int     len = (int)SvIV(ST(1));
14824         wxSlider *    THIS = (wxSlider *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Slider" );
14825
14826         THIS->SetThumbLength(len);
14827     }
14828     XSRETURN_EMPTY;
14829 }
14830
14831 #endif
14832
14833 XS(XS_Wx__Slider_SetValue); /* prototype to pass -Wmissing-prototypes */
14834 XS(XS_Wx__Slider_SetValue)
14835 {
14836 #ifdef dVAR
14837     dVAR; dXSARGS;
14838 #else
14839     dXSARGS;
14840 #endif
14841     if (items != 2)
14842        croak_xs_usage(cv,  "THIS, value");
14843     {
14844         int     value = (int)SvIV(ST(1));
14845         wxSlider *    THIS = (wxSlider *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Slider" );
14846
14847         THIS->SetValue(value);
14848     }
14849     XSRETURN_EMPTY;
14850 }
14851
14852
14853 /* INCLUDE: Returning to 'XS/ScrollBar.xs' from 'XS/Slider.xs' */
14854
14855 #include <wx/scrolbar.h>
14856
14857 XS(XS_Wx__ScrollBar_new); /* prototype to pass -Wmissing-prototypes */
14858 XS(XS_Wx__ScrollBar_new)
14859 {
14860 #ifdef dVAR
14861     dVAR; dXSARGS;
14862 #else
14863     dXSARGS;
14864 #endif
14865     PERL_UNUSED_VAR(cv); /* -W */
14866     PERL_UNUSED_VAR(ax); /* -Wall */
14867     SP -= items;
14868     {
14869     BEGIN_OVERLOAD()
14870         MATCH_VOIDM_REDISP( newDefault )
14871         MATCH_ANY_REDISP( newFull )
14872     END_OVERLOAD( "Wx::ScrollBar::new" )
14873         PUTBACK;
14874         return;
14875     }
14876 }
14877
14878
14879 XS(XS_Wx__ScrollBar_newDefault); /* prototype to pass -Wmissing-prototypes */
14880 XS(XS_Wx__ScrollBar_newDefault)
14881 {
14882 #ifdef dVAR
14883     dVAR; dXSARGS;
14884 #else
14885     dXSARGS;
14886 #endif
14887     if (items != 1)
14888        croak_xs_usage(cv,  "CLASS");
14889     {
14890         PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) );
14891         wxScrollBar *   RETVAL;
14892     RETVAL = new wxScrollBar();
14893     wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
14894         ST(0) = sv_newmortal();
14895     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
14896
14897     }
14898     XSRETURN(1);
14899 }
14900
14901
14902 XS(XS_Wx__ScrollBar_newFull); /* prototype to pass -Wmissing-prototypes */
14903 XS(XS_Wx__ScrollBar_newFull)
14904 {
14905 #ifdef dVAR
14906     dVAR; dXSARGS;
14907 #else
14908     dXSARGS;
14909 #endif
14910     if (items < 2 || items > 8)
14911        croak_xs_usage(cv,  "CLASS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = wxSB_HORIZONTAL, validator = (wxValidator*)&wxDefaultValidator, name = wxScrollBarNameStr");
14912     {
14913         PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) );
14914         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
14915         wxWindowID      id;
14916         wxPoint pos;
14917         wxSize  size;
14918         long    style;
14919         wxValidator*    validator;
14920         wxString        name;
14921         wxScrollBar *   RETVAL;
14922
14923         if (items < 3)
14924             id = wxID_ANY;
14925         else {
14926     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
14927         }
14928
14929         if (items < 4)
14930             pos = wxDefaultPosition;
14931         else {
14932     pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) );
14933         }
14934
14935         if (items < 5)
14936             size = wxDefaultSize;
14937         else {
14938     size = wxPli_sv_2_wxsize( aTHX_ ST(4) );
14939         }
14940
14941         if (items < 6)
14942             style = wxSB_HORIZONTAL;
14943         else {
14944             style = (long)SvIV(ST(5));
14945         }
14946
14947         if (items < 7)
14948             validator = (wxValidator*)&wxDefaultValidator;
14949         else {
14950     validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(6), "Wx::Validator" );
14951         }
14952
14953         if (items < 8)
14954             name = wxScrollBarNameStr;
14955         else {
14956     WXSTRING_INPUT( name, wxString, ST(7) );
14957         }
14958     RETVAL = new wxScrollBar( parent, id, pos, size, style, 
14959         *validator, name );
14960     wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
14961         ST(0) = sv_newmortal();
14962     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
14963
14964     }
14965     XSRETURN(1);
14966 }
14967
14968
14969 XS(XS_Wx__ScrollBar_Create); /* prototype to pass -Wmissing-prototypes */
14970 XS(XS_Wx__ScrollBar_Create)
14971 {
14972 #ifdef dVAR
14973     dVAR; dXSARGS;
14974 #else
14975     dXSARGS;
14976 #endif
14977     if (items < 2 || items > 8)
14978        croak_xs_usage(cv,  "THIS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = wxSB_HORIZONTAL, validator = (wxValidator*)&wxDefaultValidator, name = wxScrollBarNameStr");
14979     {
14980         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
14981         wxWindowID      id;
14982         wxPoint pos;
14983         wxSize  size;
14984         long    style;
14985         wxValidator*    validator;
14986         wxString        name;
14987         wxScrollBar *    THIS = (wxScrollBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ScrollBar" );
14988         bool    RETVAL;
14989
14990         if (items < 3)
14991             id = wxID_ANY;
14992         else {
14993     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
14994         }
14995
14996         if (items < 4)
14997             pos = wxDefaultPosition;
14998         else {
14999     pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) );
15000         }
15001
15002         if (items < 5)
15003             size = wxDefaultSize;
15004         else {
15005     size = wxPli_sv_2_wxsize( aTHX_ ST(4) );
15006         }
15007
15008         if (items < 6)
15009             style = wxSB_HORIZONTAL;
15010         else {
15011             style = (long)SvIV(ST(5));
15012         }
15013
15014         if (items < 7)
15015             validator = (wxValidator*)&wxDefaultValidator;
15016         else {
15017     validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(6), "Wx::Validator" );
15018         }
15019
15020         if (items < 8)
15021             name = wxScrollBarNameStr;
15022         else {
15023     WXSTRING_INPUT( name, wxString, ST(7) );
15024         }
15025
15026         RETVAL = THIS->Create(parent, id, pos, size, style, *validator, name);
15027         ST(0) = boolSV(RETVAL);
15028         sv_2mortal(ST(0));
15029     }
15030     XSRETURN(1);
15031 }
15032
15033
15034 XS(XS_Wx__ScrollBar_GetRange); /* prototype to pass -Wmissing-prototypes */
15035 XS(XS_Wx__ScrollBar_GetRange)
15036 {
15037 #ifdef dVAR
15038     dVAR; dXSARGS;
15039 #else
15040     dXSARGS;
15041 #endif
15042     if (items != 1)
15043        croak_xs_usage(cv,  "THIS");
15044     {
15045         wxScrollBar *    THIS = (wxScrollBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ScrollBar" );
15046         int     RETVAL;
15047         dXSTARG;
15048
15049         RETVAL = THIS->GetRange();
15050         XSprePUSH; PUSHi((IV)RETVAL);
15051     }
15052     XSRETURN(1);
15053 }
15054
15055
15056 XS(XS_Wx__ScrollBar_GetPageSize); /* prototype to pass -Wmissing-prototypes */
15057 XS(XS_Wx__ScrollBar_GetPageSize)
15058 {
15059 #ifdef dVAR
15060     dVAR; dXSARGS;
15061 #else
15062     dXSARGS;
15063 #endif
15064     if (items != 1)
15065        croak_xs_usage(cv,  "THIS");
15066     {
15067         wxScrollBar *    THIS = (wxScrollBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ScrollBar" );
15068         int     RETVAL;
15069         dXSTARG;
15070
15071         RETVAL = THIS->GetPageSize();
15072         XSprePUSH; PUSHi((IV)RETVAL);
15073     }
15074     XSRETURN(1);
15075 }
15076
15077
15078 XS(XS_Wx__ScrollBar_GetThumbPosition); /* prototype to pass -Wmissing-prototypes */
15079 XS(XS_Wx__ScrollBar_GetThumbPosition)
15080 {
15081 #ifdef dVAR
15082     dVAR; dXSARGS;
15083 #else
15084     dXSARGS;
15085 #endif
15086     if (items != 1)
15087        croak_xs_usage(cv,  "THIS");
15088     {
15089         wxScrollBar *    THIS = (wxScrollBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ScrollBar" );
15090         int     RETVAL;
15091         dXSTARG;
15092
15093         RETVAL = THIS->GetThumbPosition();
15094         XSprePUSH; PUSHi((IV)RETVAL);
15095     }
15096     XSRETURN(1);
15097 }
15098
15099
15100 XS(XS_Wx__ScrollBar_GetThumbSize); /* prototype to pass -Wmissing-prototypes */
15101 XS(XS_Wx__ScrollBar_GetThumbSize)
15102 {
15103 #ifdef dVAR
15104     dVAR; dXSARGS;
15105 #else
15106     dXSARGS;
15107 #endif
15108     if (items != 1)
15109        croak_xs_usage(cv,  "THIS");
15110     {
15111         wxScrollBar *    THIS = (wxScrollBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ScrollBar" );
15112         int     RETVAL;
15113         dXSTARG;
15114
15115         RETVAL = THIS->GetThumbSize();
15116         XSprePUSH; PUSHi((IV)RETVAL);
15117     }
15118     XSRETURN(1);
15119 }
15120
15121
15122 XS(XS_Wx__ScrollBar_SetThumbPosition); /* prototype to pass -Wmissing-prototypes */
15123 XS(XS_Wx__ScrollBar_SetThumbPosition)
15124 {
15125 #ifdef dVAR
15126     dVAR; dXSARGS;
15127 #else
15128     dXSARGS;
15129 #endif
15130     if (items != 2)
15131        croak_xs_usage(cv,  "THIS, viewStart");
15132     {
15133         int     viewStart = (int)SvIV(ST(1));
15134         wxScrollBar *    THIS = (wxScrollBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ScrollBar" );
15135
15136         THIS->SetThumbPosition(viewStart);
15137     }
15138     XSRETURN_EMPTY;
15139 }
15140
15141 #if !defined(__WXMAC__) && !defined(__WXMOTIF__)
15142 #define XSubPPtmpAACO 1
15143
15144
15145 XS(XS_Wx__ScrollBar_SetPageSize); /* prototype to pass -Wmissing-prototypes */
15146 XS(XS_Wx__ScrollBar_SetPageSize)
15147 {
15148 #ifdef dVAR
15149     dVAR; dXSARGS;
15150 #else
15151     dXSARGS;
15152 #endif
15153     if (items != 2)
15154        croak_xs_usage(cv,  "THIS, size");
15155     {
15156         int     size = (int)SvIV(ST(1));
15157         wxScrollBar *    THIS = (wxScrollBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ScrollBar" );
15158
15159         THIS->SetPageSize(size);
15160     }
15161     XSRETURN_EMPTY;
15162 }
15163
15164 #endif
15165
15166 XS(XS_Wx__ScrollBar_SetScrollbar); /* prototype to pass -Wmissing-prototypes */
15167 XS(XS_Wx__ScrollBar_SetScrollbar)
15168 {
15169 #ifdef dVAR
15170     dVAR; dXSARGS;
15171 #else
15172     dXSARGS;
15173 #endif
15174     if (items < 5 || items > 6)
15175        croak_xs_usage(cv,  "THIS, position, thumbSize, range, pageSize, refresh = true");
15176     {
15177         int     position = (int)SvIV(ST(1));
15178         int     thumbSize = (int)SvIV(ST(2));
15179         int     range = (int)SvIV(ST(3));
15180         int     pageSize = (int)SvIV(ST(4));
15181         bool    refresh;
15182         wxScrollBar *    THIS = (wxScrollBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ScrollBar" );
15183
15184         if (items < 6)
15185             refresh = true;
15186         else {
15187             refresh = (bool)SvTRUE(ST(5));
15188         }
15189
15190         THIS->SetScrollbar(position, thumbSize, range, pageSize, refresh);
15191     }
15192     XSRETURN_EMPTY;
15193 }
15194
15195
15196 /* INCLUDE: Returning to 'XS/RadioButton.xs' from 'XS/ScrollBar.xs' */
15197
15198 #include <wx/radiobut.h>
15199
15200 XS(XS_Wx__RadioButton_new); /* prototype to pass -Wmissing-prototypes */
15201 XS(XS_Wx__RadioButton_new)
15202 {
15203 #ifdef dVAR
15204     dVAR; dXSARGS;
15205 #else
15206     dXSARGS;
15207 #endif
15208     PERL_UNUSED_VAR(cv); /* -W */
15209     PERL_UNUSED_VAR(ax); /* -Wall */
15210     SP -= items;
15211     {
15212     BEGIN_OVERLOAD()
15213         MATCH_VOIDM_REDISP( newDefault )
15214         MATCH_ANY_REDISP( newFull )
15215     END_OVERLOAD( "Wx::RadioButton::new" )
15216         PUTBACK;
15217         return;
15218     }
15219 }
15220
15221
15222 XS(XS_Wx__RadioButton_newDefault); /* prototype to pass -Wmissing-prototypes */
15223 XS(XS_Wx__RadioButton_newDefault)
15224 {
15225 #ifdef dVAR
15226     dVAR; dXSARGS;
15227 #else
15228     dXSARGS;
15229 #endif
15230     if (items != 1)
15231        croak_xs_usage(cv,  "CLASS");
15232     {
15233         PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) );
15234         wxRadioButton * RETVAL;
15235     RETVAL = new wxRadioButton();
15236     wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
15237         ST(0) = sv_newmortal();
15238     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
15239
15240     }
15241     XSRETURN(1);
15242 }
15243
15244
15245 XS(XS_Wx__RadioButton_newFull); /* prototype to pass -Wmissing-prototypes */
15246 XS(XS_Wx__RadioButton_newFull)
15247 {
15248 #ifdef dVAR
15249     dVAR; dXSARGS;
15250 #else
15251     dXSARGS;
15252 #endif
15253     if (items < 4 || items > 9)
15254        croak_xs_usage(cv,  "CLASS, parent, id, label, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, validator = (wxValidator*)&wxDefaultValidator, name = wxRadioButtonNameStr");
15255     {
15256         PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) );
15257         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
15258         wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) );
15259         wxString        label;
15260         wxPoint pos;
15261         wxSize  size;
15262         long    style;
15263         wxValidator*    validator;
15264         wxString        name;
15265         wxRadioButton * RETVAL;
15266
15267     WXSTRING_INPUT( label, wxString, ST(3) );
15268
15269         if (items < 5)
15270             pos = wxDefaultPosition;
15271         else {
15272     pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
15273         }
15274
15275         if (items < 6)
15276             size = wxDefaultSize;
15277         else {
15278     size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
15279         }
15280
15281         if (items < 7)
15282             style = 0;
15283         else {
15284             style = (long)SvIV(ST(6));
15285         }
15286
15287         if (items < 8)
15288             validator = (wxValidator*)&wxDefaultValidator;
15289         else {
15290     validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" );
15291         }
15292
15293         if (items < 9)
15294             name = wxRadioButtonNameStr;
15295         else {
15296     WXSTRING_INPUT( name, wxString, ST(8) );
15297         }
15298     RETVAL = new wxRadioButton( parent, id, label, pos, size, 
15299         style, *validator, name );
15300     wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
15301         ST(0) = sv_newmortal();
15302     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
15303
15304     }
15305     XSRETURN(1);
15306 }
15307
15308
15309 XS(XS_Wx__RadioButton_Create); /* prototype to pass -Wmissing-prototypes */
15310 XS(XS_Wx__RadioButton_Create)
15311 {
15312 #ifdef dVAR
15313     dVAR; dXSARGS;
15314 #else
15315     dXSARGS;
15316 #endif
15317     if (items < 4 || items > 9)
15318        croak_xs_usage(cv,  "THIS, parent, id, label, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, validator = (wxValidator*)&wxDefaultValidator, name = wxRadioButtonNameStr");
15319     {
15320         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
15321         wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) );
15322         wxString        label;
15323         wxPoint pos;
15324         wxSize  size;
15325         long    style;
15326         wxValidator*    validator;
15327         wxString        name;
15328         wxRadioButton *    THIS = (wxRadioButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RadioButton" );
15329         bool    RETVAL;
15330
15331     WXSTRING_INPUT( label, wxString, ST(3) );
15332
15333         if (items < 5)
15334             pos = wxDefaultPosition;
15335         else {
15336     pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
15337         }
15338
15339         if (items < 6)
15340             size = wxDefaultSize;
15341         else {
15342     size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
15343         }
15344
15345         if (items < 7)
15346             style = 0;
15347         else {
15348             style = (long)SvIV(ST(6));
15349         }
15350
15351         if (items < 8)
15352             validator = (wxValidator*)&wxDefaultValidator;
15353         else {
15354     validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" );
15355         }
15356
15357         if (items < 9)
15358             name = wxRadioButtonNameStr;
15359         else {
15360     WXSTRING_INPUT( name, wxString, ST(8) );
15361         }
15362
15363         RETVAL = THIS->Create(parent, id, label, pos, size, style, *validator, name);
15364         ST(0) = boolSV(RETVAL);
15365         sv_2mortal(ST(0));
15366     }
15367     XSRETURN(1);
15368 }
15369
15370
15371 XS(XS_Wx__RadioButton_GetValue); /* prototype to pass -Wmissing-prototypes */
15372 XS(XS_Wx__RadioButton_GetValue)
15373 {
15374 #ifdef dVAR
15375     dVAR; dXSARGS;
15376 #else
15377     dXSARGS;
15378 #endif
15379     if (items != 1)
15380        croak_xs_usage(cv,  "THIS");
15381     {
15382         wxRadioButton *    THIS = (wxRadioButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RadioButton" );
15383         bool    RETVAL;
15384
15385         RETVAL = THIS->GetValue();
15386         ST(0) = boolSV(RETVAL);
15387         sv_2mortal(ST(0));
15388     }
15389     XSRETURN(1);
15390 }
15391
15392
15393 XS(XS_Wx__RadioButton_SetValue); /* prototype to pass -Wmissing-prototypes */
15394 XS(XS_Wx__RadioButton_SetValue)
15395 {
15396 #ifdef dVAR
15397     dVAR; dXSARGS;
15398 #else
15399     dXSARGS;
15400 #endif
15401     if (items != 2)
15402        croak_xs_usage(cv,  "THIS, value");
15403     {
15404         bool    value = (bool)SvTRUE(ST(1));
15405         wxRadioButton *    THIS = (wxRadioButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RadioButton" );
15406
15407         THIS->SetValue(value);
15408     }
15409     XSRETURN_EMPTY;
15410 }
15411
15412
15413 /* INCLUDE: Returning to 'XS/RadioBox.xs' from 'XS/RadioButton.xs' */
15414
15415 #include <wx/radiobox.h>
15416 #include <wx/tooltip.h>
15417
15418 XS(XS_Wx__RadioBox_new); /* prototype to pass -Wmissing-prototypes */
15419 XS(XS_Wx__RadioBox_new)
15420 {
15421 #ifdef dVAR
15422     dVAR; dXSARGS;
15423 #else
15424     dXSARGS;
15425 #endif
15426     PERL_UNUSED_VAR(cv); /* -W */
15427     PERL_UNUSED_VAR(ax); /* -Wall */
15428     SP -= items;
15429     {
15430     BEGIN_OVERLOAD()
15431         MATCH_VOIDM_REDISP( newDefault )
15432         MATCH_ANY_REDISP( newFull )
15433     END_OVERLOAD( "Wx::RadioBox::new" )
15434         PUTBACK;
15435         return;
15436     }
15437 }
15438
15439
15440 XS(XS_Wx__RadioBox_newDefault); /* prototype to pass -Wmissing-prototypes */
15441 XS(XS_Wx__RadioBox_newDefault)
15442 {
15443 #ifdef dVAR
15444     dVAR; dXSARGS;
15445 #else
15446     dXSARGS;
15447 #endif
15448     if (items != 1)
15449        croak_xs_usage(cv,  "CLASS");
15450     {
15451         PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) );
15452         wxRadioBox *    RETVAL;
15453     RETVAL = new wxRadioBox();
15454     wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
15455         ST(0) = sv_newmortal();
15456     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
15457
15458     }
15459     XSRETURN(1);
15460 }
15461
15462
15463 XS(XS_Wx__RadioBox_newFull); /* prototype to pass -Wmissing-prototypes */
15464 XS(XS_Wx__RadioBox_newFull)
15465 {
15466 #ifdef dVAR
15467     dVAR; dXSARGS;
15468 #else
15469     dXSARGS;
15470 #endif
15471     if (items < 4 || items > 11)
15472        croak_xs_usage(cv,  "CLASS, parent, id, label, point = wxDefaultPosition, size = wxDefaultSize, choices = 0, majorDimension = 0, style = wxRA_SPECIFY_COLS, validator = (wxValidator*)&wxDefaultValidator, name = wxRadioBoxNameStr");
15473     {
15474         PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) );
15475         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
15476         wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) );
15477         wxString        label;
15478         wxPoint point;
15479         wxSize  size;
15480         SV*     choices;
15481         int     majorDimension;
15482         long    style;
15483         wxValidator*    validator;
15484         wxString        name;
15485     int n;
15486     wxString* chs;
15487         wxRadioBox *    RETVAL;
15488
15489     WXSTRING_INPUT( label, wxString, ST(3) );
15490
15491         if (items < 5)
15492             point = wxDefaultPosition;
15493         else {
15494     point = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
15495         }
15496
15497         if (items < 6)
15498             size = wxDefaultSize;
15499         else {
15500     size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
15501         }
15502
15503         if (items < 7)
15504             choices = 0;
15505         else {
15506             choices = ST(6);
15507         }
15508
15509         if (items < 8)
15510             majorDimension = 0;
15511         else {
15512             majorDimension = (int)SvIV(ST(7));
15513         }
15514
15515         if (items < 9)
15516             style = wxRA_SPECIFY_COLS;
15517         else {
15518             style = (long)SvIV(ST(8));
15519         }
15520
15521         if (items < 10)
15522             validator = (wxValidator*)&wxDefaultValidator;
15523         else {
15524     validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(9), "Wx::Validator" );
15525         }
15526
15527         if (items < 11)
15528             name = wxRadioBoxNameStr;
15529         else {
15530     WXSTRING_INPUT( name, wxString, ST(10) );
15531         }
15532     if( choices )
15533         n = wxPli_av_2_stringarray( aTHX_ choices, &chs );
15534     else {
15535         n = 0;
15536         chs = 0;
15537     }
15538
15539     RETVAL = new wxRadioBox( parent, id, label, point, size,
15540         n, chs, majorDimension, style, *validator, name );
15541     wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
15542
15543     delete[] chs;
15544         ST(0) = sv_newmortal();
15545     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
15546
15547     }
15548     XSRETURN(1);
15549 }
15550
15551
15552 XS(XS_Wx__RadioBox_Create); /* prototype to pass -Wmissing-prototypes */
15553 XS(XS_Wx__RadioBox_Create)
15554 {
15555 #ifdef dVAR
15556     dVAR; dXSARGS;
15557 #else
15558     dXSARGS;
15559 #endif
15560     if (items < 4 || items > 11)
15561        croak_xs_usage(cv,  "THIS, parent, id, label, point = wxDefaultPosition, size = wxDefaultSize, choices = 0, majorDimension = 0, style = wxRA_SPECIFY_COLS, validator = (wxValidator*)&wxDefaultValidator, name = wxRadioBoxNameStr");
15562     {
15563         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
15564         wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) );
15565         wxString        label;
15566         wxPoint point;
15567         wxSize  size;
15568         SV*     choices;
15569         int     majorDimension;
15570         long    style;
15571         wxValidator*    validator;
15572         wxString        name;
15573     int n;
15574     wxString* chs;
15575         wxRadioBox *    THIS = (wxRadioBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RadioBox" );
15576         bool    RETVAL;
15577
15578     WXSTRING_INPUT( label, wxString, ST(3) );
15579
15580         if (items < 5)
15581             point = wxDefaultPosition;
15582         else {
15583     point = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
15584         }
15585
15586         if (items < 6)
15587             size = wxDefaultSize;
15588         else {
15589     size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
15590         }
15591
15592         if (items < 7)
15593             choices = 0;
15594         else {
15595             choices = ST(6);
15596         }
15597
15598         if (items < 8)
15599             majorDimension = 0;
15600         else {
15601             majorDimension = (int)SvIV(ST(7));
15602         }
15603
15604         if (items < 9)
15605             style = wxRA_SPECIFY_COLS;
15606         else {
15607             style = (long)SvIV(ST(8));
15608         }
15609
15610         if (items < 10)
15611             validator = (wxValidator*)&wxDefaultValidator;
15612         else {
15613     validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(9), "Wx::Validator" );
15614         }
15615
15616         if (items < 11)
15617             name = wxRadioBoxNameStr;
15618         else {
15619     WXSTRING_INPUT( name, wxString, ST(10) );
15620         }
15621     if( choices )
15622         n = wxPli_av_2_stringarray( aTHX_ choices, &chs );
15623     else {
15624         n = 0;
15625         chs = 0;
15626     }
15627
15628     RETVAL = THIS->Create( parent, id, label, point, size,
15629         n, chs, majorDimension, style, *validator, name );
15630
15631     delete[] chs;
15632         ST(0) = boolSV(RETVAL);
15633         sv_2mortal(ST(0));
15634     }
15635     XSRETURN(1);
15636 }
15637
15638
15639 XS(XS_Wx__RadioBox_EnableItem); /* prototype to pass -Wmissing-prototypes */
15640 XS(XS_Wx__RadioBox_EnableItem)
15641 {
15642 #ifdef dVAR
15643     dVAR; dXSARGS;
15644 #else
15645     dXSARGS;
15646 #endif
15647     if (items != 3)
15648        croak_xs_usage(cv,  "THIS, n, enable");
15649     {
15650         int     n = (int)SvIV(ST(1));
15651         bool    enable = (bool)SvTRUE(ST(2));
15652         wxRadioBox *    THIS = (wxRadioBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RadioBox" );
15653     THIS->Enable( n, enable );
15654     }
15655     XSRETURN_EMPTY;
15656 }
15657
15658
15659 XS(XS_Wx__RadioBox_FindString); /* prototype to pass -Wmissing-prototypes */
15660 XS(XS_Wx__RadioBox_FindString)
15661 {
15662 #ifdef dVAR
15663     dVAR; dXSARGS;
15664 #else
15665     dXSARGS;
15666 #endif
15667     if (items != 2)
15668        croak_xs_usage(cv,  "THIS, string");
15669     {
15670         wxString        string;
15671         wxRadioBox *    THIS = (wxRadioBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RadioBox" );
15672         int     RETVAL;
15673         dXSTARG;
15674
15675     WXSTRING_INPUT( string, wxString, ST(1) );
15676
15677         RETVAL = THIS->FindString(string);
15678         XSprePUSH; PUSHi((IV)RETVAL);
15679     }
15680     XSRETURN(1);
15681 }
15682
15683 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
15684 #define XSubPPtmpAACP 1
15685
15686
15687 XS(XS_Wx__RadioBox_GetColumnCount); /* prototype to pass -Wmissing-prototypes */
15688 XS(XS_Wx__RadioBox_GetColumnCount)
15689 {
15690 #ifdef dVAR
15691     dVAR; dXSARGS;
15692 #else
15693     dXSARGS;
15694 #endif
15695     if (items != 1)
15696        croak_xs_usage(cv,  "THIS");
15697     {
15698         wxRadioBox *    THIS = (wxRadioBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RadioBox" );
15699         unsigned int    RETVAL;
15700         dXSTARG;
15701
15702         RETVAL = THIS->GetColumnCount();
15703         XSprePUSH; PUSHu((UV)RETVAL );
15704     }
15705     XSRETURN(1);
15706 }
15707
15708
15709 XS(XS_Wx__RadioBox_GetRowCount); /* prototype to pass -Wmissing-prototypes */
15710 XS(XS_Wx__RadioBox_GetRowCount)
15711 {
15712 #ifdef dVAR
15713     dVAR; dXSARGS;
15714 #else
15715     dXSARGS;
15716 #endif
15717     if (items != 1)
15718        croak_xs_usage(cv,  "THIS");
15719     {
15720         wxRadioBox *    THIS = (wxRadioBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RadioBox" );
15721         unsigned int    RETVAL;
15722         dXSTARG;
15723
15724         RETVAL = THIS->GetRowCount();
15725         XSprePUSH; PUSHu((UV)RETVAL );
15726     }
15727     XSRETURN(1);
15728 }
15729
15730
15731 XS(XS_Wx__RadioBox_GetItemFromPoint); /* prototype to pass -Wmissing-prototypes */
15732 XS(XS_Wx__RadioBox_GetItemFromPoint)
15733 {
15734 #ifdef dVAR
15735     dVAR; dXSARGS;
15736 #else
15737     dXSARGS;
15738 #endif
15739     if (items != 2)
15740        croak_xs_usage(cv,  "THIS, pt");
15741     {
15742         wxPoint    pt = wxPli_sv_2_wxpoint( aTHX_ ST(1) );
15743         wxRadioBox *    THIS = (wxRadioBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RadioBox" );
15744         int     RETVAL;
15745         dXSTARG;
15746
15747         RETVAL = THIS->GetItemFromPoint(pt);
15748         XSprePUSH; PUSHi((IV)RETVAL);
15749     }
15750     XSRETURN(1);
15751 }
15752
15753 #endif
15754
15755 XS(XS_Wx__RadioBox_GetString); /* prototype to pass -Wmissing-prototypes */
15756 XS(XS_Wx__RadioBox_GetString)
15757 {
15758 #ifdef dVAR
15759     dVAR; dXSARGS;
15760 #else
15761     dXSARGS;
15762 #endif
15763     if (items != 2)
15764        croak_xs_usage(cv,  "THIS, n");
15765     {
15766         int     n = (int)SvIV(ST(1));
15767         wxRadioBox *    THIS = (wxRadioBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RadioBox" );
15768         wxString        RETVAL;
15769
15770         RETVAL = THIS->GetString(n);
15771         ST(0) = sv_newmortal();
15772     WXSTRING_OUTPUT( RETVAL, ST(0) );
15773
15774     }
15775     XSRETURN(1);
15776 }
15777
15778
15779 XS(XS_Wx__RadioBox_GetItemLabel); /* prototype to pass -Wmissing-prototypes */
15780 XS(XS_Wx__RadioBox_GetItemLabel)
15781 {
15782 #ifdef dVAR
15783     dVAR; dXSARGS;
15784 #else
15785     dXSARGS;
15786 #endif
15787     if (items != 2)
15788        croak_xs_usage(cv,  "THIS, n");
15789     {
15790         int     n = (int)SvIV(ST(1));
15791         wxRadioBox *    THIS = (wxRadioBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RadioBox" );
15792         wxString        RETVAL;
15793     RETVAL = THIS->GetString( n );
15794         ST(0) = sv_newmortal();
15795     WXSTRING_OUTPUT( RETVAL, ST(0) );
15796
15797     }
15798     XSRETURN(1);
15799 }
15800
15801
15802 XS(XS_Wx__RadioBox_GetSelection); /* prototype to pass -Wmissing-prototypes */
15803 XS(XS_Wx__RadioBox_GetSelection)
15804 {
15805 #ifdef dVAR
15806     dVAR; dXSARGS;
15807 #else
15808     dXSARGS;
15809 #endif
15810     if (items != 1)
15811        croak_xs_usage(cv,  "THIS");
15812     {
15813         wxRadioBox *    THIS = (wxRadioBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RadioBox" );
15814         int     RETVAL;
15815         dXSTARG;
15816
15817         RETVAL = THIS->GetSelection();
15818         XSprePUSH; PUSHi((IV)RETVAL);
15819     }
15820     XSRETURN(1);
15821 }
15822
15823
15824 XS(XS_Wx__RadioBox_GetStringSelection); /* prototype to pass -Wmissing-prototypes */
15825 XS(XS_Wx__RadioBox_GetStringSelection)
15826 {
15827 #ifdef dVAR
15828     dVAR; dXSARGS;
15829 #else
15830     dXSARGS;
15831 #endif
15832     if (items != 1)
15833        croak_xs_usage(cv,  "THIS");
15834     {
15835         wxRadioBox *    THIS = (wxRadioBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RadioBox" );
15836         wxString        RETVAL;
15837
15838         RETVAL = THIS->GetStringSelection();
15839         ST(0) = sv_newmortal();
15840     WXSTRING_OUTPUT( RETVAL, ST(0) );
15841
15842     }
15843     XSRETURN(1);
15844 }
15845
15846 #if WXPERL_W_VERSION_GE( 2, 7, 0 )
15847 #define XSubPPtmpAACQ 1
15848
15849
15850 XS(XS_Wx__RadioBox_IsItemEnabled); /* prototype to pass -Wmissing-prototypes */
15851 XS(XS_Wx__RadioBox_IsItemEnabled)
15852 {
15853 #ifdef dVAR
15854     dVAR; dXSARGS;
15855 #else
15856     dXSARGS;
15857 #endif
15858     if (items != 2)
15859        croak_xs_usage(cv,  "THIS, item");
15860     {
15861         wxRadioBox *    THIS = (wxRadioBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RadioBox" );
15862         bool    RETVAL;
15863         unsigned int    item = (unsigned int)SvUV( ST(1) );
15864
15865         RETVAL = THIS->IsItemEnabled(item);
15866         ST(0) = boolSV(RETVAL);
15867         sv_2mortal(ST(0));
15868     }
15869     XSRETURN(1);
15870 }
15871
15872
15873 XS(XS_Wx__RadioBox_IsItemShown); /* prototype to pass -Wmissing-prototypes */
15874 XS(XS_Wx__RadioBox_IsItemShown)
15875 {
15876 #ifdef dVAR
15877     dVAR; dXSARGS;
15878 #else
15879     dXSARGS;
15880 #endif
15881     if (items != 2)
15882        croak_xs_usage(cv,  "THIS, item");
15883     {
15884         wxRadioBox *    THIS = (wxRadioBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RadioBox" );
15885         bool    RETVAL;
15886         unsigned int    item = (unsigned int)SvUV( ST(1) );
15887
15888         RETVAL = THIS->IsItemShown(item);
15889         ST(0) = boolSV(RETVAL);
15890         sv_2mortal(ST(0));
15891     }
15892     XSRETURN(1);
15893 }
15894
15895 #endif
15896
15897 XS(XS_Wx__RadioBox_SetString); /* prototype to pass -Wmissing-prototypes */
15898 XS(XS_Wx__RadioBox_SetString)
15899 {
15900 #ifdef dVAR
15901     dVAR; dXSARGS;
15902 #else
15903     dXSARGS;
15904 #endif
15905     if (items != 3)
15906        croak_xs_usage(cv,  "THIS, n, label");
15907     {
15908         int     n = (int)SvIV(ST(1));
15909         wxString        label;
15910         wxRadioBox *    THIS = (wxRadioBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RadioBox" );
15911
15912     WXSTRING_INPUT( label, wxString, ST(2) );
15913
15914         THIS->SetString(n, label);
15915     }
15916     XSRETURN_EMPTY;
15917 }
15918
15919
15920 XS(XS_Wx__RadioBox_SetItemLabel); /* prototype to pass -Wmissing-prototypes */
15921 XS(XS_Wx__RadioBox_SetItemLabel)
15922 {
15923 #ifdef dVAR
15924     dVAR; dXSARGS;
15925 #else
15926     dXSARGS;
15927 #endif
15928     if (items != 3)
15929        croak_xs_usage(cv,  "THIS, n, label");
15930     {
15931         int     n = (int)SvIV(ST(1));
15932         wxString        label;
15933         wxRadioBox *    THIS = (wxRadioBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RadioBox" );
15934
15935     WXSTRING_INPUT( label, wxString, ST(2) );
15936     THIS->SetString( n, label );
15937     }
15938     XSRETURN_EMPTY;
15939 }
15940
15941 #if wxPERL_USE_TOOLTIPS && WXPERL_W_VERSION_GE( 2, 7, 0 )
15942 #define XSubPPtmpAACR 1
15943
15944
15945 XS(XS_Wx__RadioBox_SetItemToolTip); /* prototype to pass -Wmissing-prototypes */
15946 XS(XS_Wx__RadioBox_SetItemToolTip)
15947 {
15948 #ifdef dVAR
15949     dVAR; dXSARGS;
15950 #else
15951     dXSARGS;
15952 #endif
15953     if (items != 3)
15954        croak_xs_usage(cv,  "THIS, item, text");
15955     {
15956         unsigned int    item = (unsigned int)SvUV( ST(1) );
15957         wxString        text;
15958         wxRadioBox *    THIS = (wxRadioBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RadioBox" );
15959
15960     WXSTRING_INPUT( text, wxString, ST(2) );
15961
15962         THIS->SetItemToolTip(item, text);
15963     }
15964     XSRETURN_EMPTY;
15965 }
15966
15967
15968 XS(XS_Wx__RadioBox_GetItemToolTip); /* prototype to pass -Wmissing-prototypes */
15969 XS(XS_Wx__RadioBox_GetItemToolTip)
15970 {
15971 #ifdef dVAR
15972     dVAR; dXSARGS;
15973 #else
15974     dXSARGS;
15975 #endif
15976     if (items != 2)
15977        croak_xs_usage(cv,  "THIS, item");
15978     {
15979         unsigned int    item = (unsigned int)SvUV( ST(1) );
15980         wxRadioBox *    THIS = (wxRadioBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RadioBox" );
15981         wxToolTip *     RETVAL;
15982
15983         RETVAL = THIS->GetItemToolTip(item);
15984         ST(0) = sv_newmortal();
15985     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
15986
15987     }
15988     XSRETURN(1);
15989 }
15990
15991 #endif
15992 #if wxPERL_USE_HELP && WXPERL_W_VERSION_GE( 2, 7, 0 )
15993 #define XSubPPtmpAACS 1
15994
15995
15996 XS(XS_Wx__RadioBox_SetItemHelpText); /* prototype to pass -Wmissing-prototypes */
15997 XS(XS_Wx__RadioBox_SetItemHelpText)
15998 {
15999 #ifdef dVAR
16000     dVAR; dXSARGS;
16001 #else
16002     dXSARGS;
16003 #endif
16004     if (items != 3)
16005        croak_xs_usage(cv,  "THIS, item, text");
16006     {
16007         unsigned int    item = (unsigned int)SvUV( ST(1) );
16008         wxString        text;
16009         wxRadioBox *    THIS = (wxRadioBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RadioBox" );
16010
16011     WXSTRING_INPUT( text, wxString, ST(2) );
16012
16013         THIS->SetItemHelpText(item, text);
16014     }
16015     XSRETURN_EMPTY;
16016 }
16017
16018
16019 XS(XS_Wx__RadioBox_GetItemHelpText); /* prototype to pass -Wmissing-prototypes */
16020 XS(XS_Wx__RadioBox_GetItemHelpText)
16021 {
16022 #ifdef dVAR
16023     dVAR; dXSARGS;
16024 #else
16025     dXSARGS;
16026 #endif
16027     if (items != 2)
16028        croak_xs_usage(cv,  "THIS, item");
16029     {
16030         unsigned int    item = (unsigned int)SvUV( ST(1) );
16031         wxRadioBox *    THIS = (wxRadioBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RadioBox" );
16032         wxString        RETVAL;
16033
16034         RETVAL = THIS->GetItemHelpText(item);
16035         ST(0) = sv_newmortal();
16036     WXSTRING_OUTPUT( RETVAL, ST(0) );
16037
16038     }
16039     XSRETURN(1);
16040 }
16041
16042 #endif
16043
16044 XS(XS_Wx__RadioBox_SetSelection); /* prototype to pass -Wmissing-prototypes */
16045 XS(XS_Wx__RadioBox_SetSelection)
16046 {
16047 #ifdef dVAR
16048     dVAR; dXSARGS;
16049 #else
16050     dXSARGS;
16051 #endif
16052     if (items != 2)
16053        croak_xs_usage(cv,  "THIS, n");
16054     {
16055         int     n = (int)SvIV(ST(1));
16056         wxRadioBox *    THIS = (wxRadioBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RadioBox" );
16057
16058         THIS->SetSelection(n);
16059     }
16060     XSRETURN_EMPTY;
16061 }
16062
16063
16064 XS(XS_Wx__RadioBox_SetStringSelection); /* prototype to pass -Wmissing-prototypes */
16065 XS(XS_Wx__RadioBox_SetStringSelection)
16066 {
16067 #ifdef dVAR
16068     dVAR; dXSARGS;
16069 #else
16070     dXSARGS;
16071 #endif
16072     if (items != 2)
16073        croak_xs_usage(cv,  "THIS, string");
16074     {
16075         wxString        string;
16076         wxRadioBox *    THIS = (wxRadioBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RadioBox" );
16077
16078     WXSTRING_INPUT( string, wxString, ST(1) );
16079
16080         THIS->SetStringSelection(string);
16081     }
16082     XSRETURN_EMPTY;
16083 }
16084
16085
16086 XS(XS_Wx__RadioBox_ShowItem); /* prototype to pass -Wmissing-prototypes */
16087 XS(XS_Wx__RadioBox_ShowItem)
16088 {
16089 #ifdef dVAR
16090     dVAR; dXSARGS;
16091 #else
16092     dXSARGS;
16093 #endif
16094     if (items != 3)
16095        croak_xs_usage(cv,  "THIS, n, show");
16096     {
16097         int     n = (int)SvIV(ST(1));
16098         bool    show = (bool)SvTRUE(ST(2));
16099         wxRadioBox *    THIS = (wxRadioBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RadioBox" );
16100     THIS->Show( n, show );
16101     }
16102     XSRETURN_EMPTY;
16103 }
16104
16105
16106 /* INCLUDE: Returning to 'XS/Notebook.xs' from 'XS/RadioBox.xs' */
16107
16108 #include <wx/notebook.h>
16109 #if WXPERL_W_VERSION_LT( 2, 6, 0 )
16110 #define wxNotebookNameStr wxT("notebook")
16111 #endif
16112
16113 XS(XS_Wx__NotebookEvent_new); /* prototype to pass -Wmissing-prototypes */
16114 XS(XS_Wx__NotebookEvent_new)
16115 {
16116 #ifdef dVAR
16117     dVAR; dXSARGS;
16118 #else
16119     dXSARGS;
16120 #endif
16121     if (items < 1 || items > 5)
16122        croak_xs_usage(cv,  "CLASS, eventType = wxEVT_NULL, id = 0, sel = -1, oldSel = -1");
16123     {
16124         wxEventType     eventType;
16125         int     id;
16126         int     sel;
16127         int     oldSel;
16128         char *  CLASS = (char *)SvPV_nolen(ST(0));
16129         wxNotebookEvent *       RETVAL;
16130
16131         if (items < 2)
16132             eventType = wxEVT_NULL;
16133         else {
16134             eventType = (wxEventType)SvIV(ST(1));
16135         }
16136
16137         if (items < 3)
16138             id = 0;
16139         else {
16140             id = (int)SvIV(ST(2));
16141         }
16142
16143         if (items < 4)
16144             sel = -1;
16145         else {
16146             sel = (int)SvIV(ST(3));
16147         }
16148
16149         if (items < 5)
16150             oldSel = -1;
16151         else {
16152             oldSel = (int)SvIV(ST(4));
16153         }
16154
16155         RETVAL = new wxNotebookEvent(eventType, id, sel, oldSel);
16156         ST(0) = sv_newmortal();
16157     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
16158     wxPli_thread_sv_register( aTHX_ "Wx::NotebookEvent", RETVAL, ST(0) );
16159
16160     }
16161     XSRETURN(1);
16162 }
16163
16164 #if WXPERL_W_VERSION_LE( 2, 5, 1 )
16165 #define XSubPPtmpAACT 1
16166
16167
16168 XS(XS_Wx__NotebookEvent_GetOldSelection); /* prototype to pass -Wmissing-prototypes */
16169 XS(XS_Wx__NotebookEvent_GetOldSelection)
16170 {
16171 #ifdef dVAR
16172     dVAR; dXSARGS;
16173 #else
16174     dXSARGS;
16175 #endif
16176     if (items != 1)
16177        croak_xs_usage(cv,  "THIS");
16178     {
16179         wxNotebookEvent *    THIS = (wxNotebookEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::NotebookEvent" );
16180         int     RETVAL;
16181         dXSTARG;
16182
16183         RETVAL = THIS->GetOldSelection();
16184         XSprePUSH; PUSHi((IV)RETVAL);
16185     }
16186     XSRETURN(1);
16187 }
16188
16189
16190 XS(XS_Wx__NotebookEvent_GetSelection); /* prototype to pass -Wmissing-prototypes */
16191 XS(XS_Wx__NotebookEvent_GetSelection)
16192 {
16193 #ifdef dVAR
16194     dVAR; dXSARGS;
16195 #else
16196     dXSARGS;
16197 #endif
16198     if (items != 1)
16199        croak_xs_usage(cv,  "THIS");
16200     {
16201         wxNotebookEvent *    THIS = (wxNotebookEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::NotebookEvent" );
16202         int     RETVAL;
16203         dXSTARG;
16204
16205         RETVAL = THIS->GetSelection();
16206         XSprePUSH; PUSHi((IV)RETVAL);
16207     }
16208     XSRETURN(1);
16209 }
16210
16211
16212 XS(XS_Wx__NotebookEvent_SetOldSelection); /* prototype to pass -Wmissing-prototypes */
16213 XS(XS_Wx__NotebookEvent_SetOldSelection)
16214 {
16215 #ifdef dVAR
16216     dVAR; dXSARGS;
16217 #else
16218     dXSARGS;
16219 #endif
16220     if (items != 2)
16221        croak_xs_usage(cv,  "THIS, sel");
16222     {
16223         int     sel = (int)SvIV(ST(1));
16224         wxNotebookEvent *    THIS = (wxNotebookEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::NotebookEvent" );
16225
16226         THIS->SetOldSelection(sel);
16227     }
16228     XSRETURN_EMPTY;
16229 }
16230
16231
16232 XS(XS_Wx__NotebookEvent_SetSelection); /* prototype to pass -Wmissing-prototypes */
16233 XS(XS_Wx__NotebookEvent_SetSelection)
16234 {
16235 #ifdef dVAR
16236     dVAR; dXSARGS;
16237 #else
16238     dXSARGS;
16239 #endif
16240     if (items != 2)
16241        croak_xs_usage(cv,  "THIS, oldSel");
16242     {
16243         int     oldSel = (int)SvIV(ST(1));
16244         wxNotebookEvent *    THIS = (wxNotebookEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::NotebookEvent" );
16245
16246         THIS->SetSelection(oldSel);
16247     }
16248     XSRETURN_EMPTY;
16249 }
16250
16251 #endif
16252
16253 XS(XS_Wx__Notebook_new); /* prototype to pass -Wmissing-prototypes */
16254 XS(XS_Wx__Notebook_new)
16255 {
16256 #ifdef dVAR
16257     dVAR; dXSARGS;
16258 #else
16259     dXSARGS;
16260 #endif
16261     PERL_UNUSED_VAR(cv); /* -W */
16262     PERL_UNUSED_VAR(ax); /* -Wall */
16263     SP -= items;
16264     {
16265     BEGIN_OVERLOAD()
16266         MATCH_VOIDM_REDISP( newDefault )
16267         MATCH_ANY_REDISP( newFull )
16268     END_OVERLOAD( "Wx::Notebook::new" )
16269         PUTBACK;
16270         return;
16271     }
16272 }
16273
16274
16275 XS(XS_Wx__Notebook_newDefault); /* prototype to pass -Wmissing-prototypes */
16276 XS(XS_Wx__Notebook_newDefault)
16277 {
16278 #ifdef dVAR
16279     dVAR; dXSARGS;
16280 #else
16281     dXSARGS;
16282 #endif
16283     if (items != 1)
16284        croak_xs_usage(cv,  "CLASS");
16285     {
16286         PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) );
16287         wxNotebook *    RETVAL;
16288     RETVAL = new wxNotebook();
16289     wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
16290         ST(0) = sv_newmortal();
16291     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
16292
16293     }
16294     XSRETURN(1);
16295 }
16296
16297
16298 XS(XS_Wx__Notebook_newFull); /* prototype to pass -Wmissing-prototypes */
16299 XS(XS_Wx__Notebook_newFull)
16300 {
16301 #ifdef dVAR
16302     dVAR; dXSARGS;
16303 #else
16304     dXSARGS;
16305 #endif
16306     if (items < 2 || items > 7)
16307        croak_xs_usage(cv,  "CLASS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, name = wxNotebookNameStr");
16308     {
16309         PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) );
16310         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
16311         wxWindowID      id;
16312         wxPoint pos;
16313         wxSize  size;
16314         long    style;
16315         wxString        name;
16316         wxNotebook *    RETVAL;
16317
16318         if (items < 3)
16319             id = wxID_ANY;
16320         else {
16321     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
16322         }
16323
16324         if (items < 4)
16325             pos = wxDefaultPosition;
16326         else {
16327     pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) );
16328         }
16329
16330         if (items < 5)
16331             size = wxDefaultSize;
16332         else {
16333     size = wxPli_sv_2_wxsize( aTHX_ ST(4) );
16334         }
16335
16336         if (items < 6)
16337             style = 0;
16338         else {
16339             style = (long)SvIV(ST(5));
16340         }
16341
16342         if (items < 7)
16343             name = wxNotebookNameStr;
16344         else {
16345     WXSTRING_INPUT( name, wxString, ST(6) );
16346         }
16347     RETVAL = new wxNotebook( parent, id, pos, size, style, name );
16348     wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
16349         ST(0) = sv_newmortal();
16350     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
16351
16352     }
16353     XSRETURN(1);
16354 }
16355
16356
16357 XS(XS_Wx__Notebook_Create); /* prototype to pass -Wmissing-prototypes */
16358 XS(XS_Wx__Notebook_Create)
16359 {
16360 #ifdef dVAR
16361     dVAR; dXSARGS;
16362 #else
16363     dXSARGS;
16364 #endif
16365     if (items < 2 || items > 7)
16366        croak_xs_usage(cv,  "THIS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, name = wxNotebookNameStr");
16367     {
16368         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
16369         wxWindowID      id;
16370         wxPoint pos;
16371         wxSize  size;
16372         long    style;
16373         wxString        name;
16374         wxNotebook *    THIS = (wxNotebook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Notebook" );
16375         bool    RETVAL;
16376
16377         if (items < 3)
16378             id = wxID_ANY;
16379         else {
16380     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
16381         }
16382
16383         if (items < 4)
16384             pos = wxDefaultPosition;
16385         else {
16386     pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) );
16387         }
16388
16389         if (items < 5)
16390             size = wxDefaultSize;
16391         else {
16392     size = wxPli_sv_2_wxsize( aTHX_ ST(4) );
16393         }
16394
16395         if (items < 6)
16396             style = 0;
16397         else {
16398             style = (long)SvIV(ST(5));
16399         }
16400
16401         if (items < 7)
16402             name = wxNotebookNameStr;
16403         else {
16404     WXSTRING_INPUT( name, wxString, ST(6) );
16405         }
16406
16407         RETVAL = THIS->Create(parent, id, pos, size, style, name);
16408         ST(0) = boolSV(RETVAL);
16409         sv_2mortal(ST(0));
16410     }
16411     XSRETURN(1);
16412 }
16413
16414 #if WXPERL_W_VERSION_LE( 2, 5, 1 )
16415 #define XSubPPtmpAACU 1
16416
16417
16418 XS(XS_Wx__Notebook_AddPage); /* prototype to pass -Wmissing-prototypes */
16419 XS(XS_Wx__Notebook_AddPage)
16420 {
16421 #ifdef dVAR
16422     dVAR; dXSARGS;
16423 #else
16424     dXSARGS;
16425 #endif
16426     if (items < 3 || items > 5)
16427        croak_xs_usage(cv,  "THIS, page, text, select = false, imageId = -1");
16428     {
16429         wxWindow*    page = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
16430         wxString        text;
16431         bool    select;
16432         int     imageId;
16433         wxNotebook *    THIS = (wxNotebook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Notebook" );
16434         bool    RETVAL;
16435
16436     WXSTRING_INPUT( text, wxString, ST(2) );
16437
16438         if (items < 4)
16439             select = false;
16440         else {
16441             select = (bool)SvTRUE(ST(3));
16442         }
16443
16444         if (items < 5)
16445             imageId = -1;
16446         else {
16447             imageId = (int)SvIV(ST(4));
16448         }
16449
16450         RETVAL = THIS->AddPage(page, text, select, imageId);
16451         ST(0) = boolSV(RETVAL);
16452         sv_2mortal(ST(0));
16453     }
16454     XSRETURN(1);
16455 }
16456
16457
16458 XS(XS_Wx__Notebook_AdvanceSelection); /* prototype to pass -Wmissing-prototypes */
16459 XS(XS_Wx__Notebook_AdvanceSelection)
16460 {
16461 #ifdef dVAR
16462     dVAR; dXSARGS;
16463 #else
16464     dXSARGS;
16465 #endif
16466     if (items < 1 || items > 2)
16467        croak_xs_usage(cv,  "THIS, forward = true");
16468     {
16469         bool    forward;
16470         wxNotebook *    THIS = (wxNotebook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Notebook" );
16471
16472         if (items < 2)
16473             forward = true;
16474         else {
16475             forward = (bool)SvTRUE(ST(1));
16476         }
16477
16478         THIS->AdvanceSelection(forward);
16479     }
16480     XSRETURN_EMPTY;
16481 }
16482
16483
16484 XS(XS_Wx__Notebook_DeleteAllPages); /* prototype to pass -Wmissing-prototypes */
16485 XS(XS_Wx__Notebook_DeleteAllPages)
16486 {
16487 #ifdef dVAR
16488     dVAR; dXSARGS;
16489 #else
16490     dXSARGS;
16491 #endif
16492     if (items != 1)
16493        croak_xs_usage(cv,  "THIS");
16494     {
16495         wxNotebook *    THIS = (wxNotebook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Notebook" );
16496         bool    RETVAL;
16497
16498         RETVAL = THIS->DeleteAllPages();
16499         ST(0) = boolSV(RETVAL);
16500         sv_2mortal(ST(0));
16501     }
16502     XSRETURN(1);
16503 }
16504
16505
16506 XS(XS_Wx__Notebook_DeletePage); /* prototype to pass -Wmissing-prototypes */
16507 XS(XS_Wx__Notebook_DeletePage)
16508 {
16509 #ifdef dVAR
16510     dVAR; dXSARGS;
16511 #else
16512     dXSARGS;
16513 #endif
16514     if (items != 2)
16515        croak_xs_usage(cv,  "THIS, page");
16516     {
16517         int     page = (int)SvIV(ST(1));
16518         wxNotebook *    THIS = (wxNotebook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Notebook" );
16519         bool    RETVAL;
16520
16521         RETVAL = THIS->DeletePage(page);
16522         ST(0) = boolSV(RETVAL);
16523         sv_2mortal(ST(0));
16524     }
16525     XSRETURN(1);
16526 }
16527
16528
16529 XS(XS_Wx__Notebook_GetImageList); /* prototype to pass -Wmissing-prototypes */
16530 XS(XS_Wx__Notebook_GetImageList)
16531 {
16532 #ifdef dVAR
16533     dVAR; dXSARGS;
16534 #else
16535     dXSARGS;
16536 #endif
16537     if (items != 1)
16538        croak_xs_usage(cv,  "THIS");
16539     {
16540         wxNotebook *    THIS = (wxNotebook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Notebook" );
16541         wxImageList *   RETVAL;
16542
16543         RETVAL = THIS->GetImageList();
16544         ST(0) = sv_newmortal();
16545     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
16546     wxPli_thread_sv_register( aTHX_ "Wx::ImageList", RETVAL, ST(0) );
16547
16548     wxPli_object_set_deleteable( aTHX_ ST(0), false );
16549     }
16550     XSRETURN(1);
16551 }
16552
16553
16554 XS(XS_Wx__Notebook_GetPage); /* prototype to pass -Wmissing-prototypes */
16555 XS(XS_Wx__Notebook_GetPage)
16556 {
16557 #ifdef dVAR
16558     dVAR; dXSARGS;
16559 #else
16560     dXSARGS;
16561 #endif
16562     if (items != 2)
16563        croak_xs_usage(cv,  "THIS, page");
16564     {
16565         int     page = (int)SvIV(ST(1));
16566         wxNotebook *    THIS = (wxNotebook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Notebook" );
16567         wxWindow *      RETVAL;
16568
16569         RETVAL = THIS->GetPage(page);
16570         ST(0) = sv_newmortal();
16571     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
16572
16573     }
16574     XSRETURN(1);
16575 }
16576
16577
16578 XS(XS_Wx__Notebook_GetPageCount); /* prototype to pass -Wmissing-prototypes */
16579 XS(XS_Wx__Notebook_GetPageCount)
16580 {
16581 #ifdef dVAR
16582     dVAR; dXSARGS;
16583 #else
16584     dXSARGS;
16585 #endif
16586     if (items != 1)
16587        croak_xs_usage(cv,  "THIS");
16588     {
16589         wxNotebook *    THIS = (wxNotebook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Notebook" );
16590         int     RETVAL;
16591         dXSTARG;
16592
16593         RETVAL = THIS->GetPageCount();
16594         XSprePUSH; PUSHi((IV)RETVAL);
16595     }
16596     XSRETURN(1);
16597 }
16598
16599
16600 XS(XS_Wx__Notebook_GetPageImage); /* prototype to pass -Wmissing-prototypes */
16601 XS(XS_Wx__Notebook_GetPageImage)
16602 {
16603 #ifdef dVAR
16604     dVAR; dXSARGS;
16605 #else
16606     dXSARGS;
16607 #endif
16608     if (items != 2)
16609        croak_xs_usage(cv,  "THIS, page");
16610     {
16611         int     page = (int)SvIV(ST(1));
16612         wxNotebook *    THIS = (wxNotebook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Notebook" );
16613         int     RETVAL;
16614         dXSTARG;
16615
16616         RETVAL = THIS->GetPageImage(page);
16617         XSprePUSH; PUSHi((IV)RETVAL);
16618     }
16619     XSRETURN(1);
16620 }
16621
16622
16623 XS(XS_Wx__Notebook_GetPageText); /* prototype to pass -Wmissing-prototypes */
16624 XS(XS_Wx__Notebook_GetPageText)
16625 {
16626 #ifdef dVAR
16627     dVAR; dXSARGS;
16628 #else
16629     dXSARGS;
16630 #endif
16631     if (items != 2)
16632        croak_xs_usage(cv,  "THIS, page");
16633     {
16634         int     page = (int)SvIV(ST(1));
16635         wxNotebook *    THIS = (wxNotebook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Notebook" );
16636         wxString        RETVAL;
16637
16638         RETVAL = THIS->GetPageText(page);
16639         ST(0) = sv_newmortal();
16640     WXSTRING_OUTPUT( RETVAL, ST(0) );
16641
16642     }
16643     XSRETURN(1);
16644 }
16645
16646
16647 XS(XS_Wx__Notebook_GetSelection); /* prototype to pass -Wmissing-prototypes */
16648 XS(XS_Wx__Notebook_GetSelection)
16649 {
16650 #ifdef dVAR
16651     dVAR; dXSARGS;
16652 #else
16653     dXSARGS;
16654 #endif
16655     if (items != 1)
16656        croak_xs_usage(cv,  "THIS");
16657     {
16658         wxNotebook *    THIS = (wxNotebook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Notebook" );
16659         int     RETVAL;
16660         dXSTARG;
16661
16662         RETVAL = THIS->GetSelection();
16663         XSprePUSH; PUSHi((IV)RETVAL);
16664     }
16665     XSRETURN(1);
16666 }
16667
16668
16669 XS(XS_Wx__Notebook_InsertPage); /* prototype to pass -Wmissing-prototypes */
16670 XS(XS_Wx__Notebook_InsertPage)
16671 {
16672 #ifdef dVAR
16673     dVAR; dXSARGS;
16674 #else
16675     dXSARGS;
16676 #endif
16677     if (items < 4 || items > 6)
16678        croak_xs_usage(cv,  "THIS, index, page, text, select = false, imageId = -1");
16679     {
16680         int     index = (int)SvIV(ST(1));
16681         wxWindow*    page = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Window" );
16682         wxString        text;
16683         bool    select;
16684         int     imageId;
16685         wxNotebook *    THIS = (wxNotebook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Notebook" );
16686         bool    RETVAL;
16687
16688     WXSTRING_INPUT( text, wxString, ST(3) );
16689
16690         if (items < 5)
16691             select = false;
16692         else {
16693             select = (bool)SvTRUE(ST(4));
16694         }
16695
16696         if (items < 6)
16697             imageId = -1;
16698         else {
16699             imageId = (int)SvIV(ST(5));
16700         }
16701
16702         RETVAL = THIS->InsertPage(index, page, text, select, imageId);
16703         ST(0) = boolSV(RETVAL);
16704         sv_2mortal(ST(0));
16705     }
16706     XSRETURN(1);
16707 }
16708
16709
16710 XS(XS_Wx__Notebook_RemovePage); /* prototype to pass -Wmissing-prototypes */
16711 XS(XS_Wx__Notebook_RemovePage)
16712 {
16713 #ifdef dVAR
16714     dVAR; dXSARGS;
16715 #else
16716     dXSARGS;
16717 #endif
16718     if (items != 2)
16719        croak_xs_usage(cv,  "THIS, page");
16720     {
16721         int     page = (int)SvIV(ST(1));
16722         wxNotebook *    THIS = (wxNotebook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Notebook" );
16723         bool    RETVAL;
16724
16725         RETVAL = THIS->RemovePage(page);
16726         ST(0) = boolSV(RETVAL);
16727         sv_2mortal(ST(0));
16728     }
16729     XSRETURN(1);
16730 }
16731
16732
16733 XS(XS_Wx__Notebook_SetImageList); /* prototype to pass -Wmissing-prototypes */
16734 XS(XS_Wx__Notebook_SetImageList)
16735 {
16736 #ifdef dVAR
16737     dVAR; dXSARGS;
16738 #else
16739     dXSARGS;
16740 #endif
16741     if (items != 2)
16742        croak_xs_usage(cv,  "THIS, imagelist");
16743     {
16744         wxImageList*    imagelist = (wxImageList *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::ImageList" );
16745         wxNotebook *    THIS = (wxNotebook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Notebook" );
16746
16747         THIS->SetImageList(imagelist);
16748     }
16749     XSRETURN_EMPTY;
16750 }
16751
16752
16753 XS(XS_Wx__Notebook_SetPageImage); /* prototype to pass -Wmissing-prototypes */
16754 XS(XS_Wx__Notebook_SetPageImage)
16755 {
16756 #ifdef dVAR
16757     dVAR; dXSARGS;
16758 #else
16759     dXSARGS;
16760 #endif
16761     if (items != 3)
16762        croak_xs_usage(cv,  "THIS, page, image");
16763     {
16764         int     page = (int)SvIV(ST(1));
16765         int     image = (int)SvIV(ST(2));
16766         wxNotebook *    THIS = (wxNotebook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Notebook" );
16767         bool    RETVAL;
16768
16769         RETVAL = THIS->SetPageImage(page, image);
16770         ST(0) = boolSV(RETVAL);
16771         sv_2mortal(ST(0));
16772     }
16773     XSRETURN(1);
16774 }
16775
16776
16777 XS(XS_Wx__Notebook_SetPageText); /* prototype to pass -Wmissing-prototypes */
16778 XS(XS_Wx__Notebook_SetPageText)
16779 {
16780 #ifdef dVAR
16781     dVAR; dXSARGS;
16782 #else
16783     dXSARGS;
16784 #endif
16785     if (items != 3)
16786        croak_xs_usage(cv,  "THIS, page, text");
16787     {
16788         int     page = (int)SvIV(ST(1));
16789         wxString        text;
16790         wxNotebook *    THIS = (wxNotebook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Notebook" );
16791         bool    RETVAL;
16792
16793     WXSTRING_INPUT( text, wxString, ST(2) );
16794
16795         RETVAL = THIS->SetPageText(page, text);
16796         ST(0) = boolSV(RETVAL);
16797         sv_2mortal(ST(0));
16798     }
16799     XSRETURN(1);
16800 }
16801
16802
16803 XS(XS_Wx__Notebook_SetSelection); /* prototype to pass -Wmissing-prototypes */
16804 XS(XS_Wx__Notebook_SetSelection)
16805 {
16806 #ifdef dVAR
16807     dVAR; dXSARGS;
16808 #else
16809     dXSARGS;
16810 #endif
16811     if (items != 2)
16812        croak_xs_usage(cv,  "THIS, page");
16813     {
16814         int     page = (int)SvIV(ST(1));
16815         wxNotebook *    THIS = (wxNotebook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Notebook" );
16816         int     RETVAL;
16817         dXSTARG;
16818
16819         RETVAL = THIS->SetSelection(page);
16820         XSprePUSH; PUSHi((IV)RETVAL);
16821     }
16822     XSRETURN(1);
16823 }
16824
16825 #endif
16826 #if WXPERL_W_VERSION_GE( 2, 5, 2 ) && WXPERL_W_VERSION_LT( 2, 7, 0 )
16827 #define XSubPPtmpAACV 1
16828
16829
16830 XS(XS_Wx__Notebook_HitTest); /* prototype to pass -Wmissing-prototypes */
16831 XS(XS_Wx__Notebook_HitTest)
16832 {
16833 #ifdef dVAR
16834     dVAR; dXSARGS;
16835 #else
16836     dXSARGS;
16837 #endif
16838     if (items != 2)
16839        croak_xs_usage(cv,  "THIS, point");
16840     PERL_UNUSED_VAR(ax); /* -Wall */
16841     SP -= items;
16842     {
16843         wxPoint    point = wxPli_sv_2_wxpoint( aTHX_ ST(1) );
16844     long flags;
16845     int item;
16846         wxNotebook *    THIS = (wxNotebook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Notebook" );
16847     item = THIS->HitTest( point, &flags );
16848     EXTEND( SP, 2 );
16849     PUSHs( sv_2mortal( newSViv( item ) ) );
16850     PUSHs( sv_2mortal( newSViv( flags ) ) );
16851         PUTBACK;
16852         return;
16853     }
16854 }
16855
16856 #endif
16857
16858 XS(XS_Wx__Notebook_GetRowCount); /* prototype to pass -Wmissing-prototypes */
16859 XS(XS_Wx__Notebook_GetRowCount)
16860 {
16861 #ifdef dVAR
16862     dVAR; dXSARGS;
16863 #else
16864     dXSARGS;
16865 #endif
16866     if (items != 1)
16867        croak_xs_usage(cv,  "THIS");
16868     {
16869         wxNotebook *    THIS = (wxNotebook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Notebook" );
16870         int     RETVAL;
16871         dXSTARG;
16872
16873         RETVAL = THIS->GetRowCount();
16874         XSprePUSH; PUSHi((IV)RETVAL);
16875     }
16876     XSRETURN(1);
16877 }
16878
16879 #if !defined( __WXMOTIF__ ) && !defined( __WXGTK__ ) || \
16880   defined( __WXPERL_FORCE__ )
16881 #define XSubPPtmpAACW 1
16882
16883
16884 XS(XS_Wx__Notebook_SetPadding); /* prototype to pass -Wmissing-prototypes */
16885 XS(XS_Wx__Notebook_SetPadding)
16886 {
16887 #ifdef dVAR
16888     dVAR; dXSARGS;
16889 #else
16890     dXSARGS;
16891 #endif
16892     if (items != 2)
16893        croak_xs_usage(cv,  "THIS, padding");
16894     {
16895         wxSize    padding = wxPli_sv_2_wxsize( aTHX_ ST(1) );
16896         wxNotebook *    THIS = (wxNotebook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Notebook" );
16897
16898         THIS->SetPadding(padding);
16899     }
16900     XSRETURN_EMPTY;
16901 }
16902
16903
16904 XS(XS_Wx__Notebook_SetPageSize); /* prototype to pass -Wmissing-prototypes */
16905 XS(XS_Wx__Notebook_SetPageSize)
16906 {
16907 #ifdef dVAR
16908     dVAR; dXSARGS;
16909 #else
16910     dXSARGS;
16911 #endif
16912     if (items != 2)
16913        croak_xs_usage(cv,  "THIS, padding");
16914     {
16915         wxSize    padding = wxPli_sv_2_wxsize( aTHX_ ST(1) );
16916         wxNotebook *    THIS = (wxNotebook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Notebook" );
16917
16918         THIS->SetPageSize(padding);
16919     }
16920     XSRETURN_EMPTY;
16921 }
16922
16923 #endif
16924
16925 /* INCLUDE: Returning to 'XS/ListCtrl.xs' from 'XS/Notebook.xs' */
16926
16927 #include <wx/colour.h>
16928 #include <wx/listctrl.h>
16929 #if WXPERL_W_VERSION_LT( 2, 6, 0 )
16930 #define wxListCtrlNameStr wxT("listCtrl")
16931 #endif
16932
16933 XS(XS_Wx__ListEvent_new); /* prototype to pass -Wmissing-prototypes */
16934 XS(XS_Wx__ListEvent_new)
16935 {
16936 #ifdef dVAR
16937     dVAR; dXSARGS;
16938 #else
16939     dXSARGS;
16940 #endif
16941     if (items < 1 || items > 3)
16942        croak_xs_usage(cv,  "CLASS, eventType = wxEVT_NULL, id = 0");
16943     {
16944         wxEventType     eventType;
16945         int     id;
16946         char *  CLASS = (char *)SvPV_nolen(ST(0));
16947         wxListEvent *   RETVAL;
16948
16949         if (items < 2)
16950             eventType = wxEVT_NULL;
16951         else {
16952             eventType = (wxEventType)SvIV(ST(1));
16953         }
16954
16955         if (items < 3)
16956             id = 0;
16957         else {
16958             id = (int)SvIV(ST(2));
16959         }
16960
16961         RETVAL = new wxListEvent(eventType, id);
16962         ST(0) = sv_newmortal();
16963     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
16964     wxPli_thread_sv_register( aTHX_ "Wx::ListEvent", RETVAL, ST(0) );
16965
16966     }
16967     XSRETURN(1);
16968 }
16969
16970 #if WXPERL_W_VERSION_GE( 2, 5, 1 )
16971 #define XSubPPtmpAACX 1
16972
16973
16974 XS(XS_Wx__ListEvent_IsEditCancelled); /* prototype to pass -Wmissing-prototypes */
16975 XS(XS_Wx__ListEvent_IsEditCancelled)
16976 {
16977 #ifdef dVAR
16978     dVAR; dXSARGS;
16979 #else
16980     dXSARGS;
16981 #endif
16982     if (items != 1)
16983        croak_xs_usage(cv,  "THIS");
16984     {
16985         wxListEvent *    THIS = (wxListEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListEvent" );
16986         bool    RETVAL;
16987
16988         RETVAL = THIS->IsEditCancelled();
16989         ST(0) = boolSV(RETVAL);
16990         sv_2mortal(ST(0));
16991     }
16992     XSRETURN(1);
16993 }
16994
16995 #endif
16996
16997 XS(XS_Wx__ListEvent_GetCacheFrom); /* prototype to pass -Wmissing-prototypes */
16998 XS(XS_Wx__ListEvent_GetCacheFrom)
16999 {
17000 #ifdef dVAR
17001     dVAR; dXSARGS;
17002 #else
17003     dXSARGS;
17004 #endif
17005     if (items != 1)
17006        croak_xs_usage(cv,  "THIS");
17007     {
17008         wxListEvent *    THIS = (wxListEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListEvent" );
17009         long    RETVAL;
17010         dXSTARG;
17011
17012         RETVAL = THIS->GetCacheFrom();
17013         XSprePUSH; PUSHi((IV)RETVAL);
17014     }
17015     XSRETURN(1);
17016 }
17017
17018
17019 XS(XS_Wx__ListEvent_GetCacheTo); /* prototype to pass -Wmissing-prototypes */
17020 XS(XS_Wx__ListEvent_GetCacheTo)
17021 {
17022 #ifdef dVAR
17023     dVAR; dXSARGS;
17024 #else
17025     dXSARGS;
17026 #endif
17027     if (items != 1)
17028        croak_xs_usage(cv,  "THIS");
17029     {
17030         wxListEvent *    THIS = (wxListEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListEvent" );
17031         long    RETVAL;
17032         dXSTARG;
17033
17034         RETVAL = THIS->GetCacheTo();
17035         XSprePUSH; PUSHi((IV)RETVAL);
17036     }
17037     XSRETURN(1);
17038 }
17039
17040
17041 XS(XS_Wx__ListEvent_GetIndex); /* prototype to pass -Wmissing-prototypes */
17042 XS(XS_Wx__ListEvent_GetIndex)
17043 {
17044 #ifdef dVAR
17045     dVAR; dXSARGS;
17046 #else
17047     dXSARGS;
17048 #endif
17049     if (items != 1)
17050        croak_xs_usage(cv,  "THIS");
17051     {
17052         wxListEvent *    THIS = (wxListEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListEvent" );
17053         long    RETVAL;
17054         dXSTARG;
17055
17056         RETVAL = THIS->GetIndex();
17057         XSprePUSH; PUSHi((IV)RETVAL);
17058     }
17059     XSRETURN(1);
17060 }
17061
17062
17063 XS(XS_Wx__ListEvent_GetColumn); /* prototype to pass -Wmissing-prototypes */
17064 XS(XS_Wx__ListEvent_GetColumn)
17065 {
17066 #ifdef dVAR
17067     dVAR; dXSARGS;
17068 #else
17069     dXSARGS;
17070 #endif
17071     if (items != 1)
17072        croak_xs_usage(cv,  "THIS");
17073     {
17074         wxListEvent *    THIS = (wxListEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListEvent" );
17075         int     RETVAL;
17076         dXSTARG;
17077
17078         RETVAL = THIS->GetColumn();
17079         XSprePUSH; PUSHi((IV)RETVAL);
17080     }
17081     XSRETURN(1);
17082 }
17083
17084
17085 XS(XS_Wx__ListEvent_GetKeyCode); /* prototype to pass -Wmissing-prototypes */
17086 XS(XS_Wx__ListEvent_GetKeyCode)
17087 {
17088 #ifdef dVAR
17089     dVAR; dXSARGS;
17090 #else
17091     dXSARGS;
17092 #endif
17093     if (items != 1)
17094        croak_xs_usage(cv,  "THIS");
17095     {
17096         wxListEvent *    THIS = (wxListEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListEvent" );
17097         int     RETVAL;
17098         dXSTARG;
17099
17100         RETVAL = THIS->GetKeyCode();
17101         XSprePUSH; PUSHi((IV)RETVAL);
17102     }
17103     XSRETURN(1);
17104 }
17105
17106
17107 XS(XS_Wx__ListEvent_GetPoint); /* prototype to pass -Wmissing-prototypes */
17108 XS(XS_Wx__ListEvent_GetPoint)
17109 {
17110 #ifdef dVAR
17111     dVAR; dXSARGS;
17112 #else
17113     dXSARGS;
17114 #endif
17115     if (items != 1)
17116        croak_xs_usage(cv,  "THIS");
17117     {
17118         wxListEvent *    THIS = (wxListEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListEvent" );
17119         wxPoint *       RETVAL;
17120     RETVAL = new wxPoint( THIS->GetPoint() );
17121         ST(0) = sv_newmortal();
17122     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Point" );
17123     wxPli_thread_sv_register( aTHX_ "Wx::Point", RETVAL, ST(0) );
17124
17125     }
17126     XSRETURN(1);
17127 }
17128
17129
17130 XS(XS_Wx__ListEvent_GetLabel); /* prototype to pass -Wmissing-prototypes */
17131 XS(XS_Wx__ListEvent_GetLabel)
17132 {
17133 #ifdef dVAR
17134     dVAR; dXSARGS;
17135 #else
17136     dXSARGS;
17137 #endif
17138     if (items != 1)
17139        croak_xs_usage(cv,  "THIS");
17140     {
17141         wxListEvent *    THIS = (wxListEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListEvent" );
17142         wxString        RETVAL;
17143
17144         RETVAL = THIS->GetLabel();
17145         ST(0) = sv_newmortal();
17146     WXSTRING_OUTPUT( RETVAL, ST(0) );
17147
17148     }
17149     XSRETURN(1);
17150 }
17151
17152
17153 XS(XS_Wx__ListEvent_GetText); /* prototype to pass -Wmissing-prototypes */
17154 XS(XS_Wx__ListEvent_GetText)
17155 {
17156 #ifdef dVAR
17157     dVAR; dXSARGS;
17158 #else
17159     dXSARGS;
17160 #endif
17161     if (items != 1)
17162        croak_xs_usage(cv,  "THIS");
17163     {
17164         wxListEvent *    THIS = (wxListEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListEvent" );
17165         wxString        RETVAL;
17166
17167         RETVAL = THIS->GetText();
17168         ST(0) = sv_newmortal();
17169     WXSTRING_OUTPUT( RETVAL, ST(0) );
17170
17171     }
17172     XSRETURN(1);
17173 }
17174
17175
17176 XS(XS_Wx__ListEvent_GetImage); /* prototype to pass -Wmissing-prototypes */
17177 XS(XS_Wx__ListEvent_GetImage)
17178 {
17179 #ifdef dVAR
17180     dVAR; dXSARGS;
17181 #else
17182     dXSARGS;
17183 #endif
17184     if (items != 1)
17185        croak_xs_usage(cv,  "THIS");
17186     {
17187         wxListEvent *    THIS = (wxListEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListEvent" );
17188         int     RETVAL;
17189         dXSTARG;
17190
17191         RETVAL = THIS->GetImage();
17192         XSprePUSH; PUSHi((IV)RETVAL);
17193     }
17194     XSRETURN(1);
17195 }
17196
17197
17198 XS(XS_Wx__ListEvent_GetData); /* prototype to pass -Wmissing-prototypes */
17199 XS(XS_Wx__ListEvent_GetData)
17200 {
17201 #ifdef dVAR
17202     dVAR; dXSARGS;
17203 #else
17204     dXSARGS;
17205 #endif
17206     if (items != 1)
17207        croak_xs_usage(cv,  "THIS");
17208     {
17209         wxListEvent *    THIS = (wxListEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListEvent" );
17210         long    RETVAL;
17211         dXSTARG;
17212
17213         RETVAL = THIS->GetData();
17214         XSprePUSH; PUSHi((IV)RETVAL);
17215     }
17216     XSRETURN(1);
17217 }
17218
17219
17220 XS(XS_Wx__ListEvent_GetMask); /* prototype to pass -Wmissing-prototypes */
17221 XS(XS_Wx__ListEvent_GetMask)
17222 {
17223 #ifdef dVAR
17224     dVAR; dXSARGS;
17225 #else
17226     dXSARGS;
17227 #endif
17228     if (items != 1)
17229        croak_xs_usage(cv,  "THIS");
17230     {
17231         wxListEvent *    THIS = (wxListEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListEvent" );
17232         long    RETVAL;
17233         dXSTARG;
17234
17235         RETVAL = THIS->GetMask();
17236         XSprePUSH; PUSHi((IV)RETVAL);
17237     }
17238     XSRETURN(1);
17239 }
17240
17241
17242 XS(XS_Wx__ListEvent_GetItem); /* prototype to pass -Wmissing-prototypes */
17243 XS(XS_Wx__ListEvent_GetItem)
17244 {
17245 #ifdef dVAR
17246     dVAR; dXSARGS;
17247 #else
17248     dXSARGS;
17249 #endif
17250     if (items != 1)
17251        croak_xs_usage(cv,  "THIS");
17252     {
17253         wxListEvent *    THIS = (wxListEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListEvent" );
17254         wxListItem *    RETVAL;
17255     RETVAL = new wxListItem( THIS->GetItem() );
17256         ST(0) = sv_newmortal();
17257     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::ListItem" );
17258     wxPli_thread_sv_register( aTHX_ "Wx::ListItem", RETVAL, ST(0) );
17259
17260     }
17261     XSRETURN(1);
17262 }
17263
17264
17265 XS(XS_Wx__ListItem_new); /* prototype to pass -Wmissing-prototypes */
17266 XS(XS_Wx__ListItem_new)
17267 {
17268 #ifdef dVAR
17269     dVAR; dXSARGS;
17270 #else
17271     dXSARGS;
17272 #endif
17273     if (items != 1)
17274        croak_xs_usage(cv,  "CLASS");
17275     {
17276         char *  CLASS = (char *)SvPV_nolen(ST(0));
17277         wxListItem *    RETVAL;
17278
17279         RETVAL = new wxListItem();
17280         ST(0) = sv_newmortal();
17281     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::ListItem" );
17282     wxPli_thread_sv_register( aTHX_ "Wx::ListItem", RETVAL, ST(0) );
17283
17284     }
17285     XSRETURN(1);
17286 }
17287
17288
17289 XS(XS_Wx__ListItem_CLONE); /* prototype to pass -Wmissing-prototypes */
17290 XS(XS_Wx__ListItem_CLONE)
17291 {
17292 #ifdef dVAR
17293     dVAR; dXSARGS;
17294 #else
17295     dXSARGS;
17296 #endif
17297     if (items != 1)
17298        croak_xs_usage(cv,  "CLASS");
17299     {
17300         char *  CLASS = (char *)SvPV_nolen(ST(0));
17301     wxPli_thread_sv_clone( aTHX_ CLASS, (wxPliCloneSV)wxPli_detach_object );
17302     }
17303     XSRETURN_EMPTY;
17304 }
17305
17306
17307 XS(XS_Wx__ListItem_DESTROY); /* prototype to pass -Wmissing-prototypes */
17308 XS(XS_Wx__ListItem_DESTROY)
17309 {
17310 #ifdef dVAR
17311     dVAR; dXSARGS;
17312 #else
17313     dXSARGS;
17314 #endif
17315     if (items != 1)
17316        croak_xs_usage(cv,  "THIS");
17317     {
17318         wxListItem *    THIS = (wxListItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItem" );
17319     wxPli_thread_sv_unregister( aTHX_ "Wx::ListItem", THIS, ST(0) );
17320     delete THIS;
17321     }
17322     XSRETURN_EMPTY;
17323 }
17324
17325
17326 XS(XS_Wx__ListItem_Clear); /* prototype to pass -Wmissing-prototypes */
17327 XS(XS_Wx__ListItem_Clear)
17328 {
17329 #ifdef dVAR
17330     dVAR; dXSARGS;
17331 #else
17332     dXSARGS;
17333 #endif
17334     if (items != 1)
17335        croak_xs_usage(cv,  "THIS");
17336     {
17337         wxListItem *    THIS = (wxListItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItem" );
17338
17339         THIS->Clear();
17340     }
17341     XSRETURN_EMPTY;
17342 }
17343
17344
17345 XS(XS_Wx__ListItem_ClearAttributes); /* prototype to pass -Wmissing-prototypes */
17346 XS(XS_Wx__ListItem_ClearAttributes)
17347 {
17348 #ifdef dVAR
17349     dVAR; dXSARGS;
17350 #else
17351     dXSARGS;
17352 #endif
17353     if (items != 1)
17354        croak_xs_usage(cv,  "THIS");
17355     {
17356         wxListItem *    THIS = (wxListItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItem" );
17357
17358         THIS->ClearAttributes();
17359     }
17360     XSRETURN_EMPTY;
17361 }
17362
17363
17364 XS(XS_Wx__ListItem_SetMask); /* prototype to pass -Wmissing-prototypes */
17365 XS(XS_Wx__ListItem_SetMask)
17366 {
17367 #ifdef dVAR
17368     dVAR; dXSARGS;
17369 #else
17370     dXSARGS;
17371 #endif
17372     if (items != 2)
17373        croak_xs_usage(cv,  "THIS, mask");
17374     {
17375         long    mask = (long)SvIV(ST(1));
17376         wxListItem *    THIS = (wxListItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItem" );
17377
17378         THIS->SetMask(mask);
17379     }
17380     XSRETURN_EMPTY;
17381 }
17382
17383
17384 XS(XS_Wx__ListItem_SetId); /* prototype to pass -Wmissing-prototypes */
17385 XS(XS_Wx__ListItem_SetId)
17386 {
17387 #ifdef dVAR
17388     dVAR; dXSARGS;
17389 #else
17390     dXSARGS;
17391 #endif
17392     if (items != 2)
17393        croak_xs_usage(cv,  "THIS, id");
17394     {
17395         long    id = (long)SvIV(ST(1));
17396         wxListItem *    THIS = (wxListItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItem" );
17397
17398         THIS->SetId(id);
17399     }
17400     XSRETURN_EMPTY;
17401 }
17402
17403
17404 XS(XS_Wx__ListItem_SetColumn); /* prototype to pass -Wmissing-prototypes */
17405 XS(XS_Wx__ListItem_SetColumn)
17406 {
17407 #ifdef dVAR
17408     dVAR; dXSARGS;
17409 #else
17410     dXSARGS;
17411 #endif
17412     if (items != 2)
17413        croak_xs_usage(cv,  "THIS, column");
17414     {
17415         int     column = (int)SvIV(ST(1));
17416         wxListItem *    THIS = (wxListItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItem" );
17417
17418         THIS->SetColumn(column);
17419     }
17420     XSRETURN_EMPTY;
17421 }
17422
17423
17424 XS(XS_Wx__ListItem_SetState); /* prototype to pass -Wmissing-prototypes */
17425 XS(XS_Wx__ListItem_SetState)
17426 {
17427 #ifdef dVAR
17428     dVAR; dXSARGS;
17429 #else
17430     dXSARGS;
17431 #endif
17432     if (items != 2)
17433        croak_xs_usage(cv,  "THIS, state");
17434     {
17435         long    state = (long)SvIV(ST(1));
17436         wxListItem *    THIS = (wxListItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItem" );
17437
17438         THIS->SetState(state);
17439     }
17440     XSRETURN_EMPTY;
17441 }
17442
17443
17444 XS(XS_Wx__ListItem_SetStateMask); /* prototype to pass -Wmissing-prototypes */
17445 XS(XS_Wx__ListItem_SetStateMask)
17446 {
17447 #ifdef dVAR
17448     dVAR; dXSARGS;
17449 #else
17450     dXSARGS;
17451 #endif
17452     if (items != 2)
17453        croak_xs_usage(cv,  "THIS, stateMask");
17454     {
17455         long    stateMask = (long)SvIV(ST(1));
17456         wxListItem *    THIS = (wxListItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItem" );
17457
17458         THIS->SetStateMask(stateMask);
17459     }
17460     XSRETURN_EMPTY;
17461 }
17462
17463
17464 XS(XS_Wx__ListItem_SetText); /* prototype to pass -Wmissing-prototypes */
17465 XS(XS_Wx__ListItem_SetText)
17466 {
17467 #ifdef dVAR
17468     dVAR; dXSARGS;
17469 #else
17470     dXSARGS;
17471 #endif
17472     if (items != 2)
17473        croak_xs_usage(cv,  "THIS, text");
17474     {
17475         wxString        text;
17476         wxListItem *    THIS = (wxListItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItem" );
17477
17478     WXSTRING_INPUT( text, wxString, ST(1) );
17479
17480         THIS->SetText(text);
17481     }
17482     XSRETURN_EMPTY;
17483 }
17484
17485
17486 XS(XS_Wx__ListItem_SetImage); /* prototype to pass -Wmissing-prototypes */
17487 XS(XS_Wx__ListItem_SetImage)
17488 {
17489 #ifdef dVAR
17490     dVAR; dXSARGS;
17491 #else
17492     dXSARGS;
17493 #endif
17494     if (items != 2)
17495        croak_xs_usage(cv,  "THIS, image");
17496     {
17497         int     image = (int)SvIV(ST(1));
17498         wxListItem *    THIS = (wxListItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItem" );
17499
17500         THIS->SetImage(image);
17501     }
17502     XSRETURN_EMPTY;
17503 }
17504
17505
17506 XS(XS_Wx__ListItem_SetData); /* prototype to pass -Wmissing-prototypes */
17507 XS(XS_Wx__ListItem_SetData)
17508 {
17509 #ifdef dVAR
17510     dVAR; dXSARGS;
17511 #else
17512     dXSARGS;
17513 #endif
17514     if (items != 2)
17515        croak_xs_usage(cv,  "THIS, data");
17516     {
17517         long    data = (long)SvIV(ST(1));
17518         wxListItem *    THIS = (wxListItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItem" );
17519
17520         THIS->SetData(data);
17521     }
17522     XSRETURN_EMPTY;
17523 }
17524
17525
17526 XS(XS_Wx__ListItem_SetWidth); /* prototype to pass -Wmissing-prototypes */
17527 XS(XS_Wx__ListItem_SetWidth)
17528 {
17529 #ifdef dVAR
17530     dVAR; dXSARGS;
17531 #else
17532     dXSARGS;
17533 #endif
17534     if (items != 2)
17535        croak_xs_usage(cv,  "THIS, width");
17536     {
17537         int     width = (int)SvIV(ST(1));
17538         wxListItem *    THIS = (wxListItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItem" );
17539
17540         THIS->SetWidth(width);
17541     }
17542     XSRETURN_EMPTY;
17543 }
17544
17545
17546 XS(XS_Wx__ListItem_SetAlign); /* prototype to pass -Wmissing-prototypes */
17547 XS(XS_Wx__ListItem_SetAlign)
17548 {
17549 #ifdef dVAR
17550     dVAR; dXSARGS;
17551 #else
17552     dXSARGS;
17553 #endif
17554     if (items != 2)
17555        croak_xs_usage(cv,  "THIS, align");
17556     {
17557         wxListColumnFormat      align = (wxListColumnFormat)SvIV(ST(1));
17558         wxListItem *    THIS = (wxListItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItem" );
17559
17560         THIS->SetAlign(align);
17561     }
17562     XSRETURN_EMPTY;
17563 }
17564
17565
17566 XS(XS_Wx__ListItem_SetTextColour); /* prototype to pass -Wmissing-prototypes */
17567 XS(XS_Wx__ListItem_SetTextColour)
17568 {
17569 #ifdef dVAR
17570     dVAR; dXSARGS;
17571 #else
17572     dXSARGS;
17573 #endif
17574     if (items != 2)
17575        croak_xs_usage(cv,  "THIS, colour");
17576     {
17577         wxColour    colour = *(wxColour *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Colour" );
17578         wxListItem *    THIS = (wxListItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItem" );
17579
17580         THIS->SetTextColour(colour);
17581     }
17582     XSRETURN_EMPTY;
17583 }
17584
17585
17586 XS(XS_Wx__ListItem_SetBackgroundColour); /* prototype to pass -Wmissing-prototypes */
17587 XS(XS_Wx__ListItem_SetBackgroundColour)
17588 {
17589 #ifdef dVAR
17590     dVAR; dXSARGS;
17591 #else
17592     dXSARGS;
17593 #endif
17594     if (items != 2)
17595        croak_xs_usage(cv,  "THIS, colour");
17596     {
17597         wxColour    colour = *(wxColour *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Colour" );
17598         wxListItem *    THIS = (wxListItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItem" );
17599
17600         THIS->SetBackgroundColour(colour);
17601     }
17602     XSRETURN_EMPTY;
17603 }
17604
17605
17606 XS(XS_Wx__ListItem_SetFont); /* prototype to pass -Wmissing-prototypes */
17607 XS(XS_Wx__ListItem_SetFont)
17608 {
17609 #ifdef dVAR
17610     dVAR; dXSARGS;
17611 #else
17612     dXSARGS;
17613 #endif
17614     if (items != 2)
17615        croak_xs_usage(cv,  "THIS, font");
17616     {
17617         wxFont*    font = (wxFont *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Font" );
17618         wxListItem *    THIS = (wxListItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItem" );
17619
17620         THIS->SetFont(*font);
17621     }
17622     XSRETURN_EMPTY;
17623 }
17624
17625
17626 XS(XS_Wx__ListItem_GetMask); /* prototype to pass -Wmissing-prototypes */
17627 XS(XS_Wx__ListItem_GetMask)
17628 {
17629 #ifdef dVAR
17630     dVAR; dXSARGS;
17631 #else
17632     dXSARGS;
17633 #endif
17634     if (items != 1)
17635        croak_xs_usage(cv,  "THIS");
17636     {
17637         wxListItem *    THIS = (wxListItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItem" );
17638         long    RETVAL;
17639         dXSTARG;
17640
17641         RETVAL = THIS->GetMask();
17642         XSprePUSH; PUSHi((IV)RETVAL);
17643     }
17644     XSRETURN(1);
17645 }
17646
17647
17648 XS(XS_Wx__ListItem_GetId); /* prototype to pass -Wmissing-prototypes */
17649 XS(XS_Wx__ListItem_GetId)
17650 {
17651 #ifdef dVAR
17652     dVAR; dXSARGS;
17653 #else
17654     dXSARGS;
17655 #endif
17656     if (items != 1)
17657        croak_xs_usage(cv,  "THIS");
17658     {
17659         wxListItem *    THIS = (wxListItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItem" );
17660         long    RETVAL;
17661         dXSTARG;
17662
17663         RETVAL = THIS->GetId();
17664         XSprePUSH; PUSHi((IV)RETVAL);
17665     }
17666     XSRETURN(1);
17667 }
17668
17669
17670 XS(XS_Wx__ListItem_GetColumn); /* prototype to pass -Wmissing-prototypes */
17671 XS(XS_Wx__ListItem_GetColumn)
17672 {
17673 #ifdef dVAR
17674     dVAR; dXSARGS;
17675 #else
17676     dXSARGS;
17677 #endif
17678     if (items != 1)
17679        croak_xs_usage(cv,  "THIS");
17680     {
17681         wxListItem *    THIS = (wxListItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItem" );
17682         int     RETVAL;
17683         dXSTARG;
17684
17685         RETVAL = THIS->GetColumn();
17686         XSprePUSH; PUSHi((IV)RETVAL);
17687     }
17688     XSRETURN(1);
17689 }
17690
17691
17692 XS(XS_Wx__ListItem_GetState); /* prototype to pass -Wmissing-prototypes */
17693 XS(XS_Wx__ListItem_GetState)
17694 {
17695 #ifdef dVAR
17696     dVAR; dXSARGS;
17697 #else
17698     dXSARGS;
17699 #endif
17700     if (items != 1)
17701        croak_xs_usage(cv,  "THIS");
17702     {
17703         wxListItem *    THIS = (wxListItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItem" );
17704         long    RETVAL;
17705         dXSTARG;
17706
17707         RETVAL = THIS->GetState();
17708         XSprePUSH; PUSHi((IV)RETVAL);
17709     }
17710     XSRETURN(1);
17711 }
17712
17713
17714 XS(XS_Wx__ListItem_GetText); /* prototype to pass -Wmissing-prototypes */
17715 XS(XS_Wx__ListItem_GetText)
17716 {
17717 #ifdef dVAR
17718     dVAR; dXSARGS;
17719 #else
17720     dXSARGS;
17721 #endif
17722     if (items != 1)
17723        croak_xs_usage(cv,  "THIS");
17724     {
17725         wxListItem *    THIS = (wxListItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItem" );
17726         wxString        RETVAL;
17727
17728         RETVAL = THIS->GetText();
17729         ST(0) = sv_newmortal();
17730     WXSTRING_OUTPUT( RETVAL, ST(0) );
17731
17732     }
17733     XSRETURN(1);
17734 }
17735
17736
17737 XS(XS_Wx__ListItem_GetImage); /* prototype to pass -Wmissing-prototypes */
17738 XS(XS_Wx__ListItem_GetImage)
17739 {
17740 #ifdef dVAR
17741     dVAR; dXSARGS;
17742 #else
17743     dXSARGS;
17744 #endif
17745     if (items != 1)
17746        croak_xs_usage(cv,  "THIS");
17747     {
17748         wxListItem *    THIS = (wxListItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItem" );
17749         int     RETVAL;
17750         dXSTARG;
17751
17752         RETVAL = THIS->GetImage();
17753         XSprePUSH; PUSHi((IV)RETVAL);
17754     }
17755     XSRETURN(1);
17756 }
17757
17758
17759 XS(XS_Wx__ListItem_GetData); /* prototype to pass -Wmissing-prototypes */
17760 XS(XS_Wx__ListItem_GetData)
17761 {
17762 #ifdef dVAR
17763     dVAR; dXSARGS;
17764 #else
17765     dXSARGS;
17766 #endif
17767     if (items != 1)
17768        croak_xs_usage(cv,  "THIS");
17769     {
17770         wxListItem *    THIS = (wxListItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItem" );
17771         long    RETVAL;
17772         dXSTARG;
17773
17774         RETVAL = THIS->GetData();
17775         XSprePUSH; PUSHi((IV)RETVAL);
17776     }
17777     XSRETURN(1);
17778 }
17779
17780
17781 XS(XS_Wx__ListItem_GetWidth); /* prototype to pass -Wmissing-prototypes */
17782 XS(XS_Wx__ListItem_GetWidth)
17783 {
17784 #ifdef dVAR
17785     dVAR; dXSARGS;
17786 #else
17787     dXSARGS;
17788 #endif
17789     if (items != 1)
17790        croak_xs_usage(cv,  "THIS");
17791     {
17792         wxListItem *    THIS = (wxListItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItem" );
17793         int     RETVAL;
17794         dXSTARG;
17795
17796         RETVAL = THIS->GetWidth();
17797         XSprePUSH; PUSHi((IV)RETVAL);
17798     }
17799     XSRETURN(1);
17800 }
17801
17802
17803 XS(XS_Wx__ListItem_GetAlign); /* prototype to pass -Wmissing-prototypes */
17804 XS(XS_Wx__ListItem_GetAlign)
17805 {
17806 #ifdef dVAR
17807     dVAR; dXSARGS;
17808 #else
17809     dXSARGS;
17810 #endif
17811     if (items != 1)
17812        croak_xs_usage(cv,  "THIS");
17813     {
17814         wxListItem *    THIS = (wxListItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItem" );
17815         wxListColumnFormat      RETVAL;
17816         dXSTARG;
17817
17818         RETVAL = THIS->GetAlign();
17819         XSprePUSH; PUSHi((IV)RETVAL);
17820     }
17821     XSRETURN(1);
17822 }
17823
17824
17825 XS(XS_Wx__ListItem_GetTextColour); /* prototype to pass -Wmissing-prototypes */
17826 XS(XS_Wx__ListItem_GetTextColour)
17827 {
17828 #ifdef dVAR
17829     dVAR; dXSARGS;
17830 #else
17831     dXSARGS;
17832 #endif
17833     if (items != 1)
17834        croak_xs_usage(cv,  "THIS");
17835     {
17836         wxListItem *    THIS = (wxListItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItem" );
17837         wxColour *      RETVAL;
17838     RETVAL = new wxColour( THIS->GetTextColour() );
17839         ST(0) = sv_newmortal();
17840     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Colour" );
17841     wxPli_thread_sv_register( aTHX_ "Wx::Colour", RETVAL, ST(0) );
17842
17843     }
17844     XSRETURN(1);
17845 }
17846
17847
17848 XS(XS_Wx__ListItem_GetBackgroundColour); /* prototype to pass -Wmissing-prototypes */
17849 XS(XS_Wx__ListItem_GetBackgroundColour)
17850 {
17851 #ifdef dVAR
17852     dVAR; dXSARGS;
17853 #else
17854     dXSARGS;
17855 #endif
17856     if (items != 1)
17857        croak_xs_usage(cv,  "THIS");
17858     {
17859         wxListItem *    THIS = (wxListItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItem" );
17860         wxColour *      RETVAL;
17861     RETVAL = new wxColour( THIS->GetBackgroundColour() );
17862         ST(0) = sv_newmortal();
17863     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Colour" );
17864     wxPli_thread_sv_register( aTHX_ "Wx::Colour", RETVAL, ST(0) );
17865
17866     }
17867     XSRETURN(1);
17868 }
17869
17870
17871 XS(XS_Wx__ListItem_GetFont); /* prototype to pass -Wmissing-prototypes */
17872 XS(XS_Wx__ListItem_GetFont)
17873 {
17874 #ifdef dVAR
17875     dVAR; dXSARGS;
17876 #else
17877     dXSARGS;
17878 #endif
17879     if (items != 1)
17880        croak_xs_usage(cv,  "THIS");
17881     {
17882         wxListItem *    THIS = (wxListItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItem" );
17883         wxFont *        RETVAL;
17884     RETVAL = new wxFont( THIS->GetFont() );
17885         ST(0) = sv_newmortal();
17886     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
17887     wxPli_thread_sv_register( aTHX_ "Wx::Font", RETVAL, ST(0) );
17888
17889     }
17890     XSRETURN(1);
17891 }
17892
17893
17894 XS(XS_Wx__ListItemAttr_new); /* prototype to pass -Wmissing-prototypes */
17895 XS(XS_Wx__ListItemAttr_new)
17896 {
17897 #ifdef dVAR
17898     dVAR; dXSARGS;
17899 #else
17900     dXSARGS;
17901 #endif
17902     if (items < 1)
17903        croak_xs_usage(cv,  "CLASS, ...");
17904     if (items == 1)
17905     {
17906         char *  CLASS = (char *)SvPV_nolen(ST(0));
17907         wxListItemAttr *        RETVAL;
17908       RETVAL = new wxListItemAttr();
17909         ST(0) = sv_newmortal();
17910     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::ListItemAttr" );
17911     wxPli_thread_sv_register( aTHX_ "Wx::ListItemAttr", RETVAL, ST(0) );
17912
17913     }
17914     else if (items == 4)
17915     {
17916         wxColour        text;
17917         wxColour        back;
17918         wxFont* font;
17919         char *  CLASS = (char *)SvPV_nolen(ST(0));
17920         wxListItemAttr *        RETVAL;
17921       text = *(wxColour *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Colour" );
17922       back = *(wxColour *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Colour" );
17923       font = (wxFont *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::Font" );
17924       RETVAL = new wxListItemAttr( text, back, *font );
17925         ST(0) = sv_newmortal();
17926     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::ListItemAttr" );
17927     wxPli_thread_sv_register( aTHX_ "Wx::ListItemAttr", RETVAL, ST(0) );
17928
17929     }
17930     else
17931     {
17932         char *  CLASS = (char *)SvPV_nolen(ST(0));
17933         wxListItemAttr *        RETVAL;
17934       croak( "Usage: Wx::ListItemAttr::new(THIS [, text, back, font ] )" );
17935     }
17936     XSRETURN(1);
17937 }
17938
17939
17940 XS(XS_Wx__ListItemAttr_CLONE); /* prototype to pass -Wmissing-prototypes */
17941 XS(XS_Wx__ListItemAttr_CLONE)
17942 {
17943 #ifdef dVAR
17944     dVAR; dXSARGS;
17945 #else
17946     dXSARGS;
17947 #endif
17948     if (items != 1)
17949        croak_xs_usage(cv,  "CLASS");
17950     {
17951         char *  CLASS = (char *)SvPV_nolen(ST(0));
17952     wxPli_thread_sv_clone( aTHX_ CLASS, (wxPliCloneSV)wxPli_detach_object );
17953     }
17954     XSRETURN_EMPTY;
17955 }
17956
17957
17958 XS(XS_Wx__ListItemAttr_DESTROY); /* prototype to pass -Wmissing-prototypes */
17959 XS(XS_Wx__ListItemAttr_DESTROY)
17960 {
17961 #ifdef dVAR
17962     dVAR; dXSARGS;
17963 #else
17964     dXSARGS;
17965 #endif
17966     if (items != 1)
17967        croak_xs_usage(cv,  "THIS");
17968     {
17969         wxListItemAttr *    THIS = (wxListItemAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItemAttr" );
17970     wxPli_thread_sv_unregister( aTHX_ "Wx::ListItemAttr", THIS, ST(0) );
17971     delete THIS;
17972     }
17973     XSRETURN_EMPTY;
17974 }
17975
17976
17977 XS(XS_Wx__ListItemAttr_SetTextColour); /* prototype to pass -Wmissing-prototypes */
17978 XS(XS_Wx__ListItemAttr_SetTextColour)
17979 {
17980 #ifdef dVAR
17981     dVAR; dXSARGS;
17982 #else
17983     dXSARGS;
17984 #endif
17985     if (items != 2)
17986        croak_xs_usage(cv,  "THIS, text");
17987     {
17988         wxColour    text = *(wxColour *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Colour" );
17989         wxListItemAttr *    THIS = (wxListItemAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItemAttr" );
17990
17991         THIS->SetTextColour(text);
17992     }
17993     XSRETURN_EMPTY;
17994 }
17995
17996
17997 XS(XS_Wx__ListItemAttr_SetBackgroundColour); /* prototype to pass -Wmissing-prototypes */
17998 XS(XS_Wx__ListItemAttr_SetBackgroundColour)
17999 {
18000 #ifdef dVAR
18001     dVAR; dXSARGS;
18002 #else
18003     dXSARGS;
18004 #endif
18005     if (items != 2)
18006        croak_xs_usage(cv,  "THIS, back");
18007     {
18008         wxColour    back = *(wxColour *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Colour" );
18009         wxListItemAttr *    THIS = (wxListItemAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItemAttr" );
18010
18011         THIS->SetBackgroundColour(back);
18012     }
18013     XSRETURN_EMPTY;
18014 }
18015
18016
18017 XS(XS_Wx__ListItemAttr_SetFont); /* prototype to pass -Wmissing-prototypes */
18018 XS(XS_Wx__ListItemAttr_SetFont)
18019 {
18020 #ifdef dVAR
18021     dVAR; dXSARGS;
18022 #else
18023     dXSARGS;
18024 #endif
18025     if (items != 2)
18026        croak_xs_usage(cv,  "THIS, font");
18027     {
18028         wxFont*    font = (wxFont *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Font" );
18029         wxListItemAttr *    THIS = (wxListItemAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItemAttr" );
18030     THIS->SetFont( *font );
18031     }
18032     XSRETURN_EMPTY;
18033 }
18034
18035
18036 XS(XS_Wx__ListItemAttr_HasTextColour); /* prototype to pass -Wmissing-prototypes */
18037 XS(XS_Wx__ListItemAttr_HasTextColour)
18038 {
18039 #ifdef dVAR
18040     dVAR; dXSARGS;
18041 #else
18042     dXSARGS;
18043 #endif
18044     if (items != 1)
18045        croak_xs_usage(cv,  "THIS");
18046     {
18047         wxListItemAttr *    THIS = (wxListItemAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItemAttr" );
18048         bool    RETVAL;
18049
18050         RETVAL = THIS->HasTextColour();
18051         ST(0) = boolSV(RETVAL);
18052         sv_2mortal(ST(0));
18053     }
18054     XSRETURN(1);
18055 }
18056
18057
18058 XS(XS_Wx__ListItemAttr_HasBackgroundColour); /* prototype to pass -Wmissing-prototypes */
18059 XS(XS_Wx__ListItemAttr_HasBackgroundColour)
18060 {
18061 #ifdef dVAR
18062     dVAR; dXSARGS;
18063 #else
18064     dXSARGS;
18065 #endif
18066     if (items != 1)
18067        croak_xs_usage(cv,  "THIS");
18068     {
18069         wxListItemAttr *    THIS = (wxListItemAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItemAttr" );
18070         bool    RETVAL;
18071
18072         RETVAL = THIS->HasBackgroundColour();
18073         ST(0) = boolSV(RETVAL);
18074         sv_2mortal(ST(0));
18075     }
18076     XSRETURN(1);
18077 }
18078
18079
18080 XS(XS_Wx__ListItemAttr_HasFont); /* prototype to pass -Wmissing-prototypes */
18081 XS(XS_Wx__ListItemAttr_HasFont)
18082 {
18083 #ifdef dVAR
18084     dVAR; dXSARGS;
18085 #else
18086     dXSARGS;
18087 #endif
18088     if (items != 1)
18089        croak_xs_usage(cv,  "THIS");
18090     {
18091         wxListItemAttr *    THIS = (wxListItemAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItemAttr" );
18092         bool    RETVAL;
18093
18094         RETVAL = THIS->HasFont();
18095         ST(0) = boolSV(RETVAL);
18096         sv_2mortal(ST(0));
18097     }
18098     XSRETURN(1);
18099 }
18100
18101
18102 XS(XS_Wx__ListItemAttr_GetTextColour); /* prototype to pass -Wmissing-prototypes */
18103 XS(XS_Wx__ListItemAttr_GetTextColour)
18104 {
18105 #ifdef dVAR
18106     dVAR; dXSARGS;
18107 #else
18108     dXSARGS;
18109 #endif
18110     if (items != 1)
18111        croak_xs_usage(cv,  "THIS");
18112     {
18113         wxListItemAttr *    THIS = (wxListItemAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItemAttr" );
18114         wxColour *      RETVAL;
18115     RETVAL = new wxColour( THIS->GetTextColour() );
18116         ST(0) = sv_newmortal();
18117     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Colour" );
18118     wxPli_thread_sv_register( aTHX_ "Wx::Colour", RETVAL, ST(0) );
18119
18120     }
18121     XSRETURN(1);
18122 }
18123
18124
18125 XS(XS_Wx__ListItemAttr_GetBackgroundColour); /* prototype to pass -Wmissing-prototypes */
18126 XS(XS_Wx__ListItemAttr_GetBackgroundColour)
18127 {
18128 #ifdef dVAR
18129     dVAR; dXSARGS;
18130 #else
18131     dXSARGS;
18132 #endif
18133     if (items != 1)
18134        croak_xs_usage(cv,  "THIS");
18135     {
18136         wxListItemAttr *    THIS = (wxListItemAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItemAttr" );
18137         wxColour *      RETVAL;
18138     RETVAL = new wxColour( THIS->GetBackgroundColour() );
18139         ST(0) = sv_newmortal();
18140     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Colour" );
18141     wxPli_thread_sv_register( aTHX_ "Wx::Colour", RETVAL, ST(0) );
18142
18143     }
18144     XSRETURN(1);
18145 }
18146
18147
18148 XS(XS_Wx__ListItemAttr_GetFont); /* prototype to pass -Wmissing-prototypes */
18149 XS(XS_Wx__ListItemAttr_GetFont)
18150 {
18151 #ifdef dVAR
18152     dVAR; dXSARGS;
18153 #else
18154     dXSARGS;
18155 #endif
18156     if (items != 1)
18157        croak_xs_usage(cv,  "THIS");
18158     {
18159         wxListItemAttr *    THIS = (wxListItemAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItemAttr" );
18160         wxFont *        RETVAL;
18161     RETVAL = new wxFont( THIS->GetFont() );
18162         ST(0) = sv_newmortal();
18163     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
18164     wxPli_thread_sv_register( aTHX_ "Wx::Font", RETVAL, ST(0) );
18165
18166     }
18167     XSRETURN(1);
18168 }
18169
18170
18171 XS(XS_Wx__ListCtrl_new); /* prototype to pass -Wmissing-prototypes */
18172 XS(XS_Wx__ListCtrl_new)
18173 {
18174 #ifdef dVAR
18175     dVAR; dXSARGS;
18176 #else
18177     dXSARGS;
18178 #endif
18179     PERL_UNUSED_VAR(cv); /* -W */
18180     PERL_UNUSED_VAR(ax); /* -Wall */
18181     SP -= items;
18182     {
18183     BEGIN_OVERLOAD()
18184         MATCH_VOIDM_REDISP( newDefault )
18185         MATCH_ANY_REDISP( newFull )
18186     END_OVERLOAD( "Wx::ListCtrl::new" )
18187         PUTBACK;
18188         return;
18189     }
18190 }
18191
18192
18193 XS(XS_Wx__ListCtrl_newDefault); /* prototype to pass -Wmissing-prototypes */
18194 XS(XS_Wx__ListCtrl_newDefault)
18195 {
18196 #ifdef dVAR
18197     dVAR; dXSARGS;
18198 #else
18199     dXSARGS;
18200 #endif
18201     if (items != 1)
18202        croak_xs_usage(cv,  "CLASS");
18203     {
18204         PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) );
18205         wxListCtrl *    RETVAL;
18206     RETVAL = new wxPliListCtrl( CLASS );
18207     wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
18208         ST(0) = sv_newmortal();
18209     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
18210
18211     }
18212     XSRETURN(1);
18213 }
18214
18215
18216 XS(XS_Wx__ListCtrl_newFull); /* prototype to pass -Wmissing-prototypes */
18217 XS(XS_Wx__ListCtrl_newFull)
18218 {
18219 #ifdef dVAR
18220     dVAR; dXSARGS;
18221 #else
18222     dXSARGS;
18223 #endif
18224     if (items < 2 || items > 8)
18225        croak_xs_usage(cv,  "CLASS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = wxLC_ICON, validator = (wxValidator*)&wxDefaultValidator, name = wxListCtrlNameStr");
18226     {
18227         PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) );
18228         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
18229         wxWindowID      id;
18230         wxPoint pos;
18231         wxSize  size;
18232         long    style;
18233         wxValidator*    validator;
18234         wxString        name;
18235         wxListCtrl *    RETVAL;
18236
18237         if (items < 3)
18238             id = wxID_ANY;
18239         else {
18240     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
18241         }
18242
18243         if (items < 4)
18244             pos = wxDefaultPosition;
18245         else {
18246     pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) );
18247         }
18248
18249         if (items < 5)
18250             size = wxDefaultSize;
18251         else {
18252     size = wxPli_sv_2_wxsize( aTHX_ ST(4) );
18253         }
18254
18255         if (items < 6)
18256             style = wxLC_ICON;
18257         else {
18258             style = (long)SvIV(ST(5));
18259         }
18260
18261         if (items < 7)
18262             validator = (wxValidator*)&wxDefaultValidator;
18263         else {
18264     validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(6), "Wx::Validator" );
18265         }
18266
18267         if (items < 8)
18268             name = wxListCtrlNameStr;
18269         else {
18270     WXSTRING_INPUT( name, wxString, ST(7) );
18271         }
18272     RETVAL = new wxPliListCtrl( CLASS, parent, id, pos, size, style,
18273         *validator, name );
18274         ST(0) = sv_newmortal();
18275     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
18276
18277     }
18278     XSRETURN(1);
18279 }
18280
18281
18282 XS(XS_Wx__ListCtrl_Create); /* prototype to pass -Wmissing-prototypes */
18283 XS(XS_Wx__ListCtrl_Create)
18284 {
18285 #ifdef dVAR
18286     dVAR; dXSARGS;
18287 #else
18288     dXSARGS;
18289 #endif
18290     if (items < 2 || items > 8)
18291        croak_xs_usage(cv,  "THIS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = wxLC_ICON, validator = (wxValidator*)&wxDefaultValidator, name = wxListCtrlNameStr");
18292     {
18293         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
18294         wxWindowID      id;
18295         wxPoint pos;
18296         wxSize  size;
18297         long    style;
18298         wxValidator*    validator;
18299         wxString        name;
18300         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
18301         bool    RETVAL;
18302
18303         if (items < 3)
18304             id = wxID_ANY;
18305         else {
18306     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
18307         }
18308
18309         if (items < 4)
18310             pos = wxDefaultPosition;
18311         else {
18312     pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) );
18313         }
18314
18315         if (items < 5)
18316             size = wxDefaultSize;
18317         else {
18318     size = wxPli_sv_2_wxsize( aTHX_ ST(4) );
18319         }
18320
18321         if (items < 6)
18322             style = wxLC_ICON;
18323         else {
18324             style = (long)SvIV(ST(5));
18325         }
18326
18327         if (items < 7)
18328             validator = (wxValidator*)&wxDefaultValidator;
18329         else {
18330     validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(6), "Wx::Validator" );
18331         }
18332
18333         if (items < 8)
18334             name = wxListCtrlNameStr;
18335         else {
18336     WXSTRING_INPUT( name, wxString, ST(7) );
18337         }
18338
18339         RETVAL = THIS->Create(parent, id, pos, size, style, *validator, name);
18340         ST(0) = boolSV(RETVAL);
18341         sv_2mortal(ST(0));
18342     }
18343     XSRETURN(1);
18344 }
18345
18346
18347 XS(XS_Wx__ListCtrl_Arrange); /* prototype to pass -Wmissing-prototypes */
18348 XS(XS_Wx__ListCtrl_Arrange)
18349 {
18350 #ifdef dVAR
18351     dVAR; dXSARGS;
18352 #else
18353     dXSARGS;
18354 #endif
18355     if (items < 1 || items > 2)
18356        croak_xs_usage(cv,  "THIS, flag = wxLIST_ALIGN_DEFAULT");
18357     {
18358         int     flag;
18359         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
18360         bool    RETVAL;
18361
18362         if (items < 2)
18363             flag = wxLIST_ALIGN_DEFAULT;
18364         else {
18365             flag = (int)SvIV(ST(1));
18366         }
18367
18368         RETVAL = THIS->Arrange(flag);
18369         ST(0) = boolSV(RETVAL);
18370         sv_2mortal(ST(0));
18371     }
18372     XSRETURN(1);
18373 }
18374
18375
18376 XS(XS_Wx__ListCtrl_AssignImageList); /* prototype to pass -Wmissing-prototypes */
18377 XS(XS_Wx__ListCtrl_AssignImageList)
18378 {
18379 #ifdef dVAR
18380     dVAR; dXSARGS;
18381 #else
18382     dXSARGS;
18383 #endif
18384     if (items != 3)
18385        croak_xs_usage(cv,  "THIS, imagelist, which");
18386     {
18387         wxImageList*    imagelist = (wxImageList *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::ImageList" );
18388         int     which = (int)SvIV(ST(2));
18389         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
18390     wxPli_object_set_deleteable( aTHX_ ST(1), false );
18391     THIS->AssignImageList( imagelist, which );
18392     }
18393     XSRETURN_EMPTY;
18394 }
18395
18396
18397 XS(XS_Wx__ListCtrl_ClearAll); /* prototype to pass -Wmissing-prototypes */
18398 XS(XS_Wx__ListCtrl_ClearAll)
18399 {
18400 #ifdef dVAR
18401     dVAR; dXSARGS;
18402 #else
18403     dXSARGS;
18404 #endif
18405     if (items != 1)
18406        croak_xs_usage(cv,  "THIS");
18407     {
18408         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
18409
18410         THIS->ClearAll();
18411     }
18412     XSRETURN_EMPTY;
18413 }
18414
18415
18416 XS(XS_Wx__ListCtrl_DeleteItem); /* prototype to pass -Wmissing-prototypes */
18417 XS(XS_Wx__ListCtrl_DeleteItem)
18418 {
18419 #ifdef dVAR
18420     dVAR; dXSARGS;
18421 #else
18422     dXSARGS;
18423 #endif
18424     if (items != 2)
18425        croak_xs_usage(cv,  "THIS, item");
18426     {
18427         long    item = (long)SvIV(ST(1));
18428         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
18429         bool    RETVAL;
18430
18431         RETVAL = THIS->DeleteItem(item);
18432         ST(0) = boolSV(RETVAL);
18433         sv_2mortal(ST(0));
18434     }
18435     XSRETURN(1);
18436 }
18437
18438
18439 XS(XS_Wx__ListCtrl_DeleteAllItems); /* prototype to pass -Wmissing-prototypes */
18440 XS(XS_Wx__ListCtrl_DeleteAllItems)
18441 {
18442 #ifdef dVAR
18443     dVAR; dXSARGS;
18444 #else
18445     dXSARGS;
18446 #endif
18447     if (items != 1)
18448        croak_xs_usage(cv,  "THIS");
18449     {
18450         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
18451         bool    RETVAL;
18452
18453         RETVAL = THIS->DeleteAllItems();
18454         ST(0) = boolSV(RETVAL);
18455         sv_2mortal(ST(0));
18456     }
18457     XSRETURN(1);
18458 }
18459
18460
18461 XS(XS_Wx__ListCtrl_DeleteColumn); /* prototype to pass -Wmissing-prototypes */
18462 XS(XS_Wx__ListCtrl_DeleteColumn)
18463 {
18464 #ifdef dVAR
18465     dVAR; dXSARGS;
18466 #else
18467     dXSARGS;
18468 #endif
18469     if (items != 2)
18470        croak_xs_usage(cv,  "THIS, col");
18471     {
18472         int     col = (int)SvIV(ST(1));
18473         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
18474         bool    RETVAL;
18475
18476         RETVAL = THIS->DeleteColumn(col);
18477         ST(0) = boolSV(RETVAL);
18478         sv_2mortal(ST(0));
18479     }
18480     XSRETURN(1);
18481 }
18482
18483
18484 XS(XS_Wx__ListCtrl_EditLabel); /* prototype to pass -Wmissing-prototypes */
18485 XS(XS_Wx__ListCtrl_EditLabel)
18486 {
18487 #ifdef dVAR
18488     dVAR; dXSARGS;
18489 #else
18490     dXSARGS;
18491 #endif
18492     if (items != 2)
18493        croak_xs_usage(cv,  "THIS, item");
18494     {
18495         long    item = (long)SvIV(ST(1));
18496         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
18497
18498         THIS->EditLabel(item);
18499     }
18500     XSRETURN_EMPTY;
18501 }
18502
18503
18504 XS(XS_Wx__ListCtrl_EnsureVisible); /* prototype to pass -Wmissing-prototypes */
18505 XS(XS_Wx__ListCtrl_EnsureVisible)
18506 {
18507 #ifdef dVAR
18508     dVAR; dXSARGS;
18509 #else
18510     dXSARGS;
18511 #endif
18512     if (items != 2)
18513        croak_xs_usage(cv,  "THIS, item");
18514     {
18515         long    item = (long)SvIV(ST(1));
18516         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
18517         bool    RETVAL;
18518
18519         RETVAL = THIS->EnsureVisible(item);
18520         ST(0) = boolSV(RETVAL);
18521         sv_2mortal(ST(0));
18522     }
18523     XSRETURN(1);
18524 }
18525
18526
18527 XS(XS_Wx__ListCtrl_FindItem); /* prototype to pass -Wmissing-prototypes */
18528 XS(XS_Wx__ListCtrl_FindItem)
18529 {
18530 #ifdef dVAR
18531     dVAR; dXSARGS;
18532 #else
18533     dXSARGS;
18534 #endif
18535     if (items < 3 || items > 4)
18536        croak_xs_usage(cv,  "THIS, start, str, partial = false");
18537     {
18538         long    start = (long)SvIV(ST(1));
18539         wxString        str;
18540         bool    partial;
18541         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
18542         long    RETVAL;
18543         dXSTARG;
18544
18545     WXSTRING_INPUT( str, wxString, ST(2) );
18546
18547         if (items < 4)
18548             partial = false;
18549         else {
18550             partial = (bool)SvTRUE(ST(3));
18551         }
18552     RETVAL = THIS->FindItem( start, str, partial );
18553         XSprePUSH; PUSHi((IV)RETVAL);
18554     }
18555     XSRETURN(1);
18556 }
18557
18558
18559 XS(XS_Wx__ListCtrl_FindItemData); /* prototype to pass -Wmissing-prototypes */
18560 XS(XS_Wx__ListCtrl_FindItemData)
18561 {
18562 #ifdef dVAR
18563     dVAR; dXSARGS;
18564 #else
18565     dXSARGS;
18566 #endif
18567     if (items != 3)
18568        croak_xs_usage(cv,  "THIS, start, data");
18569     {
18570         long    start = (long)SvIV(ST(1));
18571         long    data = (long)SvIV(ST(2));
18572         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
18573         long    RETVAL;
18574         dXSTARG;
18575     RETVAL = THIS->FindItem( start, data );
18576         XSprePUSH; PUSHi((IV)RETVAL);
18577     }
18578     XSRETURN(1);
18579 }
18580
18581
18582 XS(XS_Wx__ListCtrl_FindItemAtPos); /* prototype to pass -Wmissing-prototypes */
18583 XS(XS_Wx__ListCtrl_FindItemAtPos)
18584 {
18585 #ifdef dVAR
18586     dVAR; dXSARGS;
18587 #else
18588     dXSARGS;
18589 #endif
18590     if (items != 4)
18591        croak_xs_usage(cv,  "THIS, start, pt, direction");
18592     {
18593         long    start = (long)SvIV(ST(1));
18594         wxPoint    pt = wxPli_sv_2_wxpoint( aTHX_ ST(2) );
18595         int     direction = (int)SvIV(ST(3));
18596         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
18597         long    RETVAL;
18598         dXSTARG;
18599     RETVAL = THIS->FindItem( start, pt, direction );
18600         XSprePUSH; PUSHi((IV)RETVAL);
18601     }
18602     XSRETURN(1);
18603 }
18604
18605
18606 XS(XS_Wx__ListCtrl_GetColumn); /* prototype to pass -Wmissing-prototypes */
18607 XS(XS_Wx__ListCtrl_GetColumn)
18608 {
18609 #ifdef dVAR
18610     dVAR; dXSARGS;
18611 #else
18612     dXSARGS;
18613 #endif
18614     if (items != 2)
18615        croak_xs_usage(cv,  "THIS, col");
18616     {
18617         int     col = (int)SvIV(ST(1));
18618     wxListItem item;
18619         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
18620         wxListItem *    RETVAL;
18621     item.SetMask( wxLIST_MASK_TEXT|wxLIST_MASK_IMAGE|wxLIST_MASK_FORMAT );
18622     if( THIS->GetColumn( col, item ) )
18623     {
18624       RETVAL = new wxListItem( item );
18625     }
18626     else
18627     {
18628       RETVAL = 0;
18629     }
18630         ST(0) = sv_newmortal();
18631     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::ListItem" );
18632     wxPli_thread_sv_register( aTHX_ "Wx::ListItem", RETVAL, ST(0) );
18633
18634     }
18635     XSRETURN(1);
18636 }
18637
18638
18639 XS(XS_Wx__ListCtrl_GetColumnCount); /* prototype to pass -Wmissing-prototypes */
18640 XS(XS_Wx__ListCtrl_GetColumnCount)
18641 {
18642 #ifdef dVAR
18643     dVAR; dXSARGS;
18644 #else
18645     dXSARGS;
18646 #endif
18647     if (items != 1)
18648        croak_xs_usage(cv,  "THIS");
18649     {
18650         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
18651         int     RETVAL;
18652         dXSTARG;
18653
18654         RETVAL = THIS->GetColumnCount();
18655         XSprePUSH; PUSHi((IV)RETVAL);
18656     }
18657     XSRETURN(1);
18658 }
18659
18660
18661 XS(XS_Wx__ListCtrl_GetColumnWidth); /* prototype to pass -Wmissing-prototypes */
18662 XS(XS_Wx__ListCtrl_GetColumnWidth)
18663 {
18664 #ifdef dVAR
18665     dVAR; dXSARGS;
18666 #else
18667     dXSARGS;
18668 #endif
18669     if (items != 2)
18670        croak_xs_usage(cv,  "THIS, col");
18671     {
18672         int     col = (int)SvIV(ST(1));
18673         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
18674         int     RETVAL;
18675         dXSTARG;
18676
18677         RETVAL = THIS->GetColumnWidth(col);
18678         XSprePUSH; PUSHi((IV)RETVAL);
18679     }
18680     XSRETURN(1);
18681 }
18682
18683
18684 XS(XS_Wx__ListCtrl_GetCountPerPage); /* prototype to pass -Wmissing-prototypes */
18685 XS(XS_Wx__ListCtrl_GetCountPerPage)
18686 {
18687 #ifdef dVAR
18688     dVAR; dXSARGS;
18689 #else
18690     dXSARGS;
18691 #endif
18692     if (items != 1)
18693        croak_xs_usage(cv,  "THIS");
18694     {
18695         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
18696         int     RETVAL;
18697         dXSTARG;
18698
18699         RETVAL = THIS->GetCountPerPage();
18700         XSprePUSH; PUSHi((IV)RETVAL);
18701     }
18702     XSRETURN(1);
18703 }
18704
18705 #if defined( __WXMSW__ ) || defined( __WXPERL_FORCE__ )
18706 #define XSubPPtmpAACY 1
18707
18708
18709 XS(XS_Wx__ListCtrl_GetEditControl); /* prototype to pass -Wmissing-prototypes */
18710 XS(XS_Wx__ListCtrl_GetEditControl)
18711 {
18712 #ifdef dVAR
18713     dVAR; dXSARGS;
18714 #else
18715     dXSARGS;
18716 #endif
18717     if (items != 1)
18718        croak_xs_usage(cv,  "THIS");
18719     {
18720         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
18721         wxTextCtrl *    RETVAL;
18722
18723         RETVAL = THIS->GetEditControl();
18724         ST(0) = sv_newmortal();
18725     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
18726
18727     }
18728     XSRETURN(1);
18729 }
18730
18731 #endif
18732
18733 XS(XS_Wx__ListCtrl_GetImageList); /* prototype to pass -Wmissing-prototypes */
18734 XS(XS_Wx__ListCtrl_GetImageList)
18735 {
18736 #ifdef dVAR
18737     dVAR; dXSARGS;
18738 #else
18739     dXSARGS;
18740 #endif
18741     if (items != 2)
18742        croak_xs_usage(cv,  "THIS, which");
18743     {
18744         int     which = (int)SvIV(ST(1));
18745         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
18746         wxImageList *   RETVAL;
18747     RETVAL = (wxImageList*)THIS->GetImageList( which );
18748         ST(0) = sv_newmortal();
18749     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
18750     wxPli_thread_sv_register( aTHX_ "Wx::ImageList", RETVAL, ST(0) );
18751
18752     wxPli_object_set_deleteable( aTHX_ ST(0), false );
18753     }
18754     XSRETURN(1);
18755 }
18756
18757
18758 XS(XS_Wx__ListCtrl_GetItem); /* prototype to pass -Wmissing-prototypes */
18759 XS(XS_Wx__ListCtrl_GetItem)
18760 {
18761 #ifdef dVAR
18762     dVAR; dXSARGS;
18763 #else
18764     dXSARGS;
18765 #endif
18766     if (items < 2 || items > 3)
18767        croak_xs_usage(cv,  "THIS, id, col = -1");
18768     {
18769         long    id = (long)SvIV(ST(1));
18770         int     col;
18771     wxListItem item;
18772         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
18773         wxListItem *    RETVAL;
18774
18775         if (items < 3)
18776             col = -1;
18777         else {
18778             col = (int)SvIV(ST(2));
18779         }
18780     item.SetId( id );
18781     if( col != -1 ) { item.SetColumn( col ); }
18782     item.SetMask( wxLIST_MASK_TEXT|wxLIST_MASK_DATA|wxLIST_MASK_IMAGE|
18783         wxLIST_MASK_STATE );
18784     if( THIS->GetItem( item ) )
18785     {
18786       RETVAL = new wxListItem( item );
18787     }
18788     else
18789     {
18790       RETVAL = 0;
18791     }
18792         ST(0) = sv_newmortal();
18793     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::ListItem" );
18794     wxPli_thread_sv_register( aTHX_ "Wx::ListItem", RETVAL, ST(0) );
18795
18796     }
18797     XSRETURN(1);
18798 }
18799
18800
18801 XS(XS_Wx__ListCtrl_GetItemData); /* prototype to pass -Wmissing-prototypes */
18802 XS(XS_Wx__ListCtrl_GetItemData)
18803 {
18804 #ifdef dVAR
18805     dVAR; dXSARGS;
18806 #else
18807     dXSARGS;
18808 #endif
18809     if (items != 2)
18810        croak_xs_usage(cv,  "THIS, item");
18811     {
18812         long    item = (long)SvIV(ST(1));
18813         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
18814         long    RETVAL;
18815         dXSTARG;
18816
18817         RETVAL = THIS->GetItemData(item);
18818         XSprePUSH; PUSHi((IV)RETVAL);
18819     }
18820     XSRETURN(1);
18821 }
18822
18823
18824 XS(XS_Wx__ListCtrl_GetItemPosition); /* prototype to pass -Wmissing-prototypes */
18825 XS(XS_Wx__ListCtrl_GetItemPosition)
18826 {
18827 #ifdef dVAR
18828     dVAR; dXSARGS;
18829 #else
18830     dXSARGS;
18831 #endif
18832     if (items != 2)
18833        croak_xs_usage(cv,  "THIS, item");
18834     {
18835         long    item = (long)SvIV(ST(1));
18836     wxPoint point;
18837         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
18838         wxPoint *       RETVAL;
18839     if( THIS->GetItemPosition( item, point ) )
18840     {
18841       RETVAL = new wxPoint( point );
18842     }
18843     else
18844     {
18845       RETVAL = 0;
18846     }
18847         ST(0) = sv_newmortal();
18848     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Point" );
18849     wxPli_thread_sv_register( aTHX_ "Wx::Point", RETVAL, ST(0) );
18850
18851     }
18852     XSRETURN(1);
18853 }
18854
18855
18856 XS(XS_Wx__ListCtrl_GetItemRect); /* prototype to pass -Wmissing-prototypes */
18857 XS(XS_Wx__ListCtrl_GetItemRect)
18858 {
18859 #ifdef dVAR
18860     dVAR; dXSARGS;
18861 #else
18862     dXSARGS;
18863 #endif
18864     if (items < 2 || items > 3)
18865        croak_xs_usage(cv,  "THIS, item, code = wxLIST_RECT_BOUNDS");
18866     {
18867         long    item = (long)SvIV(ST(1));
18868         int     code;
18869     wxRect rect;
18870         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
18871         wxRect *        RETVAL;
18872
18873         if (items < 3)
18874             code = wxLIST_RECT_BOUNDS;
18875         else {
18876             code = (int)SvIV(ST(2));
18877         }
18878     if( THIS->GetItemRect( item, rect, code ) )
18879     {
18880         RETVAL = new wxRect( rect );
18881     }
18882     else
18883     {
18884         RETVAL = 0;
18885     }
18886         ST(0) = sv_newmortal();
18887     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Rect" );
18888     wxPli_thread_sv_register( aTHX_ "Wx::Rect", RETVAL, ST(0) );
18889
18890     }
18891     XSRETURN(1);
18892 }
18893
18894 #if WXPERL_W_VERSION_GE( 2, 7, 2 ) && defined(__WXMSW__)
18895 #define XSubPPtmpAACZ 1
18896
18897
18898 XS(XS_Wx__ListCtrl_GetSubItemRect); /* prototype to pass -Wmissing-prototypes */
18899 XS(XS_Wx__ListCtrl_GetSubItemRect)
18900 {
18901 #ifdef dVAR
18902     dVAR; dXSARGS;
18903 #else
18904     dXSARGS;
18905 #endif
18906     if (items < 3 || items > 4)
18907        croak_xs_usage(cv,  "THIS, item, subItem, code = wxLIST_RECT_BOUNDS");
18908     {
18909         long    item = (long)SvIV(ST(1));
18910         long    subItem = (long)SvIV(ST(2));
18911         int     code;
18912     wxRect rect;
18913         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
18914         wxRect *        RETVAL;
18915
18916         if (items < 4)
18917             code = wxLIST_RECT_BOUNDS;
18918         else {
18919             code = (int)SvIV(ST(3));
18920         }
18921     if( THIS->GetSubItemRect( item, subItem, rect, code ) )
18922     {
18923         RETVAL = new wxRect( rect );
18924     }
18925     else
18926     {
18927         RETVAL = 0;
18928     }
18929         ST(0) = sv_newmortal();
18930     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Rect" );
18931     wxPli_thread_sv_register( aTHX_ "Wx::Rect", RETVAL, ST(0) );
18932
18933     }
18934     XSRETURN(1);
18935 }
18936
18937 #endif
18938
18939 XS(XS_Wx__ListCtrl_GetItemState); /* prototype to pass -Wmissing-prototypes */
18940 XS(XS_Wx__ListCtrl_GetItemState)
18941 {
18942 #ifdef dVAR
18943     dVAR; dXSARGS;
18944 #else
18945     dXSARGS;
18946 #endif
18947     if (items != 3)
18948        croak_xs_usage(cv,  "THIS, item, stateMask");
18949     {
18950         long    item = (long)SvIV(ST(1));
18951         long    stateMask = (long)SvIV(ST(2));
18952         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
18953         int     RETVAL;
18954         dXSTARG;
18955
18956         RETVAL = THIS->GetItemState(item, stateMask);
18957         XSprePUSH; PUSHi((IV)RETVAL);
18958     }
18959     XSRETURN(1);
18960 }
18961
18962
18963 XS(XS_Wx__ListCtrl_GetItemCount); /* prototype to pass -Wmissing-prototypes */
18964 XS(XS_Wx__ListCtrl_GetItemCount)
18965 {
18966 #ifdef dVAR
18967     dVAR; dXSARGS;
18968 #else
18969     dXSARGS;
18970 #endif
18971     if (items != 1)
18972        croak_xs_usage(cv,  "THIS");
18973     {
18974         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
18975         int     RETVAL;
18976         dXSTARG;
18977
18978         RETVAL = THIS->GetItemCount();
18979         XSprePUSH; PUSHi((IV)RETVAL);
18980     }
18981     XSRETURN(1);
18982 }
18983
18984 #if WXPERL_W_VERSION_LE( 2, 5, 1 )
18985 #define XSubPPtmpAADA 1
18986
18987
18988 XS(XS_Wx__ListCtrl_GetItemSpacing); /* prototype to pass -Wmissing-prototypes */
18989 XS(XS_Wx__ListCtrl_GetItemSpacing)
18990 {
18991 #ifdef dVAR
18992     dVAR; dXSARGS;
18993 #else
18994     dXSARGS;
18995 #endif
18996     if (items != 2)
18997        croak_xs_usage(cv,  "THIS, isSmall");
18998     {
18999         bool    isSmall = (bool)SvTRUE(ST(1));
19000         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
19001         int     RETVAL;
19002         dXSTARG;
19003
19004         RETVAL = THIS->GetItemSpacing(isSmall);
19005         XSprePUSH; PUSHi((IV)RETVAL);
19006     }
19007     XSRETURN(1);
19008 }
19009
19010 #else
19011 #define XSubPPtmpAADB 1
19012
19013
19014 XS(XS_Wx__ListCtrl_GetItemSpacing); /* prototype to pass -Wmissing-prototypes */
19015 XS(XS_Wx__ListCtrl_GetItemSpacing)
19016 {
19017 #ifdef dVAR
19018     dVAR; dXSARGS;
19019 #else
19020     dXSARGS;
19021 #endif
19022     if (items != 1)
19023        croak_xs_usage(cv,  "THIS");
19024     {
19025         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
19026         wxSize *        RETVAL;
19027     RETVAL = new wxSize( THIS->GetItemSpacing() );
19028         ST(0) = sv_newmortal();
19029     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Size" );
19030     wxPli_thread_sv_register( aTHX_ "Wx::Size", RETVAL, ST(0) );
19031
19032     }
19033     XSRETURN(1);
19034 }
19035
19036 #endif
19037
19038 XS(XS_Wx__ListCtrl_GetItemText); /* prototype to pass -Wmissing-prototypes */
19039 XS(XS_Wx__ListCtrl_GetItemText)
19040 {
19041 #ifdef dVAR
19042     dVAR; dXSARGS;
19043 #else
19044     dXSARGS;
19045 #endif
19046     if (items != 2)
19047        croak_xs_usage(cv,  "THIS, item");
19048     {
19049         long    item = (long)SvIV(ST(1));
19050         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
19051         wxString        RETVAL;
19052
19053         RETVAL = THIS->GetItemText(item);
19054         ST(0) = sv_newmortal();
19055     WXSTRING_OUTPUT( RETVAL, ST(0) );
19056
19057     }
19058     XSRETURN(1);
19059 }
19060
19061
19062 XS(XS_Wx__ListCtrl_GetItemTextColour); /* prototype to pass -Wmissing-prototypes */
19063 XS(XS_Wx__ListCtrl_GetItemTextColour)
19064 {
19065 #ifdef dVAR
19066     dVAR; dXSARGS;
19067 #else
19068     dXSARGS;
19069 #endif
19070     if (items != 2)
19071        croak_xs_usage(cv,  "THIS, item");
19072     {
19073         long    item = (long)SvIV(ST(1));
19074         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
19075         wxColour *      RETVAL;
19076     RETVAL = new wxColour( THIS->GetItemTextColour( item ) );
19077         ST(0) = sv_newmortal();
19078     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Colour" );
19079     wxPli_thread_sv_register( aTHX_ "Wx::Colour", RETVAL, ST(0) );
19080
19081     }
19082     XSRETURN(1);
19083 }
19084
19085
19086 XS(XS_Wx__ListCtrl_GetItemBackgroundColour); /* prototype to pass -Wmissing-prototypes */
19087 XS(XS_Wx__ListCtrl_GetItemBackgroundColour)
19088 {
19089 #ifdef dVAR
19090     dVAR; dXSARGS;
19091 #else
19092     dXSARGS;
19093 #endif
19094     if (items != 2)
19095        croak_xs_usage(cv,  "THIS, item");
19096     {
19097         long    item = (long)SvIV(ST(1));
19098         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
19099         wxColour *      RETVAL;
19100     RETVAL = new wxColour( THIS->GetItemBackgroundColour( item ) );
19101         ST(0) = sv_newmortal();
19102     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Colour" );
19103     wxPli_thread_sv_register( aTHX_ "Wx::Colour", RETVAL, ST(0) );
19104
19105     }
19106     XSRETURN(1);
19107 }
19108
19109
19110 XS(XS_Wx__ListCtrl_SetItemTextColour); /* prototype to pass -Wmissing-prototypes */
19111 XS(XS_Wx__ListCtrl_SetItemTextColour)
19112 {
19113 #ifdef dVAR
19114     dVAR; dXSARGS;
19115 #else
19116     dXSARGS;
19117 #endif
19118     if (items != 3)
19119        croak_xs_usage(cv,  "THIS, item, colour");
19120     {
19121         long    item = (long)SvIV(ST(1));
19122         wxColour*    colour = (wxColour *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Colour" );
19123         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
19124     THIS->SetItemTextColour( item, *colour );
19125     }
19126     XSRETURN_EMPTY;
19127 }
19128
19129
19130 XS(XS_Wx__ListCtrl_SetItemBackgroundColour); /* prototype to pass -Wmissing-prototypes */
19131 XS(XS_Wx__ListCtrl_SetItemBackgroundColour)
19132 {
19133 #ifdef dVAR
19134     dVAR; dXSARGS;
19135 #else
19136     dXSARGS;
19137 #endif
19138     if (items != 3)
19139        croak_xs_usage(cv,  "THIS, item, colour");
19140     {
19141         long    item = (long)SvIV(ST(1));
19142         wxColour*    colour = (wxColour *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Colour" );
19143         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
19144     THIS->SetItemBackgroundColour( item, *colour );
19145     }
19146     XSRETURN_EMPTY;
19147 }
19148
19149
19150 XS(XS_Wx__ListCtrl_GetNextItem); /* prototype to pass -Wmissing-prototypes */
19151 XS(XS_Wx__ListCtrl_GetNextItem)
19152 {
19153 #ifdef dVAR
19154     dVAR; dXSARGS;
19155 #else
19156     dXSARGS;
19157 #endif
19158     if (items < 2 || items > 4)
19159        croak_xs_usage(cv,  "THIS, item, geometry = wxLIST_NEXT_ALL, state = wxLIST_STATE_DONTCARE");
19160     {
19161         long    item = (long)SvIV(ST(1));
19162         int     geometry;
19163         int     state;
19164         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
19165         long    RETVAL;
19166         dXSTARG;
19167
19168         if (items < 3)
19169             geometry = wxLIST_NEXT_ALL;
19170         else {
19171             geometry = (int)SvIV(ST(2));
19172         }
19173
19174         if (items < 4)
19175             state = wxLIST_STATE_DONTCARE;
19176         else {
19177             state = (int)SvIV(ST(3));
19178         }
19179
19180         RETVAL = THIS->GetNextItem(item, geometry, state);
19181         XSprePUSH; PUSHi((IV)RETVAL);
19182     }
19183     XSRETURN(1);
19184 }
19185
19186
19187 XS(XS_Wx__ListCtrl_GetSelectedItemCount); /* prototype to pass -Wmissing-prototypes */
19188 XS(XS_Wx__ListCtrl_GetSelectedItemCount)
19189 {
19190 #ifdef dVAR
19191     dVAR; dXSARGS;
19192 #else
19193     dXSARGS;
19194 #endif
19195     if (items != 1)
19196        croak_xs_usage(cv,  "THIS");
19197     {
19198         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
19199         int     RETVAL;
19200         dXSTARG;
19201
19202         RETVAL = THIS->GetSelectedItemCount();
19203         XSprePUSH; PUSHi((IV)RETVAL);
19204     }
19205     XSRETURN(1);
19206 }
19207
19208
19209 XS(XS_Wx__ListCtrl_GetTextColour); /* prototype to pass -Wmissing-prototypes */
19210 XS(XS_Wx__ListCtrl_GetTextColour)
19211 {
19212 #ifdef dVAR
19213     dVAR; dXSARGS;
19214 #else
19215     dXSARGS;
19216 #endif
19217     if (items != 1)
19218        croak_xs_usage(cv,  "THIS");
19219     {
19220         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
19221         wxColour *      RETVAL;
19222     RETVAL = new wxColour( THIS->GetTextColour() );
19223         ST(0) = sv_newmortal();
19224     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Colour" );
19225     wxPli_thread_sv_register( aTHX_ "Wx::Colour", RETVAL, ST(0) );
19226
19227     }
19228     XSRETURN(1);
19229 }
19230
19231
19232 XS(XS_Wx__ListCtrl_GetTopItem); /* prototype to pass -Wmissing-prototypes */
19233 XS(XS_Wx__ListCtrl_GetTopItem)
19234 {
19235 #ifdef dVAR
19236     dVAR; dXSARGS;
19237 #else
19238     dXSARGS;
19239 #endif
19240     if (items != 1)
19241        croak_xs_usage(cv,  "THIS");
19242     {
19243         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
19244         long    RETVAL;
19245         dXSTARG;
19246
19247         RETVAL = THIS->GetTopItem();
19248         XSprePUSH; PUSHi((IV)RETVAL);
19249     }
19250     XSRETURN(1);
19251 }
19252
19253 #if WXPERL_W_VERSION_GE( 2, 5, 1 )
19254 #define XSubPPtmpAADC 1
19255
19256
19257 XS(XS_Wx__ListCtrl_GetViewRect); /* prototype to pass -Wmissing-prototypes */
19258 XS(XS_Wx__ListCtrl_GetViewRect)
19259 {
19260 #ifdef dVAR
19261     dVAR; dXSARGS;
19262 #else
19263     dXSARGS;
19264 #endif
19265     if (items != 1)
19266        croak_xs_usage(cv,  "THIS");
19267     {
19268         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
19269         wxRect *        RETVAL;
19270     RETVAL = new wxRect( THIS->GetViewRect() );
19271         ST(0) = sv_newmortal();
19272     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Rect" );
19273     wxPli_thread_sv_register( aTHX_ "Wx::Rect", RETVAL, ST(0) );
19274
19275     }
19276     XSRETURN(1);
19277 }
19278
19279 #endif
19280
19281 XS(XS_Wx__ListCtrl_HitTest); /* prototype to pass -Wmissing-prototypes */
19282 XS(XS_Wx__ListCtrl_HitTest)
19283 {
19284 #ifdef dVAR
19285     dVAR; dXSARGS;
19286 #else
19287     dXSARGS;
19288 #endif
19289     if (items != 2)
19290        croak_xs_usage(cv,  "THIS, point");
19291     PERL_UNUSED_VAR(ax); /* -Wall */
19292     SP -= items;
19293     {
19294         wxPoint    point = wxPli_sv_2_wxpoint( aTHX_ ST(1) );
19295     int flags;
19296     long item;
19297 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
19298     long subitem;
19299 #endif
19300         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
19301 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
19302     item = THIS->HitTest( point, flags, &subitem );
19303 #else
19304     item = THIS->HitTest( point, flags );
19305 #endif
19306     EXTEND( SP, 3 );
19307     PUSHs( sv_2mortal( newSViv( item ) ) );
19308     PUSHs( sv_2mortal( newSViv( flags ) ) );
19309 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
19310     PUSHs( sv_2mortal( newSViv( subitem ) ) );
19311 #endif
19312         PUTBACK;
19313         return;
19314     }
19315 }
19316
19317
19318 XS(XS_Wx__ListCtrl_InsertColumn); /* prototype to pass -Wmissing-prototypes */
19319 XS(XS_Wx__ListCtrl_InsertColumn)
19320 {
19321 #ifdef dVAR
19322     dVAR; dXSARGS;
19323 #else
19324     dXSARGS;
19325 #endif
19326     if (items < 1)
19327        croak_xs_usage(cv,  "THIS, ...");
19328     PERL_UNUSED_VAR(ax); /* -Wall */
19329     SP -= items;
19330     {
19331         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
19332     BEGIN_OVERLOAD()
19333         MATCH_REDISP( wxPliOvl_n_wlci, InsertColumnInfo )
19334         MATCH_REDISP_COUNT_ALLOWMORE( wxPliOvl_n_s_n_n, InsertColumnString, 2 )
19335     END_OVERLOAD( Wx::ListCtrl::InsertColumn )
19336         PUTBACK;
19337         return;
19338     }
19339 }
19340
19341
19342 XS(XS_Wx__ListCtrl_InsertColumnInfo); /* prototype to pass -Wmissing-prototypes */
19343 XS(XS_Wx__ListCtrl_InsertColumnInfo)
19344 {
19345 #ifdef dVAR
19346     dVAR; dXSARGS;
19347 #else
19348     dXSARGS;
19349 #endif
19350     if (items != 3)
19351        croak_xs_usage(cv,  "THIS, col, info");
19352     {
19353         int     col = (int)SvIV(ST(1));
19354         wxListItem*    info = (wxListItem *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::ListItem" );
19355         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
19356         long    RETVAL;
19357         dXSTARG;
19358     RETVAL = THIS->InsertColumn( col, *info );
19359         XSprePUSH; PUSHi((IV)RETVAL);
19360     }
19361     XSRETURN(1);
19362 }
19363
19364
19365 XS(XS_Wx__ListCtrl_InsertColumnString); /* prototype to pass -Wmissing-prototypes */
19366 XS(XS_Wx__ListCtrl_InsertColumnString)
19367 {
19368 #ifdef dVAR
19369     dVAR; dXSARGS;
19370 #else
19371     dXSARGS;
19372 #endif
19373     if (items < 3 || items > 5)
19374        croak_xs_usage(cv,  "THIS, col, heading, format = wxLIST_FORMAT_LEFT, width = -1");
19375     {
19376         int     col = (int)SvIV(ST(1));
19377         wxString        heading;
19378         int     format;
19379         int     width;
19380         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
19381         long    RETVAL;
19382         dXSTARG;
19383
19384     WXSTRING_INPUT( heading, wxString, ST(2) );
19385
19386         if (items < 4)
19387             format = wxLIST_FORMAT_LEFT;
19388         else {
19389             format = (int)SvIV(ST(3));
19390         }
19391
19392         if (items < 5)
19393             width = -1;
19394         else {
19395             width = (int)SvIV(ST(4));
19396         }
19397     RETVAL = THIS->InsertColumn( col, heading, format, width );
19398         XSprePUSH; PUSHi((IV)RETVAL);
19399     }
19400     XSRETURN(1);
19401 }
19402
19403
19404 XS(XS_Wx__ListCtrl_InsertItem); /* prototype to pass -Wmissing-prototypes */
19405 XS(XS_Wx__ListCtrl_InsertItem)
19406 {
19407 #ifdef dVAR
19408     dVAR; dXSARGS;
19409 #else
19410     dXSARGS;
19411 #endif
19412     if (items != 2)
19413        croak_xs_usage(cv,  "THIS, info");
19414     {
19415         wxListItem*    info = (wxListItem *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::ListItem" );
19416         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
19417         long    RETVAL;
19418         dXSTARG;
19419     RETVAL = THIS->InsertItem( *info );
19420         XSprePUSH; PUSHi((IV)RETVAL);
19421     }
19422     XSRETURN(1);
19423 }
19424
19425
19426 XS(XS_Wx__ListCtrl_InsertStringItem); /* prototype to pass -Wmissing-prototypes */
19427 XS(XS_Wx__ListCtrl_InsertStringItem)
19428 {
19429 #ifdef dVAR
19430     dVAR; dXSARGS;
19431 #else
19432     dXSARGS;
19433 #endif
19434     if (items != 3)
19435        croak_xs_usage(cv,  "THIS, index, label");
19436     {
19437         long    index = (long)SvIV(ST(1));
19438         wxString        label;
19439         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
19440         long    RETVAL;
19441         dXSTARG;
19442
19443     WXSTRING_INPUT( label, wxString, ST(2) );
19444     RETVAL = THIS->InsertItem( index, label );
19445         XSprePUSH; PUSHi((IV)RETVAL);
19446     }
19447     XSRETURN(1);
19448 }
19449
19450
19451 XS(XS_Wx__ListCtrl_InsertImageItem); /* prototype to pass -Wmissing-prototypes */
19452 XS(XS_Wx__ListCtrl_InsertImageItem)
19453 {
19454 #ifdef dVAR
19455     dVAR; dXSARGS;
19456 #else
19457     dXSARGS;
19458 #endif
19459     if (items != 3)
19460        croak_xs_usage(cv,  "THIS, index, image");
19461     {
19462         long    index = (long)SvIV(ST(1));
19463         int     image = (int)SvIV(ST(2));
19464         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
19465         long    RETVAL;
19466         dXSTARG;
19467     RETVAL = THIS->InsertItem( index, image );
19468         XSprePUSH; PUSHi((IV)RETVAL);
19469     }
19470     XSRETURN(1);
19471 }
19472
19473
19474 XS(XS_Wx__ListCtrl_InsertImageStringItem); /* prototype to pass -Wmissing-prototypes */
19475 XS(XS_Wx__ListCtrl_InsertImageStringItem)
19476 {
19477 #ifdef dVAR
19478     dVAR; dXSARGS;
19479 #else
19480     dXSARGS;
19481 #endif
19482     if (items != 4)
19483        croak_xs_usage(cv,  "THIS, index, label, image");
19484     {
19485         long    index = (long)SvIV(ST(1));
19486         wxString        label;
19487         int     image = (int)SvIV(ST(3));
19488         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
19489         long    RETVAL;
19490         dXSTARG;
19491
19492     WXSTRING_INPUT( label, wxString, ST(2) );
19493     RETVAL = THIS->InsertItem( index, label, image );
19494         XSprePUSH; PUSHi((IV)RETVAL);
19495     }
19496     XSRETURN(1);
19497 }
19498
19499
19500 XS(XS_Wx__ListCtrl_IsVirtual); /* prototype to pass -Wmissing-prototypes */
19501 XS(XS_Wx__ListCtrl_IsVirtual)
19502 {
19503 #ifdef dVAR
19504     dVAR; dXSARGS;
19505 #else
19506     dXSARGS;
19507 #endif
19508     if (items != 1)
19509        croak_xs_usage(cv,  "THIS");
19510     {
19511         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
19512         bool    RETVAL;
19513
19514         RETVAL = THIS->IsVirtual();
19515         ST(0) = boolSV(RETVAL);
19516         sv_2mortal(ST(0));
19517     }
19518     XSRETURN(1);
19519 }
19520
19521
19522 XS(XS_Wx__ListCtrl_RefreshItem); /* prototype to pass -Wmissing-prototypes */
19523 XS(XS_Wx__ListCtrl_RefreshItem)
19524 {
19525 #ifdef dVAR
19526     dVAR; dXSARGS;
19527 #else
19528     dXSARGS;
19529 #endif
19530     if (items != 2)
19531        croak_xs_usage(cv,  "THIS, item");
19532     {
19533         long    item = (long)SvIV(ST(1));
19534         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
19535
19536         THIS->RefreshItem(item);
19537     }
19538     XSRETURN_EMPTY;
19539 }
19540
19541
19542 XS(XS_Wx__ListCtrl_RefreshItems); /* prototype to pass -Wmissing-prototypes */
19543 XS(XS_Wx__ListCtrl_RefreshItems)
19544 {
19545 #ifdef dVAR
19546     dVAR; dXSARGS;
19547 #else
19548     dXSARGS;
19549 #endif
19550     if (items != 3)
19551        croak_xs_usage(cv,  "THIS, itemFrom, itemTo");
19552     {
19553         long    itemFrom = (long)SvIV(ST(1));
19554         long    itemTo = (long)SvIV(ST(2));
19555         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
19556
19557         THIS->RefreshItems(itemFrom, itemTo);
19558     }
19559     XSRETURN_EMPTY;
19560 }
19561
19562
19563 XS(XS_Wx__ListCtrl_ScrollList); /* prototype to pass -Wmissing-prototypes */
19564 XS(XS_Wx__ListCtrl_ScrollList)
19565 {
19566 #ifdef dVAR
19567     dVAR; dXSARGS;
19568 #else
19569     dXSARGS;
19570 #endif
19571     if (items != 3)
19572        croak_xs_usage(cv,  "THIS, dx, dy");
19573     {
19574         int     dx = (int)SvIV(ST(1));
19575         int     dy = (int)SvIV(ST(2));
19576         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
19577         bool    RETVAL;
19578
19579         RETVAL = THIS->ScrollList(dx, dy);
19580         ST(0) = boolSV(RETVAL);
19581         sv_2mortal(ST(0));
19582     }
19583     XSRETURN(1);
19584 }
19585
19586
19587 XS(XS_Wx__ListCtrl_SetColumn); /* prototype to pass -Wmissing-prototypes */
19588 XS(XS_Wx__ListCtrl_SetColumn)
19589 {
19590 #ifdef dVAR
19591     dVAR; dXSARGS;
19592 #else
19593     dXSARGS;
19594 #endif
19595     if (items != 3)
19596        croak_xs_usage(cv,  "THIS, col, item");
19597     {
19598         int     col = (int)SvIV(ST(1));
19599         wxListItem*    item = (wxListItem *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::ListItem" );
19600         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
19601         bool    RETVAL;
19602     RETVAL = THIS->SetColumn( col, *item );
19603         ST(0) = boolSV(RETVAL);
19604         sv_2mortal(ST(0));
19605     }
19606     XSRETURN(1);
19607 }
19608
19609
19610 XS(XS_Wx__ListCtrl_SetColumnWidth); /* prototype to pass -Wmissing-prototypes */
19611 XS(XS_Wx__ListCtrl_SetColumnWidth)
19612 {
19613 #ifdef dVAR
19614     dVAR; dXSARGS;
19615 #else
19616     dXSARGS;
19617 #endif
19618     if (items != 3)
19619        croak_xs_usage(cv,  "THIS, col, width");
19620     {
19621         int     col = (int)SvIV(ST(1));
19622         int     width = (int)SvIV(ST(2));
19623         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
19624         bool    RETVAL;
19625
19626         RETVAL = THIS->SetColumnWidth(col, width);
19627         ST(0) = boolSV(RETVAL);
19628         sv_2mortal(ST(0));
19629     }
19630     XSRETURN(1);
19631 }
19632
19633
19634 XS(XS_Wx__ListCtrl_SetImageList); /* prototype to pass -Wmissing-prototypes */
19635 XS(XS_Wx__ListCtrl_SetImageList)
19636 {
19637 #ifdef dVAR
19638     dVAR; dXSARGS;
19639 #else
19640     dXSARGS;
19641 #endif
19642     if (items != 3)
19643        croak_xs_usage(cv,  "THIS, imagelist, which");
19644     {
19645         wxImageList*    imagelist = (wxImageList *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::ImageList" );
19646         int     which = (int)SvIV(ST(2));
19647         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
19648
19649         THIS->SetImageList(imagelist, which);
19650     }
19651     XSRETURN_EMPTY;
19652 }
19653
19654
19655 XS(XS_Wx__ListCtrl_SetItemCount); /* prototype to pass -Wmissing-prototypes */
19656 XS(XS_Wx__ListCtrl_SetItemCount)
19657 {
19658 #ifdef dVAR
19659     dVAR; dXSARGS;
19660 #else
19661     dXSARGS;
19662 #endif
19663     if (items != 2)
19664        croak_xs_usage(cv,  "THIS, count");
19665     {
19666         long    count = (long)SvIV(ST(1));
19667         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
19668
19669         THIS->SetItemCount(count);
19670     }
19671     XSRETURN_EMPTY;
19672 }
19673
19674
19675 XS(XS_Wx__ListCtrl_SetItem); /* prototype to pass -Wmissing-prototypes */
19676 XS(XS_Wx__ListCtrl_SetItem)
19677 {
19678 #ifdef dVAR
19679     dVAR; dXSARGS;
19680 #else
19681     dXSARGS;
19682 #endif
19683     if (items < 1)
19684        croak_xs_usage(cv,  "THIS, ...");
19685     PERL_UNUSED_VAR(ax); /* -Wall */
19686     SP -= items;
19687     {
19688         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
19689     BEGIN_OVERLOAD()
19690         MATCH_REDISP( wxPliOvl_wlci, SetItemInfo )
19691         MATCH_REDISP_COUNT_ALLOWMORE( wxPliOvl_n_n_s_n, SetItemString, 3 )
19692     END_OVERLOAD( Wx::ListCtrl::SetItem )
19693         PUTBACK;
19694         return;
19695     }
19696 }
19697
19698
19699 XS(XS_Wx__ListCtrl_SetItemInfo); /* prototype to pass -Wmissing-prototypes */
19700 XS(XS_Wx__ListCtrl_SetItemInfo)
19701 {
19702 #ifdef dVAR
19703     dVAR; dXSARGS;
19704 #else
19705     dXSARGS;
19706 #endif
19707     if (items != 2)
19708        croak_xs_usage(cv,  "THIS, info");
19709     {
19710         wxListItem*    info = (wxListItem *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::ListItem" );
19711         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
19712         bool    RETVAL;
19713     RETVAL = THIS->SetItem( *info );
19714         ST(0) = boolSV(RETVAL);
19715         sv_2mortal(ST(0));
19716     }
19717     XSRETURN(1);
19718 }
19719
19720
19721 XS(XS_Wx__ListCtrl_SetItemString); /* prototype to pass -Wmissing-prototypes */
19722 XS(XS_Wx__ListCtrl_SetItemString)
19723 {
19724 #ifdef dVAR
19725     dVAR; dXSARGS;
19726 #else
19727     dXSARGS;
19728 #endif
19729     if (items < 4 || items > 5)
19730        croak_xs_usage(cv,  "THIS, index, col, label, image = -1");
19731     {
19732         long    index = (long)SvIV(ST(1));
19733         int     col = (int)SvIV(ST(2));
19734         wxString        label;
19735         int     image;
19736         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
19737         bool    RETVAL;
19738
19739     WXSTRING_INPUT( label, wxString, ST(3) );
19740
19741         if (items < 5)
19742             image = -1;
19743         else {
19744             image = (int)SvIV(ST(4));
19745         }
19746     RETVAL = THIS->SetItem( index, col, label, image );
19747         ST(0) = boolSV(RETVAL);
19748         sv_2mortal(ST(0));
19749     }
19750     XSRETURN(1);
19751 }
19752
19753
19754 XS(XS_Wx__ListCtrl_SetItemData); /* prototype to pass -Wmissing-prototypes */
19755 XS(XS_Wx__ListCtrl_SetItemData)
19756 {
19757 #ifdef dVAR
19758     dVAR; dXSARGS;
19759 #else
19760     dXSARGS;
19761 #endif
19762     if (items != 3)
19763        croak_xs_usage(cv,  "THIS, item, data");
19764     {
19765         long    item = (long)SvIV(ST(1));
19766         long    data = (long)SvIV(ST(2));
19767         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
19768         bool    RETVAL;
19769
19770         RETVAL = THIS->SetItemData(item, data);
19771         ST(0) = boolSV(RETVAL);
19772         sv_2mortal(ST(0));
19773     }
19774     XSRETURN(1);
19775 }
19776
19777
19778 XS(XS_Wx__ListCtrl_SetItemImage); /* prototype to pass -Wmissing-prototypes */
19779 XS(XS_Wx__ListCtrl_SetItemImage)
19780 {
19781 #ifdef dVAR
19782     dVAR; dXSARGS;
19783 #else
19784     dXSARGS;
19785 #endif
19786     if (items != 4)
19787        croak_xs_usage(cv,  "THIS, item, image, selImage");
19788     {
19789         long    item = (long)SvIV(ST(1));
19790         int     image = (int)SvIV(ST(2));
19791         int     selImage = (int)SvIV(ST(3));
19792         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
19793         bool    RETVAL;
19794
19795         RETVAL = THIS->SetItemImage(item, image, selImage);
19796         ST(0) = boolSV(RETVAL);
19797         sv_2mortal(ST(0));
19798     }
19799     XSRETURN(1);
19800 }
19801
19802 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
19803 #define XSubPPtmpAADD 1
19804
19805
19806 XS(XS_Wx__ListCtrl_SetItemColumnImage); /* prototype to pass -Wmissing-prototypes */
19807 XS(XS_Wx__ListCtrl_SetItemColumnImage)
19808 {
19809 #ifdef dVAR
19810     dVAR; dXSARGS;
19811 #else
19812     dXSARGS;
19813 #endif
19814     if (items != 4)
19815        croak_xs_usage(cv,  "THIS, item, column, image");
19816     {
19817         long    item = (long)SvIV(ST(1));
19818         long    column = (long)SvIV(ST(2));
19819         int     image = (int)SvIV(ST(3));
19820         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
19821         bool    RETVAL;
19822
19823         RETVAL = THIS->SetItemColumnImage(item, column, image);
19824         ST(0) = boolSV(RETVAL);
19825         sv_2mortal(ST(0));
19826     }
19827     XSRETURN(1);
19828 }
19829
19830 #endif
19831
19832 XS(XS_Wx__ListCtrl_SetItemPosition); /* prototype to pass -Wmissing-prototypes */
19833 XS(XS_Wx__ListCtrl_SetItemPosition)
19834 {
19835 #ifdef dVAR
19836     dVAR; dXSARGS;
19837 #else
19838     dXSARGS;
19839 #endif
19840     if (items != 3)
19841        croak_xs_usage(cv,  "THIS, item, pos");
19842     {
19843         long    item = (long)SvIV(ST(1));
19844         wxPoint    pos = wxPli_sv_2_wxpoint( aTHX_ ST(2) );
19845         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
19846         bool    RETVAL;
19847
19848         RETVAL = THIS->SetItemPosition(item, pos);
19849         ST(0) = boolSV(RETVAL);
19850         sv_2mortal(ST(0));
19851     }
19852     XSRETURN(1);
19853 }
19854
19855
19856 XS(XS_Wx__ListCtrl_SetItemState); /* prototype to pass -Wmissing-prototypes */
19857 XS(XS_Wx__ListCtrl_SetItemState)
19858 {
19859 #ifdef dVAR
19860     dVAR; dXSARGS;
19861 #else
19862     dXSARGS;
19863 #endif
19864     if (items != 4)
19865        croak_xs_usage(cv,  "THIS, item, state, stateMask");
19866     {
19867         long    item = (long)SvIV(ST(1));
19868         long    state = (long)SvIV(ST(2));
19869         long    stateMask = (long)SvIV(ST(3));
19870         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
19871         bool    RETVAL;
19872
19873         RETVAL = THIS->SetItemState(item, state, stateMask);
19874         ST(0) = boolSV(RETVAL);
19875         sv_2mortal(ST(0));
19876     }
19877     XSRETURN(1);
19878 }
19879
19880
19881 XS(XS_Wx__ListCtrl_SetItemText); /* prototype to pass -Wmissing-prototypes */
19882 XS(XS_Wx__ListCtrl_SetItemText)
19883 {
19884 #ifdef dVAR
19885     dVAR; dXSARGS;
19886 #else
19887     dXSARGS;
19888 #endif
19889     if (items != 3)
19890        croak_xs_usage(cv,  "THIS, item, text");
19891     {
19892         long    item = (long)SvIV(ST(1));
19893         wxString        text;
19894         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
19895
19896     WXSTRING_INPUT( text, wxString, ST(2) );
19897
19898         THIS->SetItemText(item, text);
19899     }
19900     XSRETURN_EMPTY;
19901 }
19902
19903
19904 XS(XS_Wx__ListCtrl_SetSingleStyle); /* prototype to pass -Wmissing-prototypes */
19905 XS(XS_Wx__ListCtrl_SetSingleStyle)
19906 {
19907 #ifdef dVAR
19908     dVAR; dXSARGS;
19909 #else
19910     dXSARGS;
19911 #endif
19912     if (items < 2 || items > 3)
19913        croak_xs_usage(cv,  "THIS, style, add = true");
19914     {
19915         long    style = (long)SvIV(ST(1));
19916         bool    add;
19917         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
19918
19919         if (items < 3)
19920             add = true;
19921         else {
19922             add = (bool)SvTRUE(ST(2));
19923         }
19924
19925         THIS->SetSingleStyle(style, add);
19926     }
19927     XSRETURN_EMPTY;
19928 }
19929
19930
19931 XS(XS_Wx__ListCtrl_SetTextColour); /* prototype to pass -Wmissing-prototypes */
19932 XS(XS_Wx__ListCtrl_SetTextColour)
19933 {
19934 #ifdef dVAR
19935     dVAR; dXSARGS;
19936 #else
19937     dXSARGS;
19938 #endif
19939     if (items != 2)
19940        croak_xs_usage(cv,  "THIS, colour");
19941     {
19942         wxColour    colour = *(wxColour *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Colour" );
19943         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
19944
19945         THIS->SetTextColour(colour);
19946     }
19947     XSRETURN_EMPTY;
19948 }
19949
19950
19951 XS(XS_Wx__ListCtrl_SetWindowStyleFlag); /* prototype to pass -Wmissing-prototypes */
19952 XS(XS_Wx__ListCtrl_SetWindowStyleFlag)
19953 {
19954 #ifdef dVAR
19955     dVAR; dXSARGS;
19956 #else
19957     dXSARGS;
19958 #endif
19959     if (items != 2)
19960        croak_xs_usage(cv,  "THIS, style");
19961     {
19962         long    style = (long)SvIV(ST(1));
19963         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
19964
19965         THIS->SetWindowStyleFlag(style);
19966     }
19967     XSRETURN_EMPTY;
19968 }
19969
19970
19971 XS(XS_Wx__ListCtrl_SortItems); /* prototype to pass -Wmissing-prototypes */
19972 XS(XS_Wx__ListCtrl_SortItems)
19973 {
19974 #ifdef dVAR
19975     dVAR; dXSARGS;
19976 #else
19977     dXSARGS;
19978 #endif
19979     if (items != 2)
19980        croak_xs_usage(cv,  "THIS, function");
19981     {
19982         SV*     function = ST(1);
19983         wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" );
19984         bool    RETVAL;
19985     RETVAL = THIS->SortItems( (wxListCtrlCompare)&ListCtrlCompareFn,
19986         (long)function );
19987         ST(0) = boolSV(RETVAL);
19988         sv_2mortal(ST(0));
19989     }
19990     XSRETURN(1);
19991 }
19992
19993
19994 XS(XS_Wx__ListView_new); /* prototype to pass -Wmissing-prototypes */
19995 XS(XS_Wx__ListView_new)
19996 {
19997 #ifdef dVAR
19998     dVAR; dXSARGS;
19999 #else
20000     dXSARGS;
20001 #endif
20002     PERL_UNUSED_VAR(cv); /* -W */
20003     PERL_UNUSED_VAR(ax); /* -Wall */
20004     SP -= items;
20005     {
20006     BEGIN_OVERLOAD()
20007         MATCH_VOIDM_REDISP( newDefault )
20008         MATCH_ANY_REDISP( newFull )
20009     END_OVERLOAD( "Wx::ListView::new" )
20010         PUTBACK;
20011         return;
20012     }
20013 }
20014
20015
20016 XS(XS_Wx__ListView_newDefault); /* prototype to pass -Wmissing-prototypes */
20017 XS(XS_Wx__ListView_newDefault)
20018 {
20019 #ifdef dVAR
20020     dVAR; dXSARGS;
20021 #else
20022     dXSARGS;
20023 #endif
20024     if (items != 1)
20025        croak_xs_usage(cv,  "CLASS");
20026     {
20027         PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) );
20028         wxListView *    RETVAL;
20029     RETVAL = new wxListView();
20030     wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
20031         ST(0) = sv_newmortal();
20032     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
20033
20034     }
20035     XSRETURN(1);
20036 }
20037
20038
20039 XS(XS_Wx__ListView_newFull); /* prototype to pass -Wmissing-prototypes */
20040 XS(XS_Wx__ListView_newFull)
20041 {
20042 #ifdef dVAR
20043     dVAR; dXSARGS;
20044 #else
20045     dXSARGS;
20046 #endif
20047     if (items < 2 || items > 8)
20048        croak_xs_usage(cv,  "CLASS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = wxLC_REPORT, validator = (wxValidator*)&wxDefaultValidator, name = wxListCtrlNameStr");
20049     {
20050         PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) );
20051         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
20052         wxWindowID      id;
20053         wxPoint pos;
20054         wxSize  size;
20055         long    style;
20056         wxValidator*    validator;
20057         wxString        name;
20058         wxListView *    RETVAL;
20059
20060         if (items < 3)
20061             id = wxID_ANY;
20062         else {
20063     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
20064         }
20065
20066         if (items < 4)
20067             pos = wxDefaultPosition;
20068         else {
20069     pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) );
20070         }
20071
20072         if (items < 5)
20073             size = wxDefaultSize;
20074         else {
20075     size = wxPli_sv_2_wxsize( aTHX_ ST(4) );
20076         }
20077
20078         if (items < 6)
20079             style = wxLC_REPORT;
20080         else {
20081             style = (long)SvIV(ST(5));
20082         }
20083
20084         if (items < 7)
20085             validator = (wxValidator*)&wxDefaultValidator;
20086         else {
20087     validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(6), "Wx::Validator" );
20088         }
20089
20090         if (items < 8)
20091             name = wxListCtrlNameStr;
20092         else {
20093     WXSTRING_INPUT( name, wxString, ST(7) );
20094         }
20095     RETVAL = new wxListView( parent, id, pos, size, style,
20096         *validator, name );
20097     wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
20098         ST(0) = sv_newmortal();
20099     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
20100
20101     }
20102     XSRETURN(1);
20103 }
20104
20105
20106 XS(XS_Wx__ListView_Create); /* prototype to pass -Wmissing-prototypes */
20107 XS(XS_Wx__ListView_Create)
20108 {
20109 #ifdef dVAR
20110     dVAR; dXSARGS;
20111 #else
20112     dXSARGS;
20113 #endif
20114     if (items < 2 || items > 8)
20115        croak_xs_usage(cv,  "THIS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = wxLC_REPORT, validator = (wxValidator*)&wxDefaultValidator, name = wxListCtrlNameStr");
20116     {
20117         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
20118         wxWindowID      id;
20119         wxPoint pos;
20120         wxSize  size;
20121         long    style;
20122         wxValidator*    validator;
20123         wxString        name;
20124         wxListView *    THIS = (wxListView *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListView" );
20125         bool    RETVAL;
20126
20127         if (items < 3)
20128             id = wxID_ANY;
20129         else {
20130     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
20131         }
20132
20133         if (items < 4)
20134             pos = wxDefaultPosition;
20135         else {
20136     pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) );
20137         }
20138
20139         if (items < 5)
20140             size = wxDefaultSize;
20141         else {
20142     size = wxPli_sv_2_wxsize( aTHX_ ST(4) );
20143         }
20144
20145         if (items < 6)
20146             style = wxLC_REPORT;
20147         else {
20148             style = (long)SvIV(ST(5));
20149         }
20150
20151         if (items < 7)
20152             validator = (wxValidator*)&wxDefaultValidator;
20153         else {
20154     validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(6), "Wx::Validator" );
20155         }
20156
20157         if (items < 8)
20158             name = wxListCtrlNameStr;
20159         else {
20160     WXSTRING_INPUT( name, wxString, ST(7) );
20161         }
20162
20163         RETVAL = THIS->Create(parent, id, pos, size, style, *validator, name);
20164         ST(0) = boolSV(RETVAL);
20165         sv_2mortal(ST(0));
20166     }
20167     XSRETURN(1);
20168 }
20169
20170
20171 XS(XS_Wx__ListView_Select); /* prototype to pass -Wmissing-prototypes */
20172 XS(XS_Wx__ListView_Select)
20173 {
20174 #ifdef dVAR
20175     dVAR; dXSARGS;
20176 #else
20177     dXSARGS;
20178 #endif
20179     if (items != 3)
20180        croak_xs_usage(cv,  "THIS, n, on");
20181     {
20182         long    n = (long)SvIV(ST(1));
20183         bool    on = (bool)SvTRUE(ST(2));
20184         wxListView *    THIS = (wxListView *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListView" );
20185
20186         THIS->Select(n, on);
20187     }
20188     XSRETURN_EMPTY;
20189 }
20190
20191
20192 XS(XS_Wx__ListView_SetColumnImage); /* prototype to pass -Wmissing-prototypes */
20193 XS(XS_Wx__ListView_SetColumnImage)
20194 {
20195 #ifdef dVAR
20196     dVAR; dXSARGS;
20197 #else
20198     dXSARGS;
20199 #endif
20200     if (items != 3)
20201        croak_xs_usage(cv,  "THIS, col, image");
20202     {
20203         int     col = (int)SvIV(ST(1));
20204         int     image = (int)SvIV(ST(2));
20205         wxListView *    THIS = (wxListView *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListView" );
20206
20207         THIS->SetColumnImage(col, image);
20208     }
20209     XSRETURN_EMPTY;
20210 }
20211
20212
20213 XS(XS_Wx__ListView_ClearColumnImage); /* prototype to pass -Wmissing-prototypes */
20214 XS(XS_Wx__ListView_ClearColumnImage)
20215 {
20216 #ifdef dVAR
20217     dVAR; dXSARGS;
20218 #else
20219     dXSARGS;
20220 #endif
20221     if (items != 2)
20222        croak_xs_usage(cv,  "THIS, col");
20223     {
20224         int     col = (int)SvIV(ST(1));
20225         wxListView *    THIS = (wxListView *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListView" );
20226
20227         THIS->ClearColumnImage(col);
20228     }
20229     XSRETURN_EMPTY;
20230 }
20231
20232
20233 XS(XS_Wx__ListView_Focus); /* prototype to pass -Wmissing-prototypes */
20234 XS(XS_Wx__ListView_Focus)
20235 {
20236 #ifdef dVAR
20237     dVAR; dXSARGS;
20238 #else
20239     dXSARGS;
20240 #endif
20241     if (items != 2)
20242        croak_xs_usage(cv,  "THIS, index");
20243     {
20244         long    index = (long)SvIV(ST(1));
20245         wxListView *    THIS = (wxListView *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListView" );
20246
20247         THIS->Focus(index);
20248     }
20249     XSRETURN_EMPTY;
20250 }
20251
20252
20253 XS(XS_Wx__ListView_GetFocusedItem); /* prototype to pass -Wmissing-prototypes */
20254 XS(XS_Wx__ListView_GetFocusedItem)
20255 {
20256 #ifdef dVAR
20257     dVAR; dXSARGS;
20258 #else
20259     dXSARGS;
20260 #endif
20261     if (items != 1)
20262        croak_xs_usage(cv,  "THIS");
20263     {
20264         wxListView *    THIS = (wxListView *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListView" );
20265         long    RETVAL;
20266         dXSTARG;
20267
20268         RETVAL = THIS->GetFocusedItem();
20269         XSprePUSH; PUSHi((IV)RETVAL);
20270     }
20271     XSRETURN(1);
20272 }
20273
20274
20275 XS(XS_Wx__ListView_GetFirstSelected); /* prototype to pass -Wmissing-prototypes */
20276 XS(XS_Wx__ListView_GetFirstSelected)
20277 {
20278 #ifdef dVAR
20279     dVAR; dXSARGS;
20280 #else
20281     dXSARGS;
20282 #endif
20283     if (items != 1)
20284        croak_xs_usage(cv,  "THIS");
20285     {
20286         wxListView *    THIS = (wxListView *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListView" );
20287         long    RETVAL;
20288         dXSTARG;
20289
20290         RETVAL = THIS->GetFirstSelected();
20291         XSprePUSH; PUSHi((IV)RETVAL);
20292     }
20293     XSRETURN(1);
20294 }
20295
20296
20297 XS(XS_Wx__ListView_GetNextSelected); /* prototype to pass -Wmissing-prototypes */
20298 XS(XS_Wx__ListView_GetNextSelected)
20299 {
20300 #ifdef dVAR
20301     dVAR; dXSARGS;
20302 #else
20303     dXSARGS;
20304 #endif
20305     if (items != 2)
20306        croak_xs_usage(cv,  "THIS, item");
20307     {
20308         long    item = (long)SvIV(ST(1));
20309         wxListView *    THIS = (wxListView *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListView" );
20310         long    RETVAL;
20311         dXSTARG;
20312
20313         RETVAL = THIS->GetNextSelected(item);
20314         XSprePUSH; PUSHi((IV)RETVAL);
20315     }
20316     XSRETURN(1);
20317 }
20318
20319
20320 XS(XS_Wx__ListView_IsSelected); /* prototype to pass -Wmissing-prototypes */
20321 XS(XS_Wx__ListView_IsSelected)
20322 {
20323 #ifdef dVAR
20324     dVAR; dXSARGS;
20325 #else
20326     dXSARGS;
20327 #endif
20328     if (items != 2)
20329        croak_xs_usage(cv,  "THIS, index");
20330     {
20331         long    index = (long)SvIV(ST(1));
20332         wxListView *    THIS = (wxListView *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListView" );
20333         bool    RETVAL;
20334
20335         RETVAL = THIS->IsSelected(index);
20336         ST(0) = boolSV(RETVAL);
20337         sv_2mortal(ST(0));
20338     }
20339     XSRETURN(1);
20340 }
20341
20342
20343 /* INCLUDE: Returning to 'XS/ListBox.xs' from 'XS/ListCtrl.xs' */
20344
20345 #include <wx/listbox.h>
20346
20347 XS(XS_Wx__ListBox_new); /* prototype to pass -Wmissing-prototypes */
20348 XS(XS_Wx__ListBox_new)
20349 {
20350 #ifdef dVAR
20351     dVAR; dXSARGS;
20352 #else
20353     dXSARGS;
20354 #endif
20355     PERL_UNUSED_VAR(cv); /* -W */
20356     PERL_UNUSED_VAR(ax); /* -Wall */
20357     SP -= items;
20358     {
20359     BEGIN_OVERLOAD()
20360         MATCH_VOIDM_REDISP( newDefault )
20361         MATCH_ANY_REDISP( newFull )
20362     END_OVERLOAD( "Wx::ListBox::new" )
20363         PUTBACK;
20364         return;
20365     }
20366 }
20367
20368
20369 XS(XS_Wx__ListBox_newDefault); /* prototype to pass -Wmissing-prototypes */
20370 XS(XS_Wx__ListBox_newDefault)
20371 {
20372 #ifdef dVAR
20373     dVAR; dXSARGS;
20374 #else
20375     dXSARGS;
20376 #endif
20377     if (items != 1)
20378        croak_xs_usage(cv,  "CLASS");
20379     {
20380         PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) );
20381         wxListBox *     RETVAL;
20382     RETVAL = new wxListBox();
20383     wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
20384         ST(0) = sv_newmortal();
20385     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
20386
20387     }
20388     XSRETURN(1);
20389 }
20390
20391
20392 XS(XS_Wx__ListBox_newFull); /* prototype to pass -Wmissing-prototypes */
20393 XS(XS_Wx__ListBox_newFull)
20394 {
20395 #ifdef dVAR
20396     dVAR; dXSARGS;
20397 #else
20398     dXSARGS;
20399 #endif
20400     if (items < 2 || items > 9)
20401        croak_xs_usage(cv,  "CLASS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, choices = 0, style = 0, validator = (wxValidator*)&wxDefaultValidator, name = wxListBoxNameStr");
20402     {
20403         PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) );
20404         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
20405         wxWindowID      id;
20406         wxPoint pos;
20407         wxSize  size;
20408         SV*     choices;
20409         long    style;
20410         wxValidator*    validator;
20411         wxString        name;
20412     wxString* chs;
20413     int n;
20414         wxListBox *     RETVAL;
20415
20416         if (items < 3)
20417             id = wxID_ANY;
20418         else {
20419     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
20420         }
20421
20422         if (items < 4)
20423             pos = wxDefaultPosition;
20424         else {
20425     pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) );
20426         }
20427
20428         if (items < 5)
20429             size = wxDefaultSize;
20430         else {
20431     size = wxPli_sv_2_wxsize( aTHX_ ST(4) );
20432         }
20433
20434         if (items < 6)
20435             choices = 0;
20436         else {
20437             choices = ST(5);
20438         }
20439
20440         if (items < 7)
20441             style = 0;
20442         else {
20443             style = (long)SvIV(ST(6));
20444         }
20445
20446         if (items < 8)
20447             validator = (wxValidator*)&wxDefaultValidator;
20448         else {
20449     validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" );
20450         }
20451
20452         if (items < 9)
20453             name = wxListBoxNameStr;
20454         else {
20455     WXSTRING_INPUT( name, wxString, ST(8) );
20456         }
20457     if( choices ) 
20458         n = wxPli_av_2_stringarray( aTHX_ choices, &chs );
20459     else
20460     {
20461         n = 0;
20462         chs = 0;
20463     }
20464
20465     RETVAL = new wxListBox( parent, id, pos, size, n, chs, 
20466         style, *validator, name );
20467     wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
20468
20469     delete[] chs;
20470         ST(0) = sv_newmortal();
20471     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
20472
20473     }
20474     XSRETURN(1);
20475 }
20476
20477
20478 XS(XS_Wx__ListBox_Create); /* prototype to pass -Wmissing-prototypes */
20479 XS(XS_Wx__ListBox_Create)
20480 {
20481 #ifdef dVAR
20482     dVAR; dXSARGS;
20483 #else
20484     dXSARGS;
20485 #endif
20486     if (items < 2 || items > 9)
20487        croak_xs_usage(cv,  "THIS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, choices = 0, style = 0, validator = (wxValidator*)&wxDefaultValidator, name = wxListBoxNameStr");
20488     {
20489         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
20490         wxWindowID      id;
20491         wxPoint pos;
20492         wxSize  size;
20493         SV*     choices;
20494         long    style;
20495         wxValidator*    validator;
20496         wxString        name;
20497     wxString* chs;
20498     int n;
20499         wxListBox *    THIS = (wxListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListBox" );
20500         bool    RETVAL;
20501
20502         if (items < 3)
20503             id = wxID_ANY;
20504         else {
20505     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
20506         }
20507
20508         if (items < 4)
20509             pos = wxDefaultPosition;
20510         else {
20511     pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) );
20512         }
20513
20514         if (items < 5)
20515             size = wxDefaultSize;
20516         else {
20517     size = wxPli_sv_2_wxsize( aTHX_ ST(4) );
20518         }
20519
20520         if (items < 6)
20521             choices = 0;
20522         else {
20523             choices = ST(5);
20524         }
20525
20526         if (items < 7)
20527             style = 0;
20528         else {
20529             style = (long)SvIV(ST(6));
20530         }
20531
20532         if (items < 8)
20533             validator = (wxValidator*)&wxDefaultValidator;
20534         else {
20535     validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" );
20536         }
20537
20538         if (items < 9)
20539             name = wxListBoxNameStr;
20540         else {
20541     WXSTRING_INPUT( name, wxString, ST(8) );
20542         }
20543     if( choices ) 
20544         n = wxPli_av_2_stringarray( aTHX_ choices, &chs );
20545     else
20546     {
20547         n = 0;
20548         chs = 0;
20549     }
20550
20551     RETVAL = THIS->Create( parent, id, pos, size, n, chs, 
20552         style, *validator, name );
20553
20554     delete[] chs;
20555         ST(0) = boolSV(RETVAL);
20556         sv_2mortal(ST(0));
20557     }
20558     XSRETURN(1);
20559 }
20560
20561
20562 XS(XS_Wx__ListBox_Deselect); /* prototype to pass -Wmissing-prototypes */
20563 XS(XS_Wx__ListBox_Deselect)
20564 {
20565 #ifdef dVAR
20566     dVAR; dXSARGS;
20567 #else
20568     dXSARGS;
20569 #endif
20570     if (items != 2)
20571        croak_xs_usage(cv,  "THIS, n");
20572     {
20573         int     n = (int)SvIV(ST(1));
20574         wxListBox *    THIS = (wxListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListBox" );
20575
20576         THIS->Deselect(n);
20577     }
20578     XSRETURN_EMPTY;
20579 }
20580
20581
20582 XS(XS_Wx__ListBox_GetSelections); /* prototype to pass -Wmissing-prototypes */
20583 XS(XS_Wx__ListBox_GetSelections)
20584 {
20585 #ifdef dVAR
20586     dVAR; dXSARGS;
20587 #else
20588     dXSARGS;
20589 #endif
20590     if (items != 1)
20591        croak_xs_usage(cv,  "THIS");
20592     PERL_UNUSED_VAR(ax); /* -Wall */
20593     SP -= items;
20594     {
20595     wxArrayInt selections;
20596         wxListBox *    THIS = (wxListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListBox" );
20597     THIS->GetSelections( selections );
20598     PUTBACK;
20599     wxPli_intarray_push( aTHX_ selections );
20600     SPAGAIN;
20601         PUTBACK;
20602         return;
20603     }
20604 }
20605
20606
20607 XS(XS_Wx__ListBox_HitTest); /* prototype to pass -Wmissing-prototypes */
20608 XS(XS_Wx__ListBox_HitTest)
20609 {
20610 #ifdef dVAR
20611     dVAR; dXSARGS;
20612 #else
20613     dXSARGS;
20614 #endif
20615     if (items != 2)
20616        croak_xs_usage(cv,  "THIS, point");
20617     {
20618         wxPoint    point = wxPli_sv_2_wxpoint( aTHX_ ST(1) );
20619         wxListBox *    THIS = (wxListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListBox" );
20620         int     RETVAL;
20621         dXSTARG;
20622
20623         RETVAL = THIS->HitTest(point);
20624         XSprePUSH; PUSHi((IV)RETVAL);
20625     }
20626     XSRETURN(1);
20627 }
20628
20629 #if WXPERL_W_VERSION_LT( 2, 9, 0 )
20630 #define XSubPPtmpAADE 1
20631
20632
20633 XS(XS_Wx__ListBox_InsertItems); /* prototype to pass -Wmissing-prototypes */
20634 XS(XS_Wx__ListBox_InsertItems)
20635 {
20636 #ifdef dVAR
20637     dVAR; dXSARGS;
20638 #else
20639     dXSARGS;
20640 #endif
20641     if (items != 3)
20642        croak_xs_usage(cv,  "THIS, items, pos");
20643     {
20644         wxArrayString   items;
20645         int     pos = (int)SvIV(ST(2));
20646         wxListBox *    THIS = (wxListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListBox" );
20647
20648     wxPli_av_2_arraystring( aTHX_ ST(1), & items );
20649
20650         THIS->InsertItems(items, pos);
20651     }
20652     XSRETURN_EMPTY;
20653 }
20654
20655 #endif
20656
20657 XS(XS_Wx__ListBox_IsSelected); /* prototype to pass -Wmissing-prototypes */
20658 XS(XS_Wx__ListBox_IsSelected)
20659 {
20660 #ifdef dVAR
20661     dVAR; dXSARGS;
20662 #else
20663     dXSARGS;
20664 #endif
20665     if (items != 2)
20666        croak_xs_usage(cv,  "THIS, n");
20667     {
20668         int     n = (int)SvIV(ST(1));
20669         wxListBox *    THIS = (wxListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListBox" );
20670         bool    RETVAL;
20671
20672         RETVAL = THIS->IsSelected(n);
20673         ST(0) = boolSV(RETVAL);
20674         sv_2mortal(ST(0));
20675     }
20676     XSRETURN(1);
20677 }
20678
20679
20680 XS(XS_Wx__ListBox_SetSelection); /* prototype to pass -Wmissing-prototypes */
20681 XS(XS_Wx__ListBox_SetSelection)
20682 {
20683 #ifdef dVAR
20684     dVAR; dXSARGS;
20685 #else
20686     dXSARGS;
20687 #endif
20688     if (items < 2 || items > 3)
20689        croak_xs_usage(cv,  "THIS, n, select = true");
20690     {
20691         int     n = (int)SvIV(ST(1));
20692         bool    select;
20693         wxListBox *    THIS = (wxListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListBox" );
20694
20695         if (items < 3)
20696             select = true;
20697         else {
20698             select = (bool)SvTRUE(ST(2));
20699         }
20700
20701         THIS->SetSelection(n, select);
20702     }
20703     XSRETURN_EMPTY;
20704 }
20705
20706
20707 XS(XS_Wx__ListBox_SetStringSelection); /* prototype to pass -Wmissing-prototypes */
20708 XS(XS_Wx__ListBox_SetStringSelection)
20709 {
20710 #ifdef dVAR
20711     dVAR; dXSARGS;
20712 #else
20713     dXSARGS;
20714 #endif
20715     if (items < 2 || items > 3)
20716        croak_xs_usage(cv,  "THIS, string, select = true");
20717     {
20718         wxString        string;
20719         bool    select;
20720         wxListBox *    THIS = (wxListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListBox" );
20721
20722     WXSTRING_INPUT( string, wxString, ST(1) );
20723
20724         if (items < 3)
20725             select = true;
20726         else {
20727             select = (bool)SvTRUE(ST(2));
20728         }
20729
20730         THIS->SetStringSelection(string, select);
20731     }
20732     XSRETURN_EMPTY;
20733 }
20734
20735
20736 XS(XS_Wx__ListBox_SetFirstItem); /* prototype to pass -Wmissing-prototypes */
20737 XS(XS_Wx__ListBox_SetFirstItem)
20738 {
20739 #ifdef dVAR
20740     dVAR; dXSARGS;
20741 #else
20742     dXSARGS;
20743 #endif
20744     if (items != 2)
20745        croak_xs_usage(cv,  "THIS, n");
20746     {
20747         int     n = (int)SvIV(ST(1));
20748         wxListBox *    THIS = (wxListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListBox" );
20749
20750         THIS->SetFirstItem(n);
20751     }
20752     XSRETURN_EMPTY;
20753 }
20754
20755
20756 XS(XS_Wx__ListBox_SetFirstItemString); /* prototype to pass -Wmissing-prototypes */
20757 XS(XS_Wx__ListBox_SetFirstItemString)
20758 {
20759 #ifdef dVAR
20760     dVAR; dXSARGS;
20761 #else
20762     dXSARGS;
20763 #endif
20764     if (items != 2)
20765        croak_xs_usage(cv,  "THIS, str");
20766     {
20767         wxString        str;
20768         wxListBox *    THIS = (wxListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListBox" );
20769
20770     WXSTRING_INPUT( str, wxString, ST(1) );
20771     THIS->SetFirstItem( str );
20772     }
20773     XSRETURN_EMPTY;
20774 }
20775
20776 #if WXPERL_W_VERSION_LT( 2, 9, 0 )
20777 #define XSubPPtmpAADF 1
20778
20779
20780 XS(XS_Wx__ListBox_Set); /* prototype to pass -Wmissing-prototypes */
20781 XS(XS_Wx__ListBox_Set)
20782 {
20783 #ifdef dVAR
20784     dVAR; dXSARGS;
20785 #else
20786     dXSARGS;
20787 #endif
20788     if (items != 2)
20789        croak_xs_usage(cv,  "THIS, choices");
20790     {
20791         wxArrayString   choices;
20792         wxListBox *    THIS = (wxListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListBox" );
20793
20794     wxPli_av_2_arraystring( aTHX_ ST(1), & choices );
20795
20796         THIS->Set(choices);
20797     }
20798     XSRETURN_EMPTY;
20799 }
20800
20801 #endif
20802
20803 /* INCLUDE: Returning to 'XS/Gauge.xs' from 'XS/ListBox.xs' */
20804
20805 #include <wx/gauge.h>
20806
20807 XS(XS_Wx__Gauge_new); /* prototype to pass -Wmissing-prototypes */
20808 XS(XS_Wx__Gauge_new)
20809 {
20810 #ifdef dVAR
20811     dVAR; dXSARGS;
20812 #else
20813     dXSARGS;
20814 #endif
20815     PERL_UNUSED_VAR(cv); /* -W */
20816     PERL_UNUSED_VAR(ax); /* -Wall */
20817     SP -= items;
20818     {
20819     BEGIN_OVERLOAD()
20820         MATCH_VOIDM_REDISP( newDefault )
20821         MATCH_ANY_REDISP( newFull )
20822     END_OVERLOAD( "Wx::Gauge::new" )
20823         PUTBACK;
20824         return;
20825     }
20826 }
20827
20828
20829 XS(XS_Wx__Gauge_newDefault); /* prototype to pass -Wmissing-prototypes */
20830 XS(XS_Wx__Gauge_newDefault)
20831 {
20832 #ifdef dVAR
20833     dVAR; dXSARGS;
20834 #else
20835     dXSARGS;
20836 #endif
20837     if (items != 1)
20838        croak_xs_usage(cv,  "CLASS");
20839     {
20840         PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) );
20841         wxGauge *       RETVAL;
20842     RETVAL = new wxGauge();
20843     wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
20844         ST(0) = sv_newmortal();
20845     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
20846
20847     }
20848     XSRETURN(1);
20849 }
20850
20851
20852 XS(XS_Wx__Gauge_newFull); /* prototype to pass -Wmissing-prototypes */
20853 XS(XS_Wx__Gauge_newFull)
20854 {
20855 #ifdef dVAR
20856     dVAR; dXSARGS;
20857 #else
20858     dXSARGS;
20859 #endif
20860     if (items < 4 || items > 9)
20861        croak_xs_usage(cv,  "CLASS, parent, id, range, pos = wxDefaultPosition, size = wxDefaultSize, style = wxGA_HORIZONTAL, validator = (wxValidator*)&wxDefaultValidator, name = wxGaugeNameStr");
20862     {
20863         PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) );
20864         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
20865         wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) );
20866         int     range = (int)SvIV(ST(3));
20867         wxPoint pos;
20868         wxSize  size;
20869         long    style;
20870         wxValidator*    validator;
20871         wxString        name;
20872         wxGauge *       RETVAL;
20873
20874         if (items < 5)
20875             pos = wxDefaultPosition;
20876         else {
20877     pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
20878         }
20879
20880         if (items < 6)
20881             size = wxDefaultSize;
20882         else {
20883     size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
20884         }
20885
20886         if (items < 7)
20887             style = wxGA_HORIZONTAL;
20888         else {
20889             style = (long)SvIV(ST(6));
20890         }
20891
20892         if (items < 8)
20893             validator = (wxValidator*)&wxDefaultValidator;
20894         else {
20895     validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" );
20896         }
20897
20898         if (items < 9)
20899             name = wxGaugeNameStr;
20900         else {
20901     WXSTRING_INPUT( name, wxString, ST(8) );
20902         }
20903     RETVAL = new wxGauge( parent, id, range, pos, size,
20904         style, *validator, name );
20905     wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
20906         ST(0) = sv_newmortal();
20907     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
20908
20909     }
20910     XSRETURN(1);
20911 }
20912
20913
20914 XS(XS_Wx__Gauge_Create); /* prototype to pass -Wmissing-prototypes */
20915 XS(XS_Wx__Gauge_Create)
20916 {
20917 #ifdef dVAR
20918     dVAR; dXSARGS;
20919 #else
20920     dXSARGS;
20921 #endif
20922     if (items < 4 || items > 9)
20923        croak_xs_usage(cv,  "THIS, parent, id, range, pos = wxDefaultPosition, size = wxDefaultSize, style = wxGA_HORIZONTAL, validator = (wxValidator*)&wxDefaultValidator, name = wxGaugeNameStr");
20924     {
20925         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
20926         wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) );
20927         int     range = (int)SvIV(ST(3));
20928         wxPoint pos;
20929         wxSize  size;
20930         long    style;
20931         wxValidator*    validator;
20932         wxString        name;
20933         wxGauge *    THIS = (wxGauge *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Gauge" );
20934         bool    RETVAL;
20935
20936         if (items < 5)
20937             pos = wxDefaultPosition;
20938         else {
20939     pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
20940         }
20941
20942         if (items < 6)
20943             size = wxDefaultSize;
20944         else {
20945     size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
20946         }
20947
20948         if (items < 7)
20949             style = wxGA_HORIZONTAL;
20950         else {
20951             style = (long)SvIV(ST(6));
20952         }
20953
20954         if (items < 8)
20955             validator = (wxValidator*)&wxDefaultValidator;
20956         else {
20957     validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" );
20958         }
20959
20960         if (items < 9)
20961             name = wxGaugeNameStr;
20962         else {
20963     WXSTRING_INPUT( name, wxString, ST(8) );
20964         }
20965
20966         RETVAL = THIS->Create(parent, id, range, pos, size, style, *validator, name);
20967         ST(0) = boolSV(RETVAL);
20968         sv_2mortal(ST(0));
20969     }
20970     XSRETURN(1);
20971 }
20972
20973 #if defined( __WXMSW__ ) || defined( __WXPERL_FORCE__ )
20974 #define XSubPPtmpAADG 1
20975
20976
20977 XS(XS_Wx__Gauge_GetBezelFace); /* prototype to pass -Wmissing-prototypes */
20978 XS(XS_Wx__Gauge_GetBezelFace)
20979 {
20980 #ifdef dVAR
20981     dVAR; dXSARGS;
20982 #else
20983     dXSARGS;
20984 #endif
20985     if (items != 1)
20986        croak_xs_usage(cv,  "THIS");
20987     {
20988         wxGauge *    THIS = (wxGauge *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Gauge" );
20989         int     RETVAL;
20990         dXSTARG;
20991
20992         RETVAL = THIS->GetBezelFace();
20993         XSprePUSH; PUSHi((IV)RETVAL);
20994     }
20995     XSRETURN(1);
20996 }
20997
20998 #endif
20999
21000 XS(XS_Wx__Gauge_GetRange); /* prototype to pass -Wmissing-prototypes */
21001 XS(XS_Wx__Gauge_GetRange)
21002 {
21003 #ifdef dVAR
21004     dVAR; dXSARGS;
21005 #else
21006     dXSARGS;
21007 #endif
21008     if (items != 1)
21009        croak_xs_usage(cv,  "THIS");
21010     {
21011         wxGauge *    THIS = (wxGauge *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Gauge" );
21012         int     RETVAL;
21013         dXSTARG;
21014
21015         RETVAL = THIS->GetRange();
21016         XSprePUSH; PUSHi((IV)RETVAL);
21017     }
21018     XSRETURN(1);
21019 }
21020
21021 #if defined( __WXMSW__ ) || defined( __WXPERL_FORCE__ )
21022 #define XSubPPtmpAADH 1
21023
21024
21025 XS(XS_Wx__Gauge_GetShadowWidth); /* prototype to pass -Wmissing-prototypes */
21026 XS(XS_Wx__Gauge_GetShadowWidth)
21027 {
21028 #ifdef dVAR
21029     dVAR; dXSARGS;
21030 #else
21031     dXSARGS;
21032 #endif
21033     if (items != 1)
21034        croak_xs_usage(cv,  "THIS");
21035     {
21036         wxGauge *    THIS = (wxGauge *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Gauge" );
21037         int     RETVAL;
21038         dXSTARG;
21039
21040         RETVAL = THIS->GetShadowWidth();
21041         XSprePUSH; PUSHi((IV)RETVAL);
21042     }
21043     XSRETURN(1);
21044 }
21045
21046 #endif
21047
21048 XS(XS_Wx__Gauge_GetValue); /* prototype to pass -Wmissing-prototypes */
21049 XS(XS_Wx__Gauge_GetValue)
21050 {
21051 #ifdef dVAR
21052     dVAR; dXSARGS;
21053 #else
21054     dXSARGS;
21055 #endif
21056     if (items != 1)
21057        croak_xs_usage(cv,  "THIS");
21058     {
21059         wxGauge *    THIS = (wxGauge *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Gauge" );
21060         int     RETVAL;
21061         dXSTARG;
21062
21063         RETVAL = THIS->GetValue();
21064         XSprePUSH; PUSHi((IV)RETVAL);
21065     }
21066     XSRETURN(1);
21067 }
21068
21069 #if defined( __WXMSW__ ) || defined( __WXPERL_FORCE__ )
21070 #define XSubPPtmpAADI 1
21071
21072
21073 XS(XS_Wx__Gauge_SetBezelFace); /* prototype to pass -Wmissing-prototypes */
21074 XS(XS_Wx__Gauge_SetBezelFace)
21075 {
21076 #ifdef dVAR
21077     dVAR; dXSARGS;
21078 #else
21079     dXSARGS;
21080 #endif
21081     if (items != 2)
21082        croak_xs_usage(cv,  "THIS, width");
21083     {
21084         int     width = (int)SvIV(ST(1));
21085         wxGauge *    THIS = (wxGauge *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Gauge" );
21086
21087         THIS->SetBezelFace(width);
21088     }
21089     XSRETURN_EMPTY;
21090 }
21091
21092 #endif
21093
21094 XS(XS_Wx__Gauge_SetRange); /* prototype to pass -Wmissing-prototypes */
21095 XS(XS_Wx__Gauge_SetRange)
21096 {
21097 #ifdef dVAR
21098     dVAR; dXSARGS;
21099 #else
21100     dXSARGS;
21101 #endif
21102     if (items != 2)
21103        croak_xs_usage(cv,  "THIS, range");
21104     {
21105         int     range = (int)SvIV(ST(1));
21106         wxGauge *    THIS = (wxGauge *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Gauge" );
21107
21108         THIS->SetRange(range);
21109     }
21110     XSRETURN_EMPTY;
21111 }
21112
21113 #if defined( __WXMSW__ ) || defined( __WXPERL_FORCE__ )
21114 #define XSubPPtmpAADJ 1
21115
21116
21117 XS(XS_Wx__Gauge_SetShadowWidth); /* prototype to pass -Wmissing-prototypes */
21118 XS(XS_Wx__Gauge_SetShadowWidth)
21119 {
21120 #ifdef dVAR
21121     dVAR; dXSARGS;
21122 #else
21123     dXSARGS;
21124 #endif
21125     if (items != 2)
21126        croak_xs_usage(cv,  "THIS, width");
21127     {
21128         int     width = (int)SvIV(ST(1));
21129         wxGauge *    THIS = (wxGauge *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Gauge" );
21130
21131         THIS->SetShadowWidth(width);
21132     }
21133     XSRETURN_EMPTY;
21134 }
21135
21136 #endif
21137
21138 XS(XS_Wx__Gauge_SetValue); /* prototype to pass -Wmissing-prototypes */
21139 XS(XS_Wx__Gauge_SetValue)
21140 {
21141 #ifdef dVAR
21142     dVAR; dXSARGS;
21143 #else
21144     dXSARGS;
21145 #endif
21146     if (items != 2)
21147        croak_xs_usage(cv,  "THIS, pos");
21148     {
21149         int     pos = (int)SvIV(ST(1));
21150         wxGauge *    THIS = (wxGauge *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Gauge" );
21151
21152         THIS->SetValue(pos);
21153     }
21154     XSRETURN_EMPTY;
21155 }
21156
21157 #if WXPERL_W_VERSION_GE( 2, 5, 1 )
21158 #define XSubPPtmpAADK 1
21159
21160
21161 XS(XS_Wx__Gauge_IsVertical); /* prototype to pass -Wmissing-prototypes */
21162 XS(XS_Wx__Gauge_IsVertical)
21163 {
21164 #ifdef dVAR
21165     dVAR; dXSARGS;
21166 #else
21167     dXSARGS;
21168 #endif
21169     if (items != 1)
21170        croak_xs_usage(cv,  "THIS");
21171     {
21172         wxGauge *    THIS = (wxGauge *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Gauge" );
21173         bool    RETVAL;
21174
21175         RETVAL = THIS->IsVertical();
21176         ST(0) = boolSV(RETVAL);
21177         sv_2mortal(ST(0));
21178     }
21179     XSRETURN(1);
21180 }
21181
21182 #endif
21183 #if WXPERL_W_VERSION_GE( 2, 7, 1 )
21184 #define XSubPPtmpAADL 1
21185
21186
21187 XS(XS_Wx__Gauge_Pulse); /* prototype to pass -Wmissing-prototypes */
21188 XS(XS_Wx__Gauge_Pulse)
21189 {
21190 #ifdef dVAR
21191     dVAR; dXSARGS;
21192 #else
21193     dXSARGS;
21194 #endif
21195     if (items != 1)
21196        croak_xs_usage(cv,  "THIS");
21197     {
21198         wxGauge *    THIS = (wxGauge *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Gauge" );
21199
21200         THIS->Pulse();
21201     }
21202     XSRETURN_EMPTY;
21203 }
21204
21205 #endif
21206
21207 /* INCLUDE: Returning to 'XS/ComboBox.xs' from 'XS/Gauge.xs' */
21208
21209 #include <wx/combobox.h>
21210 #include <wx/textctrl.h>
21211 #include "cpp/overload.h"
21212
21213 XS(XS_Wx__ComboBox_new); /* prototype to pass -Wmissing-prototypes */
21214 XS(XS_Wx__ComboBox_new)
21215 {
21216 #ifdef dVAR
21217     dVAR; dXSARGS;
21218 #else
21219     dXSARGS;
21220 #endif
21221     PERL_UNUSED_VAR(cv); /* -W */
21222     PERL_UNUSED_VAR(ax); /* -Wall */
21223     SP -= items;
21224     {
21225     BEGIN_OVERLOAD()
21226         MATCH_VOIDM_REDISP( newDefault )
21227         MATCH_ANY_REDISP( newFull )
21228     END_OVERLOAD( "Wx::ComboBox::new" )
21229         PUTBACK;
21230         return;
21231     }
21232 }
21233
21234
21235 XS(XS_Wx__ComboBox_newDefault); /* prototype to pass -Wmissing-prototypes */
21236 XS(XS_Wx__ComboBox_newDefault)
21237 {
21238 #ifdef dVAR
21239     dVAR; dXSARGS;
21240 #else
21241     dXSARGS;
21242 #endif
21243     if (items != 1)
21244        croak_xs_usage(cv,  "CLASS");
21245     {
21246         PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) );
21247         wxComboBox *    RETVAL;
21248     RETVAL = new wxComboBox();
21249     wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
21250         ST(0) = sv_newmortal();
21251     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
21252
21253     }
21254     XSRETURN(1);
21255 }
21256
21257
21258 XS(XS_Wx__ComboBox_newFull); /* prototype to pass -Wmissing-prototypes */
21259 XS(XS_Wx__ComboBox_newFull)
21260 {
21261 #ifdef dVAR
21262     dVAR; dXSARGS;
21263 #else
21264     dXSARGS;
21265 #endif
21266     if (items < 2 || items > 10)
21267        croak_xs_usage(cv,  "CLASS, parent, id = wxID_ANY, value = wxEmptyString, pos = wxDefaultPosition, size = wxDefaultSize, choices = 0, style = 0, validator = (wxValidator*)&wxDefaultValidator, name = wxComboBoxNameStr");
21268     {
21269         PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) );
21270         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
21271         wxWindowID      id;
21272         wxString        value;
21273         wxPoint pos;
21274         wxSize  size;
21275         SV*     choices;
21276         long    style;
21277         wxValidator*    validator;
21278         wxString        name;
21279     wxString* chs = 0;
21280     int n = 0;
21281         wxComboBox *    RETVAL;
21282
21283         if (items < 3)
21284             id = wxID_ANY;
21285         else {
21286     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
21287         }
21288
21289         if (items < 4)
21290             value = wxEmptyString;
21291         else {
21292     WXSTRING_INPUT( value, wxString, ST(3) );
21293         }
21294
21295         if (items < 5)
21296             pos = wxDefaultPosition;
21297         else {
21298     pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
21299         }
21300
21301         if (items < 6)
21302             size = wxDefaultSize;
21303         else {
21304     size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
21305         }
21306
21307         if (items < 7)
21308             choices = 0;
21309         else {
21310             choices = ST(6);
21311         }
21312
21313         if (items < 8)
21314             style = 0;
21315         else {
21316             style = (long)SvIV(ST(7));
21317         }
21318
21319         if (items < 9)
21320             validator = (wxValidator*)&wxDefaultValidator;
21321         else {
21322     validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(8), "Wx::Validator" );
21323         }
21324
21325         if (items < 10)
21326             name = wxComboBoxNameStr;
21327         else {
21328     WXSTRING_INPUT( name, wxString, ST(9) );
21329         }
21330     if( choices != 0 )
21331         n = wxPli_av_2_stringarray( aTHX_ choices, &chs );
21332     RETVAL = new wxComboBox( parent, id, value, pos, size, n, chs, 
21333         style, *validator, name );
21334     wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
21335
21336     delete[] chs;
21337         ST(0) = sv_newmortal();
21338     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
21339
21340     }
21341     XSRETURN(1);
21342 }
21343
21344
21345 XS(XS_Wx__ComboBox_Create); /* prototype to pass -Wmissing-prototypes */
21346 XS(XS_Wx__ComboBox_Create)
21347 {
21348 #ifdef dVAR
21349     dVAR; dXSARGS;
21350 #else
21351     dXSARGS;
21352 #endif
21353     if (items < 2 || items > 10)
21354        croak_xs_usage(cv,  "THIS, parent, id = wxID_ANY, value = wxEmptyString, pos = wxDefaultPosition, size = wxDefaultSize, choices = 0, style = 0, validator = (wxValidator*)&wxDefaultValidator, name = wxComboBoxNameStr");
21355     {
21356         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
21357         wxWindowID      id;
21358         wxString        value;
21359         wxPoint pos;
21360         wxSize  size;
21361         SV*     choices;
21362         long    style;
21363         wxValidator*    validator;
21364         wxString        name;
21365     wxString* chs = 0;
21366     int n = 0;
21367         wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" );
21368         bool    RETVAL;
21369
21370         if (items < 3)
21371             id = wxID_ANY;
21372         else {
21373     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
21374         }
21375
21376         if (items < 4)
21377             value = wxEmptyString;
21378         else {
21379     WXSTRING_INPUT( value, wxString, ST(3) );
21380         }
21381
21382         if (items < 5)
21383             pos = wxDefaultPosition;
21384         else {
21385     pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
21386         }
21387
21388         if (items < 6)
21389             size = wxDefaultSize;
21390         else {
21391     size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
21392         }
21393
21394         if (items < 7)
21395             choices = 0;
21396         else {
21397             choices = ST(6);
21398         }
21399
21400         if (items < 8)
21401             style = 0;
21402         else {
21403             style = (long)SvIV(ST(7));
21404         }
21405
21406         if (items < 9)
21407             validator = (wxValidator*)&wxDefaultValidator;
21408         else {
21409     validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(8), "Wx::Validator" );
21410         }
21411
21412         if (items < 10)
21413             name = wxComboBoxNameStr;
21414         else {
21415     WXSTRING_INPUT( name, wxString, ST(9) );
21416         }
21417     if( choices != 0 )
21418         n = wxPli_av_2_stringarray( aTHX_ choices, &chs );
21419     RETVAL = THIS->Create( parent, id, value, pos, size, n, chs, 
21420         style, *validator, name );
21421
21422     delete[] chs;
21423         ST(0) = boolSV(RETVAL);
21424         sv_2mortal(ST(0));
21425     }
21426     XSRETURN(1);
21427 }
21428
21429 #if defined( __WXGTK__ ) || \
21430     ( defined( __WXMAC__ ) && WXPERL_W_VERSION_GE( 2, 5, 1 ) )
21431 #define WXPERL_IN_COMBOBOX
21432 #define XSubPPtmpAADM 1
21433
21434
21435 /* INCLUDE:  Including 'perl -pe "s/ItemContainerImmutable/ComboBox/g" XS/ItemContainerImmutable.xs |' from 'XS/ComboBox.xs' */
21436
21437
21438 /* INCLUDE:  Including 'perl -pe "s/ItemContainer/ComboBox/g" XS/ItemContainer.xs |' from 'perl -pe "s/ItemContainerImmutable/ComboBox/g" XS/ItemContainerImmutable.xs |' */
21439
21440
21441 XS(XS_Wx__ComboBox_Append); /* prototype to pass -Wmissing-prototypes */
21442 XS(XS_Wx__ComboBox_Append)
21443 {
21444 #ifdef dVAR
21445     dVAR; dXSARGS;
21446 #else
21447     dXSARGS;
21448 #endif
21449     if (items < 1)
21450        croak_xs_usage(cv,  "THIS, ...");
21451     PERL_UNUSED_VAR(ax); /* -Wall */
21452     SP -= items;
21453     {
21454         wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" );
21455     BEGIN_OVERLOAD()
21456         MATCH_REDISP( wxPliOvl_arr_arr, AppendItemsData )
21457         MATCH_REDISP( wxPliOvl_arr, AppendItems )
21458         MATCH_REDISP( wxPliOvl_s_s, AppendData )
21459         MATCH_REDISP( wxPliOvl_s, AppendString )
21460     END_OVERLOAD( Wx::ComboBox::Append )
21461         PUTBACK;
21462         return;
21463     }
21464 }
21465
21466
21467 XS(XS_Wx__ComboBox_AppendString); /* prototype to pass -Wmissing-prototypes */
21468 XS(XS_Wx__ComboBox_AppendString)
21469 {
21470 #ifdef dVAR
21471     dVAR; dXSARGS;
21472 #else
21473     dXSARGS;
21474 #endif
21475     if (items != 2)
21476        croak_xs_usage(cv,  "THIS, item");
21477     {
21478         wxString        item;
21479         wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" );
21480
21481     WXSTRING_INPUT( item, wxString, ST(1) );
21482     THIS->Append( item );
21483     }
21484     XSRETURN_EMPTY;
21485 }
21486
21487
21488 XS(XS_Wx__ComboBox_AppendData); /* prototype to pass -Wmissing-prototypes */
21489 XS(XS_Wx__ComboBox_AppendData)
21490 {
21491 #ifdef dVAR
21492     dVAR; dXSARGS;
21493 #else
21494     dXSARGS;
21495 #endif
21496     if (items != 3)
21497        croak_xs_usage(cv,  "THIS, item, data");
21498     {
21499         wxString        item;
21500         wxPliUserDataCD*        data;
21501         wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" );
21502
21503     WXSTRING_INPUT( item, wxString, ST(1) );
21504
21505     if( SvOK( ST(2) ) )
21506     {
21507         data = new wxPliUserDataCD( ST(2) );
21508     }
21509     else
21510         data = 0;
21511     THIS->Append( item, data );
21512     }
21513     XSRETURN_EMPTY;
21514 }
21515
21516
21517 XS(XS_Wx__ComboBox_AppendItems); /* prototype to pass -Wmissing-prototypes */
21518 XS(XS_Wx__ComboBox_AppendItems)
21519 {
21520 #ifdef dVAR
21521     dVAR; dXSARGS;
21522 #else
21523     dXSARGS;
21524 #endif
21525     if (items != 2)
21526        croak_xs_usage(cv,  "THIS, items");
21527     {
21528         wxArrayString   items;
21529         wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" );
21530
21531     wxPli_av_2_arraystring( aTHX_ ST(1), & items );
21532     THIS->Append( items );
21533     }
21534     XSRETURN_EMPTY;
21535 }
21536
21537 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
21538 #define XSubPPtmpAADN 1
21539
21540
21541 XS(XS_Wx__ComboBox_AppendItemsData); /* prototype to pass -Wmissing-prototypes */
21542 XS(XS_Wx__ComboBox_AppendItemsData)
21543 {
21544 #ifdef dVAR
21545     dVAR; dXSARGS;
21546 #else
21547     dXSARGS;
21548 #endif
21549     if (items != 3)
21550        croak_xs_usage(cv,  "THIS, items, data");
21551     {
21552         wxArrayString   items;
21553         wxPliUserDataCD**       data;
21554         wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" );
21555
21556     wxPli_av_2_arraystring( aTHX_ ST(1), & items );
21557
21558     wxPli_av_2_userdatacdarray( aTHX_ ST(2), & data );
21559     wxPliArrayGuard<wxPliUserDataCD*> guard_data = data;;
21560      THIS->Append( items, (wxClientData**)data ); 
21561     }
21562     XSRETURN_EMPTY;
21563 }
21564
21565 #endif
21566
21567 XS(XS_Wx__ComboBox_Insert); /* prototype to pass -Wmissing-prototypes */
21568 XS(XS_Wx__ComboBox_Insert)
21569 {
21570 #ifdef dVAR
21571     dVAR; dXSARGS;
21572 #else
21573     dXSARGS;
21574 #endif
21575     if (items < 1)
21576        croak_xs_usage(cv,  "THIS, ...");
21577     PERL_UNUSED_VAR(ax); /* -Wall */
21578     SP -= items;
21579     {
21580         wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" );
21581     BEGIN_OVERLOAD()
21582         MATCH_REDISP( wxPliOvl_arr_n_arr, InsertItemsData )
21583         MATCH_REDISP( wxPliOvl_arr_n, InsertItems )
21584         MATCH_REDISP( wxPliOvl_s_n_s, InsertData )
21585         MATCH_REDISP( wxPliOvl_s_n, InsertString )
21586     END_OVERLOAD( Wx::ComboBox::Insert )
21587         PUTBACK;
21588         return;
21589     }
21590 }
21591
21592
21593 XS(XS_Wx__ComboBox_InsertString); /* prototype to pass -Wmissing-prototypes */
21594 XS(XS_Wx__ComboBox_InsertString)
21595 {
21596 #ifdef dVAR
21597     dVAR; dXSARGS;
21598 #else
21599     dXSARGS;
21600 #endif
21601     if (items != 3)
21602        croak_xs_usage(cv,  "THIS, item, pos");
21603     {
21604         wxString        item;
21605         unsigned int    pos = (unsigned int)SvUV( ST(2) );
21606         wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" );
21607
21608     WXSTRING_INPUT( item, wxString, ST(1) );
21609     THIS->Insert( item, pos );
21610     }
21611     XSRETURN_EMPTY;
21612 }
21613
21614
21615 XS(XS_Wx__ComboBox_InsertData); /* prototype to pass -Wmissing-prototypes */
21616 XS(XS_Wx__ComboBox_InsertData)
21617 {
21618 #ifdef dVAR
21619     dVAR; dXSARGS;
21620 #else
21621     dXSARGS;
21622 #endif
21623     if (items != 4)
21624        croak_xs_usage(cv,  "THIS, item, pos, data");
21625     {
21626         wxString        item;
21627         unsigned int    pos = (unsigned int)SvUV( ST(2) );
21628         wxPliUserDataCD*        data;
21629         wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" );
21630
21631     WXSTRING_INPUT( item, wxString, ST(1) );
21632
21633     if( SvOK( ST(3) ) )
21634     {
21635         data = new wxPliUserDataCD( ST(3) );
21636     }
21637     else
21638         data = 0;
21639     THIS->Insert( item, pos, data );
21640     }
21641     XSRETURN_EMPTY;
21642 }
21643
21644 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
21645 #define XSubPPtmpAADO 1
21646
21647
21648 XS(XS_Wx__ComboBox_InsertItems); /* prototype to pass -Wmissing-prototypes */
21649 XS(XS_Wx__ComboBox_InsertItems)
21650 {
21651 #ifdef dVAR
21652     dVAR; dXSARGS;
21653 #else
21654     dXSARGS;
21655 #endif
21656     if (items != 3)
21657        croak_xs_usage(cv,  "THIS, items, pos");
21658     {
21659         wxArrayString   items;
21660         unsigned int    pos = (unsigned int)SvUV( ST(2) );
21661         wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" );
21662
21663     wxPli_av_2_arraystring( aTHX_ ST(1), & items );
21664     THIS->Insert( items, pos );
21665     }
21666     XSRETURN_EMPTY;
21667 }
21668
21669
21670 XS(XS_Wx__ComboBox_InsertItemsData); /* prototype to pass -Wmissing-prototypes */
21671 XS(XS_Wx__ComboBox_InsertItemsData)
21672 {
21673 #ifdef dVAR
21674     dVAR; dXSARGS;
21675 #else
21676     dXSARGS;
21677 #endif
21678     if (items != 4)
21679        croak_xs_usage(cv,  "THIS, items, pos, data");
21680     {
21681         wxArrayString   items;
21682         unsigned int    pos = (unsigned int)SvUV( ST(2) );
21683         wxPliUserDataCD**       data;
21684         wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" );
21685
21686     wxPli_av_2_arraystring( aTHX_ ST(1), & items );
21687
21688     wxPli_av_2_userdatacdarray( aTHX_ ST(3), & data );
21689     wxPliArrayGuard<wxPliUserDataCD*> guard_data = data;;
21690      THIS->Insert( items, pos, (wxClientData**)data ); 
21691     }
21692     XSRETURN_EMPTY;
21693 }
21694
21695 #endif
21696 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
21697 #define XSubPPtmpAADP 1
21698
21699
21700 XS(XS_Wx__ComboBox_Set); /* prototype to pass -Wmissing-prototypes */
21701 XS(XS_Wx__ComboBox_Set)
21702 {
21703 #ifdef dVAR
21704     dVAR; dXSARGS;
21705 #else
21706     dXSARGS;
21707 #endif
21708     if (items < 1)
21709        croak_xs_usage(cv,  "THIS, ...");
21710     PERL_UNUSED_VAR(ax); /* -Wall */
21711     SP -= items;
21712     {
21713         wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" );
21714     BEGIN_OVERLOAD()
21715         MATCH_REDISP( wxPliOvl_arr_arr, SetItemsData )
21716         MATCH_REDISP( wxPliOvl_arr, SetItems )
21717     END_OVERLOAD( Wx::ComboBox::Set )
21718         PUTBACK;
21719         return;
21720     }
21721 }
21722
21723
21724 XS(XS_Wx__ComboBox_SetItems); /* prototype to pass -Wmissing-prototypes */
21725 XS(XS_Wx__ComboBox_SetItems)
21726 {
21727 #ifdef dVAR
21728     dVAR; dXSARGS;
21729 #else
21730     dXSARGS;
21731 #endif
21732     if (items != 2)
21733        croak_xs_usage(cv,  "THIS, items");
21734     {
21735         wxArrayString   items;
21736         wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" );
21737
21738     wxPli_av_2_arraystring( aTHX_ ST(1), & items );
21739     THIS->Set( items );
21740     }
21741     XSRETURN_EMPTY;
21742 }
21743
21744
21745 XS(XS_Wx__ComboBox_SetItemsData); /* prototype to pass -Wmissing-prototypes */
21746 XS(XS_Wx__ComboBox_SetItemsData)
21747 {
21748 #ifdef dVAR
21749     dVAR; dXSARGS;
21750 #else
21751     dXSARGS;
21752 #endif
21753     if (items != 3)
21754        croak_xs_usage(cv,  "THIS, items, data");
21755     {
21756         wxArrayString   items;
21757         wxPliUserDataCD**       data;
21758         wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" );
21759
21760     wxPli_av_2_arraystring( aTHX_ ST(1), & items );
21761
21762     wxPli_av_2_userdatacdarray( aTHX_ ST(2), & data );
21763     wxPliArrayGuard<wxPliUserDataCD*> guard_data = data;;
21764      THIS->Set( items, (wxClientData**)data ); 
21765     }
21766     XSRETURN_EMPTY;
21767 }
21768
21769 #endif
21770
21771 XS(XS_Wx__ComboBox_Clear); /* prototype to pass -Wmissing-prototypes */
21772 XS(XS_Wx__ComboBox_Clear)
21773 {
21774 #ifdef dVAR
21775     dVAR; dXSARGS;
21776 #else
21777     dXSARGS;
21778 #endif
21779     if (items != 1)
21780        croak_xs_usage(cv,  "THIS");
21781     {
21782         wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" );
21783
21784         THIS->Clear();
21785     }
21786     XSRETURN_EMPTY;
21787 }
21788
21789
21790 XS(XS_Wx__ComboBox_Delete); /* prototype to pass -Wmissing-prototypes */
21791 XS(XS_Wx__ComboBox_Delete)
21792 {
21793 #ifdef dVAR
21794     dVAR; dXSARGS;
21795 #else
21796     dXSARGS;
21797 #endif
21798     if (items != 2)
21799        croak_xs_usage(cv,  "THIS, n");
21800     {
21801         int     n = (int)SvIV(ST(1));
21802         wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" );
21803
21804         THIS->Delete(n);
21805     }
21806     XSRETURN_EMPTY;
21807 }
21808
21809
21810 XS(XS_Wx__ComboBox_GetClientData); /* prototype to pass -Wmissing-prototypes */
21811 XS(XS_Wx__ComboBox_GetClientData)
21812 {
21813 #ifdef dVAR
21814     dVAR; dXSARGS;
21815 #else
21816     dXSARGS;
21817 #endif
21818     if (items != 2)
21819        croak_xs_usage(cv,  "THIS, n");
21820     {
21821         int     n = (int)SvIV(ST(1));
21822         wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" );
21823         wxPliUserDataCD *       RETVAL;
21824      RETVAL = (wxPliUserDataCD*) THIS->GetClientObject( n ); 
21825     ST(0) = ( RETVAL == 0 ) ? &PL_sv_undef : RETVAL->GetData();
21826     SvREFCNT_inc( ST(0) ); // xsubpp mortalizes it...
21827
21828         sv_2mortal(ST(0));
21829     }
21830     XSRETURN(1);
21831 }
21832
21833
21834 XS(XS_Wx__ComboBox_SetClientData); /* prototype to pass -Wmissing-prototypes */
21835 XS(XS_Wx__ComboBox_SetClientData)
21836 {
21837 #ifdef dVAR
21838     dVAR; dXSARGS;
21839 #else
21840     dXSARGS;
21841 #endif
21842     if (items != 3)
21843        croak_xs_usage(cv,  "THIS, n, data");
21844     {
21845         int     n = (int)SvIV(ST(1));
21846         wxPliUserDataCD*        data;
21847         wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" );
21848
21849     if( SvOK( ST(2) ) )
21850     {
21851         data = new wxPliUserDataCD( ST(2) );
21852     }
21853     else
21854         data = 0;
21855     THIS->SetClientObject( n, data );
21856     }
21857     XSRETURN_EMPTY;
21858 }
21859
21860 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
21861 #endif
21862
21863 /* INCLUDE: Returning to 'perl -pe "s/ItemContainerImmutable/ComboBox/g" XS/ItemContainerImmutable.xs |' from 'perl -pe "s/ItemContainer/ComboBox/g" XS/ItemContainer.xs |' */
21864
21865
21866 XS(XS_Wx__ComboBox_GetCount); /* prototype to pass -Wmissing-prototypes */
21867 XS(XS_Wx__ComboBox_GetCount)
21868 {
21869 #ifdef dVAR
21870     dVAR; dXSARGS;
21871 #else
21872     dXSARGS;
21873 #endif
21874     if (items != 1)
21875        croak_xs_usage(cv,  "THIS");
21876     {
21877         wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" );
21878         unsigned int    RETVAL;
21879         dXSTARG;
21880
21881         RETVAL = THIS->GetCount();
21882         XSprePUSH; PUSHu((UV)RETVAL );
21883     }
21884     XSRETURN(1);
21885 }
21886
21887
21888 XS(XS_Wx__ComboBox_IsEmpty); /* prototype to pass -Wmissing-prototypes */
21889 XS(XS_Wx__ComboBox_IsEmpty)
21890 {
21891 #ifdef dVAR
21892     dVAR; dXSARGS;
21893 #else
21894     dXSARGS;
21895 #endif
21896     if (items != 1)
21897        croak_xs_usage(cv,  "THIS");
21898     {
21899         wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" );
21900         bool    RETVAL;
21901
21902         RETVAL = THIS->IsEmpty();
21903         ST(0) = boolSV(RETVAL);
21904         sv_2mortal(ST(0));
21905     }
21906     XSRETURN(1);
21907 }
21908
21909
21910 XS(XS_Wx__ComboBox_GetString); /* prototype to pass -Wmissing-prototypes */
21911 XS(XS_Wx__ComboBox_GetString)
21912 {
21913 #ifdef dVAR
21914     dVAR; dXSARGS;
21915 #else
21916     dXSARGS;
21917 #endif
21918     if (items != 2)
21919        croak_xs_usage(cv,  "THIS, n");
21920     {
21921         unsigned int    n = (unsigned int)SvUV( ST(1) );
21922         wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" );
21923         wxString        RETVAL;
21924
21925         RETVAL = THIS->GetString(n);
21926         ST(0) = sv_newmortal();
21927     WXSTRING_OUTPUT( RETVAL, ST(0) );
21928
21929     }
21930     XSRETURN(1);
21931 }
21932
21933
21934 XS(XS_Wx__ComboBox_GetStrings); /* prototype to pass -Wmissing-prototypes */
21935 XS(XS_Wx__ComboBox_GetStrings)
21936 {
21937 #ifdef dVAR
21938     dVAR; dXSARGS;
21939 #else
21940     dXSARGS;
21941 #endif
21942     if (items != 1)
21943        croak_xs_usage(cv,  "THIS");
21944     PERL_UNUSED_VAR(ax); /* -Wall */
21945     SP -= items;
21946     {
21947         wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" );
21948     PUTBACK;
21949     wxPli_stringarray_push( aTHX_ THIS->GetStrings() );
21950     SPAGAIN;
21951         PUTBACK;
21952         return;
21953     }
21954 }
21955
21956
21957 XS(XS_Wx__ComboBox_SetString); /* prototype to pass -Wmissing-prototypes */
21958 XS(XS_Wx__ComboBox_SetString)
21959 {
21960 #ifdef dVAR
21961     dVAR; dXSARGS;
21962 #else
21963     dXSARGS;
21964 #endif
21965     if (items != 3)
21966        croak_xs_usage(cv,  "THIS, n, s");
21967     {
21968         unsigned int    n = (unsigned int)SvUV( ST(1) );
21969         wxString        s;
21970         wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" );
21971
21972     WXSTRING_INPUT( s, wxString, ST(2) );
21973
21974         THIS->SetString(n, s);
21975     }
21976     XSRETURN_EMPTY;
21977 }
21978
21979
21980 XS(XS_Wx__ComboBox_FindString); /* prototype to pass -Wmissing-prototypes */
21981 XS(XS_Wx__ComboBox_FindString)
21982 {
21983 #ifdef dVAR
21984     dVAR; dXSARGS;
21985 #else
21986     dXSARGS;
21987 #endif
21988     if (items < 1)
21989        croak_xs_usage(cv,  "THIS, ...");
21990     PERL_UNUSED_VAR(ax); /* -Wall */
21991     SP -= items;
21992     {
21993         wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" );
21994         int     RETVAL;
21995         dXSTARG;
21996     BEGIN_OVERLOAD()
21997 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
21998         MATCH_REDISP( wxPliOvl_s_b, FindStringCase )
21999 #endif
22000         MATCH_REDISP( wxPliOvl_s, FindStringNoCase )
22001     END_OVERLOAD( Wx::ComboBox::FindString )
22002         PUTBACK;
22003         return;
22004     }
22005 }
22006
22007
22008 XS(XS_Wx__ComboBox_FindStringNoCase); /* prototype to pass -Wmissing-prototypes */
22009 XS(XS_Wx__ComboBox_FindStringNoCase)
22010 {
22011 #ifdef dVAR
22012     dVAR; dXSARGS;
22013 #else
22014     dXSARGS;
22015 #endif
22016     if (items != 2)
22017        croak_xs_usage(cv,  "THIS, s");
22018     {
22019         wxString        s;
22020         wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" );
22021         int     RETVAL;
22022         dXSTARG;
22023
22024     WXSTRING_INPUT( s, wxString, ST(1) );
22025     RETVAL = THIS->FindString( s );
22026         XSprePUSH; PUSHi((IV)RETVAL);
22027     }
22028     XSRETURN(1);
22029 }
22030
22031 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
22032 #define XSubPPtmpAADQ 1
22033
22034
22035 XS(XS_Wx__ComboBox_FindStringCase); /* prototype to pass -Wmissing-prototypes */
22036 XS(XS_Wx__ComboBox_FindStringCase)
22037 {
22038 #ifdef dVAR
22039     dVAR; dXSARGS;
22040 #else
22041     dXSARGS;
22042 #endif
22043     if (items < 2 || items > 3)
22044        croak_xs_usage(cv,  "THIS, s, bCase = false");
22045     {
22046         wxString        s;
22047         bool    bCase;
22048         wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" );
22049         int     RETVAL;
22050         dXSTARG;
22051
22052     WXSTRING_INPUT( s, wxString, ST(1) );
22053
22054         if (items < 3)
22055             bCase = false;
22056         else {
22057             bCase = (bool)SvTRUE(ST(2));
22058         }
22059     RETVAL = THIS->FindString( s, bCase );
22060         XSprePUSH; PUSHi((IV)RETVAL);
22061     }
22062     XSRETURN(1);
22063 }
22064
22065 #endif
22066 #if WXPERL_W_VERSION_GE( 2, 6, 0 ) && !defined(WXPERL_IN_COMBOBOX)
22067 #define XSubPPtmpAADR 1
22068
22069
22070 XS(XS_Wx__ComboBox_SetSelection); /* prototype to pass -Wmissing-prototypes */
22071 XS(XS_Wx__ComboBox_SetSelection)
22072 {
22073 #ifdef dVAR
22074     dVAR; dXSARGS;
22075 #else
22076     dXSARGS;
22077 #endif
22078     if (items != 2)
22079        croak_xs_usage(cv,  "THIS, n");
22080     {
22081         int     n = (int)SvIV(ST(1));
22082         wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" );
22083
22084         THIS->SetSelection(n);
22085     }
22086     XSRETURN_EMPTY;
22087 }
22088
22089 #endif
22090
22091 XS(XS_Wx__ComboBox_GetSelection); /* prototype to pass -Wmissing-prototypes */
22092 XS(XS_Wx__ComboBox_GetSelection)
22093 {
22094 #ifdef dVAR
22095     dVAR; dXSARGS;
22096 #else
22097     dXSARGS;
22098 #endif
22099     if (items != 1)
22100        croak_xs_usage(cv,  "THIS");
22101     {
22102         wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" );
22103         int     RETVAL;
22104         dXSTARG;
22105
22106         RETVAL = THIS->GetSelection();
22107         XSprePUSH; PUSHi((IV)RETVAL);
22108     }
22109     XSRETURN(1);
22110 }
22111
22112 #if WXPERL_W_VERSION_GE( 2, 6, 0 ) || defined(WXPERL_IN_COMBOBOX)
22113 #define XSubPPtmpAADS 1
22114
22115
22116 XS(XS_Wx__ComboBox_SetStringSelection); /* prototype to pass -Wmissing-prototypes */
22117 XS(XS_Wx__ComboBox_SetStringSelection)
22118 {
22119 #ifdef dVAR
22120     dVAR; dXSARGS;
22121 #else
22122     dXSARGS;
22123 #endif
22124     if (items != 2)
22125        croak_xs_usage(cv,  "THIS, s");
22126     {
22127         wxString        s;
22128         wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" );
22129         bool    RETVAL;
22130
22131     WXSTRING_INPUT( s, wxString, ST(1) );
22132
22133         RETVAL = THIS->SetStringSelection(s);
22134         ST(0) = boolSV(RETVAL);
22135         sv_2mortal(ST(0));
22136     }
22137     XSRETURN(1);
22138 }
22139
22140 #endif
22141
22142 XS(XS_Wx__ComboBox_GetStringSelection); /* prototype to pass -Wmissing-prototypes */
22143 XS(XS_Wx__ComboBox_GetStringSelection)
22144 {
22145 #ifdef dVAR
22146     dVAR; dXSARGS;
22147 #else
22148     dXSARGS;
22149 #endif
22150     if (items != 1)
22151        croak_xs_usage(cv,  "THIS");
22152     {
22153         wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" );
22154         wxString        RETVAL;
22155
22156         RETVAL = THIS->GetStringSelection();
22157         ST(0) = sv_newmortal();
22158     WXSTRING_OUTPUT( RETVAL, ST(0) );
22159
22160     }
22161     XSRETURN(1);
22162 }
22163
22164
22165 XS(XS_Wx__ComboBox_Select); /* prototype to pass -Wmissing-prototypes */
22166 XS(XS_Wx__ComboBox_Select)
22167 {
22168 #ifdef dVAR
22169     dVAR; dXSARGS;
22170 #else
22171     dXSARGS;
22172 #endif
22173     if (items != 2)
22174        croak_xs_usage(cv,  "THIS, n");
22175     {
22176         int     n = (int)SvIV(ST(1));
22177         wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" );
22178
22179         THIS->Select(n);
22180     }
22181     XSRETURN_EMPTY;
22182 }
22183
22184
22185 /* INCLUDE: Returning to 'XS/ComboBox.xs' from 'perl -pe "s/ItemContainerImmutable/ComboBox/g" XS/ItemContainerImmutable.xs |' */
22186
22187 #undef WXPERL_IN_COMBOBOX
22188 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
22189 #define XSubPPtmpAADT 1
22190
22191
22192 XS(XS_Wx__ComboBox_GetCurrentSelection); /* prototype to pass -Wmissing-prototypes */
22193 XS(XS_Wx__ComboBox_GetCurrentSelection)
22194 {
22195 #ifdef dVAR
22196     dVAR; dXSARGS;
22197 #else
22198     dXSARGS;
22199 #endif
22200     if (items != 1)
22201        croak_xs_usage(cv,  "THIS");
22202     {
22203         wxChoice *    THIS = (wxChoice *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Choice" );
22204         int     RETVAL;
22205         dXSTARG;
22206
22207         RETVAL = THIS->GetCurrentSelection();
22208         XSprePUSH; PUSHi((IV)RETVAL);
22209     }
22210     XSRETURN(1);
22211 }
22212
22213 #endif
22214 #if WXPERL_W_VERSION_GE( 2, 7, 0 )
22215 #define XSubPPtmpAADU 1
22216
22217
22218 XS(XS_Wx__ComboBox_SetEditable); /* prototype to pass -Wmissing-prototypes */
22219 XS(XS_Wx__ComboBox_SetEditable)
22220 {
22221 #ifdef dVAR
22222     dVAR; dXSARGS;
22223 #else
22224     dXSARGS;
22225 #endif
22226     if (items != 2)
22227        croak_xs_usage(cv,  "THIS, editable");
22228     {
22229         wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" );
22230         bool    editable = (bool)SvTRUE(ST(1));
22231
22232         THIS->SetEditable(editable);
22233     }
22234     XSRETURN_EMPTY;
22235 }
22236
22237 #endif
22238 #endif
22239
22240 XS(XS_Wx__ComboBox_Copy); /* prototype to pass -Wmissing-prototypes */
22241 XS(XS_Wx__ComboBox_Copy)
22242 {
22243 #ifdef dVAR
22244     dVAR; dXSARGS;
22245 #else
22246     dXSARGS;
22247 #endif
22248     if (items != 1)
22249        croak_xs_usage(cv,  "THIS");
22250     {
22251         wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" );
22252
22253         THIS->Copy();
22254     }
22255     XSRETURN_EMPTY;
22256 }
22257
22258
22259 XS(XS_Wx__ComboBox_Cut); /* prototype to pass -Wmissing-prototypes */
22260 XS(XS_Wx__ComboBox_Cut)
22261 {
22262 #ifdef dVAR
22263     dVAR; dXSARGS;
22264 #else
22265     dXSARGS;
22266 #endif
22267     if (items != 1)
22268        croak_xs_usage(cv,  "THIS");
22269     {
22270         wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" );
22271
22272         THIS->Cut();
22273     }
22274     XSRETURN_EMPTY;
22275 }
22276
22277 #if WXPERL_W_VERSION_GE( 2, 6, 0 ) && !defined(__WXMOTIF__)
22278 #define XSubPPtmpAADV 1
22279
22280
22281 XS(XS_Wx__ComboBox_CanCopy); /* prototype to pass -Wmissing-prototypes */
22282 XS(XS_Wx__ComboBox_CanCopy)
22283 {
22284 #ifdef dVAR
22285     dVAR; dXSARGS;
22286 #else
22287     dXSARGS;
22288 #endif
22289     if (items != 1)
22290        croak_xs_usage(cv,  "THIS");
22291     {
22292         wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" );
22293         bool    RETVAL;
22294
22295         RETVAL = THIS->CanCopy();
22296         ST(0) = boolSV(RETVAL);
22297         sv_2mortal(ST(0));
22298     }
22299     XSRETURN(1);
22300 }
22301
22302
22303 XS(XS_Wx__ComboBox_CanCut); /* prototype to pass -Wmissing-prototypes */
22304 XS(XS_Wx__ComboBox_CanCut)
22305 {
22306 #ifdef dVAR
22307     dVAR; dXSARGS;
22308 #else
22309     dXSARGS;
22310 #endif
22311     if (items != 1)
22312        croak_xs_usage(cv,  "THIS");
22313     {
22314         wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" );
22315         bool    RETVAL;
22316
22317         RETVAL = THIS->CanCut();
22318         ST(0) = boolSV(RETVAL);
22319         sv_2mortal(ST(0));
22320     }
22321     XSRETURN(1);
22322 }
22323
22324
22325 XS(XS_Wx__ComboBox_CanPaste); /* prototype to pass -Wmissing-prototypes */
22326 XS(XS_Wx__ComboBox_CanPaste)
22327 {
22328 #ifdef dVAR
22329     dVAR; dXSARGS;
22330 #else
22331     dXSARGS;
22332 #endif
22333     if (items != 1)
22334        croak_xs_usage(cv,  "THIS");
22335     {
22336         wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" );
22337         bool    RETVAL;
22338
22339         RETVAL = THIS->CanPaste();
22340         ST(0) = boolSV(RETVAL);
22341         sv_2mortal(ST(0));
22342     }
22343     XSRETURN(1);
22344 }
22345
22346
22347 XS(XS_Wx__ComboBox_Undo); /* prototype to pass -Wmissing-prototypes */
22348 XS(XS_Wx__ComboBox_Undo)
22349 {
22350 #ifdef dVAR
22351     dVAR; dXSARGS;
22352 #else
22353     dXSARGS;
22354 #endif
22355     if (items != 1)
22356        croak_xs_usage(cv,  "THIS");
22357     {
22358         wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" );
22359
22360         THIS->Undo();
22361     }
22362     XSRETURN_EMPTY;
22363 }
22364
22365
22366 XS(XS_Wx__ComboBox_Redo); /* prototype to pass -Wmissing-prototypes */
22367 XS(XS_Wx__ComboBox_Redo)
22368 {
22369 #ifdef dVAR
22370     dVAR; dXSARGS;
22371 #else
22372     dXSARGS;
22373 #endif
22374     if (items != 1)
22375        croak_xs_usage(cv,  "THIS");
22376     {
22377         wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" );
22378
22379         THIS->Redo();
22380     }
22381     XSRETURN_EMPTY;
22382 }
22383
22384
22385 XS(XS_Wx__ComboBox_CanUndo); /* prototype to pass -Wmissing-prototypes */
22386 XS(XS_Wx__ComboBox_CanUndo)
22387 {
22388 #ifdef dVAR
22389     dVAR; dXSARGS;
22390 #else
22391     dXSARGS;
22392 #endif
22393     if (items != 1)
22394        croak_xs_usage(cv,  "THIS");
22395     {
22396         wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" );
22397         bool    RETVAL;
22398
22399         RETVAL = THIS->CanUndo();
22400         ST(0) = boolSV(RETVAL);
22401         sv_2mortal(ST(0));
22402     }
22403     XSRETURN(1);
22404 }
22405
22406
22407 XS(XS_Wx__ComboBox_CanRedo); /* prototype to pass -Wmissing-prototypes */
22408 XS(XS_Wx__ComboBox_CanRedo)
22409 {
22410 #ifdef dVAR
22411     dVAR; dXSARGS;
22412 #else
22413     dXSARGS;
22414 #endif
22415     if (items != 1)
22416        croak_xs_usage(cv,  "THIS");
22417     {
22418         wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" );
22419         bool    RETVAL;
22420
22421         RETVAL = THIS->CanRedo();
22422         ST(0) = boolSV(RETVAL);
22423         sv_2mortal(ST(0));
22424     }
22425     XSRETURN(1);
22426 }
22427
22428 #endif
22429
22430 XS(XS_Wx__ComboBox_GetInsertionPoint); /* prototype to pass -Wmissing-prototypes */
22431 XS(XS_Wx__ComboBox_GetInsertionPoint)
22432 {
22433 #ifdef dVAR
22434     dVAR; dXSARGS;
22435 #else
22436     dXSARGS;
22437 #endif
22438     if (items != 1)
22439        croak_xs_usage(cv,  "THIS");
22440     {
22441         wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" );
22442         long    RETVAL;
22443         dXSTARG;
22444
22445         RETVAL = THIS->GetInsertionPoint();
22446         XSprePUSH; PUSHi((IV)RETVAL);
22447     }
22448     XSRETURN(1);
22449 }
22450
22451
22452 XS(XS_Wx__ComboBox_GetLastPosition); /* prototype to pass -Wmissing-prototypes */
22453 XS(XS_Wx__ComboBox_GetLastPosition)
22454 {
22455 #ifdef dVAR
22456     dVAR; dXSARGS;
22457 #else
22458     dXSARGS;
22459 #endif
22460     if (items != 1)
22461        croak_xs_usage(cv,  "THIS");
22462     {
22463         wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" );
22464         wxTextPos       RETVAL;
22465         dXSTARG;
22466
22467         RETVAL = THIS->GetLastPosition();
22468         XSprePUSH; PUSHi((IV)RETVAL);
22469     }
22470     XSRETURN(1);
22471 }
22472
22473
22474 XS(XS_Wx__ComboBox_GetValue); /* prototype to pass -Wmissing-prototypes */
22475 XS(XS_Wx__ComboBox_GetValue)
22476 {
22477 #ifdef dVAR
22478     dVAR; dXSARGS;
22479 #else
22480     dXSARGS;
22481 #endif
22482     if (items != 1)
22483        croak_xs_usage(cv,  "THIS");
22484     {
22485         wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" );
22486         wxString        RETVAL;
22487
22488         RETVAL = THIS->GetValue();
22489         ST(0) = sv_newmortal();
22490     WXSTRING_OUTPUT( RETVAL, ST(0) );
22491
22492     }
22493     XSRETURN(1);
22494 }
22495
22496
22497 XS(XS_Wx__ComboBox_Paste); /* prototype to pass -Wmissing-prototypes */
22498 XS(XS_Wx__ComboBox_Paste)
22499 {
22500 #ifdef dVAR
22501     dVAR; dXSARGS;
22502 #else
22503     dXSARGS;
22504 #endif
22505     if (items != 1)
22506        croak_xs_usage(cv,  "THIS");
22507     {
22508         wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" );
22509
22510         THIS->Paste();
22511     }
22512     XSRETURN_EMPTY;
22513 }
22514
22515
22516 XS(XS_Wx__ComboBox_Replace); /* prototype to pass -Wmissing-prototypes */
22517 XS(XS_Wx__ComboBox_Replace)
22518 {
22519 #ifdef dVAR
22520     dVAR; dXSARGS;
22521 #else
22522     dXSARGS;
22523 #endif
22524     if (items != 4)
22525        croak_xs_usage(cv,  "THIS, from, to, text");
22526     {
22527         long    from = (long)SvIV(ST(1));
22528         long    to = (long)SvIV(ST(2));
22529         wxString        text;
22530         wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" );
22531
22532     WXSTRING_INPUT( text, wxString, ST(3) );
22533
22534         THIS->Replace(from, to, text);
22535     }
22536     XSRETURN_EMPTY;
22537 }
22538
22539
22540 XS(XS_Wx__ComboBox_Remove); /* prototype to pass -Wmissing-prototypes */
22541 XS(XS_Wx__ComboBox_Remove)
22542 {
22543 #ifdef dVAR
22544     dVAR; dXSARGS;
22545 #else
22546     dXSARGS;
22547 #endif
22548     if (items != 3)
22549        croak_xs_usage(cv,  "THIS, from, to");
22550     {
22551         long    from = (long)SvIV(ST(1));
22552         long    to = (long)SvIV(ST(2));
22553         wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" );
22554
22555         THIS->Remove(from, to);
22556     }
22557     XSRETURN_EMPTY;
22558 }
22559
22560
22561 XS(XS_Wx__ComboBox_SetInsertionPoint); /* prototype to pass -Wmissing-prototypes */
22562 XS(XS_Wx__ComboBox_SetInsertionPoint)
22563 {
22564 #ifdef dVAR
22565     dVAR; dXSARGS;
22566 #else
22567     dXSARGS;
22568 #endif
22569     if (items != 2)
22570        croak_xs_usage(cv,  "THIS, pos");
22571     {
22572         long    pos = (long)SvIV(ST(1));
22573         wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" );
22574
22575         THIS->SetInsertionPoint(pos);
22576     }
22577     XSRETURN_EMPTY;
22578 }
22579
22580
22581 XS(XS_Wx__ComboBox_SetInsertionPointEnd); /* prototype to pass -Wmissing-prototypes */
22582 XS(XS_Wx__ComboBox_SetInsertionPointEnd)
22583 {
22584 #ifdef dVAR
22585     dVAR; dXSARGS;
22586 #else
22587     dXSARGS;
22588 #endif
22589     if (items != 1)
22590        croak_xs_usage(cv,  "THIS");
22591     {
22592         wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" );
22593
22594         THIS->SetInsertionPointEnd();
22595     }
22596     XSRETURN_EMPTY;
22597 }
22598
22599
22600 XS(XS_Wx__ComboBox_SetSelection); /* prototype to pass -Wmissing-prototypes */
22601 XS(XS_Wx__ComboBox_SetSelection)
22602 {
22603 #ifdef dVAR
22604     dVAR; dXSARGS;
22605 #else
22606     dXSARGS;
22607 #endif
22608     if (items < 1)
22609        croak_xs_usage(cv,  "THIS, ...");
22610     PERL_UNUSED_VAR(ax); /* -Wall */
22611     SP -= items;
22612     {
22613         wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" );
22614     BEGIN_OVERLOAD()
22615         MATCH_REDISP( wxPliOvl_n_n, SetMark )
22616         MATCH_REDISP( wxPliOvl_n, SetSelectionN )
22617     END_OVERLOAD( Wx::ComboBox::SetSelection )
22618         PUTBACK;
22619         return;
22620     }
22621 }
22622
22623
22624 XS(XS_Wx__ComboBox_SetSelectionN); /* prototype to pass -Wmissing-prototypes */
22625 XS(XS_Wx__ComboBox_SetSelectionN)
22626 {
22627 #ifdef dVAR
22628     dVAR; dXSARGS;
22629 #else
22630     dXSARGS;
22631 #endif
22632     if (items != 2)
22633        croak_xs_usage(cv,  "THIS, n");
22634     {
22635         int     n = (int)SvIV(ST(1));
22636         wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" );
22637     THIS->SetSelection( n );
22638     }
22639     XSRETURN_EMPTY;
22640 }
22641
22642
22643 XS(XS_Wx__ComboBox_SetMark); /* prototype to pass -Wmissing-prototypes */
22644 XS(XS_Wx__ComboBox_SetMark)
22645 {
22646 #ifdef dVAR
22647     dVAR; dXSARGS;
22648 #else
22649     dXSARGS;
22650 #endif
22651     if (items != 3)
22652        croak_xs_usage(cv,  "THIS, from, to");
22653     {
22654         long    from = (long)SvIV(ST(1));
22655         long    to = (long)SvIV(ST(2));
22656         wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" );
22657     THIS->SetSelection( from, to );
22658     }
22659     XSRETURN_EMPTY;
22660 }
22661
22662
22663 XS(XS_Wx__ComboBox_SetValue); /* prototype to pass -Wmissing-prototypes */
22664 XS(XS_Wx__ComboBox_SetValue)
22665 {
22666 #ifdef dVAR
22667     dVAR; dXSARGS;
22668 #else
22669     dXSARGS;
22670 #endif
22671     if (items != 2)
22672        croak_xs_usage(cv,  "THIS, string");
22673     {
22674         wxString        string;
22675         wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" );
22676
22677     WXSTRING_INPUT( string, wxString, ST(1) );
22678
22679         THIS->SetValue(string);
22680     }
22681     XSRETURN_EMPTY;
22682 }
22683
22684
22685 /* INCLUDE: Returning to 'XS/Choice.xs' from 'XS/ComboBox.xs' */
22686
22687 #include <wx/choice.h>
22688
22689 XS(XS_Wx__Choice_new); /* prototype to pass -Wmissing-prototypes */
22690 XS(XS_Wx__Choice_new)
22691 {
22692 #ifdef dVAR
22693     dVAR; dXSARGS;
22694 #else
22695     dXSARGS;
22696 #endif
22697     PERL_UNUSED_VAR(cv); /* -W */
22698     PERL_UNUSED_VAR(ax); /* -Wall */
22699     SP -= items;
22700     {
22701     BEGIN_OVERLOAD()
22702         MATCH_VOIDM_REDISP( newDefault )
22703         MATCH_ANY_REDISP( newFull )
22704     END_OVERLOAD( "Wx::Choice::new" )
22705         PUTBACK;
22706         return;
22707     }
22708 }
22709
22710
22711 XS(XS_Wx__Choice_newDefault); /* prototype to pass -Wmissing-prototypes */
22712 XS(XS_Wx__Choice_newDefault)
22713 {
22714 #ifdef dVAR
22715     dVAR; dXSARGS;
22716 #else
22717     dXSARGS;
22718 #endif
22719     if (items != 1)
22720        croak_xs_usage(cv,  "CLASS");
22721     {
22722         PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) );
22723         wxChoice *      RETVAL;
22724     RETVAL = new wxChoice();
22725     wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
22726         ST(0) = sv_newmortal();
22727     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
22728
22729     }
22730     XSRETURN(1);
22731 }
22732
22733
22734 XS(XS_Wx__Choice_newFull); /* prototype to pass -Wmissing-prototypes */
22735 XS(XS_Wx__Choice_newFull)
22736 {
22737 #ifdef dVAR
22738     dVAR; dXSARGS;
22739 #else
22740     dXSARGS;
22741 #endif
22742     if (items < 2 || items > 9)
22743        croak_xs_usage(cv,  "CLASS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, choices = 0, style = 0, validator = (wxValidator*)&wxDefaultValidator, name = wxChoiceNameStr");
22744     {
22745         PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) );
22746         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
22747         wxWindowID      id;
22748         wxPoint pos;
22749         wxSize  size;
22750         SV*     choices;
22751         long    style;
22752         wxValidator*    validator;
22753         wxString        name;
22754     int n = 0;
22755     wxString *chs = 0;
22756         wxChoice *      RETVAL;
22757
22758         if (items < 3)
22759             id = wxID_ANY;
22760         else {
22761     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
22762         }
22763
22764         if (items < 4)
22765             pos = wxDefaultPosition;
22766         else {
22767     pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) );
22768         }
22769
22770         if (items < 5)
22771             size = wxDefaultSize;
22772         else {
22773     size = wxPli_sv_2_wxsize( aTHX_ ST(4) );
22774         }
22775
22776         if (items < 6)
22777             choices = 0;
22778         else {
22779             choices = ST(5);
22780         }
22781
22782         if (items < 7)
22783             style = 0;
22784         else {
22785             style = (long)SvIV(ST(6));
22786         }
22787
22788         if (items < 8)
22789             validator = (wxValidator*)&wxDefaultValidator;
22790         else {
22791     validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" );
22792         }
22793
22794         if (items < 9)
22795             name = wxChoiceNameStr;
22796         else {
22797     WXSTRING_INPUT( name, wxString, ST(8) );
22798         }
22799     if( choices )
22800         n = wxPli_av_2_stringarray( aTHX_ choices, &chs );
22801
22802     RETVAL = new wxChoice( parent, id, pos, size, n, chs, style, 
22803         *validator, name );
22804     wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
22805
22806     delete[] chs;
22807         ST(0) = sv_newmortal();
22808     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
22809
22810     }
22811     XSRETURN(1);
22812 }
22813
22814
22815 XS(XS_Wx__Choice_Create); /* prototype to pass -Wmissing-prototypes */
22816 XS(XS_Wx__Choice_Create)
22817 {
22818 #ifdef dVAR
22819     dVAR; dXSARGS;
22820 #else
22821     dXSARGS;
22822 #endif
22823     if (items < 2 || items > 9)
22824        croak_xs_usage(cv,  "THIS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, choices = 0, style = 0, validator = (wxValidator*)&wxDefaultValidator, name = wxChoiceNameStr");
22825     {
22826         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
22827         wxWindowID      id;
22828         wxPoint pos;
22829         wxSize  size;
22830         SV*     choices;
22831         long    style;
22832         wxValidator*    validator;
22833         wxString        name;
22834     int n = 0;
22835     wxString *chs = 0;
22836         wxChoice *    THIS = (wxChoice *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Choice" );
22837         bool    RETVAL;
22838
22839         if (items < 3)
22840             id = wxID_ANY;
22841         else {
22842     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
22843         }
22844
22845         if (items < 4)
22846             pos = wxDefaultPosition;
22847         else {
22848     pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) );
22849         }
22850
22851         if (items < 5)
22852             size = wxDefaultSize;
22853         else {
22854     size = wxPli_sv_2_wxsize( aTHX_ ST(4) );
22855         }
22856
22857         if (items < 6)
22858             choices = 0;
22859         else {
22860             choices = ST(5);
22861         }
22862
22863         if (items < 7)
22864             style = 0;
22865         else {
22866             style = (long)SvIV(ST(6));
22867         }
22868
22869         if (items < 8)
22870             validator = (wxValidator*)&wxDefaultValidator;
22871         else {
22872     validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" );
22873         }
22874
22875         if (items < 9)
22876             name = wxChoiceNameStr;
22877         else {
22878     WXSTRING_INPUT( name, wxString, ST(8) );
22879         }
22880     if( choices )
22881         n = wxPli_av_2_stringarray( aTHX_ choices, &chs );
22882
22883     RETVAL = THIS->Create( parent, id, pos, size, n, chs, style, 
22884         *validator, name );
22885
22886     delete[] chs;
22887         ST(0) = boolSV(RETVAL);
22888         sv_2mortal(ST(0));
22889     }
22890     XSRETURN(1);
22891 }
22892
22893
22894 XS(XS_Wx__Choice_Clear); /* prototype to pass -Wmissing-prototypes */
22895 XS(XS_Wx__Choice_Clear)
22896 {
22897 #ifdef dVAR
22898     dVAR; dXSARGS;
22899 #else
22900     dXSARGS;
22901 #endif
22902     if (items != 1)
22903        croak_xs_usage(cv,  "THIS");
22904     {
22905         wxChoice *    THIS = (wxChoice *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Choice" );
22906
22907         THIS->Clear();
22908     }
22909     XSRETURN_EMPTY;
22910 }
22911
22912
22913 XS(XS_Wx__Choice_Delete); /* prototype to pass -Wmissing-prototypes */
22914 XS(XS_Wx__Choice_Delete)
22915 {
22916 #ifdef dVAR
22917     dVAR; dXSARGS;
22918 #else
22919     dXSARGS;
22920 #endif
22921     if (items != 2)
22922        croak_xs_usage(cv,  "THIS, n");
22923     {
22924         int     n = (int)SvIV(ST(1));
22925         wxChoice *    THIS = (wxChoice *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Choice" );
22926
22927         THIS->Delete(n);
22928     }
22929     XSRETURN_EMPTY;
22930 }
22931
22932 #if !defined(__WXUNIVERSAL__)
22933 #define XSubPPtmpAADW 1
22934
22935
22936 XS(XS_Wx__Choice_GetColumns); /* prototype to pass -Wmissing-prototypes */
22937 XS(XS_Wx__Choice_GetColumns)
22938 {
22939 #ifdef dVAR
22940     dVAR; dXSARGS;
22941 #else
22942     dXSARGS;
22943 #endif
22944     if (items != 1)
22945        croak_xs_usage(cv,  "THIS");
22946     {
22947         wxChoice *    THIS = (wxChoice *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Choice" );
22948         int     RETVAL;
22949         dXSTARG;
22950
22951         RETVAL = THIS->GetColumns();
22952         XSprePUSH; PUSHi((IV)RETVAL);
22953     }
22954     XSRETURN(1);
22955 }
22956
22957
22958 XS(XS_Wx__Choice_SetColumns); /* prototype to pass -Wmissing-prototypes */
22959 XS(XS_Wx__Choice_SetColumns)
22960 {
22961 #ifdef dVAR
22962     dVAR; dXSARGS;
22963 #else
22964     dXSARGS;
22965 #endif
22966     if (items < 1 || items > 2)
22967        croak_xs_usage(cv,  "THIS, n = 1");
22968     {
22969         int     n;
22970         wxChoice *    THIS = (wxChoice *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Choice" );
22971
22972         if (items < 2)
22973             n = 1;
22974         else {
22975             n = (int)SvIV(ST(1));
22976         }
22977
22978         THIS->SetColumns(n);
22979     }
22980     XSRETURN_EMPTY;
22981 }
22982
22983 #endif
22984 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
22985 #define XSubPPtmpAADX 1
22986
22987
22988 XS(XS_Wx__Choice_GetCurrentSelection); /* prototype to pass -Wmissing-prototypes */
22989 XS(XS_Wx__Choice_GetCurrentSelection)
22990 {
22991 #ifdef dVAR
22992     dVAR; dXSARGS;
22993 #else
22994     dXSARGS;
22995 #endif
22996     if (items != 1)
22997        croak_xs_usage(cv,  "THIS");
22998     {
22999         wxChoice *    THIS = (wxChoice *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Choice" );
23000         int     RETVAL;
23001         dXSTARG;
23002
23003         RETVAL = THIS->GetCurrentSelection();
23004         XSprePUSH; PUSHi((IV)RETVAL);
23005     }
23006     XSRETURN(1);
23007 }
23008
23009 #endif
23010
23011 XS(XS_Wx__Choice_SetSelection); /* prototype to pass -Wmissing-prototypes */
23012 XS(XS_Wx__Choice_SetSelection)
23013 {
23014 #ifdef dVAR
23015     dVAR; dXSARGS;
23016 #else
23017     dXSARGS;
23018 #endif
23019     if (items != 2)
23020        croak_xs_usage(cv,  "THIS, n");
23021     {
23022         int     n = (int)SvIV(ST(1));
23023         wxChoice *    THIS = (wxChoice *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Choice" );
23024
23025         THIS->SetSelection(n);
23026     }
23027     XSRETURN_EMPTY;
23028 }
23029
23030
23031 XS(XS_Wx__Choice_SetStringSelection); /* prototype to pass -Wmissing-prototypes */
23032 XS(XS_Wx__Choice_SetStringSelection)
23033 {
23034 #ifdef dVAR
23035     dVAR; dXSARGS;
23036 #else
23037     dXSARGS;
23038 #endif
23039     if (items != 2)
23040        croak_xs_usage(cv,  "THIS, string");
23041     {
23042         wxString        string;
23043         wxChoice *    THIS = (wxChoice *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Choice" );
23044
23045     WXSTRING_INPUT( string, wxString, ST(1) );
23046
23047         THIS->SetStringSelection(string);
23048     }
23049     XSRETURN_EMPTY;
23050 }
23051
23052
23053 /* INCLUDE: Returning to 'XS/CheckListBox.xs' from 'XS/Choice.xs' */
23054
23055 #include <wx/checklst.h>
23056
23057 XS(XS_Wx__CheckListBox_new); /* prototype to pass -Wmissing-prototypes */
23058 XS(XS_Wx__CheckListBox_new)
23059 {
23060 #ifdef dVAR
23061     dVAR; dXSARGS;
23062 #else
23063     dXSARGS;
23064 #endif
23065     PERL_UNUSED_VAR(cv); /* -W */
23066     PERL_UNUSED_VAR(ax); /* -Wall */
23067     SP -= items;
23068     {
23069     BEGIN_OVERLOAD()
23070         MATCH_VOIDM_REDISP( newDefault )
23071         MATCH_ANY_REDISP( newFull )
23072     END_OVERLOAD( "Wx::CheckListBox::new" )
23073         PUTBACK;
23074         return;
23075     }
23076 }
23077
23078
23079 XS(XS_Wx__CheckListBox_newDefault); /* prototype to pass -Wmissing-prototypes */
23080 XS(XS_Wx__CheckListBox_newDefault)
23081 {
23082 #ifdef dVAR
23083     dVAR; dXSARGS;
23084 #else
23085     dXSARGS;
23086 #endif
23087     if (items != 1)
23088        croak_xs_usage(cv,  "CLASS");
23089     {
23090         PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) );
23091         wxCheckListBox *        RETVAL;
23092     RETVAL = new wxCheckListBox();
23093     wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
23094         ST(0) = sv_newmortal();
23095     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
23096
23097     }
23098     XSRETURN(1);
23099 }
23100
23101
23102 XS(XS_Wx__CheckListBox_newFull); /* prototype to pass -Wmissing-prototypes */
23103 XS(XS_Wx__CheckListBox_newFull)
23104 {
23105 #ifdef dVAR
23106     dVAR; dXSARGS;
23107 #else
23108     dXSARGS;
23109 #endif
23110     if (items < 2 || items > 9)
23111        croak_xs_usage(cv,  "CLASS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, choices = 0, style = 0, validator = (wxValidator*)&wxDefaultValidator, name = wxListBoxNameStr");
23112     {
23113         PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) );
23114         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
23115         wxWindowID      id;
23116         wxPoint pos;
23117         wxSize  size;
23118         SV*     choices;
23119         long    style;
23120         wxValidator*    validator;
23121         wxString        name;
23122     wxString* chs;
23123     int n;
23124         wxCheckListBox *        RETVAL;
23125
23126         if (items < 3)
23127             id = wxID_ANY;
23128         else {
23129     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
23130         }
23131
23132         if (items < 4)
23133             pos = wxDefaultPosition;
23134         else {
23135     pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) );
23136         }
23137
23138         if (items < 5)
23139             size = wxDefaultSize;
23140         else {
23141     size = wxPli_sv_2_wxsize( aTHX_ ST(4) );
23142         }
23143
23144         if (items < 6)
23145             choices = 0;
23146         else {
23147             choices = ST(5);
23148         }
23149
23150         if (items < 7)
23151             style = 0;
23152         else {
23153             style = (long)SvIV(ST(6));
23154         }
23155
23156         if (items < 8)
23157             validator = (wxValidator*)&wxDefaultValidator;
23158         else {
23159     validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" );
23160         }
23161
23162         if (items < 9)
23163             name = wxListBoxNameStr;
23164         else {
23165     WXSTRING_INPUT( name, wxString, ST(8) );
23166         }
23167     if( choices ) 
23168         n = wxPli_av_2_stringarray( aTHX_ choices, &chs );
23169     else
23170     {
23171         n = 0;
23172         chs = 0;
23173     }
23174
23175     RETVAL = new wxCheckListBox( parent, id, pos, size, n, chs, 
23176         style|wxLB_OWNERDRAW, *validator, name );
23177     wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
23178
23179     delete[] chs;
23180         ST(0) = sv_newmortal();
23181     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
23182
23183     }
23184     XSRETURN(1);
23185 }
23186
23187
23188 XS(XS_Wx__CheckListBox_Create); /* prototype to pass -Wmissing-prototypes */
23189 XS(XS_Wx__CheckListBox_Create)
23190 {
23191 #ifdef dVAR
23192     dVAR; dXSARGS;
23193 #else
23194     dXSARGS;
23195 #endif
23196     if (items < 2 || items > 9)
23197        croak_xs_usage(cv,  "THIS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, choices = 0, style = 0, validator = (wxValidator*)&wxDefaultValidator, name = wxListBoxNameStr");
23198     {
23199         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
23200         wxWindowID      id;
23201         wxPoint pos;
23202         wxSize  size;
23203         SV*     choices;
23204         long    style;
23205         wxValidator*    validator;
23206         wxString        name;
23207     wxString* chs;
23208     int n;
23209         wxCheckListBox *    THIS = (wxCheckListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::CheckListBox" );
23210         bool    RETVAL;
23211
23212         if (items < 3)
23213             id = wxID_ANY;
23214         else {
23215     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
23216         }
23217
23218         if (items < 4)
23219             pos = wxDefaultPosition;
23220         else {
23221     pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) );
23222         }
23223
23224         if (items < 5)
23225             size = wxDefaultSize;
23226         else {
23227     size = wxPli_sv_2_wxsize( aTHX_ ST(4) );
23228         }
23229
23230         if (items < 6)
23231             choices = 0;
23232         else {
23233             choices = ST(5);
23234         }
23235
23236         if (items < 7)
23237             style = 0;
23238         else {
23239             style = (long)SvIV(ST(6));
23240         }
23241
23242         if (items < 8)
23243             validator = (wxValidator*)&wxDefaultValidator;
23244         else {
23245     validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" );
23246         }
23247
23248         if (items < 9)
23249             name = wxListBoxNameStr;
23250         else {
23251     WXSTRING_INPUT( name, wxString, ST(8) );
23252         }
23253     if( choices ) 
23254         n = wxPli_av_2_stringarray( aTHX_ choices, &chs );
23255     else
23256     {
23257         n = 0;
23258         chs = 0;
23259     }
23260
23261     RETVAL = THIS->Create( parent, id, pos, size, n, chs, 
23262         style|wxLB_OWNERDRAW, *validator, name );
23263
23264     delete[] chs;
23265         ST(0) = boolSV(RETVAL);
23266         sv_2mortal(ST(0));
23267     }
23268     XSRETURN(1);
23269 }
23270
23271
23272 XS(XS_Wx__CheckListBox_Check); /* prototype to pass -Wmissing-prototypes */
23273 XS(XS_Wx__CheckListBox_Check)
23274 {
23275 #ifdef dVAR
23276     dVAR; dXSARGS;
23277 #else
23278     dXSARGS;
23279 #endif
23280     if (items < 2 || items > 3)
23281        croak_xs_usage(cv,  "THIS, item, check = false");
23282     {
23283         int     item = (int)SvIV(ST(1));
23284         bool    check;
23285         wxCheckListBox *    THIS = (wxCheckListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::CheckListBox" );
23286
23287         if (items < 3)
23288             check = false;
23289         else {
23290             check = (bool)SvTRUE(ST(2));
23291         }
23292
23293         THIS->Check(item, check);
23294     }
23295     XSRETURN_EMPTY;
23296 }
23297
23298
23299 XS(XS_Wx__CheckListBox_IsChecked); /* prototype to pass -Wmissing-prototypes */
23300 XS(XS_Wx__CheckListBox_IsChecked)
23301 {
23302 #ifdef dVAR
23303     dVAR; dXSARGS;
23304 #else
23305     dXSARGS;
23306 #endif
23307     if (items != 2)
23308        croak_xs_usage(cv,  "THIS, item");
23309     {
23310         int     item = (int)SvIV(ST(1));
23311         wxCheckListBox *    THIS = (wxCheckListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::CheckListBox" );
23312         bool    RETVAL;
23313
23314         RETVAL = THIS->IsChecked(item);
23315         ST(0) = boolSV(RETVAL);
23316         sv_2mortal(ST(0));
23317     }
23318     XSRETURN(1);
23319 }
23320
23321
23322 /* INCLUDE: Returning to 'XS/CheckBox.xs' from 'XS/CheckListBox.xs' */
23323
23324 #include <wx/checkbox.h>
23325
23326 XS(XS_Wx__CheckBox_new); /* prototype to pass -Wmissing-prototypes */
23327 XS(XS_Wx__CheckBox_new)
23328 {
23329 #ifdef dVAR
23330     dVAR; dXSARGS;
23331 #else
23332     dXSARGS;
23333 #endif
23334     PERL_UNUSED_VAR(cv); /* -W */
23335     PERL_UNUSED_VAR(ax); /* -Wall */
23336     SP -= items;
23337     {
23338     BEGIN_OVERLOAD()
23339         MATCH_VOIDM_REDISP( newDefault )
23340         MATCH_ANY_REDISP( newFull )
23341     END_OVERLOAD( "Wx::CheckBox::new" )
23342         PUTBACK;
23343         return;
23344     }
23345 }
23346
23347
23348 XS(XS_Wx__CheckBox_newDefault); /* prototype to pass -Wmissing-prototypes */
23349 XS(XS_Wx__CheckBox_newDefault)
23350 {
23351 #ifdef dVAR
23352     dVAR; dXSARGS;
23353 #else
23354     dXSARGS;
23355 #endif
23356     if (items != 1)
23357        croak_xs_usage(cv,  "CLASS");
23358     {
23359         PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) );
23360         wxCheckBox *    RETVAL;
23361     RETVAL = new wxCheckBox();
23362     wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
23363         ST(0) = sv_newmortal();
23364     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
23365
23366     }
23367     XSRETURN(1);
23368 }
23369
23370
23371 XS(XS_Wx__CheckBox_newFull); /* prototype to pass -Wmissing-prototypes */
23372 XS(XS_Wx__CheckBox_newFull)
23373 {
23374 #ifdef dVAR
23375     dVAR; dXSARGS;
23376 #else
23377     dXSARGS;
23378 #endif
23379     if (items < 4 || items > 9)
23380        croak_xs_usage(cv,  "CLASS, parent, id, label, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, validator = (wxValidator*)&wxDefaultValidator, name = wxCheckBoxNameStr");
23381     {
23382         PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) );
23383         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
23384         wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) );
23385         wxString        label;
23386         wxPoint pos;
23387         wxSize  size;
23388         long    style;
23389         wxValidator*    validator;
23390         wxString        name;
23391         wxCheckBox *    RETVAL;
23392
23393     WXSTRING_INPUT( label, wxString, ST(3) );
23394
23395         if (items < 5)
23396             pos = wxDefaultPosition;
23397         else {
23398     pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
23399         }
23400
23401         if (items < 6)
23402             size = wxDefaultSize;
23403         else {
23404     size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
23405         }
23406
23407         if (items < 7)
23408             style = 0;
23409         else {
23410             style = (long)SvIV(ST(6));
23411         }
23412
23413         if (items < 8)
23414             validator = (wxValidator*)&wxDefaultValidator;
23415         else {
23416     validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" );
23417         }
23418
23419         if (items < 9)
23420             name = wxCheckBoxNameStr;
23421         else {
23422     WXSTRING_INPUT( name, wxString, ST(8) );
23423         }
23424     RETVAL = new wxCheckBox( parent, id, label, pos, size, 
23425         style, *validator, name );
23426     wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
23427         ST(0) = sv_newmortal();
23428     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
23429
23430     }
23431     XSRETURN(1);
23432 }
23433
23434
23435 XS(XS_Wx__CheckBox_Create); /* prototype to pass -Wmissing-prototypes */
23436 XS(XS_Wx__CheckBox_Create)
23437 {
23438 #ifdef dVAR
23439     dVAR; dXSARGS;
23440 #else
23441     dXSARGS;
23442 #endif
23443     if (items < 4 || items > 9)
23444        croak_xs_usage(cv,  "THIS, parent, id, label, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, validator = (wxValidator*)&wxDefaultValidator, name = wxCheckBoxNameStr");
23445     {
23446         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
23447         wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) );
23448         wxString        label;
23449         wxPoint pos;
23450         wxSize  size;
23451         long    style;
23452         wxValidator*    validator;
23453         wxString        name;
23454         wxCheckBox *    THIS = (wxCheckBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::CheckBox" );
23455         bool    RETVAL;
23456
23457     WXSTRING_INPUT( label, wxString, ST(3) );
23458
23459         if (items < 5)
23460             pos = wxDefaultPosition;
23461         else {
23462     pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
23463         }
23464
23465         if (items < 6)
23466             size = wxDefaultSize;
23467         else {
23468     size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
23469         }
23470
23471         if (items < 7)
23472             style = 0;
23473         else {
23474             style = (long)SvIV(ST(6));
23475         }
23476
23477         if (items < 8)
23478             validator = (wxValidator*)&wxDefaultValidator;
23479         else {
23480     validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" );
23481         }
23482
23483         if (items < 9)
23484             name = wxCheckBoxNameStr;
23485         else {
23486     WXSTRING_INPUT( name, wxString, ST(8) );
23487         }
23488
23489         RETVAL = THIS->Create(parent, id, label, pos, size, style, *validator, name);
23490         ST(0) = boolSV(RETVAL);
23491         sv_2mortal(ST(0));
23492     }
23493     XSRETURN(1);
23494 }
23495
23496
23497 XS(XS_Wx__CheckBox_GetValue); /* prototype to pass -Wmissing-prototypes */
23498 XS(XS_Wx__CheckBox_GetValue)
23499 {
23500 #ifdef dVAR
23501     dVAR; dXSARGS;
23502 #else
23503     dXSARGS;
23504 #endif
23505     if (items != 1)
23506        croak_xs_usage(cv,  "THIS");
23507     {
23508         wxCheckBox *    THIS = (wxCheckBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::CheckBox" );
23509         bool    RETVAL;
23510
23511         RETVAL = THIS->GetValue();
23512         ST(0) = boolSV(RETVAL);
23513         sv_2mortal(ST(0));
23514     }
23515     XSRETURN(1);
23516 }
23517
23518 #if WXPERL_W_VERSION_GE( 2, 5, 1 )
23519 #define XSubPPtmpAADY 1
23520
23521
23522 XS(XS_Wx__CheckBox_Get3StateValue); /* prototype to pass -Wmissing-prototypes */
23523 XS(XS_Wx__CheckBox_Get3StateValue)
23524 {
23525 #ifdef dVAR
23526     dVAR; dXSARGS;
23527 #else
23528     dXSARGS;
23529 #endif
23530     if (items != 1)
23531        croak_xs_usage(cv,  "THIS");
23532     {
23533         wxCheckBox *    THIS = (wxCheckBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::CheckBox" );
23534         wxCheckBoxState RETVAL;
23535         dXSTARG;
23536
23537         RETVAL = THIS->Get3StateValue();
23538         XSprePUSH; PUSHi((IV)RETVAL);
23539     }
23540     XSRETURN(1);
23541 }
23542
23543
23544 XS(XS_Wx__CheckBox_Set3StateValue); /* prototype to pass -Wmissing-prototypes */
23545 XS(XS_Wx__CheckBox_Set3StateValue)
23546 {
23547 #ifdef dVAR
23548     dVAR; dXSARGS;
23549 #else
23550     dXSARGS;
23551 #endif
23552     if (items != 2)
23553        croak_xs_usage(cv,  "THIS, state");
23554     {
23555         wxCheckBoxState state = (wxCheckBoxState)SvIV(ST(1));
23556         wxCheckBox *    THIS = (wxCheckBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::CheckBox" );
23557
23558         THIS->Set3StateValue(state);
23559     }
23560     XSRETURN_EMPTY;
23561 }
23562
23563
23564 XS(XS_Wx__CheckBox_Is3State); /* prototype to pass -Wmissing-prototypes */
23565 XS(XS_Wx__CheckBox_Is3State)
23566 {
23567 #ifdef dVAR
23568     dVAR; dXSARGS;
23569 #else
23570     dXSARGS;
23571 #endif
23572     if (items != 1)
23573        croak_xs_usage(cv,  "THIS");
23574     {
23575         wxCheckBox *    THIS = (wxCheckBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::CheckBox" );
23576         bool    RETVAL;
23577
23578         RETVAL = THIS->Is3State();
23579         ST(0) = boolSV(RETVAL);
23580         sv_2mortal(ST(0));
23581     }
23582     XSRETURN(1);
23583 }
23584
23585
23586 XS(XS_Wx__CheckBox_Is3rdStateAllowedForUser); /* prototype to pass -Wmissing-prototypes */
23587 XS(XS_Wx__CheckBox_Is3rdStateAllowedForUser)
23588 {
23589 #ifdef dVAR
23590     dVAR; dXSARGS;
23591 #else
23592     dXSARGS;
23593 #endif
23594     if (items != 1)
23595        croak_xs_usage(cv,  "THIS");
23596     {
23597         wxCheckBox *    THIS = (wxCheckBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::CheckBox" );
23598         bool    RETVAL;
23599
23600         RETVAL = THIS->Is3rdStateAllowedForUser();
23601         ST(0) = boolSV(RETVAL);
23602         sv_2mortal(ST(0));
23603     }
23604     XSRETURN(1);
23605 }
23606
23607 #endif
23608
23609 XS(XS_Wx__CheckBox_SetValue); /* prototype to pass -Wmissing-prototypes */
23610 XS(XS_Wx__CheckBox_SetValue)
23611 {
23612 #ifdef dVAR
23613     dVAR; dXSARGS;
23614 #else
23615     dXSARGS;
23616 #endif
23617     if (items != 2)
23618        croak_xs_usage(cv,  "THIS, state");
23619     {
23620         bool    state = (bool)SvTRUE(ST(1));
23621         wxCheckBox *    THIS = (wxCheckBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::CheckBox" );
23622
23623         THIS->SetValue(state);
23624     }
23625     XSRETURN_EMPTY;
23626 }
23627
23628
23629 XS(XS_Wx__CheckBox_IsChecked); /* prototype to pass -Wmissing-prototypes */
23630 XS(XS_Wx__CheckBox_IsChecked)
23631 {
23632 #ifdef dVAR
23633     dVAR; dXSARGS;
23634 #else
23635     dXSARGS;
23636 #endif
23637     if (items != 1)
23638        croak_xs_usage(cv,  "THIS");
23639     {
23640         wxCheckBox *    THIS = (wxCheckBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::CheckBox" );
23641         bool    RETVAL;
23642
23643         RETVAL = THIS->IsChecked();
23644         ST(0) = boolSV(RETVAL);
23645         sv_2mortal(ST(0));
23646     }
23647     XSRETURN(1);
23648 }
23649
23650
23651 /* INCLUDE: Returning to 'XS/Button.xs' from 'XS/CheckBox.xs' */
23652
23653 #include <wx/button.h>
23654
23655 XS(XS_Wx__Button_new); /* prototype to pass -Wmissing-prototypes */
23656 XS(XS_Wx__Button_new)
23657 {
23658 #ifdef dVAR
23659     dVAR; dXSARGS;
23660 #else
23661     dXSARGS;
23662 #endif
23663     PERL_UNUSED_VAR(cv); /* -W */
23664     PERL_UNUSED_VAR(ax); /* -Wall */
23665     SP -= items;
23666     {
23667     BEGIN_OVERLOAD()
23668         MATCH_VOIDM_REDISP( newDefault )
23669         MATCH_ANY_REDISP( newFull )
23670     END_OVERLOAD( "Wx::Button::new" )
23671         PUTBACK;
23672         return;
23673     }
23674 }
23675
23676
23677 XS(XS_Wx__Button_newDefault); /* prototype to pass -Wmissing-prototypes */
23678 XS(XS_Wx__Button_newDefault)
23679 {
23680 #ifdef dVAR
23681     dVAR; dXSARGS;
23682 #else
23683     dXSARGS;
23684 #endif
23685     if (items != 1)
23686        croak_xs_usage(cv,  "CLASS");
23687     {
23688         PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) );
23689         wxButton *      RETVAL;
23690     RETVAL = new wxButton();
23691     wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
23692         ST(0) = sv_newmortal();
23693     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
23694
23695     }
23696     XSRETURN(1);
23697 }
23698
23699
23700 XS(XS_Wx__Button_newFull); /* prototype to pass -Wmissing-prototypes */
23701 XS(XS_Wx__Button_newFull)
23702 {
23703 #ifdef dVAR
23704     dVAR; dXSARGS;
23705 #else
23706     dXSARGS;
23707 #endif
23708     if (items < 4 || items > 9)
23709        croak_xs_usage(cv,  "CLASS, parent, id, label, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, validator = (wxValidator*)&wxDefaultValidator, name = wxButtonNameStr");
23710     {
23711         PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) );
23712         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
23713         wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) );
23714         wxString        label;
23715         wxPoint pos;
23716         wxSize  size;
23717         long    style;
23718         wxValidator*    validator;
23719         wxString        name;
23720         wxButton *      RETVAL;
23721
23722     WXSTRING_INPUT( label, wxString, ST(3) );
23723
23724         if (items < 5)
23725             pos = wxDefaultPosition;
23726         else {
23727     pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
23728         }
23729
23730         if (items < 6)
23731             size = wxDefaultSize;
23732         else {
23733     size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
23734         }
23735
23736         if (items < 7)
23737             style = 0;
23738         else {
23739             style = (long)SvIV(ST(6));
23740         }
23741
23742         if (items < 8)
23743             validator = (wxValidator*)&wxDefaultValidator;
23744         else {
23745     validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" );
23746         }
23747
23748         if (items < 9)
23749             name = wxButtonNameStr;
23750         else {
23751     WXSTRING_INPUT( name, wxString, ST(8) );
23752         }
23753     RETVAL = new wxButton( parent, id, label, pos, size, 
23754         style, *validator, name );
23755     wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
23756         ST(0) = sv_newmortal();
23757     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
23758
23759     }
23760     XSRETURN(1);
23761 }
23762
23763
23764 XS(XS_Wx__Button_Create); /* prototype to pass -Wmissing-prototypes */
23765 XS(XS_Wx__Button_Create)
23766 {
23767 #ifdef dVAR
23768     dVAR; dXSARGS;
23769 #else
23770     dXSARGS;
23771 #endif
23772     if (items < 4 || items > 9)
23773        croak_xs_usage(cv,  "THIS, parent, id, label, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, validator = (wxValidator*)&wxDefaultValidator, name = wxButtonNameStr");
23774     {
23775         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
23776         wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) );
23777         wxString        label;
23778         wxPoint pos;
23779         wxSize  size;
23780         long    style;
23781         wxValidator*    validator;
23782         wxString        name;
23783         wxButton *    THIS = (wxButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Button" );
23784         bool    RETVAL;
23785
23786     WXSTRING_INPUT( label, wxString, ST(3) );
23787
23788         if (items < 5)
23789             pos = wxDefaultPosition;
23790         else {
23791     pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
23792         }
23793
23794         if (items < 6)
23795             size = wxDefaultSize;
23796         else {
23797     size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
23798         }
23799
23800         if (items < 7)
23801             style = 0;
23802         else {
23803             style = (long)SvIV(ST(6));
23804         }
23805
23806         if (items < 8)
23807             validator = (wxValidator*)&wxDefaultValidator;
23808         else {
23809     validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" );
23810         }
23811
23812         if (items < 9)
23813             name = wxButtonNameStr;
23814         else {
23815     WXSTRING_INPUT( name, wxString, ST(8) );
23816         }
23817
23818         RETVAL = THIS->Create(parent, id, label, pos, size, style, *validator, name);
23819         ST(0) = boolSV(RETVAL);
23820         sv_2mortal(ST(0));
23821     }
23822     XSRETURN(1);
23823 }
23824
23825
23826 XS(XS_Wx__Button_GetDefaultSize); /* prototype to pass -Wmissing-prototypes */
23827 XS(XS_Wx__Button_GetDefaultSize)
23828 {
23829 #ifdef dVAR
23830     dVAR; dXSARGS;
23831 #else
23832     dXSARGS;
23833 #endif
23834     if (items != 0)
23835        croak_xs_usage(cv,  "");
23836     {
23837         wxSize *        RETVAL;
23838     RETVAL = new wxSize( wxButton::GetDefaultSize() );
23839         ST(0) = sv_newmortal();
23840     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Size" );
23841     wxPli_thread_sv_register( aTHX_ "Wx::Size", RETVAL, ST(0) );
23842
23843     }
23844     XSRETURN(1);
23845 }
23846
23847
23848 XS(XS_Wx__Button_SetDefault); /* prototype to pass -Wmissing-prototypes */
23849 XS(XS_Wx__Button_SetDefault)
23850 {
23851 #ifdef dVAR
23852     dVAR; dXSARGS;
23853 #else
23854     dXSARGS;
23855 #endif
23856     if (items != 1)
23857        croak_xs_usage(cv,  "THIS");
23858     {
23859         wxButton *    THIS = (wxButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Button" );
23860
23861         THIS->SetDefault();
23862     }
23863     XSRETURN_EMPTY;
23864 }
23865
23866
23867 /* INCLUDE: Returning to 'Controls.xs' from 'XS/Button.xs' */
23868
23869
23870 /* INCLUDE:  Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/TextAttr.xsp |' from 'Controls.xs' */
23871
23872 #include <wx/textctrl.h>
23873
23874 XS(XS_Wx__TextAttr_new); /* prototype to pass -Wmissing-prototypes */
23875 XS(XS_Wx__TextAttr_new)
23876 {
23877 #ifdef dVAR
23878     dVAR; dXSARGS;
23879 #else
23880     dXSARGS;
23881 #endif
23882     if (items < 1 || items > 4)
23883        croak_xs_usage(cv,  "CLASS, colText = wxNullColour, colBack = wxNullColour, font = (wxFont*)&wxNullFont");
23884     {
23885         wxColour        colText;
23886         wxColour        colBack;
23887         wxFont* font;
23888         char *  CLASS = (char *)SvPV_nolen(ST(0));
23889         wxTextAttr *    RETVAL;
23890
23891         if (items < 2)
23892             colText = wxNullColour;
23893         else {
23894     colText = *(wxColour *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Colour" );
23895         }
23896
23897         if (items < 3)
23898             colBack = wxNullColour;
23899         else {
23900     colBack = *(wxColour *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Colour" );
23901         }
23902
23903         if (items < 4)
23904             font = (wxFont*)&wxNullFont;
23905         else {
23906     font = (wxFont *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::Font" );
23907         }
23908     if( items == 1 )
23909         RETVAL = new wxTextAttr();
23910     else
23911         RETVAL = new wxTextAttr( colText, colBack, *font );
23912         ST(0) = sv_newmortal();
23913     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TextAttr" );
23914     wxPli_thread_sv_register( aTHX_ "Wx::TextAttr", RETVAL, ST(0) );
23915
23916     }
23917     XSRETURN(1);
23918 }
23919
23920
23921 XS(XS_Wx__TextAttr_DESTROY); /* prototype to pass -Wmissing-prototypes */
23922 XS(XS_Wx__TextAttr_DESTROY)
23923 {
23924 #ifdef dVAR
23925     dVAR; dXSARGS;
23926 #else
23927     dXSARGS;
23928 #endif
23929     if (items != 1)
23930        croak_xs_usage(cv,  "THIS");
23931     {
23932         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
23933     wxPli_thread_sv_unregister( aTHX_ "Wx::TextAttr", THIS, ST(0) );
23934     delete THIS;
23935     }
23936     XSRETURN_EMPTY;
23937 }
23938
23939
23940 XS(XS_Wx__TextAttr_CLONE); /* prototype to pass -Wmissing-prototypes */
23941 XS(XS_Wx__TextAttr_CLONE)
23942 {
23943 #ifdef dVAR
23944     dVAR; dXSARGS;
23945 #else
23946     dXSARGS;
23947 #endif
23948     if (items != 1)
23949        croak_xs_usage(cv,  "CLASS");
23950     {
23951         char *  CLASS = (char *)SvPV_nolen(ST(0));
23952     wxPli_thread_sv_clone( aTHX_ CLASS, (wxPliCloneSV)wxPli_detach_object );
23953     }
23954     XSRETURN_EMPTY;
23955 }
23956
23957 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
23958 #define XSubPPtmpAADZ 1
23959
23960
23961 XS(XS_Wx__TextAttr_Apply); /* prototype to pass -Wmissing-prototypes */
23962 XS(XS_Wx__TextAttr_Apply)
23963 {
23964 #ifdef dVAR
23965     dVAR; dXSARGS;
23966 #else
23967     dXSARGS;
23968 #endif
23969     if (items < 2 || items > 3)
23970        croak_xs_usage(cv,  "THIS, style, compareWith = NULL");
23971     {
23972         wxTextAttr*    style = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TextAttr" );
23973         wxTextAttr*     compareWith;
23974         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
23975         bool    RETVAL;
23976
23977         if (items < 3)
23978             compareWith = NULL;
23979         else {
23980     compareWith = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::TextAttr" );
23981         }
23982     RETVAL = THIS->Apply( *( style ), compareWith );
23983         ST(0) = boolSV(RETVAL);
23984         sv_2mortal(ST(0));
23985     }
23986     XSRETURN(1);
23987 }
23988
23989 #endif
23990 #if WXPERL_W_VERSION_GE( 2, 7, 0 )
23991 #define XSubPPtmpAAEA 1
23992
23993
23994 XS(XS_Wx__TextAttr_Merge); /* prototype to pass -Wmissing-prototypes */
23995 XS(XS_Wx__TextAttr_Merge)
23996 {
23997 #ifdef dVAR
23998     dVAR; dXSARGS;
23999 #else
24000     dXSARGS;
24001 #endif
24002     if (items != 2)
24003        croak_xs_usage(cv,  "THIS, overlay");
24004     {
24005         wxTextAttr*    overlay = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TextAttr" );
24006         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
24007     THIS->Merge( *( overlay ) );
24008     }
24009     XSRETURN_EMPTY;
24010 }
24011
24012 #endif
24013
24014 XS(XS_Wx__TextAttr_SetTextColour); /* prototype to pass -Wmissing-prototypes */
24015 XS(XS_Wx__TextAttr_SetTextColour)
24016 {
24017 #ifdef dVAR
24018     dVAR; dXSARGS;
24019 #else
24020     dXSARGS;
24021 #endif
24022     if (items != 2)
24023        croak_xs_usage(cv,  "THIS, colText");
24024     {
24025         wxColour*    colText = (wxColour *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Colour" );
24026         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
24027     THIS->SetTextColour( *( colText ) );
24028     }
24029     XSRETURN_EMPTY;
24030 }
24031
24032
24033 XS(XS_Wx__TextAttr_SetBackgroundColour); /* prototype to pass -Wmissing-prototypes */
24034 XS(XS_Wx__TextAttr_SetBackgroundColour)
24035 {
24036 #ifdef dVAR
24037     dVAR; dXSARGS;
24038 #else
24039     dXSARGS;
24040 #endif
24041     if (items != 2)
24042        croak_xs_usage(cv,  "THIS, colBack");
24043     {
24044         wxColour*    colBack = (wxColour *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Colour" );
24045         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
24046     THIS->SetBackgroundColour( *( colBack ) );
24047     }
24048     XSRETURN_EMPTY;
24049 }
24050
24051
24052 XS(XS_Wx__TextAttr_SetFont); /* prototype to pass -Wmissing-prototypes */
24053 XS(XS_Wx__TextAttr_SetFont)
24054 {
24055 #ifdef dVAR
24056     dVAR; dXSARGS;
24057 #else
24058     dXSARGS;
24059 #endif
24060     if (items < 2 || items > 3)
24061        croak_xs_usage(cv,  "THIS, font, flags = wxTEXT_ATTR_FONT");
24062     {
24063         wxFont*    font = (wxFont *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Font" );
24064         long    flags;
24065         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
24066
24067         if (items < 3)
24068             flags = wxTEXT_ATTR_FONT;
24069         else {
24070             flags = (long)SvIV(ST(2));
24071         }
24072     THIS->SetFont( *( font ), flags );
24073     }
24074     XSRETURN_EMPTY;
24075 }
24076
24077
24078 XS(XS_Wx__TextAttr_SetAlignment); /* prototype to pass -Wmissing-prototypes */
24079 XS(XS_Wx__TextAttr_SetAlignment)
24080 {
24081 #ifdef dVAR
24082     dVAR; dXSARGS;
24083 #else
24084     dXSARGS;
24085 #endif
24086     if (items != 2)
24087        croak_xs_usage(cv,  "THIS, alignment");
24088     {
24089         wxTextAttrAlignment     alignment = (wxTextAttrAlignment)SvIV(ST(1));
24090         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
24091
24092         THIS->SetAlignment(alignment);
24093     }
24094     XSRETURN_EMPTY;
24095 }
24096
24097
24098 XS(XS_Wx__TextAttr_SetTabs); /* prototype to pass -Wmissing-prototypes */
24099 XS(XS_Wx__TextAttr_SetTabs)
24100 {
24101 #ifdef dVAR
24102     dVAR; dXSARGS;
24103 #else
24104     dXSARGS;
24105 #endif
24106     if (items != 2)
24107        croak_xs_usage(cv,  "THIS, tabs");
24108     {
24109         wxArrayInt      tabs;
24110         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
24111
24112     wxPli_av_2_arrayint( aTHX_ ST(1), & tabs );
24113
24114         THIS->SetTabs(tabs);
24115     }
24116     XSRETURN_EMPTY;
24117 }
24118
24119
24120 XS(XS_Wx__TextAttr_SetLeftIndent); /* prototype to pass -Wmissing-prototypes */
24121 XS(XS_Wx__TextAttr_SetLeftIndent)
24122 {
24123 #ifdef dVAR
24124     dVAR; dXSARGS;
24125 #else
24126     dXSARGS;
24127 #endif
24128     if (items < 2 || items > 3)
24129        croak_xs_usage(cv,  "THIS, indent, subIndent = 0");
24130     {
24131         int     indent = (int)SvIV(ST(1));
24132         int     subIndent;
24133         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
24134
24135         if (items < 3)
24136             subIndent = 0;
24137         else {
24138             subIndent = (int)SvIV(ST(2));
24139         }
24140
24141         THIS->SetLeftIndent(indent, subIndent);
24142     }
24143     XSRETURN_EMPTY;
24144 }
24145
24146
24147 XS(XS_Wx__TextAttr_SetRightIndent); /* prototype to pass -Wmissing-prototypes */
24148 XS(XS_Wx__TextAttr_SetRightIndent)
24149 {
24150 #ifdef dVAR
24151     dVAR; dXSARGS;
24152 #else
24153     dXSARGS;
24154 #endif
24155     if (items != 2)
24156        croak_xs_usage(cv,  "THIS, indent");
24157     {
24158         int     indent = (int)SvIV(ST(1));
24159         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
24160
24161         THIS->SetRightIndent(indent);
24162     }
24163     XSRETURN_EMPTY;
24164 }
24165
24166
24167 XS(XS_Wx__TextAttr_SetFlags); /* prototype to pass -Wmissing-prototypes */
24168 XS(XS_Wx__TextAttr_SetFlags)
24169 {
24170 #ifdef dVAR
24171     dVAR; dXSARGS;
24172 #else
24173     dXSARGS;
24174 #endif
24175     if (items != 2)
24176        croak_xs_usage(cv,  "THIS, flags");
24177     {
24178         long    flags = (long)SvIV(ST(1));
24179         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
24180
24181         THIS->SetFlags(flags);
24182     }
24183     XSRETURN_EMPTY;
24184 }
24185
24186
24187 XS(XS_Wx__TextAttr_HasTextColour); /* prototype to pass -Wmissing-prototypes */
24188 XS(XS_Wx__TextAttr_HasTextColour)
24189 {
24190 #ifdef dVAR
24191     dVAR; dXSARGS;
24192 #else
24193     dXSARGS;
24194 #endif
24195     if (items != 1)
24196        croak_xs_usage(cv,  "THIS");
24197     {
24198         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
24199         bool    RETVAL;
24200
24201         RETVAL = THIS->HasTextColour();
24202         ST(0) = boolSV(RETVAL);
24203         sv_2mortal(ST(0));
24204     }
24205     XSRETURN(1);
24206 }
24207
24208
24209 XS(XS_Wx__TextAttr_HasBackgroundColour); /* prototype to pass -Wmissing-prototypes */
24210 XS(XS_Wx__TextAttr_HasBackgroundColour)
24211 {
24212 #ifdef dVAR
24213     dVAR; dXSARGS;
24214 #else
24215     dXSARGS;
24216 #endif
24217     if (items != 1)
24218        croak_xs_usage(cv,  "THIS");
24219     {
24220         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
24221         bool    RETVAL;
24222
24223         RETVAL = THIS->HasBackgroundColour();
24224         ST(0) = boolSV(RETVAL);
24225         sv_2mortal(ST(0));
24226     }
24227     XSRETURN(1);
24228 }
24229
24230
24231 XS(XS_Wx__TextAttr_HasFont); /* prototype to pass -Wmissing-prototypes */
24232 XS(XS_Wx__TextAttr_HasFont)
24233 {
24234 #ifdef dVAR
24235     dVAR; dXSARGS;
24236 #else
24237     dXSARGS;
24238 #endif
24239     if (items != 1)
24240        croak_xs_usage(cv,  "THIS");
24241     {
24242         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
24243         bool    RETVAL;
24244
24245         RETVAL = THIS->HasFont();
24246         ST(0) = boolSV(RETVAL);
24247         sv_2mortal(ST(0));
24248     }
24249     XSRETURN(1);
24250 }
24251
24252
24253 XS(XS_Wx__TextAttr_HasAlignment); /* prototype to pass -Wmissing-prototypes */
24254 XS(XS_Wx__TextAttr_HasAlignment)
24255 {
24256 #ifdef dVAR
24257     dVAR; dXSARGS;
24258 #else
24259     dXSARGS;
24260 #endif
24261     if (items != 1)
24262        croak_xs_usage(cv,  "THIS");
24263     {
24264         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
24265         bool    RETVAL;
24266
24267         RETVAL = THIS->HasAlignment();
24268         ST(0) = boolSV(RETVAL);
24269         sv_2mortal(ST(0));
24270     }
24271     XSRETURN(1);
24272 }
24273
24274
24275 XS(XS_Wx__TextAttr_HasTabs); /* prototype to pass -Wmissing-prototypes */
24276 XS(XS_Wx__TextAttr_HasTabs)
24277 {
24278 #ifdef dVAR
24279     dVAR; dXSARGS;
24280 #else
24281     dXSARGS;
24282 #endif
24283     if (items != 1)
24284        croak_xs_usage(cv,  "THIS");
24285     {
24286         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
24287         bool    RETVAL;
24288
24289         RETVAL = THIS->HasTabs();
24290         ST(0) = boolSV(RETVAL);
24291         sv_2mortal(ST(0));
24292     }
24293     XSRETURN(1);
24294 }
24295
24296
24297 XS(XS_Wx__TextAttr_HasLeftIndent); /* prototype to pass -Wmissing-prototypes */
24298 XS(XS_Wx__TextAttr_HasLeftIndent)
24299 {
24300 #ifdef dVAR
24301     dVAR; dXSARGS;
24302 #else
24303     dXSARGS;
24304 #endif
24305     if (items != 1)
24306        croak_xs_usage(cv,  "THIS");
24307     {
24308         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
24309         bool    RETVAL;
24310
24311         RETVAL = THIS->HasLeftIndent();
24312         ST(0) = boolSV(RETVAL);
24313         sv_2mortal(ST(0));
24314     }
24315     XSRETURN(1);
24316 }
24317
24318
24319 XS(XS_Wx__TextAttr_HasRightIndent); /* prototype to pass -Wmissing-prototypes */
24320 XS(XS_Wx__TextAttr_HasRightIndent)
24321 {
24322 #ifdef dVAR
24323     dVAR; dXSARGS;
24324 #else
24325     dXSARGS;
24326 #endif
24327     if (items != 1)
24328        croak_xs_usage(cv,  "THIS");
24329     {
24330         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
24331         bool    RETVAL;
24332
24333         RETVAL = THIS->HasRightIndent();
24334         ST(0) = boolSV(RETVAL);
24335         sv_2mortal(ST(0));
24336     }
24337     XSRETURN(1);
24338 }
24339
24340
24341 XS(XS_Wx__TextAttr_HasFlag); /* prototype to pass -Wmissing-prototypes */
24342 XS(XS_Wx__TextAttr_HasFlag)
24343 {
24344 #ifdef dVAR
24345     dVAR; dXSARGS;
24346 #else
24347     dXSARGS;
24348 #endif
24349     if (items != 2)
24350        croak_xs_usage(cv,  "THIS, flag");
24351     {
24352         long    flag = (long)SvIV(ST(1));
24353         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
24354         bool    RETVAL;
24355
24356         RETVAL = THIS->HasFlag(flag);
24357         ST(0) = boolSV(RETVAL);
24358         sv_2mortal(ST(0));
24359     }
24360     XSRETURN(1);
24361 }
24362
24363
24364 XS(XS_Wx__TextAttr_GetTextColour); /* prototype to pass -Wmissing-prototypes */
24365 XS(XS_Wx__TextAttr_GetTextColour)
24366 {
24367 #ifdef dVAR
24368     dVAR; dXSARGS;
24369 #else
24370     dXSARGS;
24371 #endif
24372     if (items != 1)
24373        croak_xs_usage(cv,  "THIS");
24374     {
24375         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
24376         wxColour *      RETVAL;
24377     RETVAL = new wxColour( THIS->GetTextColour() );
24378         ST(0) = sv_newmortal();
24379     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Colour" );
24380     wxPli_thread_sv_register( aTHX_ "Wx::Colour", RETVAL, ST(0) );
24381
24382     }
24383     XSRETURN(1);
24384 }
24385
24386
24387 XS(XS_Wx__TextAttr_GetBackgroundColour); /* prototype to pass -Wmissing-prototypes */
24388 XS(XS_Wx__TextAttr_GetBackgroundColour)
24389 {
24390 #ifdef dVAR
24391     dVAR; dXSARGS;
24392 #else
24393     dXSARGS;
24394 #endif
24395     if (items != 1)
24396        croak_xs_usage(cv,  "THIS");
24397     {
24398         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
24399         wxColour *      RETVAL;
24400     RETVAL = new wxColour( THIS->GetBackgroundColour() );
24401         ST(0) = sv_newmortal();
24402     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Colour" );
24403     wxPli_thread_sv_register( aTHX_ "Wx::Colour", RETVAL, ST(0) );
24404
24405     }
24406     XSRETURN(1);
24407 }
24408
24409
24410 XS(XS_Wx__TextAttr_GetFont); /* prototype to pass -Wmissing-prototypes */
24411 XS(XS_Wx__TextAttr_GetFont)
24412 {
24413 #ifdef dVAR
24414     dVAR; dXSARGS;
24415 #else
24416     dXSARGS;
24417 #endif
24418     if (items != 1)
24419        croak_xs_usage(cv,  "THIS");
24420     {
24421         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
24422         wxFont *        RETVAL;
24423     RETVAL = new wxFont( THIS->GetFont() );
24424         ST(0) = sv_newmortal();
24425     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
24426     wxPli_thread_sv_register( aTHX_ "Wx::Font", RETVAL, ST(0) );
24427
24428     }
24429     XSRETURN(1);
24430 }
24431
24432
24433 XS(XS_Wx__TextAttr_GetAlignment); /* prototype to pass -Wmissing-prototypes */
24434 XS(XS_Wx__TextAttr_GetAlignment)
24435 {
24436 #ifdef dVAR
24437     dVAR; dXSARGS;
24438 #else
24439     dXSARGS;
24440 #endif
24441     if (items != 1)
24442        croak_xs_usage(cv,  "THIS");
24443     {
24444         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
24445         wxTextAttrAlignment     RETVAL;
24446         dXSTARG;
24447
24448         RETVAL = THIS->GetAlignment();
24449         XSprePUSH; PUSHi((IV)RETVAL);
24450     }
24451     XSRETURN(1);
24452 }
24453
24454
24455 XS(XS_Wx__TextAttr_GetLeftIndent); /* prototype to pass -Wmissing-prototypes */
24456 XS(XS_Wx__TextAttr_GetLeftIndent)
24457 {
24458 #ifdef dVAR
24459     dVAR; dXSARGS;
24460 #else
24461     dXSARGS;
24462 #endif
24463     if (items != 1)
24464        croak_xs_usage(cv,  "THIS");
24465     {
24466         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
24467         long    RETVAL;
24468         dXSTARG;
24469
24470         RETVAL = THIS->GetLeftIndent();
24471         XSprePUSH; PUSHi((IV)RETVAL);
24472     }
24473     XSRETURN(1);
24474 }
24475
24476
24477 XS(XS_Wx__TextAttr_GetLeftSubIndent); /* prototype to pass -Wmissing-prototypes */
24478 XS(XS_Wx__TextAttr_GetLeftSubIndent)
24479 {
24480 #ifdef dVAR
24481     dVAR; dXSARGS;
24482 #else
24483     dXSARGS;
24484 #endif
24485     if (items != 1)
24486        croak_xs_usage(cv,  "THIS");
24487     {
24488         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
24489         long    RETVAL;
24490         dXSTARG;
24491
24492         RETVAL = THIS->GetLeftSubIndent();
24493         XSprePUSH; PUSHi((IV)RETVAL);
24494     }
24495     XSRETURN(1);
24496 }
24497
24498
24499 XS(XS_Wx__TextAttr_GetRightIndent); /* prototype to pass -Wmissing-prototypes */
24500 XS(XS_Wx__TextAttr_GetRightIndent)
24501 {
24502 #ifdef dVAR
24503     dVAR; dXSARGS;
24504 #else
24505     dXSARGS;
24506 #endif
24507     if (items != 1)
24508        croak_xs_usage(cv,  "THIS");
24509     {
24510         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
24511         long    RETVAL;
24512         dXSTARG;
24513
24514         RETVAL = THIS->GetRightIndent();
24515         XSprePUSH; PUSHi((IV)RETVAL);
24516     }
24517     XSRETURN(1);
24518 }
24519
24520
24521 XS(XS_Wx__TextAttr_GetFlags); /* prototype to pass -Wmissing-prototypes */
24522 XS(XS_Wx__TextAttr_GetFlags)
24523 {
24524 #ifdef dVAR
24525     dVAR; dXSARGS;
24526 #else
24527     dXSARGS;
24528 #endif
24529     if (items != 1)
24530        croak_xs_usage(cv,  "THIS");
24531     {
24532         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
24533         long    RETVAL;
24534         dXSTARG;
24535
24536         RETVAL = THIS->GetFlags();
24537         XSprePUSH; PUSHi((IV)RETVAL);
24538     }
24539     XSRETURN(1);
24540 }
24541
24542
24543 XS(XS_Wx__TextAttr_IsDefault); /* prototype to pass -Wmissing-prototypes */
24544 XS(XS_Wx__TextAttr_IsDefault)
24545 {
24546 #ifdef dVAR
24547     dVAR; dXSARGS;
24548 #else
24549     dXSARGS;
24550 #endif
24551     if (items != 1)
24552        croak_xs_usage(cv,  "THIS");
24553     {
24554         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
24555         bool    RETVAL;
24556
24557         RETVAL = THIS->IsDefault();
24558         ST(0) = boolSV(RETVAL);
24559         sv_2mortal(ST(0));
24560     }
24561     XSRETURN(1);
24562 }
24563
24564
24565 XS(XS_Wx__TextAttr_GetTabs); /* prototype to pass -Wmissing-prototypes */
24566 XS(XS_Wx__TextAttr_GetTabs)
24567 {
24568 #ifdef dVAR
24569     dVAR; dXSARGS;
24570 #else
24571     dXSARGS;
24572 #endif
24573     if (items != 1)
24574        croak_xs_usage(cv,  "THIS");
24575     PERL_UNUSED_VAR(ax); /* -Wall */
24576     SP -= items;
24577     {
24578         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
24579     const wxArrayInt& tabs = THIS->GetTabs();
24580     PUTBACK;
24581     wxPli_intarray_push( aTHX_ tabs );
24582     SPAGAIN;
24583         PUTBACK;
24584         return;
24585     }
24586 }
24587
24588 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
24589 #define XSubPPtmpAAEB 1
24590
24591
24592 XS(XS_Wx__TextAttr_GetFontEncoding); /* prototype to pass -Wmissing-prototypes */
24593 XS(XS_Wx__TextAttr_GetFontEncoding)
24594 {
24595 #ifdef dVAR
24596     dVAR; dXSARGS;
24597 #else
24598     dXSARGS;
24599 #endif
24600     if (items != 1)
24601        croak_xs_usage(cv,  "THIS");
24602     {
24603         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
24604         wxFontEncoding  RETVAL;
24605         dXSTARG;
24606
24607         RETVAL = THIS->GetFontEncoding();
24608         XSprePUSH; PUSHi((IV)RETVAL);
24609     }
24610     XSRETURN(1);
24611 }
24612
24613
24614 XS(XS_Wx__TextAttr_HasFontEncoding); /* prototype to pass -Wmissing-prototypes */
24615 XS(XS_Wx__TextAttr_HasFontEncoding)
24616 {
24617 #ifdef dVAR
24618     dVAR; dXSARGS;
24619 #else
24620     dXSARGS;
24621 #endif
24622     if (items != 1)
24623        croak_xs_usage(cv,  "THIS");
24624     {
24625         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
24626         bool    RETVAL;
24627
24628         RETVAL = THIS->HasFontEncoding();
24629         ST(0) = boolSV(RETVAL);
24630         sv_2mortal(ST(0));
24631     }
24632     XSRETURN(1);
24633 }
24634
24635
24636 XS(XS_Wx__TextAttr_SetFontEncoding); /* prototype to pass -Wmissing-prototypes */
24637 XS(XS_Wx__TextAttr_SetFontEncoding)
24638 {
24639 #ifdef dVAR
24640     dVAR; dXSARGS;
24641 #else
24642     dXSARGS;
24643 #endif
24644     if (items != 2)
24645        croak_xs_usage(cv,  "THIS, encoding");
24646     {
24647         wxFontEncoding  encoding = (wxFontEncoding)SvIV(ST(1));
24648         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
24649
24650         THIS->SetFontEncoding(encoding);
24651     }
24652     XSRETURN_EMPTY;
24653 }
24654
24655
24656 XS(XS_Wx__TextAttr_GetOutlineLevel); /* prototype to pass -Wmissing-prototypes */
24657 XS(XS_Wx__TextAttr_GetOutlineLevel)
24658 {
24659 #ifdef dVAR
24660     dVAR; dXSARGS;
24661 #else
24662     dXSARGS;
24663 #endif
24664     if (items != 1)
24665        croak_xs_usage(cv,  "THIS");
24666     {
24667         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
24668         int     RETVAL;
24669         dXSTARG;
24670
24671         RETVAL = THIS->GetOutlineLevel();
24672         XSprePUSH; PUSHi((IV)RETVAL);
24673     }
24674     XSRETURN(1);
24675 }
24676
24677
24678 XS(XS_Wx__TextAttr_HasOutlineLevel); /* prototype to pass -Wmissing-prototypes */
24679 XS(XS_Wx__TextAttr_HasOutlineLevel)
24680 {
24681 #ifdef dVAR
24682     dVAR; dXSARGS;
24683 #else
24684     dXSARGS;
24685 #endif
24686     if (items != 1)
24687        croak_xs_usage(cv,  "THIS");
24688     {
24689         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
24690         bool    RETVAL;
24691
24692         RETVAL = THIS->HasOutlineLevel();
24693         ST(0) = boolSV(RETVAL);
24694         sv_2mortal(ST(0));
24695     }
24696     XSRETURN(1);
24697 }
24698
24699
24700 XS(XS_Wx__TextAttr_SetOutlineLevel); /* prototype to pass -Wmissing-prototypes */
24701 XS(XS_Wx__TextAttr_SetOutlineLevel)
24702 {
24703 #ifdef dVAR
24704     dVAR; dXSARGS;
24705 #else
24706     dXSARGS;
24707 #endif
24708     if (items != 2)
24709        croak_xs_usage(cv,  "THIS, level");
24710     {
24711         int     level = (int)SvIV(ST(1));
24712         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
24713
24714         THIS->SetOutlineLevel(level);
24715     }
24716     XSRETURN_EMPTY;
24717 }
24718
24719
24720 XS(XS_Wx__TextAttr_GetTextEffects); /* prototype to pass -Wmissing-prototypes */
24721 XS(XS_Wx__TextAttr_GetTextEffects)
24722 {
24723 #ifdef dVAR
24724     dVAR; dXSARGS;
24725 #else
24726     dXSARGS;
24727 #endif
24728     if (items != 1)
24729        croak_xs_usage(cv,  "THIS");
24730     {
24731         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
24732         int     RETVAL;
24733         dXSTARG;
24734
24735         RETVAL = THIS->GetTextEffects();
24736         XSprePUSH; PUSHi((IV)RETVAL);
24737     }
24738     XSRETURN(1);
24739 }
24740
24741
24742 XS(XS_Wx__TextAttr_HasTextEffects); /* prototype to pass -Wmissing-prototypes */
24743 XS(XS_Wx__TextAttr_HasTextEffects)
24744 {
24745 #ifdef dVAR
24746     dVAR; dXSARGS;
24747 #else
24748     dXSARGS;
24749 #endif
24750     if (items != 1)
24751        croak_xs_usage(cv,  "THIS");
24752     {
24753         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
24754         bool    RETVAL;
24755
24756         RETVAL = THIS->HasTextEffects();
24757         ST(0) = boolSV(RETVAL);
24758         sv_2mortal(ST(0));
24759     }
24760     XSRETURN(1);
24761 }
24762
24763
24764 XS(XS_Wx__TextAttr_SetTextEffects); /* prototype to pass -Wmissing-prototypes */
24765 XS(XS_Wx__TextAttr_SetTextEffects)
24766 {
24767 #ifdef dVAR
24768     dVAR; dXSARGS;
24769 #else
24770     dXSARGS;
24771 #endif
24772     if (items != 2)
24773        croak_xs_usage(cv,  "THIS, effects");
24774     {
24775         int     effects = (int)SvIV(ST(1));
24776         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
24777
24778         THIS->SetTextEffects(effects);
24779     }
24780     XSRETURN_EMPTY;
24781 }
24782
24783
24784 XS(XS_Wx__TextAttr_GetTextEffectFlags); /* prototype to pass -Wmissing-prototypes */
24785 XS(XS_Wx__TextAttr_GetTextEffectFlags)
24786 {
24787 #ifdef dVAR
24788     dVAR; dXSARGS;
24789 #else
24790     dXSARGS;
24791 #endif
24792     if (items != 1)
24793        croak_xs_usage(cv,  "THIS");
24794     {
24795         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
24796         int     RETVAL;
24797         dXSTARG;
24798
24799         RETVAL = THIS->GetTextEffectFlags();
24800         XSprePUSH; PUSHi((IV)RETVAL);
24801     }
24802     XSRETURN(1);
24803 }
24804
24805
24806 XS(XS_Wx__TextAttr_HasTextEffect); /* prototype to pass -Wmissing-prototypes */
24807 XS(XS_Wx__TextAttr_HasTextEffect)
24808 {
24809 #ifdef dVAR
24810     dVAR; dXSARGS;
24811 #else
24812     dXSARGS;
24813 #endif
24814     if (items != 2)
24815        croak_xs_usage(cv,  "THIS, effect");
24816     {
24817         int     effect = (int)SvIV(ST(1));
24818         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
24819         bool    RETVAL;
24820
24821         RETVAL = THIS->HasTextEffect(effect);
24822         ST(0) = boolSV(RETVAL);
24823         sv_2mortal(ST(0));
24824     }
24825     XSRETURN(1);
24826 }
24827
24828
24829 XS(XS_Wx__TextAttr_SetTextEffectFlags); /* prototype to pass -Wmissing-prototypes */
24830 XS(XS_Wx__TextAttr_SetTextEffectFlags)
24831 {
24832 #ifdef dVAR
24833     dVAR; dXSARGS;
24834 #else
24835     dXSARGS;
24836 #endif
24837     if (items != 2)
24838        croak_xs_usage(cv,  "THIS, effects");
24839     {
24840         int     effects = (int)SvIV(ST(1));
24841         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
24842
24843         THIS->SetTextEffectFlags(effects);
24844     }
24845     XSRETURN_EMPTY;
24846 }
24847
24848 #endif
24849 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
24850 #define XSubPPtmpAAEC 1
24851
24852
24853 XS(XS_Wx__TextAttr_SetCharacterStyleName); /* prototype to pass -Wmissing-prototypes */
24854 XS(XS_Wx__TextAttr_SetCharacterStyleName)
24855 {
24856 #ifdef dVAR
24857     dVAR; dXSARGS;
24858 #else
24859     dXSARGS;
24860 #endif
24861     if (items != 2)
24862        croak_xs_usage(cv,  "THIS, name");
24863     {
24864         wxString        name;
24865         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
24866
24867     WXSTRING_INPUT( name, wxString, ST(1) );
24868
24869         THIS->SetCharacterStyleName(name);
24870     }
24871     XSRETURN_EMPTY;
24872 }
24873
24874
24875 XS(XS_Wx__TextAttr_SetParagraphStyleName); /* prototype to pass -Wmissing-prototypes */
24876 XS(XS_Wx__TextAttr_SetParagraphStyleName)
24877 {
24878 #ifdef dVAR
24879     dVAR; dXSARGS;
24880 #else
24881     dXSARGS;
24882 #endif
24883     if (items != 2)
24884        croak_xs_usage(cv,  "THIS, name");
24885     {
24886         wxString        name;
24887         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
24888
24889     WXSTRING_INPUT( name, wxString, ST(1) );
24890
24891         THIS->SetParagraphStyleName(name);
24892     }
24893     XSRETURN_EMPTY;
24894 }
24895
24896
24897 XS(XS_Wx__TextAttr_SetListStyleName); /* prototype to pass -Wmissing-prototypes */
24898 XS(XS_Wx__TextAttr_SetListStyleName)
24899 {
24900 #ifdef dVAR
24901     dVAR; dXSARGS;
24902 #else
24903     dXSARGS;
24904 #endif
24905     if (items != 2)
24906        croak_xs_usage(cv,  "THIS, name");
24907     {
24908         wxString        name;
24909         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
24910
24911     WXSTRING_INPUT( name, wxString, ST(1) );
24912
24913         THIS->SetListStyleName(name);
24914     }
24915     XSRETURN_EMPTY;
24916 }
24917
24918
24919 XS(XS_Wx__TextAttr_SetParagraphSpacingAfter); /* prototype to pass -Wmissing-prototypes */
24920 XS(XS_Wx__TextAttr_SetParagraphSpacingAfter)
24921 {
24922 #ifdef dVAR
24923     dVAR; dXSARGS;
24924 #else
24925     dXSARGS;
24926 #endif
24927     if (items != 2)
24928        croak_xs_usage(cv,  "THIS, spacing");
24929     {
24930         int     spacing = (int)SvIV(ST(1));
24931         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
24932
24933         THIS->SetParagraphSpacingAfter(spacing);
24934     }
24935     XSRETURN_EMPTY;
24936 }
24937
24938
24939 XS(XS_Wx__TextAttr_SetParagraphSpacingBefore); /* prototype to pass -Wmissing-prototypes */
24940 XS(XS_Wx__TextAttr_SetParagraphSpacingBefore)
24941 {
24942 #ifdef dVAR
24943     dVAR; dXSARGS;
24944 #else
24945     dXSARGS;
24946 #endif
24947     if (items != 2)
24948        croak_xs_usage(cv,  "THIS, spacing");
24949     {
24950         int     spacing = (int)SvIV(ST(1));
24951         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
24952
24953         THIS->SetParagraphSpacingBefore(spacing);
24954     }
24955     XSRETURN_EMPTY;
24956 }
24957
24958
24959 XS(XS_Wx__TextAttr_SetLineSpacing); /* prototype to pass -Wmissing-prototypes */
24960 XS(XS_Wx__TextAttr_SetLineSpacing)
24961 {
24962 #ifdef dVAR
24963     dVAR; dXSARGS;
24964 #else
24965     dXSARGS;
24966 #endif
24967     if (items != 2)
24968        croak_xs_usage(cv,  "THIS, spacing");
24969     {
24970         int     spacing = (int)SvIV(ST(1));
24971         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
24972
24973         THIS->SetLineSpacing(spacing);
24974     }
24975     XSRETURN_EMPTY;
24976 }
24977
24978
24979 XS(XS_Wx__TextAttr_SetBulletStyle); /* prototype to pass -Wmissing-prototypes */
24980 XS(XS_Wx__TextAttr_SetBulletStyle)
24981 {
24982 #ifdef dVAR
24983     dVAR; dXSARGS;
24984 #else
24985     dXSARGS;
24986 #endif
24987     if (items != 2)
24988        croak_xs_usage(cv,  "THIS, style");
24989     {
24990         int     style = (int)SvIV(ST(1));
24991         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
24992
24993         THIS->SetBulletStyle(style);
24994     }
24995     XSRETURN_EMPTY;
24996 }
24997
24998
24999 XS(XS_Wx__TextAttr_SetBulletNumber); /* prototype to pass -Wmissing-prototypes */
25000 XS(XS_Wx__TextAttr_SetBulletNumber)
25001 {
25002 #ifdef dVAR
25003     dVAR; dXSARGS;
25004 #else
25005     dXSARGS;
25006 #endif
25007     if (items != 2)
25008        croak_xs_usage(cv,  "THIS, n");
25009     {
25010         int     n = (int)SvIV(ST(1));
25011         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
25012
25013         THIS->SetBulletNumber(n);
25014     }
25015     XSRETURN_EMPTY;
25016 }
25017
25018
25019 XS(XS_Wx__TextAttr_SetBulletText); /* prototype to pass -Wmissing-prototypes */
25020 XS(XS_Wx__TextAttr_SetBulletText)
25021 {
25022 #ifdef dVAR
25023     dVAR; dXSARGS;
25024 #else
25025     dXSARGS;
25026 #endif
25027     if (items != 2)
25028        croak_xs_usage(cv,  "THIS, text");
25029     {
25030         wxString        text;
25031         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
25032
25033     WXSTRING_INPUT( text, wxString, ST(1) );
25034
25035         THIS->SetBulletText(text);
25036     }
25037     XSRETURN_EMPTY;
25038 }
25039
25040
25041 XS(XS_Wx__TextAttr_SetBulletName); /* prototype to pass -Wmissing-prototypes */
25042 XS(XS_Wx__TextAttr_SetBulletName)
25043 {
25044 #ifdef dVAR
25045     dVAR; dXSARGS;
25046 #else
25047     dXSARGS;
25048 #endif
25049     if (items != 2)
25050        croak_xs_usage(cv,  "THIS, name");
25051     {
25052         wxString        name;
25053         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
25054
25055     WXSTRING_INPUT( name, wxString, ST(1) );
25056
25057         THIS->SetBulletName(name);
25058     }
25059     XSRETURN_EMPTY;
25060 }
25061
25062
25063 XS(XS_Wx__TextAttr_SetBulletFont); /* prototype to pass -Wmissing-prototypes */
25064 XS(XS_Wx__TextAttr_SetBulletFont)
25065 {
25066 #ifdef dVAR
25067     dVAR; dXSARGS;
25068 #else
25069     dXSARGS;
25070 #endif
25071     if (items != 2)
25072        croak_xs_usage(cv,  "THIS, bulletFont");
25073     {
25074         wxString        bulletFont;
25075         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
25076
25077     WXSTRING_INPUT( bulletFont, wxString, ST(1) );
25078
25079         THIS->SetBulletFont(bulletFont);
25080     }
25081     XSRETURN_EMPTY;
25082 }
25083
25084
25085 XS(XS_Wx__TextAttr_SetURL); /* prototype to pass -Wmissing-prototypes */
25086 XS(XS_Wx__TextAttr_SetURL)
25087 {
25088 #ifdef dVAR
25089     dVAR; dXSARGS;
25090 #else
25091     dXSARGS;
25092 #endif
25093     if (items != 2)
25094        croak_xs_usage(cv,  "THIS, url");
25095     {
25096         wxString        url;
25097         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
25098
25099     WXSTRING_INPUT( url, wxString, ST(1) );
25100
25101         THIS->SetURL(url);
25102     }
25103     XSRETURN_EMPTY;
25104 }
25105
25106
25107 XS(XS_Wx__TextAttr_SetPageBreak); /* prototype to pass -Wmissing-prototypes */
25108 XS(XS_Wx__TextAttr_SetPageBreak)
25109 {
25110 #ifdef dVAR
25111     dVAR; dXSARGS;
25112 #else
25113     dXSARGS;
25114 #endif
25115     if (items < 1 || items > 2)
25116        croak_xs_usage(cv,  "THIS, pageBreak = true");
25117     {
25118         bool    pageBreak;
25119         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
25120
25121         if (items < 2)
25122             pageBreak = true;
25123         else {
25124             pageBreak = (bool)SvTRUE(ST(1));
25125         }
25126
25127         THIS->SetPageBreak(pageBreak);
25128     }
25129     XSRETURN_EMPTY;
25130 }
25131
25132
25133 XS(XS_Wx__TextAttr_GetCharacterStyleName); /* prototype to pass -Wmissing-prototypes */
25134 XS(XS_Wx__TextAttr_GetCharacterStyleName)
25135 {
25136 #ifdef dVAR
25137     dVAR; dXSARGS;
25138 #else
25139     dXSARGS;
25140 #endif
25141     if (items != 1)
25142        croak_xs_usage(cv,  "THIS");
25143     {
25144         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
25145         wxString        RETVAL;
25146
25147         RETVAL = THIS->GetCharacterStyleName();
25148         ST(0) = sv_newmortal();
25149     WXSTRING_OUTPUT( RETVAL, ST(0) );
25150
25151     }
25152     XSRETURN(1);
25153 }
25154
25155
25156 XS(XS_Wx__TextAttr_GetParagraphStyleName); /* prototype to pass -Wmissing-prototypes */
25157 XS(XS_Wx__TextAttr_GetParagraphStyleName)
25158 {
25159 #ifdef dVAR
25160     dVAR; dXSARGS;
25161 #else
25162     dXSARGS;
25163 #endif
25164     if (items != 1)
25165        croak_xs_usage(cv,  "THIS");
25166     {
25167         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
25168         wxString        RETVAL;
25169
25170         RETVAL = THIS->GetParagraphStyleName();
25171         ST(0) = sv_newmortal();
25172     WXSTRING_OUTPUT( RETVAL, ST(0) );
25173
25174     }
25175     XSRETURN(1);
25176 }
25177
25178
25179 XS(XS_Wx__TextAttr_GetListStyleName); /* prototype to pass -Wmissing-prototypes */
25180 XS(XS_Wx__TextAttr_GetListStyleName)
25181 {
25182 #ifdef dVAR
25183     dVAR; dXSARGS;
25184 #else
25185     dXSARGS;
25186 #endif
25187     if (items != 1)
25188        croak_xs_usage(cv,  "THIS");
25189     {
25190         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
25191         wxString        RETVAL;
25192
25193         RETVAL = THIS->GetListStyleName();
25194         ST(0) = sv_newmortal();
25195     WXSTRING_OUTPUT( RETVAL, ST(0) );
25196
25197     }
25198     XSRETURN(1);
25199 }
25200
25201
25202 XS(XS_Wx__TextAttr_GetParagraphSpacingAfter); /* prototype to pass -Wmissing-prototypes */
25203 XS(XS_Wx__TextAttr_GetParagraphSpacingAfter)
25204 {
25205 #ifdef dVAR
25206     dVAR; dXSARGS;
25207 #else
25208     dXSARGS;
25209 #endif
25210     if (items != 1)
25211        croak_xs_usage(cv,  "THIS");
25212     {
25213         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
25214         int     RETVAL;
25215         dXSTARG;
25216
25217         RETVAL = THIS->GetParagraphSpacingAfter();
25218         XSprePUSH; PUSHi((IV)RETVAL);
25219     }
25220     XSRETURN(1);
25221 }
25222
25223
25224 XS(XS_Wx__TextAttr_GetParagraphSpacingBefore); /* prototype to pass -Wmissing-prototypes */
25225 XS(XS_Wx__TextAttr_GetParagraphSpacingBefore)
25226 {
25227 #ifdef dVAR
25228     dVAR; dXSARGS;
25229 #else
25230     dXSARGS;
25231 #endif
25232     if (items != 1)
25233        croak_xs_usage(cv,  "THIS");
25234     {
25235         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
25236         int     RETVAL;
25237         dXSTARG;
25238
25239         RETVAL = THIS->GetParagraphSpacingBefore();
25240         XSprePUSH; PUSHi((IV)RETVAL);
25241     }
25242     XSRETURN(1);
25243 }
25244
25245
25246 XS(XS_Wx__TextAttr_GetLineSpacing); /* prototype to pass -Wmissing-prototypes */
25247 XS(XS_Wx__TextAttr_GetLineSpacing)
25248 {
25249 #ifdef dVAR
25250     dVAR; dXSARGS;
25251 #else
25252     dXSARGS;
25253 #endif
25254     if (items != 1)
25255        croak_xs_usage(cv,  "THIS");
25256     {
25257         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
25258         int     RETVAL;
25259         dXSTARG;
25260
25261         RETVAL = THIS->GetLineSpacing();
25262         XSprePUSH; PUSHi((IV)RETVAL);
25263     }
25264     XSRETURN(1);
25265 }
25266
25267
25268 XS(XS_Wx__TextAttr_GetBulletStyle); /* prototype to pass -Wmissing-prototypes */
25269 XS(XS_Wx__TextAttr_GetBulletStyle)
25270 {
25271 #ifdef dVAR
25272     dVAR; dXSARGS;
25273 #else
25274     dXSARGS;
25275 #endif
25276     if (items != 1)
25277        croak_xs_usage(cv,  "THIS");
25278     {
25279         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
25280         int     RETVAL;
25281         dXSTARG;
25282
25283         RETVAL = THIS->GetBulletStyle();
25284         XSprePUSH; PUSHi((IV)RETVAL);
25285     }
25286     XSRETURN(1);
25287 }
25288
25289
25290 XS(XS_Wx__TextAttr_GetBulletNumber); /* prototype to pass -Wmissing-prototypes */
25291 XS(XS_Wx__TextAttr_GetBulletNumber)
25292 {
25293 #ifdef dVAR
25294     dVAR; dXSARGS;
25295 #else
25296     dXSARGS;
25297 #endif
25298     if (items != 1)
25299        croak_xs_usage(cv,  "THIS");
25300     {
25301         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
25302         int     RETVAL;
25303         dXSTARG;
25304
25305         RETVAL = THIS->GetBulletNumber();
25306         XSprePUSH; PUSHi((IV)RETVAL);
25307     }
25308     XSRETURN(1);
25309 }
25310
25311
25312 XS(XS_Wx__TextAttr_GetBulletText); /* prototype to pass -Wmissing-prototypes */
25313 XS(XS_Wx__TextAttr_GetBulletText)
25314 {
25315 #ifdef dVAR
25316     dVAR; dXSARGS;
25317 #else
25318     dXSARGS;
25319 #endif
25320     if (items != 1)
25321        croak_xs_usage(cv,  "THIS");
25322     {
25323         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
25324         wxString        RETVAL;
25325
25326         RETVAL = THIS->GetBulletText();
25327         ST(0) = sv_newmortal();
25328     WXSTRING_OUTPUT( RETVAL, ST(0) );
25329
25330     }
25331     XSRETURN(1);
25332 }
25333
25334
25335 XS(XS_Wx__TextAttr_GetBulletName); /* prototype to pass -Wmissing-prototypes */
25336 XS(XS_Wx__TextAttr_GetBulletName)
25337 {
25338 #ifdef dVAR
25339     dVAR; dXSARGS;
25340 #else
25341     dXSARGS;
25342 #endif
25343     if (items != 1)
25344        croak_xs_usage(cv,  "THIS");
25345     {
25346         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
25347         wxString        RETVAL;
25348
25349         RETVAL = THIS->GetBulletName();
25350         ST(0) = sv_newmortal();
25351     WXSTRING_OUTPUT( RETVAL, ST(0) );
25352
25353     }
25354     XSRETURN(1);
25355 }
25356
25357
25358 XS(XS_Wx__TextAttr_GetBulletFont); /* prototype to pass -Wmissing-prototypes */
25359 XS(XS_Wx__TextAttr_GetBulletFont)
25360 {
25361 #ifdef dVAR
25362     dVAR; dXSARGS;
25363 #else
25364     dXSARGS;
25365 #endif
25366     if (items != 1)
25367        croak_xs_usage(cv,  "THIS");
25368     {
25369         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
25370         wxString        RETVAL;
25371
25372         RETVAL = THIS->GetBulletFont();
25373         ST(0) = sv_newmortal();
25374     WXSTRING_OUTPUT( RETVAL, ST(0) );
25375
25376     }
25377     XSRETURN(1);
25378 }
25379
25380
25381 XS(XS_Wx__TextAttr_GetURL); /* prototype to pass -Wmissing-prototypes */
25382 XS(XS_Wx__TextAttr_GetURL)
25383 {
25384 #ifdef dVAR
25385     dVAR; dXSARGS;
25386 #else
25387     dXSARGS;
25388 #endif
25389     if (items != 1)
25390        croak_xs_usage(cv,  "THIS");
25391     {
25392         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
25393         wxString        RETVAL;
25394
25395         RETVAL = THIS->GetURL();
25396         ST(0) = sv_newmortal();
25397     WXSTRING_OUTPUT( RETVAL, ST(0) );
25398
25399     }
25400     XSRETURN(1);
25401 }
25402
25403
25404 XS(XS_Wx__TextAttr_HasParagraphSpacingAfter); /* prototype to pass -Wmissing-prototypes */
25405 XS(XS_Wx__TextAttr_HasParagraphSpacingAfter)
25406 {
25407 #ifdef dVAR
25408     dVAR; dXSARGS;
25409 #else
25410     dXSARGS;
25411 #endif
25412     if (items != 1)
25413        croak_xs_usage(cv,  "THIS");
25414     {
25415         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
25416         bool    RETVAL;
25417
25418         RETVAL = THIS->HasParagraphSpacingAfter();
25419         ST(0) = boolSV(RETVAL);
25420         sv_2mortal(ST(0));
25421     }
25422     XSRETURN(1);
25423 }
25424
25425
25426 XS(XS_Wx__TextAttr_HasParagraphSpacingBefore); /* prototype to pass -Wmissing-prototypes */
25427 XS(XS_Wx__TextAttr_HasParagraphSpacingBefore)
25428 {
25429 #ifdef dVAR
25430     dVAR; dXSARGS;
25431 #else
25432     dXSARGS;
25433 #endif
25434     if (items != 1)
25435        croak_xs_usage(cv,  "THIS");
25436     {
25437         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
25438         bool    RETVAL;
25439
25440         RETVAL = THIS->HasParagraphSpacingBefore();
25441         ST(0) = boolSV(RETVAL);
25442         sv_2mortal(ST(0));
25443     }
25444     XSRETURN(1);
25445 }
25446
25447
25448 XS(XS_Wx__TextAttr_HasLineSpacing); /* prototype to pass -Wmissing-prototypes */
25449 XS(XS_Wx__TextAttr_HasLineSpacing)
25450 {
25451 #ifdef dVAR
25452     dVAR; dXSARGS;
25453 #else
25454     dXSARGS;
25455 #endif
25456     if (items != 1)
25457        croak_xs_usage(cv,  "THIS");
25458     {
25459         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
25460         bool    RETVAL;
25461
25462         RETVAL = THIS->HasLineSpacing();
25463         ST(0) = boolSV(RETVAL);
25464         sv_2mortal(ST(0));
25465     }
25466     XSRETURN(1);
25467 }
25468
25469
25470 XS(XS_Wx__TextAttr_HasCharacterStyleName); /* prototype to pass -Wmissing-prototypes */
25471 XS(XS_Wx__TextAttr_HasCharacterStyleName)
25472 {
25473 #ifdef dVAR
25474     dVAR; dXSARGS;
25475 #else
25476     dXSARGS;
25477 #endif
25478     if (items != 1)
25479        croak_xs_usage(cv,  "THIS");
25480     {
25481         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
25482         bool    RETVAL;
25483
25484         RETVAL = THIS->HasCharacterStyleName();
25485         ST(0) = boolSV(RETVAL);
25486         sv_2mortal(ST(0));
25487     }
25488     XSRETURN(1);
25489 }
25490
25491
25492 XS(XS_Wx__TextAttr_HasParagraphStyleName); /* prototype to pass -Wmissing-prototypes */
25493 XS(XS_Wx__TextAttr_HasParagraphStyleName)
25494 {
25495 #ifdef dVAR
25496     dVAR; dXSARGS;
25497 #else
25498     dXSARGS;
25499 #endif
25500     if (items != 1)
25501        croak_xs_usage(cv,  "THIS");
25502     {
25503         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
25504         bool    RETVAL;
25505
25506         RETVAL = THIS->HasParagraphStyleName();
25507         ST(0) = boolSV(RETVAL);
25508         sv_2mortal(ST(0));
25509     }
25510     XSRETURN(1);
25511 }
25512
25513
25514 XS(XS_Wx__TextAttr_HasListStyleName); /* prototype to pass -Wmissing-prototypes */
25515 XS(XS_Wx__TextAttr_HasListStyleName)
25516 {
25517 #ifdef dVAR
25518     dVAR; dXSARGS;
25519 #else
25520     dXSARGS;
25521 #endif
25522     if (items != 1)
25523        croak_xs_usage(cv,  "THIS");
25524     {
25525         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
25526         bool    RETVAL;
25527
25528         RETVAL = THIS->HasListStyleName();
25529         ST(0) = boolSV(RETVAL);
25530         sv_2mortal(ST(0));
25531     }
25532     XSRETURN(1);
25533 }
25534
25535
25536 XS(XS_Wx__TextAttr_HasBulletStyle); /* prototype to pass -Wmissing-prototypes */
25537 XS(XS_Wx__TextAttr_HasBulletStyle)
25538 {
25539 #ifdef dVAR
25540     dVAR; dXSARGS;
25541 #else
25542     dXSARGS;
25543 #endif
25544     if (items != 1)
25545        croak_xs_usage(cv,  "THIS");
25546     {
25547         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
25548         bool    RETVAL;
25549
25550         RETVAL = THIS->HasBulletStyle();
25551         ST(0) = boolSV(RETVAL);
25552         sv_2mortal(ST(0));
25553     }
25554     XSRETURN(1);
25555 }
25556
25557
25558 XS(XS_Wx__TextAttr_HasBulletNumber); /* prototype to pass -Wmissing-prototypes */
25559 XS(XS_Wx__TextAttr_HasBulletNumber)
25560 {
25561 #ifdef dVAR
25562     dVAR; dXSARGS;
25563 #else
25564     dXSARGS;
25565 #endif
25566     if (items != 1)
25567        croak_xs_usage(cv,  "THIS");
25568     {
25569         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
25570         bool    RETVAL;
25571
25572         RETVAL = THIS->HasBulletNumber();
25573         ST(0) = boolSV(RETVAL);
25574         sv_2mortal(ST(0));
25575     }
25576     XSRETURN(1);
25577 }
25578
25579
25580 XS(XS_Wx__TextAttr_HasBulletText); /* prototype to pass -Wmissing-prototypes */
25581 XS(XS_Wx__TextAttr_HasBulletText)
25582 {
25583 #ifdef dVAR
25584     dVAR; dXSARGS;
25585 #else
25586     dXSARGS;
25587 #endif
25588     if (items != 1)
25589        croak_xs_usage(cv,  "THIS");
25590     {
25591         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
25592         bool    RETVAL;
25593
25594         RETVAL = THIS->HasBulletText();
25595         ST(0) = boolSV(RETVAL);
25596         sv_2mortal(ST(0));
25597     }
25598     XSRETURN(1);
25599 }
25600
25601
25602 XS(XS_Wx__TextAttr_HasBulletName); /* prototype to pass -Wmissing-prototypes */
25603 XS(XS_Wx__TextAttr_HasBulletName)
25604 {
25605 #ifdef dVAR
25606     dVAR; dXSARGS;
25607 #else
25608     dXSARGS;
25609 #endif
25610     if (items != 1)
25611        croak_xs_usage(cv,  "THIS");
25612     {
25613         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
25614         bool    RETVAL;
25615
25616         RETVAL = THIS->HasBulletName();
25617         ST(0) = boolSV(RETVAL);
25618         sv_2mortal(ST(0));
25619     }
25620     XSRETURN(1);
25621 }
25622
25623
25624 XS(XS_Wx__TextAttr_HasURL); /* prototype to pass -Wmissing-prototypes */
25625 XS(XS_Wx__TextAttr_HasURL)
25626 {
25627 #ifdef dVAR
25628     dVAR; dXSARGS;
25629 #else
25630     dXSARGS;
25631 #endif
25632     if (items != 1)
25633        croak_xs_usage(cv,  "THIS");
25634     {
25635         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
25636         bool    RETVAL;
25637
25638         RETVAL = THIS->HasURL();
25639         ST(0) = boolSV(RETVAL);
25640         sv_2mortal(ST(0));
25641     }
25642     XSRETURN(1);
25643 }
25644
25645
25646 XS(XS_Wx__TextAttr_HasPageBreak); /* prototype to pass -Wmissing-prototypes */
25647 XS(XS_Wx__TextAttr_HasPageBreak)
25648 {
25649 #ifdef dVAR
25650     dVAR; dXSARGS;
25651 #else
25652     dXSARGS;
25653 #endif
25654     if (items != 1)
25655        croak_xs_usage(cv,  "THIS");
25656     {
25657         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
25658         bool    RETVAL;
25659
25660         RETVAL = THIS->HasPageBreak();
25661         ST(0) = boolSV(RETVAL);
25662         sv_2mortal(ST(0));
25663     }
25664     XSRETURN(1);
25665 }
25666
25667
25668 XS(XS_Wx__TextAttr_IsCharacterStyle); /* prototype to pass -Wmissing-prototypes */
25669 XS(XS_Wx__TextAttr_IsCharacterStyle)
25670 {
25671 #ifdef dVAR
25672     dVAR; dXSARGS;
25673 #else
25674     dXSARGS;
25675 #endif
25676     if (items != 1)
25677        croak_xs_usage(cv,  "THIS");
25678     {
25679         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
25680         bool    RETVAL;
25681
25682         RETVAL = THIS->IsCharacterStyle();
25683         ST(0) = boolSV(RETVAL);
25684         sv_2mortal(ST(0));
25685     }
25686     XSRETURN(1);
25687 }
25688
25689
25690 XS(XS_Wx__TextAttr_IsParagraphStyle); /* prototype to pass -Wmissing-prototypes */
25691 XS(XS_Wx__TextAttr_IsParagraphStyle)
25692 {
25693 #ifdef dVAR
25694     dVAR; dXSARGS;
25695 #else
25696     dXSARGS;
25697 #endif
25698     if (items != 1)
25699        croak_xs_usage(cv,  "THIS");
25700     {
25701         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
25702         bool    RETVAL;
25703
25704         RETVAL = THIS->IsParagraphStyle();
25705         ST(0) = boolSV(RETVAL);
25706         sv_2mortal(ST(0));
25707     }
25708     XSRETURN(1);
25709 }
25710
25711 #if WXPERL_W_VERSION_LT( 2, 9, 0 )
25712 #define XSubPPtmpAAED 1
25713
25714
25715 XS(XS_Wx__TextAttr_CreateFont); /* prototype to pass -Wmissing-prototypes */
25716 XS(XS_Wx__TextAttr_CreateFont)
25717 {
25718 #ifdef dVAR
25719     dVAR; dXSARGS;
25720 #else
25721     dXSARGS;
25722 #endif
25723     if (items != 1)
25724        croak_xs_usage(cv,  "THIS");
25725     {
25726         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
25727         wxFont *        RETVAL;
25728     RETVAL = new wxFont( THIS->CreateFont() );
25729         ST(0) = sv_newmortal();
25730     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
25731     wxPli_thread_sv_register( aTHX_ "Wx::Font", RETVAL, ST(0) );
25732
25733     }
25734     XSRETURN(1);
25735 }
25736
25737 #endif
25738
25739 XS(XS_Wx__TextAttr_GetFontAttributes); /* prototype to pass -Wmissing-prototypes */
25740 XS(XS_Wx__TextAttr_GetFontAttributes)
25741 {
25742 #ifdef dVAR
25743     dVAR; dXSARGS;
25744 #else
25745     dXSARGS;
25746 #endif
25747     if (items != 2)
25748        croak_xs_usage(cv,  "THIS, font");
25749     {
25750         wxFont*    font = (wxFont *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Font" );
25751         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
25752         bool    RETVAL;
25753     RETVAL = THIS->GetFontAttributes( *( font ) );
25754         ST(0) = boolSV(RETVAL);
25755         sv_2mortal(ST(0));
25756     }
25757     XSRETURN(1);
25758 }
25759
25760
25761 XS(XS_Wx__TextAttr_SetFontSize); /* prototype to pass -Wmissing-prototypes */
25762 XS(XS_Wx__TextAttr_SetFontSize)
25763 {
25764 #ifdef dVAR
25765     dVAR; dXSARGS;
25766 #else
25767     dXSARGS;
25768 #endif
25769     if (items != 2)
25770        croak_xs_usage(cv,  "THIS, pointSize");
25771     {
25772         int     pointSize = (int)SvIV(ST(1));
25773         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
25774
25775         THIS->SetFontSize(pointSize);
25776     }
25777     XSRETURN_EMPTY;
25778 }
25779
25780
25781 XS(XS_Wx__TextAttr_SetFontStyle); /* prototype to pass -Wmissing-prototypes */
25782 XS(XS_Wx__TextAttr_SetFontStyle)
25783 {
25784 #ifdef dVAR
25785     dVAR; dXSARGS;
25786 #else
25787     dXSARGS;
25788 #endif
25789     if (items != 2)
25790        croak_xs_usage(cv,  "THIS, fontStyle");
25791     {
25792         wxFontStyle     fontStyle = (wxFontStyle)SvIV(ST(1));
25793         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
25794
25795         THIS->SetFontStyle(fontStyle);
25796     }
25797     XSRETURN_EMPTY;
25798 }
25799
25800
25801 XS(XS_Wx__TextAttr_SetFontWeight); /* prototype to pass -Wmissing-prototypes */
25802 XS(XS_Wx__TextAttr_SetFontWeight)
25803 {
25804 #ifdef dVAR
25805     dVAR; dXSARGS;
25806 #else
25807     dXSARGS;
25808 #endif
25809     if (items != 2)
25810        croak_xs_usage(cv,  "THIS, fontWeight");
25811     {
25812         wxFontWeight    fontWeight = (wxFontWeight)SvIV(ST(1));
25813         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
25814
25815         THIS->SetFontWeight(fontWeight);
25816     }
25817     XSRETURN_EMPTY;
25818 }
25819
25820
25821 XS(XS_Wx__TextAttr_SetFontFaceName); /* prototype to pass -Wmissing-prototypes */
25822 XS(XS_Wx__TextAttr_SetFontFaceName)
25823 {
25824 #ifdef dVAR
25825     dVAR; dXSARGS;
25826 #else
25827     dXSARGS;
25828 #endif
25829     if (items != 2)
25830        croak_xs_usage(cv,  "THIS, faceName");
25831     {
25832         wxString        faceName;
25833         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
25834
25835     WXSTRING_INPUT( faceName, wxString, ST(1) );
25836
25837         THIS->SetFontFaceName(faceName);
25838     }
25839     XSRETURN_EMPTY;
25840 }
25841
25842
25843 XS(XS_Wx__TextAttr_SetFontUnderlined); /* prototype to pass -Wmissing-prototypes */
25844 XS(XS_Wx__TextAttr_SetFontUnderlined)
25845 {
25846 #ifdef dVAR
25847     dVAR; dXSARGS;
25848 #else
25849     dXSARGS;
25850 #endif
25851     if (items != 2)
25852        croak_xs_usage(cv,  "THIS, underlined");
25853     {
25854         bool    underlined = (bool)SvTRUE(ST(1));
25855         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
25856
25857         THIS->SetFontUnderlined(underlined);
25858     }
25859     XSRETURN_EMPTY;
25860 }
25861
25862
25863 XS(XS_Wx__TextAttr_GetFontSize); /* prototype to pass -Wmissing-prototypes */
25864 XS(XS_Wx__TextAttr_GetFontSize)
25865 {
25866 #ifdef dVAR
25867     dVAR; dXSARGS;
25868 #else
25869     dXSARGS;
25870 #endif
25871     if (items != 1)
25872        croak_xs_usage(cv,  "THIS");
25873     {
25874         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
25875         int     RETVAL;
25876         dXSTARG;
25877
25878         RETVAL = THIS->GetFontSize();
25879         XSprePUSH; PUSHi((IV)RETVAL);
25880     }
25881     XSRETURN(1);
25882 }
25883
25884
25885 XS(XS_Wx__TextAttr_GetFontStyle); /* prototype to pass -Wmissing-prototypes */
25886 XS(XS_Wx__TextAttr_GetFontStyle)
25887 {
25888 #ifdef dVAR
25889     dVAR; dXSARGS;
25890 #else
25891     dXSARGS;
25892 #endif
25893     if (items != 1)
25894        croak_xs_usage(cv,  "THIS");
25895     {
25896         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
25897         wxFontStyle     RETVAL;
25898         dXSTARG;
25899
25900         RETVAL = THIS->GetFontStyle();
25901         XSprePUSH; PUSHi((IV)RETVAL);
25902     }
25903     XSRETURN(1);
25904 }
25905
25906
25907 XS(XS_Wx__TextAttr_GetFontWeight); /* prototype to pass -Wmissing-prototypes */
25908 XS(XS_Wx__TextAttr_GetFontWeight)
25909 {
25910 #ifdef dVAR
25911     dVAR; dXSARGS;
25912 #else
25913     dXSARGS;
25914 #endif
25915     if (items != 1)
25916        croak_xs_usage(cv,  "THIS");
25917     {
25918         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
25919         wxFontWeight    RETVAL;
25920         dXSTARG;
25921
25922         RETVAL = THIS->GetFontWeight();
25923         XSprePUSH; PUSHi((IV)RETVAL);
25924     }
25925     XSRETURN(1);
25926 }
25927
25928
25929 XS(XS_Wx__TextAttr_GetFontUnderlined); /* prototype to pass -Wmissing-prototypes */
25930 XS(XS_Wx__TextAttr_GetFontUnderlined)
25931 {
25932 #ifdef dVAR
25933     dVAR; dXSARGS;
25934 #else
25935     dXSARGS;
25936 #endif
25937     if (items != 1)
25938        croak_xs_usage(cv,  "THIS");
25939     {
25940         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
25941         bool    RETVAL;
25942
25943         RETVAL = THIS->GetFontUnderlined();
25944         ST(0) = boolSV(RETVAL);
25945         sv_2mortal(ST(0));
25946     }
25947     XSRETURN(1);
25948 }
25949
25950
25951 XS(XS_Wx__TextAttr_GetFontFaceName); /* prototype to pass -Wmissing-prototypes */
25952 XS(XS_Wx__TextAttr_GetFontFaceName)
25953 {
25954 #ifdef dVAR
25955     dVAR; dXSARGS;
25956 #else
25957     dXSARGS;
25958 #endif
25959     if (items != 1)
25960        croak_xs_usage(cv,  "THIS");
25961     {
25962         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
25963         wxString        RETVAL;
25964
25965         RETVAL = THIS->GetFontFaceName();
25966         ST(0) = sv_newmortal();
25967     WXSTRING_OUTPUT( RETVAL, ST(0) );
25968
25969     }
25970     XSRETURN(1);
25971 }
25972
25973
25974 XS(XS_Wx__TextAttr_HasFontWeight); /* prototype to pass -Wmissing-prototypes */
25975 XS(XS_Wx__TextAttr_HasFontWeight)
25976 {
25977 #ifdef dVAR
25978     dVAR; dXSARGS;
25979 #else
25980     dXSARGS;
25981 #endif
25982     if (items != 1)
25983        croak_xs_usage(cv,  "THIS");
25984     {
25985         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
25986         bool    RETVAL;
25987
25988         RETVAL = THIS->HasFontWeight();
25989         ST(0) = boolSV(RETVAL);
25990         sv_2mortal(ST(0));
25991     }
25992     XSRETURN(1);
25993 }
25994
25995
25996 XS(XS_Wx__TextAttr_HasFontSize); /* prototype to pass -Wmissing-prototypes */
25997 XS(XS_Wx__TextAttr_HasFontSize)
25998 {
25999 #ifdef dVAR
26000     dVAR; dXSARGS;
26001 #else
26002     dXSARGS;
26003 #endif
26004     if (items != 1)
26005        croak_xs_usage(cv,  "THIS");
26006     {
26007         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
26008         bool    RETVAL;
26009
26010         RETVAL = THIS->HasFontSize();
26011         ST(0) = boolSV(RETVAL);
26012         sv_2mortal(ST(0));
26013     }
26014     XSRETURN(1);
26015 }
26016
26017
26018 XS(XS_Wx__TextAttr_HasFontItalic); /* prototype to pass -Wmissing-prototypes */
26019 XS(XS_Wx__TextAttr_HasFontItalic)
26020 {
26021 #ifdef dVAR
26022     dVAR; dXSARGS;
26023 #else
26024     dXSARGS;
26025 #endif
26026     if (items != 1)
26027        croak_xs_usage(cv,  "THIS");
26028     {
26029         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
26030         bool    RETVAL;
26031
26032         RETVAL = THIS->HasFontItalic();
26033         ST(0) = boolSV(RETVAL);
26034         sv_2mortal(ST(0));
26035     }
26036     XSRETURN(1);
26037 }
26038
26039
26040 XS(XS_Wx__TextAttr_HasFontUnderlined); /* prototype to pass -Wmissing-prototypes */
26041 XS(XS_Wx__TextAttr_HasFontUnderlined)
26042 {
26043 #ifdef dVAR
26044     dVAR; dXSARGS;
26045 #else
26046     dXSARGS;
26047 #endif
26048     if (items != 1)
26049        croak_xs_usage(cv,  "THIS");
26050     {
26051         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
26052         bool    RETVAL;
26053
26054         RETVAL = THIS->HasFontUnderlined();
26055         ST(0) = boolSV(RETVAL);
26056         sv_2mortal(ST(0));
26057     }
26058     XSRETURN(1);
26059 }
26060
26061
26062 XS(XS_Wx__TextAttr_HasFontFaceName); /* prototype to pass -Wmissing-prototypes */
26063 XS(XS_Wx__TextAttr_HasFontFaceName)
26064 {
26065 #ifdef dVAR
26066     dVAR; dXSARGS;
26067 #else
26068     dXSARGS;
26069 #endif
26070     if (items != 1)
26071        croak_xs_usage(cv,  "THIS");
26072     {
26073         wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" );
26074         bool    RETVAL;
26075
26076         RETVAL = THIS->HasFontFaceName();
26077         ST(0) = boolSV(RETVAL);
26078         sv_2mortal(ST(0));
26079     }
26080     XSRETURN(1);
26081 }
26082
26083 #endif
26084
26085 /* INCLUDE: Returning to 'Controls.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/TextAttr.xsp |' */
26086
26087
26088 /* INCLUDE:  Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/TextCtrl.xs |' from 'Controls.xs' */
26089
26090 #include <wx/textctrl.h>
26091
26092 XS(XS_Wx__TextUrlEvent_GetMouseEvent); /* prototype to pass -Wmissing-prototypes */
26093 XS(XS_Wx__TextUrlEvent_GetMouseEvent)
26094 {
26095 #ifdef dVAR
26096     dVAR; dXSARGS;
26097 #else
26098     dXSARGS;
26099 #endif
26100     if (items != 1)
26101        croak_xs_usage(cv,  "THIS");
26102     {
26103         wxTextUrlEvent *    THIS = (wxTextUrlEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextUrlEvent" );
26104         wxMouseEvent *  RETVAL;
26105     RETVAL = new wxMouseEvent( THIS->GetMouseEvent() );
26106         ST(0) = sv_newmortal();
26107     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
26108     wxPli_thread_sv_register( aTHX_ "Wx::MouseEvent", RETVAL, ST(0) );
26109
26110     }
26111     XSRETURN(1);
26112 }
26113
26114
26115 XS(XS_Wx__TextUrlEvent_GetURLStart); /* prototype to pass -Wmissing-prototypes */
26116 XS(XS_Wx__TextUrlEvent_GetURLStart)
26117 {
26118 #ifdef dVAR
26119     dVAR; dXSARGS;
26120 #else
26121     dXSARGS;
26122 #endif
26123     if (items != 1)
26124        croak_xs_usage(cv,  "THIS");
26125     {
26126         wxTextUrlEvent *    THIS = (wxTextUrlEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextUrlEvent" );
26127         long    RETVAL;
26128         dXSTARG;
26129
26130         RETVAL = THIS->GetURLStart();
26131         XSprePUSH; PUSHi((IV)RETVAL);
26132     }
26133     XSRETURN(1);
26134 }
26135
26136
26137 XS(XS_Wx__TextUrlEvent_GetURLEnd); /* prototype to pass -Wmissing-prototypes */
26138 XS(XS_Wx__TextUrlEvent_GetURLEnd)
26139 {
26140 #ifdef dVAR
26141     dVAR; dXSARGS;
26142 #else
26143     dXSARGS;
26144 #endif
26145     if (items != 1)
26146        croak_xs_usage(cv,  "THIS");
26147     {
26148         wxTextUrlEvent *    THIS = (wxTextUrlEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextUrlEvent" );
26149         long    RETVAL;
26150         dXSTARG;
26151
26152         RETVAL = THIS->GetURLEnd();
26153         XSprePUSH; PUSHi((IV)RETVAL);
26154     }
26155     XSRETURN(1);
26156 }
26157
26158
26159 XS(XS_Wx__TextCtrlBase_GetValue); /* prototype to pass -Wmissing-prototypes */
26160 XS(XS_Wx__TextCtrlBase_GetValue)
26161 {
26162 #ifdef dVAR
26163     dVAR; dXSARGS;
26164 #else
26165     dXSARGS;
26166 #endif
26167     if (items != 1)
26168        croak_xs_usage(cv,  "THIS");
26169     {
26170         wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" );
26171         wxString        RETVAL;
26172
26173         RETVAL = THIS->GetValue();
26174         ST(0) = sv_newmortal();
26175     WXSTRING_OUTPUT( RETVAL, ST(0) );
26176
26177     }
26178     XSRETURN(1);
26179 }
26180
26181 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
26182 #define XSubPPtmpAAEE 1
26183
26184
26185 XS(XS_Wx__TextCtrlBase_IsEmpty); /* prototype to pass -Wmissing-prototypes */
26186 XS(XS_Wx__TextCtrlBase_IsEmpty)
26187 {
26188 #ifdef dVAR
26189     dVAR; dXSARGS;
26190 #else
26191     dXSARGS;
26192 #endif
26193     if (items != 1)
26194        croak_xs_usage(cv,  "THIS");
26195     {
26196         wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" );
26197         bool    RETVAL;
26198
26199         RETVAL = THIS->IsEmpty();
26200         ST(0) = boolSV(RETVAL);
26201         sv_2mortal(ST(0));
26202     }
26203     XSRETURN(1);
26204 }
26205
26206 #endif
26207
26208 XS(XS_Wx__TextCtrlBase_SetValue); /* prototype to pass -Wmissing-prototypes */
26209 XS(XS_Wx__TextCtrlBase_SetValue)
26210 {
26211 #ifdef dVAR
26212     dVAR; dXSARGS;
26213 #else
26214     dXSARGS;
26215 #endif
26216     if (items != 2)
26217        croak_xs_usage(cv,  "THIS, value");
26218     {
26219         wxString        value;
26220         wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" );
26221
26222     WXSTRING_INPUT( value, wxString, ST(1) );
26223
26224         THIS->SetValue(value);
26225     }
26226     XSRETURN_EMPTY;
26227 }
26228
26229 #if WXPERL_W_VERSION_GE( 2, 7, 1 )
26230 #define XSubPPtmpAAEF 1
26231
26232
26233 XS(XS_Wx__TextCtrlBase_ChangeValue); /* prototype to pass -Wmissing-prototypes */
26234 XS(XS_Wx__TextCtrlBase_ChangeValue)
26235 {
26236 #ifdef dVAR
26237     dVAR; dXSARGS;
26238 #else
26239     dXSARGS;
26240 #endif
26241     if (items != 2)
26242        croak_xs_usage(cv,  "THIS, value");
26243     {
26244         wxString        value;
26245         wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" );
26246
26247     WXSTRING_INPUT( value, wxString, ST(1) );
26248
26249         THIS->ChangeValue(value);
26250     }
26251     XSRETURN_EMPTY;
26252 }
26253
26254 #endif
26255
26256 XS(XS_Wx__TextCtrlBase_GetRange); /* prototype to pass -Wmissing-prototypes */
26257 XS(XS_Wx__TextCtrlBase_GetRange)
26258 {
26259 #ifdef dVAR
26260     dVAR; dXSARGS;
26261 #else
26262     dXSARGS;
26263 #endif
26264     if (items != 3)
26265        croak_xs_usage(cv,  "THIS, from, to");
26266     {
26267         long    from = (long)SvIV(ST(1));
26268         long    to = (long)SvIV(ST(2));
26269         wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" );
26270         wxString        RETVAL;
26271
26272         RETVAL = THIS->GetRange(from, to);
26273         ST(0) = sv_newmortal();
26274     WXSTRING_OUTPUT( RETVAL, ST(0) );
26275
26276     }
26277     XSRETURN(1);
26278 }
26279
26280
26281 XS(XS_Wx__TextCtrlBase_GetLineLength); /* prototype to pass -Wmissing-prototypes */
26282 XS(XS_Wx__TextCtrlBase_GetLineLength)
26283 {
26284 #ifdef dVAR
26285     dVAR; dXSARGS;
26286 #else
26287     dXSARGS;
26288 #endif
26289     if (items != 2)
26290        croak_xs_usage(cv,  "THIS, lineNo");
26291     {
26292         long    lineNo = (long)SvIV(ST(1));
26293         wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" );
26294         int     RETVAL;
26295         dXSTARG;
26296
26297         RETVAL = THIS->GetLineLength(lineNo);
26298         XSprePUSH; PUSHi((IV)RETVAL);
26299     }
26300     XSRETURN(1);
26301 }
26302
26303
26304 XS(XS_Wx__TextCtrlBase_GetLineText); /* prototype to pass -Wmissing-prototypes */
26305 XS(XS_Wx__TextCtrlBase_GetLineText)
26306 {
26307 #ifdef dVAR
26308     dVAR; dXSARGS;
26309 #else
26310     dXSARGS;
26311 #endif
26312     if (items != 2)
26313        croak_xs_usage(cv,  "THIS, lineNo");
26314     {
26315         long    lineNo = (long)SvIV(ST(1));
26316         wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" );
26317         wxString        RETVAL;
26318
26319         RETVAL = THIS->GetLineText(lineNo);
26320         ST(0) = sv_newmortal();
26321     WXSTRING_OUTPUT( RETVAL, ST(0) );
26322
26323     }
26324     XSRETURN(1);
26325 }
26326
26327
26328 XS(XS_Wx__TextCtrlBase_GetNumberOfLines); /* prototype to pass -Wmissing-prototypes */
26329 XS(XS_Wx__TextCtrlBase_GetNumberOfLines)
26330 {
26331 #ifdef dVAR
26332     dVAR; dXSARGS;
26333 #else
26334     dXSARGS;
26335 #endif
26336     if (items != 1)
26337        croak_xs_usage(cv,  "THIS");
26338     {
26339         wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" );
26340         int     RETVAL;
26341         dXSTARG;
26342
26343         RETVAL = THIS->GetNumberOfLines();
26344         XSprePUSH; PUSHi((IV)RETVAL);
26345     }
26346     XSRETURN(1);
26347 }
26348
26349
26350 XS(XS_Wx__TextCtrlBase_IsModified); /* prototype to pass -Wmissing-prototypes */
26351 XS(XS_Wx__TextCtrlBase_IsModified)
26352 {
26353 #ifdef dVAR
26354     dVAR; dXSARGS;
26355 #else
26356     dXSARGS;
26357 #endif
26358     if (items != 1)
26359        croak_xs_usage(cv,  "THIS");
26360     {
26361         wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" );
26362         bool    RETVAL;
26363
26364         RETVAL = THIS->IsModified();
26365         ST(0) = boolSV(RETVAL);
26366         sv_2mortal(ST(0));
26367     }
26368     XSRETURN(1);
26369 }
26370
26371
26372 XS(XS_Wx__TextCtrlBase_IsEditable); /* prototype to pass -Wmissing-prototypes */
26373 XS(XS_Wx__TextCtrlBase_IsEditable)
26374 {
26375 #ifdef dVAR
26376     dVAR; dXSARGS;
26377 #else
26378     dXSARGS;
26379 #endif
26380     if (items != 1)
26381        croak_xs_usage(cv,  "THIS");
26382     {
26383         wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" );
26384         bool    RETVAL;
26385
26386         RETVAL = THIS->IsEditable();
26387         ST(0) = boolSV(RETVAL);
26388         sv_2mortal(ST(0));
26389     }
26390     XSRETURN(1);
26391 }
26392
26393
26394 XS(XS_Wx__TextCtrlBase_IsSingleLine); /* prototype to pass -Wmissing-prototypes */
26395 XS(XS_Wx__TextCtrlBase_IsSingleLine)
26396 {
26397 #ifdef dVAR
26398     dVAR; dXSARGS;
26399 #else
26400     dXSARGS;
26401 #endif
26402     if (items != 1)
26403        croak_xs_usage(cv,  "THIS");
26404     {
26405         wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" );
26406         bool    RETVAL;
26407
26408         RETVAL = THIS->IsSingleLine();
26409         ST(0) = boolSV(RETVAL);
26410         sv_2mortal(ST(0));
26411     }
26412     XSRETURN(1);
26413 }
26414
26415
26416 XS(XS_Wx__TextCtrlBase_IsMultiLine); /* prototype to pass -Wmissing-prototypes */
26417 XS(XS_Wx__TextCtrlBase_IsMultiLine)
26418 {
26419 #ifdef dVAR
26420     dVAR; dXSARGS;
26421 #else
26422     dXSARGS;
26423 #endif
26424     if (items != 1)
26425        croak_xs_usage(cv,  "THIS");
26426     {
26427         wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" );
26428         bool    RETVAL;
26429
26430         RETVAL = THIS->IsMultiLine();
26431         ST(0) = boolSV(RETVAL);
26432         sv_2mortal(ST(0));
26433     }
26434     XSRETURN(1);
26435 }
26436
26437
26438 XS(XS_Wx__TextCtrlBase_GetStringSelection); /* prototype to pass -Wmissing-prototypes */
26439 XS(XS_Wx__TextCtrlBase_GetStringSelection)
26440 {
26441 #ifdef dVAR
26442     dVAR; dXSARGS;
26443 #else
26444     dXSARGS;
26445 #endif
26446     if (items != 1)
26447        croak_xs_usage(cv,  "THIS");
26448     {
26449         wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" );
26450         wxString        RETVAL;
26451
26452         RETVAL = THIS->GetStringSelection();
26453         ST(0) = sv_newmortal();
26454     WXSTRING_OUTPUT( RETVAL, ST(0) );
26455
26456     }
26457     XSRETURN(1);
26458 }
26459
26460
26461 XS(XS_Wx__TextCtrlBase_Clear); /* prototype to pass -Wmissing-prototypes */
26462 XS(XS_Wx__TextCtrlBase_Clear)
26463 {
26464 #ifdef dVAR
26465     dVAR; dXSARGS;
26466 #else
26467     dXSARGS;
26468 #endif
26469     if (items != 1)
26470        croak_xs_usage(cv,  "THIS");
26471     {
26472         wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" );
26473
26474         THIS->Clear();
26475     }
26476     XSRETURN_EMPTY;
26477 }
26478
26479
26480 XS(XS_Wx__TextCtrlBase_Replace); /* prototype to pass -Wmissing-prototypes */
26481 XS(XS_Wx__TextCtrlBase_Replace)
26482 {
26483 #ifdef dVAR
26484     dVAR; dXSARGS;
26485 #else
26486     dXSARGS;
26487 #endif
26488     if (items != 4)
26489        croak_xs_usage(cv,  "THIS, from, to, value");
26490     {
26491         long    from = (long)SvIV(ST(1));
26492         long    to = (long)SvIV(ST(2));
26493         wxString        value;
26494         wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" );
26495
26496     WXSTRING_INPUT( value, wxString, ST(3) );
26497
26498         THIS->Replace(from, to, value);
26499     }
26500     XSRETURN_EMPTY;
26501 }
26502
26503
26504 XS(XS_Wx__TextCtrlBase_Remove); /* prototype to pass -Wmissing-prototypes */
26505 XS(XS_Wx__TextCtrlBase_Remove)
26506 {
26507 #ifdef dVAR
26508     dVAR; dXSARGS;
26509 #else
26510     dXSARGS;
26511 #endif
26512     if (items != 3)
26513        croak_xs_usage(cv,  "THIS, from, to");
26514     {
26515         long    from = (long)SvIV(ST(1));
26516         long    to = (long)SvIV(ST(2));
26517         wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" );
26518
26519         THIS->Remove(from, to);
26520     }
26521     XSRETURN_EMPTY;
26522 }
26523
26524 #if WXPERL_W_VERSION_GE( 2, 7, 1 )
26525 #define XSubPPtmpAAEG 1
26526
26527
26528 XS(XS_Wx__TextCtrlBase_LoadFile); /* prototype to pass -Wmissing-prototypes */
26529 XS(XS_Wx__TextCtrlBase_LoadFile)
26530 {
26531 #ifdef dVAR
26532     dVAR; dXSARGS;
26533 #else
26534     dXSARGS;
26535 #endif
26536     if (items < 2 || items > 3)
26537        croak_xs_usage(cv,  "THIS, file, fileType = wxTEXT_TYPE_ANY");
26538     {
26539         wxString        file;
26540         int     fileType;
26541         wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" );
26542         bool    RETVAL;
26543
26544     WXSTRING_INPUT( file, wxString, ST(1) );
26545
26546         if (items < 3)
26547             fileType = wxTEXT_TYPE_ANY;
26548         else {
26549             fileType = (int)SvIV(ST(2));
26550         }
26551
26552         RETVAL = THIS->LoadFile(file, fileType);
26553         ST(0) = boolSV(RETVAL);
26554         sv_2mortal(ST(0));
26555     }
26556     XSRETURN(1);
26557 }
26558
26559
26560 XS(XS_Wx__TextCtrlBase_SaveFile); /* prototype to pass -Wmissing-prototypes */
26561 XS(XS_Wx__TextCtrlBase_SaveFile)
26562 {
26563 #ifdef dVAR
26564     dVAR; dXSARGS;
26565 #else
26566     dXSARGS;
26567 #endif
26568     if (items < 1 || items > 3)
26569        croak_xs_usage(cv,  "THIS, file = wxEmptyString, fileType = wxTEXT_TYPE_ANY");
26570     {
26571         wxString        file;
26572         int     fileType;
26573         wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" );
26574         bool    RETVAL;
26575
26576         if (items < 2)
26577             file = wxEmptyString;
26578         else {
26579     WXSTRING_INPUT( file, wxString, ST(1) );
26580         }
26581
26582         if (items < 3)
26583             fileType = wxTEXT_TYPE_ANY;
26584         else {
26585             fileType = (int)SvIV(ST(2));
26586         }
26587
26588         RETVAL = THIS->SaveFile(file, fileType);
26589         ST(0) = boolSV(RETVAL);
26590         sv_2mortal(ST(0));
26591     }
26592     XSRETURN(1);
26593 }
26594
26595 #else
26596 #define XSubPPtmpAAEH 1
26597
26598
26599 XS(XS_Wx__TextCtrlBase_LoadFile); /* prototype to pass -Wmissing-prototypes */
26600 XS(XS_Wx__TextCtrlBase_LoadFile)
26601 {
26602 #ifdef dVAR
26603     dVAR; dXSARGS;
26604 #else
26605     dXSARGS;
26606 #endif
26607     if (items != 2)
26608        croak_xs_usage(cv,  "THIS, file");
26609     {
26610         wxString        file;
26611         wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" );
26612         bool    RETVAL;
26613
26614     WXSTRING_INPUT( file, wxString, ST(1) );
26615
26616         RETVAL = THIS->LoadFile(file);
26617         ST(0) = boolSV(RETVAL);
26618         sv_2mortal(ST(0));
26619     }
26620     XSRETURN(1);
26621 }
26622
26623
26624 XS(XS_Wx__TextCtrlBase_SaveFile); /* prototype to pass -Wmissing-prototypes */
26625 XS(XS_Wx__TextCtrlBase_SaveFile)
26626 {
26627 #ifdef dVAR
26628     dVAR; dXSARGS;
26629 #else
26630     dXSARGS;
26631 #endif
26632     if (items < 1 || items > 2)
26633        croak_xs_usage(cv,  "THIS, file = wxEmptyString");
26634     {
26635         wxString        file;
26636         wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" );
26637         bool    RETVAL;
26638
26639         if (items < 2)
26640             file = wxEmptyString;
26641         else {
26642     WXSTRING_INPUT( file, wxString, ST(1) );
26643         }
26644
26645         RETVAL = THIS->SaveFile(file);
26646         ST(0) = boolSV(RETVAL);
26647         sv_2mortal(ST(0));
26648     }
26649     XSRETURN(1);
26650 }
26651
26652 #endif
26653
26654 XS(XS_Wx__TextCtrlBase_MarkDirty); /* prototype to pass -Wmissing-prototypes */
26655 XS(XS_Wx__TextCtrlBase_MarkDirty)
26656 {
26657 #ifdef dVAR
26658     dVAR; dXSARGS;
26659 #else
26660     dXSARGS;
26661 #endif
26662     if (items != 1)
26663        croak_xs_usage(cv,  "THIS");
26664     {
26665         wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" );
26666
26667         THIS->MarkDirty();
26668     }
26669     XSRETURN_EMPTY;
26670 }
26671
26672
26673 XS(XS_Wx__TextCtrlBase_DiscardEdits); /* prototype to pass -Wmissing-prototypes */
26674 XS(XS_Wx__TextCtrlBase_DiscardEdits)
26675 {
26676 #ifdef dVAR
26677     dVAR; dXSARGS;
26678 #else
26679     dXSARGS;
26680 #endif
26681     if (items != 1)
26682        croak_xs_usage(cv,  "THIS");
26683     {
26684         wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" );
26685
26686         THIS->DiscardEdits();
26687     }
26688     XSRETURN_EMPTY;
26689 }
26690
26691 #if WXPERL_W_VERSION_GE( 2, 7, 0 )
26692 #define XSubPPtmpAAEI 1
26693
26694
26695 XS(XS_Wx__TextCtrlBase_SetModified); /* prototype to pass -Wmissing-prototypes */
26696 XS(XS_Wx__TextCtrlBase_SetModified)
26697 {
26698 #ifdef dVAR
26699     dVAR; dXSARGS;
26700 #else
26701     dXSARGS;
26702 #endif
26703     if (items != 2)
26704        croak_xs_usage(cv,  "THIS, modified");
26705     {
26706         bool    modified = (bool)SvTRUE(ST(1));
26707         wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" );
26708
26709         THIS->SetModified(modified);
26710     }
26711     XSRETURN_EMPTY;
26712 }
26713
26714 #endif
26715
26716 XS(XS_Wx__TextCtrlBase_SetMaxLength); /* prototype to pass -Wmissing-prototypes */
26717 XS(XS_Wx__TextCtrlBase_SetMaxLength)
26718 {
26719 #ifdef dVAR
26720     dVAR; dXSARGS;
26721 #else
26722     dXSARGS;
26723 #endif
26724     if (items != 2)
26725        croak_xs_usage(cv,  "THIS, len");
26726     {
26727         unsigned long    len = (unsigned long)SvUV( ST(1) );
26728         wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" );
26729
26730         THIS->SetMaxLength(len);
26731     }
26732     XSRETURN_EMPTY;
26733 }
26734
26735
26736 XS(XS_Wx__TextCtrlBase_WriteText); /* prototype to pass -Wmissing-prototypes */
26737 XS(XS_Wx__TextCtrlBase_WriteText)
26738 {
26739 #ifdef dVAR
26740     dVAR; dXSARGS;
26741 #else
26742     dXSARGS;
26743 #endif
26744     if (items != 2)
26745        croak_xs_usage(cv,  "THIS, text");
26746     {
26747         wxString        text;
26748         wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" );
26749
26750     WXSTRING_INPUT( text, wxString, ST(1) );
26751
26752         THIS->WriteText(text);
26753     }
26754     XSRETURN_EMPTY;
26755 }
26756
26757
26758 XS(XS_Wx__TextCtrlBase_AppendText); /* prototype to pass -Wmissing-prototypes */
26759 XS(XS_Wx__TextCtrlBase_AppendText)
26760 {
26761 #ifdef dVAR
26762     dVAR; dXSARGS;
26763 #else
26764     dXSARGS;
26765 #endif
26766     if (items != 2)
26767        croak_xs_usage(cv,  "THIS, text");
26768     {
26769         wxString        text;
26770         wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" );
26771
26772     WXSTRING_INPUT( text, wxString, ST(1) );
26773
26774         THIS->AppendText(text);
26775     }
26776     XSRETURN_EMPTY;
26777 }
26778
26779
26780 XS(XS_Wx__TextCtrlBase_EmulateKeyPress); /* prototype to pass -Wmissing-prototypes */
26781 XS(XS_Wx__TextCtrlBase_EmulateKeyPress)
26782 {
26783 #ifdef dVAR
26784     dVAR; dXSARGS;
26785 #else
26786     dXSARGS;
26787 #endif
26788     if (items != 2)
26789        croak_xs_usage(cv,  "THIS, event");
26790     {
26791         wxKeyEvent*    event = (wxKeyEvent *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::KeyEvent" );
26792         wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" );
26793         bool    RETVAL;
26794     RETVAL = THIS->EmulateKeyPress( *( event ) );
26795         ST(0) = boolSV(RETVAL);
26796         sv_2mortal(ST(0));
26797     }
26798     XSRETURN(1);
26799 }
26800
26801
26802 XS(XS_Wx__TextCtrlBase_SetStyle); /* prototype to pass -Wmissing-prototypes */
26803 XS(XS_Wx__TextCtrlBase_SetStyle)
26804 {
26805 #ifdef dVAR
26806     dVAR; dXSARGS;
26807 #else
26808     dXSARGS;
26809 #endif
26810     if (items != 4)
26811        croak_xs_usage(cv,  "THIS, start, end, style");
26812     {
26813         long    start = (long)SvIV(ST(1));
26814         long    end = (long)SvIV(ST(2));
26815         wxTextAttr*    style = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::TextAttr" );
26816         wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" );
26817         bool    RETVAL;
26818     RETVAL = THIS->SetStyle( start, end, *( style ) );
26819         ST(0) = boolSV(RETVAL);
26820         sv_2mortal(ST(0));
26821     }
26822     XSRETURN(1);
26823 }
26824
26825
26826 XS(XS_Wx__TextCtrlBase_SetDefaultStyle); /* prototype to pass -Wmissing-prototypes */
26827 XS(XS_Wx__TextCtrlBase_SetDefaultStyle)
26828 {
26829 #ifdef dVAR
26830     dVAR; dXSARGS;
26831 #else
26832     dXSARGS;
26833 #endif
26834     if (items != 2)
26835        croak_xs_usage(cv,  "THIS, style");
26836     {
26837         wxTextAttr*    style = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TextAttr" );
26838         wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" );
26839         bool    RETVAL;
26840     RETVAL = THIS->SetDefaultStyle( *( style ) );
26841         ST(0) = boolSV(RETVAL);
26842         sv_2mortal(ST(0));
26843     }
26844     XSRETURN(1);
26845 }
26846
26847
26848 XS(XS_Wx__TextCtrlBase_GetDefaultStyle); /* prototype to pass -Wmissing-prototypes */
26849 XS(XS_Wx__TextCtrlBase_GetDefaultStyle)
26850 {
26851 #ifdef dVAR
26852     dVAR; dXSARGS;
26853 #else
26854     dXSARGS;
26855 #endif
26856     if (items != 1)
26857        croak_xs_usage(cv,  "THIS");
26858     {
26859         wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" );
26860         wxTextAttr *    RETVAL;
26861     RETVAL = new wxTextAttr( THIS->GetDefaultStyle() );
26862         ST(0) = sv_newmortal();
26863     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TextAttr" );
26864     wxPli_thread_sv_register( aTHX_ "Wx::TextAttr", RETVAL, ST(0) );
26865
26866     }
26867     XSRETURN(1);
26868 }
26869
26870
26871 XS(XS_Wx__TextCtrlBase_XYToPosition); /* prototype to pass -Wmissing-prototypes */
26872 XS(XS_Wx__TextCtrlBase_XYToPosition)
26873 {
26874 #ifdef dVAR
26875     dVAR; dXSARGS;
26876 #else
26877     dXSARGS;
26878 #endif
26879     if (items != 3)
26880        croak_xs_usage(cv,  "THIS, x, y");
26881     {
26882         long    x = (long)SvIV(ST(1));
26883         long    y = (long)SvIV(ST(2));
26884         wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" );
26885         long    RETVAL;
26886         dXSTARG;
26887
26888         RETVAL = THIS->XYToPosition(x, y);
26889         XSprePUSH; PUSHi((IV)RETVAL);
26890     }
26891     XSRETURN(1);
26892 }
26893
26894
26895 XS(XS_Wx__TextCtrlBase_ShowPosition); /* prototype to pass -Wmissing-prototypes */
26896 XS(XS_Wx__TextCtrlBase_ShowPosition)
26897 {
26898 #ifdef dVAR
26899     dVAR; dXSARGS;
26900 #else
26901     dXSARGS;
26902 #endif
26903     if (items != 2)
26904        croak_xs_usage(cv,  "THIS, pos");
26905     {
26906         long    pos = (long)SvIV(ST(1));
26907         wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" );
26908
26909         THIS->ShowPosition(pos);
26910     }
26911     XSRETURN_EMPTY;
26912 }
26913
26914
26915 XS(XS_Wx__TextCtrlBase_Copy); /* prototype to pass -Wmissing-prototypes */
26916 XS(XS_Wx__TextCtrlBase_Copy)
26917 {
26918 #ifdef dVAR
26919     dVAR; dXSARGS;
26920 #else
26921     dXSARGS;
26922 #endif
26923     if (items != 1)
26924        croak_xs_usage(cv,  "THIS");
26925     {
26926         wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" );
26927
26928         THIS->Copy();
26929     }
26930     XSRETURN_EMPTY;
26931 }
26932
26933
26934 XS(XS_Wx__TextCtrlBase_Cut); /* prototype to pass -Wmissing-prototypes */
26935 XS(XS_Wx__TextCtrlBase_Cut)
26936 {
26937 #ifdef dVAR
26938     dVAR; dXSARGS;
26939 #else
26940     dXSARGS;
26941 #endif
26942     if (items != 1)
26943        croak_xs_usage(cv,  "THIS");
26944     {
26945         wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" );
26946
26947         THIS->Cut();
26948     }
26949     XSRETURN_EMPTY;
26950 }
26951
26952
26953 XS(XS_Wx__TextCtrlBase_Paste); /* prototype to pass -Wmissing-prototypes */
26954 XS(XS_Wx__TextCtrlBase_Paste)
26955 {
26956 #ifdef dVAR
26957     dVAR; dXSARGS;
26958 #else
26959     dXSARGS;
26960 #endif
26961     if (items != 1)
26962        croak_xs_usage(cv,  "THIS");
26963     {
26964         wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" );
26965
26966         THIS->Paste();
26967     }
26968     XSRETURN_EMPTY;
26969 }
26970
26971
26972 XS(XS_Wx__TextCtrlBase_CanCopy); /* prototype to pass -Wmissing-prototypes */
26973 XS(XS_Wx__TextCtrlBase_CanCopy)
26974 {
26975 #ifdef dVAR
26976     dVAR; dXSARGS;
26977 #else
26978     dXSARGS;
26979 #endif
26980     if (items != 1)
26981        croak_xs_usage(cv,  "THIS");
26982     {
26983         wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" );
26984         bool    RETVAL;
26985
26986         RETVAL = THIS->CanCopy();
26987         ST(0) = boolSV(RETVAL);
26988         sv_2mortal(ST(0));
26989     }
26990     XSRETURN(1);
26991 }
26992
26993
26994 XS(XS_Wx__TextCtrlBase_CanCut); /* prototype to pass -Wmissing-prototypes */
26995 XS(XS_Wx__TextCtrlBase_CanCut)
26996 {
26997 #ifdef dVAR
26998     dVAR; dXSARGS;
26999 #else
27000     dXSARGS;
27001 #endif
27002     if (items != 1)
27003        croak_xs_usage(cv,  "THIS");
27004     {
27005         wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" );
27006         bool    RETVAL;
27007
27008         RETVAL = THIS->CanCut();
27009         ST(0) = boolSV(RETVAL);
27010         sv_2mortal(ST(0));
27011     }
27012     XSRETURN(1);
27013 }
27014
27015
27016 XS(XS_Wx__TextCtrlBase_CanPaste); /* prototype to pass -Wmissing-prototypes */
27017 XS(XS_Wx__TextCtrlBase_CanPaste)
27018 {
27019 #ifdef dVAR
27020     dVAR; dXSARGS;
27021 #else
27022     dXSARGS;
27023 #endif
27024     if (items != 1)
27025        croak_xs_usage(cv,  "THIS");
27026     {
27027         wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" );
27028         bool    RETVAL;
27029
27030         RETVAL = THIS->CanPaste();
27031         ST(0) = boolSV(RETVAL);
27032         sv_2mortal(ST(0));
27033     }
27034     XSRETURN(1);
27035 }
27036
27037
27038 XS(XS_Wx__TextCtrlBase_Undo); /* prototype to pass -Wmissing-prototypes */
27039 XS(XS_Wx__TextCtrlBase_Undo)
27040 {
27041 #ifdef dVAR
27042     dVAR; dXSARGS;
27043 #else
27044     dXSARGS;
27045 #endif
27046     if (items != 1)
27047        croak_xs_usage(cv,  "THIS");
27048     {
27049         wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" );
27050
27051         THIS->Undo();
27052     }
27053     XSRETURN_EMPTY;
27054 }
27055
27056
27057 XS(XS_Wx__TextCtrlBase_Redo); /* prototype to pass -Wmissing-prototypes */
27058 XS(XS_Wx__TextCtrlBase_Redo)
27059 {
27060 #ifdef dVAR
27061     dVAR; dXSARGS;
27062 #else
27063     dXSARGS;
27064 #endif
27065     if (items != 1)
27066        croak_xs_usage(cv,  "THIS");
27067     {
27068         wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" );
27069
27070         THIS->Redo();
27071     }
27072     XSRETURN_EMPTY;
27073 }
27074
27075
27076 XS(XS_Wx__TextCtrlBase_CanUndo); /* prototype to pass -Wmissing-prototypes */
27077 XS(XS_Wx__TextCtrlBase_CanUndo)
27078 {
27079 #ifdef dVAR
27080     dVAR; dXSARGS;
27081 #else
27082     dXSARGS;
27083 #endif
27084     if (items != 1)
27085        croak_xs_usage(cv,  "THIS");
27086     {
27087         wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" );
27088         bool    RETVAL;
27089
27090         RETVAL = THIS->CanUndo();
27091         ST(0) = boolSV(RETVAL);
27092         sv_2mortal(ST(0));
27093     }
27094     XSRETURN(1);
27095 }
27096
27097
27098 XS(XS_Wx__TextCtrlBase_CanRedo); /* prototype to pass -Wmissing-prototypes */
27099 XS(XS_Wx__TextCtrlBase_CanRedo)
27100 {
27101 #ifdef dVAR
27102     dVAR; dXSARGS;
27103 #else
27104     dXSARGS;
27105 #endif
27106     if (items != 1)
27107        croak_xs_usage(cv,  "THIS");
27108     {
27109         wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" );
27110         bool    RETVAL;
27111
27112         RETVAL = THIS->CanRedo();
27113         ST(0) = boolSV(RETVAL);
27114         sv_2mortal(ST(0));
27115     }
27116     XSRETURN(1);
27117 }
27118
27119
27120 XS(XS_Wx__TextCtrlBase_SetInsertionPoint); /* prototype to pass -Wmissing-prototypes */
27121 XS(XS_Wx__TextCtrlBase_SetInsertionPoint)
27122 {
27123 #ifdef dVAR
27124     dVAR; dXSARGS;
27125 #else
27126     dXSARGS;
27127 #endif
27128     if (items != 2)
27129        croak_xs_usage(cv,  "THIS, pos");
27130     {
27131         long    pos = (long)SvIV(ST(1));
27132         wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" );
27133
27134         THIS->SetInsertionPoint(pos);
27135     }
27136     XSRETURN_EMPTY;
27137 }
27138
27139
27140 XS(XS_Wx__TextCtrlBase_SetInsertionPointEnd); /* prototype to pass -Wmissing-prototypes */
27141 XS(XS_Wx__TextCtrlBase_SetInsertionPointEnd)
27142 {
27143 #ifdef dVAR
27144     dVAR; dXSARGS;
27145 #else
27146     dXSARGS;
27147 #endif
27148     if (items != 1)
27149        croak_xs_usage(cv,  "THIS");
27150     {
27151         wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" );
27152
27153         THIS->SetInsertionPointEnd();
27154     }
27155     XSRETURN_EMPTY;
27156 }
27157
27158
27159 XS(XS_Wx__TextCtrlBase_GetInsertionPoint); /* prototype to pass -Wmissing-prototypes */
27160 XS(XS_Wx__TextCtrlBase_GetInsertionPoint)
27161 {
27162 #ifdef dVAR
27163     dVAR; dXSARGS;
27164 #else
27165     dXSARGS;
27166 #endif
27167     if (items != 1)
27168        croak_xs_usage(cv,  "THIS");
27169     {
27170         wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" );
27171         long    RETVAL;
27172         dXSTARG;
27173
27174         RETVAL = THIS->GetInsertionPoint();
27175         XSprePUSH; PUSHi((IV)RETVAL);
27176     }
27177     XSRETURN(1);
27178 }
27179
27180
27181 XS(XS_Wx__TextCtrlBase_GetLastPosition); /* prototype to pass -Wmissing-prototypes */
27182 XS(XS_Wx__TextCtrlBase_GetLastPosition)
27183 {
27184 #ifdef dVAR
27185     dVAR; dXSARGS;
27186 #else
27187     dXSARGS;
27188 #endif
27189     if (items != 1)
27190        croak_xs_usage(cv,  "THIS");
27191     {
27192         wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" );
27193         wxTextPos       RETVAL;
27194         dXSTARG;
27195
27196         RETVAL = THIS->GetLastPosition();
27197         XSprePUSH; PUSHi((IV)RETVAL);
27198     }
27199     XSRETURN(1);
27200 }
27201
27202
27203 XS(XS_Wx__TextCtrlBase_SetSelection); /* prototype to pass -Wmissing-prototypes */
27204 XS(XS_Wx__TextCtrlBase_SetSelection)
27205 {
27206 #ifdef dVAR
27207     dVAR; dXSARGS;
27208 #else
27209     dXSARGS;
27210 #endif
27211     if (items != 3)
27212        croak_xs_usage(cv,  "THIS, from, to");
27213     {
27214         long    from = (long)SvIV(ST(1));
27215         long    to = (long)SvIV(ST(2));
27216         wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" );
27217
27218         THIS->SetSelection(from, to);
27219     }
27220     XSRETURN_EMPTY;
27221 }
27222
27223
27224 XS(XS_Wx__TextCtrlBase_SelectAll); /* prototype to pass -Wmissing-prototypes */
27225 XS(XS_Wx__TextCtrlBase_SelectAll)
27226 {
27227 #ifdef dVAR
27228     dVAR; dXSARGS;
27229 #else
27230     dXSARGS;
27231 #endif
27232     if (items != 1)
27233        croak_xs_usage(cv,  "THIS");
27234     {
27235         wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" );
27236
27237         THIS->SelectAll();
27238     }
27239     XSRETURN_EMPTY;
27240 }
27241
27242
27243 XS(XS_Wx__TextCtrlBase_SetEditable); /* prototype to pass -Wmissing-prototypes */
27244 XS(XS_Wx__TextCtrlBase_SetEditable)
27245 {
27246 #ifdef dVAR
27247     dVAR; dXSARGS;
27248 #else
27249     dXSARGS;
27250 #endif
27251     if (items != 2)
27252        croak_xs_usage(cv,  "THIS, editable");
27253     {
27254         bool    editable = (bool)SvTRUE(ST(1));
27255         wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" );
27256
27257         THIS->SetEditable(editable);
27258     }
27259     XSRETURN_EMPTY;
27260 }
27261
27262 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
27263 #define XSubPPtmpAAEJ 1
27264
27265
27266 XS(XS_Wx__TextCtrlBase_AutoComplete); /* prototype to pass -Wmissing-prototypes */
27267 XS(XS_Wx__TextCtrlBase_AutoComplete)
27268 {
27269 #ifdef dVAR
27270     dVAR; dXSARGS;
27271 #else
27272     dXSARGS;
27273 #endif
27274     if (items != 2)
27275        croak_xs_usage(cv,  "THIS, choices");
27276     {
27277         wxArrayString   choices;
27278         wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" );
27279         bool    RETVAL;
27280
27281     wxPli_av_2_arraystring( aTHX_ ST(1), & choices );
27282
27283         RETVAL = THIS->AutoComplete(choices);
27284         ST(0) = boolSV(RETVAL);
27285         sv_2mortal(ST(0));
27286     }
27287     XSRETURN(1);
27288 }
27289
27290
27291 XS(XS_Wx__TextCtrlBase_AutoCompleteFileNames); /* prototype to pass -Wmissing-prototypes */
27292 XS(XS_Wx__TextCtrlBase_AutoCompleteFileNames)
27293 {
27294 #ifdef dVAR
27295     dVAR; dXSARGS;
27296 #else
27297     dXSARGS;
27298 #endif
27299     if (items != 1)
27300        croak_xs_usage(cv,  "THIS");
27301     {
27302         wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" );
27303         bool    RETVAL;
27304
27305         RETVAL = THIS->AutoCompleteFileNames();
27306         ST(0) = boolSV(RETVAL);
27307         sv_2mortal(ST(0));
27308     }
27309     XSRETURN(1);
27310 }
27311
27312 #endif
27313
27314 XS(XS_Wx__TextCtrlBase_GetSelection); /* prototype to pass -Wmissing-prototypes */
27315 XS(XS_Wx__TextCtrlBase_GetSelection)
27316 {
27317 #ifdef dVAR
27318     dVAR; dXSARGS;
27319 #else
27320     dXSARGS;
27321 #endif
27322     if (items != 1)
27323        croak_xs_usage(cv,  "THIS");
27324     PERL_UNUSED_VAR(ax); /* -Wall */
27325     SP -= items;
27326     {
27327     long from;
27328     long to;
27329         wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" );
27330     THIS->GetSelection( &from, &to );
27331     EXTEND( SP, 2 );
27332     PUSHs( sv_2mortal( newSViv( from ) ) );
27333     PUSHs( sv_2mortal( newSViv( to ) ) );
27334         PUTBACK;
27335         return;
27336     }
27337 }
27338
27339
27340 XS(XS_Wx__TextCtrlBase_PositionToXY); /* prototype to pass -Wmissing-prototypes */
27341 XS(XS_Wx__TextCtrlBase_PositionToXY)
27342 {
27343 #ifdef dVAR
27344     dVAR; dXSARGS;
27345 #else
27346     dXSARGS;
27347 #endif
27348     if (items != 2)
27349        croak_xs_usage(cv,  "THIS, pos");
27350     PERL_UNUSED_VAR(ax); /* -Wall */
27351     SP -= items;
27352     {
27353         long    pos = (long)SvIV(ST(1));
27354     long x;
27355     long y;
27356         wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" );
27357     THIS->PositionToXY( pos, &x, &y );
27358     EXTEND( SP, 2 );
27359     PUSHs( sv_2mortal( newSViv( x ) ) );
27360     PUSHs( sv_2mortal( newSViv( y ) ) );
27361         PUTBACK;
27362         return;
27363     }
27364 }
27365
27366
27367 XS(XS_Wx__TextCtrlBase_HitTest); /* prototype to pass -Wmissing-prototypes */
27368 XS(XS_Wx__TextCtrlBase_HitTest)
27369 {
27370 #ifdef dVAR
27371     dVAR; dXSARGS;
27372 #else
27373     dXSARGS;
27374 #endif
27375     if (items != 2)
27376        croak_xs_usage(cv,  "THIS, pt");
27377     PERL_UNUSED_VAR(ax); /* -Wall */
27378     SP -= items;
27379     {
27380         wxPoint    pt = wxPli_sv_2_wxpoint( aTHX_ ST(1) );
27381         wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" );
27382     long col, row;
27383     wxTextCtrlHitTestResult res = THIS->HitTest( pt, &col, &row );
27384
27385     EXTEND( SP, 3 );
27386     PUSHs( sv_2mortal( newSViv( res ) ) );
27387     PUSHs( sv_2mortal( newSViv( col ) ) );
27388     PUSHs( sv_2mortal( newSViv( row ) ) );
27389         PUTBACK;
27390         return;
27391     }
27392 }
27393
27394 #if defined( __WXMAC__ ) && WXPERL_W_VERSION_GE( 2, 8, 0 )
27395 #define XSubPPtmpAAEK 1
27396
27397
27398 XS(XS_Wx__TextCtrl_MacCheckSpelling); /* prototype to pass -Wmissing-prototypes */
27399 XS(XS_Wx__TextCtrl_MacCheckSpelling)
27400 {
27401 #ifdef dVAR
27402     dVAR; dXSARGS;
27403 #else
27404     dXSARGS;
27405 #endif
27406     if (items != 2)
27407        croak_xs_usage(cv,  "THIS, check");
27408     {
27409         bool    check = (bool)SvTRUE(ST(1));
27410         wxTextCtrl *    THIS = (wxTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrl" );
27411
27412         THIS->MacCheckSpelling(check);
27413     }
27414     XSRETURN_EMPTY;
27415 }
27416
27417 #endif
27418
27419 XS(XS_Wx__TextCtrl_new); /* prototype to pass -Wmissing-prototypes */
27420 XS(XS_Wx__TextCtrl_new)
27421 {
27422 #ifdef dVAR
27423     dVAR; dXSARGS;
27424 #else
27425     dXSARGS;
27426 #endif
27427     PERL_UNUSED_VAR(cv); /* -W */
27428     PERL_UNUSED_VAR(ax); /* -Wall */
27429     SP -= items;
27430     {
27431     BEGIN_OVERLOAD()
27432         MATCH_VOIDM_REDISP( newDefault )
27433         MATCH_ANY_REDISP( newFull )
27434     END_OVERLOAD( "Wx::TextCtrl::new" )
27435         PUTBACK;
27436         return;
27437     }
27438 }
27439
27440
27441 XS(XS_Wx__TextCtrl_newDefault); /* prototype to pass -Wmissing-prototypes */
27442 XS(XS_Wx__TextCtrl_newDefault)
27443 {
27444 #ifdef dVAR
27445     dVAR; dXSARGS;
27446 #else
27447     dXSARGS;
27448 #endif
27449     if (items != 1)
27450        croak_xs_usage(cv,  "CLASS");
27451     {
27452         PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) );
27453         wxTextCtrl *    RETVAL;
27454     RETVAL = new wxTextCtrl();
27455     wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
27456         ST(0) = sv_newmortal();
27457     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
27458
27459     }
27460     XSRETURN(1);
27461 }
27462
27463
27464 XS(XS_Wx__TextCtrl_newFull); /* prototype to pass -Wmissing-prototypes */
27465 XS(XS_Wx__TextCtrl_newFull)
27466 {
27467 #ifdef dVAR
27468     dVAR; dXSARGS;
27469 #else
27470     dXSARGS;
27471 #endif
27472     if (items < 4 || items > 9)
27473        croak_xs_usage(cv,  "CLASS, parent, id, value, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, validator = (wxValidator*)&wxDefaultValidator, name = wxTextCtrlNameStr");
27474     {
27475         PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) );
27476         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
27477         wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) );
27478         wxString        value;
27479         wxPoint pos;
27480         wxSize  size;
27481         long    style;
27482         wxValidator*    validator;
27483         wxString        name;
27484         wxTextCtrl *    RETVAL;
27485
27486     WXSTRING_INPUT( value, wxString, ST(3) );
27487
27488         if (items < 5)
27489             pos = wxDefaultPosition;
27490         else {
27491     pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
27492         }
27493
27494         if (items < 6)
27495             size = wxDefaultSize;
27496         else {
27497     size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
27498         }
27499
27500         if (items < 7)
27501             style = 0;
27502         else {
27503             style = (long)SvIV(ST(6));
27504         }
27505
27506         if (items < 8)
27507             validator = (wxValidator*)&wxDefaultValidator;
27508         else {
27509     validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" );
27510         }
27511
27512         if (items < 9)
27513             name = wxTextCtrlNameStr;
27514         else {
27515     WXSTRING_INPUT( name, wxString, ST(8) );
27516         }
27517     RETVAL = new wxTextCtrl( parent, id, value, pos, size,
27518                              style, *validator, name );
27519     wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
27520         ST(0) = sv_newmortal();
27521     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
27522
27523     }
27524     XSRETURN(1);
27525 }
27526
27527
27528 XS(XS_Wx__TextCtrl_Create); /* prototype to pass -Wmissing-prototypes */
27529 XS(XS_Wx__TextCtrl_Create)
27530 {
27531 #ifdef dVAR
27532     dVAR; dXSARGS;
27533 #else
27534     dXSARGS;
27535 #endif
27536     if (items < 4 || items > 9)
27537        croak_xs_usage(cv,  "THIS, parent, id, value, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, validator = (wxValidator*)&wxDefaultValidator, name = wxTextCtrlNameStr");
27538     {
27539         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
27540         wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) );
27541         wxString        value;
27542         wxPoint pos;
27543         wxSize  size;
27544         long    style;
27545         wxValidator*    validator;
27546         wxString        name;
27547         wxTextCtrl *    THIS = (wxTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrl" );
27548         bool    RETVAL;
27549
27550     WXSTRING_INPUT( value, wxString, ST(3) );
27551
27552         if (items < 5)
27553             pos = wxDefaultPosition;
27554         else {
27555     pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
27556         }
27557
27558         if (items < 6)
27559             size = wxDefaultSize;
27560         else {
27561     size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
27562         }
27563
27564         if (items < 7)
27565             style = 0;
27566         else {
27567             style = (long)SvIV(ST(6));
27568         }
27569
27570         if (items < 8)
27571             validator = (wxValidator*)&wxDefaultValidator;
27572         else {
27573     validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" );
27574         }
27575
27576         if (items < 9)
27577             name = wxTextCtrlNameStr;
27578         else {
27579     WXSTRING_INPUT( name, wxString, ST(8) );
27580         }
27581
27582         RETVAL = THIS->Create(parent, id, value, pos, size, style, *validator, name);
27583         ST(0) = boolSV(RETVAL);
27584         sv_2mortal(ST(0));
27585     }
27586     XSRETURN(1);
27587 }
27588
27589
27590 XS(XS_Wx__TextCtrl_GetStyle); /* prototype to pass -Wmissing-prototypes */
27591 XS(XS_Wx__TextCtrl_GetStyle)
27592 {
27593 #ifdef dVAR
27594     dVAR; dXSARGS;
27595 #else
27596     dXSARGS;
27597 #endif
27598     if (items != 2)
27599        croak_xs_usage(cv,  "THIS, position");
27600     PERL_UNUSED_VAR(ax); /* -Wall */
27601     SP -= items;
27602     {
27603         long    position = (long)SvIV(ST(1));
27604         wxTextCtrl *    THIS = (wxTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrl" );
27605     wxTextAttr attr;
27606     bool retval = THIS->GetStyle( position, attr );
27607     EXTEND( SP, 2 );
27608     PUSHs( newSViv( retval ) );
27609     PUSHs( retval ? wxPli_non_object_2_sv( aTHX_ sv_newmortal(),
27610                                            new wxTextAttr( attr ),
27611                                            "Wx::TextAttr" ) :
27612                     &PL_sv_undef );
27613         PUTBACK;
27614         return;
27615     }
27616 }
27617
27618
27619 XS(XS_Wx__TextCtrl_GetTextAttrStyle); /* prototype to pass -Wmissing-prototypes */
27620 XS(XS_Wx__TextCtrl_GetTextAttrStyle)
27621 {
27622 #ifdef dVAR
27623     dVAR; dXSARGS;
27624 #else
27625     dXSARGS;
27626 #endif
27627     if (items != 2)
27628        croak_xs_usage(cv,  "THIS, position");
27629     PERL_UNUSED_VAR(ax); /* -Wall */
27630     SP -= items;
27631     {
27632         long    position = (long)SvIV(ST(1));
27633         wxTextCtrl *    THIS = (wxTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrl" );
27634     wxTextAttr attr;
27635     bool retval = THIS->GetStyle( position, attr );
27636     EXTEND( SP, 2 );
27637     PUSHs( newSViv( retval ) );
27638     PUSHs( retval ? wxPli_non_object_2_sv( aTHX_ sv_newmortal(),
27639                                            new wxTextAttr( attr ),
27640                                            "Wx::TextAttr" ) :
27641                     &PL_sv_undef );
27642         PUTBACK;
27643         return;
27644     }
27645 }
27646
27647
27648 /* INCLUDE: Returning to 'Controls.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/TextCtrl.xs |' */
27649
27650
27651 /* INCLUDE:  Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/PickerCtrl.xsp |' from 'Controls.xs' */
27652
27653 #if WXPERL_W_VERSION_GE( 2, 7, 0 )
27654 #include <wx/pickerbase.h>
27655 #define XSubPPtmpAAEL 1
27656
27657
27658 XS(XS_Wx__PickerBase_SetInternalMargin); /* prototype to pass -Wmissing-prototypes */
27659 XS(XS_Wx__PickerBase_SetInternalMargin)
27660 {
27661 #ifdef dVAR
27662     dVAR; dXSARGS;
27663 #else
27664     dXSARGS;
27665 #endif
27666     if (items != 2)
27667        croak_xs_usage(cv,  "THIS, newmargin");
27668     {
27669         int     newmargin = (int)SvIV(ST(1));
27670         wxPickerBase *    THIS = (wxPickerBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PickerBase" );
27671
27672         THIS->SetInternalMargin(newmargin);
27673     }
27674     XSRETURN_EMPTY;
27675 }
27676
27677
27678 XS(XS_Wx__PickerBase_GetInternalMargin); /* prototype to pass -Wmissing-prototypes */
27679 XS(XS_Wx__PickerBase_GetInternalMargin)
27680 {
27681 #ifdef dVAR
27682     dVAR; dXSARGS;
27683 #else
27684     dXSARGS;
27685 #endif
27686     if (items != 1)
27687        croak_xs_usage(cv,  "THIS");
27688     {
27689         wxPickerBase *    THIS = (wxPickerBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PickerBase" );
27690         int     RETVAL;
27691         dXSTARG;
27692
27693         RETVAL = THIS->GetInternalMargin();
27694         XSprePUSH; PUSHi((IV)RETVAL);
27695     }
27696     XSRETURN(1);
27697 }
27698
27699
27700 XS(XS_Wx__PickerBase_SetTextCtrlProportion); /* prototype to pass -Wmissing-prototypes */
27701 XS(XS_Wx__PickerBase_SetTextCtrlProportion)
27702 {
27703 #ifdef dVAR
27704     dVAR; dXSARGS;
27705 #else
27706     dXSARGS;
27707 #endif
27708     if (items != 2)
27709        croak_xs_usage(cv,  "THIS, prop");
27710     {
27711         int     prop = (int)SvIV(ST(1));
27712         wxPickerBase *    THIS = (wxPickerBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PickerBase" );
27713
27714         THIS->SetTextCtrlProportion(prop);
27715     }
27716     XSRETURN_EMPTY;
27717 }
27718
27719
27720 XS(XS_Wx__PickerBase_GetTextCtrlProportion); /* prototype to pass -Wmissing-prototypes */
27721 XS(XS_Wx__PickerBase_GetTextCtrlProportion)
27722 {
27723 #ifdef dVAR
27724     dVAR; dXSARGS;
27725 #else
27726     dXSARGS;
27727 #endif
27728     if (items != 1)
27729        croak_xs_usage(cv,  "THIS");
27730     {
27731         wxPickerBase *    THIS = (wxPickerBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PickerBase" );
27732         int     RETVAL;
27733         dXSTARG;
27734
27735         RETVAL = THIS->GetTextCtrlProportion();
27736         XSprePUSH; PUSHi((IV)RETVAL);
27737     }
27738     XSRETURN(1);
27739 }
27740
27741
27742 XS(XS_Wx__PickerBase_SetPickerCtrlProportion); /* prototype to pass -Wmissing-prototypes */
27743 XS(XS_Wx__PickerBase_SetPickerCtrlProportion)
27744 {
27745 #ifdef dVAR
27746     dVAR; dXSARGS;
27747 #else
27748     dXSARGS;
27749 #endif
27750     if (items != 2)
27751        croak_xs_usage(cv,  "THIS, prop");
27752     {
27753         int     prop = (int)SvIV(ST(1));
27754         wxPickerBase *    THIS = (wxPickerBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PickerBase" );
27755
27756         THIS->SetPickerCtrlProportion(prop);
27757     }
27758     XSRETURN_EMPTY;
27759 }
27760
27761
27762 XS(XS_Wx__PickerBase_GetPickerCtrlProportion); /* prototype to pass -Wmissing-prototypes */
27763 XS(XS_Wx__PickerBase_GetPickerCtrlProportion)
27764 {
27765 #ifdef dVAR
27766     dVAR; dXSARGS;
27767 #else
27768     dXSARGS;
27769 #endif
27770     if (items != 1)
27771        croak_xs_usage(cv,  "THIS");
27772     {
27773         wxPickerBase *    THIS = (wxPickerBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PickerBase" );
27774         int     RETVAL;
27775         dXSTARG;
27776
27777         RETVAL = THIS->GetPickerCtrlProportion();
27778         XSprePUSH; PUSHi((IV)RETVAL);
27779     }
27780     XSRETURN(1);
27781 }
27782
27783
27784 XS(XS_Wx__PickerBase_IsTextCtrlGrowable); /* prototype to pass -Wmissing-prototypes */
27785 XS(XS_Wx__PickerBase_IsTextCtrlGrowable)
27786 {
27787 #ifdef dVAR
27788     dVAR; dXSARGS;
27789 #else
27790     dXSARGS;
27791 #endif
27792     if (items != 1)
27793        croak_xs_usage(cv,  "THIS");
27794     {
27795         wxPickerBase *    THIS = (wxPickerBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PickerBase" );
27796         bool    RETVAL;
27797
27798         RETVAL = THIS->IsTextCtrlGrowable();
27799         ST(0) = boolSV(RETVAL);
27800         sv_2mortal(ST(0));
27801     }
27802     XSRETURN(1);
27803 }
27804
27805
27806 XS(XS_Wx__PickerBase_SetTextCtrlGrowable); /* prototype to pass -Wmissing-prototypes */
27807 XS(XS_Wx__PickerBase_SetTextCtrlGrowable)
27808 {
27809 #ifdef dVAR
27810     dVAR; dXSARGS;
27811 #else
27812     dXSARGS;
27813 #endif
27814     if (items < 1 || items > 2)
27815        croak_xs_usage(cv,  "THIS, grow = true");
27816     {
27817         bool    grow;
27818         wxPickerBase *    THIS = (wxPickerBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PickerBase" );
27819
27820         if (items < 2)
27821             grow = true;
27822         else {
27823             grow = (bool)SvTRUE(ST(1));
27824         }
27825
27826         THIS->SetTextCtrlGrowable(grow);
27827     }
27828     XSRETURN_EMPTY;
27829 }
27830
27831
27832 XS(XS_Wx__PickerBase_IsPickerCtrlGrowable); /* prototype to pass -Wmissing-prototypes */
27833 XS(XS_Wx__PickerBase_IsPickerCtrlGrowable)
27834 {
27835 #ifdef dVAR
27836     dVAR; dXSARGS;
27837 #else
27838     dXSARGS;
27839 #endif
27840     if (items != 1)
27841        croak_xs_usage(cv,  "THIS");
27842     {
27843         wxPickerBase *    THIS = (wxPickerBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PickerBase" );
27844         bool    RETVAL;
27845
27846         RETVAL = THIS->IsPickerCtrlGrowable();
27847         ST(0) = boolSV(RETVAL);
27848         sv_2mortal(ST(0));
27849     }
27850     XSRETURN(1);
27851 }
27852
27853
27854 XS(XS_Wx__PickerBase_SetPickerCtrlGrowable); /* prototype to pass -Wmissing-prototypes */
27855 XS(XS_Wx__PickerBase_SetPickerCtrlGrowable)
27856 {
27857 #ifdef dVAR
27858     dVAR; dXSARGS;
27859 #else
27860     dXSARGS;
27861 #endif
27862     if (items < 1 || items > 2)
27863        croak_xs_usage(cv,  "THIS, grow = true");
27864     {
27865         bool    grow;
27866         wxPickerBase *    THIS = (wxPickerBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PickerBase" );
27867
27868         if (items < 2)
27869             grow = true;
27870         else {
27871             grow = (bool)SvTRUE(ST(1));
27872         }
27873
27874         THIS->SetPickerCtrlGrowable(grow);
27875     }
27876     XSRETURN_EMPTY;
27877 }
27878
27879
27880 XS(XS_Wx__PickerBase_HasTextCtrl); /* prototype to pass -Wmissing-prototypes */
27881 XS(XS_Wx__PickerBase_HasTextCtrl)
27882 {
27883 #ifdef dVAR
27884     dVAR; dXSARGS;
27885 #else
27886     dXSARGS;
27887 #endif
27888     if (items != 1)
27889        croak_xs_usage(cv,  "THIS");
27890     {
27891         wxPickerBase *    THIS = (wxPickerBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PickerBase" );
27892         bool    RETVAL;
27893
27894         RETVAL = THIS->HasTextCtrl();
27895         ST(0) = boolSV(RETVAL);
27896         sv_2mortal(ST(0));
27897     }
27898     XSRETURN(1);
27899 }
27900
27901
27902 XS(XS_Wx__PickerBase_GetTextCtrl); /* prototype to pass -Wmissing-prototypes */
27903 XS(XS_Wx__PickerBase_GetTextCtrl)
27904 {
27905 #ifdef dVAR
27906     dVAR; dXSARGS;
27907 #else
27908     dXSARGS;
27909 #endif
27910     if (items != 1)
27911        croak_xs_usage(cv,  "THIS");
27912     {
27913         wxPickerBase *    THIS = (wxPickerBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PickerBase" );
27914         wxTextCtrl *    RETVAL;
27915
27916         RETVAL = THIS->GetTextCtrl();
27917         ST(0) = sv_newmortal();
27918     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
27919
27920     }
27921     XSRETURN(1);
27922 }
27923
27924
27925 XS(XS_Wx__PickerBase_GetPickerCtrl); /* prototype to pass -Wmissing-prototypes */
27926 XS(XS_Wx__PickerBase_GetPickerCtrl)
27927 {
27928 #ifdef dVAR
27929     dVAR; dXSARGS;
27930 #else
27931     dXSARGS;
27932 #endif
27933     if (items != 1)
27934        croak_xs_usage(cv,  "THIS");
27935     {
27936         wxPickerBase *    THIS = (wxPickerBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PickerBase" );
27937         wxControl *     RETVAL;
27938
27939         RETVAL = THIS->GetPickerCtrl();
27940         ST(0) = sv_newmortal();
27941     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
27942
27943     }
27944     XSRETURN(1);
27945 }
27946
27947 #endif
27948
27949 /* INCLUDE: Returning to 'Controls.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/PickerCtrl.xsp |' */
27950
27951
27952 /* INCLUDE:  Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/ColourPickerCtrl.xsp |' from 'Controls.xs' */
27953
27954 #if WXPERL_W_VERSION_GE( 2, 7, 0 )
27955 #include <wx/clrpicker.h>
27956 #define XSubPPtmpAAEM 1
27957
27958
27959 XS(XS_Wx__ColourPickerCtrl_newDefault); /* prototype to pass -Wmissing-prototypes */
27960 XS(XS_Wx__ColourPickerCtrl_newDefault)
27961 {
27962 #ifdef dVAR
27963     dVAR; dXSARGS;
27964 #else
27965     dXSARGS;
27966 #endif
27967     if (items != 1)
27968        croak_xs_usage(cv,  "CLASS");
27969     {
27970         char *  CLASS = (char *)SvPV_nolen(ST(0));
27971         wxColourPickerCtrl *    RETVAL;
27972      RETVAL = new wxColourPickerCtrl;
27973                 wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
27974
27975         ST(0) = sv_newmortal();
27976     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
27977
27978     }
27979     XSRETURN(1);
27980 }
27981
27982
27983 XS(XS_Wx__ColourPickerCtrl_newFull); /* prototype to pass -Wmissing-prototypes */
27984 XS(XS_Wx__ColourPickerCtrl_newFull)
27985 {
27986 #ifdef dVAR
27987     dVAR; dXSARGS;
27988 #else
27989     dXSARGS;
27990 #endif
27991     if (items < 2 || items > 9)
27992        croak_xs_usage(cv,  "CLASS, parent, id = wxID_ANY, col = wxBLACKPtr, pos = wxDefaultPosition, size = wxDefaultSize, style = wxCLRP_DEFAULT_STYLE, validator = wxDefaultValidatorPtr, name = wxButtonNameStr");
27993     {
27994         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
27995         wxWindowID      id;
27996         wxColour*       col;
27997         wxPoint pos;
27998         wxSize  size;
27999         long    style;
28000         wxValidator*    validator;
28001         wxString        name;
28002         char *  CLASS = (char *)SvPV_nolen(ST(0));
28003         wxColourPickerCtrl *    RETVAL;
28004
28005         if (items < 3)
28006             id = wxID_ANY;
28007         else {
28008     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
28009         }
28010
28011         if (items < 4)
28012             col = wxBLACKPtr;
28013         else {
28014     col = (wxColour *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::Colour" );
28015         }
28016
28017         if (items < 5)
28018             pos = wxDefaultPosition;
28019         else {
28020     pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
28021         }
28022
28023         if (items < 6)
28024             size = wxDefaultSize;
28025         else {
28026     size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
28027         }
28028
28029         if (items < 7)
28030             style = wxCLRP_DEFAULT_STYLE;
28031         else {
28032             style = (long)SvIV(ST(6));
28033         }
28034
28035         if (items < 8)
28036             validator = wxDefaultValidatorPtr;
28037         else {
28038     validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" );
28039         }
28040
28041         if (items < 9)
28042             name = wxButtonNameStr;
28043         else {
28044     WXSTRING_INPUT( name, wxString, ST(8) );
28045         }
28046      RETVAL = new wxColourPickerCtrl( parent, id, *col, pos, size,
28047                                                  style, *validator, name );
28048                 wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
28049
28050         ST(0) = sv_newmortal();
28051     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
28052
28053     }
28054     XSRETURN(1);
28055 }
28056
28057
28058 XS(XS_Wx__ColourPickerCtrl_Create); /* prototype to pass -Wmissing-prototypes */
28059 XS(XS_Wx__ColourPickerCtrl_Create)
28060 {
28061 #ifdef dVAR
28062     dVAR; dXSARGS;
28063 #else
28064     dXSARGS;
28065 #endif
28066     if (items < 2 || items > 9)
28067        croak_xs_usage(cv,  "THIS, parent, id = wxID_ANY, col = wxBLACKPtr, pos = wxDefaultPosition, size = wxDefaultSize, style = wxCLRP_DEFAULT_STYLE, validator = wxDefaultValidatorPtr, name = wxButtonNameStr");
28068     {
28069         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
28070         wxWindowID      id;
28071         wxColour*       col;
28072         wxPoint pos;
28073         wxSize  size;
28074         long    style;
28075         wxValidator*    validator;
28076         wxString        name;
28077         wxColourPickerCtrl *    THIS = (wxColourPickerCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ColourPickerCtrl" );
28078         bool    RETVAL;
28079
28080         if (items < 3)
28081             id = wxID_ANY;
28082         else {
28083     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
28084         }
28085
28086         if (items < 4)
28087             col = wxBLACKPtr;
28088         else {
28089     col = (wxColour *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::Colour" );
28090         }
28091
28092         if (items < 5)
28093             pos = wxDefaultPosition;
28094         else {
28095     pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
28096         }
28097
28098         if (items < 6)
28099             size = wxDefaultSize;
28100         else {
28101     size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
28102         }
28103
28104         if (items < 7)
28105             style = wxCLRP_DEFAULT_STYLE;
28106         else {
28107             style = (long)SvIV(ST(6));
28108         }
28109
28110         if (items < 8)
28111             validator = wxDefaultValidatorPtr;
28112         else {
28113     validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" );
28114         }
28115
28116         if (items < 9)
28117             name = wxButtonNameStr;
28118         else {
28119     WXSTRING_INPUT( name, wxString, ST(8) );
28120         }
28121     RETVAL = THIS->Create( parent, id, *( col ), pos, size, style, *( validator ), name );
28122         ST(0) = boolSV(RETVAL);
28123         sv_2mortal(ST(0));
28124     }
28125     XSRETURN(1);
28126 }
28127
28128
28129 XS(XS_Wx__ColourPickerCtrl_GetColour); /* prototype to pass -Wmissing-prototypes */
28130 XS(XS_Wx__ColourPickerCtrl_GetColour)
28131 {
28132 #ifdef dVAR
28133     dVAR; dXSARGS;
28134 #else
28135     dXSARGS;
28136 #endif
28137     if (items != 1)
28138        croak_xs_usage(cv,  "THIS");
28139     {
28140         wxColourPickerCtrl *    THIS = (wxColourPickerCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ColourPickerCtrl" );
28141         wxColour *      RETVAL;
28142     RETVAL = new wxColour( THIS->GetColour() );
28143         ST(0) = sv_newmortal();
28144     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Colour" );
28145     wxPli_thread_sv_register( aTHX_ "Wx::Colour", RETVAL, ST(0) );
28146
28147     }
28148     XSRETURN(1);
28149 }
28150
28151
28152 XS(XS_Wx__ColourPickerCtrl_SetColourColour); /* prototype to pass -Wmissing-prototypes */
28153 XS(XS_Wx__ColourPickerCtrl_SetColourColour)
28154 {
28155 #ifdef dVAR
28156     dVAR; dXSARGS;
28157 #else
28158     dXSARGS;
28159 #endif
28160     if (items != 2)
28161        croak_xs_usage(cv,  "THIS, col");
28162     {
28163         wxColour*    col = (wxColour *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Colour" );
28164         wxColourPickerCtrl *    THIS = (wxColourPickerCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ColourPickerCtrl" );
28165     THIS->SetColour( *( col ) );
28166     }
28167     XSRETURN_EMPTY;
28168 }
28169
28170
28171 XS(XS_Wx__ColourPickerCtrl_SetColourString); /* prototype to pass -Wmissing-prototypes */
28172 XS(XS_Wx__ColourPickerCtrl_SetColourString)
28173 {
28174 #ifdef dVAR
28175     dVAR; dXSARGS;
28176 #else
28177     dXSARGS;
28178 #endif
28179     if (items != 2)
28180        croak_xs_usage(cv,  "THIS, text");
28181     {
28182         wxString        text;
28183         wxColourPickerCtrl *    THIS = (wxColourPickerCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ColourPickerCtrl" );
28184         bool    RETVAL;
28185
28186     WXSTRING_INPUT( text, wxString, ST(1) );
28187     RETVAL = THIS->SetColour( text );
28188         ST(0) = boolSV(RETVAL);
28189         sv_2mortal(ST(0));
28190     }
28191     XSRETURN(1);
28192 }
28193
28194
28195 XS(XS_Wx__ColourPickerCtrl_new); /* prototype to pass -Wmissing-prototypes */
28196 XS(XS_Wx__ColourPickerCtrl_new)
28197 {
28198 #ifdef dVAR
28199     dVAR; dXSARGS;
28200 #else
28201     dXSARGS;
28202 #endif
28203     PERL_UNUSED_VAR(cv); /* -W */
28204     PERL_UNUSED_VAR(ax); /* -Wall */
28205     SP -= items;
28206     {
28207     BEGIN_OVERLOAD()
28208         MATCH_VOIDM_REDISP( newDefault )
28209         MATCH_ANY_REDISP( newFull )
28210     END_OVERLOAD( "Wx::ColourPickerCtrl::new" )
28211         PUTBACK;
28212         return;
28213     }
28214 }
28215
28216
28217 XS(XS_Wx__ColourPickerCtrl_SetColour); /* prototype to pass -Wmissing-prototypes */
28218 XS(XS_Wx__ColourPickerCtrl_SetColour)
28219 {
28220 #ifdef dVAR
28221     dVAR; dXSARGS;
28222 #else
28223     dXSARGS;
28224 #endif
28225     PERL_UNUSED_VAR(cv); /* -W */
28226     PERL_UNUSED_VAR(ax); /* -Wall */
28227     SP -= items;
28228     {
28229     BEGIN_OVERLOAD()
28230         MATCH_REDISP( wxPliOvl_wcol, SetColourColour )
28231         MATCH_REDISP( wxPliOvl_s, SetColourString )
28232     END_OVERLOAD( Wx::ColourPickerCtrl::SetColour )
28233         PUTBACK;
28234         return;
28235     }
28236 }
28237
28238
28239 XS(XS_Wx__ColourPickerEvent_GetColour); /* prototype to pass -Wmissing-prototypes */
28240 XS(XS_Wx__ColourPickerEvent_GetColour)
28241 {
28242 #ifdef dVAR
28243     dVAR; dXSARGS;
28244 #else
28245     dXSARGS;
28246 #endif
28247     if (items != 1)
28248        croak_xs_usage(cv,  "THIS");
28249     {
28250         wxColourPickerEvent *    THIS = (wxColourPickerEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ColourPickerEvent" );
28251         wxColour *      RETVAL;
28252     RETVAL = new wxColour( THIS->GetColour() );
28253         ST(0) = sv_newmortal();
28254     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Colour" );
28255     wxPli_thread_sv_register( aTHX_ "Wx::Colour", RETVAL, ST(0) );
28256
28257     }
28258     XSRETURN(1);
28259 }
28260
28261
28262 XS(XS_Wx__ColourPickerEvent_SetColour); /* prototype to pass -Wmissing-prototypes */
28263 XS(XS_Wx__ColourPickerEvent_SetColour)
28264 {
28265 #ifdef dVAR
28266     dVAR; dXSARGS;
28267 #else
28268     dXSARGS;
28269 #endif
28270     if (items != 2)
28271        croak_xs_usage(cv,  "THIS, colour");
28272     {
28273         wxColour*    colour = (wxColour *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Colour" );
28274         wxColourPickerEvent *    THIS = (wxColourPickerEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ColourPickerEvent" );
28275     THIS->SetColour( *( colour ) );
28276     }
28277     XSRETURN_EMPTY;
28278 }
28279
28280 #endif
28281
28282 /* INCLUDE: Returning to 'Controls.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/ColourPickerCtrl.xsp |' */
28283
28284
28285 /* INCLUDE:  Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/FilePickerCtrl.xsp |' from 'Controls.xs' */
28286
28287 #if WXPERL_W_VERSION_GE( 2, 7, 0 )
28288 #include <wx/filepicker.h>
28289 #define XSubPPtmpAAEN 1
28290
28291
28292 XS(XS_Wx__FilePickerCtrl_newDefault); /* prototype to pass -Wmissing-prototypes */
28293 XS(XS_Wx__FilePickerCtrl_newDefault)
28294 {
28295 #ifdef dVAR
28296     dVAR; dXSARGS;
28297 #else
28298     dXSARGS;
28299 #endif
28300     if (items != 1)
28301        croak_xs_usage(cv,  "CLASS");
28302     {
28303         char *  CLASS = (char *)SvPV_nolen(ST(0));
28304         wxFilePickerCtrl *      RETVAL;
28305      RETVAL = new wxFilePickerCtrl;
28306                 wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
28307
28308         ST(0) = sv_newmortal();
28309     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
28310
28311     }
28312     XSRETURN(1);
28313 }
28314
28315
28316 XS(XS_Wx__FilePickerCtrl_newFull); /* prototype to pass -Wmissing-prototypes */
28317 XS(XS_Wx__FilePickerCtrl_newFull)
28318 {
28319 #ifdef dVAR
28320     dVAR; dXSARGS;
28321 #else
28322     dXSARGS;
28323 #endif
28324     if (items < 2 || items > 11)
28325        croak_xs_usage(cv,  "CLASS, parent, id = wxID_ANY, path = wxEmptyString, message = wxFileSelectorPromptStr, wildcard = wxFileSelectorDefaultWildcardStr, pos = wxDefaultPosition, size = wxDefaultSize, style = wxCLRP_DEFAULT_STYLE, validator = wxDefaultValidatorPtr, name = wxFilePickerCtrlNameStr");
28326     {
28327         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
28328         wxWindowID      id;
28329         wxString        path;
28330         wxString        message;
28331         wxString        wildcard;
28332         wxPoint pos;
28333         wxSize  size;
28334         long    style;
28335         wxValidator*    validator;
28336         wxString        name;
28337         char *  CLASS = (char *)SvPV_nolen(ST(0));
28338         wxFilePickerCtrl *      RETVAL;
28339
28340         if (items < 3)
28341             id = wxID_ANY;
28342         else {
28343     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
28344         }
28345
28346         if (items < 4)
28347             path = wxEmptyString;
28348         else {
28349     WXSTRING_INPUT( path, wxString, ST(3) );
28350         }
28351
28352         if (items < 5)
28353             message = wxFileSelectorPromptStr;
28354         else {
28355     WXSTRING_INPUT( message, wxString, ST(4) );
28356         }
28357
28358         if (items < 6)
28359             wildcard = wxFileSelectorDefaultWildcardStr;
28360         else {
28361     WXSTRING_INPUT( wildcard, wxString, ST(5) );
28362         }
28363
28364         if (items < 7)
28365             pos = wxDefaultPosition;
28366         else {
28367     pos = wxPli_sv_2_wxpoint( aTHX_ ST(6) );
28368         }
28369
28370         if (items < 8)
28371             size = wxDefaultSize;
28372         else {
28373     size = wxPli_sv_2_wxsize( aTHX_ ST(7) );
28374         }
28375
28376         if (items < 9)
28377             style = wxCLRP_DEFAULT_STYLE;
28378         else {
28379             style = (long)SvIV(ST(8));
28380         }
28381
28382         if (items < 10)
28383             validator = wxDefaultValidatorPtr;
28384         else {
28385     validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(9), "Wx::Validator" );
28386         }
28387
28388         if (items < 11)
28389             name = wxFilePickerCtrlNameStr;
28390         else {
28391     WXSTRING_INPUT( name, wxString, ST(10) );
28392         }
28393      RETVAL = new wxFilePickerCtrl( parent, id, path, message,
28394                                                wildcard, pos, size,
28395                                                style, *validator, name );
28396                 wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
28397
28398         ST(0) = sv_newmortal();
28399     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
28400
28401     }
28402     XSRETURN(1);
28403 }
28404
28405
28406 XS(XS_Wx__FilePickerCtrl_Create); /* prototype to pass -Wmissing-prototypes */
28407 XS(XS_Wx__FilePickerCtrl_Create)
28408 {
28409 #ifdef dVAR
28410     dVAR; dXSARGS;
28411 #else
28412     dXSARGS;
28413 #endif
28414     if (items < 2 || items > 11)
28415        croak_xs_usage(cv,  "THIS, parent, id = wxID_ANY, path = wxEmptyString, message = wxFileSelectorPromptStr, wildcard = wxFileSelectorDefaultWildcardStr, pos = wxDefaultPosition, size = wxDefaultSize, style = wxCLRP_DEFAULT_STYLE, validator = wxDefaultValidatorPtr, name = wxFilePickerCtrlNameStr");
28416     {
28417         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
28418         wxWindowID      id;
28419         wxString        path;
28420         wxString        message;
28421         wxString        wildcard;
28422         wxPoint pos;
28423         wxSize  size;
28424         long    style;
28425         wxValidator*    validator;
28426         wxString        name;
28427         wxFilePickerCtrl *    THIS = (wxFilePickerCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FilePickerCtrl" );
28428         bool    RETVAL;
28429
28430         if (items < 3)
28431             id = wxID_ANY;
28432         else {
28433     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
28434         }
28435
28436         if (items < 4)
28437             path = wxEmptyString;
28438         else {
28439     WXSTRING_INPUT( path, wxString, ST(3) );
28440         }
28441
28442         if (items < 5)
28443             message = wxFileSelectorPromptStr;
28444         else {
28445     WXSTRING_INPUT( message, wxString, ST(4) );
28446         }
28447
28448         if (items < 6)
28449             wildcard = wxFileSelectorDefaultWildcardStr;
28450         else {
28451     WXSTRING_INPUT( wildcard, wxString, ST(5) );
28452         }
28453
28454         if (items < 7)
28455             pos = wxDefaultPosition;
28456         else {
28457     pos = wxPli_sv_2_wxpoint( aTHX_ ST(6) );
28458         }
28459
28460         if (items < 8)
28461             size = wxDefaultSize;
28462         else {
28463     size = wxPli_sv_2_wxsize( aTHX_ ST(7) );
28464         }
28465
28466         if (items < 9)
28467             style = wxCLRP_DEFAULT_STYLE;
28468         else {
28469             style = (long)SvIV(ST(8));
28470         }
28471
28472         if (items < 10)
28473             validator = wxDefaultValidatorPtr;
28474         else {
28475     validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(9), "Wx::Validator" );
28476         }
28477
28478         if (items < 11)
28479             name = wxFilePickerCtrlNameStr;
28480         else {
28481     WXSTRING_INPUT( name, wxString, ST(10) );
28482         }
28483     RETVAL = THIS->Create( parent, id, path, message, wildcard, pos, size, style, *( validator ), name );
28484         ST(0) = boolSV(RETVAL);
28485         sv_2mortal(ST(0));
28486     }
28487     XSRETURN(1);
28488 }
28489
28490
28491 XS(XS_Wx__FilePickerCtrl_GetPath); /* prototype to pass -Wmissing-prototypes */
28492 XS(XS_Wx__FilePickerCtrl_GetPath)
28493 {
28494 #ifdef dVAR
28495     dVAR; dXSARGS;
28496 #else
28497     dXSARGS;
28498 #endif
28499     if (items != 1)
28500        croak_xs_usage(cv,  "THIS");
28501     {
28502         wxFilePickerCtrl *    THIS = (wxFilePickerCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FilePickerCtrl" );
28503         wxString        RETVAL;
28504
28505         RETVAL = THIS->GetPath();
28506         ST(0) = sv_newmortal();
28507     WXSTRING_OUTPUT( RETVAL, ST(0) );
28508
28509     }
28510     XSRETURN(1);
28511 }
28512
28513
28514 XS(XS_Wx__FilePickerCtrl_SetPath); /* prototype to pass -Wmissing-prototypes */
28515 XS(XS_Wx__FilePickerCtrl_SetPath)
28516 {
28517 #ifdef dVAR
28518     dVAR; dXSARGS;
28519 #else
28520     dXSARGS;
28521 #endif
28522     if (items != 2)
28523        croak_xs_usage(cv,  "THIS, str");
28524     {
28525         wxString        str;
28526         wxFilePickerCtrl *    THIS = (wxFilePickerCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FilePickerCtrl" );
28527
28528     WXSTRING_INPUT( str, wxString, ST(1) );
28529
28530         THIS->SetPath(str);
28531     }
28532     XSRETURN_EMPTY;
28533 }
28534
28535
28536 XS(XS_Wx__FilePickerCtrl_new); /* prototype to pass -Wmissing-prototypes */
28537 XS(XS_Wx__FilePickerCtrl_new)
28538 {
28539 #ifdef dVAR
28540     dVAR; dXSARGS;
28541 #else
28542     dXSARGS;
28543 #endif
28544     PERL_UNUSED_VAR(cv); /* -W */
28545     PERL_UNUSED_VAR(ax); /* -Wall */
28546     SP -= items;
28547     {
28548     BEGIN_OVERLOAD()
28549         MATCH_VOIDM_REDISP( newDefault )
28550         MATCH_ANY_REDISP( newFull )
28551     END_OVERLOAD( "Wx::FilePickerCtrl::new" )
28552         PUTBACK;
28553         return;
28554     }
28555 }
28556
28557
28558 XS(XS_Wx__DirPickerCtrl_newDefault); /* prototype to pass -Wmissing-prototypes */
28559 XS(XS_Wx__DirPickerCtrl_newDefault)
28560 {
28561 #ifdef dVAR
28562     dVAR; dXSARGS;
28563 #else
28564     dXSARGS;
28565 #endif
28566     if (items != 1)
28567        croak_xs_usage(cv,  "CLASS");
28568     {
28569         char *  CLASS = (char *)SvPV_nolen(ST(0));
28570         wxDirPickerCtrl *       RETVAL;
28571      RETVAL = new wxDirPickerCtrl;
28572                 wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
28573
28574         ST(0) = sv_newmortal();
28575     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
28576
28577     }
28578     XSRETURN(1);
28579 }
28580
28581
28582 XS(XS_Wx__DirPickerCtrl_newFull); /* prototype to pass -Wmissing-prototypes */
28583 XS(XS_Wx__DirPickerCtrl_newFull)
28584 {
28585 #ifdef dVAR
28586     dVAR; dXSARGS;
28587 #else
28588     dXSARGS;
28589 #endif
28590     if (items < 2 || items > 10)
28591        croak_xs_usage(cv,  "CLASS, parent, id = wxID_ANY, path = wxEmptyString, message = wxDirSelectorPromptStr, pos = wxDefaultPosition, size = wxDefaultSize, style = wxCLRP_DEFAULT_STYLE, validator = wxDefaultValidatorPtr, name = wxDirPickerCtrlNameStr");
28592     {
28593         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
28594         wxWindowID      id;
28595         wxString        path;
28596         wxString        message;
28597         wxPoint pos;
28598         wxSize  size;
28599         long    style;
28600         wxValidator*    validator;
28601         wxString        name;
28602         char *  CLASS = (char *)SvPV_nolen(ST(0));
28603         wxDirPickerCtrl *       RETVAL;
28604
28605         if (items < 3)
28606             id = wxID_ANY;
28607         else {
28608     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
28609         }
28610
28611         if (items < 4)
28612             path = wxEmptyString;
28613         else {
28614     WXSTRING_INPUT( path, wxString, ST(3) );
28615         }
28616
28617         if (items < 5)
28618             message = wxDirSelectorPromptStr;
28619         else {
28620     WXSTRING_INPUT( message, wxString, ST(4) );
28621         }
28622
28623         if (items < 6)
28624             pos = wxDefaultPosition;
28625         else {
28626     pos = wxPli_sv_2_wxpoint( aTHX_ ST(5) );
28627         }
28628
28629         if (items < 7)
28630             size = wxDefaultSize;
28631         else {
28632     size = wxPli_sv_2_wxsize( aTHX_ ST(6) );
28633         }
28634
28635         if (items < 8)
28636             style = wxCLRP_DEFAULT_STYLE;
28637         else {
28638             style = (long)SvIV(ST(7));
28639         }
28640
28641         if (items < 9)
28642             validator = wxDefaultValidatorPtr;
28643         else {
28644     validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(8), "Wx::Validator" );
28645         }
28646
28647         if (items < 10)
28648             name = wxDirPickerCtrlNameStr;
28649         else {
28650     WXSTRING_INPUT( name, wxString, ST(9) );
28651         }
28652      RETVAL = new wxDirPickerCtrl( parent, id, path, message,
28653                                               pos, size,
28654                                               style, *validator, name );
28655                 wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
28656
28657         ST(0) = sv_newmortal();
28658     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
28659
28660     }
28661     XSRETURN(1);
28662 }
28663
28664
28665 XS(XS_Wx__DirPickerCtrl_Create); /* prototype to pass -Wmissing-prototypes */
28666 XS(XS_Wx__DirPickerCtrl_Create)
28667 {
28668 #ifdef dVAR
28669     dVAR; dXSARGS;
28670 #else
28671     dXSARGS;
28672 #endif
28673     if (items < 2 || items > 10)
28674        croak_xs_usage(cv,  "THIS, parent, id = wxID_ANY, path = wxEmptyString, message = wxDirSelectorPromptStr, pos = wxDefaultPosition, size = wxDefaultSize, style = wxCLRP_DEFAULT_STYLE, validator = wxDefaultValidatorPtr, name = wxDirPickerCtrlNameStr");
28675     {
28676         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
28677         wxWindowID      id;
28678         wxString        path;
28679         wxString        message;
28680         wxPoint pos;
28681         wxSize  size;
28682         long    style;
28683         wxValidator*    validator;
28684         wxString        name;
28685         wxDirPickerCtrl *    THIS = (wxDirPickerCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::DirPickerCtrl" );
28686         bool    RETVAL;
28687
28688         if (items < 3)
28689             id = wxID_ANY;
28690         else {
28691     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
28692         }
28693
28694         if (items < 4)
28695             path = wxEmptyString;
28696         else {
28697     WXSTRING_INPUT( path, wxString, ST(3) );
28698         }
28699
28700         if (items < 5)
28701             message = wxDirSelectorPromptStr;
28702         else {
28703     WXSTRING_INPUT( message, wxString, ST(4) );
28704         }
28705
28706         if (items < 6)
28707             pos = wxDefaultPosition;
28708         else {
28709     pos = wxPli_sv_2_wxpoint( aTHX_ ST(5) );
28710         }
28711
28712         if (items < 7)
28713             size = wxDefaultSize;
28714         else {
28715     size = wxPli_sv_2_wxsize( aTHX_ ST(6) );
28716         }
28717
28718         if (items < 8)
28719             style = wxCLRP_DEFAULT_STYLE;
28720         else {
28721             style = (long)SvIV(ST(7));
28722         }
28723
28724         if (items < 9)
28725             validator = wxDefaultValidatorPtr;
28726         else {
28727     validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(8), "Wx::Validator" );
28728         }
28729
28730         if (items < 10)
28731             name = wxDirPickerCtrlNameStr;
28732         else {
28733     WXSTRING_INPUT( name, wxString, ST(9) );
28734         }
28735     RETVAL = THIS->Create( parent, id, path, message, pos, size, style, *( validator ), name );
28736         ST(0) = boolSV(RETVAL);
28737         sv_2mortal(ST(0));
28738     }
28739     XSRETURN(1);
28740 }
28741
28742
28743 XS(XS_Wx__DirPickerCtrl_GetPath); /* prototype to pass -Wmissing-prototypes */
28744 XS(XS_Wx__DirPickerCtrl_GetPath)
28745 {
28746 #ifdef dVAR
28747     dVAR; dXSARGS;
28748 #else
28749     dXSARGS;
28750 #endif
28751     if (items != 1)
28752        croak_xs_usage(cv,  "THIS");
28753     {
28754         wxDirPickerCtrl *    THIS = (wxDirPickerCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::DirPickerCtrl" );
28755         wxString        RETVAL;
28756
28757         RETVAL = THIS->GetPath();
28758         ST(0) = sv_newmortal();
28759     WXSTRING_OUTPUT( RETVAL, ST(0) );
28760
28761     }
28762     XSRETURN(1);
28763 }
28764
28765
28766 XS(XS_Wx__DirPickerCtrl_SetPath); /* prototype to pass -Wmissing-prototypes */
28767 XS(XS_Wx__DirPickerCtrl_SetPath)
28768 {
28769 #ifdef dVAR
28770     dVAR; dXSARGS;
28771 #else
28772     dXSARGS;
28773 #endif
28774     if (items != 2)
28775        croak_xs_usage(cv,  "THIS, str");
28776     {
28777         wxString        str;
28778         wxDirPickerCtrl *    THIS = (wxDirPickerCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::DirPickerCtrl" );
28779
28780     WXSTRING_INPUT( str, wxString, ST(1) );
28781
28782         THIS->SetPath(str);
28783     }
28784     XSRETURN_EMPTY;
28785 }
28786
28787
28788 XS(XS_Wx__DirPickerCtrl_new); /* prototype to pass -Wmissing-prototypes */
28789 XS(XS_Wx__DirPickerCtrl_new)
28790 {
28791 #ifdef dVAR
28792     dVAR; dXSARGS;
28793 #else
28794     dXSARGS;
28795 #endif
28796     PERL_UNUSED_VAR(cv); /* -W */
28797     PERL_UNUSED_VAR(ax); /* -Wall */
28798     SP -= items;
28799     {
28800     BEGIN_OVERLOAD()
28801         MATCH_VOIDM_REDISP( newDefault )
28802         MATCH_ANY_REDISP( newFull )
28803     END_OVERLOAD( "Wx::DirPickerCtrl::new" )
28804         PUTBACK;
28805         return;
28806     }
28807 }
28808
28809
28810 XS(XS_Wx__FileDirPickerEvent_GetPath); /* prototype to pass -Wmissing-prototypes */
28811 XS(XS_Wx__FileDirPickerEvent_GetPath)
28812 {
28813 #ifdef dVAR
28814     dVAR; dXSARGS;
28815 #else
28816     dXSARGS;
28817 #endif
28818     if (items != 1)
28819        croak_xs_usage(cv,  "THIS");
28820     {
28821         wxFileDirPickerEvent *    THIS = (wxFileDirPickerEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileDirPickerEvent" );
28822         wxString        RETVAL;
28823
28824         RETVAL = THIS->GetPath();
28825         ST(0) = sv_newmortal();
28826     WXSTRING_OUTPUT( RETVAL, ST(0) );
28827
28828     }
28829     XSRETURN(1);
28830 }
28831
28832
28833 XS(XS_Wx__FileDirPickerEvent_SetPath); /* prototype to pass -Wmissing-prototypes */
28834 XS(XS_Wx__FileDirPickerEvent_SetPath)
28835 {
28836 #ifdef dVAR
28837     dVAR; dXSARGS;
28838 #else
28839     dXSARGS;
28840 #endif
28841     if (items != 2)
28842        croak_xs_usage(cv,  "THIS, p");
28843     {
28844         wxString        p;
28845         wxFileDirPickerEvent *    THIS = (wxFileDirPickerEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileDirPickerEvent" );
28846
28847     WXSTRING_INPUT( p, wxString, ST(1) );
28848
28849         THIS->SetPath(p);
28850     }
28851     XSRETURN_EMPTY;
28852 }
28853
28854 #endif
28855
28856 /* INCLUDE: Returning to 'Controls.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/FilePickerCtrl.xsp |' */
28857
28858
28859 /* INCLUDE:  Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/FontPickerCtrl.xsp |' from 'Controls.xs' */
28860
28861 #if WXPERL_W_VERSION_GE( 2, 7, 0 )
28862 #include <wx/fontpicker.h>
28863 #define XSubPPtmpAAEO 1
28864
28865
28866 XS(XS_Wx__FontPickerCtrl_newDefault); /* prototype to pass -Wmissing-prototypes */
28867 XS(XS_Wx__FontPickerCtrl_newDefault)
28868 {
28869 #ifdef dVAR
28870     dVAR; dXSARGS;
28871 #else
28872     dXSARGS;
28873 #endif
28874     if (items != 1)
28875        croak_xs_usage(cv,  "CLASS");
28876     {
28877         char *  CLASS = (char *)SvPV_nolen(ST(0));
28878         wxFontPickerCtrl *      RETVAL;
28879      RETVAL = new wxFontPickerCtrl;
28880                 wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
28881
28882         ST(0) = sv_newmortal();
28883     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
28884
28885     }
28886     XSRETURN(1);
28887 }
28888
28889
28890 XS(XS_Wx__FontPickerCtrl_newFull); /* prototype to pass -Wmissing-prototypes */
28891 XS(XS_Wx__FontPickerCtrl_newFull)
28892 {
28893 #ifdef dVAR
28894     dVAR; dXSARGS;
28895 #else
28896     dXSARGS;
28897 #endif
28898     if (items < 2 || items > 9)
28899        croak_xs_usage(cv,  "CLASS, parent, id = wxID_ANY, font = wxNORMAL_FONTPtr, pos = wxDefaultPosition, size = wxDefaultSize, style = wxCLRP_DEFAULT_STYLE, validator = wxDefaultValidatorPtr, name = wxButtonNameStr");
28900     {
28901         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
28902         wxWindowID      id;
28903         wxFont* font;
28904         wxPoint pos;
28905         wxSize  size;
28906         long    style;
28907         wxValidator*    validator;
28908         wxString        name;
28909         char *  CLASS = (char *)SvPV_nolen(ST(0));
28910         wxFontPickerCtrl *      RETVAL;
28911
28912         if (items < 3)
28913             id = wxID_ANY;
28914         else {
28915     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
28916         }
28917
28918         if (items < 4)
28919             font = wxNORMAL_FONTPtr;
28920         else {
28921     font = (wxFont *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::Font" );
28922         }
28923
28924         if (items < 5)
28925             pos = wxDefaultPosition;
28926         else {
28927     pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
28928         }
28929
28930         if (items < 6)
28931             size = wxDefaultSize;
28932         else {
28933     size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
28934         }
28935
28936         if (items < 7)
28937             style = wxCLRP_DEFAULT_STYLE;
28938         else {
28939             style = (long)SvIV(ST(6));
28940         }
28941
28942         if (items < 8)
28943             validator = wxDefaultValidatorPtr;
28944         else {
28945     validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" );
28946         }
28947
28948         if (items < 9)
28949             name = wxButtonNameStr;
28950         else {
28951     WXSTRING_INPUT( name, wxString, ST(8) );
28952         }
28953      RETVAL = new wxFontPickerCtrl( parent, id, *font, pos, size,
28954                                                 style, *validator, name );
28955                 wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
28956
28957         ST(0) = sv_newmortal();
28958     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
28959
28960     }
28961     XSRETURN(1);
28962 }
28963
28964
28965 XS(XS_Wx__FontPickerCtrl_Create); /* prototype to pass -Wmissing-prototypes */
28966 XS(XS_Wx__FontPickerCtrl_Create)
28967 {
28968 #ifdef dVAR
28969     dVAR; dXSARGS;
28970 #else
28971     dXSARGS;
28972 #endif
28973     if (items < 2 || items > 9)
28974        croak_xs_usage(cv,  "THIS, parent, id = wxID_ANY, col = wxNORMAL_FONTPtr, pos = wxDefaultPosition, size = wxDefaultSize, style = wxCLRP_DEFAULT_STYLE, validator = wxDefaultValidatorPtr, name = wxButtonNameStr");
28975     {
28976         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
28977         wxWindowID      id;
28978         wxFont* col;
28979         wxPoint pos;
28980         wxSize  size;
28981         long    style;
28982         wxValidator*    validator;
28983         wxString        name;
28984         wxFontPickerCtrl *    THIS = (wxFontPickerCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FontPickerCtrl" );
28985         bool    RETVAL;
28986
28987         if (items < 3)
28988             id = wxID_ANY;
28989         else {
28990     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
28991         }
28992
28993         if (items < 4)
28994             col = wxNORMAL_FONTPtr;
28995         else {
28996     col = (wxFont *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::Font" );
28997         }
28998
28999         if (items < 5)
29000             pos = wxDefaultPosition;
29001         else {
29002     pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
29003         }
29004
29005         if (items < 6)
29006             size = wxDefaultSize;
29007         else {
29008     size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
29009         }
29010
29011         if (items < 7)
29012             style = wxCLRP_DEFAULT_STYLE;
29013         else {
29014             style = (long)SvIV(ST(6));
29015         }
29016
29017         if (items < 8)
29018             validator = wxDefaultValidatorPtr;
29019         else {
29020     validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" );
29021         }
29022
29023         if (items < 9)
29024             name = wxButtonNameStr;
29025         else {
29026     WXSTRING_INPUT( name, wxString, ST(8) );
29027         }
29028     RETVAL = THIS->Create( parent, id, *( col ), pos, size, style, *( validator ), name );
29029         ST(0) = boolSV(RETVAL);
29030         sv_2mortal(ST(0));
29031     }
29032     XSRETURN(1);
29033 }
29034
29035
29036 XS(XS_Wx__FontPickerCtrl_GetSelectedFont); /* prototype to pass -Wmissing-prototypes */
29037 XS(XS_Wx__FontPickerCtrl_GetSelectedFont)
29038 {
29039 #ifdef dVAR
29040     dVAR; dXSARGS;
29041 #else
29042     dXSARGS;
29043 #endif
29044     if (items != 1)
29045        croak_xs_usage(cv,  "THIS");
29046     {
29047         wxFontPickerCtrl *    THIS = (wxFontPickerCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FontPickerCtrl" );
29048         wxFont *        RETVAL;
29049     RETVAL = new wxFont( THIS->GetSelectedFont() );
29050         ST(0) = sv_newmortal();
29051     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
29052     wxPli_thread_sv_register( aTHX_ "Wx::Font", RETVAL, ST(0) );
29053
29054     }
29055     XSRETURN(1);
29056 }
29057
29058
29059 XS(XS_Wx__FontPickerCtrl_SetSelectedFont); /* prototype to pass -Wmissing-prototypes */
29060 XS(XS_Wx__FontPickerCtrl_SetSelectedFont)
29061 {
29062 #ifdef dVAR
29063     dVAR; dXSARGS;
29064 #else
29065     dXSARGS;
29066 #endif
29067     if (items != 2)
29068        croak_xs_usage(cv,  "THIS, f");
29069     {
29070         wxFont*    f = (wxFont *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Font" );
29071         wxFontPickerCtrl *    THIS = (wxFontPickerCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FontPickerCtrl" );
29072     THIS->SetSelectedFont( *( f ) );
29073     }
29074     XSRETURN_EMPTY;
29075 }
29076
29077
29078 XS(XS_Wx__FontPickerCtrl_SetMaxPointSize); /* prototype to pass -Wmissing-prototypes */
29079 XS(XS_Wx__FontPickerCtrl_SetMaxPointSize)
29080 {
29081 #ifdef dVAR
29082     dVAR; dXSARGS;
29083 #else
29084     dXSARGS;
29085 #endif
29086     if (items != 2)
29087        croak_xs_usage(cv,  "THIS, max");
29088     {
29089         unsigned int    max = (unsigned int)SvUV( ST(1) );
29090         wxFontPickerCtrl *    THIS = (wxFontPickerCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FontPickerCtrl" );
29091
29092         THIS->SetMaxPointSize(max);
29093     }
29094     XSRETURN_EMPTY;
29095 }
29096
29097
29098 XS(XS_Wx__FontPickerCtrl_GetMaxPointSize); /* prototype to pass -Wmissing-prototypes */
29099 XS(XS_Wx__FontPickerCtrl_GetMaxPointSize)
29100 {
29101 #ifdef dVAR
29102     dVAR; dXSARGS;
29103 #else
29104     dXSARGS;
29105 #endif
29106     if (items != 1)
29107        croak_xs_usage(cv,  "THIS");
29108     {
29109         wxFontPickerCtrl *    THIS = (wxFontPickerCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FontPickerCtrl" );
29110         unsigned int    RETVAL;
29111         dXSTARG;
29112
29113         RETVAL = THIS->GetMaxPointSize();
29114         XSprePUSH; PUSHu((UV)RETVAL );
29115     }
29116     XSRETURN(1);
29117 }
29118
29119
29120 XS(XS_Wx__FontPickerCtrl_new); /* prototype to pass -Wmissing-prototypes */
29121 XS(XS_Wx__FontPickerCtrl_new)
29122 {
29123 #ifdef dVAR
29124     dVAR; dXSARGS;
29125 #else
29126     dXSARGS;
29127 #endif
29128     PERL_UNUSED_VAR(cv); /* -W */
29129     PERL_UNUSED_VAR(ax); /* -Wall */
29130     SP -= items;
29131     {
29132     BEGIN_OVERLOAD()
29133         MATCH_VOIDM_REDISP( newDefault )
29134         MATCH_ANY_REDISP( newFull )
29135     END_OVERLOAD( "Wx::FontPickerCtrl::new" )
29136         PUTBACK;
29137         return;
29138     }
29139 }
29140
29141
29142 XS(XS_Wx__FontPickerEvent_GetFont); /* prototype to pass -Wmissing-prototypes */
29143 XS(XS_Wx__FontPickerEvent_GetFont)
29144 {
29145 #ifdef dVAR
29146     dVAR; dXSARGS;
29147 #else
29148     dXSARGS;
29149 #endif
29150     if (items != 1)
29151        croak_xs_usage(cv,  "THIS");
29152     {
29153         wxFontPickerEvent *    THIS = (wxFontPickerEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FontPickerEvent" );
29154         wxFont *        RETVAL;
29155     RETVAL = new wxFont( THIS->GetFont() );
29156         ST(0) = sv_newmortal();
29157     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
29158     wxPli_thread_sv_register( aTHX_ "Wx::Font", RETVAL, ST(0) );
29159
29160     }
29161     XSRETURN(1);
29162 }
29163
29164
29165 XS(XS_Wx__FontPickerEvent_SetFont); /* prototype to pass -Wmissing-prototypes */
29166 XS(XS_Wx__FontPickerEvent_SetFont)
29167 {
29168 #ifdef dVAR
29169     dVAR; dXSARGS;
29170 #else
29171     dXSARGS;
29172 #endif
29173     if (items != 2)
29174        croak_xs_usage(cv,  "THIS, c");
29175     {
29176         wxFont*    c = (wxFont *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Font" );
29177         wxFontPickerEvent *    THIS = (wxFontPickerEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FontPickerEvent" );
29178     THIS->SetFont( *( c ) );
29179     }
29180     XSRETURN_EMPTY;
29181 }
29182
29183 #endif
29184
29185 /* INCLUDE: Returning to 'Controls.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/FontPickerCtrl.xsp |' */
29186
29187 #ifdef __cplusplus
29188 extern "C"
29189 #endif
29190 XS(boot_Wx_Ctrl); /* prototype to pass -Wmissing-prototypes */
29191 XS(boot_Wx_Ctrl)
29192 {
29193 #ifdef dVAR
29194     dVAR; dXSARGS;
29195 #else
29196     dXSARGS;
29197 #endif
29198 #if (PERL_REVISION == 5 && PERL_VERSION < 9)
29199     char* file = __FILE__;
29200 #else
29201     const char* file = __FILE__;
29202 #endif
29203
29204     PERL_UNUSED_VAR(cv); /* -W */
29205     PERL_UNUSED_VAR(items); /* -W */
29206     XS_VERSION_BOOTCHECK ;
29207
29208         newXS("Wx::Control::Command", XS_Wx__Control_Command, file);
29209 #if XSubPPtmpAAAA
29210         newXS("Wx::Control::GetLabelText", XS_Wx__Control_GetLabelText, file);
29211 #endif
29212         newXS("Wx::ControlWithItems::GetCount", XS_Wx__ControlWithItems_GetCount, file);
29213         newXS("Wx::ControlWithItems::IsEmpty", XS_Wx__ControlWithItems_IsEmpty, file);
29214         newXS("Wx::ControlWithItems::GetString", XS_Wx__ControlWithItems_GetString, file);
29215         newXS("Wx::ControlWithItems::GetStrings", XS_Wx__ControlWithItems_GetStrings, file);
29216         newXS("Wx::ControlWithItems::SetString", XS_Wx__ControlWithItems_SetString, file);
29217         newXS("Wx::ControlWithItems::FindString", XS_Wx__ControlWithItems_FindString, file);
29218         newXS("Wx::ControlWithItems::FindStringNoCase", XS_Wx__ControlWithItems_FindStringNoCase, file);
29219 #if XSubPPtmpAAAB
29220         newXS("Wx::ControlWithItems::FindStringCase", XS_Wx__ControlWithItems_FindStringCase, file);
29221 #endif
29222 #if XSubPPtmpAAAC
29223         newXS("Wx::ControlWithItems::SetSelection", XS_Wx__ControlWithItems_SetSelection, file);
29224 #endif
29225         newXS("Wx::ControlWithItems::GetSelection", XS_Wx__ControlWithItems_GetSelection, file);
29226 #if XSubPPtmpAAAD
29227         newXS("Wx::ControlWithItems::SetStringSelection", XS_Wx__ControlWithItems_SetStringSelection, file);
29228 #endif
29229         newXS("Wx::ControlWithItems::GetStringSelection", XS_Wx__ControlWithItems_GetStringSelection, file);
29230         newXS("Wx::ControlWithItems::Select", XS_Wx__ControlWithItems_Select, file);
29231         newXS("Wx::ControlWithItems::Append", XS_Wx__ControlWithItems_Append, file);
29232         newXS("Wx::ControlWithItems::AppendString", XS_Wx__ControlWithItems_AppendString, file);
29233         newXS("Wx::ControlWithItems::AppendData", XS_Wx__ControlWithItems_AppendData, file);
29234         newXS("Wx::ControlWithItems::AppendItems", XS_Wx__ControlWithItems_AppendItems, file);
29235 #if XSubPPtmpAAAE
29236         newXS("Wx::ControlWithItems::AppendItemsData", XS_Wx__ControlWithItems_AppendItemsData, file);
29237 #endif
29238         newXS("Wx::ControlWithItems::Insert", XS_Wx__ControlWithItems_Insert, file);
29239         newXS("Wx::ControlWithItems::InsertString", XS_Wx__ControlWithItems_InsertString, file);
29240         newXS("Wx::ControlWithItems::InsertData", XS_Wx__ControlWithItems_InsertData, file);
29241 #if XSubPPtmpAAAF
29242         newXS("Wx::ControlWithItems::InsertItems", XS_Wx__ControlWithItems_InsertItems, file);
29243         newXS("Wx::ControlWithItems::InsertItemsData", XS_Wx__ControlWithItems_InsertItemsData, file);
29244 #endif
29245 #if XSubPPtmpAAAG
29246         newXS("Wx::ControlWithItems::Set", XS_Wx__ControlWithItems_Set, file);
29247         newXS("Wx::ControlWithItems::SetItems", XS_Wx__ControlWithItems_SetItems, file);
29248         newXS("Wx::ControlWithItems::SetItemsData", XS_Wx__ControlWithItems_SetItemsData, file);
29249 #endif
29250         newXS("Wx::ControlWithItems::Clear", XS_Wx__ControlWithItems_Clear, file);
29251         newXS("Wx::ControlWithItems::Delete", XS_Wx__ControlWithItems_Delete, file);
29252         newXS("Wx::ControlWithItems::GetClientData", XS_Wx__ControlWithItems_GetClientData, file);
29253         newXS("Wx::ControlWithItems::SetClientData", XS_Wx__ControlWithItems_SetClientData, file);
29254 #if XSubPPtmpAAAH
29255         newXS("Wx::AnimationCtrl::newDefault", XS_Wx__AnimationCtrl_newDefault, file);
29256         newXS("Wx::AnimationCtrl::new", XS_Wx__AnimationCtrl_new, file);
29257         newXS("Wx::AnimationCtrl::Create", XS_Wx__AnimationCtrl_Create, file);
29258         newXS("Wx::AnimationCtrl::LoadFile", XS_Wx__AnimationCtrl_LoadFile, file);
29259         newXS("Wx::AnimationCtrl::SetAnimation", XS_Wx__AnimationCtrl_SetAnimation, file);
29260         newXS("Wx::AnimationCtrl::GetAnimation", XS_Wx__AnimationCtrl_GetAnimation, file);
29261         newXS("Wx::AnimationCtrl::Play", XS_Wx__AnimationCtrl_Play, file);
29262         newXS("Wx::AnimationCtrl::Stop", XS_Wx__AnimationCtrl_Stop, file);
29263         newXS("Wx::AnimationCtrl::IsPlaying", XS_Wx__AnimationCtrl_IsPlaying, file);
29264         newXS("Wx::AnimationCtrl::SetInactiveBitmap", XS_Wx__AnimationCtrl_SetInactiveBitmap, file);
29265         newXS("Wx::AnimationCtrl::GetInactiveBitmap", XS_Wx__AnimationCtrl_GetInactiveBitmap, file);
29266 #endif
29267         newXS("Wx::BitmapButton::new", XS_Wx__BitmapButton_new, file);
29268         newXS("Wx::BitmapButton::newDefault", XS_Wx__BitmapButton_newDefault, file);
29269         newXS("Wx::BitmapButton::newFull", XS_Wx__BitmapButton_newFull, file);
29270         newXS("Wx::BitmapButton::Create", XS_Wx__BitmapButton_Create, file);
29271         newXS("Wx::BitmapButton::GetBitmapDisabled", XS_Wx__BitmapButton_GetBitmapDisabled, file);
29272         newXS("Wx::BitmapButton::GetBitmapFocus", XS_Wx__BitmapButton_GetBitmapFocus, file);
29273 #if XSubPPtmpAAAI
29274         newXS("Wx::BitmapButton::GetBitmapHover", XS_Wx__BitmapButton_GetBitmapHover, file);
29275 #endif
29276         newXS("Wx::BitmapButton::GetBitmapLabel", XS_Wx__BitmapButton_GetBitmapLabel, file);
29277         newXS("Wx::BitmapButton::GetBitmapSelected", XS_Wx__BitmapButton_GetBitmapSelected, file);
29278         newXS("Wx::BitmapButton::SetBitmapDisabled", XS_Wx__BitmapButton_SetBitmapDisabled, file);
29279         newXS("Wx::BitmapButton::SetBitmapLabel", XS_Wx__BitmapButton_SetBitmapLabel, file);
29280         newXS("Wx::BitmapButton::SetBitmapSelected", XS_Wx__BitmapButton_SetBitmapSelected, file);
29281         newXS("Wx::BitmapButton::SetBitmapFocus", XS_Wx__BitmapButton_SetBitmapFocus, file);
29282 #if XSubPPtmpAAAJ
29283         newXS("Wx::BitmapButton::SetBitmapHover", XS_Wx__BitmapButton_SetBitmapHover, file);
29284 #endif
29285 #if XSubPPtmpAAAK
29286         newXS("Wx::EditableListBox::new", XS_Wx__EditableListBox_new, file);
29287         newXS("Wx::EditableListBox::newDefault", XS_Wx__EditableListBox_newDefault, file);
29288         newXS("Wx::EditableListBox::newFull", XS_Wx__EditableListBox_newFull, file);
29289         newXS("Wx::EditableListBox::Create", XS_Wx__EditableListBox_Create, file);
29290         newXS("Wx::EditableListBox::SetStrings", XS_Wx__EditableListBox_SetStrings, file);
29291         newXS("Wx::EditableListBox::GetStrings", XS_Wx__EditableListBox_GetStrings, file);
29292         newXS("Wx::EditableListBox::GetListCtrl", XS_Wx__EditableListBox_GetListCtrl, file);
29293         newXS("Wx::EditableListBox::GetDelButton", XS_Wx__EditableListBox_GetDelButton, file);
29294         newXS("Wx::EditableListBox::GetNewButton", XS_Wx__EditableListBox_GetNewButton, file);
29295         newXS("Wx::EditableListBox::GetUpButton", XS_Wx__EditableListBox_GetUpButton, file);
29296         newXS("Wx::EditableListBox::GetDownButton", XS_Wx__EditableListBox_GetDownButton, file);
29297         newXS("Wx::EditableListBox::GetEditButton", XS_Wx__EditableListBox_GetEditButton, file);
29298 #endif
29299 #if XSubPPtmpAAAL
29300         newXS("Wx::BookCtrl::GetPageCount", XS_Wx__BookCtrl_GetPageCount, file);
29301         newXS("Wx::BookCtrl::GetPage", XS_Wx__BookCtrl_GetPage, file);
29302         newXS("Wx::BookCtrl::GetSelection", XS_Wx__BookCtrl_GetSelection, file);
29303         newXS("Wx::BookCtrl::SetPageText", XS_Wx__BookCtrl_SetPageText, file);
29304         newXS("Wx::BookCtrl::GetPageText", XS_Wx__BookCtrl_GetPageText, file);
29305         newXS("Wx::BookCtrl::SetImageList", XS_Wx__BookCtrl_SetImageList, file);
29306         newXS("Wx::BookCtrl::GetPageImage", XS_Wx__BookCtrl_GetPageImage, file);
29307         newXS("Wx::BookCtrl::SetPageImage", XS_Wx__BookCtrl_SetPageImage, file);
29308         newXS("Wx::BookCtrl::SetPageSize", XS_Wx__BookCtrl_SetPageSize, file);
29309         newXS("Wx::BookCtrl::CalcSizeFromPage", XS_Wx__BookCtrl_CalcSizeFromPage, file);
29310 #if XSubPPtmpAAAM
29311         newXS("Wx::BookCtrl::GetInternalBorder", XS_Wx__BookCtrl_GetInternalBorder, file);
29312         newXS("Wx::BookCtrl::SetInternalBorder", XS_Wx__BookCtrl_SetInternalBorder, file);
29313         newXS("Wx::BookCtrl::IsVertical", XS_Wx__BookCtrl_IsVertical, file);
29314         newXS("Wx::BookCtrl::SetFitToCurrentPage", XS_Wx__BookCtrl_SetFitToCurrentPage, file);
29315         newXS("Wx::BookCtrl::GetFitToCurrentPage", XS_Wx__BookCtrl_GetFitToCurrentPage, file);
29316         newXS("Wx::BookCtrl::GetControlSizer", XS_Wx__BookCtrl_GetControlSizer, file);
29317 #endif
29318         newXS("Wx::BookCtrl::DeletePage", XS_Wx__BookCtrl_DeletePage, file);
29319         newXS("Wx::BookCtrl::RemovePage", XS_Wx__BookCtrl_RemovePage, file);
29320         newXS("Wx::BookCtrl::DeleteAllPages", XS_Wx__BookCtrl_DeleteAllPages, file);
29321         newXS("Wx::BookCtrl::AddPage", XS_Wx__BookCtrl_AddPage, file);
29322         newXS("Wx::BookCtrl::InsertPage", XS_Wx__BookCtrl_InsertPage, file);
29323         newXS("Wx::BookCtrl::SetSelection", XS_Wx__BookCtrl_SetSelection, file);
29324         newXS("Wx::BookCtrl::AdvanceSelection", XS_Wx__BookCtrl_AdvanceSelection, file);
29325 #if XSubPPtmpAAAN
29326         newXS("Wx::BookCtrl::ChangeSelection", XS_Wx__BookCtrl_ChangeSelection, file);
29327 #endif
29328 #if XSubPPtmpAAAO
29329         newXS("Wx::BookCtrl::GetCurrentPage", XS_Wx__BookCtrl_GetCurrentPage, file);
29330 #endif
29331         newXS("Wx::BookCtrl::AssignImageList", XS_Wx__BookCtrl_AssignImageList, file);
29332         newXS("Wx::BookCtrl::GetImageList", XS_Wx__BookCtrl_GetImageList, file);
29333 #if XSubPPtmpAAAP
29334         newXS("Wx::BookCtrl::HitTest", XS_Wx__BookCtrl_HitTest, file);
29335 #endif
29336         newXS("Wx::BookCtrlEvent::GetSelection", XS_Wx__BookCtrlEvent_GetSelection, file);
29337         newXS("Wx::BookCtrlEvent::SetSelection", XS_Wx__BookCtrlEvent_SetSelection, file);
29338         newXS("Wx::BookCtrlEvent::GetOldSelection", XS_Wx__BookCtrlEvent_GetOldSelection, file);
29339         newXS("Wx::BookCtrlEvent::SetOldSelection", XS_Wx__BookCtrlEvent_SetOldSelection, file);
29340 #endif
29341 #if XSubPPtmpAAAQ
29342         newXS("Wx::Listbook::newDefault", XS_Wx__Listbook_newDefault, file);
29343         newXS("Wx::Listbook::newFull", XS_Wx__Listbook_newFull, file);
29344         newXS("Wx::Listbook::Create", XS_Wx__Listbook_Create, file);
29345 #if XSubPPtmpAAAR
29346         newXS("Wx::Listbook::GetListView", XS_Wx__Listbook_GetListView, file);
29347 #endif
29348         newXS("Wx::Listbook::new", XS_Wx__Listbook_new, file);
29349 #endif
29350 #if XSubPPtmpAAAS
29351         newXS("Wx::Choicebook::newDefault", XS_Wx__Choicebook_newDefault, file);
29352         newXS("Wx::Choicebook::newFull", XS_Wx__Choicebook_newFull, file);
29353         newXS("Wx::Choicebook::Create", XS_Wx__Choicebook_Create, file);
29354         newXS("Wx::Choicebook::IsVertical", XS_Wx__Choicebook_IsVertical, file);
29355 #if XSubPPtmpAAAT
29356         newXS("Wx::Choicebook::GetChoiceCtrl", XS_Wx__Choicebook_GetChoiceCtrl, file);
29357 #endif
29358         newXS("Wx::Choicebook::new", XS_Wx__Choicebook_new, file);
29359 #endif
29360 #if XSubPPtmpAAAU
29361         newXS("Wx::Toolbook::newDefault", XS_Wx__Toolbook_newDefault, file);
29362         newXS("Wx::Toolbook::newFull", XS_Wx__Toolbook_newFull, file);
29363         newXS("Wx::Toolbook::Create", XS_Wx__Toolbook_Create, file);
29364         newXS("Wx::Toolbook::GetToolBar", XS_Wx__Toolbook_GetToolBar, file);
29365         newXS("Wx::Toolbook::Realize", XS_Wx__Toolbook_Realize, file);
29366         newXS("Wx::Toolbook::new", XS_Wx__Toolbook_new, file);
29367 #endif
29368 #if XSubPPtmpAAAV
29369         newXS("Wx::TreebookEvent::new", XS_Wx__TreebookEvent_new, file);
29370         newXS("Wx::TreebookEvent::GetOldSelection", XS_Wx__TreebookEvent_GetOldSelection, file);
29371         newXS("Wx::TreebookEvent::GetSelection", XS_Wx__TreebookEvent_GetSelection, file);
29372         newXS("Wx::Treebook::newDefault", XS_Wx__Treebook_newDefault, file);
29373         newXS("Wx::Treebook::newFull", XS_Wx__Treebook_newFull, file);
29374         newXS("Wx::Treebook::Create", XS_Wx__Treebook_Create, file);
29375         newXS("Wx::Treebook::InsertSubPage", XS_Wx__Treebook_InsertSubPage, file);
29376         newXS("Wx::Treebook::AddSubPage", XS_Wx__Treebook_AddSubPage, file);
29377         newXS("Wx::Treebook::IsNodeExpanded", XS_Wx__Treebook_IsNodeExpanded, file);
29378         newXS("Wx::Treebook::ExpandNode", XS_Wx__Treebook_ExpandNode, file);
29379         newXS("Wx::Treebook::CollapseNode", XS_Wx__Treebook_CollapseNode, file);
29380         newXS("Wx::Treebook::GetPageParent", XS_Wx__Treebook_GetPageParent, file);
29381         newXS("Wx::Treebook::GetTreeCtrl", XS_Wx__Treebook_GetTreeCtrl, file);
29382         newXS("Wx::Treebook::new", XS_Wx__Treebook_new, file);
29383 #endif
29384 #if XSubPPtmpAAAW
29385         newXS("Wx::HyperlinkCtrl::newDefault", XS_Wx__HyperlinkCtrl_newDefault, file);
29386         newXS("Wx::HyperlinkCtrl::newFull", XS_Wx__HyperlinkCtrl_newFull, file);
29387         newXS("Wx::HyperlinkCtrl::Create", XS_Wx__HyperlinkCtrl_Create, file);
29388         newXS("Wx::HyperlinkCtrl::GetHoverColour", XS_Wx__HyperlinkCtrl_GetHoverColour, file);
29389         newXS("Wx::HyperlinkCtrl::SetHoverColour", XS_Wx__HyperlinkCtrl_SetHoverColour, file);
29390         newXS("Wx::HyperlinkCtrl::GetNormalColour", XS_Wx__HyperlinkCtrl_GetNormalColour, file);
29391         newXS("Wx::HyperlinkCtrl::SetNormalColour", XS_Wx__HyperlinkCtrl_SetNormalColour, file);
29392         newXS("Wx::HyperlinkCtrl::GetVisitedColour", XS_Wx__HyperlinkCtrl_GetVisitedColour, file);
29393         newXS("Wx::HyperlinkCtrl::SetVisitedColour", XS_Wx__HyperlinkCtrl_SetVisitedColour, file);
29394         newXS("Wx::HyperlinkCtrl::GetURL", XS_Wx__HyperlinkCtrl_GetURL, file);
29395         newXS("Wx::HyperlinkCtrl::SetURL", XS_Wx__HyperlinkCtrl_SetURL, file);
29396         newXS("Wx::HyperlinkCtrl::SetVisited", XS_Wx__HyperlinkCtrl_SetVisited, file);
29397         newXS("Wx::HyperlinkCtrl::GetVisited", XS_Wx__HyperlinkCtrl_GetVisited, file);
29398         newXS("Wx::HyperlinkEvent::GetURL", XS_Wx__HyperlinkEvent_GetURL, file);
29399         newXS("Wx::HyperlinkEvent::SetURL", XS_Wx__HyperlinkEvent_SetURL, file);
29400         newXS("Wx::HyperlinkEvent::new", XS_Wx__HyperlinkEvent_new, file);
29401 #endif
29402 #if XSubPPtmpAAAX
29403         newXS("Wx::VListBox::Create", XS_Wx__VListBox_Create, file);
29404         newXS("Wx::VListBox::IsCurrent", XS_Wx__VListBox_IsCurrent, file);
29405         newXS("Wx::VListBox::IsSelected", XS_Wx__VListBox_IsSelected, file);
29406         newXS("Wx::VListBox::GetSelectedCount", XS_Wx__VListBox_GetSelectedCount, file);
29407         newXS("Wx::VListBox::GetMargins", XS_Wx__VListBox_GetMargins, file);
29408         newXS("Wx::VListBox::GetSelectionBackground", XS_Wx__VListBox_GetSelectionBackground, file);
29409         newXS("Wx::VListBox::SetItemCount", XS_Wx__VListBox_SetItemCount, file);
29410         newXS("Wx::VListBox::Clear", XS_Wx__VListBox_Clear, file);
29411         newXS("Wx::VListBox::SetSelection", XS_Wx__VListBox_SetSelection, file);
29412         newXS("Wx::VListBox::Select", XS_Wx__VListBox_Select, file);
29413         newXS("Wx::VListBox::SelectRange", XS_Wx__VListBox_SelectRange, file);
29414         newXS("Wx::VListBox::Toggle", XS_Wx__VListBox_Toggle, file);
29415         newXS("Wx::VListBox::SelectAll", XS_Wx__VListBox_SelectAll, file);
29416         newXS("Wx::VListBox::DeselectAll", XS_Wx__VListBox_DeselectAll, file);
29417         newXS("Wx::VListBox::SetMargins", XS_Wx__VListBox_SetMargins, file);
29418         newXS("Wx::VListBox::SetSelectionBackground", XS_Wx__VListBox_SetSelectionBackground, file);
29419         newXS("Wx::VListBox::GetFirstSelected", XS_Wx__VListBox_GetFirstSelected, file);
29420         newXS("Wx::VListBox::GetNextSelected", XS_Wx__VListBox_GetNextSelected, file);
29421         newXS("Wx::PlVListBox::new", XS_Wx__PlVListBox_new, file);
29422         newXS("Wx::PlVListBox::newDefault", XS_Wx__PlVListBox_newDefault, file);
29423         newXS("Wx::PlVListBox::newFull", XS_Wx__PlVListBox_newFull, file);
29424 #endif
29425 #if XSubPPtmpAAAY
29426         newXS("Wx::SearchCtrl::new", XS_Wx__SearchCtrl_new, file);
29427         newXS("Wx::SearchCtrl::newDefault", XS_Wx__SearchCtrl_newDefault, file);
29428         newXS("Wx::SearchCtrl::newFull", XS_Wx__SearchCtrl_newFull, file);
29429         newXS("Wx::SearchCtrl::Create", XS_Wx__SearchCtrl_Create, file);
29430         newXS("Wx::SearchCtrl::SetMenu", XS_Wx__SearchCtrl_SetMenu, file);
29431         newXS("Wx::SearchCtrl::GetMenu", XS_Wx__SearchCtrl_GetMenu, file);
29432         newXS("Wx::SearchCtrl::ShowSearchButton", XS_Wx__SearchCtrl_ShowSearchButton, file);
29433         newXS("Wx::SearchCtrl::IsSearchButtonVisible", XS_Wx__SearchCtrl_IsSearchButtonVisible, file);
29434         newXS("Wx::SearchCtrl::ShowCancelButton", XS_Wx__SearchCtrl_ShowCancelButton, file);
29435         newXS("Wx::SearchCtrl::IsCancelButtonVisible", XS_Wx__SearchCtrl_IsCancelButtonVisible, file);
29436         newXS("Wx::SearchCtrl::SetDescriptiveText", XS_Wx__SearchCtrl_SetDescriptiveText, file);
29437         newXS("Wx::SearchCtrl::GetDescriptiveText", XS_Wx__SearchCtrl_GetDescriptiveText, file);
29438 #endif
29439 #if XSubPPtmpAAAZ
29440         newXS("Wx::ComboPopup::new", XS_Wx__ComboPopup_new, file);
29441         newXS("Wx::ComboPopup::OnPopup", XS_Wx__ComboPopup_OnPopup, file);
29442         newXS("Wx::ComboPopup::OnDismiss", XS_Wx__ComboPopup_OnDismiss, file);
29443         newXS("Wx::ComboPopup::SetStringValue", XS_Wx__ComboPopup_SetStringValue, file);
29444         newXS("Wx::ComboPopup::PaintComboControl", XS_Wx__ComboPopup_PaintComboControl, file);
29445         newXS("Wx::ComboPopup::OnComboKeyEvent", XS_Wx__ComboPopup_OnComboKeyEvent, file);
29446         newXS("Wx::ComboPopup::OnComboDoubleClick", XS_Wx__ComboPopup_OnComboDoubleClick, file);
29447         newXS("Wx::ComboPopup::GetAdjustedSize", XS_Wx__ComboPopup_GetAdjustedSize, file);
29448         newXS("Wx::ComboPopup::LazyCreate", XS_Wx__ComboPopup_LazyCreate, file);
29449         newXS("Wx::ComboPopup::Dismiss", XS_Wx__ComboPopup_Dismiss, file);
29450         newXS("Wx::ComboPopup::IsCreated", XS_Wx__ComboPopup_IsCreated, file);
29451         newXS("Wx::ComboPopup::GetComboCtrl", XS_Wx__ComboPopup_GetComboCtrl, file);
29452 #endif
29453 #if XSubPPtmpAABA
29454         newXS("Wx::ComboCtrl::new", XS_Wx__ComboCtrl_new, file);
29455         newXS("Wx::ComboCtrl::newDefault", XS_Wx__ComboCtrl_newDefault, file);
29456         newXS("Wx::ComboCtrl::newFull", XS_Wx__ComboCtrl_newFull, file);
29457         newXS("Wx::ComboCtrl::Create", XS_Wx__ComboCtrl_Create, file);
29458         newXS("Wx::ComboCtrl::ShowPopup", XS_Wx__ComboCtrl_ShowPopup, file);
29459         newXS("Wx::ComboCtrl::HidePopup", XS_Wx__ComboCtrl_HidePopup, file);
29460         newXS("Wx::ComboCtrl::IsPopupShown", XS_Wx__ComboCtrl_IsPopupShown, file);
29461         newXS("Wx::ComboCtrl::SetPopupControl", XS_Wx__ComboCtrl_SetPopupControl, file);
29462         newXS("Wx::ComboCtrl::GetPopupControl", XS_Wx__ComboCtrl_GetPopupControl, file);
29463         newXS("Wx::ComboCtrl::GetPopupWindow", XS_Wx__ComboCtrl_GetPopupWindow, file);
29464         newXS("Wx::ComboCtrl::GetTextCtrl", XS_Wx__ComboCtrl_GetTextCtrl, file);
29465         newXS("Wx::ComboCtrl::GetButton", XS_Wx__ComboCtrl_GetButton, file);
29466         newXS("Wx::ComboCtrl::GetValue", XS_Wx__ComboCtrl_GetValue, file);
29467         newXS("Wx::ComboCtrl::SetValue", XS_Wx__ComboCtrl_SetValue, file);
29468         newXS("Wx::ComboCtrl::Copy", XS_Wx__ComboCtrl_Copy, file);
29469         newXS("Wx::ComboCtrl::Cut", XS_Wx__ComboCtrl_Cut, file);
29470         newXS("Wx::ComboCtrl::Paste", XS_Wx__ComboCtrl_Paste, file);
29471         newXS("Wx::ComboCtrl::SetInsertionPoint", XS_Wx__ComboCtrl_SetInsertionPoint, file);
29472         newXS("Wx::ComboCtrl::SetInsertionPointEnd", XS_Wx__ComboCtrl_SetInsertionPointEnd, file);
29473         newXS("Wx::ComboCtrl::GetInsertionPoint", XS_Wx__ComboCtrl_GetInsertionPoint, file);
29474         newXS("Wx::ComboCtrl::GetLastPosition", XS_Wx__ComboCtrl_GetLastPosition, file);
29475         newXS("Wx::ComboCtrl::Replace", XS_Wx__ComboCtrl_Replace, file);
29476         newXS("Wx::ComboCtrl::Remove", XS_Wx__ComboCtrl_Remove, file);
29477         newXS("Wx::ComboCtrl::SetSelection", XS_Wx__ComboCtrl_SetSelection, file);
29478         newXS("Wx::ComboCtrl::Undo", XS_Wx__ComboCtrl_Undo, file);
29479         newXS("Wx::ComboCtrl::SetText", XS_Wx__ComboCtrl_SetText, file);
29480         newXS("Wx::ComboCtrl::SetPopupMinWidth", XS_Wx__ComboCtrl_SetPopupMinWidth, file);
29481         newXS("Wx::ComboCtrl::SetPopupMaxHeight", XS_Wx__ComboCtrl_SetPopupMaxHeight, file);
29482         newXS("Wx::ComboCtrl::SetPopupExtents", XS_Wx__ComboCtrl_SetPopupExtents, file);
29483         newXS("Wx::ComboCtrl::SetCustomPaintWidth", XS_Wx__ComboCtrl_SetCustomPaintWidth, file);
29484         newXS("Wx::ComboCtrl::GetCustomPaintWidth", XS_Wx__ComboCtrl_GetCustomPaintWidth, file);
29485         newXS("Wx::ComboCtrl::SetPopupAnchor", XS_Wx__ComboCtrl_SetPopupAnchor, file);
29486         newXS("Wx::ComboCtrl::SetButtonPosition", XS_Wx__ComboCtrl_SetButtonPosition, file);
29487         newXS("Wx::ComboCtrl::GetButtonSize", XS_Wx__ComboCtrl_GetButtonSize, file);
29488         newXS("Wx::ComboCtrl::SetButtonBitmaps", XS_Wx__ComboCtrl_SetButtonBitmaps, file);
29489 #if XSubPPtmpAABB
29490         newXS("Wx::ComboCtrl::SetTextIndent", XS_Wx__ComboCtrl_SetTextIndent, file);
29491         newXS("Wx::ComboCtrl::GetTextIndent", XS_Wx__ComboCtrl_GetTextIndent, file);
29492 #endif
29493         newXS("Wx::ComboCtrl::GetTextRect", XS_Wx__ComboCtrl_GetTextRect, file);
29494         newXS("Wx::ComboCtrl::UseAltPopupWindow", XS_Wx__ComboCtrl_UseAltPopupWindow, file);
29495         newXS("Wx::ComboCtrl::EnablePopupAnimation", XS_Wx__ComboCtrl_EnablePopupAnimation, file);
29496         newXS("Wx::ComboCtrl::GetBitmapNormal", XS_Wx__ComboCtrl_GetBitmapNormal, file);
29497         newXS("Wx::ComboCtrl::GetBitmapPressed", XS_Wx__ComboCtrl_GetBitmapPressed, file);
29498         newXS("Wx::ComboCtrl::GetBitmapHover", XS_Wx__ComboCtrl_GetBitmapHover, file);
29499         newXS("Wx::ComboCtrl::GetBitmapDisabled", XS_Wx__ComboCtrl_GetBitmapDisabled, file);
29500 #endif
29501 #if XSubPPtmpAABC
29502         newXS("Wx::OwnerDrawnComboBox::GetWidestItemWidth", XS_Wx__OwnerDrawnComboBox_GetWidestItemWidth, file);
29503         newXS("Wx::OwnerDrawnComboBox::GetWidestItem", XS_Wx__OwnerDrawnComboBox_GetWidestItem, file);
29504         newXS("Wx::OwnerDrawnComboBox::GetCount", XS_Wx__OwnerDrawnComboBox_GetCount, file);
29505         newXS("Wx::OwnerDrawnComboBox::IsEmpty", XS_Wx__OwnerDrawnComboBox_IsEmpty, file);
29506         newXS("Wx::OwnerDrawnComboBox::GetString", XS_Wx__OwnerDrawnComboBox_GetString, file);
29507         newXS("Wx::OwnerDrawnComboBox::GetStrings", XS_Wx__OwnerDrawnComboBox_GetStrings, file);
29508         newXS("Wx::OwnerDrawnComboBox::SetString", XS_Wx__OwnerDrawnComboBox_SetString, file);
29509         newXS("Wx::OwnerDrawnComboBox::FindString", XS_Wx__OwnerDrawnComboBox_FindString, file);
29510         newXS("Wx::OwnerDrawnComboBox::FindStringNoCase", XS_Wx__OwnerDrawnComboBox_FindStringNoCase, file);
29511 #if XSubPPtmpAABD
29512         newXS("Wx::OwnerDrawnComboBox::FindStringCase", XS_Wx__OwnerDrawnComboBox_FindStringCase, file);
29513 #endif
29514 #if XSubPPtmpAABE
29515         newXS("Wx::OwnerDrawnComboBox::SetSelection", XS_Wx__OwnerDrawnComboBox_SetSelection, file);
29516 #endif
29517         newXS("Wx::OwnerDrawnComboBox::GetSelection", XS_Wx__OwnerDrawnComboBox_GetSelection, file);
29518 #if XSubPPtmpAABF
29519         newXS("Wx::OwnerDrawnComboBox::SetStringSelection", XS_Wx__OwnerDrawnComboBox_SetStringSelection, file);
29520 #endif
29521         newXS("Wx::OwnerDrawnComboBox::GetStringSelection", XS_Wx__OwnerDrawnComboBox_GetStringSelection, file);
29522         newXS("Wx::OwnerDrawnComboBox::Select", XS_Wx__OwnerDrawnComboBox_Select, file);
29523         newXS("Wx::OwnerDrawnComboBox::Append", XS_Wx__OwnerDrawnComboBox_Append, file);
29524         newXS("Wx::OwnerDrawnComboBox::AppendString", XS_Wx__OwnerDrawnComboBox_AppendString, file);
29525         newXS("Wx::OwnerDrawnComboBox::AppendData", XS_Wx__OwnerDrawnComboBox_AppendData, file);
29526         newXS("Wx::OwnerDrawnComboBox::AppendItems", XS_Wx__OwnerDrawnComboBox_AppendItems, file);
29527 #if XSubPPtmpAABG
29528         newXS("Wx::OwnerDrawnComboBox::AppendItemsData", XS_Wx__OwnerDrawnComboBox_AppendItemsData, file);
29529 #endif
29530         newXS("Wx::OwnerDrawnComboBox::Insert", XS_Wx__OwnerDrawnComboBox_Insert, file);
29531         newXS("Wx::OwnerDrawnComboBox::InsertString", XS_Wx__OwnerDrawnComboBox_InsertString, file);
29532         newXS("Wx::OwnerDrawnComboBox::InsertData", XS_Wx__OwnerDrawnComboBox_InsertData, file);
29533 #if XSubPPtmpAABH
29534         newXS("Wx::OwnerDrawnComboBox::InsertItems", XS_Wx__OwnerDrawnComboBox_InsertItems, file);
29535         newXS("Wx::OwnerDrawnComboBox::InsertItemsData", XS_Wx__OwnerDrawnComboBox_InsertItemsData, file);
29536 #endif
29537 #if XSubPPtmpAABI
29538         newXS("Wx::OwnerDrawnComboBox::Set", XS_Wx__OwnerDrawnComboBox_Set, file);
29539         newXS("Wx::OwnerDrawnComboBox::SetItems", XS_Wx__OwnerDrawnComboBox_SetItems, file);
29540         newXS("Wx::OwnerDrawnComboBox::SetItemsData", XS_Wx__OwnerDrawnComboBox_SetItemsData, file);
29541 #endif
29542         newXS("Wx::OwnerDrawnComboBox::Clear", XS_Wx__OwnerDrawnComboBox_Clear, file);
29543         newXS("Wx::OwnerDrawnComboBox::Delete", XS_Wx__OwnerDrawnComboBox_Delete, file);
29544         newXS("Wx::OwnerDrawnComboBox::GetClientData", XS_Wx__OwnerDrawnComboBox_GetClientData, file);
29545         newXS("Wx::OwnerDrawnComboBox::SetClientData", XS_Wx__OwnerDrawnComboBox_SetClientData, file);
29546         newXS("Wx::PlOwnerDrawnComboBox::new", XS_Wx__PlOwnerDrawnComboBox_new, file);
29547         newXS("Wx::PlOwnerDrawnComboBox::newDefault", XS_Wx__PlOwnerDrawnComboBox_newDefault, file);
29548         newXS("Wx::PlOwnerDrawnComboBox::newFull", XS_Wx__PlOwnerDrawnComboBox_newFull, file);
29549         newXS("Wx::PlOwnerDrawnComboBox::Create", XS_Wx__PlOwnerDrawnComboBox_Create, file);
29550 #endif
29551 #if XSubPPtmpAABJ
29552         newXS("Wx::CollapsiblePaneEvent::new", XS_Wx__CollapsiblePaneEvent_new, file);
29553         newXS("Wx::CollapsiblePaneEvent::GetCollapsed", XS_Wx__CollapsiblePaneEvent_GetCollapsed, file);
29554         newXS("Wx::CollapsiblePaneEvent::SetCollapsed", XS_Wx__CollapsiblePaneEvent_SetCollapsed, file);
29555         newXS("Wx::CollapsiblePane::new", XS_Wx__CollapsiblePane_new, file);
29556         newXS("Wx::CollapsiblePane::newDefault", XS_Wx__CollapsiblePane_newDefault, file);
29557         newXS("Wx::CollapsiblePane::newFull", XS_Wx__CollapsiblePane_newFull, file);
29558         newXS("Wx::CollapsiblePane::Create", XS_Wx__CollapsiblePane_Create, file);
29559         newXS("Wx::CollapsiblePane::Collapse", XS_Wx__CollapsiblePane_Collapse, file);
29560         newXS("Wx::CollapsiblePane::Expand", XS_Wx__CollapsiblePane_Expand, file);
29561         newXS("Wx::CollapsiblePane::IsCollapsed", XS_Wx__CollapsiblePane_IsCollapsed, file);
29562         newXS("Wx::CollapsiblePane::IsExpanded", XS_Wx__CollapsiblePane_IsExpanded, file);
29563         newXS("Wx::CollapsiblePane::GetPane", XS_Wx__CollapsiblePane_GetPane, file);
29564 #endif
29565 #if XSubPPtmpAABK
29566         newXS("Wx::BitmapComboBox::new", XS_Wx__BitmapComboBox_new, file);
29567         newXS("Wx::BitmapComboBox::newDefault", XS_Wx__BitmapComboBox_newDefault, file);
29568         newXS("Wx::BitmapComboBox::newFull", XS_Wx__BitmapComboBox_newFull, file);
29569         newXS("Wx::BitmapComboBox::Create", XS_Wx__BitmapComboBox_Create, file);
29570         newXS("Wx::BitmapComboBox::Append", XS_Wx__BitmapComboBox_Append, file);
29571         newXS("Wx::BitmapComboBox::AppendString", XS_Wx__BitmapComboBox_AppendString, file);
29572         newXS("Wx::BitmapComboBox::AppendData", XS_Wx__BitmapComboBox_AppendData, file);
29573         newXS("Wx::BitmapComboBox::Insert", XS_Wx__BitmapComboBox_Insert, file);
29574         newXS("Wx::BitmapComboBox::InsertString", XS_Wx__BitmapComboBox_InsertString, file);
29575         newXS("Wx::BitmapComboBox::InsertData", XS_Wx__BitmapComboBox_InsertData, file);
29576         newXS("Wx::BitmapComboBox::GetItemBitmap", XS_Wx__BitmapComboBox_GetItemBitmap, file);
29577         newXS("Wx::BitmapComboBox::SetItemBitmap", XS_Wx__BitmapComboBox_SetItemBitmap, file);
29578         newXS("Wx::BitmapComboBox::GetBitmapSize", XS_Wx__BitmapComboBox_GetBitmapSize, file);
29579 #endif
29580         newXS("Wx::GenericDirCtrl::new", XS_Wx__GenericDirCtrl_new, file);
29581         newXS("Wx::GenericDirCtrl::newDefault", XS_Wx__GenericDirCtrl_newDefault, file);
29582         newXS("Wx::GenericDirCtrl::newFull", XS_Wx__GenericDirCtrl_newFull, file);
29583         newXS("Wx::GenericDirCtrl::Create", XS_Wx__GenericDirCtrl_Create, file);
29584         newXS("Wx::GenericDirCtrl::ExpandPath", XS_Wx__GenericDirCtrl_ExpandPath, file);
29585 #if XSubPPtmpAABL
29586         newXS("Wx::GenericDirCtrl::CollapsePath", XS_Wx__GenericDirCtrl_CollapsePath, file);
29587 #endif
29588         newXS("Wx::GenericDirCtrl::GetDefaultPath", XS_Wx__GenericDirCtrl_GetDefaultPath, file);
29589         newXS("Wx::GenericDirCtrl::SetDefaultPath", XS_Wx__GenericDirCtrl_SetDefaultPath, file);
29590         newXS("Wx::GenericDirCtrl::GetPath", XS_Wx__GenericDirCtrl_GetPath, file);
29591         newXS("Wx::GenericDirCtrl::GetFilePath", XS_Wx__GenericDirCtrl_GetFilePath, file);
29592         newXS("Wx::GenericDirCtrl::SetPath", XS_Wx__GenericDirCtrl_SetPath, file);
29593         newXS("Wx::GenericDirCtrl::ShowHidden", XS_Wx__GenericDirCtrl_ShowHidden, file);
29594         newXS("Wx::GenericDirCtrl::GetShowHidden", XS_Wx__GenericDirCtrl_GetShowHidden, file);
29595         newXS("Wx::GenericDirCtrl::GetFilter", XS_Wx__GenericDirCtrl_GetFilter, file);
29596         newXS("Wx::GenericDirCtrl::SetFilter", XS_Wx__GenericDirCtrl_SetFilter, file);
29597         newXS("Wx::GenericDirCtrl::GetFilterIndex", XS_Wx__GenericDirCtrl_GetFilterIndex, file);
29598         newXS("Wx::GenericDirCtrl::SetFilterIndex", XS_Wx__GenericDirCtrl_SetFilterIndex, file);
29599         newXS("Wx::GenericDirCtrl::GetRootId", XS_Wx__GenericDirCtrl_GetRootId, file);
29600         newXS("Wx::GenericDirCtrl::GetTreeCtrl", XS_Wx__GenericDirCtrl_GetTreeCtrl, file);
29601         newXS("Wx::GenericDirCtrl::GetFilterListCtrl", XS_Wx__GenericDirCtrl_GetFilterListCtrl, file);
29602         newXS("Wx::GenericDirCtrl::ReCreateTree", XS_Wx__GenericDirCtrl_ReCreateTree, file);
29603 #if XSubPPtmpAABM
29604         newXS("Wx::GenericDirCtrl::CollapseTree", XS_Wx__GenericDirCtrl_CollapseTree, file);
29605 #endif
29606 #if XSubPPtmpAABN
29607         newXS("Wx::FileCtrl::new", XS_Wx__FileCtrl_new, file);
29608         newXS("Wx::FileCtrl::newDefault", XS_Wx__FileCtrl_newDefault, file);
29609         newXS("Wx::FileCtrl::newFull", XS_Wx__FileCtrl_newFull, file);
29610         newXS("Wx::FileCtrl::Create", XS_Wx__FileCtrl_Create, file);
29611         newXS("Wx::FileCtrl::SetWildcard", XS_Wx__FileCtrl_SetWildcard, file);
29612         newXS("Wx::FileCtrl::SetFilterIndex", XS_Wx__FileCtrl_SetFilterIndex, file);
29613         newXS("Wx::FileCtrl::SetDirectory", XS_Wx__FileCtrl_SetDirectory, file);
29614         newXS("Wx::FileCtrl::SetFilename", XS_Wx__FileCtrl_SetFilename, file);
29615         newXS("Wx::FileCtrl::SetPath", XS_Wx__FileCtrl_SetPath, file);
29616         newXS("Wx::FileCtrl::GetFilename", XS_Wx__FileCtrl_GetFilename, file);
29617         newXS("Wx::FileCtrl::GetDirectory", XS_Wx__FileCtrl_GetDirectory, file);
29618         newXS("Wx::FileCtrl::GetWildcard", XS_Wx__FileCtrl_GetWildcard, file);
29619         newXS("Wx::FileCtrl::GetPath", XS_Wx__FileCtrl_GetPath, file);
29620         newXS("Wx::FileCtrl::GetPaths", XS_Wx__FileCtrl_GetPaths, file);
29621         newXS("Wx::FileCtrl::GetFilenames", XS_Wx__FileCtrl_GetFilenames, file);
29622         newXS("Wx::FileCtrl::GetFilterIndex", XS_Wx__FileCtrl_GetFilterIndex, file);
29623         newXS("Wx::FileCtrl::HasMultipleFileSelection", XS_Wx__FileCtrl_HasMultipleFileSelection, file);
29624         newXS("Wx::FileCtrl::ShowHidden", XS_Wx__FileCtrl_ShowHidden, file);
29625         newXS("Wx::FileCtrlEvent::SetFiles", XS_Wx__FileCtrlEvent_SetFiles, file);
29626         newXS("Wx::FileCtrlEvent::SetDirectory", XS_Wx__FileCtrlEvent_SetDirectory, file);
29627         newXS("Wx::FileCtrlEvent::GetFiles", XS_Wx__FileCtrlEvent_GetFiles, file);
29628         newXS("Wx::FileCtrlEvent::GetDirectory", XS_Wx__FileCtrlEvent_GetDirectory, file);
29629         newXS("Wx::FileCtrlEvent::GetFile", XS_Wx__FileCtrlEvent_GetFile, file);
29630 #endif
29631         newXS("Wx::TreeItemData::new", XS_Wx__TreeItemData_new, file);
29632         newXS("Wx::TreeItemData::Destroy", XS_Wx__TreeItemData_Destroy, file);
29633         newXS("Wx::TreeItemData::GetData", XS_Wx__TreeItemData_GetData, file);
29634         newXS("Wx::TreeItemData::SetData", XS_Wx__TreeItemData_SetData, file);
29635         newXS("Wx::TreeItemData::GetId", XS_Wx__TreeItemData_GetId, file);
29636         newXS("Wx::TreeItemData::SetId", XS_Wx__TreeItemData_SetId, file);
29637         newXS("Wx::TreeItemId::CLONE", XS_Wx__TreeItemId_CLONE, file);
29638         newXS("Wx::TreeItemId::DESTROY", XS_Wx__TreeItemId_DESTROY, file);
29639         newXS("Wx::TreeItemId::IsOk", XS_Wx__TreeItemId_IsOk, file);
29640         newXS("Wx::TreeItemId::tiid_spaceship", XS_Wx__TreeItemId_tiid_spaceship, file);
29641         newXS("Wx::TreeEvent::new", XS_Wx__TreeEvent_new, file);
29642         newXS("Wx::TreeEvent::GetItem", XS_Wx__TreeEvent_GetItem, file);
29643 #if XSubPPtmpAABO
29644         newXS("Wx::TreeEvent::SetQuickBestSize", XS_Wx__TreeEvent_SetQuickBestSize, file);
29645         newXS("Wx::TreeEvent::GetQuickBestSize", XS_Wx__TreeEvent_GetQuickBestSize, file);
29646 #endif
29647         newXS("Wx::TreeEvent::GetKeyCode", XS_Wx__TreeEvent_GetKeyCode, file);
29648         newXS("Wx::TreeEvent::GetOldItem", XS_Wx__TreeEvent_GetOldItem, file);
29649         newXS("Wx::TreeEvent::GetPoint", XS_Wx__TreeEvent_GetPoint, file);
29650         newXS("Wx::TreeEvent::IsEditCancelled", XS_Wx__TreeEvent_IsEditCancelled, file);
29651         newXS("Wx::TreeEvent::GetLabel", XS_Wx__TreeEvent_GetLabel, file);
29652         newXS("Wx::TreeEvent::SetToolTip", XS_Wx__TreeEvent_SetToolTip, file);
29653         newXS("Wx::TreeCtrl::new", XS_Wx__TreeCtrl_new, file);
29654         newXS("Wx::TreeCtrl::newDefault", XS_Wx__TreeCtrl_newDefault, file);
29655         newXS("Wx::TreeCtrl::newFull", XS_Wx__TreeCtrl_newFull, file);
29656         newXS("Wx::TreeCtrl::Create", XS_Wx__TreeCtrl_Create, file);
29657         newXS("Wx::TreeCtrl::AddRoot", XS_Wx__TreeCtrl_AddRoot, file);
29658         newXS("Wx::TreeCtrl::AppendItem", XS_Wx__TreeCtrl_AppendItem, file);
29659         newXS("Wx::TreeCtrl::Collapse", XS_Wx__TreeCtrl_Collapse, file);
29660 #if XSubPPtmpAABP
29661         newXS("Wx::TreeCtrl::CollapseAll", XS_Wx__TreeCtrl_CollapseAll, file);
29662         newXS("Wx::TreeCtrl::CollapseAllChildren", XS_Wx__TreeCtrl_CollapseAllChildren, file);
29663 #endif
29664         newXS("Wx::TreeCtrl::CollapseAndReset", XS_Wx__TreeCtrl_CollapseAndReset, file);
29665         newXS("Wx::TreeCtrl::Delete", XS_Wx__TreeCtrl_Delete, file);
29666         newXS("Wx::TreeCtrl::DeleteChildren", XS_Wx__TreeCtrl_DeleteChildren, file);
29667         newXS("Wx::TreeCtrl::DeleteAllItems", XS_Wx__TreeCtrl_DeleteAllItems, file);
29668         newXS("Wx::TreeCtrl::EditLabel", XS_Wx__TreeCtrl_EditLabel, file);
29669 #if XSubPPtmpAABQ
29670         newXS("Wx::TreeCtrl::EndEditLabel", XS_Wx__TreeCtrl_EndEditLabel, file);
29671 #endif
29672 #if XSubPPtmpAABR
29673         newXS("Wx::TreeCtrl::EndEditLabel", XS_Wx__TreeCtrl_EndEditLabel, file);
29674 #endif
29675         newXS("Wx::TreeCtrl::EnsureVisible", XS_Wx__TreeCtrl_EnsureVisible, file);
29676 #if XSubPPtmpAABS
29677         newXS("Wx::TreeCtrl::ExpandAll", XS_Wx__TreeCtrl_ExpandAll, file);
29678 #endif
29679         newXS("Wx::TreeCtrl::Expand", XS_Wx__TreeCtrl_Expand, file);
29680 #if XSubPPtmpAABT
29681         newXS("Wx::TreeCtrl::ExpandAllChildren", XS_Wx__TreeCtrl_ExpandAllChildren, file);
29682 #endif
29683         newXS("Wx::TreeCtrl::GetBoundingRect", XS_Wx__TreeCtrl_GetBoundingRect, file);
29684         newXS("Wx::TreeCtrl::GetChildrenCount", XS_Wx__TreeCtrl_GetChildrenCount, file);
29685         newXS("Wx::TreeCtrl::GetCount", XS_Wx__TreeCtrl_GetCount, file);
29686         newXS("Wx::TreeCtrl::GetItemData", XS_Wx__TreeCtrl_GetItemData, file);
29687         newXS("Wx::TreeCtrl::GetPlData", XS_Wx__TreeCtrl_GetPlData, file);
29688 #if XSubPPtmpAABU
29689         newXS("Wx::TreeCtrl::GetEditControl", XS_Wx__TreeCtrl_GetEditControl, file);
29690 #endif
29691         newXS("Wx::TreeCtrl::GetFirstChild", XS_Wx__TreeCtrl_GetFirstChild, file);
29692         newXS("Wx::TreeCtrl::GetFirstVisibleItem", XS_Wx__TreeCtrl_GetFirstVisibleItem, file);
29693         newXS("Wx::TreeCtrl::GetImageList", XS_Wx__TreeCtrl_GetImageList, file);
29694 #if XSubPPtmpAABV
29695         newXS("Wx::TreeCtrl::GetButtonsImageList", XS_Wx__TreeCtrl_GetButtonsImageList, file);
29696 #endif
29697         newXS("Wx::TreeCtrl::GetIndent", XS_Wx__TreeCtrl_GetIndent, file);
29698         newXS("Wx::TreeCtrl::GetItemImage", XS_Wx__TreeCtrl_GetItemImage, file);
29699         newXS("Wx::TreeCtrl::GetItemText", XS_Wx__TreeCtrl_GetItemText, file);
29700         newXS("Wx::TreeCtrl::GetItemBackgroundColour", XS_Wx__TreeCtrl_GetItemBackgroundColour, file);
29701         newXS("Wx::TreeCtrl::GetItemTextColour", XS_Wx__TreeCtrl_GetItemTextColour, file);
29702         newXS("Wx::TreeCtrl::GetItemFont", XS_Wx__TreeCtrl_GetItemFont, file);
29703         newXS("Wx::TreeCtrl::GetLastChild", XS_Wx__TreeCtrl_GetLastChild, file);
29704 #if XSubPPtmpAABW
29705         newXS("Wx::TreeCtrl::GetNextChild", XS_Wx__TreeCtrl_GetNextChild, file);
29706 #endif
29707 #if XSubPPtmpAABX
29708         newXS("Wx::TreeCtrl::GetNextChild", XS_Wx__TreeCtrl_GetNextChild, file);
29709 #endif
29710         newXS("Wx::TreeCtrl::GetNextSibling", XS_Wx__TreeCtrl_GetNextSibling, file);
29711         newXS("Wx::TreeCtrl::GetNextVisible", XS_Wx__TreeCtrl_GetNextVisible, file);
29712         newXS("Wx::TreeCtrl::GetParent", XS_Wx__TreeCtrl_GetParent, file);
29713         newXS("Wx::TreeCtrl::GetItemParent", XS_Wx__TreeCtrl_GetItemParent, file);
29714         newXS("Wx::TreeCtrl::GetPrevSibling", XS_Wx__TreeCtrl_GetPrevSibling, file);
29715         newXS("Wx::TreeCtrl::GetPrevVisible", XS_Wx__TreeCtrl_GetPrevVisible, file);
29716         newXS("Wx::TreeCtrl::GetRootItem", XS_Wx__TreeCtrl_GetRootItem, file);
29717         newXS("Wx::TreeCtrl::GetSelection", XS_Wx__TreeCtrl_GetSelection, file);
29718         newXS("Wx::TreeCtrl::GetSelections", XS_Wx__TreeCtrl_GetSelections, file);
29719         newXS("Wx::TreeCtrl::GetStateImageList", XS_Wx__TreeCtrl_GetStateImageList, file);
29720         newXS("Wx::TreeCtrl::HitTest", XS_Wx__TreeCtrl_HitTest, file);
29721         newXS("Wx::TreeCtrl::InsertItem", XS_Wx__TreeCtrl_InsertItem, file);
29722         newXS("Wx::TreeCtrl::InsertItemPrev", XS_Wx__TreeCtrl_InsertItemPrev, file);
29723         newXS("Wx::TreeCtrl::InsertItemBef", XS_Wx__TreeCtrl_InsertItemBef, file);
29724         newXS("Wx::TreeCtrl::IsBold", XS_Wx__TreeCtrl_IsBold, file);
29725         newXS("Wx::TreeCtrl::IsExpanded", XS_Wx__TreeCtrl_IsExpanded, file);
29726         newXS("Wx::TreeCtrl::IsSelected", XS_Wx__TreeCtrl_IsSelected, file);
29727         newXS("Wx::TreeCtrl::IsVisible", XS_Wx__TreeCtrl_IsVisible, file);
29728 #if XSubPPtmpAABY
29729         newXS("Wx::TreeCtrl::IsEmpty", XS_Wx__TreeCtrl_IsEmpty, file);
29730 #endif
29731         newXS("Wx::TreeCtrl::ItemHasChildren", XS_Wx__TreeCtrl_ItemHasChildren, file);
29732         newXS("Wx::TreeCtrl::OnCompareItems", XS_Wx__TreeCtrl_OnCompareItems, file);
29733         newXS("Wx::TreeCtrl::PrependItem", XS_Wx__TreeCtrl_PrependItem, file);
29734         newXS("Wx::TreeCtrl::ScrollTo", XS_Wx__TreeCtrl_ScrollTo, file);
29735 #if XSubPPtmpAABZ
29736         newXS("Wx::TreeCtrl::SelectItem", XS_Wx__TreeCtrl_SelectItem, file);
29737 #endif
29738 #if XSubPPtmpAACA
29739         newXS("Wx::TreeCtrl::SelectItem", XS_Wx__TreeCtrl_SelectItem, file);
29740 #endif
29741         newXS("Wx::TreeCtrl::SetIndent", XS_Wx__TreeCtrl_SetIndent, file);
29742         newXS("Wx::TreeCtrl::SetImageList", XS_Wx__TreeCtrl_SetImageList, file);
29743 #if XSubPPtmpAACB
29744         newXS("Wx::TreeCtrl::SetButtonsImageList", XS_Wx__TreeCtrl_SetButtonsImageList, file);
29745 #endif
29746         newXS("Wx::TreeCtrl::SetStateImageList", XS_Wx__TreeCtrl_SetStateImageList, file);
29747         newXS("Wx::TreeCtrl::AssignImageList", XS_Wx__TreeCtrl_AssignImageList, file);
29748         newXS("Wx::TreeCtrl::AssignButtonsImageList", XS_Wx__TreeCtrl_AssignButtonsImageList, file);
29749         newXS("Wx::TreeCtrl::AssignStateImageList", XS_Wx__TreeCtrl_AssignStateImageList, file);
29750         newXS("Wx::TreeCtrl::SetItemBackgroundColour", XS_Wx__TreeCtrl_SetItemBackgroundColour, file);
29751         newXS("Wx::TreeCtrl::SetItemBold", XS_Wx__TreeCtrl_SetItemBold, file);
29752         newXS("Wx::TreeCtrl::SetItemData", XS_Wx__TreeCtrl_SetItemData, file);
29753         newXS("Wx::TreeCtrl::SetPlData", XS_Wx__TreeCtrl_SetPlData, file);
29754 #if XSubPPtmpAACC
29755         newXS("Wx::TreeCtrl::SetItemDropHighlight", XS_Wx__TreeCtrl_SetItemDropHighlight, file);
29756 #endif
29757         newXS("Wx::TreeCtrl::SetItemFont", XS_Wx__TreeCtrl_SetItemFont, file);
29758         newXS("Wx::TreeCtrl::SetItemHasChildren", XS_Wx__TreeCtrl_SetItemHasChildren, file);
29759         newXS("Wx::TreeCtrl::SetItemImage", XS_Wx__TreeCtrl_SetItemImage, file);
29760         newXS("Wx::TreeCtrl::SetItemText", XS_Wx__TreeCtrl_SetItemText, file);
29761         newXS("Wx::TreeCtrl::SetItemTextColour", XS_Wx__TreeCtrl_SetItemTextColour, file);
29762         newXS("Wx::TreeCtrl::SortChildren", XS_Wx__TreeCtrl_SortChildren, file);
29763         newXS("Wx::TreeCtrl::Toggle", XS_Wx__TreeCtrl_Toggle, file);
29764 #if XSubPPtmpAACD
29765         newXS("Wx::TreeCtrl::UnselectItem", XS_Wx__TreeCtrl_UnselectItem, file);
29766         newXS("Wx::TreeCtrl::ToggleItemSelection", XS_Wx__TreeCtrl_ToggleItemSelection, file);
29767 #endif
29768         newXS("Wx::TreeCtrl::Unselect", XS_Wx__TreeCtrl_Unselect, file);
29769         newXS("Wx::TreeCtrl::UnselectAll", XS_Wx__TreeCtrl_UnselectAll, file);
29770 #if XSubPPtmpAACE
29771         newXS("Wx::ToggleButton::new", XS_Wx__ToggleButton_new, file);
29772         newXS("Wx::ToggleButton::newDefault", XS_Wx__ToggleButton_newDefault, file);
29773         newXS("Wx::ToggleButton::newFull", XS_Wx__ToggleButton_newFull, file);
29774         newXS("Wx::ToggleButton::Create", XS_Wx__ToggleButton_Create, file);
29775         newXS("Wx::ToggleButton::GetValue", XS_Wx__ToggleButton_GetValue, file);
29776         newXS("Wx::ToggleButton::SetValue", XS_Wx__ToggleButton_SetValue, file);
29777 #if XSubPPtmpAACF
29778         newXS("Wx::BitmapToggleButton::new", XS_Wx__BitmapToggleButton_new, file);
29779         newXS("Wx::BitmapToggleButton::newDefault", XS_Wx__BitmapToggleButton_newDefault, file);
29780         newXS("Wx::BitmapToggleButton::newFull", XS_Wx__BitmapToggleButton_newFull, file);
29781         newXS("Wx::BitmapToggleButton::Create", XS_Wx__BitmapToggleButton_Create, file);
29782         newXS("Wx::BitmapToggleButton::GetValue", XS_Wx__BitmapToggleButton_GetValue, file);
29783         newXS("Wx::BitmapToggleButton::SetValue", XS_Wx__BitmapToggleButton_SetValue, file);
29784 #endif
29785 #endif
29786         newXS("Wx::StaticText::new", XS_Wx__StaticText_new, file);
29787         newXS("Wx::StaticText::Create", XS_Wx__StaticText_Create, file);
29788 #if XSubPPtmpAACG
29789         newXS("Wx::StaticText::Wrap", XS_Wx__StaticText_Wrap, file);
29790 #endif
29791         newXS("Wx::StaticLine::new", XS_Wx__StaticLine_new, file);
29792         newXS("Wx::StaticLine::Create", XS_Wx__StaticLine_Create, file);
29793         newXS("Wx::StaticLine::IsVertical", XS_Wx__StaticLine_IsVertical, file);
29794         newXS("Wx::StaticLine::GetDefaultSize", XS_Wx__StaticLine_GetDefaultSize, file);
29795         newXS("Wx::StaticBox::new", XS_Wx__StaticBox_new, file);
29796         newXS("Wx::StaticBox::Create", XS_Wx__StaticBox_Create, file);
29797         newXS("Wx::StaticBitmap::new", XS_Wx__StaticBitmap_new, file);
29798         newXS("Wx::StaticBitmap::newBitmap", XS_Wx__StaticBitmap_newBitmap, file);
29799 #if XSubPPtmpAACH
29800         newXS("Wx::StaticBitmap::newIcon", XS_Wx__StaticBitmap_newIcon, file);
29801 #endif
29802         newXS("Wx::StaticBitmap::GetBitmap", XS_Wx__StaticBitmap_GetBitmap, file);
29803         newXS("Wx::StaticBitmap::SetBitmap", XS_Wx__StaticBitmap_SetBitmap, file);
29804 #if XSubPPtmpAACI
29805         newXS("Wx::StaticBitmap::GetIcon", XS_Wx__StaticBitmap_GetIcon, file);
29806         newXS("Wx::StaticBitmap::SetIcon", XS_Wx__StaticBitmap_SetIcon, file);
29807 #endif
29808         newXS("Wx::SpinCtrl::new", XS_Wx__SpinCtrl_new, file);
29809         newXS("Wx::SpinCtrl::newDefault", XS_Wx__SpinCtrl_newDefault, file);
29810         newXS("Wx::SpinCtrl::newFull", XS_Wx__SpinCtrl_newFull, file);
29811         newXS("Wx::SpinCtrl::Create", XS_Wx__SpinCtrl_Create, file);
29812         newXS("Wx::SpinCtrl::GetMin", XS_Wx__SpinCtrl_GetMin, file);
29813         newXS("Wx::SpinCtrl::GetMax", XS_Wx__SpinCtrl_GetMax, file);
29814         newXS("Wx::SpinCtrl::GetValue", XS_Wx__SpinCtrl_GetValue, file);
29815         newXS("Wx::SpinCtrl::SetRange", XS_Wx__SpinCtrl_SetRange, file);
29816         newXS("Wx::SpinCtrl::SetValue", XS_Wx__SpinCtrl_SetValue, file);
29817 #if XSubPPtmpAACJ
29818         newXS("Wx::SpinCtrl::SetSelection", XS_Wx__SpinCtrl_SetSelection, file);
29819 #endif
29820         newXS("Wx::SpinEvent::new", XS_Wx__SpinEvent_new, file);
29821         newXS("Wx::SpinEvent::GetPosition", XS_Wx__SpinEvent_GetPosition, file);
29822         newXS("Wx::SpinEvent::SetPosition", XS_Wx__SpinEvent_SetPosition, file);
29823         newXS("Wx::SpinButton::new", XS_Wx__SpinButton_new, file);
29824         newXS("Wx::SpinButton::newDefault", XS_Wx__SpinButton_newDefault, file);
29825         newXS("Wx::SpinButton::newFull", XS_Wx__SpinButton_newFull, file);
29826         newXS("Wx::SpinButton::Create", XS_Wx__SpinButton_Create, file);
29827         newXS("Wx::SpinButton::GetMax", XS_Wx__SpinButton_GetMax, file);
29828         newXS("Wx::SpinButton::GetMin", XS_Wx__SpinButton_GetMin, file);
29829         newXS("Wx::SpinButton::GetValue", XS_Wx__SpinButton_GetValue, file);
29830         newXS("Wx::SpinButton::SetRange", XS_Wx__SpinButton_SetRange, file);
29831         newXS("Wx::SpinButton::SetValue", XS_Wx__SpinButton_SetValue, file);
29832         newXS("Wx::Slider::new", XS_Wx__Slider_new, file);
29833         newXS("Wx::Slider::newDefault", XS_Wx__Slider_newDefault, file);
29834         newXS("Wx::Slider::newFull", XS_Wx__Slider_newFull, file);
29835         newXS("Wx::Slider::Create", XS_Wx__Slider_Create, file);
29836 #if XSubPPtmpAACK
29837         newXS("Wx::Slider::ClearSel", XS_Wx__Slider_ClearSel, file);
29838         newXS("Wx::Slider::ClearTicks", XS_Wx__Slider_ClearTicks, file);
29839 #endif
29840         newXS("Wx::Slider::GetLineSize", XS_Wx__Slider_GetLineSize, file);
29841         newXS("Wx::Slider::GetMax", XS_Wx__Slider_GetMax, file);
29842         newXS("Wx::Slider::GetMin", XS_Wx__Slider_GetMin, file);
29843         newXS("Wx::Slider::GetPageSize", XS_Wx__Slider_GetPageSize, file);
29844 #if XSubPPtmpAACL
29845         newXS("Wx::Slider::GetSelEnd", XS_Wx__Slider_GetSelEnd, file);
29846         newXS("Wx::Slider::GetSelStart", XS_Wx__Slider_GetSelStart, file);
29847         newXS("Wx::Slider::GetThumbLength", XS_Wx__Slider_GetThumbLength, file);
29848         newXS("Wx::Slider::GetTickFreq", XS_Wx__Slider_GetTickFreq, file);
29849 #endif
29850         newXS("Wx::Slider::GetValue", XS_Wx__Slider_GetValue, file);
29851         newXS("Wx::Slider::SetRange", XS_Wx__Slider_SetRange, file);
29852         newXS("Wx::Slider::SetTickFreq", XS_Wx__Slider_SetTickFreq, file);
29853         newXS("Wx::Slider::SetLineSize", XS_Wx__Slider_SetLineSize, file);
29854         newXS("Wx::Slider::SetPageSize", XS_Wx__Slider_SetPageSize, file);
29855 #if XSubPPtmpAACM
29856         newXS("Wx::Slider::StartSelection", XS_Wx__Slider_StartSelection, file);
29857 #endif
29858 #if XSubPPtmpAACN
29859         newXS("Wx::Slider::SetThumbLength", XS_Wx__Slider_SetThumbLength, file);
29860 #endif
29861         newXS("Wx::Slider::SetValue", XS_Wx__Slider_SetValue, file);
29862         newXS("Wx::ScrollBar::new", XS_Wx__ScrollBar_new, file);
29863         newXS("Wx::ScrollBar::newDefault", XS_Wx__ScrollBar_newDefault, file);
29864         newXS("Wx::ScrollBar::newFull", XS_Wx__ScrollBar_newFull, file);
29865         newXS("Wx::ScrollBar::Create", XS_Wx__ScrollBar_Create, file);
29866         newXS("Wx::ScrollBar::GetRange", XS_Wx__ScrollBar_GetRange, file);
29867         newXS("Wx::ScrollBar::GetPageSize", XS_Wx__ScrollBar_GetPageSize, file);
29868         newXS("Wx::ScrollBar::GetThumbPosition", XS_Wx__ScrollBar_GetThumbPosition, file);
29869         newXS("Wx::ScrollBar::GetThumbSize", XS_Wx__ScrollBar_GetThumbSize, file);
29870         newXS("Wx::ScrollBar::SetThumbPosition", XS_Wx__ScrollBar_SetThumbPosition, file);
29871 #if XSubPPtmpAACO
29872         newXS("Wx::ScrollBar::SetPageSize", XS_Wx__ScrollBar_SetPageSize, file);
29873 #endif
29874         newXS("Wx::ScrollBar::SetScrollbar", XS_Wx__ScrollBar_SetScrollbar, file);
29875         newXS("Wx::RadioButton::new", XS_Wx__RadioButton_new, file);
29876         newXS("Wx::RadioButton::newDefault", XS_Wx__RadioButton_newDefault, file);
29877         newXS("Wx::RadioButton::newFull", XS_Wx__RadioButton_newFull, file);
29878         newXS("Wx::RadioButton::Create", XS_Wx__RadioButton_Create, file);
29879         newXS("Wx::RadioButton::GetValue", XS_Wx__RadioButton_GetValue, file);
29880         newXS("Wx::RadioButton::SetValue", XS_Wx__RadioButton_SetValue, file);
29881         newXS("Wx::RadioBox::new", XS_Wx__RadioBox_new, file);
29882         newXS("Wx::RadioBox::newDefault", XS_Wx__RadioBox_newDefault, file);
29883         newXS("Wx::RadioBox::newFull", XS_Wx__RadioBox_newFull, file);
29884         newXS("Wx::RadioBox::Create", XS_Wx__RadioBox_Create, file);
29885         newXS("Wx::RadioBox::EnableItem", XS_Wx__RadioBox_EnableItem, file);
29886         newXS("Wx::RadioBox::FindString", XS_Wx__RadioBox_FindString, file);
29887 #if XSubPPtmpAACP
29888         newXS("Wx::RadioBox::GetColumnCount", XS_Wx__RadioBox_GetColumnCount, file);
29889         newXS("Wx::RadioBox::GetRowCount", XS_Wx__RadioBox_GetRowCount, file);
29890         newXS("Wx::RadioBox::GetItemFromPoint", XS_Wx__RadioBox_GetItemFromPoint, file);
29891 #endif
29892         newXS("Wx::RadioBox::GetString", XS_Wx__RadioBox_GetString, file);
29893         newXS("Wx::RadioBox::GetItemLabel", XS_Wx__RadioBox_GetItemLabel, file);
29894         newXS("Wx::RadioBox::GetSelection", XS_Wx__RadioBox_GetSelection, file);
29895         newXS("Wx::RadioBox::GetStringSelection", XS_Wx__RadioBox_GetStringSelection, file);
29896 #if XSubPPtmpAACQ
29897         newXS("Wx::RadioBox::IsItemEnabled", XS_Wx__RadioBox_IsItemEnabled, file);
29898         newXS("Wx::RadioBox::IsItemShown", XS_Wx__RadioBox_IsItemShown, file);
29899 #endif
29900         newXS("Wx::RadioBox::SetString", XS_Wx__RadioBox_SetString, file);
29901         newXS("Wx::RadioBox::SetItemLabel", XS_Wx__RadioBox_SetItemLabel, file);
29902 #if XSubPPtmpAACR
29903         newXS("Wx::RadioBox::SetItemToolTip", XS_Wx__RadioBox_SetItemToolTip, file);
29904         newXS("Wx::RadioBox::GetItemToolTip", XS_Wx__RadioBox_GetItemToolTip, file);
29905 #endif
29906 #if XSubPPtmpAACS
29907         newXS("Wx::RadioBox::SetItemHelpText", XS_Wx__RadioBox_SetItemHelpText, file);
29908         newXS("Wx::RadioBox::GetItemHelpText", XS_Wx__RadioBox_GetItemHelpText, file);
29909 #endif
29910         newXS("Wx::RadioBox::SetSelection", XS_Wx__RadioBox_SetSelection, file);
29911         newXS("Wx::RadioBox::SetStringSelection", XS_Wx__RadioBox_SetStringSelection, file);
29912         newXS("Wx::RadioBox::ShowItem", XS_Wx__RadioBox_ShowItem, file);
29913         newXS("Wx::NotebookEvent::new", XS_Wx__NotebookEvent_new, file);
29914 #if XSubPPtmpAACT
29915         newXS("Wx::NotebookEvent::GetOldSelection", XS_Wx__NotebookEvent_GetOldSelection, file);
29916         newXS("Wx::NotebookEvent::GetSelection", XS_Wx__NotebookEvent_GetSelection, file);
29917         newXS("Wx::NotebookEvent::SetOldSelection", XS_Wx__NotebookEvent_SetOldSelection, file);
29918         newXS("Wx::NotebookEvent::SetSelection", XS_Wx__NotebookEvent_SetSelection, file);
29919 #endif
29920         newXS("Wx::Notebook::new", XS_Wx__Notebook_new, file);
29921         newXS("Wx::Notebook::newDefault", XS_Wx__Notebook_newDefault, file);
29922         newXS("Wx::Notebook::newFull", XS_Wx__Notebook_newFull, file);
29923         newXS("Wx::Notebook::Create", XS_Wx__Notebook_Create, file);
29924 #if XSubPPtmpAACU
29925         newXS("Wx::Notebook::AddPage", XS_Wx__Notebook_AddPage, file);
29926         newXS("Wx::Notebook::AdvanceSelection", XS_Wx__Notebook_AdvanceSelection, file);
29927         newXS("Wx::Notebook::DeleteAllPages", XS_Wx__Notebook_DeleteAllPages, file);
29928         newXS("Wx::Notebook::DeletePage", XS_Wx__Notebook_DeletePage, file);
29929         newXS("Wx::Notebook::GetImageList", XS_Wx__Notebook_GetImageList, file);
29930         newXS("Wx::Notebook::GetPage", XS_Wx__Notebook_GetPage, file);
29931         newXS("Wx::Notebook::GetPageCount", XS_Wx__Notebook_GetPageCount, file);
29932         newXS("Wx::Notebook::GetPageImage", XS_Wx__Notebook_GetPageImage, file);
29933         newXS("Wx::Notebook::GetPageText", XS_Wx__Notebook_GetPageText, file);
29934         newXS("Wx::Notebook::GetSelection", XS_Wx__Notebook_GetSelection, file);
29935         newXS("Wx::Notebook::InsertPage", XS_Wx__Notebook_InsertPage, file);
29936         newXS("Wx::Notebook::RemovePage", XS_Wx__Notebook_RemovePage, file);
29937         newXS("Wx::Notebook::SetImageList", XS_Wx__Notebook_SetImageList, file);
29938         newXS("Wx::Notebook::SetPageImage", XS_Wx__Notebook_SetPageImage, file);
29939         newXS("Wx::Notebook::SetPageText", XS_Wx__Notebook_SetPageText, file);
29940         newXS("Wx::Notebook::SetSelection", XS_Wx__Notebook_SetSelection, file);
29941 #endif
29942 #if XSubPPtmpAACV
29943         newXS("Wx::Notebook::HitTest", XS_Wx__Notebook_HitTest, file);
29944 #endif
29945         newXS("Wx::Notebook::GetRowCount", XS_Wx__Notebook_GetRowCount, file);
29946 #if XSubPPtmpAACW
29947         newXS("Wx::Notebook::SetPadding", XS_Wx__Notebook_SetPadding, file);
29948         newXS("Wx::Notebook::SetPageSize", XS_Wx__Notebook_SetPageSize, file);
29949 #endif
29950         newXS("Wx::ListEvent::new", XS_Wx__ListEvent_new, file);
29951 #if XSubPPtmpAACX
29952         newXS("Wx::ListEvent::IsEditCancelled", XS_Wx__ListEvent_IsEditCancelled, file);
29953 #endif
29954         newXS("Wx::ListEvent::GetCacheFrom", XS_Wx__ListEvent_GetCacheFrom, file);
29955         newXS("Wx::ListEvent::GetCacheTo", XS_Wx__ListEvent_GetCacheTo, file);
29956         newXS("Wx::ListEvent::GetIndex", XS_Wx__ListEvent_GetIndex, file);
29957         newXS("Wx::ListEvent::GetColumn", XS_Wx__ListEvent_GetColumn, file);
29958         newXS("Wx::ListEvent::GetKeyCode", XS_Wx__ListEvent_GetKeyCode, file);
29959         newXS("Wx::ListEvent::GetPoint", XS_Wx__ListEvent_GetPoint, file);
29960         newXS("Wx::ListEvent::GetLabel", XS_Wx__ListEvent_GetLabel, file);
29961         newXS("Wx::ListEvent::GetText", XS_Wx__ListEvent_GetText, file);
29962         newXS("Wx::ListEvent::GetImage", XS_Wx__ListEvent_GetImage, file);
29963         newXS("Wx::ListEvent::GetData", XS_Wx__ListEvent_GetData, file);
29964         newXS("Wx::ListEvent::GetMask", XS_Wx__ListEvent_GetMask, file);
29965         newXS("Wx::ListEvent::GetItem", XS_Wx__ListEvent_GetItem, file);
29966         newXS("Wx::ListItem::new", XS_Wx__ListItem_new, file);
29967         newXS("Wx::ListItem::CLONE", XS_Wx__ListItem_CLONE, file);
29968         newXS("Wx::ListItem::DESTROY", XS_Wx__ListItem_DESTROY, file);
29969         newXS("Wx::ListItem::Clear", XS_Wx__ListItem_Clear, file);
29970         newXS("Wx::ListItem::ClearAttributes", XS_Wx__ListItem_ClearAttributes, file);
29971         newXS("Wx::ListItem::SetMask", XS_Wx__ListItem_SetMask, file);
29972         newXS("Wx::ListItem::SetId", XS_Wx__ListItem_SetId, file);
29973         newXS("Wx::ListItem::SetColumn", XS_Wx__ListItem_SetColumn, file);
29974         newXS("Wx::ListItem::SetState", XS_Wx__ListItem_SetState, file);
29975         newXS("Wx::ListItem::SetStateMask", XS_Wx__ListItem_SetStateMask, file);
29976         newXS("Wx::ListItem::SetText", XS_Wx__ListItem_SetText, file);
29977         newXS("Wx::ListItem::SetImage", XS_Wx__ListItem_SetImage, file);
29978         newXS("Wx::ListItem::SetData", XS_Wx__ListItem_SetData, file);
29979         newXS("Wx::ListItem::SetWidth", XS_Wx__ListItem_SetWidth, file);
29980         newXS("Wx::ListItem::SetAlign", XS_Wx__ListItem_SetAlign, file);
29981         newXS("Wx::ListItem::SetTextColour", XS_Wx__ListItem_SetTextColour, file);
29982         newXS("Wx::ListItem::SetBackgroundColour", XS_Wx__ListItem_SetBackgroundColour, file);
29983         newXS("Wx::ListItem::SetFont", XS_Wx__ListItem_SetFont, file);
29984         newXS("Wx::ListItem::GetMask", XS_Wx__ListItem_GetMask, file);
29985         newXS("Wx::ListItem::GetId", XS_Wx__ListItem_GetId, file);
29986         newXS("Wx::ListItem::GetColumn", XS_Wx__ListItem_GetColumn, file);
29987         newXS("Wx::ListItem::GetState", XS_Wx__ListItem_GetState, file);
29988         newXS("Wx::ListItem::GetText", XS_Wx__ListItem_GetText, file);
29989         newXS("Wx::ListItem::GetImage", XS_Wx__ListItem_GetImage, file);
29990         newXS("Wx::ListItem::GetData", XS_Wx__ListItem_GetData, file);
29991         newXS("Wx::ListItem::GetWidth", XS_Wx__ListItem_GetWidth, file);
29992         newXS("Wx::ListItem::GetAlign", XS_Wx__ListItem_GetAlign, file);
29993         newXS("Wx::ListItem::GetTextColour", XS_Wx__ListItem_GetTextColour, file);
29994         newXS("Wx::ListItem::GetBackgroundColour", XS_Wx__ListItem_GetBackgroundColour, file);
29995         newXS("Wx::ListItem::GetFont", XS_Wx__ListItem_GetFont, file);
29996         newXS("Wx::ListItemAttr::new", XS_Wx__ListItemAttr_new, file);
29997         newXS("Wx::ListItemAttr::CLONE", XS_Wx__ListItemAttr_CLONE, file);
29998         newXS("Wx::ListItemAttr::DESTROY", XS_Wx__ListItemAttr_DESTROY, file);
29999         newXS("Wx::ListItemAttr::SetTextColour", XS_Wx__ListItemAttr_SetTextColour, file);
30000         newXS("Wx::ListItemAttr::SetBackgroundColour", XS_Wx__ListItemAttr_SetBackgroundColour, file);
30001         newXS("Wx::ListItemAttr::SetFont", XS_Wx__ListItemAttr_SetFont, file);
30002         newXS("Wx::ListItemAttr::HasTextColour", XS_Wx__ListItemAttr_HasTextColour, file);
30003         newXS("Wx::ListItemAttr::HasBackgroundColour", XS_Wx__ListItemAttr_HasBackgroundColour, file);
30004         newXS("Wx::ListItemAttr::HasFont", XS_Wx__ListItemAttr_HasFont, file);
30005         newXS("Wx::ListItemAttr::GetTextColour", XS_Wx__ListItemAttr_GetTextColour, file);
30006         newXS("Wx::ListItemAttr::GetBackgroundColour", XS_Wx__ListItemAttr_GetBackgroundColour, file);
30007         newXS("Wx::ListItemAttr::GetFont", XS_Wx__ListItemAttr_GetFont, file);
30008         newXS("Wx::ListCtrl::new", XS_Wx__ListCtrl_new, file);
30009         newXS("Wx::ListCtrl::newDefault", XS_Wx__ListCtrl_newDefault, file);
30010         newXS("Wx::ListCtrl::newFull", XS_Wx__ListCtrl_newFull, file);
30011         newXS("Wx::ListCtrl::Create", XS_Wx__ListCtrl_Create, file);
30012         newXS("Wx::ListCtrl::Arrange", XS_Wx__ListCtrl_Arrange, file);
30013         newXS("Wx::ListCtrl::AssignImageList", XS_Wx__ListCtrl_AssignImageList, file);
30014         newXS("Wx::ListCtrl::ClearAll", XS_Wx__ListCtrl_ClearAll, file);
30015         newXS("Wx::ListCtrl::DeleteItem", XS_Wx__ListCtrl_DeleteItem, file);
30016         newXS("Wx::ListCtrl::DeleteAllItems", XS_Wx__ListCtrl_DeleteAllItems, file);
30017         newXS("Wx::ListCtrl::DeleteColumn", XS_Wx__ListCtrl_DeleteColumn, file);
30018         newXS("Wx::ListCtrl::EditLabel", XS_Wx__ListCtrl_EditLabel, file);
30019         newXS("Wx::ListCtrl::EnsureVisible", XS_Wx__ListCtrl_EnsureVisible, file);
30020         newXS("Wx::ListCtrl::FindItem", XS_Wx__ListCtrl_FindItem, file);
30021         newXS("Wx::ListCtrl::FindItemData", XS_Wx__ListCtrl_FindItemData, file);
30022         newXS("Wx::ListCtrl::FindItemAtPos", XS_Wx__ListCtrl_FindItemAtPos, file);
30023         newXS("Wx::ListCtrl::GetColumn", XS_Wx__ListCtrl_GetColumn, file);
30024         newXS("Wx::ListCtrl::GetColumnCount", XS_Wx__ListCtrl_GetColumnCount, file);
30025         newXS("Wx::ListCtrl::GetColumnWidth", XS_Wx__ListCtrl_GetColumnWidth, file);
30026         newXS("Wx::ListCtrl::GetCountPerPage", XS_Wx__ListCtrl_GetCountPerPage, file);
30027 #if XSubPPtmpAACY
30028         newXS("Wx::ListCtrl::GetEditControl", XS_Wx__ListCtrl_GetEditControl, file);
30029 #endif
30030         newXS("Wx::ListCtrl::GetImageList", XS_Wx__ListCtrl_GetImageList, file);
30031         newXS("Wx::ListCtrl::GetItem", XS_Wx__ListCtrl_GetItem, file);
30032         newXS("Wx::ListCtrl::GetItemData", XS_Wx__ListCtrl_GetItemData, file);
30033         newXS("Wx::ListCtrl::GetItemPosition", XS_Wx__ListCtrl_GetItemPosition, file);
30034         newXS("Wx::ListCtrl::GetItemRect", XS_Wx__ListCtrl_GetItemRect, file);
30035 #if XSubPPtmpAACZ
30036         newXS("Wx::ListCtrl::GetSubItemRect", XS_Wx__ListCtrl_GetSubItemRect, file);
30037 #endif
30038         newXS("Wx::ListCtrl::GetItemState", XS_Wx__ListCtrl_GetItemState, file);
30039         newXS("Wx::ListCtrl::GetItemCount", XS_Wx__ListCtrl_GetItemCount, file);
30040 #if XSubPPtmpAADA
30041         newXS("Wx::ListCtrl::GetItemSpacing", XS_Wx__ListCtrl_GetItemSpacing, file);
30042 #endif
30043 #if XSubPPtmpAADB
30044         newXS("Wx::ListCtrl::GetItemSpacing", XS_Wx__ListCtrl_GetItemSpacing, file);
30045 #endif
30046         newXS("Wx::ListCtrl::GetItemText", XS_Wx__ListCtrl_GetItemText, file);
30047         newXS("Wx::ListCtrl::GetItemTextColour", XS_Wx__ListCtrl_GetItemTextColour, file);
30048         newXS("Wx::ListCtrl::GetItemBackgroundColour", XS_Wx__ListCtrl_GetItemBackgroundColour, file);
30049         newXS("Wx::ListCtrl::SetItemTextColour", XS_Wx__ListCtrl_SetItemTextColour, file);
30050         newXS("Wx::ListCtrl::SetItemBackgroundColour", XS_Wx__ListCtrl_SetItemBackgroundColour, file);
30051         newXS("Wx::ListCtrl::GetNextItem", XS_Wx__ListCtrl_GetNextItem, file);
30052         newXS("Wx::ListCtrl::GetSelectedItemCount", XS_Wx__ListCtrl_GetSelectedItemCount, file);
30053         newXS("Wx::ListCtrl::GetTextColour", XS_Wx__ListCtrl_GetTextColour, file);
30054         newXS("Wx::ListCtrl::GetTopItem", XS_Wx__ListCtrl_GetTopItem, file);
30055 #if XSubPPtmpAADC
30056         newXS("Wx::ListCtrl::GetViewRect", XS_Wx__ListCtrl_GetViewRect, file);
30057 #endif
30058         newXS("Wx::ListCtrl::HitTest", XS_Wx__ListCtrl_HitTest, file);
30059         newXS("Wx::ListCtrl::InsertColumn", XS_Wx__ListCtrl_InsertColumn, file);
30060         newXS("Wx::ListCtrl::InsertColumnInfo", XS_Wx__ListCtrl_InsertColumnInfo, file);
30061         newXS("Wx::ListCtrl::InsertColumnString", XS_Wx__ListCtrl_InsertColumnString, file);
30062         newXS("Wx::ListCtrl::InsertItem", XS_Wx__ListCtrl_InsertItem, file);
30063         newXS("Wx::ListCtrl::InsertStringItem", XS_Wx__ListCtrl_InsertStringItem, file);
30064         newXS("Wx::ListCtrl::InsertImageItem", XS_Wx__ListCtrl_InsertImageItem, file);
30065         newXS("Wx::ListCtrl::InsertImageStringItem", XS_Wx__ListCtrl_InsertImageStringItem, file);
30066         newXS("Wx::ListCtrl::IsVirtual", XS_Wx__ListCtrl_IsVirtual, file);
30067         newXS("Wx::ListCtrl::RefreshItem", XS_Wx__ListCtrl_RefreshItem, file);
30068         newXS("Wx::ListCtrl::RefreshItems", XS_Wx__ListCtrl_RefreshItems, file);
30069         newXS("Wx::ListCtrl::ScrollList", XS_Wx__ListCtrl_ScrollList, file);
30070         newXS("Wx::ListCtrl::SetColumn", XS_Wx__ListCtrl_SetColumn, file);
30071         newXS("Wx::ListCtrl::SetColumnWidth", XS_Wx__ListCtrl_SetColumnWidth, file);
30072         newXS("Wx::ListCtrl::SetImageList", XS_Wx__ListCtrl_SetImageList, file);
30073         newXS("Wx::ListCtrl::SetItemCount", XS_Wx__ListCtrl_SetItemCount, file);
30074         newXS("Wx::ListCtrl::SetItem", XS_Wx__ListCtrl_SetItem, file);
30075         newXS("Wx::ListCtrl::SetItemInfo", XS_Wx__ListCtrl_SetItemInfo, file);
30076         newXS("Wx::ListCtrl::SetItemString", XS_Wx__ListCtrl_SetItemString, file);
30077         newXS("Wx::ListCtrl::SetItemData", XS_Wx__ListCtrl_SetItemData, file);
30078         newXS("Wx::ListCtrl::SetItemImage", XS_Wx__ListCtrl_SetItemImage, file);
30079 #if XSubPPtmpAADD
30080         newXS("Wx::ListCtrl::SetItemColumnImage", XS_Wx__ListCtrl_SetItemColumnImage, file);
30081 #endif
30082         newXS("Wx::ListCtrl::SetItemPosition", XS_Wx__ListCtrl_SetItemPosition, file);
30083         newXS("Wx::ListCtrl::SetItemState", XS_Wx__ListCtrl_SetItemState, file);
30084         newXS("Wx::ListCtrl::SetItemText", XS_Wx__ListCtrl_SetItemText, file);
30085         newXS("Wx::ListCtrl::SetSingleStyle", XS_Wx__ListCtrl_SetSingleStyle, file);
30086         newXS("Wx::ListCtrl::SetTextColour", XS_Wx__ListCtrl_SetTextColour, file);
30087         newXS("Wx::ListCtrl::SetWindowStyleFlag", XS_Wx__ListCtrl_SetWindowStyleFlag, file);
30088         newXS("Wx::ListCtrl::SortItems", XS_Wx__ListCtrl_SortItems, file);
30089         newXS("Wx::ListView::new", XS_Wx__ListView_new, file);
30090         newXS("Wx::ListView::newDefault", XS_Wx__ListView_newDefault, file);
30091         newXS("Wx::ListView::newFull", XS_Wx__ListView_newFull, file);
30092         newXS("Wx::ListView::Create", XS_Wx__ListView_Create, file);
30093         newXS("Wx::ListView::Select", XS_Wx__ListView_Select, file);
30094         newXS("Wx::ListView::SetColumnImage", XS_Wx__ListView_SetColumnImage, file);
30095         newXS("Wx::ListView::ClearColumnImage", XS_Wx__ListView_ClearColumnImage, file);
30096         newXS("Wx::ListView::Focus", XS_Wx__ListView_Focus, file);
30097         newXS("Wx::ListView::GetFocusedItem", XS_Wx__ListView_GetFocusedItem, file);
30098         newXS("Wx::ListView::GetFirstSelected", XS_Wx__ListView_GetFirstSelected, file);
30099         newXS("Wx::ListView::GetNextSelected", XS_Wx__ListView_GetNextSelected, file);
30100         newXS("Wx::ListView::IsSelected", XS_Wx__ListView_IsSelected, file);
30101         newXS("Wx::ListBox::new", XS_Wx__ListBox_new, file);
30102         newXS("Wx::ListBox::newDefault", XS_Wx__ListBox_newDefault, file);
30103         newXS("Wx::ListBox::newFull", XS_Wx__ListBox_newFull, file);
30104         newXS("Wx::ListBox::Create", XS_Wx__ListBox_Create, file);
30105         newXS("Wx::ListBox::Deselect", XS_Wx__ListBox_Deselect, file);
30106         newXS("Wx::ListBox::GetSelections", XS_Wx__ListBox_GetSelections, file);
30107         newXS("Wx::ListBox::HitTest", XS_Wx__ListBox_HitTest, file);
30108 #if XSubPPtmpAADE
30109         newXS("Wx::ListBox::InsertItems", XS_Wx__ListBox_InsertItems, file);
30110 #endif
30111         newXS("Wx::ListBox::IsSelected", XS_Wx__ListBox_IsSelected, file);
30112         newXS("Wx::ListBox::SetSelection", XS_Wx__ListBox_SetSelection, file);
30113         newXS("Wx::ListBox::SetStringSelection", XS_Wx__ListBox_SetStringSelection, file);
30114         newXS("Wx::ListBox::SetFirstItem", XS_Wx__ListBox_SetFirstItem, file);
30115         newXS("Wx::ListBox::SetFirstItemString", XS_Wx__ListBox_SetFirstItemString, file);
30116 #if XSubPPtmpAADF
30117         newXS("Wx::ListBox::Set", XS_Wx__ListBox_Set, file);
30118 #endif
30119         newXS("Wx::Gauge::new", XS_Wx__Gauge_new, file);
30120         newXS("Wx::Gauge::newDefault", XS_Wx__Gauge_newDefault, file);
30121         newXS("Wx::Gauge::newFull", XS_Wx__Gauge_newFull, file);
30122         newXS("Wx::Gauge::Create", XS_Wx__Gauge_Create, file);
30123 #if XSubPPtmpAADG
30124         newXS("Wx::Gauge::GetBezelFace", XS_Wx__Gauge_GetBezelFace, file);
30125 #endif
30126         newXS("Wx::Gauge::GetRange", XS_Wx__Gauge_GetRange, file);
30127 #if XSubPPtmpAADH
30128         newXS("Wx::Gauge::GetShadowWidth", XS_Wx__Gauge_GetShadowWidth, file);
30129 #endif
30130         newXS("Wx::Gauge::GetValue", XS_Wx__Gauge_GetValue, file);
30131 #if XSubPPtmpAADI
30132         newXS("Wx::Gauge::SetBezelFace", XS_Wx__Gauge_SetBezelFace, file);
30133 #endif
30134         newXS("Wx::Gauge::SetRange", XS_Wx__Gauge_SetRange, file);
30135 #if XSubPPtmpAADJ
30136         newXS("Wx::Gauge::SetShadowWidth", XS_Wx__Gauge_SetShadowWidth, file);
30137 #endif
30138         newXS("Wx::Gauge::SetValue", XS_Wx__Gauge_SetValue, file);
30139 #if XSubPPtmpAADK
30140         newXS("Wx::Gauge::IsVertical", XS_Wx__Gauge_IsVertical, file);
30141 #endif
30142 #if XSubPPtmpAADL
30143         newXS("Wx::Gauge::Pulse", XS_Wx__Gauge_Pulse, file);
30144 #endif
30145         newXS("Wx::ComboBox::new", XS_Wx__ComboBox_new, file);
30146         newXS("Wx::ComboBox::newDefault", XS_Wx__ComboBox_newDefault, file);
30147         newXS("Wx::ComboBox::newFull", XS_Wx__ComboBox_newFull, file);
30148         newXS("Wx::ComboBox::Create", XS_Wx__ComboBox_Create, file);
30149 #if XSubPPtmpAADM
30150         newXS("Wx::ComboBox::Append", XS_Wx__ComboBox_Append, file);
30151         newXS("Wx::ComboBox::AppendString", XS_Wx__ComboBox_AppendString, file);
30152         newXS("Wx::ComboBox::AppendData", XS_Wx__ComboBox_AppendData, file);
30153         newXS("Wx::ComboBox::AppendItems", XS_Wx__ComboBox_AppendItems, file);
30154 #if XSubPPtmpAADN
30155         newXS("Wx::ComboBox::AppendItemsData", XS_Wx__ComboBox_AppendItemsData, file);
30156 #endif
30157         newXS("Wx::ComboBox::Insert", XS_Wx__ComboBox_Insert, file);
30158         newXS("Wx::ComboBox::InsertString", XS_Wx__ComboBox_InsertString, file);
30159         newXS("Wx::ComboBox::InsertData", XS_Wx__ComboBox_InsertData, file);
30160 #if XSubPPtmpAADO
30161         newXS("Wx::ComboBox::InsertItems", XS_Wx__ComboBox_InsertItems, file);
30162         newXS("Wx::ComboBox::InsertItemsData", XS_Wx__ComboBox_InsertItemsData, file);
30163 #endif
30164 #if XSubPPtmpAADP
30165         newXS("Wx::ComboBox::Set", XS_Wx__ComboBox_Set, file);
30166         newXS("Wx::ComboBox::SetItems", XS_Wx__ComboBox_SetItems, file);
30167         newXS("Wx::ComboBox::SetItemsData", XS_Wx__ComboBox_SetItemsData, file);
30168 #endif
30169         newXS("Wx::ComboBox::Clear", XS_Wx__ComboBox_Clear, file);
30170         newXS("Wx::ComboBox::Delete", XS_Wx__ComboBox_Delete, file);
30171         newXS("Wx::ComboBox::GetClientData", XS_Wx__ComboBox_GetClientData, file);
30172         newXS("Wx::ComboBox::SetClientData", XS_Wx__ComboBox_SetClientData, file);
30173         newXS("Wx::ComboBox::GetCount", XS_Wx__ComboBox_GetCount, file);
30174         newXS("Wx::ComboBox::IsEmpty", XS_Wx__ComboBox_IsEmpty, file);
30175         newXS("Wx::ComboBox::GetString", XS_Wx__ComboBox_GetString, file);
30176         newXS("Wx::ComboBox::GetStrings", XS_Wx__ComboBox_GetStrings, file);
30177         newXS("Wx::ComboBox::SetString", XS_Wx__ComboBox_SetString, file);
30178         newXS("Wx::ComboBox::FindString", XS_Wx__ComboBox_FindString, file);
30179         newXS("Wx::ComboBox::FindStringNoCase", XS_Wx__ComboBox_FindStringNoCase, file);
30180 #if XSubPPtmpAADQ
30181         newXS("Wx::ComboBox::FindStringCase", XS_Wx__ComboBox_FindStringCase, file);
30182 #endif
30183 #if XSubPPtmpAADR
30184         newXS("Wx::ComboBox::SetSelection", XS_Wx__ComboBox_SetSelection, file);
30185 #endif
30186         newXS("Wx::ComboBox::GetSelection", XS_Wx__ComboBox_GetSelection, file);
30187 #if XSubPPtmpAADS
30188         newXS("Wx::ComboBox::SetStringSelection", XS_Wx__ComboBox_SetStringSelection, file);
30189 #endif
30190         newXS("Wx::ComboBox::GetStringSelection", XS_Wx__ComboBox_GetStringSelection, file);
30191         newXS("Wx::ComboBox::Select", XS_Wx__ComboBox_Select, file);
30192 #if XSubPPtmpAADT
30193         newXS("Wx::ComboBox::GetCurrentSelection", XS_Wx__ComboBox_GetCurrentSelection, file);
30194 #endif
30195 #if XSubPPtmpAADU
30196         newXS("Wx::ComboBox::SetEditable", XS_Wx__ComboBox_SetEditable, file);
30197 #endif
30198 #endif
30199         newXS("Wx::ComboBox::Copy", XS_Wx__ComboBox_Copy, file);
30200         newXS("Wx::ComboBox::Cut", XS_Wx__ComboBox_Cut, file);
30201 #if XSubPPtmpAADV
30202         newXS("Wx::ComboBox::CanCopy", XS_Wx__ComboBox_CanCopy, file);
30203         newXS("Wx::ComboBox::CanCut", XS_Wx__ComboBox_CanCut, file);
30204         newXS("Wx::ComboBox::CanPaste", XS_Wx__ComboBox_CanPaste, file);
30205         newXS("Wx::ComboBox::Undo", XS_Wx__ComboBox_Undo, file);
30206         newXS("Wx::ComboBox::Redo", XS_Wx__ComboBox_Redo, file);
30207         newXS("Wx::ComboBox::CanUndo", XS_Wx__ComboBox_CanUndo, file);
30208         newXS("Wx::ComboBox::CanRedo", XS_Wx__ComboBox_CanRedo, file);
30209 #endif
30210         newXS("Wx::ComboBox::GetInsertionPoint", XS_Wx__ComboBox_GetInsertionPoint, file);
30211         newXS("Wx::ComboBox::GetLastPosition", XS_Wx__ComboBox_GetLastPosition, file);
30212         newXS("Wx::ComboBox::GetValue", XS_Wx__ComboBox_GetValue, file);
30213         newXS("Wx::ComboBox::Paste", XS_Wx__ComboBox_Paste, file);
30214         newXS("Wx::ComboBox::Replace", XS_Wx__ComboBox_Replace, file);
30215         newXS("Wx::ComboBox::Remove", XS_Wx__ComboBox_Remove, file);
30216         newXS("Wx::ComboBox::SetInsertionPoint", XS_Wx__ComboBox_SetInsertionPoint, file);
30217         newXS("Wx::ComboBox::SetInsertionPointEnd", XS_Wx__ComboBox_SetInsertionPointEnd, file);
30218         newXS("Wx::ComboBox::SetSelection", XS_Wx__ComboBox_SetSelection, file);
30219         newXS("Wx::ComboBox::SetSelectionN", XS_Wx__ComboBox_SetSelectionN, file);
30220         newXS("Wx::ComboBox::SetMark", XS_Wx__ComboBox_SetMark, file);
30221         newXS("Wx::ComboBox::SetValue", XS_Wx__ComboBox_SetValue, file);
30222         newXS("Wx::Choice::new", XS_Wx__Choice_new, file);
30223         newXS("Wx::Choice::newDefault", XS_Wx__Choice_newDefault, file);
30224         newXS("Wx::Choice::newFull", XS_Wx__Choice_newFull, file);
30225         newXS("Wx::Choice::Create", XS_Wx__Choice_Create, file);
30226         newXS("Wx::Choice::Clear", XS_Wx__Choice_Clear, file);
30227         newXS("Wx::Choice::Delete", XS_Wx__Choice_Delete, file);
30228 #if XSubPPtmpAADW
30229         newXS("Wx::Choice::GetColumns", XS_Wx__Choice_GetColumns, file);
30230         newXS("Wx::Choice::SetColumns", XS_Wx__Choice_SetColumns, file);
30231 #endif
30232 #if XSubPPtmpAADX
30233         newXS("Wx::Choice::GetCurrentSelection", XS_Wx__Choice_GetCurrentSelection, file);
30234 #endif
30235         newXS("Wx::Choice::SetSelection", XS_Wx__Choice_SetSelection, file);
30236         newXS("Wx::Choice::SetStringSelection", XS_Wx__Choice_SetStringSelection, file);
30237         newXS("Wx::CheckListBox::new", XS_Wx__CheckListBox_new, file);
30238         newXS("Wx::CheckListBox::newDefault", XS_Wx__CheckListBox_newDefault, file);
30239         newXS("Wx::CheckListBox::newFull", XS_Wx__CheckListBox_newFull, file);
30240         newXS("Wx::CheckListBox::Create", XS_Wx__CheckListBox_Create, file);
30241         newXS("Wx::CheckListBox::Check", XS_Wx__CheckListBox_Check, file);
30242         newXS("Wx::CheckListBox::IsChecked", XS_Wx__CheckListBox_IsChecked, file);
30243         newXS("Wx::CheckBox::new", XS_Wx__CheckBox_new, file);
30244         newXS("Wx::CheckBox::newDefault", XS_Wx__CheckBox_newDefault, file);
30245         newXS("Wx::CheckBox::newFull", XS_Wx__CheckBox_newFull, file);
30246         newXS("Wx::CheckBox::Create", XS_Wx__CheckBox_Create, file);
30247         newXS("Wx::CheckBox::GetValue", XS_Wx__CheckBox_GetValue, file);
30248 #if XSubPPtmpAADY
30249         newXS("Wx::CheckBox::Get3StateValue", XS_Wx__CheckBox_Get3StateValue, file);
30250         newXS("Wx::CheckBox::Set3StateValue", XS_Wx__CheckBox_Set3StateValue, file);
30251         newXS("Wx::CheckBox::Is3State", XS_Wx__CheckBox_Is3State, file);
30252         newXS("Wx::CheckBox::Is3rdStateAllowedForUser", XS_Wx__CheckBox_Is3rdStateAllowedForUser, file);
30253 #endif
30254         newXS("Wx::CheckBox::SetValue", XS_Wx__CheckBox_SetValue, file);
30255         newXS("Wx::CheckBox::IsChecked", XS_Wx__CheckBox_IsChecked, file);
30256         newXS("Wx::Button::new", XS_Wx__Button_new, file);
30257         newXS("Wx::Button::newDefault", XS_Wx__Button_newDefault, file);
30258         newXS("Wx::Button::newFull", XS_Wx__Button_newFull, file);
30259         newXS("Wx::Button::Create", XS_Wx__Button_Create, file);
30260         newXS("Wx::Button::GetDefaultSize", XS_Wx__Button_GetDefaultSize, file);
30261         newXS("Wx::Button::SetDefault", XS_Wx__Button_SetDefault, file);
30262         newXS("Wx::TextAttr::new", XS_Wx__TextAttr_new, file);
30263         newXS("Wx::TextAttr::DESTROY", XS_Wx__TextAttr_DESTROY, file);
30264         newXS("Wx::TextAttr::CLONE", XS_Wx__TextAttr_CLONE, file);
30265 #if XSubPPtmpAADZ
30266         newXS("Wx::TextAttr::Apply", XS_Wx__TextAttr_Apply, file);
30267 #endif
30268 #if XSubPPtmpAAEA
30269         newXS("Wx::TextAttr::Merge", XS_Wx__TextAttr_Merge, file);
30270 #endif
30271         newXS("Wx::TextAttr::SetTextColour", XS_Wx__TextAttr_SetTextColour, file);
30272         newXS("Wx::TextAttr::SetBackgroundColour", XS_Wx__TextAttr_SetBackgroundColour, file);
30273         newXS("Wx::TextAttr::SetFont", XS_Wx__TextAttr_SetFont, file);
30274         newXS("Wx::TextAttr::SetAlignment", XS_Wx__TextAttr_SetAlignment, file);
30275         newXS("Wx::TextAttr::SetTabs", XS_Wx__TextAttr_SetTabs, file);
30276         newXS("Wx::TextAttr::SetLeftIndent", XS_Wx__TextAttr_SetLeftIndent, file);
30277         newXS("Wx::TextAttr::SetRightIndent", XS_Wx__TextAttr_SetRightIndent, file);
30278         newXS("Wx::TextAttr::SetFlags", XS_Wx__TextAttr_SetFlags, file);
30279         newXS("Wx::TextAttr::HasTextColour", XS_Wx__TextAttr_HasTextColour, file);
30280         newXS("Wx::TextAttr::HasBackgroundColour", XS_Wx__TextAttr_HasBackgroundColour, file);
30281         newXS("Wx::TextAttr::HasFont", XS_Wx__TextAttr_HasFont, file);
30282         newXS("Wx::TextAttr::HasAlignment", XS_Wx__TextAttr_HasAlignment, file);
30283         newXS("Wx::TextAttr::HasTabs", XS_Wx__TextAttr_HasTabs, file);
30284         newXS("Wx::TextAttr::HasLeftIndent", XS_Wx__TextAttr_HasLeftIndent, file);
30285         newXS("Wx::TextAttr::HasRightIndent", XS_Wx__TextAttr_HasRightIndent, file);
30286         newXS("Wx::TextAttr::HasFlag", XS_Wx__TextAttr_HasFlag, file);
30287         newXS("Wx::TextAttr::GetTextColour", XS_Wx__TextAttr_GetTextColour, file);
30288         newXS("Wx::TextAttr::GetBackgroundColour", XS_Wx__TextAttr_GetBackgroundColour, file);
30289         newXS("Wx::TextAttr::GetFont", XS_Wx__TextAttr_GetFont, file);
30290         newXS("Wx::TextAttr::GetAlignment", XS_Wx__TextAttr_GetAlignment, file);
30291         newXS("Wx::TextAttr::GetLeftIndent", XS_Wx__TextAttr_GetLeftIndent, file);
30292         newXS("Wx::TextAttr::GetLeftSubIndent", XS_Wx__TextAttr_GetLeftSubIndent, file);
30293         newXS("Wx::TextAttr::GetRightIndent", XS_Wx__TextAttr_GetRightIndent, file);
30294         newXS("Wx::TextAttr::GetFlags", XS_Wx__TextAttr_GetFlags, file);
30295         newXS("Wx::TextAttr::IsDefault", XS_Wx__TextAttr_IsDefault, file);
30296         newXS("Wx::TextAttr::GetTabs", XS_Wx__TextAttr_GetTabs, file);
30297 #if XSubPPtmpAAEB
30298         newXS("Wx::TextAttr::GetFontEncoding", XS_Wx__TextAttr_GetFontEncoding, file);
30299         newXS("Wx::TextAttr::HasFontEncoding", XS_Wx__TextAttr_HasFontEncoding, file);
30300         newXS("Wx::TextAttr::SetFontEncoding", XS_Wx__TextAttr_SetFontEncoding, file);
30301         newXS("Wx::TextAttr::GetOutlineLevel", XS_Wx__TextAttr_GetOutlineLevel, file);
30302         newXS("Wx::TextAttr::HasOutlineLevel", XS_Wx__TextAttr_HasOutlineLevel, file);
30303         newXS("Wx::TextAttr::SetOutlineLevel", XS_Wx__TextAttr_SetOutlineLevel, file);
30304         newXS("Wx::TextAttr::GetTextEffects", XS_Wx__TextAttr_GetTextEffects, file);
30305         newXS("Wx::TextAttr::HasTextEffects", XS_Wx__TextAttr_HasTextEffects, file);
30306         newXS("Wx::TextAttr::SetTextEffects", XS_Wx__TextAttr_SetTextEffects, file);
30307         newXS("Wx::TextAttr::GetTextEffectFlags", XS_Wx__TextAttr_GetTextEffectFlags, file);
30308         newXS("Wx::TextAttr::HasTextEffect", XS_Wx__TextAttr_HasTextEffect, file);
30309         newXS("Wx::TextAttr::SetTextEffectFlags", XS_Wx__TextAttr_SetTextEffectFlags, file);
30310 #endif
30311 #if XSubPPtmpAAEC
30312         newXS("Wx::TextAttr::SetCharacterStyleName", XS_Wx__TextAttr_SetCharacterStyleName, file);
30313         newXS("Wx::TextAttr::SetParagraphStyleName", XS_Wx__TextAttr_SetParagraphStyleName, file);
30314         newXS("Wx::TextAttr::SetListStyleName", XS_Wx__TextAttr_SetListStyleName, file);
30315         newXS("Wx::TextAttr::SetParagraphSpacingAfter", XS_Wx__TextAttr_SetParagraphSpacingAfter, file);
30316         newXS("Wx::TextAttr::SetParagraphSpacingBefore", XS_Wx__TextAttr_SetParagraphSpacingBefore, file);
30317         newXS("Wx::TextAttr::SetLineSpacing", XS_Wx__TextAttr_SetLineSpacing, file);
30318         newXS("Wx::TextAttr::SetBulletStyle", XS_Wx__TextAttr_SetBulletStyle, file);
30319         newXS("Wx::TextAttr::SetBulletNumber", XS_Wx__TextAttr_SetBulletNumber, file);
30320         newXS("Wx::TextAttr::SetBulletText", XS_Wx__TextAttr_SetBulletText, file);
30321         newXS("Wx::TextAttr::SetBulletName", XS_Wx__TextAttr_SetBulletName, file);
30322         newXS("Wx::TextAttr::SetBulletFont", XS_Wx__TextAttr_SetBulletFont, file);
30323         newXS("Wx::TextAttr::SetURL", XS_Wx__TextAttr_SetURL, file);
30324         newXS("Wx::TextAttr::SetPageBreak", XS_Wx__TextAttr_SetPageBreak, file);
30325         newXS("Wx::TextAttr::GetCharacterStyleName", XS_Wx__TextAttr_GetCharacterStyleName, file);
30326         newXS("Wx::TextAttr::GetParagraphStyleName", XS_Wx__TextAttr_GetParagraphStyleName, file);
30327         newXS("Wx::TextAttr::GetListStyleName", XS_Wx__TextAttr_GetListStyleName, file);
30328         newXS("Wx::TextAttr::GetParagraphSpacingAfter", XS_Wx__TextAttr_GetParagraphSpacingAfter, file);
30329         newXS("Wx::TextAttr::GetParagraphSpacingBefore", XS_Wx__TextAttr_GetParagraphSpacingBefore, file);
30330         newXS("Wx::TextAttr::GetLineSpacing", XS_Wx__TextAttr_GetLineSpacing, file);
30331         newXS("Wx::TextAttr::GetBulletStyle", XS_Wx__TextAttr_GetBulletStyle, file);
30332         newXS("Wx::TextAttr::GetBulletNumber", XS_Wx__TextAttr_GetBulletNumber, file);
30333         newXS("Wx::TextAttr::GetBulletText", XS_Wx__TextAttr_GetBulletText, file);
30334         newXS("Wx::TextAttr::GetBulletName", XS_Wx__TextAttr_GetBulletName, file);
30335         newXS("Wx::TextAttr::GetBulletFont", XS_Wx__TextAttr_GetBulletFont, file);
30336         newXS("Wx::TextAttr::GetURL", XS_Wx__TextAttr_GetURL, file);
30337         newXS("Wx::TextAttr::HasParagraphSpacingAfter", XS_Wx__TextAttr_HasParagraphSpacingAfter, file);
30338         newXS("Wx::TextAttr::HasParagraphSpacingBefore", XS_Wx__TextAttr_HasParagraphSpacingBefore, file);
30339         newXS("Wx::TextAttr::HasLineSpacing", XS_Wx__TextAttr_HasLineSpacing, file);
30340         newXS("Wx::TextAttr::HasCharacterStyleName", XS_Wx__TextAttr_HasCharacterStyleName, file);
30341         newXS("Wx::TextAttr::HasParagraphStyleName", XS_Wx__TextAttr_HasParagraphStyleName, file);
30342         newXS("Wx::TextAttr::HasListStyleName", XS_Wx__TextAttr_HasListStyleName, file);
30343         newXS("Wx::TextAttr::HasBulletStyle", XS_Wx__TextAttr_HasBulletStyle, file);
30344         newXS("Wx::TextAttr::HasBulletNumber", XS_Wx__TextAttr_HasBulletNumber, file);
30345         newXS("Wx::TextAttr::HasBulletText", XS_Wx__TextAttr_HasBulletText, file);
30346         newXS("Wx::TextAttr::HasBulletName", XS_Wx__TextAttr_HasBulletName, file);
30347         newXS("Wx::TextAttr::HasURL", XS_Wx__TextAttr_HasURL, file);
30348         newXS("Wx::TextAttr::HasPageBreak", XS_Wx__TextAttr_HasPageBreak, file);
30349         newXS("Wx::TextAttr::IsCharacterStyle", XS_Wx__TextAttr_IsCharacterStyle, file);
30350         newXS("Wx::TextAttr::IsParagraphStyle", XS_Wx__TextAttr_IsParagraphStyle, file);
30351 #if XSubPPtmpAAED
30352         newXS("Wx::TextAttr::CreateFont", XS_Wx__TextAttr_CreateFont, file);
30353 #endif
30354         newXS("Wx::TextAttr::GetFontAttributes", XS_Wx__TextAttr_GetFontAttributes, file);
30355         newXS("Wx::TextAttr::SetFontSize", XS_Wx__TextAttr_SetFontSize, file);
30356         newXS("Wx::TextAttr::SetFontStyle", XS_Wx__TextAttr_SetFontStyle, file);
30357         newXS("Wx::TextAttr::SetFontWeight", XS_Wx__TextAttr_SetFontWeight, file);
30358         newXS("Wx::TextAttr::SetFontFaceName", XS_Wx__TextAttr_SetFontFaceName, file);
30359         newXS("Wx::TextAttr::SetFontUnderlined", XS_Wx__TextAttr_SetFontUnderlined, file);
30360         newXS("Wx::TextAttr::GetFontSize", XS_Wx__TextAttr_GetFontSize, file);
30361         newXS("Wx::TextAttr::GetFontStyle", XS_Wx__TextAttr_GetFontStyle, file);
30362         newXS("Wx::TextAttr::GetFontWeight", XS_Wx__TextAttr_GetFontWeight, file);
30363         newXS("Wx::TextAttr::GetFontUnderlined", XS_Wx__TextAttr_GetFontUnderlined, file);
30364         newXS("Wx::TextAttr::GetFontFaceName", XS_Wx__TextAttr_GetFontFaceName, file);
30365         newXS("Wx::TextAttr::HasFontWeight", XS_Wx__TextAttr_HasFontWeight, file);
30366         newXS("Wx::TextAttr::HasFontSize", XS_Wx__TextAttr_HasFontSize, file);
30367         newXS("Wx::TextAttr::HasFontItalic", XS_Wx__TextAttr_HasFontItalic, file);
30368         newXS("Wx::TextAttr::HasFontUnderlined", XS_Wx__TextAttr_HasFontUnderlined, file);
30369         newXS("Wx::TextAttr::HasFontFaceName", XS_Wx__TextAttr_HasFontFaceName, file);
30370 #endif
30371         newXS("Wx::TextUrlEvent::GetMouseEvent", XS_Wx__TextUrlEvent_GetMouseEvent, file);
30372         newXS("Wx::TextUrlEvent::GetURLStart", XS_Wx__TextUrlEvent_GetURLStart, file);
30373         newXS("Wx::TextUrlEvent::GetURLEnd", XS_Wx__TextUrlEvent_GetURLEnd, file);
30374         newXS("Wx::TextCtrlBase::GetValue", XS_Wx__TextCtrlBase_GetValue, file);
30375 #if XSubPPtmpAAEE
30376         newXS("Wx::TextCtrlBase::IsEmpty", XS_Wx__TextCtrlBase_IsEmpty, file);
30377 #endif
30378         newXS("Wx::TextCtrlBase::SetValue", XS_Wx__TextCtrlBase_SetValue, file);
30379 #if XSubPPtmpAAEF
30380         newXS("Wx::TextCtrlBase::ChangeValue", XS_Wx__TextCtrlBase_ChangeValue, file);
30381 #endif
30382         newXS("Wx::TextCtrlBase::GetRange", XS_Wx__TextCtrlBase_GetRange, file);
30383         newXS("Wx::TextCtrlBase::GetLineLength", XS_Wx__TextCtrlBase_GetLineLength, file);
30384         newXS("Wx::TextCtrlBase::GetLineText", XS_Wx__TextCtrlBase_GetLineText, file);
30385         newXS("Wx::TextCtrlBase::GetNumberOfLines", XS_Wx__TextCtrlBase_GetNumberOfLines, file);
30386         newXS("Wx::TextCtrlBase::IsModified", XS_Wx__TextCtrlBase_IsModified, file);
30387         newXS("Wx::TextCtrlBase::IsEditable", XS_Wx__TextCtrlBase_IsEditable, file);
30388         newXS("Wx::TextCtrlBase::IsSingleLine", XS_Wx__TextCtrlBase_IsSingleLine, file);
30389         newXS("Wx::TextCtrlBase::IsMultiLine", XS_Wx__TextCtrlBase_IsMultiLine, file);
30390         newXS("Wx::TextCtrlBase::GetStringSelection", XS_Wx__TextCtrlBase_GetStringSelection, file);
30391         newXS("Wx::TextCtrlBase::Clear", XS_Wx__TextCtrlBase_Clear, file);
30392         newXS("Wx::TextCtrlBase::Replace", XS_Wx__TextCtrlBase_Replace, file);
30393         newXS("Wx::TextCtrlBase::Remove", XS_Wx__TextCtrlBase_Remove, file);
30394 #if XSubPPtmpAAEG
30395         newXS("Wx::TextCtrlBase::LoadFile", XS_Wx__TextCtrlBase_LoadFile, file);
30396         newXS("Wx::TextCtrlBase::SaveFile", XS_Wx__TextCtrlBase_SaveFile, file);
30397 #endif
30398 #if XSubPPtmpAAEH
30399         newXS("Wx::TextCtrlBase::LoadFile", XS_Wx__TextCtrlBase_LoadFile, file);
30400         newXS("Wx::TextCtrlBase::SaveFile", XS_Wx__TextCtrlBase_SaveFile, file);
30401 #endif
30402         newXS("Wx::TextCtrlBase::MarkDirty", XS_Wx__TextCtrlBase_MarkDirty, file);
30403         newXS("Wx::TextCtrlBase::DiscardEdits", XS_Wx__TextCtrlBase_DiscardEdits, file);
30404 #if XSubPPtmpAAEI
30405         newXS("Wx::TextCtrlBase::SetModified", XS_Wx__TextCtrlBase_SetModified, file);
30406 #endif
30407         newXS("Wx::TextCtrlBase::SetMaxLength", XS_Wx__TextCtrlBase_SetMaxLength, file);
30408         newXS("Wx::TextCtrlBase::WriteText", XS_Wx__TextCtrlBase_WriteText, file);
30409         newXS("Wx::TextCtrlBase::AppendText", XS_Wx__TextCtrlBase_AppendText, file);
30410         newXS("Wx::TextCtrlBase::EmulateKeyPress", XS_Wx__TextCtrlBase_EmulateKeyPress, file);
30411         newXS("Wx::TextCtrlBase::SetStyle", XS_Wx__TextCtrlBase_SetStyle, file);
30412         newXS("Wx::TextCtrlBase::SetDefaultStyle", XS_Wx__TextCtrlBase_SetDefaultStyle, file);
30413         newXS("Wx::TextCtrlBase::GetDefaultStyle", XS_Wx__TextCtrlBase_GetDefaultStyle, file);
30414         newXS("Wx::TextCtrlBase::XYToPosition", XS_Wx__TextCtrlBase_XYToPosition, file);
30415         newXS("Wx::TextCtrlBase::ShowPosition", XS_Wx__TextCtrlBase_ShowPosition, file);
30416         newXS("Wx::TextCtrlBase::Copy", XS_Wx__TextCtrlBase_Copy, file);
30417         newXS("Wx::TextCtrlBase::Cut", XS_Wx__TextCtrlBase_Cut, file);
30418         newXS("Wx::TextCtrlBase::Paste", XS_Wx__TextCtrlBase_Paste, file);
30419         newXS("Wx::TextCtrlBase::CanCopy", XS_Wx__TextCtrlBase_CanCopy, file);
30420         newXS("Wx::TextCtrlBase::CanCut", XS_Wx__TextCtrlBase_CanCut, file);
30421         newXS("Wx::TextCtrlBase::CanPaste", XS_Wx__TextCtrlBase_CanPaste, file);
30422         newXS("Wx::TextCtrlBase::Undo", XS_Wx__TextCtrlBase_Undo, file);
30423         newXS("Wx::TextCtrlBase::Redo", XS_Wx__TextCtrlBase_Redo, file);
30424         newXS("Wx::TextCtrlBase::CanUndo", XS_Wx__TextCtrlBase_CanUndo, file);
30425         newXS("Wx::TextCtrlBase::CanRedo", XS_Wx__TextCtrlBase_CanRedo, file);
30426         newXS("Wx::TextCtrlBase::SetInsertionPoint", XS_Wx__TextCtrlBase_SetInsertionPoint, file);
30427         newXS("Wx::TextCtrlBase::SetInsertionPointEnd", XS_Wx__TextCtrlBase_SetInsertionPointEnd, file);
30428         newXS("Wx::TextCtrlBase::GetInsertionPoint", XS_Wx__TextCtrlBase_GetInsertionPoint, file);
30429         newXS("Wx::TextCtrlBase::GetLastPosition", XS_Wx__TextCtrlBase_GetLastPosition, file);
30430         newXS("Wx::TextCtrlBase::SetSelection", XS_Wx__TextCtrlBase_SetSelection, file);
30431         newXS("Wx::TextCtrlBase::SelectAll", XS_Wx__TextCtrlBase_SelectAll, file);
30432         newXS("Wx::TextCtrlBase::SetEditable", XS_Wx__TextCtrlBase_SetEditable, file);
30433 #if XSubPPtmpAAEJ
30434         newXS("Wx::TextCtrlBase::AutoComplete", XS_Wx__TextCtrlBase_AutoComplete, file);
30435         newXS("Wx::TextCtrlBase::AutoCompleteFileNames", XS_Wx__TextCtrlBase_AutoCompleteFileNames, file);
30436 #endif
30437         newXS("Wx::TextCtrlBase::GetSelection", XS_Wx__TextCtrlBase_GetSelection, file);
30438         newXS("Wx::TextCtrlBase::PositionToXY", XS_Wx__TextCtrlBase_PositionToXY, file);
30439         newXS("Wx::TextCtrlBase::HitTest", XS_Wx__TextCtrlBase_HitTest, file);
30440 #if XSubPPtmpAAEK
30441         newXS("Wx::TextCtrl::MacCheckSpelling", XS_Wx__TextCtrl_MacCheckSpelling, file);
30442 #endif
30443         newXS("Wx::TextCtrl::new", XS_Wx__TextCtrl_new, file);
30444         newXS("Wx::TextCtrl::newDefault", XS_Wx__TextCtrl_newDefault, file);
30445         newXS("Wx::TextCtrl::newFull", XS_Wx__TextCtrl_newFull, file);
30446         newXS("Wx::TextCtrl::Create", XS_Wx__TextCtrl_Create, file);
30447         newXS("Wx::TextCtrl::GetStyle", XS_Wx__TextCtrl_GetStyle, file);
30448         newXS("Wx::TextCtrl::GetTextAttrStyle", XS_Wx__TextCtrl_GetTextAttrStyle, file);
30449 #if XSubPPtmpAAEL
30450         newXS("Wx::PickerBase::SetInternalMargin", XS_Wx__PickerBase_SetInternalMargin, file);
30451         newXS("Wx::PickerBase::GetInternalMargin", XS_Wx__PickerBase_GetInternalMargin, file);
30452         newXS("Wx::PickerBase::SetTextCtrlProportion", XS_Wx__PickerBase_SetTextCtrlProportion, file);
30453         newXS("Wx::PickerBase::GetTextCtrlProportion", XS_Wx__PickerBase_GetTextCtrlProportion, file);
30454         newXS("Wx::PickerBase::SetPickerCtrlProportion", XS_Wx__PickerBase_SetPickerCtrlProportion, file);
30455         newXS("Wx::PickerBase::GetPickerCtrlProportion", XS_Wx__PickerBase_GetPickerCtrlProportion, file);
30456         newXS("Wx::PickerBase::IsTextCtrlGrowable", XS_Wx__PickerBase_IsTextCtrlGrowable, file);
30457         newXS("Wx::PickerBase::SetTextCtrlGrowable", XS_Wx__PickerBase_SetTextCtrlGrowable, file);
30458         newXS("Wx::PickerBase::IsPickerCtrlGrowable", XS_Wx__PickerBase_IsPickerCtrlGrowable, file);
30459         newXS("Wx::PickerBase::SetPickerCtrlGrowable", XS_Wx__PickerBase_SetPickerCtrlGrowable, file);
30460         newXS("Wx::PickerBase::HasTextCtrl", XS_Wx__PickerBase_HasTextCtrl, file);
30461         newXS("Wx::PickerBase::GetTextCtrl", XS_Wx__PickerBase_GetTextCtrl, file);
30462         newXS("Wx::PickerBase::GetPickerCtrl", XS_Wx__PickerBase_GetPickerCtrl, file);
30463 #endif
30464 #if XSubPPtmpAAEM
30465         newXS("Wx::ColourPickerCtrl::newDefault", XS_Wx__ColourPickerCtrl_newDefault, file);
30466         newXS("Wx::ColourPickerCtrl::newFull", XS_Wx__ColourPickerCtrl_newFull, file);
30467         newXS("Wx::ColourPickerCtrl::Create", XS_Wx__ColourPickerCtrl_Create, file);
30468         newXS("Wx::ColourPickerCtrl::GetColour", XS_Wx__ColourPickerCtrl_GetColour, file);
30469         newXS("Wx::ColourPickerCtrl::SetColourColour", XS_Wx__ColourPickerCtrl_SetColourColour, file);
30470         newXS("Wx::ColourPickerCtrl::SetColourString", XS_Wx__ColourPickerCtrl_SetColourString, file);
30471         newXS("Wx::ColourPickerCtrl::new", XS_Wx__ColourPickerCtrl_new, file);
30472         newXS("Wx::ColourPickerCtrl::SetColour", XS_Wx__ColourPickerCtrl_SetColour, file);
30473         newXS("Wx::ColourPickerEvent::GetColour", XS_Wx__ColourPickerEvent_GetColour, file);
30474         newXS("Wx::ColourPickerEvent::SetColour", XS_Wx__ColourPickerEvent_SetColour, file);
30475 #endif
30476 #if XSubPPtmpAAEN
30477         newXS("Wx::FilePickerCtrl::newDefault", XS_Wx__FilePickerCtrl_newDefault, file);
30478         newXS("Wx::FilePickerCtrl::newFull", XS_Wx__FilePickerCtrl_newFull, file);
30479         newXS("Wx::FilePickerCtrl::Create", XS_Wx__FilePickerCtrl_Create, file);
30480         newXS("Wx::FilePickerCtrl::GetPath", XS_Wx__FilePickerCtrl_GetPath, file);
30481         newXS("Wx::FilePickerCtrl::SetPath", XS_Wx__FilePickerCtrl_SetPath, file);
30482         newXS("Wx::FilePickerCtrl::new", XS_Wx__FilePickerCtrl_new, file);
30483         newXS("Wx::DirPickerCtrl::newDefault", XS_Wx__DirPickerCtrl_newDefault, file);
30484         newXS("Wx::DirPickerCtrl::newFull", XS_Wx__DirPickerCtrl_newFull, file);
30485         newXS("Wx::DirPickerCtrl::Create", XS_Wx__DirPickerCtrl_Create, file);
30486         newXS("Wx::DirPickerCtrl::GetPath", XS_Wx__DirPickerCtrl_GetPath, file);
30487         newXS("Wx::DirPickerCtrl::SetPath", XS_Wx__DirPickerCtrl_SetPath, file);
30488         newXS("Wx::DirPickerCtrl::new", XS_Wx__DirPickerCtrl_new, file);
30489         newXS("Wx::FileDirPickerEvent::GetPath", XS_Wx__FileDirPickerEvent_GetPath, file);
30490         newXS("Wx::FileDirPickerEvent::SetPath", XS_Wx__FileDirPickerEvent_SetPath, file);
30491 #endif
30492 #if XSubPPtmpAAEO
30493         newXS("Wx::FontPickerCtrl::newDefault", XS_Wx__FontPickerCtrl_newDefault, file);
30494         newXS("Wx::FontPickerCtrl::newFull", XS_Wx__FontPickerCtrl_newFull, file);
30495         newXS("Wx::FontPickerCtrl::Create", XS_Wx__FontPickerCtrl_Create, file);
30496         newXS("Wx::FontPickerCtrl::GetSelectedFont", XS_Wx__FontPickerCtrl_GetSelectedFont, file);
30497         newXS("Wx::FontPickerCtrl::SetSelectedFont", XS_Wx__FontPickerCtrl_SetSelectedFont, file);
30498         newXS("Wx::FontPickerCtrl::SetMaxPointSize", XS_Wx__FontPickerCtrl_SetMaxPointSize, file);
30499         newXS("Wx::FontPickerCtrl::GetMaxPointSize", XS_Wx__FontPickerCtrl_GetMaxPointSize, file);
30500         newXS("Wx::FontPickerCtrl::new", XS_Wx__FontPickerCtrl_new, file);
30501         newXS("Wx::FontPickerEvent::GetFont", XS_Wx__FontPickerEvent_GetFont, file);
30502         newXS("Wx::FontPickerEvent::SetFont", XS_Wx__FontPickerEvent_SetFont, file);
30503 #endif
30504
30505     /* Initialisation Section */
30506
30507 #if XSubPPtmpAAAA
30508 #endif
30509 #if XSubPPtmpAAAB
30510 #endif
30511 #if XSubPPtmpAAAC
30512 #endif
30513 #if XSubPPtmpAAAD
30514 #endif
30515 #if XSubPPtmpAAAE
30516 #endif
30517 #if XSubPPtmpAAAF
30518 #endif
30519 #if XSubPPtmpAAAG
30520 #endif
30521 #if XSubPPtmpAAAH
30522 #endif
30523 #if XSubPPtmpAAAI
30524 #endif
30525 #if XSubPPtmpAAAJ
30526 #endif
30527 #if XSubPPtmpAAAK
30528 #endif
30529 #if XSubPPtmpAAAL
30530 #if XSubPPtmpAAAM
30531 #endif
30532 #if XSubPPtmpAAAN
30533 #endif
30534 #if XSubPPtmpAAAO
30535 #endif
30536 #if XSubPPtmpAAAP
30537 #endif
30538 #endif
30539 #if XSubPPtmpAAAQ
30540 #if XSubPPtmpAAAR
30541 #endif
30542 #endif
30543 #if XSubPPtmpAAAS
30544 #if XSubPPtmpAAAT
30545 #endif
30546 #endif
30547 #if XSubPPtmpAAAU
30548 #endif
30549 #if XSubPPtmpAAAV
30550 #endif
30551 #if XSubPPtmpAAAW
30552 #endif
30553 #if XSubPPtmpAAAX
30554 #endif
30555 #if XSubPPtmpAAAY
30556 #endif
30557 #if XSubPPtmpAAAZ
30558 #endif
30559 #if XSubPPtmpAABA
30560 #if XSubPPtmpAABB
30561 #endif
30562 #endif
30563 #if XSubPPtmpAABC
30564 #if XSubPPtmpAABD
30565 #endif
30566 #if XSubPPtmpAABE
30567 #endif
30568 #if XSubPPtmpAABF
30569 #endif
30570 #if XSubPPtmpAABG
30571 #endif
30572 #if XSubPPtmpAABH
30573 #endif
30574 #if XSubPPtmpAABI
30575 #endif
30576 #endif
30577 #if XSubPPtmpAABJ
30578 #endif
30579 #if XSubPPtmpAABK
30580 #endif
30581 #if XSubPPtmpAABL
30582 #endif
30583 #if XSubPPtmpAABM
30584 #endif
30585 #if XSubPPtmpAABN
30586 #endif
30587 #if XSubPPtmpAABO
30588 #endif
30589 #if XSubPPtmpAABP
30590 #endif
30591 #if XSubPPtmpAABQ
30592 #endif
30593 #if XSubPPtmpAABR
30594 #endif
30595 #if XSubPPtmpAABS
30596 #endif
30597 #if XSubPPtmpAABT
30598 #endif
30599 #if XSubPPtmpAABU
30600 #endif
30601 #if XSubPPtmpAABV
30602 #endif
30603 #if XSubPPtmpAABW
30604 #endif
30605 #if XSubPPtmpAABX
30606 #endif
30607 #if XSubPPtmpAABY
30608 #endif
30609 #if XSubPPtmpAABZ
30610 #endif
30611 #if XSubPPtmpAACA
30612 #endif
30613 #if XSubPPtmpAACB
30614 #endif
30615 #if XSubPPtmpAACC
30616 #endif
30617 #if XSubPPtmpAACD
30618 #endif
30619 #if XSubPPtmpAACE
30620 #if XSubPPtmpAACF
30621 #endif
30622 #endif
30623 #if XSubPPtmpAACG
30624 #endif
30625 #if XSubPPtmpAACH
30626 #endif
30627 #if XSubPPtmpAACI
30628 #endif
30629 #if XSubPPtmpAACJ
30630 #endif
30631 #if XSubPPtmpAACK
30632 #endif
30633 #if XSubPPtmpAACL
30634 #endif
30635 #if XSubPPtmpAACM
30636 #endif
30637 #if XSubPPtmpAACN
30638 #endif
30639 #if XSubPPtmpAACO
30640 #endif
30641 #if XSubPPtmpAACP
30642 #endif
30643 #if XSubPPtmpAACQ
30644 #endif
30645 #if XSubPPtmpAACR
30646 #endif
30647 #if XSubPPtmpAACS
30648 #endif
30649 #if XSubPPtmpAACT
30650 #endif
30651 #if XSubPPtmpAACU
30652 #endif
30653 #if XSubPPtmpAACV
30654 #endif
30655 #if XSubPPtmpAACW
30656 #endif
30657 #if XSubPPtmpAACX
30658 #endif
30659 #if XSubPPtmpAACY
30660 #endif
30661 #if XSubPPtmpAACZ
30662 #endif
30663 #if XSubPPtmpAADA
30664 #endif
30665 #if XSubPPtmpAADB
30666 #endif
30667 #if XSubPPtmpAADC
30668 #endif
30669 #if XSubPPtmpAADD
30670 #endif
30671 #if XSubPPtmpAADE
30672 #endif
30673 #if XSubPPtmpAADF
30674 #endif
30675 #if XSubPPtmpAADG
30676 #endif
30677 #if XSubPPtmpAADH
30678 #endif
30679 #if XSubPPtmpAADI
30680 #endif
30681 #if XSubPPtmpAADJ
30682 #endif
30683 #if XSubPPtmpAADK
30684 #endif
30685 #if XSubPPtmpAADL
30686 #endif
30687 #if XSubPPtmpAADM
30688 #if XSubPPtmpAADN
30689 #endif
30690 #if XSubPPtmpAADO
30691 #endif
30692 #if XSubPPtmpAADP
30693 #endif
30694 #if XSubPPtmpAADQ
30695 #endif
30696 #if XSubPPtmpAADR
30697 #endif
30698 #if XSubPPtmpAADS
30699 #endif
30700 #if XSubPPtmpAADT
30701 #endif
30702 #if XSubPPtmpAADU
30703 #endif
30704 #endif
30705 #if XSubPPtmpAADV
30706 #endif
30707 #if XSubPPtmpAADW
30708 #endif
30709 #if XSubPPtmpAADX
30710 #endif
30711 #if XSubPPtmpAADY
30712 #endif
30713 #if XSubPPtmpAADZ
30714 #endif
30715 #if XSubPPtmpAAEA
30716 #endif
30717 #if XSubPPtmpAAEB
30718 #endif
30719 #if XSubPPtmpAAEC
30720 #if XSubPPtmpAAED
30721 #endif
30722 #endif
30723 #if XSubPPtmpAAEE
30724 #endif
30725 #if XSubPPtmpAAEF
30726 #endif
30727 #if XSubPPtmpAAEG
30728 #endif
30729 #if XSubPPtmpAAEH
30730 #endif
30731 #if XSubPPtmpAAEI
30732 #endif
30733 #if XSubPPtmpAAEJ
30734 #endif
30735 #if XSubPPtmpAAEK
30736 #endif
30737 #if XSubPPtmpAAEL
30738 #endif
30739 #if XSubPPtmpAAEM
30740 #endif
30741 #if XSubPPtmpAAEN
30742 #endif
30743 #if XSubPPtmpAAEO
30744 #endif
30745
30746     /* End of Initialisation Section */
30747
30748 #if (PERL_REVISION == 5 && PERL_VERSION >= 9)
30749   if (PL_unitcheckav)
30750        call_list(PL_scopestack_ix, PL_unitcheckav);
30751 #endif
30752     XSRETURN_YES;
30753 }
30754