Add libwx-perl
[pkg-perl] / deb-src / libwx-perl / libwx-perl-0.96 / Frames.c
1 /*
2  * This file was generated automatically by ExtUtils::ParseXS version 2.2202 from the
3  * contents of Frames.xs. Do not edit this file, edit Frames.xs instead.
4  *
5  *      ANY CHANGES MADE HERE WILL BE LOST! 
6  *
7  */
8
9 /////////////////////////////////////////////////////////////////////////////
10 // Name:        Frames.xs
11 // Purpose:     XS for Wx::Frame, Wx::Dialog, Wx::Panel
12 // Author:      Mattia Barbon
13 // Modified by:
14 // Created:     29/10/2000
15 // RCS-ID:      $Id: Frames.xs 2700 2009-12-13 11:25:50Z mbarbon $
16 // Copyright:   (c) 2000-2003, 2005-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 #include "cpp/v_cback.h"
25
26 #undef THIS
27
28 WXPLI_BOOT_ONCE(Wx_Wnd);
29 #define boot_Wx_Wnd wxPli_boot_Wx_Wnd
30
31 #ifndef PERL_UNUSED_VAR
32 #  define PERL_UNUSED_VAR(var) if (0) var = var
33 #endif
34
35 #ifndef PERL_ARGS_ASSERT_CROAK_XS_USAGE
36 #define PERL_ARGS_ASSERT_CROAK_XS_USAGE assert(cv); assert(params)
37
38 /* prototype to pass -Wmissing-prototypes */
39 STATIC void
40 S_croak_xs_usage(pTHX_ const CV *const cv, const char *const params);
41
42 STATIC void
43 S_croak_xs_usage(pTHX_ const CV *const cv, const char *const params)
44 {
45     const GV *const gv = CvGV(cv);
46
47     PERL_ARGS_ASSERT_CROAK_XS_USAGE;
48
49     if (gv) {
50         const char *const gvname = GvNAME(gv);
51         const HV *const stash = GvSTASH(gv);
52         const char *const hvname = stash ? HvNAME(stash) : NULL;
53
54         if (hvname)
55             Perl_croak(aTHX_ "Usage: %s::%s(%s)", hvname, gvname, params);
56         else
57             Perl_croak(aTHX_ "Usage: %s(%s)", gvname, params);
58     } else {
59         /* Pants. I don't think that it should be possible to get here. */
60         Perl_croak(aTHX_ "Usage: CODE(0x%"UVxf")(%s)", PTR2UV(cv), params);
61     }
62 }
63 #undef  PERL_ARGS_ASSERT_CROAK_XS_USAGE
64
65 #ifdef PERL_IMPLICIT_CONTEXT
66 #define croak_xs_usage(a,b)     S_croak_xs_usage(aTHX_ a,b)
67 #else
68 #define croak_xs_usage          S_croak_xs_usage
69 #endif
70
71 #endif
72
73 /* NOTE: the prototype of newXSproto() is different in versions of perls,
74  * so we define a portable version of newXSproto()
75  */
76 #ifdef newXS_flags
77 #define newXSproto_portable(name, c_impl, file, proto) newXS_flags(name, c_impl, file, proto, 0)
78 #else
79 #define newXSproto_portable(name, c_impl, file, proto) (PL_Sv=(SV*)newXS(name, c_impl, file), sv_setpv(PL_Sv, proto), (CV*)PL_Sv)
80 #endif /* !defined(newXS_flags) */
81
82
83 /* INCLUDE:  Including 'XS/Panel.xs' from 'Frames.xs' */
84
85 #include <wx/panel.h>
86 #include "cpp/panel.h"
87 #include "cpp/overload.h"
88
89 XS(XS_Wx__Panel_new); /* prototype to pass -Wmissing-prototypes */
90 XS(XS_Wx__Panel_new)
91 {
92 #ifdef dVAR
93     dVAR; dXSARGS;
94 #else
95     dXSARGS;
96 #endif
97     PERL_UNUSED_VAR(cv); /* -W */
98     PERL_UNUSED_VAR(ax); /* -Wall */
99     SP -= items;
100     {
101     BEGIN_OVERLOAD()
102         MATCH_VOIDM_REDISP( newDefault )
103         MATCH_ANY_REDISP( newFull )
104     END_OVERLOAD( "Wx::Panel::new" )
105         PUTBACK;
106         return;
107     }
108 }
109
110
111 XS(XS_Wx__Panel_newDefault); /* prototype to pass -Wmissing-prototypes */
112 XS(XS_Wx__Panel_newDefault)
113 {
114 #ifdef dVAR
115     dVAR; dXSARGS;
116 #else
117     dXSARGS;
118 #endif
119     if (items != 1)
120        croak_xs_usage(cv,  "CLASS");
121     {
122         PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) );
123         wxPanel *       RETVAL;
124     RETVAL = new wxPliPanel( CLASS );
125         ST(0) = sv_newmortal();
126     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
127
128     }
129     XSRETURN(1);
130 }
131
132
133 XS(XS_Wx__Panel_newFull); /* prototype to pass -Wmissing-prototypes */
134 XS(XS_Wx__Panel_newFull)
135 {
136 #ifdef dVAR
137     dVAR; dXSARGS;
138 #else
139     dXSARGS;
140 #endif
141     if (items < 2 || items > 7)
142        croak_xs_usage(cv,  "CLASS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = wxTAB_TRAVERSAL, name = wxPanelNameStr");
143     {
144         PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) );
145         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
146         wxWindowID      id;
147         wxPoint pos;
148         wxSize  size;
149         long    style;
150         wxString        name;
151         wxPanel *       RETVAL;
152
153         if (items < 3)
154             id = wxID_ANY;
155         else {
156     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
157         }
158
159         if (items < 4)
160             pos = wxDefaultPosition;
161         else {
162     pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) );
163         }
164
165         if (items < 5)
166             size = wxDefaultSize;
167         else {
168     size = wxPli_sv_2_wxsize( aTHX_ ST(4) );
169         }
170
171         if (items < 6)
172             style = wxTAB_TRAVERSAL;
173         else {
174             style = (long)SvIV(ST(5));
175         }
176
177         if (items < 7)
178             name = wxPanelNameStr;
179         else {
180     WXSTRING_INPUT( name, wxString, ST(6) );
181         }
182     RETVAL = new wxPliPanel( CLASS, parent, id, pos, size, style, name );
183         ST(0) = sv_newmortal();
184     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
185
186     }
187     XSRETURN(1);
188 }
189
190
191 XS(XS_Wx__Panel_Create); /* prototype to pass -Wmissing-prototypes */
192 XS(XS_Wx__Panel_Create)
193 {
194 #ifdef dVAR
195     dVAR; dXSARGS;
196 #else
197     dXSARGS;
198 #endif
199     if (items < 2 || items > 7)
200        croak_xs_usage(cv,  "THIS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = wxTAB_TRAVERSAL, name = wxPanelNameStr");
201     {
202         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
203         wxWindowID      id;
204         wxPoint pos;
205         wxSize  size;
206         long    style;
207         wxString        name;
208         wxPanel *    THIS = (wxPanel *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Panel" );
209         bool    RETVAL;
210
211         if (items < 3)
212             id = wxID_ANY;
213         else {
214     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
215         }
216
217         if (items < 4)
218             pos = wxDefaultPosition;
219         else {
220     pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) );
221         }
222
223         if (items < 5)
224             size = wxDefaultSize;
225         else {
226     size = wxPli_sv_2_wxsize( aTHX_ ST(4) );
227         }
228
229         if (items < 6)
230             style = wxTAB_TRAVERSAL;
231         else {
232             style = (long)SvIV(ST(5));
233         }
234
235         if (items < 7)
236             name = wxPanelNameStr;
237         else {
238     WXSTRING_INPUT( name, wxString, ST(6) );
239         }
240
241         RETVAL = THIS->Create(parent, id, pos, size, style, name);
242         ST(0) = boolSV(RETVAL);
243         sv_2mortal(ST(0));
244     }
245     XSRETURN(1);
246 }
247
248 #if WXPERL_W_VERSION_GE( 2, 5, 4 )
249 #define XSubPPtmpAAAA 1
250
251
252 XS(XS_Wx__Panel_SetFocusIgnoringChildren); /* prototype to pass -Wmissing-prototypes */
253 XS(XS_Wx__Panel_SetFocusIgnoringChildren)
254 {
255 #ifdef dVAR
256     dVAR; dXSARGS;
257 #else
258     dXSARGS;
259 #endif
260     if (items != 1)
261        croak_xs_usage(cv,  "THIS");
262     {
263         wxPanel *    THIS = (wxPanel *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Panel" );
264
265         THIS->SetFocusIgnoringChildren();
266     }
267     XSRETURN_EMPTY;
268 }
269
270 #endif
271
272 XS(XS_Wx__Panel_TransferDataFromWindow); /* prototype to pass -Wmissing-prototypes */
273 XS(XS_Wx__Panel_TransferDataFromWindow)
274 {
275 #ifdef dVAR
276     dVAR; dXSARGS;
277 #else
278     dXSARGS;
279 #endif
280     if (items != 1)
281        croak_xs_usage(cv,  "THIS");
282     {
283         wxPanel *    THIS = (wxPanel *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Panel" );
284         bool    RETVAL;
285     RETVAL = THIS->wxPanel::TransferDataFromWindow();
286         ST(0) = boolSV(RETVAL);
287         sv_2mortal(ST(0));
288     }
289     XSRETURN(1);
290 }
291
292
293 XS(XS_Wx__Panel_TransferDataToWindow); /* prototype to pass -Wmissing-prototypes */
294 XS(XS_Wx__Panel_TransferDataToWindow)
295 {
296 #ifdef dVAR
297     dVAR; dXSARGS;
298 #else
299     dXSARGS;
300 #endif
301     if (items != 1)
302        croak_xs_usage(cv,  "THIS");
303     {
304         wxPanel *    THIS = (wxPanel *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Panel" );
305         bool    RETVAL;
306     RETVAL = THIS->wxPanel::TransferDataToWindow();
307         ST(0) = boolSV(RETVAL);
308         sv_2mortal(ST(0));
309     }
310     XSRETURN(1);
311 }
312
313
314 XS(XS_Wx__Panel_Validate); /* prototype to pass -Wmissing-prototypes */
315 XS(XS_Wx__Panel_Validate)
316 {
317 #ifdef dVAR
318     dVAR; dXSARGS;
319 #else
320     dXSARGS;
321 #endif
322     if (items != 1)
323        croak_xs_usage(cv,  "THIS");
324     {
325         wxPanel *    THIS = (wxPanel *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Panel" );
326         bool    RETVAL;
327     RETVAL = THIS->wxPanel::Validate();
328         ST(0) = boolSV(RETVAL);
329         sv_2mortal(ST(0));
330     }
331     XSRETURN(1);
332 }
333
334
335 /* INCLUDE: Returning to 'Frames.xs' from 'XS/Panel.xs' */
336
337
338 /* INCLUDE:  Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/Dialog.xs |' from 'Frames.xs' */
339
340 #include <wx/dialog.h>
341 #include <wx/sizer.h>
342 #include <wx/button.h>
343 #include "cpp/dialog.h"
344 #include "cpp/overload.h"
345 #if WXPERL_W_VERSION_GE( 2, 6, 3 )
346 #define XSubPPtmpAAAB 1
347
348
349 XS(XS_Wx__Dialog_SetAffirmativeId); /* prototype to pass -Wmissing-prototypes */
350 XS(XS_Wx__Dialog_SetAffirmativeId)
351 {
352 #ifdef dVAR
353     dVAR; dXSARGS;
354 #else
355     dXSARGS;
356 #endif
357     if (items != 2)
358        croak_xs_usage(cv,  "THIS, affirmativeId");
359     {
360         int     affirmativeId = (int)SvIV(ST(1));
361         wxDialog *    THIS = (wxDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Dialog" );
362
363         THIS->SetAffirmativeId(affirmativeId);
364     }
365     XSRETURN_EMPTY;
366 }
367
368
369 XS(XS_Wx__Dialog_GetAffirmativeId); /* prototype to pass -Wmissing-prototypes */
370 XS(XS_Wx__Dialog_GetAffirmativeId)
371 {
372 #ifdef dVAR
373     dVAR; dXSARGS;
374 #else
375     dXSARGS;
376 #endif
377     if (items != 1)
378        croak_xs_usage(cv,  "THIS");
379     {
380         wxDialog *    THIS = (wxDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Dialog" );
381         int     RETVAL;
382         dXSTARG;
383
384         RETVAL = THIS->GetAffirmativeId();
385         XSprePUSH; PUSHi((IV)RETVAL);
386     }
387     XSRETURN(1);
388 }
389
390
391 XS(XS_Wx__Dialog_GetEscapeId); /* prototype to pass -Wmissing-prototypes */
392 XS(XS_Wx__Dialog_GetEscapeId)
393 {
394 #ifdef dVAR
395     dVAR; dXSARGS;
396 #else
397     dXSARGS;
398 #endif
399     if (items != 1)
400        croak_xs_usage(cv,  "THIS");
401     {
402         wxDialog *    THIS = (wxDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Dialog" );
403         int     RETVAL;
404         dXSTARG;
405
406         RETVAL = THIS->GetEscapeId();
407         XSprePUSH; PUSHi((IV)RETVAL);
408     }
409     XSRETURN(1);
410 }
411
412 #endif
413 #if WXPERL_W_VERSION_GE( 2, 7, 0 )
414 #define XSubPPtmpAAAC 1
415
416
417 XS(XS_Wx__Dialog_SetEscapeId); /* prototype to pass -Wmissing-prototypes */
418 XS(XS_Wx__Dialog_SetEscapeId)
419 {
420 #ifdef dVAR
421     dVAR; dXSARGS;
422 #else
423     dXSARGS;
424 #endif
425     if (items != 2)
426        croak_xs_usage(cv,  "THIS, escapeId");
427     {
428         int     escapeId = (int)SvIV(ST(1));
429         wxDialog *    THIS = (wxDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Dialog" );
430
431         THIS->SetEscapeId(escapeId);
432     }
433     XSRETURN_EMPTY;
434 }
435
436 #endif
437
438 XS(XS_Wx__Dialog_CreateTextSizer); /* prototype to pass -Wmissing-prototypes */
439 XS(XS_Wx__Dialog_CreateTextSizer)
440 {
441 #ifdef dVAR
442     dVAR; dXSARGS;
443 #else
444     dXSARGS;
445 #endif
446     if (items != 2)
447        croak_xs_usage(cv,  "THIS, message");
448     {
449         wxString        message;
450         wxDialog *    THIS = (wxDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Dialog" );
451         wxSizer *       RETVAL;
452
453     WXSTRING_INPUT( message, wxString, ST(1) );
454
455         RETVAL = THIS->CreateTextSizer(message);
456         ST(0) = sv_newmortal();
457     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
458
459     }
460     XSRETURN(1);
461 }
462
463
464 XS(XS_Wx__Dialog_CreateButtonSizer); /* prototype to pass -Wmissing-prototypes */
465 XS(XS_Wx__Dialog_CreateButtonSizer)
466 {
467 #ifdef dVAR
468     dVAR; dXSARGS;
469 #else
470     dXSARGS;
471 #endif
472     if (items != 2)
473        croak_xs_usage(cv,  "THIS, flags");
474     {
475         long    flags = (long)SvIV(ST(1));
476         wxDialog *    THIS = (wxDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Dialog" );
477         wxSizer *       RETVAL;
478
479         RETVAL = THIS->CreateButtonSizer(flags);
480         ST(0) = sv_newmortal();
481     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
482
483     }
484     XSRETURN(1);
485 }
486
487 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
488 #define XSubPPtmpAAAD 1
489
490
491 XS(XS_Wx__Dialog_CreateSeparatedButtonSizer); /* prototype to pass -Wmissing-prototypes */
492 XS(XS_Wx__Dialog_CreateSeparatedButtonSizer)
493 {
494 #ifdef dVAR
495     dVAR; dXSARGS;
496 #else
497     dXSARGS;
498 #endif
499     if (items != 2)
500        croak_xs_usage(cv,  "THIS, flags");
501     {
502         long    flags = (long)SvIV(ST(1));
503         wxDialog *    THIS = (wxDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Dialog" );
504         wxSizer *       RETVAL;
505
506         RETVAL = THIS->CreateSeparatedButtonSizer(flags);
507         ST(0) = sv_newmortal();
508     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
509
510     }
511     XSRETURN(1);
512 }
513
514 #endif
515 #if WXPERL_W_VERSION_GE( 2, 6, 0 )
516 #define XSubPPtmpAAAE 1
517
518
519 XS(XS_Wx__Dialog_CreateStdDialogButtonSizer); /* prototype to pass -Wmissing-prototypes */
520 XS(XS_Wx__Dialog_CreateStdDialogButtonSizer)
521 {
522 #ifdef dVAR
523     dVAR; dXSARGS;
524 #else
525     dXSARGS;
526 #endif
527     if (items != 2)
528        croak_xs_usage(cv,  "THIS, flags");
529     {
530         long    flags = (long)SvIV(ST(1));
531         wxDialog *    THIS = (wxDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Dialog" );
532         wxSizer *       RETVAL;
533
534         RETVAL = THIS->CreateStdDialogButtonSizer(flags);
535         ST(0) = sv_newmortal();
536     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
537
538     }
539     XSRETURN(1);
540 }
541
542 #endif
543 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
544 #define XSubPPtmpAAAF 1
545
546
547 XS(XS_Wx__Dialog_AddMainButtonId); /* prototype to pass -Wmissing-prototypes */
548 XS(XS_Wx__Dialog_AddMainButtonId)
549 {
550 #ifdef dVAR
551     dVAR; dXSARGS;
552 #else
553     dXSARGS;
554 #endif
555     if (items != 2)
556        croak_xs_usage(cv,  "THIS, id");
557     {
558         wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(1) );
559         wxDialog *    THIS = (wxDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Dialog" );
560
561         THIS->AddMainButtonId(id);
562     }
563     XSRETURN_EMPTY;
564 }
565
566
567 XS(XS_Wx__Dialog_IsMainButtonId); /* prototype to pass -Wmissing-prototypes */
568 XS(XS_Wx__Dialog_IsMainButtonId)
569 {
570 #ifdef dVAR
571     dVAR; dXSARGS;
572 #else
573     dXSARGS;
574 #endif
575     if (items != 2)
576        croak_xs_usage(cv,  "THIS, id");
577     {
578         wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(1) );
579         wxDialog *    THIS = (wxDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Dialog" );
580         bool    RETVAL;
581
582         RETVAL = THIS->IsMainButtonId(id);
583         ST(0) = boolSV(RETVAL);
584         sv_2mortal(ST(0));
585     }
586     XSRETURN(1);
587 }
588
589
590 XS(XS_Wx__Dialog_GetMainButtonIds); /* prototype to pass -Wmissing-prototypes */
591 XS(XS_Wx__Dialog_GetMainButtonIds)
592 {
593 #ifdef dVAR
594     dVAR; dXSARGS;
595 #else
596     dXSARGS;
597 #endif
598     if (items != 1)
599        croak_xs_usage(cv,  "THIS");
600     PERL_UNUSED_VAR(ax); /* -Wall */
601     SP -= items;
602     {
603         wxDialog *    THIS = (wxDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Dialog" );
604     PUTBACK;
605     wxPli_intarray_push( aTHX_ THIS->GetMainButtonIds() );
606     SPAGAIN;
607         PUTBACK;
608         return;
609     }
610 }
611
612
613 XS(XS_Wx__Dialog_CanDoLayoutAdaptation); /* prototype to pass -Wmissing-prototypes */
614 XS(XS_Wx__Dialog_CanDoLayoutAdaptation)
615 {
616 #ifdef dVAR
617     dVAR; dXSARGS;
618 #else
619     dXSARGS;
620 #endif
621     if (items != 1)
622        croak_xs_usage(cv,  "THIS");
623     {
624         wxDialog *    THIS = (wxDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Dialog" );
625         bool    RETVAL;
626
627         RETVAL = THIS->CanDoLayoutAdaptation();
628         ST(0) = boolSV(RETVAL);
629         sv_2mortal(ST(0));
630     }
631     XSRETURN(1);
632 }
633
634
635 XS(XS_Wx__Dialog_IsLayoutAdaptationEnabled); /* prototype to pass -Wmissing-prototypes */
636 XS(XS_Wx__Dialog_IsLayoutAdaptationEnabled)
637 {
638 #ifdef dVAR
639     dVAR; dXSARGS;
640 #else
641     dXSARGS;
642 #endif
643     if (items != 1)
644        croak_xs_usage(cv,  "THIS");
645     {
646         wxDialog *    THIS = (wxDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Dialog" );
647         bool    RETVAL;
648     RETVAL = wxDialog::IsLayoutAdaptationEnabled();
649         ST(0) = boolSV(RETVAL);
650         sv_2mortal(ST(0));
651     }
652     XSRETURN(1);
653 }
654
655
656 XS(XS_Wx__Dialog_EnableLayoutAdaptation); /* prototype to pass -Wmissing-prototypes */
657 XS(XS_Wx__Dialog_EnableLayoutAdaptation)
658 {
659 #ifdef dVAR
660     dVAR; dXSARGS;
661 #else
662     dXSARGS;
663 #endif
664     if (items != 2)
665        croak_xs_usage(cv,  "THIS, enable");
666     {
667         bool    enable = (bool)SvTRUE(ST(1));
668         wxDialog *    THIS = (wxDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Dialog" );
669     wxDialog::EnableLayoutAdaptation( enable );
670     }
671     XSRETURN_EMPTY;
672 }
673
674
675 XS(XS_Wx__Dialog_GetContentWindow); /* prototype to pass -Wmissing-prototypes */
676 XS(XS_Wx__Dialog_GetContentWindow)
677 {
678 #ifdef dVAR
679     dVAR; dXSARGS;
680 #else
681     dXSARGS;
682 #endif
683     if (items != 1)
684        croak_xs_usage(cv,  "THIS");
685     {
686         wxDialog *    THIS = (wxDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Dialog" );
687         wxWindow *      RETVAL;
688
689         RETVAL = THIS->GetContentWindow();
690         ST(0) = sv_newmortal();
691     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
692
693     }
694     XSRETURN(1);
695 }
696
697
698 XS(XS_Wx__Dialog_SetLayoutAdaptationLevel); /* prototype to pass -Wmissing-prototypes */
699 XS(XS_Wx__Dialog_SetLayoutAdaptationLevel)
700 {
701 #ifdef dVAR
702     dVAR; dXSARGS;
703 #else
704     dXSARGS;
705 #endif
706     if (items != 2)
707        croak_xs_usage(cv,  "THIS, level");
708     {
709         int     level = (int)SvIV(ST(1));
710         wxDialog *    THIS = (wxDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Dialog" );
711
712         THIS->SetLayoutAdaptationLevel(level);
713     }
714     XSRETURN_EMPTY;
715 }
716
717
718 XS(XS_Wx__Dialog_GetLayoutAdaptationLevel); /* prototype to pass -Wmissing-prototypes */
719 XS(XS_Wx__Dialog_GetLayoutAdaptationLevel)
720 {
721 #ifdef dVAR
722     dVAR; dXSARGS;
723 #else
724     dXSARGS;
725 #endif
726     if (items != 1)
727        croak_xs_usage(cv,  "THIS");
728     {
729         wxDialog *    THIS = (wxDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Dialog" );
730         int     RETVAL;
731         dXSTARG;
732
733         RETVAL = THIS->GetLayoutAdaptationLevel();
734         XSprePUSH; PUSHi((IV)RETVAL);
735     }
736     XSRETURN(1);
737 }
738
739
740 XS(XS_Wx__Dialog_SetLayoutAdaptationMode); /* prototype to pass -Wmissing-prototypes */
741 XS(XS_Wx__Dialog_SetLayoutAdaptationMode)
742 {
743 #ifdef dVAR
744     dVAR; dXSARGS;
745 #else
746     dXSARGS;
747 #endif
748     if (items != 2)
749        croak_xs_usage(cv,  "THIS, mode");
750     {
751         wxDialogLayoutAdaptationMode    mode = (wxDialogLayoutAdaptationMode)SvIV(ST(1));
752         wxDialog *    THIS = (wxDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Dialog" );
753
754         THIS->SetLayoutAdaptationMode(mode);
755     }
756     XSRETURN_EMPTY;
757 }
758
759
760 XS(XS_Wx__Dialog_GetLayoutAdaptationMode); /* prototype to pass -Wmissing-prototypes */
761 XS(XS_Wx__Dialog_GetLayoutAdaptationMode)
762 {
763 #ifdef dVAR
764     dVAR; dXSARGS;
765 #else
766     dXSARGS;
767 #endif
768     if (items != 1)
769        croak_xs_usage(cv,  "THIS");
770     {
771         wxDialog *    THIS = (wxDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Dialog" );
772         wxDialogLayoutAdaptationMode    RETVAL;
773         dXSTARG;
774
775         RETVAL = THIS->GetLayoutAdaptationMode();
776         XSprePUSH; PUSHi((IV)RETVAL);
777     }
778     XSRETURN(1);
779 }
780
781
782 XS(XS_Wx__Dialog_SetLayoutAdaptationDone); /* prototype to pass -Wmissing-prototypes */
783 XS(XS_Wx__Dialog_SetLayoutAdaptationDone)
784 {
785 #ifdef dVAR
786     dVAR; dXSARGS;
787 #else
788     dXSARGS;
789 #endif
790     if (items != 2)
791        croak_xs_usage(cv,  "THIS, adaptationDone");
792     {
793         bool    adaptationDone = (bool)SvTRUE(ST(1));
794         wxDialog *    THIS = (wxDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Dialog" );
795
796         THIS->SetLayoutAdaptationDone(adaptationDone);
797     }
798     XSRETURN_EMPTY;
799 }
800
801
802 XS(XS_Wx__Dialog_GetLayoutAdaptationDone); /* prototype to pass -Wmissing-prototypes */
803 XS(XS_Wx__Dialog_GetLayoutAdaptationDone)
804 {
805 #ifdef dVAR
806     dVAR; dXSARGS;
807 #else
808     dXSARGS;
809 #endif
810     if (items != 1)
811        croak_xs_usage(cv,  "THIS");
812     {
813         wxDialog *    THIS = (wxDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Dialog" );
814         bool    RETVAL;
815
816         RETVAL = THIS->GetLayoutAdaptationDone();
817         ST(0) = boolSV(RETVAL);
818         sv_2mortal(ST(0));
819     }
820     XSRETURN(1);
821 }
822
823 #if defined(__WXMSW__) && defined(__POCKETPC__)
824 #define XSubPPtmpAAAG 1
825
826
827 XS(XS_Wx__Dialog_GetToolBar); /* prototype to pass -Wmissing-prototypes */
828 XS(XS_Wx__Dialog_GetToolBar)
829 {
830 #ifdef dVAR
831     dVAR; dXSARGS;
832 #else
833     dXSARGS;
834 #endif
835     if (items != 1)
836        croak_xs_usage(cv,  "THIS");
837     {
838         wxDialog *    THIS = (wxDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Dialog" );
839         wxToolBar *     RETVAL;
840
841         RETVAL = THIS->GetToolBar();
842         ST(0) = sv_newmortal();
843     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
844
845     }
846     XSRETURN(1);
847 }
848
849 #endif
850 #endif
851
852 XS(XS_Wx__Dialog_new); /* prototype to pass -Wmissing-prototypes */
853 XS(XS_Wx__Dialog_new)
854 {
855 #ifdef dVAR
856     dVAR; dXSARGS;
857 #else
858     dXSARGS;
859 #endif
860     PERL_UNUSED_VAR(cv); /* -W */
861     PERL_UNUSED_VAR(ax); /* -Wall */
862     SP -= items;
863     {
864     BEGIN_OVERLOAD()
865         MATCH_VOIDM_REDISP( newDefault )
866         MATCH_ANY_REDISP( newFull )
867     END_OVERLOAD( "Wx::Dialog::new" )
868         PUTBACK;
869         return;
870     }
871 }
872
873
874 XS(XS_Wx__Dialog_newDefault); /* prototype to pass -Wmissing-prototypes */
875 XS(XS_Wx__Dialog_newDefault)
876 {
877 #ifdef dVAR
878     dVAR; dXSARGS;
879 #else
880     dXSARGS;
881 #endif
882     if (items != 1)
883        croak_xs_usage(cv,  "CLASS");
884     {
885         PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) );
886         wxDialog *      RETVAL;
887     RETVAL = new wxPliDialog( CLASS );
888     wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
889         ST(0) = sv_newmortal();
890     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
891
892     }
893     XSRETURN(1);
894 }
895
896
897 XS(XS_Wx__Dialog_newFull); /* prototype to pass -Wmissing-prototypes */
898 XS(XS_Wx__Dialog_newFull)
899 {
900 #ifdef dVAR
901     dVAR; dXSARGS;
902 #else
903     dXSARGS;
904 #endif
905     if (items < 2 || items > 8)
906        croak_xs_usage(cv,  "CLASS, parent, id = wxID_ANY, title = wxEmptyString, pos = wxDefaultPosition, size = wxDefaultSize, style = wxDEFAULT_DIALOG_STYLE, name = wxDialogNameStr");
907     {
908         PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) );
909         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
910         wxWindowID      id;
911         wxString        title;
912         wxPoint pos;
913         wxSize  size;
914         long    style;
915         wxString        name;
916         wxDialog *      RETVAL;
917
918         if (items < 3)
919             id = wxID_ANY;
920         else {
921     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
922         }
923
924         if (items < 4)
925             title = wxEmptyString;
926         else {
927     WXSTRING_INPUT( title, wxString, ST(3) );
928         }
929
930         if (items < 5)
931             pos = wxDefaultPosition;
932         else {
933     pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
934         }
935
936         if (items < 6)
937             size = wxDefaultSize;
938         else {
939     size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
940         }
941
942         if (items < 7)
943             style = wxDEFAULT_DIALOG_STYLE;
944         else {
945             style = (long)SvIV(ST(6));
946         }
947
948         if (items < 8)
949             name = wxDialogNameStr;
950         else {
951     WXSTRING_INPUT( name, wxString, ST(7) );
952         }
953       RETVAL = new wxPliDialog( CLASS, parent, id, title, pos,
954           size, style, name );
955         ST(0) = sv_newmortal();
956     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
957
958     }
959     XSRETURN(1);
960 }
961
962
963 XS(XS_Wx__Dialog_Create); /* prototype to pass -Wmissing-prototypes */
964 XS(XS_Wx__Dialog_Create)
965 {
966 #ifdef dVAR
967     dVAR; dXSARGS;
968 #else
969     dXSARGS;
970 #endif
971     if (items < 2 || items > 8)
972        croak_xs_usage(cv,  "THIS, parent, id = wxID_ANY, title = wxEmptyString, pos = wxDefaultPosition, size = wxDefaultSize, style = wxDEFAULT_DIALOG_STYLE, name = wxDialogNameStr");
973     {
974         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
975         wxWindowID      id;
976         wxString        title;
977         wxPoint pos;
978         wxSize  size;
979         long    style;
980         wxString        name;
981         wxDialog *    THIS = (wxDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Dialog" );
982         bool    RETVAL;
983
984         if (items < 3)
985             id = wxID_ANY;
986         else {
987     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
988         }
989
990         if (items < 4)
991             title = wxEmptyString;
992         else {
993     WXSTRING_INPUT( title, wxString, ST(3) );
994         }
995
996         if (items < 5)
997             pos = wxDefaultPosition;
998         else {
999     pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
1000         }
1001
1002         if (items < 6)
1003             size = wxDefaultSize;
1004         else {
1005     size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
1006         }
1007
1008         if (items < 7)
1009             style = wxDEFAULT_DIALOG_STYLE;
1010         else {
1011             style = (long)SvIV(ST(6));
1012         }
1013
1014         if (items < 8)
1015             name = wxDialogNameStr;
1016         else {
1017     WXSTRING_INPUT( name, wxString, ST(7) );
1018         }
1019
1020         RETVAL = THIS->Create(parent, id, title, pos, size, style, name);
1021         ST(0) = boolSV(RETVAL);
1022         sv_2mortal(ST(0));
1023     }
1024     XSRETURN(1);
1025 }
1026
1027
1028 XS(XS_Wx__Dialog_EndModal); /* prototype to pass -Wmissing-prototypes */
1029 XS(XS_Wx__Dialog_EndModal)
1030 {
1031 #ifdef dVAR
1032     dVAR; dXSARGS;
1033 #else
1034     dXSARGS;
1035 #endif
1036     if (items != 2)
1037        croak_xs_usage(cv,  "THIS, retCode");
1038     {
1039         int     retCode = (int)SvIV(ST(1));
1040         wxDialog *    THIS = (wxDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Dialog" );
1041
1042         THIS->EndModal(retCode);
1043     }
1044     XSRETURN_EMPTY;
1045 }
1046
1047
1048 XS(XS_Wx__Dialog_GetReturnCode); /* prototype to pass -Wmissing-prototypes */
1049 XS(XS_Wx__Dialog_GetReturnCode)
1050 {
1051 #ifdef dVAR
1052     dVAR; dXSARGS;
1053 #else
1054     dXSARGS;
1055 #endif
1056     if (items != 1)
1057        croak_xs_usage(cv,  "THIS");
1058     {
1059         wxDialog *    THIS = (wxDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Dialog" );
1060         int     RETVAL;
1061         dXSTARG;
1062
1063         RETVAL = THIS->GetReturnCode();
1064         XSprePUSH; PUSHi((IV)RETVAL);
1065     }
1066     XSRETURN(1);
1067 }
1068
1069
1070 XS(XS_Wx__Dialog_GetTitle); /* prototype to pass -Wmissing-prototypes */
1071 XS(XS_Wx__Dialog_GetTitle)
1072 {
1073 #ifdef dVAR
1074     dVAR; dXSARGS;
1075 #else
1076     dXSARGS;
1077 #endif
1078     if (items != 1)
1079        croak_xs_usage(cv,  "THIS");
1080     {
1081         wxDialog *    THIS = (wxDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Dialog" );
1082         wxString        RETVAL;
1083
1084         RETVAL = THIS->GetTitle();
1085         ST(0) = sv_newmortal();
1086     WXSTRING_OUTPUT( RETVAL, ST(0) );
1087
1088     }
1089     XSRETURN(1);
1090 }
1091
1092
1093 XS(XS_Wx__Dialog_IsModal); /* prototype to pass -Wmissing-prototypes */
1094 XS(XS_Wx__Dialog_IsModal)
1095 {
1096 #ifdef dVAR
1097     dVAR; dXSARGS;
1098 #else
1099     dXSARGS;
1100 #endif
1101     if (items != 1)
1102        croak_xs_usage(cv,  "THIS");
1103     {
1104         wxDialog *    THIS = (wxDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Dialog" );
1105         bool    RETVAL;
1106
1107         RETVAL = THIS->IsModal();
1108         ST(0) = boolSV(RETVAL);
1109         sv_2mortal(ST(0));
1110     }
1111     XSRETURN(1);
1112 }
1113
1114
1115 XS(XS_Wx__Dialog_SetIcon); /* prototype to pass -Wmissing-prototypes */
1116 XS(XS_Wx__Dialog_SetIcon)
1117 {
1118 #ifdef dVAR
1119     dVAR; dXSARGS;
1120 #else
1121     dXSARGS;
1122 #endif
1123     if (items != 2)
1124        croak_xs_usage(cv,  "THIS, icon");
1125     {
1126         wxIcon*    icon = (wxIcon *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Icon" );
1127         wxDialog *    THIS = (wxDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Dialog" );
1128
1129         THIS->SetIcon(*icon);
1130     }
1131     XSRETURN_EMPTY;
1132 }
1133
1134
1135 XS(XS_Wx__Dialog_SetIcons); /* prototype to pass -Wmissing-prototypes */
1136 XS(XS_Wx__Dialog_SetIcons)
1137 {
1138 #ifdef dVAR
1139     dVAR; dXSARGS;
1140 #else
1141     dXSARGS;
1142 #endif
1143     if (items != 2)
1144        croak_xs_usage(cv,  "THIS, icons");
1145     {
1146         wxIconBundle*    icons = (wxIconBundle *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::IconBundle" );
1147         wxDialog *    THIS = (wxDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Dialog" );
1148
1149         THIS->SetIcons(*icons);
1150     }
1151     XSRETURN_EMPTY;
1152 }
1153
1154
1155 XS(XS_Wx__Dialog_SetReturnCode); /* prototype to pass -Wmissing-prototypes */
1156 XS(XS_Wx__Dialog_SetReturnCode)
1157 {
1158 #ifdef dVAR
1159     dVAR; dXSARGS;
1160 #else
1161     dXSARGS;
1162 #endif
1163     if (items != 2)
1164        croak_xs_usage(cv,  "THIS, retCode");
1165     {
1166         int     retCode = (int)SvIV(ST(1));
1167         wxDialog *    THIS = (wxDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Dialog" );
1168
1169         THIS->SetReturnCode(retCode);
1170     }
1171     XSRETURN_EMPTY;
1172 }
1173
1174
1175 XS(XS_Wx__Dialog_SetTitle); /* prototype to pass -Wmissing-prototypes */
1176 XS(XS_Wx__Dialog_SetTitle)
1177 {
1178 #ifdef dVAR
1179     dVAR; dXSARGS;
1180 #else
1181     dXSARGS;
1182 #endif
1183     if (items != 2)
1184        croak_xs_usage(cv,  "THIS, title");
1185     {
1186         wxString        title;
1187         wxDialog *    THIS = (wxDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Dialog" );
1188
1189     WXSTRING_INPUT( title, wxString, ST(1) );
1190
1191         THIS->SetTitle(title);
1192     }
1193     XSRETURN_EMPTY;
1194 }
1195
1196
1197 XS(XS_Wx__Dialog_ShowModal); /* prototype to pass -Wmissing-prototypes */
1198 XS(XS_Wx__Dialog_ShowModal)
1199 {
1200 #ifdef dVAR
1201     dVAR; dXSARGS;
1202 #else
1203     dXSARGS;
1204 #endif
1205     if (items != 1)
1206        croak_xs_usage(cv,  "THIS");
1207     {
1208         wxDialog *    THIS = (wxDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Dialog" );
1209         int     RETVAL;
1210         dXSTARG;
1211
1212         RETVAL = THIS->ShowModal();
1213         XSprePUSH; PUSHi((IV)RETVAL);
1214     }
1215     XSRETURN(1);
1216 }
1217
1218 #if WXPERL_W_VERSION_GE( 2, 5, 4 )
1219 #define XSubPPtmpAAAH 1
1220
1221
1222 XS(XS_Wx__Dialog_SetFocusIgnoringChildren); /* prototype to pass -Wmissing-prototypes */
1223 XS(XS_Wx__Dialog_SetFocusIgnoringChildren)
1224 {
1225 #ifdef dVAR
1226     dVAR; dXSARGS;
1227 #else
1228     dXSARGS;
1229 #endif
1230     if (items != 1)
1231        croak_xs_usage(cv,  "THIS");
1232     {
1233         wxDialog *    THIS = (wxDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Dialog" );
1234
1235         THIS->SetFocusIgnoringChildren();
1236     }
1237     XSRETURN_EMPTY;
1238 }
1239
1240 #endif
1241
1242 XS(XS_Wx__Dialog_TransferDataFromWindow); /* prototype to pass -Wmissing-prototypes */
1243 XS(XS_Wx__Dialog_TransferDataFromWindow)
1244 {
1245 #ifdef dVAR
1246     dVAR; dXSARGS;
1247 #else
1248     dXSARGS;
1249 #endif
1250     if (items != 1)
1251        croak_xs_usage(cv,  "THIS");
1252     {
1253         wxDialog *    THIS = (wxDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Dialog" );
1254         bool    RETVAL;
1255     RETVAL = THIS->wxDialog::TransferDataFromWindow();
1256         ST(0) = boolSV(RETVAL);
1257         sv_2mortal(ST(0));
1258     }
1259     XSRETURN(1);
1260 }
1261
1262
1263 XS(XS_Wx__Dialog_TransferDataToWindow); /* prototype to pass -Wmissing-prototypes */
1264 XS(XS_Wx__Dialog_TransferDataToWindow)
1265 {
1266 #ifdef dVAR
1267     dVAR; dXSARGS;
1268 #else
1269     dXSARGS;
1270 #endif
1271     if (items != 1)
1272        croak_xs_usage(cv,  "THIS");
1273     {
1274         wxDialog *    THIS = (wxDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Dialog" );
1275         bool    RETVAL;
1276     RETVAL = THIS->wxDialog::TransferDataToWindow();
1277         ST(0) = boolSV(RETVAL);
1278         sv_2mortal(ST(0));
1279     }
1280     XSRETURN(1);
1281 }
1282
1283
1284 XS(XS_Wx__Dialog_Validate); /* prototype to pass -Wmissing-prototypes */
1285 XS(XS_Wx__Dialog_Validate)
1286 {
1287 #ifdef dVAR
1288     dVAR; dXSARGS;
1289 #else
1290     dXSARGS;
1291 #endif
1292     if (items != 1)
1293        croak_xs_usage(cv,  "THIS");
1294     {
1295         wxDialog *    THIS = (wxDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Dialog" );
1296         bool    RETVAL;
1297     RETVAL = THIS->wxDialog::Validate();
1298         ST(0) = boolSV(RETVAL);
1299         sv_2mortal(ST(0));
1300     }
1301     XSRETURN(1);
1302 }
1303
1304
1305 /* INCLUDE: Returning to 'Frames.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/Dialog.xs |' */
1306
1307
1308 /* INCLUDE:  Including 'XS/Frame.xs' from 'Frames.xs' */
1309
1310
1311 /* INCLUDE:  Including 'XS/StatusBar.xs' from 'XS/Frame.xs' */
1312
1313
1314 /* INCLUDE:  Including 'XS/ToolBar.xs' from 'XS/StatusBar.xs' */
1315
1316
1317 /* INCLUDE:  Including 'XS/Wizard.xs' from 'XS/ToolBar.xs' */
1318
1319 #include <wx/bitmap.h> 
1320 #include <wx/panel.h>
1321 #include <wx/dialog.h>
1322 #include <wx/event.h>
1323 #include <wx/wizard.h>
1324 #include <wx/sizer.h>
1325 #include "cpp/overload.h"
1326 #include "cpp/wizard.h"
1327
1328 XS(XS_Wx__Wizard_new); /* prototype to pass -Wmissing-prototypes */
1329 XS(XS_Wx__Wizard_new)
1330 {
1331 #ifdef dVAR
1332     dVAR; dXSARGS;
1333 #else
1334     dXSARGS;
1335 #endif
1336     if (items < 1)
1337        croak_xs_usage(cv,  "CLASS, ...");
1338     PERL_UNUSED_VAR(ax); /* -Wall */
1339     SP -= items;
1340     {
1341         char *  CLASS = (char *)SvPV_nolen(ST(0));
1342     BEGIN_OVERLOAD()
1343         MATCH_VOIDM_REDISP( newEmpty )
1344         MATCH_ANY_REDISP( newFull )
1345     END_OVERLOAD( Wx::Wizard::new )
1346         PUTBACK;
1347         return;
1348     }
1349 }
1350
1351
1352 XS(XS_Wx__Wizard_newEmpty); /* prototype to pass -Wmissing-prototypes */
1353 XS(XS_Wx__Wizard_newEmpty)
1354 {
1355 #ifdef dVAR
1356     dVAR; dXSARGS;
1357 #else
1358     dXSARGS;
1359 #endif
1360     if (items != 1)
1361        croak_xs_usage(cv,  "CLASS");
1362     {
1363         PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) );
1364         wxWizard *      RETVAL;
1365     RETVAL = new wxPliWizard( CLASS );
1366         ST(0) = sv_newmortal();
1367     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
1368
1369     }
1370     XSRETURN(1);
1371 }
1372
1373
1374 XS(XS_Wx__Wizard_newFull); /* prototype to pass -Wmissing-prototypes */
1375 XS(XS_Wx__Wizard_newFull)
1376 {
1377 #ifdef dVAR
1378     dVAR; dXSARGS;
1379 #else
1380     dXSARGS;
1381 #endif
1382     if (items < 2 || items > 6)
1383        croak_xs_usage(cv,  "CLASS, parent, id = wxID_ANY, title = wxEmptyString, bitmap = (wxBitmap*)&wxNullBitmap, pos = wxDefaultPosition");
1384     {
1385         PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) );
1386         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
1387         wxWindowID      id;
1388         wxString        title;
1389         wxBitmap*       bitmap;
1390         wxPoint pos;
1391         wxWizard *      RETVAL;
1392
1393         if (items < 3)
1394             id = wxID_ANY;
1395         else {
1396     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
1397         }
1398
1399         if (items < 4)
1400             title = wxEmptyString;
1401         else {
1402     WXSTRING_INPUT( title, wxString, ST(3) );
1403         }
1404
1405         if (items < 5)
1406             bitmap = (wxBitmap*)&wxNullBitmap;
1407         else {
1408     bitmap = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(4), "Wx::Bitmap" );
1409         }
1410
1411         if (items < 6)
1412             pos = wxDefaultPosition;
1413         else {
1414     pos = wxPli_sv_2_wxpoint( aTHX_ ST(5) );
1415         }
1416     RETVAL = new wxPliWizard( CLASS, parent, id, title, *bitmap, pos );
1417         ST(0) = sv_newmortal();
1418     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
1419
1420     }
1421     XSRETURN(1);
1422 }
1423
1424
1425 XS(XS_Wx__Wizard_Create); /* prototype to pass -Wmissing-prototypes */
1426 XS(XS_Wx__Wizard_Create)
1427 {
1428 #ifdef dVAR
1429     dVAR; dXSARGS;
1430 #else
1431     dXSARGS;
1432 #endif
1433     if (items < 2 || items > 6)
1434        croak_xs_usage(cv,  "THIS, parent, id = wxID_ANY, title = wxEmptyString, bitmap = (wxBitmap*)&wxNullBitmap, pos = wxDefaultPosition");
1435     {
1436         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
1437         wxWindowID      id;
1438         wxString        title;
1439         wxBitmap*       bitmap;
1440         wxPoint pos;
1441         wxWizard *    THIS = (wxWizard *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Wizard" );
1442         bool    RETVAL;
1443
1444         if (items < 3)
1445             id = wxID_ANY;
1446         else {
1447     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
1448         }
1449
1450         if (items < 4)
1451             title = wxEmptyString;
1452         else {
1453     WXSTRING_INPUT( title, wxString, ST(3) );
1454         }
1455
1456         if (items < 5)
1457             bitmap = (wxBitmap*)&wxNullBitmap;
1458         else {
1459     bitmap = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(4), "Wx::Bitmap" );
1460         }
1461
1462         if (items < 6)
1463             pos = wxDefaultPosition;
1464         else {
1465     pos = wxPli_sv_2_wxpoint( aTHX_ ST(5) );
1466         }
1467
1468         RETVAL = THIS->Create(parent, id, title, *bitmap, pos);
1469         ST(0) = boolSV(RETVAL);
1470         sv_2mortal(ST(0));
1471     }
1472     XSRETURN(1);
1473 }
1474
1475
1476 XS(XS_Wx__Wizard_RunWizard); /* prototype to pass -Wmissing-prototypes */
1477 XS(XS_Wx__Wizard_RunWizard)
1478 {
1479 #ifdef dVAR
1480     dVAR; dXSARGS;
1481 #else
1482     dXSARGS;
1483 #endif
1484     if (items != 2)
1485        croak_xs_usage(cv,  "THIS, page");
1486     {
1487         wxWizardPage*    page = (wxWizardPage *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::WizardPage" );
1488         wxWizard *    THIS = (wxWizard *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Wizard" );
1489         bool    RETVAL;
1490
1491         RETVAL = THIS->RunWizard(page);
1492         ST(0) = boolSV(RETVAL);
1493         sv_2mortal(ST(0));
1494     }
1495     XSRETURN(1);
1496 }
1497
1498
1499 XS(XS_Wx__Wizard_GetCurrentPage); /* prototype to pass -Wmissing-prototypes */
1500 XS(XS_Wx__Wizard_GetCurrentPage)
1501 {
1502 #ifdef dVAR
1503     dVAR; dXSARGS;
1504 #else
1505     dXSARGS;
1506 #endif
1507     if (items != 1)
1508        croak_xs_usage(cv,  "THIS");
1509     {
1510         wxWizard *    THIS = (wxWizard *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Wizard" );
1511         wxWizardPage *  RETVAL;
1512
1513         RETVAL = THIS->GetCurrentPage();
1514         ST(0) = sv_newmortal();
1515     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
1516
1517     }
1518     XSRETURN(1);
1519 }
1520
1521
1522 XS(XS_Wx__Wizard_GetPageSize); /* prototype to pass -Wmissing-prototypes */
1523 XS(XS_Wx__Wizard_GetPageSize)
1524 {
1525 #ifdef dVAR
1526     dVAR; dXSARGS;
1527 #else
1528     dXSARGS;
1529 #endif
1530     if (items != 1)
1531        croak_xs_usage(cv,  "THIS");
1532     {
1533         wxWizard *    THIS = (wxWizard *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Wizard" );
1534         wxSize *        RETVAL;
1535     RETVAL = new wxSize( THIS->GetPageSize() );
1536         ST(0) = sv_newmortal();
1537     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Size" );
1538     wxPli_thread_sv_register( aTHX_ "Wx::Size", RETVAL, ST(0) );
1539
1540     }
1541     XSRETURN(1);
1542 }
1543
1544
1545 XS(XS_Wx__Wizard_SetPageSize); /* prototype to pass -Wmissing-prototypes */
1546 XS(XS_Wx__Wizard_SetPageSize)
1547 {
1548 #ifdef dVAR
1549     dVAR; dXSARGS;
1550 #else
1551     dXSARGS;
1552 #endif
1553     if (items != 2)
1554        croak_xs_usage(cv,  "THIS, size");
1555     {
1556         wxSize    size = wxPli_sv_2_wxsize( aTHX_ ST(1) );
1557         wxWizard *    THIS = (wxWizard *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Wizard" );
1558
1559         THIS->SetPageSize(size);
1560     }
1561     XSRETURN_EMPTY;
1562 }
1563
1564 #if WXPERL_W_VERSION_GE( 2, 5, 1 )
1565 #define XSubPPtmpAAAI 1
1566
1567
1568 XS(XS_Wx__Wizard_GetPageAreaSizer); /* prototype to pass -Wmissing-prototypes */
1569 XS(XS_Wx__Wizard_GetPageAreaSizer)
1570 {
1571 #ifdef dVAR
1572     dVAR; dXSARGS;
1573 #else
1574     dXSARGS;
1575 #endif
1576     if (items != 1)
1577        croak_xs_usage(cv,  "THIS");
1578     {
1579         wxWizard *    THIS = (wxWizard *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Wizard" );
1580         wxSizer *       RETVAL;
1581
1582         RETVAL = THIS->GetPageAreaSizer();
1583         ST(0) = sv_newmortal();
1584     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
1585
1586     }
1587     XSRETURN(1);
1588 }
1589
1590 #endif
1591 #if WXPERL_W_VERSION_GE( 2, 8, 5 )
1592 #define XSubPPtmpAAAJ 1
1593
1594
1595 XS(XS_Wx__Wizard_GetBitmap); /* prototype to pass -Wmissing-prototypes */
1596 XS(XS_Wx__Wizard_GetBitmap)
1597 {
1598 #ifdef dVAR
1599     dVAR; dXSARGS;
1600 #else
1601     dXSARGS;
1602 #endif
1603     if (items != 1)
1604        croak_xs_usage(cv,  "THIS");
1605     {
1606         wxWizard *    THIS = (wxWizard *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Wizard" );
1607         wxBitmap *      RETVAL;
1608     RETVAL = new wxBitmap( THIS->GetBitmap() );
1609         ST(0) = sv_newmortal();
1610     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
1611     wxPli_thread_sv_register( aTHX_ "Wx::Bitmap", RETVAL, ST(0) );
1612
1613     }
1614     XSRETURN(1);
1615 }
1616
1617
1618 XS(XS_Wx__Wizard_SetBitmap); /* prototype to pass -Wmissing-prototypes */
1619 XS(XS_Wx__Wizard_SetBitmap)
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         wxWizard *    THIS = (wxWizard *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Wizard" );
1631
1632         THIS->SetBitmap(*bitmap);
1633     }
1634     XSRETURN_EMPTY;
1635 }
1636
1637 #endif
1638
1639 XS(XS_Wx__Wizard_FitToPage); /* prototype to pass -Wmissing-prototypes */
1640 XS(XS_Wx__Wizard_FitToPage)
1641 {
1642 #ifdef dVAR
1643     dVAR; dXSARGS;
1644 #else
1645     dXSARGS;
1646 #endif
1647     if (items != 2)
1648        croak_xs_usage(cv,  "THIS, firstPage");
1649     {
1650         wxWizardPage*    firstPage = (wxWizardPage *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::WizardPage" );
1651         wxWizard *    THIS = (wxWizard *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Wizard" );
1652
1653         THIS->FitToPage(firstPage);
1654     }
1655     XSRETURN_EMPTY;
1656 }
1657
1658
1659 XS(XS_Wx__Wizard_SetBorder); /* prototype to pass -Wmissing-prototypes */
1660 XS(XS_Wx__Wizard_SetBorder)
1661 {
1662 #ifdef dVAR
1663     dVAR; dXSARGS;
1664 #else
1665     dXSARGS;
1666 #endif
1667     if (items != 2)
1668        croak_xs_usage(cv,  "THIS, border");
1669     {
1670         int     border = (int)SvIV(ST(1));
1671         wxWizard *    THIS = (wxWizard *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Wizard" );
1672
1673         THIS->SetBorder(border);
1674     }
1675     XSRETURN_EMPTY;
1676 }
1677
1678
1679 XS(XS_Wx__Wizard_HasNextPage); /* prototype to pass -Wmissing-prototypes */
1680 XS(XS_Wx__Wizard_HasNextPage)
1681 {
1682 #ifdef dVAR
1683     dVAR; dXSARGS;
1684 #else
1685     dXSARGS;
1686 #endif
1687     if (items != 2)
1688        croak_xs_usage(cv,  "THIS, page");
1689     {
1690         wxWizardPage*    page = (wxWizardPage *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::WizardPage" );
1691         wxWizard *    THIS = (wxWizard *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Wizard" );
1692         bool    RETVAL;
1693
1694         RETVAL = THIS->HasNextPage(page);
1695         ST(0) = boolSV(RETVAL);
1696         sv_2mortal(ST(0));
1697     }
1698     XSRETURN(1);
1699 }
1700
1701
1702 XS(XS_Wx__Wizard_HasPrevPage); /* prototype to pass -Wmissing-prototypes */
1703 XS(XS_Wx__Wizard_HasPrevPage)
1704 {
1705 #ifdef dVAR
1706     dVAR; dXSARGS;
1707 #else
1708     dXSARGS;
1709 #endif
1710     if (items != 2)
1711        croak_xs_usage(cv,  "THIS, page");
1712     {
1713         wxWizardPage*    page = (wxWizardPage *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::WizardPage" );
1714         wxWizard *    THIS = (wxWizard *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Wizard" );
1715         bool    RETVAL;
1716
1717         RETVAL = THIS->HasPrevPage(page);
1718         ST(0) = boolSV(RETVAL);
1719         sv_2mortal(ST(0));
1720     }
1721     XSRETURN(1);
1722 }
1723
1724 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
1725 #define XSubPPtmpAAAK 1
1726
1727
1728 XS(XS_Wx__Wizard_SetBitmapBackgroundColour); /* prototype to pass -Wmissing-prototypes */
1729 XS(XS_Wx__Wizard_SetBitmapBackgroundColour)
1730 {
1731 #ifdef dVAR
1732     dVAR; dXSARGS;
1733 #else
1734     dXSARGS;
1735 #endif
1736     if (items != 2)
1737        croak_xs_usage(cv,  "THIS, colour");
1738     {
1739         wxColour    colour = *(wxColour *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Colour" );
1740         wxWizard *    THIS = (wxWizard *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Wizard" );
1741
1742         THIS->SetBitmapBackgroundColour(colour);
1743     }
1744     XSRETURN_EMPTY;
1745 }
1746
1747
1748 XS(XS_Wx__Wizard_GetBitmapBackgroundColour); /* prototype to pass -Wmissing-prototypes */
1749 XS(XS_Wx__Wizard_GetBitmapBackgroundColour)
1750 {
1751 #ifdef dVAR
1752     dVAR; dXSARGS;
1753 #else
1754     dXSARGS;
1755 #endif
1756     if (items != 1)
1757        croak_xs_usage(cv,  "THIS");
1758     {
1759         wxWizard *    THIS = (wxWizard *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Wizard" );
1760         wxColour *      RETVAL;
1761     RETVAL = new wxColour( THIS->GetBitmapBackgroundColour() );
1762         ST(0) = sv_newmortal();
1763     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Colour" );
1764     wxPli_thread_sv_register( aTHX_ "Wx::Colour", RETVAL, ST(0) );
1765
1766     }
1767     XSRETURN(1);
1768 }
1769
1770
1771 XS(XS_Wx__Wizard_SetBitmapPlacement); /* prototype to pass -Wmissing-prototypes */
1772 XS(XS_Wx__Wizard_SetBitmapPlacement)
1773 {
1774 #ifdef dVAR
1775     dVAR; dXSARGS;
1776 #else
1777     dXSARGS;
1778 #endif
1779     if (items != 2)
1780        croak_xs_usage(cv,  "THIS, placement");
1781     {
1782         int     placement = (int)SvIV(ST(1));
1783         wxWizard *    THIS = (wxWizard *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Wizard" );
1784
1785         THIS->SetBitmapPlacement(placement);
1786     }
1787     XSRETURN_EMPTY;
1788 }
1789
1790
1791 XS(XS_Wx__Wizard_GetBitmapPlacement); /* prototype to pass -Wmissing-prototypes */
1792 XS(XS_Wx__Wizard_GetBitmapPlacement)
1793 {
1794 #ifdef dVAR
1795     dVAR; dXSARGS;
1796 #else
1797     dXSARGS;
1798 #endif
1799     if (items != 1)
1800        croak_xs_usage(cv,  "THIS");
1801     {
1802         wxWizard *    THIS = (wxWizard *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Wizard" );
1803         int     RETVAL;
1804         dXSTARG;
1805
1806         RETVAL = THIS->GetBitmapPlacement();
1807         XSprePUSH; PUSHi((IV)RETVAL);
1808     }
1809     XSRETURN(1);
1810 }
1811
1812
1813 XS(XS_Wx__Wizard_SetMinimumBitmapWidth); /* prototype to pass -Wmissing-prototypes */
1814 XS(XS_Wx__Wizard_SetMinimumBitmapWidth)
1815 {
1816 #ifdef dVAR
1817     dVAR; dXSARGS;
1818 #else
1819     dXSARGS;
1820 #endif
1821     if (items != 2)
1822        croak_xs_usage(cv,  "THIS, w");
1823     {
1824         int     w = (int)SvIV(ST(1));
1825         wxWizard *    THIS = (wxWizard *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Wizard" );
1826
1827         THIS->SetMinimumBitmapWidth(w);
1828     }
1829     XSRETURN_EMPTY;
1830 }
1831
1832
1833 XS(XS_Wx__Wizard_GetMinimumBitmapWidth); /* prototype to pass -Wmissing-prototypes */
1834 XS(XS_Wx__Wizard_GetMinimumBitmapWidth)
1835 {
1836 #ifdef dVAR
1837     dVAR; dXSARGS;
1838 #else
1839     dXSARGS;
1840 #endif
1841     if (items != 1)
1842        croak_xs_usage(cv,  "THIS");
1843     {
1844         wxWizard *    THIS = (wxWizard *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Wizard" );
1845         int     RETVAL;
1846         dXSTARG;
1847
1848         RETVAL = THIS->GetMinimumBitmapWidth();
1849         XSprePUSH; PUSHi((IV)RETVAL);
1850     }
1851     XSRETURN(1);
1852 }
1853
1854 #endif
1855
1856 XS(XS_Wx__WizardPage_new); /* prototype to pass -Wmissing-prototypes */
1857 XS(XS_Wx__WizardPage_new)
1858 {
1859 #ifdef dVAR
1860     dVAR; dXSARGS;
1861 #else
1862     dXSARGS;
1863 #endif
1864     if (items < 1)
1865        croak_xs_usage(cv,  "CLASS, ...");
1866     PERL_UNUSED_VAR(ax); /* -Wall */
1867     SP -= items;
1868     {
1869         char *  CLASS = (char *)SvPV_nolen(ST(0));
1870     BEGIN_OVERLOAD()
1871         MATCH_VOIDM_REDISP( newEmpty )
1872         MATCH_ANY_REDISP( newFull )
1873     END_OVERLOAD( Wx::WizardPage::new )
1874         PUTBACK;
1875         return;
1876     }
1877 }
1878
1879
1880 XS(XS_Wx__WizardPage_newEmpty); /* prototype to pass -Wmissing-prototypes */
1881 XS(XS_Wx__WizardPage_newEmpty)
1882 {
1883 #ifdef dVAR
1884     dVAR; dXSARGS;
1885 #else
1886     dXSARGS;
1887 #endif
1888     if (items != 1)
1889        croak_xs_usage(cv,  "CLASS");
1890     {
1891         PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) );
1892         wxWizardPage *  RETVAL;
1893     RETVAL = new wxPliWizardPage( CLASS );
1894         ST(0) = sv_newmortal();
1895     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
1896
1897     }
1898     XSRETURN(1);
1899 }
1900
1901
1902 XS(XS_Wx__WizardPage_newFull); /* prototype to pass -Wmissing-prototypes */
1903 XS(XS_Wx__WizardPage_newFull)
1904 {
1905 #ifdef dVAR
1906     dVAR; dXSARGS;
1907 #else
1908     dXSARGS;
1909 #endif
1910     if (items < 2 || items > 3)
1911        croak_xs_usage(cv,  "CLASS, parent, bitmap = (wxBitmap*)&wxNullBitmap");
1912     {
1913         PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) );
1914         wxWizard*    parent = (wxWizard *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Wizard" );
1915         wxBitmap*       bitmap;
1916         wxWizardPage *  RETVAL;
1917
1918         if (items < 3)
1919             bitmap = (wxBitmap*)&wxNullBitmap;
1920         else {
1921     bitmap = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Bitmap" );
1922         }
1923     RETVAL = new wxPliWizardPage( CLASS, parent, *bitmap );
1924         ST(0) = sv_newmortal();
1925     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
1926
1927     }
1928     XSRETURN(1);
1929 }
1930
1931
1932 XS(XS_Wx__WizardPage_Create); /* prototype to pass -Wmissing-prototypes */
1933 XS(XS_Wx__WizardPage_Create)
1934 {
1935 #ifdef dVAR
1936     dVAR; dXSARGS;
1937 #else
1938     dXSARGS;
1939 #endif
1940     if (items < 2 || items > 3)
1941        croak_xs_usage(cv,  "THIS, parent, bitmap = (wxBitmap*)&wxNullBitmap");
1942     {
1943         wxWizard*    parent = (wxWizard *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Wizard" );
1944         wxBitmap*       bitmap;
1945         wxWizardPage *    THIS = (wxWizardPage *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::WizardPage" );
1946         bool    RETVAL;
1947
1948         if (items < 3)
1949             bitmap = (wxBitmap*)&wxNullBitmap;
1950         else {
1951     bitmap = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Bitmap" );
1952         }
1953
1954         RETVAL = THIS->Create(parent, *bitmap);
1955         ST(0) = boolSV(RETVAL);
1956         sv_2mortal(ST(0));
1957     }
1958     XSRETURN(1);
1959 }
1960
1961
1962 XS(XS_Wx__WizardPage_GetBitmap); /* prototype to pass -Wmissing-prototypes */
1963 XS(XS_Wx__WizardPage_GetBitmap)
1964 {
1965 #ifdef dVAR
1966     dVAR; dXSARGS;
1967 #else
1968     dXSARGS;
1969 #endif
1970     if (items != 1)
1971        croak_xs_usage(cv,  "THIS");
1972     {
1973         wxWizardPage *    THIS = (wxWizardPage *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::WizardPage" );
1974         wxBitmap *      RETVAL;
1975     RETVAL = new wxBitmap( THIS->GetBitmap() );
1976         ST(0) = sv_newmortal();
1977     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
1978     wxPli_thread_sv_register( aTHX_ "Wx::Bitmap", RETVAL, ST(0) );
1979
1980     }
1981     XSRETURN(1);
1982 }
1983
1984
1985 XS(XS_Wx__WizardPage_GetPrev); /* prototype to pass -Wmissing-prototypes */
1986 XS(XS_Wx__WizardPage_GetPrev)
1987 {
1988 #ifdef dVAR
1989     dVAR; dXSARGS;
1990 #else
1991     dXSARGS;
1992 #endif
1993     if (items != 1)
1994        croak_xs_usage(cv,  "THIS");
1995     {
1996         wxWizardPageSimple *    THIS = (wxWizardPageSimple *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::WizardPageSimple" );
1997         wxWizardPage *  RETVAL;
1998
1999         RETVAL = THIS->GetPrev();
2000         ST(0) = sv_newmortal();
2001     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
2002
2003     }
2004     XSRETURN(1);
2005 }
2006
2007
2008 XS(XS_Wx__WizardPage_GetNext); /* prototype to pass -Wmissing-prototypes */
2009 XS(XS_Wx__WizardPage_GetNext)
2010 {
2011 #ifdef dVAR
2012     dVAR; dXSARGS;
2013 #else
2014     dXSARGS;
2015 #endif
2016     if (items != 1)
2017        croak_xs_usage(cv,  "THIS");
2018     {
2019         wxWizardPageSimple *    THIS = (wxWizardPageSimple *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::WizardPageSimple" );
2020         wxWizardPage *  RETVAL;
2021
2022         RETVAL = THIS->GetNext();
2023         ST(0) = sv_newmortal();
2024     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
2025
2026     }
2027     XSRETURN(1);
2028 }
2029
2030
2031 XS(XS_Wx__WizardPageSimple_new); /* prototype to pass -Wmissing-prototypes */
2032 XS(XS_Wx__WizardPageSimple_new)
2033 {
2034 #ifdef dVAR
2035     dVAR; dXSARGS;
2036 #else
2037     dXSARGS;
2038 #endif
2039     if (items < 2 || items > 4)
2040        croak_xs_usage(cv,  "CLASS, parent, prev = 0, next = 0");
2041     {
2042         wxWizard*    parent = (wxWizard *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Wizard" );
2043         wxWizardPage*   prev;
2044         wxWizardPage*   next;
2045         char *  CLASS = (char *)SvPV_nolen(ST(0));
2046         wxWizardPageSimple *    RETVAL;
2047
2048         if (items < 3)
2049             prev = 0;
2050         else {
2051     prev = (wxWizardPage *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::WizardPage" );
2052         }
2053
2054         if (items < 4)
2055             next = 0;
2056         else {
2057     next = (wxWizardPage *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::WizardPage" );
2058         }
2059
2060         RETVAL = new wxWizardPageSimple(parent, prev, next);
2061         ST(0) = sv_newmortal();
2062     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
2063
2064     }
2065     XSRETURN(1);
2066 }
2067
2068
2069 XS(XS_Wx__WizardPageSimple_SetPrev); /* prototype to pass -Wmissing-prototypes */
2070 XS(XS_Wx__WizardPageSimple_SetPrev)
2071 {
2072 #ifdef dVAR
2073     dVAR; dXSARGS;
2074 #else
2075     dXSARGS;
2076 #endif
2077     if (items != 2)
2078        croak_xs_usage(cv,  "THIS, prev");
2079     {
2080         wxWizardPage*    prev = (wxWizardPage *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::WizardPage" );
2081         wxWizardPageSimple *    THIS = (wxWizardPageSimple *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::WizardPageSimple" );
2082
2083         THIS->SetPrev(prev);
2084     }
2085     XSRETURN_EMPTY;
2086 }
2087
2088
2089 XS(XS_Wx__WizardPageSimple_SetNext); /* prototype to pass -Wmissing-prototypes */
2090 XS(XS_Wx__WizardPageSimple_SetNext)
2091 {
2092 #ifdef dVAR
2093     dVAR; dXSARGS;
2094 #else
2095     dXSARGS;
2096 #endif
2097     if (items != 2)
2098        croak_xs_usage(cv,  "THIS, next");
2099     {
2100         wxWizardPage*    next = (wxWizardPage *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::WizardPage" );
2101         wxWizardPageSimple *    THIS = (wxWizardPageSimple *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::WizardPageSimple" );
2102
2103         THIS->SetNext(next);
2104     }
2105     XSRETURN_EMPTY;
2106 }
2107
2108
2109 XS(XS_Wx__WizardPageSimple_Chain); /* prototype to pass -Wmissing-prototypes */
2110 XS(XS_Wx__WizardPageSimple_Chain)
2111 {
2112 #ifdef dVAR
2113     dVAR; dXSARGS;
2114 #else
2115     dXSARGS;
2116 #endif
2117     if (items != 2)
2118        croak_xs_usage(cv,  "first, second");
2119     {
2120         wxWizardPageSimple*    first = (wxWizardPageSimple *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::WizardPageSimple" );
2121         wxWizardPageSimple*    second = (wxWizardPageSimple *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::WizardPageSimple" );
2122     wxWizardPageSimple::Chain( first, second );
2123     }
2124     XSRETURN_EMPTY;
2125 }
2126
2127
2128 XS(XS_Wx__WizardEvent_GetDirection); /* prototype to pass -Wmissing-prototypes */
2129 XS(XS_Wx__WizardEvent_GetDirection)
2130 {
2131 #ifdef dVAR
2132     dVAR; dXSARGS;
2133 #else
2134     dXSARGS;
2135 #endif
2136     if (items != 1)
2137        croak_xs_usage(cv,  "THIS");
2138     {
2139         wxWizardEvent *    THIS = (wxWizardEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::WizardEvent" );
2140         bool    RETVAL;
2141
2142         RETVAL = THIS->GetDirection();
2143         ST(0) = boolSV(RETVAL);
2144         sv_2mortal(ST(0));
2145     }
2146     XSRETURN(1);
2147 }
2148
2149
2150 XS(XS_Wx__WizardEvent_GetPage); /* prototype to pass -Wmissing-prototypes */
2151 XS(XS_Wx__WizardEvent_GetPage)
2152 {
2153 #ifdef dVAR
2154     dVAR; dXSARGS;
2155 #else
2156     dXSARGS;
2157 #endif
2158     if (items != 1)
2159        croak_xs_usage(cv,  "THIS");
2160     {
2161         wxWizardEvent *    THIS = (wxWizardEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::WizardEvent" );
2162         wxWizardPage *  RETVAL;
2163
2164         RETVAL = THIS->GetPage();
2165         ST(0) = sv_newmortal();
2166     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
2167
2168     }
2169     XSRETURN(1);
2170 }
2171
2172
2173 /* INCLUDE: Returning to 'XS/ToolBar.xs' from 'XS/Wizard.xs' */
2174
2175 #include <wx/toolbar.h>
2176 #include <wx/menu.h>
2177
2178 XS(XS_Wx__ToolBarToolBase_Destroy); /* prototype to pass -Wmissing-prototypes */
2179 XS(XS_Wx__ToolBarToolBase_Destroy)
2180 {
2181 #ifdef dVAR
2182     dVAR; dXSARGS;
2183 #else
2184     dXSARGS;
2185 #endif
2186     if (items != 1)
2187        croak_xs_usage(cv,  "THIS");
2188     {
2189         wxToolBarToolBase *    THIS = (wxToolBarToolBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarToolBase" );
2190     delete THIS;
2191     }
2192     XSRETURN_EMPTY;
2193 }
2194
2195
2196 XS(XS_Wx__ToolBarToolBase_GetId); /* prototype to pass -Wmissing-prototypes */
2197 XS(XS_Wx__ToolBarToolBase_GetId)
2198 {
2199 #ifdef dVAR
2200     dVAR; dXSARGS;
2201 #else
2202     dXSARGS;
2203 #endif
2204     if (items != 1)
2205        croak_xs_usage(cv,  "THIS");
2206     {
2207         wxToolBarToolBase *    THIS = (wxToolBarToolBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarToolBase" );
2208         int     RETVAL;
2209         dXSTARG;
2210
2211         RETVAL = THIS->GetId();
2212         XSprePUSH; PUSHi((IV)RETVAL);
2213     }
2214     XSRETURN(1);
2215 }
2216
2217
2218 XS(XS_Wx__ToolBarToolBase_GetControl); /* prototype to pass -Wmissing-prototypes */
2219 XS(XS_Wx__ToolBarToolBase_GetControl)
2220 {
2221 #ifdef dVAR
2222     dVAR; dXSARGS;
2223 #else
2224     dXSARGS;
2225 #endif
2226     if (items != 1)
2227        croak_xs_usage(cv,  "THIS");
2228     {
2229         wxToolBarToolBase *    THIS = (wxToolBarToolBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarToolBase" );
2230         wxControl *     RETVAL;
2231
2232         RETVAL = THIS->GetControl();
2233         ST(0) = sv_newmortal();
2234     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
2235
2236     }
2237     XSRETURN(1);
2238 }
2239
2240
2241 XS(XS_Wx__ToolBarToolBase_GetToolBar); /* prototype to pass -Wmissing-prototypes */
2242 XS(XS_Wx__ToolBarToolBase_GetToolBar)
2243 {
2244 #ifdef dVAR
2245     dVAR; dXSARGS;
2246 #else
2247     dXSARGS;
2248 #endif
2249     if (items != 1)
2250        croak_xs_usage(cv,  "THIS");
2251     {
2252         wxToolBarToolBase *    THIS = (wxToolBarToolBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarToolBase" );
2253         wxToolBarBase * RETVAL;
2254
2255         RETVAL = THIS->GetToolBar();
2256         ST(0) = sv_newmortal();
2257     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
2258
2259     }
2260     XSRETURN(1);
2261 }
2262
2263
2264 XS(XS_Wx__ToolBarToolBase_IsButton); /* prototype to pass -Wmissing-prototypes */
2265 XS(XS_Wx__ToolBarToolBase_IsButton)
2266 {
2267 #ifdef dVAR
2268     dVAR; dXSARGS;
2269 #else
2270     dXSARGS;
2271 #endif
2272     if (items != 1)
2273        croak_xs_usage(cv,  "THIS");
2274     {
2275         wxToolBarToolBase *    THIS = (wxToolBarToolBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarToolBase" );
2276         bool    RETVAL;
2277
2278         RETVAL = THIS->IsButton();
2279         ST(0) = boolSV(RETVAL);
2280         sv_2mortal(ST(0));
2281     }
2282     XSRETURN(1);
2283 }
2284
2285
2286 XS(XS_Wx__ToolBarToolBase_IsControl); /* prototype to pass -Wmissing-prototypes */
2287 XS(XS_Wx__ToolBarToolBase_IsControl)
2288 {
2289 #ifdef dVAR
2290     dVAR; dXSARGS;
2291 #else
2292     dXSARGS;
2293 #endif
2294     if (items != 1)
2295        croak_xs_usage(cv,  "THIS");
2296     {
2297         wxToolBarToolBase *    THIS = (wxToolBarToolBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarToolBase" );
2298         bool    RETVAL;
2299
2300         RETVAL = THIS->IsControl();
2301         ST(0) = boolSV(RETVAL);
2302         sv_2mortal(ST(0));
2303     }
2304     XSRETURN(1);
2305 }
2306
2307
2308 XS(XS_Wx__ToolBarToolBase_IsSeparator); /* prototype to pass -Wmissing-prototypes */
2309 XS(XS_Wx__ToolBarToolBase_IsSeparator)
2310 {
2311 #ifdef dVAR
2312     dVAR; dXSARGS;
2313 #else
2314     dXSARGS;
2315 #endif
2316     if (items != 1)
2317        croak_xs_usage(cv,  "THIS");
2318     {
2319         wxToolBarToolBase *    THIS = (wxToolBarToolBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarToolBase" );
2320         bool    RETVAL;
2321
2322         RETVAL = THIS->IsSeparator();
2323         ST(0) = boolSV(RETVAL);
2324         sv_2mortal(ST(0));
2325     }
2326     XSRETURN(1);
2327 }
2328
2329
2330 XS(XS_Wx__ToolBarToolBase_GetStyle); /* prototype to pass -Wmissing-prototypes */
2331 XS(XS_Wx__ToolBarToolBase_GetStyle)
2332 {
2333 #ifdef dVAR
2334     dVAR; dXSARGS;
2335 #else
2336     dXSARGS;
2337 #endif
2338     if (items != 1)
2339        croak_xs_usage(cv,  "THIS");
2340     {
2341         wxToolBarToolBase *    THIS = (wxToolBarToolBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarToolBase" );
2342         int     RETVAL;
2343         dXSTARG;
2344
2345         RETVAL = THIS->GetStyle();
2346         XSprePUSH; PUSHi((IV)RETVAL);
2347     }
2348     XSRETURN(1);
2349 }
2350
2351
2352 XS(XS_Wx__ToolBarToolBase_GetKind); /* prototype to pass -Wmissing-prototypes */
2353 XS(XS_Wx__ToolBarToolBase_GetKind)
2354 {
2355 #ifdef dVAR
2356     dVAR; dXSARGS;
2357 #else
2358     dXSARGS;
2359 #endif
2360     if (items != 1)
2361        croak_xs_usage(cv,  "THIS");
2362     {
2363         wxToolBarToolBase *    THIS = (wxToolBarToolBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarToolBase" );
2364         wxItemKind      RETVAL;
2365         dXSTARG;
2366
2367         RETVAL = THIS->GetKind();
2368         XSprePUSH; PUSHi((IV)RETVAL);
2369     }
2370     XSRETURN(1);
2371 }
2372
2373
2374 XS(XS_Wx__ToolBarToolBase_IsEnabled); /* prototype to pass -Wmissing-prototypes */
2375 XS(XS_Wx__ToolBarToolBase_IsEnabled)
2376 {
2377 #ifdef dVAR
2378     dVAR; dXSARGS;
2379 #else
2380     dXSARGS;
2381 #endif
2382     if (items != 1)
2383        croak_xs_usage(cv,  "THIS");
2384     {
2385         wxToolBarToolBase *    THIS = (wxToolBarToolBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarToolBase" );
2386         bool    RETVAL;
2387
2388         RETVAL = THIS->IsEnabled();
2389         ST(0) = boolSV(RETVAL);
2390         sv_2mortal(ST(0));
2391     }
2392     XSRETURN(1);
2393 }
2394
2395
2396 XS(XS_Wx__ToolBarToolBase_IsToggled); /* prototype to pass -Wmissing-prototypes */
2397 XS(XS_Wx__ToolBarToolBase_IsToggled)
2398 {
2399 #ifdef dVAR
2400     dVAR; dXSARGS;
2401 #else
2402     dXSARGS;
2403 #endif
2404     if (items != 1)
2405        croak_xs_usage(cv,  "THIS");
2406     {
2407         wxToolBarToolBase *    THIS = (wxToolBarToolBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarToolBase" );
2408         bool    RETVAL;
2409
2410         RETVAL = THIS->IsToggled();
2411         ST(0) = boolSV(RETVAL);
2412         sv_2mortal(ST(0));
2413     }
2414     XSRETURN(1);
2415 }
2416
2417
2418 XS(XS_Wx__ToolBarToolBase_CanBeToggled); /* prototype to pass -Wmissing-prototypes */
2419 XS(XS_Wx__ToolBarToolBase_CanBeToggled)
2420 {
2421 #ifdef dVAR
2422     dVAR; dXSARGS;
2423 #else
2424     dXSARGS;
2425 #endif
2426     if (items != 1)
2427        croak_xs_usage(cv,  "THIS");
2428     {
2429         wxToolBarToolBase *    THIS = (wxToolBarToolBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarToolBase" );
2430         bool    RETVAL;
2431
2432         RETVAL = THIS->CanBeToggled();
2433         ST(0) = boolSV(RETVAL);
2434         sv_2mortal(ST(0));
2435     }
2436     XSRETURN(1);
2437 }
2438
2439
2440 XS(XS_Wx__ToolBarToolBase_GetNormalBitmap); /* prototype to pass -Wmissing-prototypes */
2441 XS(XS_Wx__ToolBarToolBase_GetNormalBitmap)
2442 {
2443 #ifdef dVAR
2444     dVAR; dXSARGS;
2445 #else
2446     dXSARGS;
2447 #endif
2448     if (items != 1)
2449        croak_xs_usage(cv,  "THIS");
2450     {
2451         wxToolBarToolBase *    THIS = (wxToolBarToolBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarToolBase" );
2452         wxBitmap *      RETVAL;
2453     RETVAL = new wxBitmap( THIS->GetNormalBitmap() );
2454         ST(0) = sv_newmortal();
2455     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
2456     wxPli_thread_sv_register( aTHX_ "Wx::Bitmap", RETVAL, ST(0) );
2457
2458     }
2459     XSRETURN(1);
2460 }
2461
2462
2463 XS(XS_Wx__ToolBarToolBase_GetDisabledBitmap); /* prototype to pass -Wmissing-prototypes */
2464 XS(XS_Wx__ToolBarToolBase_GetDisabledBitmap)
2465 {
2466 #ifdef dVAR
2467     dVAR; dXSARGS;
2468 #else
2469     dXSARGS;
2470 #endif
2471     if (items != 1)
2472        croak_xs_usage(cv,  "THIS");
2473     {
2474         wxToolBarToolBase *    THIS = (wxToolBarToolBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarToolBase" );
2475         wxBitmap *      RETVAL;
2476     RETVAL = new wxBitmap( THIS->GetDisabledBitmap() );
2477         ST(0) = sv_newmortal();
2478     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
2479     wxPli_thread_sv_register( aTHX_ "Wx::Bitmap", RETVAL, ST(0) );
2480
2481     }
2482     XSRETURN(1);
2483 }
2484
2485
2486 XS(XS_Wx__ToolBarToolBase_GetBitmap1); /* prototype to pass -Wmissing-prototypes */
2487 XS(XS_Wx__ToolBarToolBase_GetBitmap1)
2488 {
2489 #ifdef dVAR
2490     dVAR; dXSARGS;
2491 #else
2492     dXSARGS;
2493 #endif
2494     if (items != 1)
2495        croak_xs_usage(cv,  "THIS");
2496     {
2497         wxToolBarToolBase *    THIS = (wxToolBarToolBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarToolBase" );
2498         wxBitmap *      RETVAL;
2499     RETVAL = new wxBitmap( THIS->GetNormalBitmap() );
2500         ST(0) = sv_newmortal();
2501     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
2502     wxPli_thread_sv_register( aTHX_ "Wx::Bitmap", RETVAL, ST(0) );
2503
2504     }
2505     XSRETURN(1);
2506 }
2507
2508
2509 XS(XS_Wx__ToolBarToolBase_GetBitmap2); /* prototype to pass -Wmissing-prototypes */
2510 XS(XS_Wx__ToolBarToolBase_GetBitmap2)
2511 {
2512 #ifdef dVAR
2513     dVAR; dXSARGS;
2514 #else
2515     dXSARGS;
2516 #endif
2517     if (items != 1)
2518        croak_xs_usage(cv,  "THIS");
2519     {
2520         wxToolBarToolBase *    THIS = (wxToolBarToolBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarToolBase" );
2521         wxBitmap *      RETVAL;
2522     RETVAL = new wxBitmap( THIS->GetDisabledBitmap() );
2523         ST(0) = sv_newmortal();
2524     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
2525     wxPli_thread_sv_register( aTHX_ "Wx::Bitmap", RETVAL, ST(0) );
2526
2527     }
2528     XSRETURN(1);
2529 }
2530
2531
2532 XS(XS_Wx__ToolBarToolBase_GetBitmap); /* prototype to pass -Wmissing-prototypes */
2533 XS(XS_Wx__ToolBarToolBase_GetBitmap)
2534 {
2535 #ifdef dVAR
2536     dVAR; dXSARGS;
2537 #else
2538     dXSARGS;
2539 #endif
2540     if (items != 1)
2541        croak_xs_usage(cv,  "THIS");
2542     {
2543         wxToolBarToolBase *    THIS = (wxToolBarToolBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarToolBase" );
2544         wxBitmap *      RETVAL;
2545     RETVAL = new wxBitmap( THIS->GetBitmap() );
2546         ST(0) = sv_newmortal();
2547     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
2548     wxPli_thread_sv_register( aTHX_ "Wx::Bitmap", RETVAL, ST(0) );
2549
2550     }
2551     XSRETURN(1);
2552 }
2553
2554
2555 XS(XS_Wx__ToolBarToolBase_GetLabel); /* prototype to pass -Wmissing-prototypes */
2556 XS(XS_Wx__ToolBarToolBase_GetLabel)
2557 {
2558 #ifdef dVAR
2559     dVAR; dXSARGS;
2560 #else
2561     dXSARGS;
2562 #endif
2563     if (items != 1)
2564        croak_xs_usage(cv,  "THIS");
2565     {
2566         wxToolBarToolBase *    THIS = (wxToolBarToolBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarToolBase" );
2567         wxString        RETVAL;
2568
2569         RETVAL = THIS->GetLabel();
2570         ST(0) = sv_newmortal();
2571     WXSTRING_OUTPUT( RETVAL, ST(0) );
2572
2573     }
2574     XSRETURN(1);
2575 }
2576
2577
2578 XS(XS_Wx__ToolBarToolBase_GetShortHelp); /* prototype to pass -Wmissing-prototypes */
2579 XS(XS_Wx__ToolBarToolBase_GetShortHelp)
2580 {
2581 #ifdef dVAR
2582     dVAR; dXSARGS;
2583 #else
2584     dXSARGS;
2585 #endif
2586     if (items != 1)
2587        croak_xs_usage(cv,  "THIS");
2588     {
2589         wxToolBarToolBase *    THIS = (wxToolBarToolBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarToolBase" );
2590         wxString        RETVAL;
2591
2592         RETVAL = THIS->GetShortHelp();
2593         ST(0) = sv_newmortal();
2594     WXSTRING_OUTPUT( RETVAL, ST(0) );
2595
2596     }
2597     XSRETURN(1);
2598 }
2599
2600
2601 XS(XS_Wx__ToolBarToolBase_GetLongHelp); /* prototype to pass -Wmissing-prototypes */
2602 XS(XS_Wx__ToolBarToolBase_GetLongHelp)
2603 {
2604 #ifdef dVAR
2605     dVAR; dXSARGS;
2606 #else
2607     dXSARGS;
2608 #endif
2609     if (items != 1)
2610        croak_xs_usage(cv,  "THIS");
2611     {
2612         wxToolBarToolBase *    THIS = (wxToolBarToolBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarToolBase" );
2613         wxString        RETVAL;
2614
2615         RETVAL = THIS->GetLongHelp();
2616         ST(0) = sv_newmortal();
2617     WXSTRING_OUTPUT( RETVAL, ST(0) );
2618
2619     }
2620     XSRETURN(1);
2621 }
2622
2623
2624 XS(XS_Wx__ToolBarToolBase_GetClientData); /* prototype to pass -Wmissing-prototypes */
2625 XS(XS_Wx__ToolBarToolBase_GetClientData)
2626 {
2627 #ifdef dVAR
2628     dVAR; dXSARGS;
2629 #else
2630     dXSARGS;
2631 #endif
2632     if (items != 1)
2633        croak_xs_usage(cv,  "THIS");
2634     {
2635         wxToolBarToolBase *    THIS = (wxToolBarToolBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarToolBase" );
2636         Wx_UserDataO *  RETVAL;
2637     RETVAL = (Wx_UserDataO*) THIS->GetClientData();
2638     ST(0) = ( RETVAL == 0 ) ? &PL_sv_undef : RETVAL->GetData();
2639     SvREFCNT_inc( ST(0) ); // xsubpp mortalizes it...
2640
2641         sv_2mortal(ST(0));
2642     }
2643     XSRETURN(1);
2644 }
2645
2646
2647 XS(XS_Wx__ToolBarToolBase_Enable); /* prototype to pass -Wmissing-prototypes */
2648 XS(XS_Wx__ToolBarToolBase_Enable)
2649 {
2650 #ifdef dVAR
2651     dVAR; dXSARGS;
2652 #else
2653     dXSARGS;
2654 #endif
2655     if (items != 2)
2656        croak_xs_usage(cv,  "THIS, enable");
2657     {
2658         bool    enable = (bool)SvTRUE(ST(1));
2659         wxToolBarToolBase *    THIS = (wxToolBarToolBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarToolBase" );
2660         bool    RETVAL;
2661
2662         RETVAL = THIS->Enable(enable);
2663         ST(0) = boolSV(RETVAL);
2664         sv_2mortal(ST(0));
2665     }
2666     XSRETURN(1);
2667 }
2668
2669
2670 XS(XS_Wx__ToolBarToolBase_Toggle); /* prototype to pass -Wmissing-prototypes */
2671 XS(XS_Wx__ToolBarToolBase_Toggle)
2672 {
2673 #ifdef dVAR
2674     dVAR; dXSARGS;
2675 #else
2676     dXSARGS;
2677 #endif
2678     if (items != 2)
2679        croak_xs_usage(cv,  "THIS, enable");
2680     {
2681         bool    enable = (bool)SvTRUE(ST(1));
2682         wxToolBarToolBase *    THIS = (wxToolBarToolBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarToolBase" );
2683         bool    RETVAL;
2684
2685         RETVAL = THIS->Toggle(enable);
2686         ST(0) = boolSV(RETVAL);
2687         sv_2mortal(ST(0));
2688     }
2689     XSRETURN(1);
2690 }
2691
2692
2693 XS(XS_Wx__ToolBarToolBase_SetToggle); /* prototype to pass -Wmissing-prototypes */
2694 XS(XS_Wx__ToolBarToolBase_SetToggle)
2695 {
2696 #ifdef dVAR
2697     dVAR; dXSARGS;
2698 #else
2699     dXSARGS;
2700 #endif
2701     if (items != 2)
2702        croak_xs_usage(cv,  "THIS, toggle");
2703     {
2704         bool    toggle = (bool)SvTRUE(ST(1));
2705         wxToolBarToolBase *    THIS = (wxToolBarToolBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarToolBase" );
2706         bool    RETVAL;
2707
2708         RETVAL = THIS->SetToggle(toggle);
2709         ST(0) = boolSV(RETVAL);
2710         sv_2mortal(ST(0));
2711     }
2712     XSRETURN(1);
2713 }
2714
2715
2716 XS(XS_Wx__ToolBarToolBase_SetShortHelp); /* prototype to pass -Wmissing-prototypes */
2717 XS(XS_Wx__ToolBarToolBase_SetShortHelp)
2718 {
2719 #ifdef dVAR
2720     dVAR; dXSARGS;
2721 #else
2722     dXSARGS;
2723 #endif
2724     if (items != 2)
2725        croak_xs_usage(cv,  "THIS, help");
2726     {
2727         wxString        help;
2728         wxToolBarToolBase *    THIS = (wxToolBarToolBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarToolBase" );
2729         bool    RETVAL;
2730
2731     WXSTRING_INPUT( help, wxString, ST(1) );
2732
2733         RETVAL = THIS->SetShortHelp(help);
2734         ST(0) = boolSV(RETVAL);
2735         sv_2mortal(ST(0));
2736     }
2737     XSRETURN(1);
2738 }
2739
2740
2741 XS(XS_Wx__ToolBarToolBase_SetLongHelp); /* prototype to pass -Wmissing-prototypes */
2742 XS(XS_Wx__ToolBarToolBase_SetLongHelp)
2743 {
2744 #ifdef dVAR
2745     dVAR; dXSARGS;
2746 #else
2747     dXSARGS;
2748 #endif
2749     if (items != 2)
2750        croak_xs_usage(cv,  "THIS, help");
2751     {
2752         wxString        help;
2753         wxToolBarToolBase *    THIS = (wxToolBarToolBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarToolBase" );
2754         bool    RETVAL;
2755
2756     WXSTRING_INPUT( help, wxString, ST(1) );
2757
2758         RETVAL = THIS->SetLongHelp(help);
2759         ST(0) = boolSV(RETVAL);
2760         sv_2mortal(ST(0));
2761     }
2762     XSRETURN(1);
2763 }
2764
2765
2766 XS(XS_Wx__ToolBarToolBase_SetNormalBitmap); /* prototype to pass -Wmissing-prototypes */
2767 XS(XS_Wx__ToolBarToolBase_SetNormalBitmap)
2768 {
2769 #ifdef dVAR
2770     dVAR; dXSARGS;
2771 #else
2772     dXSARGS;
2773 #endif
2774     if (items != 2)
2775        croak_xs_usage(cv,  "THIS, bmp");
2776     {
2777         wxBitmap*    bmp = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Bitmap" );
2778         wxToolBarToolBase *    THIS = (wxToolBarToolBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarToolBase" );
2779     THIS->SetNormalBitmap( *bmp );
2780     }
2781     XSRETURN_EMPTY;
2782 }
2783
2784
2785 XS(XS_Wx__ToolBarToolBase_SetDisabledBitmap); /* prototype to pass -Wmissing-prototypes */
2786 XS(XS_Wx__ToolBarToolBase_SetDisabledBitmap)
2787 {
2788 #ifdef dVAR
2789     dVAR; dXSARGS;
2790 #else
2791     dXSARGS;
2792 #endif
2793     if (items != 2)
2794        croak_xs_usage(cv,  "THIS, bmp");
2795     {
2796         wxBitmap*    bmp = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Bitmap" );
2797         wxToolBarToolBase *    THIS = (wxToolBarToolBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarToolBase" );
2798     THIS->SetDisabledBitmap( *bmp );
2799     }
2800     XSRETURN_EMPTY;
2801 }
2802
2803
2804 XS(XS_Wx__ToolBarToolBase_SetLabel); /* prototype to pass -Wmissing-prototypes */
2805 XS(XS_Wx__ToolBarToolBase_SetLabel)
2806 {
2807 #ifdef dVAR
2808     dVAR; dXSARGS;
2809 #else
2810     dXSARGS;
2811 #endif
2812     if (items != 2)
2813        croak_xs_usage(cv,  "THIS, label");
2814     {
2815         wxString        label;
2816         wxToolBarToolBase *    THIS = (wxToolBarToolBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarToolBase" );
2817
2818     WXSTRING_INPUT( label, wxString, ST(1) );
2819
2820         THIS->SetLabel(label);
2821     }
2822     XSRETURN_EMPTY;
2823 }
2824
2825
2826 XS(XS_Wx__ToolBarToolBase_SetBitmap1); /* prototype to pass -Wmissing-prototypes */
2827 XS(XS_Wx__ToolBarToolBase_SetBitmap1)
2828 {
2829 #ifdef dVAR
2830     dVAR; dXSARGS;
2831 #else
2832     dXSARGS;
2833 #endif
2834     if (items != 2)
2835        croak_xs_usage(cv,  "THIS, bmp");
2836     {
2837         wxBitmap*    bmp = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Bitmap" );
2838         wxToolBarToolBase *    THIS = (wxToolBarToolBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarToolBase" );
2839     THIS->SetNormalBitmap( *bmp );
2840     }
2841     XSRETURN_EMPTY;
2842 }
2843
2844
2845 XS(XS_Wx__ToolBarToolBase_SetBitmap2); /* prototype to pass -Wmissing-prototypes */
2846 XS(XS_Wx__ToolBarToolBase_SetBitmap2)
2847 {
2848 #ifdef dVAR
2849     dVAR; dXSARGS;
2850 #else
2851     dXSARGS;
2852 #endif
2853     if (items != 2)
2854        croak_xs_usage(cv,  "THIS, bmp");
2855     {
2856         wxBitmap*    bmp = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Bitmap" );
2857         wxToolBarToolBase *    THIS = (wxToolBarToolBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarToolBase" );
2858     THIS->SetDisabledBitmap( *bmp );
2859     }
2860     XSRETURN_EMPTY;
2861 }
2862
2863
2864 XS(XS_Wx__ToolBarToolBase_SetClientData); /* prototype to pass -Wmissing-prototypes */
2865 XS(XS_Wx__ToolBarToolBase_SetClientData)
2866 {
2867 #ifdef dVAR
2868     dVAR; dXSARGS;
2869 #else
2870     dXSARGS;
2871 #endif
2872     if (items < 1 || items > 2)
2873        croak_xs_usage(cv,  "THIS, data = 0");
2874     {
2875         Wx_UserDataO*   data;
2876         wxToolBarToolBase *    THIS = (wxToolBarToolBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarToolBase" );
2877
2878         if (items < 2)
2879             data = 0;
2880         else {
2881     if( SvOK( ST(1) ) )
2882     {
2883         data = new wxPliUserDataO( ST(1) );
2884     }
2885     else
2886         data = 0;
2887         }
2888
2889         THIS->SetClientData(data);
2890     }
2891     XSRETURN_EMPTY;
2892 }
2893
2894 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
2895 #define XSubPPtmpAAAL 1
2896
2897
2898 XS(XS_Wx__ToolBarToolBase_SetDropdownMenu); /* prototype to pass -Wmissing-prototypes */
2899 XS(XS_Wx__ToolBarToolBase_SetDropdownMenu)
2900 {
2901 #ifdef dVAR
2902     dVAR; dXSARGS;
2903 #else
2904     dXSARGS;
2905 #endif
2906     if (items != 2)
2907        croak_xs_usage(cv,  "THIS, menu");
2908     {
2909         wxMenu*    menu = (wxMenu *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Menu" );
2910         wxToolBarToolBase *    THIS = (wxToolBarToolBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarToolBase" );
2911
2912         THIS->SetDropdownMenu(menu);
2913     }
2914     XSRETURN_EMPTY;
2915 }
2916
2917
2918 XS(XS_Wx__ToolBarToolBase_GetDropdownMenu); /* prototype to pass -Wmissing-prototypes */
2919 XS(XS_Wx__ToolBarToolBase_GetDropdownMenu)
2920 {
2921 #ifdef dVAR
2922     dVAR; dXSARGS;
2923 #else
2924     dXSARGS;
2925 #endif
2926     if (items != 1)
2927        croak_xs_usage(cv,  "THIS");
2928     {
2929         wxToolBarToolBase *    THIS = (wxToolBarToolBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarToolBase" );
2930         wxMenu *        RETVAL;
2931
2932         RETVAL = THIS->GetDropdownMenu();
2933         ST(0) = sv_newmortal();
2934     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
2935
2936     }
2937     XSRETURN(1);
2938 }
2939
2940 #endif
2941
2942 XS(XS_Wx__ToolBarBase_Destroy); /* prototype to pass -Wmissing-prototypes */
2943 XS(XS_Wx__ToolBarBase_Destroy)
2944 {
2945 #ifdef dVAR
2946     dVAR; dXSARGS;
2947 #else
2948     dXSARGS;
2949 #endif
2950     if (items != 1)
2951        croak_xs_usage(cv,  "THIS");
2952     {
2953         wxToolBarBase *    THIS = (wxToolBarBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarBase" );
2954     delete THIS;
2955     }
2956     XSRETURN_EMPTY;
2957 }
2958
2959
2960 XS(XS_Wx__ToolBarBase_AddControl); /* prototype to pass -Wmissing-prototypes */
2961 XS(XS_Wx__ToolBarBase_AddControl)
2962 {
2963 #ifdef dVAR
2964     dVAR; dXSARGS;
2965 #else
2966     dXSARGS;
2967 #endif
2968     if (items != 2)
2969        croak_xs_usage(cv,  "THIS, control");
2970     {
2971         wxControl*    control = (wxControl *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Control" );
2972         wxToolBarBase *    THIS = (wxToolBarBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarBase" );
2973         bool    RETVAL;
2974
2975         RETVAL = THIS->AddControl(control);
2976         ST(0) = boolSV(RETVAL);
2977         sv_2mortal(ST(0));
2978     }
2979     XSRETURN(1);
2980 }
2981
2982
2983 XS(XS_Wx__ToolBarBase_AddSeparator); /* prototype to pass -Wmissing-prototypes */
2984 XS(XS_Wx__ToolBarBase_AddSeparator)
2985 {
2986 #ifdef dVAR
2987     dVAR; dXSARGS;
2988 #else
2989     dXSARGS;
2990 #endif
2991     if (items != 1)
2992        croak_xs_usage(cv,  "THIS");
2993     {
2994         wxToolBar *    THIS = (wxToolBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBar" );
2995
2996         THIS->AddSeparator();
2997     }
2998     XSRETURN_EMPTY;
2999 }
3000
3001
3002 XS(XS_Wx__ToolBarBase_AddTool); /* prototype to pass -Wmissing-prototypes */
3003 XS(XS_Wx__ToolBarBase_AddTool)
3004 {
3005 #ifdef dVAR
3006     dVAR; dXSARGS;
3007 #else
3008     dXSARGS;
3009 #endif
3010     if (items < 1)
3011        croak_xs_usage(cv,  "THIS, ...");
3012     PERL_UNUSED_VAR(ax); /* -Wall */
3013     SP -= items;
3014     {
3015         wxToolBarBase *    THIS = (wxToolBarBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarBase" );
3016     BEGIN_OVERLOAD()
3017         MATCH_REDISP_COUNT_ALLOWMORE( wxPliOvl_n_wbmp_wbmp_b_s_s_s,
3018                                       AddToolLong, 3 )
3019         MATCH_REDISP_COUNT_ALLOWMORE( wxPliOvl_n_wbmp_s_s, AddToolShort, 2 )
3020         MATCH_REDISP_COUNT_ALLOWMORE( wxPliOvl_n_s_wbmp_wbmp_n_s_s_s,
3021                                       AddToolNewLong, 3 )
3022         MATCH_REDISP_COUNT_ALLOWMORE( wxPliOvl_n_s_wbmp_s_n,
3023                                       AddToolNewShort, 3 )
3024     END_OVERLOAD( Wx::ToolBarBase::AddTool )
3025         PUTBACK;
3026         return;
3027     }
3028 }
3029
3030
3031 XS(XS_Wx__ToolBarBase_AddToolShort); /* prototype to pass -Wmissing-prototypes */
3032 XS(XS_Wx__ToolBarBase_AddToolShort)
3033 {
3034 #ifdef dVAR
3035     dVAR; dXSARGS;
3036 #else
3037     dXSARGS;
3038 #endif
3039     if (items < 3 || items > 5)
3040        croak_xs_usage(cv,  "THIS, toolId, bitmap1, shortHelp = wxEmptyString, longHelp = wxEmptyString");
3041     {
3042         int     toolId = (int)SvIV(ST(1));
3043         wxBitmap*    bitmap1 = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Bitmap" );
3044         wxString        shortHelp;
3045         wxString        longHelp;
3046         wxToolBarBase *    THIS = (wxToolBarBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarBase" );
3047         wxToolBarToolBase *     RETVAL;
3048
3049         if (items < 4)
3050             shortHelp = wxEmptyString;
3051         else {
3052     WXSTRING_INPUT( shortHelp, wxString, ST(3) );
3053         }
3054
3055         if (items < 5)
3056             longHelp = wxEmptyString;
3057         else {
3058     WXSTRING_INPUT( longHelp, wxString, ST(4) );
3059         }
3060 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
3061     RETVAL = THIS->AddTool( toolId, wxEmptyString, *bitmap1, wxNullBitmap,
3062                             wxITEM_NORMAL, shortHelp, longHelp );
3063 #else
3064     RETVAL = THIS->AddTool( toolId, *bitmap1, shortHelp, longHelp );
3065 #endif
3066         ST(0) = sv_newmortal();
3067     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::ToolBarToolBase" );
3068
3069     }
3070     XSRETURN(1);
3071 }
3072
3073
3074 XS(XS_Wx__ToolBarBase_AddToolLong); /* prototype to pass -Wmissing-prototypes */
3075 XS(XS_Wx__ToolBarBase_AddToolLong)
3076 {
3077 #ifdef dVAR
3078     dVAR; dXSARGS;
3079 #else
3080     dXSARGS;
3081 #endif
3082     if (items < 3 || items > 8)
3083        croak_xs_usage(cv,  "THIS, toolId, bitmap1, bitmap2 = (wxBitmap*)&wxNullBitmap, isToggle = false, clientData = 0, shortHelp = wxEmptyString, longHelp = wxEmptyString");
3084     {
3085         int     toolId = (int)SvIV(ST(1));
3086         wxBitmap*    bitmap1 = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Bitmap" );
3087         wxBitmap*       bitmap2;
3088         bool    isToggle;
3089         wxPliUserDataO* clientData;
3090         wxString        shortHelp;
3091         wxString        longHelp;
3092         wxToolBarBase *    THIS = (wxToolBarBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarBase" );
3093         wxToolBarToolBase *     RETVAL;
3094
3095         if (items < 4)
3096             bitmap2 = (wxBitmap*)&wxNullBitmap;
3097         else {
3098     bitmap2 = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::Bitmap" );
3099         }
3100
3101         if (items < 5)
3102             isToggle = false;
3103         else {
3104             isToggle = (bool)SvTRUE(ST(4));
3105         }
3106
3107         if (items < 6)
3108             clientData = 0;
3109         else {
3110     if( SvOK( ST(5) ) )
3111     {
3112         clientData = new wxPliUserDataO( ST(5) );
3113     }
3114     else
3115         clientData = 0;
3116         }
3117
3118         if (items < 7)
3119             shortHelp = wxEmptyString;
3120         else {
3121     WXSTRING_INPUT( shortHelp, wxString, ST(6) );
3122         }
3123
3124         if (items < 8)
3125             longHelp = wxEmptyString;
3126         else {
3127     WXSTRING_INPUT( longHelp, wxString, ST(7) );
3128         }
3129 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
3130     RETVAL = THIS->AddTool( toolId, wxEmptyString, *bitmap1, *bitmap2,
3131                             isToggle ? wxITEM_CHECK : wxITEM_NORMAL,
3132                             shortHelp, longHelp );
3133     if( clientData )
3134       RETVAL->SetClientData( clientData );
3135 #else
3136     RETVAL = THIS->AddTool( toolId, *bitmap1, *bitmap2, isToggle,
3137         0, shortHelp, longHelp );
3138     if( clientData )
3139       RETVAL->SetClientData( clientData );
3140 #endif
3141         ST(0) = sv_newmortal();
3142     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::ToolBarToolBase" );
3143
3144     }
3145     XSRETURN(1);
3146 }
3147
3148
3149 XS(XS_Wx__ToolBarBase_AddToolNewLong); /* prototype to pass -Wmissing-prototypes */
3150 XS(XS_Wx__ToolBarBase_AddToolNewLong)
3151 {
3152 #ifdef dVAR
3153     dVAR; dXSARGS;
3154 #else
3155     dXSARGS;
3156 #endif
3157     if (items < 4 || items > 9)
3158        croak_xs_usage(cv,  "THIS, toolId, label, bitmap1, bitmap2 = (wxBitmap*)&wxNullBitmap, kind = wxITEM_NORMAL, shortHelp = wxEmptyString, longHelp = wxEmptyString, clientData = 0");
3159     {
3160         int     toolId = (int)SvIV(ST(1));
3161         wxString        label;
3162         wxBitmap*    bitmap1 = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::Bitmap" );
3163         wxBitmap*       bitmap2;
3164         wxItemKind      kind;
3165         wxString        shortHelp;
3166         wxString        longHelp;
3167         wxPliUserDataO* clientData;
3168         wxToolBarBase *    THIS = (wxToolBarBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarBase" );
3169         wxToolBarToolBase *     RETVAL;
3170
3171     WXSTRING_INPUT( label, wxString, ST(2) );
3172
3173         if (items < 5)
3174             bitmap2 = (wxBitmap*)&wxNullBitmap;
3175         else {
3176     bitmap2 = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(4), "Wx::Bitmap" );
3177         }
3178
3179         if (items < 6)
3180             kind = wxITEM_NORMAL;
3181         else {
3182             kind = (wxItemKind)SvIV(ST(5));
3183         }
3184
3185         if (items < 7)
3186             shortHelp = wxEmptyString;
3187         else {
3188     WXSTRING_INPUT( shortHelp, wxString, ST(6) );
3189         }
3190
3191         if (items < 8)
3192             longHelp = wxEmptyString;
3193         else {
3194     WXSTRING_INPUT( longHelp, wxString, ST(7) );
3195         }
3196
3197         if (items < 9)
3198             clientData = 0;
3199         else {
3200     if( SvOK( ST(8) ) )
3201     {
3202         clientData = new wxPliUserDataO( ST(8) );
3203     }
3204     else
3205         clientData = 0;
3206         }
3207     RETVAL = THIS->AddTool( toolId, label, *bitmap1, *bitmap2, kind,
3208                             shortHelp, longHelp );
3209     if( clientData )
3210         RETVAL->SetClientData( clientData );
3211         ST(0) = sv_newmortal();
3212     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::ToolBarToolBase" );
3213
3214     }
3215     XSRETURN(1);
3216 }
3217
3218
3219 XS(XS_Wx__ToolBarBase_AddToolNewShort); /* prototype to pass -Wmissing-prototypes */
3220 XS(XS_Wx__ToolBarBase_AddToolNewShort)
3221 {
3222 #ifdef dVAR
3223     dVAR; dXSARGS;
3224 #else
3225     dXSARGS;
3226 #endif
3227     if (items < 4 || items > 6)
3228        croak_xs_usage(cv,  "THIS, toolId, label, bitmap, shortHelp = wxEmptyString, kind = wxITEM_NORMAL");
3229     {
3230         int     toolId = (int)SvIV(ST(1));
3231         wxString        label;
3232         wxBitmap*    bitmap = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::Bitmap" );
3233         wxString        shortHelp;
3234         wxItemKind      kind;
3235         wxToolBarBase *    THIS = (wxToolBarBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarBase" );
3236         wxToolBarToolBase *     RETVAL;
3237
3238     WXSTRING_INPUT( label, wxString, ST(2) );
3239
3240         if (items < 5)
3241             shortHelp = wxEmptyString;
3242         else {
3243     WXSTRING_INPUT( shortHelp, wxString, ST(4) );
3244         }
3245
3246         if (items < 6)
3247             kind = wxITEM_NORMAL;
3248         else {
3249             kind = (wxItemKind)SvIV(ST(5));
3250         }
3251     RETVAL = THIS->AddTool( toolId, label, *bitmap, shortHelp, kind );
3252         ST(0) = sv_newmortal();
3253     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::ToolBarToolBase" );
3254
3255     }
3256     XSRETURN(1);
3257 }
3258
3259
3260 XS(XS_Wx__ToolBarBase_AddCheckTool); /* prototype to pass -Wmissing-prototypes */
3261 XS(XS_Wx__ToolBarBase_AddCheckTool)
3262 {
3263 #ifdef dVAR
3264     dVAR; dXSARGS;
3265 #else
3266     dXSARGS;
3267 #endif
3268     if (items < 5 || items > 8)
3269        croak_xs_usage(cv,  "THIS, toolId, label, bitmap1, bitmap2, shortHelpString = wxEmptyString, longHelpString = wxEmptyString, clientData = NULL");
3270     {
3271         int     toolId = (int)SvIV(ST(1));
3272         wxString        label;
3273         wxBitmap*    bitmap1 = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::Bitmap" );
3274         wxBitmap*    bitmap2 = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(4), "Wx::Bitmap" );
3275         wxString        shortHelpString;
3276         wxString        longHelpString;
3277         wxPliUserDataO* clientData;
3278         wxToolBarBase *    THIS = (wxToolBarBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarBase" );
3279         wxToolBarToolBase *     RETVAL;
3280
3281     WXSTRING_INPUT( label, wxString, ST(2) );
3282
3283         if (items < 6)
3284             shortHelpString = wxEmptyString;
3285         else {
3286     WXSTRING_INPUT( shortHelpString, wxString, ST(5) );
3287         }
3288
3289         if (items < 7)
3290             longHelpString = wxEmptyString;
3291         else {
3292     WXSTRING_INPUT( longHelpString, wxString, ST(6) );
3293         }
3294
3295         if (items < 8)
3296             clientData = NULL;
3297         else {
3298     if( SvOK( ST(7) ) )
3299     {
3300         clientData = new wxPliUserDataO( ST(7) );
3301     }
3302     else
3303         clientData = 0;
3304         }
3305
3306         RETVAL = THIS->AddCheckTool(toolId, label, *bitmap1, *bitmap2, shortHelpString, longHelpString, clientData);
3307         ST(0) = sv_newmortal();
3308     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::ToolBarToolBase" );
3309
3310     }
3311     XSRETURN(1);
3312 }
3313
3314
3315 XS(XS_Wx__ToolBarBase_AddRadioTool); /* prototype to pass -Wmissing-prototypes */
3316 XS(XS_Wx__ToolBarBase_AddRadioTool)
3317 {
3318 #ifdef dVAR
3319     dVAR; dXSARGS;
3320 #else
3321     dXSARGS;
3322 #endif
3323     if (items < 5 || items > 8)
3324        croak_xs_usage(cv,  "THIS, toolId, label, bitmap1, bitmap2, shortHelpString = wxEmptyString, longHelpString = wxEmptyString, clientData = NULL");
3325     {
3326         int     toolId = (int)SvIV(ST(1));
3327         wxString        label;
3328         wxBitmap*    bitmap1 = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::Bitmap" );
3329         wxBitmap*    bitmap2 = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(4), "Wx::Bitmap" );
3330         wxString        shortHelpString;
3331         wxString        longHelpString;
3332         wxPliUserDataO* clientData;
3333         wxToolBarBase *    THIS = (wxToolBarBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarBase" );
3334         wxToolBarToolBase *     RETVAL;
3335
3336     WXSTRING_INPUT( label, wxString, ST(2) );
3337
3338         if (items < 6)
3339             shortHelpString = wxEmptyString;
3340         else {
3341     WXSTRING_INPUT( shortHelpString, wxString, ST(5) );
3342         }
3343
3344         if (items < 7)
3345             longHelpString = wxEmptyString;
3346         else {
3347     WXSTRING_INPUT( longHelpString, wxString, ST(6) );
3348         }
3349
3350         if (items < 8)
3351             clientData = NULL;
3352         else {
3353     if( SvOK( ST(7) ) )
3354     {
3355         clientData = new wxPliUserDataO( ST(7) );
3356     }
3357     else
3358         clientData = 0;
3359         }
3360
3361         RETVAL = THIS->AddRadioTool(toolId, label, *bitmap1, *bitmap2, shortHelpString, longHelpString, clientData);
3362         ST(0) = sv_newmortal();
3363     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::ToolBarToolBase" );
3364
3365     }
3366     XSRETURN(1);
3367 }
3368
3369
3370 XS(XS_Wx__ToolBarBase_DeleteTool); /* prototype to pass -Wmissing-prototypes */
3371 XS(XS_Wx__ToolBarBase_DeleteTool)
3372 {
3373 #ifdef dVAR
3374     dVAR; dXSARGS;
3375 #else
3376     dXSARGS;
3377 #endif
3378     if (items != 2)
3379        croak_xs_usage(cv,  "THIS, toolId");
3380     {
3381         int     toolId = (int)SvIV(ST(1));
3382         wxToolBarBase *    THIS = (wxToolBarBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarBase" );
3383         bool    RETVAL;
3384
3385         RETVAL = THIS->DeleteTool(toolId);
3386         ST(0) = boolSV(RETVAL);
3387         sv_2mortal(ST(0));
3388     }
3389     XSRETURN(1);
3390 }
3391
3392
3393 XS(XS_Wx__ToolBarBase_DeleteToolByPos); /* prototype to pass -Wmissing-prototypes */
3394 XS(XS_Wx__ToolBarBase_DeleteToolByPos)
3395 {
3396 #ifdef dVAR
3397     dVAR; dXSARGS;
3398 #else
3399     dXSARGS;
3400 #endif
3401     if (items != 2)
3402        croak_xs_usage(cv,  "THIS, pos");
3403     {
3404         size_t    pos = (size_t)SvUV( ST(1) );
3405         wxToolBarBase *    THIS = (wxToolBarBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarBase" );
3406         bool    RETVAL;
3407
3408         RETVAL = THIS->DeleteToolByPos(pos);
3409         ST(0) = boolSV(RETVAL);
3410         sv_2mortal(ST(0));
3411     }
3412     XSRETURN(1);
3413 }
3414
3415
3416 XS(XS_Wx__ToolBarBase_EnableTool); /* prototype to pass -Wmissing-prototypes */
3417 XS(XS_Wx__ToolBarBase_EnableTool)
3418 {
3419 #ifdef dVAR
3420     dVAR; dXSARGS;
3421 #else
3422     dXSARGS;
3423 #endif
3424     if (items != 3)
3425        croak_xs_usage(cv,  "THIS, toolId, enable");
3426     {
3427         int     toolId = (int)SvIV(ST(1));
3428         bool    enable = (bool)SvTRUE(ST(2));
3429         wxToolBarBase *    THIS = (wxToolBarBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarBase" );
3430
3431         THIS->EnableTool(toolId, enable);
3432     }
3433     XSRETURN_EMPTY;
3434 }
3435
3436 #if WXPERL_W_VERSION_GE( 2, 5, 1 )
3437 #define XSubPPtmpAAAM 1
3438
3439
3440 XS(XS_Wx__ToolBarBase_FindById); /* prototype to pass -Wmissing-prototypes */
3441 XS(XS_Wx__ToolBarBase_FindById)
3442 {
3443 #ifdef dVAR
3444     dVAR; dXSARGS;
3445 #else
3446     dXSARGS;
3447 #endif
3448     if (items != 2)
3449        croak_xs_usage(cv,  "THIS, toolid");
3450     {
3451         int     toolid = (int)SvIV(ST(1));
3452         wxToolBarBase *    THIS = (wxToolBarBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarBase" );
3453         wxToolBarToolBase *     RETVAL;
3454
3455         RETVAL = THIS->FindById(toolid);
3456         ST(0) = sv_newmortal();
3457     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::ToolBarToolBase" );
3458
3459     }
3460     XSRETURN(1);
3461 }
3462
3463 #endif
3464
3465 XS(XS_Wx__ToolBarBase_FindControl); /* prototype to pass -Wmissing-prototypes */
3466 XS(XS_Wx__ToolBarBase_FindControl)
3467 {
3468 #ifdef dVAR
3469     dVAR; dXSARGS;
3470 #else
3471     dXSARGS;
3472 #endif
3473     if (items != 2)
3474        croak_xs_usage(cv,  "THIS, toolid");
3475     {
3476         int     toolid = (int)SvIV(ST(1));
3477         wxToolBarBase *    THIS = (wxToolBarBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarBase" );
3478         wxControl *     RETVAL;
3479
3480         RETVAL = THIS->FindControl(toolid);
3481         ST(0) = sv_newmortal();
3482     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
3483
3484     }
3485     XSRETURN(1);
3486 }
3487
3488
3489 XS(XS_Wx__ToolBarBase_FindToolForPosition); /* prototype to pass -Wmissing-prototypes */
3490 XS(XS_Wx__ToolBarBase_FindToolForPosition)
3491 {
3492 #ifdef dVAR
3493     dVAR; dXSARGS;
3494 #else
3495     dXSARGS;
3496 #endif
3497     if (items != 3)
3498        croak_xs_usage(cv,  "THIS, x, y");
3499     {
3500         int     x = (int)SvIV(ST(1));
3501         int     y = (int)SvIV(ST(2));
3502         wxToolBarBase *    THIS = (wxToolBarBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarBase" );
3503         wxToolBarToolBase *     RETVAL;
3504
3505         RETVAL = THIS->FindToolForPosition(x, y);
3506         ST(0) = sv_newmortal();
3507     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::ToolBarToolBase" );
3508
3509     }
3510     XSRETURN(1);
3511 }
3512
3513
3514 XS(XS_Wx__ToolBarBase_GetMargins); /* prototype to pass -Wmissing-prototypes */
3515 XS(XS_Wx__ToolBarBase_GetMargins)
3516 {
3517 #ifdef dVAR
3518     dVAR; dXSARGS;
3519 #else
3520     dXSARGS;
3521 #endif
3522     if (items != 1)
3523        croak_xs_usage(cv,  "THIS");
3524     {
3525         wxToolBarBase *    THIS = (wxToolBarBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarBase" );
3526         wxSize *        RETVAL;
3527     RETVAL = new wxSize( THIS->GetMargins() );
3528         ST(0) = sv_newmortal();
3529     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Size" );
3530     wxPli_thread_sv_register( aTHX_ "Wx::Size", RETVAL, ST(0) );
3531
3532     }
3533     XSRETURN(1);
3534 }
3535
3536
3537 XS(XS_Wx__ToolBarBase_GetMaxRows); /* prototype to pass -Wmissing-prototypes */
3538 XS(XS_Wx__ToolBarBase_GetMaxRows)
3539 {
3540 #ifdef dVAR
3541     dVAR; dXSARGS;
3542 #else
3543     dXSARGS;
3544 #endif
3545     if (items != 1)
3546        croak_xs_usage(cv,  "THIS");
3547     {
3548         wxToolBarBase *    THIS = (wxToolBarBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarBase" );
3549         int     RETVAL;
3550         dXSTARG;
3551
3552         RETVAL = THIS->GetMaxRows();
3553         XSprePUSH; PUSHi((IV)RETVAL);
3554     }
3555     XSRETURN(1);
3556 }
3557
3558
3559 XS(XS_Wx__ToolBarBase_GetMaxCols); /* prototype to pass -Wmissing-prototypes */
3560 XS(XS_Wx__ToolBarBase_GetMaxCols)
3561 {
3562 #ifdef dVAR
3563     dVAR; dXSARGS;
3564 #else
3565     dXSARGS;
3566 #endif
3567     if (items != 1)
3568        croak_xs_usage(cv,  "THIS");
3569     {
3570         wxToolBarBase *    THIS = (wxToolBarBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarBase" );
3571         int     RETVAL;
3572         dXSTARG;
3573
3574         RETVAL = THIS->GetMaxCols();
3575         XSprePUSH; PUSHi((IV)RETVAL);
3576     }
3577     XSRETURN(1);
3578 }
3579
3580
3581 XS(XS_Wx__ToolBarBase_GetToolSize); /* prototype to pass -Wmissing-prototypes */
3582 XS(XS_Wx__ToolBarBase_GetToolSize)
3583 {
3584 #ifdef dVAR
3585     dVAR; dXSARGS;
3586 #else
3587     dXSARGS;
3588 #endif
3589     if (items != 1)
3590        croak_xs_usage(cv,  "THIS");
3591     {
3592         wxToolBarBase *    THIS = (wxToolBarBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarBase" );
3593         wxSize *        RETVAL;
3594     RETVAL = new wxSize( THIS->GetToolSize() );
3595         ST(0) = sv_newmortal();
3596     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Size" );
3597     wxPli_thread_sv_register( aTHX_ "Wx::Size", RETVAL, ST(0) );
3598
3599     }
3600     XSRETURN(1);
3601 }
3602
3603
3604 XS(XS_Wx__ToolBarBase_GetToolBitmapSize); /* prototype to pass -Wmissing-prototypes */
3605 XS(XS_Wx__ToolBarBase_GetToolBitmapSize)
3606 {
3607 #ifdef dVAR
3608     dVAR; dXSARGS;
3609 #else
3610     dXSARGS;
3611 #endif
3612     if (items != 1)
3613        croak_xs_usage(cv,  "THIS");
3614     {
3615         wxToolBarBase *    THIS = (wxToolBarBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarBase" );
3616         wxSize *        RETVAL;
3617     RETVAL = new wxSize( THIS->GetToolBitmapSize() );
3618         ST(0) = sv_newmortal();
3619     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Size" );
3620     wxPli_thread_sv_register( aTHX_ "Wx::Size", RETVAL, ST(0) );
3621
3622     }
3623     XSRETURN(1);
3624 }
3625
3626
3627 XS(XS_Wx__ToolBarBase_GetToolClientData); /* prototype to pass -Wmissing-prototypes */
3628 XS(XS_Wx__ToolBarBase_GetToolClientData)
3629 {
3630 #ifdef dVAR
3631     dVAR; dXSARGS;
3632 #else
3633     dXSARGS;
3634 #endif
3635     if (items != 2)
3636        croak_xs_usage(cv,  "THIS, toolId");
3637     {
3638         int     toolId = (int)SvIV(ST(1));
3639         wxToolBar *    THIS = (wxToolBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBar" );
3640         Wx_UserDataO *  RETVAL;
3641     RETVAL = (Wx_UserDataO*) THIS->GetToolClientData( toolId );
3642     ST(0) = ( RETVAL == 0 ) ? &PL_sv_undef : RETVAL->GetData();
3643     SvREFCNT_inc( ST(0) ); // xsubpp mortalizes it...
3644
3645         sv_2mortal(ST(0));
3646     }
3647     XSRETURN(1);
3648 }
3649
3650
3651 XS(XS_Wx__ToolBarBase_GetToolEnabled); /* prototype to pass -Wmissing-prototypes */
3652 XS(XS_Wx__ToolBarBase_GetToolEnabled)
3653 {
3654 #ifdef dVAR
3655     dVAR; dXSARGS;
3656 #else
3657     dXSARGS;
3658 #endif
3659     if (items != 2)
3660        croak_xs_usage(cv,  "THIS, toolId");
3661     {
3662         int     toolId = (int)SvIV(ST(1));
3663         wxToolBarBase *    THIS = (wxToolBarBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarBase" );
3664         bool    RETVAL;
3665
3666         RETVAL = THIS->GetToolEnabled(toolId);
3667         ST(0) = boolSV(RETVAL);
3668         sv_2mortal(ST(0));
3669     }
3670     XSRETURN(1);
3671 }
3672
3673
3674 XS(XS_Wx__ToolBarBase_GetToolLongHelp); /* prototype to pass -Wmissing-prototypes */
3675 XS(XS_Wx__ToolBarBase_GetToolLongHelp)
3676 {
3677 #ifdef dVAR
3678     dVAR; dXSARGS;
3679 #else
3680     dXSARGS;
3681 #endif
3682     if (items != 2)
3683        croak_xs_usage(cv,  "THIS, toolId");
3684     {
3685         int     toolId = (int)SvIV(ST(1));
3686         wxToolBarBase *    THIS = (wxToolBarBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarBase" );
3687         wxString        RETVAL;
3688
3689         RETVAL = THIS->GetToolLongHelp(toolId);
3690         ST(0) = sv_newmortal();
3691     WXSTRING_OUTPUT( RETVAL, ST(0) );
3692
3693     }
3694     XSRETURN(1);
3695 }
3696
3697
3698 XS(XS_Wx__ToolBarBase_GetToolPacking); /* prototype to pass -Wmissing-prototypes */
3699 XS(XS_Wx__ToolBarBase_GetToolPacking)
3700 {
3701 #ifdef dVAR
3702     dVAR; dXSARGS;
3703 #else
3704     dXSARGS;
3705 #endif
3706     if (items != 1)
3707        croak_xs_usage(cv,  "THIS");
3708     {
3709         wxToolBarBase *    THIS = (wxToolBarBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarBase" );
3710         int     RETVAL;
3711         dXSTARG;
3712
3713         RETVAL = THIS->GetToolPacking();
3714         XSprePUSH; PUSHi((IV)RETVAL);
3715     }
3716     XSRETURN(1);
3717 }
3718
3719
3720 XS(XS_Wx__ToolBarBase_GetToolSeparation); /* prototype to pass -Wmissing-prototypes */
3721 XS(XS_Wx__ToolBarBase_GetToolSeparation)
3722 {
3723 #ifdef dVAR
3724     dVAR; dXSARGS;
3725 #else
3726     dXSARGS;
3727 #endif
3728     if (items != 1)
3729        croak_xs_usage(cv,  "THIS");
3730     {
3731         wxToolBarBase *    THIS = (wxToolBarBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarBase" );
3732         int     RETVAL;
3733         dXSTARG;
3734
3735         RETVAL = THIS->GetToolSeparation();
3736         XSprePUSH; PUSHi((IV)RETVAL);
3737     }
3738     XSRETURN(1);
3739 }
3740
3741
3742 XS(XS_Wx__ToolBarBase_GetToolShortHelp); /* prototype to pass -Wmissing-prototypes */
3743 XS(XS_Wx__ToolBarBase_GetToolShortHelp)
3744 {
3745 #ifdef dVAR
3746     dVAR; dXSARGS;
3747 #else
3748     dXSARGS;
3749 #endif
3750     if (items != 2)
3751        croak_xs_usage(cv,  "THIS, toolId");
3752     {
3753         int     toolId = (int)SvIV(ST(1));
3754         wxToolBarBase *    THIS = (wxToolBarBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarBase" );
3755         wxString        RETVAL;
3756
3757         RETVAL = THIS->GetToolShortHelp(toolId);
3758         ST(0) = sv_newmortal();
3759     WXSTRING_OUTPUT( RETVAL, ST(0) );
3760
3761     }
3762     XSRETURN(1);
3763 }
3764
3765
3766 XS(XS_Wx__ToolBarBase_GetToolState); /* prototype to pass -Wmissing-prototypes */
3767 XS(XS_Wx__ToolBarBase_GetToolState)
3768 {
3769 #ifdef dVAR
3770     dVAR; dXSARGS;
3771 #else
3772     dXSARGS;
3773 #endif
3774     if (items != 2)
3775        croak_xs_usage(cv,  "THIS, toolId");
3776     {
3777         int     toolId = (int)SvIV(ST(1));
3778         wxToolBarBase *    THIS = (wxToolBarBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarBase" );
3779         bool    RETVAL;
3780
3781         RETVAL = THIS->GetToolState(toolId);
3782         ST(0) = boolSV(RETVAL);
3783         sv_2mortal(ST(0));
3784     }
3785     XSRETURN(1);
3786 }
3787
3788
3789 XS(XS_Wx__ToolBarBase_InsertControl); /* prototype to pass -Wmissing-prototypes */
3790 XS(XS_Wx__ToolBarBase_InsertControl)
3791 {
3792 #ifdef dVAR
3793     dVAR; dXSARGS;
3794 #else
3795     dXSARGS;
3796 #endif
3797     if (items != 3)
3798        croak_xs_usage(cv,  "THIS, pos, control");
3799     {
3800         size_t    pos = (size_t)SvUV( ST(1) );
3801         wxControl*    control = (wxControl *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Control" );
3802         wxToolBarBase *    THIS = (wxToolBarBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarBase" );
3803         wxToolBarToolBase *     RETVAL;
3804
3805         RETVAL = THIS->InsertControl(pos, control);
3806         ST(0) = sv_newmortal();
3807     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::ToolBarToolBase" );
3808
3809     }
3810     XSRETURN(1);
3811 }
3812
3813
3814 XS(XS_Wx__ToolBarBase_InsertSeparator); /* prototype to pass -Wmissing-prototypes */
3815 XS(XS_Wx__ToolBarBase_InsertSeparator)
3816 {
3817 #ifdef dVAR
3818     dVAR; dXSARGS;
3819 #else
3820     dXSARGS;
3821 #endif
3822     if (items != 2)
3823        croak_xs_usage(cv,  "THIS, pos");
3824     {
3825         size_t    pos = (size_t)SvUV( ST(1) );
3826         wxToolBarBase *    THIS = (wxToolBarBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarBase" );
3827         wxToolBarToolBase *     RETVAL;
3828
3829         RETVAL = THIS->InsertSeparator(pos);
3830         ST(0) = sv_newmortal();
3831     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::ToolBarToolBase" );
3832
3833     }
3834     XSRETURN(1);
3835 }
3836
3837
3838 XS(XS_Wx__ToolBarBase_InsertTool); /* prototype to pass -Wmissing-prototypes */
3839 XS(XS_Wx__ToolBarBase_InsertTool)
3840 {
3841 #ifdef dVAR
3842     dVAR; dXSARGS;
3843 #else
3844     dXSARGS;
3845 #endif
3846     if (items < 1)
3847        croak_xs_usage(cv,  "THIS, ...");
3848     PERL_UNUSED_VAR(ax); /* -Wall */
3849     SP -= items;
3850     {
3851         wxToolBarBase *    THIS = (wxToolBarBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarBase" );
3852     BEGIN_OVERLOAD()
3853         MATCH_REDISP_COUNT_ALLOWMORE( wxPliOvl_n_n_wbmp_wbmp_b_s_s_s,
3854                                       InsertToolLong, 3 )
3855         MATCH_REDISP_COUNT_ALLOWMORE( wxPliOvl_n_n_s_wbmp_wbmp_b_s_s_s,
3856                                       InsertToolNewLong, 4 )
3857     END_OVERLOAD( Wx::ToolBarBase::InsertTool )
3858         PUTBACK;
3859         return;
3860     }
3861 }
3862
3863
3864 XS(XS_Wx__ToolBarBase_InsertToolLong); /* prototype to pass -Wmissing-prototypes */
3865 XS(XS_Wx__ToolBarBase_InsertToolLong)
3866 {
3867 #ifdef dVAR
3868     dVAR; dXSARGS;
3869 #else
3870     dXSARGS;
3871 #endif
3872     if (items < 4 || items > 9)
3873        croak_xs_usage(cv,  "THIS, pos, toolId, bitmap1, bitmap2 = (wxBitmap*)&wxNullBitmap, isToggle = false, clientData = 0, shortHelp = wxEmptyString, longHelp = wxEmptyString");
3874     {
3875         size_t    pos = (size_t)SvUV( ST(1) );
3876         int     toolId = (int)SvIV(ST(2));
3877         wxBitmap*    bitmap1 = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::Bitmap" );
3878         wxBitmap*       bitmap2;
3879         bool    isToggle;
3880         Wx_UserDataO*   clientData;
3881         wxString        shortHelp;
3882         wxString        longHelp;
3883         wxToolBarBase *    THIS = (wxToolBarBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarBase" );
3884         wxToolBarToolBase *     RETVAL;
3885
3886         if (items < 5)
3887             bitmap2 = (wxBitmap*)&wxNullBitmap;
3888         else {
3889     bitmap2 = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(4), "Wx::Bitmap" );
3890         }
3891
3892         if (items < 6)
3893             isToggle = false;
3894         else {
3895             isToggle = (bool)SvTRUE(ST(5));
3896         }
3897
3898         if (items < 7)
3899             clientData = 0;
3900         else {
3901     if( SvOK( ST(6) ) )
3902     {
3903         clientData = new wxPliUserDataO( ST(6) );
3904     }
3905     else
3906         clientData = 0;
3907         }
3908
3909         if (items < 8)
3910             shortHelp = wxEmptyString;
3911         else {
3912     WXSTRING_INPUT( shortHelp, wxString, ST(7) );
3913         }
3914
3915         if (items < 9)
3916             longHelp = wxEmptyString;
3917         else {
3918     WXSTRING_INPUT( longHelp, wxString, ST(8) );
3919         }
3920 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
3921     RETVAL = THIS->InsertTool( pos, toolId, wxEmptyString, *bitmap1, *bitmap2,
3922                                isToggle ? wxITEM_CHECK : wxITEM_NORMAL,
3923                                shortHelp, longHelp );
3924     if( clientData )
3925         THIS->SetClientData( clientData );
3926 #else
3927     RETVAL = THIS->InsertTool( pos, toolId, *bitmap1, *bitmap2, isToggle,
3928         0, shortHelp, longHelp );
3929     if( clientData )
3930         THIS->SetClientData( clientData );
3931 #endif
3932         ST(0) = sv_newmortal();
3933     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::ToolBarToolBase" );
3934
3935     }
3936     XSRETURN(1);
3937 }
3938
3939 #if WXPERL_W_VERSION_GE( 2, 5, 3 )
3940 #define XSubPPtmpAAAN 1
3941
3942
3943 XS(XS_Wx__ToolBarBase_InsertToolNewLong); /* prototype to pass -Wmissing-prototypes */
3944 XS(XS_Wx__ToolBarBase_InsertToolNewLong)
3945 {
3946 #ifdef dVAR
3947     dVAR; dXSARGS;
3948 #else
3949     dXSARGS;
3950 #endif
3951     if (items < 5 || items > 10)
3952        croak_xs_usage(cv,  "THIS, pos, toolId, label, bitmap1, bitmap2 = (wxBitmap*)&wxNullBitmap, kind = wxITEM_NORMAL, shortHelp = wxEmptyString, longHelp = wxEmptyString, clientData = 0");
3953     {
3954         size_t    pos = (size_t)SvUV( ST(1) );
3955         int     toolId = (int)SvIV(ST(2));
3956         wxString        label;
3957         wxBitmap*    bitmap1 = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(4), "Wx::Bitmap" );
3958         wxBitmap*       bitmap2;
3959         wxItemKind      kind;
3960         Wx_UserDataO*   clientData;
3961         wxString        shortHelp;
3962         wxString        longHelp;
3963         wxToolBarBase *    THIS = (wxToolBarBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarBase" );
3964         wxToolBarToolBase *     RETVAL;
3965
3966     WXSTRING_INPUT( label, wxString, ST(3) );
3967
3968         if (items < 6)
3969             bitmap2 = (wxBitmap*)&wxNullBitmap;
3970         else {
3971     bitmap2 = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(5), "Wx::Bitmap" );
3972         }
3973
3974         if (items < 7)
3975             kind = wxITEM_NORMAL;
3976         else {
3977             kind = (wxItemKind)SvIV(ST(6));
3978         }
3979
3980         if (items < 10)
3981             clientData = 0;
3982         else {
3983     if( SvOK( ST(9) ) )
3984     {
3985         clientData = new wxPliUserDataO( ST(9) );
3986     }
3987     else
3988         clientData = 0;
3989         }
3990
3991         if (items < 8)
3992             shortHelp = wxEmptyString;
3993         else {
3994     WXSTRING_INPUT( shortHelp, wxString, ST(7) );
3995         }
3996
3997         if (items < 9)
3998             longHelp = wxEmptyString;
3999         else {
4000     WXSTRING_INPUT( longHelp, wxString, ST(8) );
4001         }
4002     RETVAL = THIS->InsertTool( pos, toolId, label, *bitmap1,
4003         *bitmap2, kind, shortHelp, longHelp, 0 );
4004     if( clientData )
4005         THIS->SetClientData( clientData );
4006         ST(0) = sv_newmortal();
4007     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::ToolBarToolBase" );
4008
4009     }
4010     XSRETURN(1);
4011 }
4012
4013 #endif
4014
4015 XS(XS_Wx__ToolBarBase_ClearTools); /* prototype to pass -Wmissing-prototypes */
4016 XS(XS_Wx__ToolBarBase_ClearTools)
4017 {
4018 #ifdef dVAR
4019     dVAR; dXSARGS;
4020 #else
4021     dXSARGS;
4022 #endif
4023     if (items != 1)
4024        croak_xs_usage(cv,  "THIS");
4025     {
4026         wxToolBarBase *    THIS = (wxToolBarBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarBase" );
4027
4028         THIS->ClearTools();
4029     }
4030     XSRETURN_EMPTY;
4031 }
4032
4033
4034 XS(XS_Wx__ToolBarBase_GetToolsCount); /* prototype to pass -Wmissing-prototypes */
4035 XS(XS_Wx__ToolBarBase_GetToolsCount)
4036 {
4037 #ifdef dVAR
4038     dVAR; dXSARGS;
4039 #else
4040     dXSARGS;
4041 #endif
4042     if (items != 1)
4043        croak_xs_usage(cv,  "THIS");
4044     {
4045         wxToolBarBase *    THIS = (wxToolBarBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarBase" );
4046         int     RETVAL;
4047         dXSTARG;
4048
4049         RETVAL = THIS->GetToolsCount();
4050         XSprePUSH; PUSHi((IV)RETVAL);
4051     }
4052     XSRETURN(1);
4053 }
4054
4055
4056 XS(XS_Wx__ToolBarBase_GetToolPos); /* prototype to pass -Wmissing-prototypes */
4057 XS(XS_Wx__ToolBarBase_GetToolPos)
4058 {
4059 #ifdef dVAR
4060     dVAR; dXSARGS;
4061 #else
4062     dXSARGS;
4063 #endif
4064     if (items != 2)
4065        croak_xs_usage(cv,  "THIS, toolId");
4066     {
4067         int     toolId = (int)SvIV(ST(1));
4068         wxToolBarBase *    THIS = (wxToolBarBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarBase" );
4069         int     RETVAL;
4070         dXSTARG;
4071
4072         RETVAL = THIS->GetToolPos(toolId);
4073         XSprePUSH; PUSHi((IV)RETVAL);
4074     }
4075     XSRETURN(1);
4076 }
4077
4078
4079 XS(XS_Wx__ToolBarBase_Realize); /* prototype to pass -Wmissing-prototypes */
4080 XS(XS_Wx__ToolBarBase_Realize)
4081 {
4082 #ifdef dVAR
4083     dVAR; dXSARGS;
4084 #else
4085     dXSARGS;
4086 #endif
4087     if (items != 1)
4088        croak_xs_usage(cv,  "THIS");
4089     {
4090         wxToolBarBase *    THIS = (wxToolBarBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarBase" );
4091         bool    RETVAL;
4092
4093         RETVAL = THIS->Realize();
4094         ST(0) = boolSV(RETVAL);
4095         sv_2mortal(ST(0));
4096     }
4097     XSRETURN(1);
4098 }
4099
4100
4101 XS(XS_Wx__ToolBarBase_RemoveTool); /* prototype to pass -Wmissing-prototypes */
4102 XS(XS_Wx__ToolBarBase_RemoveTool)
4103 {
4104 #ifdef dVAR
4105     dVAR; dXSARGS;
4106 #else
4107     dXSARGS;
4108 #endif
4109     if (items != 2)
4110        croak_xs_usage(cv,  "THIS, id");
4111     {
4112         int     id = (int)SvIV(ST(1));
4113         wxToolBarBase *    THIS = (wxToolBarBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarBase" );
4114         wxToolBarToolBase *     RETVAL;
4115
4116         RETVAL = THIS->RemoveTool(id);
4117         ST(0) = sv_newmortal();
4118     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::ToolBarToolBase" );
4119
4120     }
4121     XSRETURN(1);
4122 }
4123
4124
4125 XS(XS_Wx__ToolBarBase_SetMarginsSize); /* prototype to pass -Wmissing-prototypes */
4126 XS(XS_Wx__ToolBarBase_SetMarginsSize)
4127 {
4128 #ifdef dVAR
4129     dVAR; dXSARGS;
4130 #else
4131     dXSARGS;
4132 #endif
4133     if (items != 2)
4134        croak_xs_usage(cv,  "THIS, size");
4135     {
4136         wxSize    size = wxPli_sv_2_wxsize( aTHX_ ST(1) );
4137         wxToolBarBase *    THIS = (wxToolBarBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarBase" );
4138     THIS->SetMargins( size );
4139     }
4140     XSRETURN_EMPTY;
4141 }
4142
4143
4144 XS(XS_Wx__ToolBarBase_SetMarginsXY); /* prototype to pass -Wmissing-prototypes */
4145 XS(XS_Wx__ToolBarBase_SetMarginsXY)
4146 {
4147 #ifdef dVAR
4148     dVAR; dXSARGS;
4149 #else
4150     dXSARGS;
4151 #endif
4152     if (items != 3)
4153        croak_xs_usage(cv,  "THIS, x, y");
4154     {
4155         int     x = (int)SvIV(ST(1));
4156         int     y = (int)SvIV(ST(2));
4157         wxToolBarBase *    THIS = (wxToolBarBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarBase" );
4158     THIS->SetMargins( x, y );
4159     }
4160     XSRETURN_EMPTY;
4161 }
4162
4163
4164 XS(XS_Wx__ToolBarBase_SetMargins); /* prototype to pass -Wmissing-prototypes */
4165 XS(XS_Wx__ToolBarBase_SetMargins)
4166 {
4167 #ifdef dVAR
4168     dVAR; dXSARGS;
4169 #else
4170     dXSARGS;
4171 #endif
4172     if (items < 1)
4173        croak_xs_usage(cv,  "THIS, ...");
4174     PERL_UNUSED_VAR(ax); /* -Wall */
4175     SP -= items;
4176     {
4177         wxToolBarBase *    THIS = (wxToolBarBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarBase" );
4178     BEGIN_OVERLOAD()
4179         MATCH_REDISP( wxPliOvl_n_n, SetMarginsXY )
4180         MATCH_REDISP( wxPliOvl_wsiz, SetMarginsSize )
4181     END_OVERLOAD( Wx::ToolBarBase::SetMargins )
4182         PUTBACK;
4183         return;
4184     }
4185 }
4186
4187
4188 XS(XS_Wx__ToolBarBase_SetMaxRowsCols); /* prototype to pass -Wmissing-prototypes */
4189 XS(XS_Wx__ToolBarBase_SetMaxRowsCols)
4190 {
4191 #ifdef dVAR
4192     dVAR; dXSARGS;
4193 #else
4194     dXSARGS;
4195 #endif
4196     if (items != 3)
4197        croak_xs_usage(cv,  "THIS, mRows, mCols");
4198     {
4199         int     mRows = (int)SvIV(ST(1));
4200         int     mCols = (int)SvIV(ST(2));
4201         wxToolBarBase *    THIS = (wxToolBarBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarBase" );
4202
4203         THIS->SetMaxRowsCols(mRows, mCols);
4204     }
4205     XSRETURN_EMPTY;
4206 }
4207
4208
4209 XS(XS_Wx__ToolBarBase_SetRows); /* prototype to pass -Wmissing-prototypes */
4210 XS(XS_Wx__ToolBarBase_SetRows)
4211 {
4212 #ifdef dVAR
4213     dVAR; dXSARGS;
4214 #else
4215     dXSARGS;
4216 #endif
4217     if (items != 2)
4218        croak_xs_usage(cv,  "THIS, nRows");
4219     {
4220         int     nRows = (int)SvIV(ST(1));
4221         wxToolBarBase *    THIS = (wxToolBarBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarBase" );
4222
4223         THIS->SetRows(nRows);
4224     }
4225     XSRETURN_EMPTY;
4226 }
4227
4228
4229 XS(XS_Wx__ToolBarBase_SetToolBitmapSize); /* prototype to pass -Wmissing-prototypes */
4230 XS(XS_Wx__ToolBarBase_SetToolBitmapSize)
4231 {
4232 #ifdef dVAR
4233     dVAR; dXSARGS;
4234 #else
4235     dXSARGS;
4236 #endif
4237     if (items != 2)
4238        croak_xs_usage(cv,  "THIS, size");
4239     {
4240         wxSize    size = wxPli_sv_2_wxsize( aTHX_ ST(1) );
4241         wxToolBarBase *    THIS = (wxToolBarBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarBase" );
4242
4243         THIS->SetToolBitmapSize(size);
4244     }
4245     XSRETURN_EMPTY;
4246 }
4247
4248
4249 XS(XS_Wx__ToolBarBase_SetToolClientData); /* prototype to pass -Wmissing-prototypes */
4250 XS(XS_Wx__ToolBarBase_SetToolClientData)
4251 {
4252 #ifdef dVAR
4253     dVAR; dXSARGS;
4254 #else
4255     dXSARGS;
4256 #endif
4257     if (items != 3)
4258        croak_xs_usage(cv,  "THIS, id, data");
4259     {
4260         int     id = (int)SvIV(ST(1));
4261         Wx_UserDataO*   data;
4262         wxToolBarBase *    THIS = (wxToolBarBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarBase" );
4263
4264     if( SvOK( ST(2) ) )
4265     {
4266         data = new wxPliUserDataO( ST(2) );
4267     }
4268     else
4269         data = 0;
4270     delete THIS->GetToolClientData( id );
4271
4272     THIS->SetToolClientData( id, data );
4273     }
4274     XSRETURN_EMPTY;
4275 }
4276
4277
4278 XS(XS_Wx__ToolBarBase_SetToolLongHelp); /* prototype to pass -Wmissing-prototypes */
4279 XS(XS_Wx__ToolBarBase_SetToolLongHelp)
4280 {
4281 #ifdef dVAR
4282     dVAR; dXSARGS;
4283 #else
4284     dXSARGS;
4285 #endif
4286     if (items != 3)
4287        croak_xs_usage(cv,  "THIS, toolId, helpString");
4288     {
4289         int     toolId = (int)SvIV(ST(1));
4290         wxString        helpString;
4291         wxToolBarBase *    THIS = (wxToolBarBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarBase" );
4292
4293     WXSTRING_INPUT( helpString, wxString, ST(2) );
4294
4295         THIS->SetToolLongHelp(toolId, helpString);
4296     }
4297     XSRETURN_EMPTY;
4298 }
4299
4300
4301 XS(XS_Wx__ToolBarBase_SetToolPacking); /* prototype to pass -Wmissing-prototypes */
4302 XS(XS_Wx__ToolBarBase_SetToolPacking)
4303 {
4304 #ifdef dVAR
4305     dVAR; dXSARGS;
4306 #else
4307     dXSARGS;
4308 #endif
4309     if (items != 2)
4310        croak_xs_usage(cv,  "THIS, packing");
4311     {
4312         int     packing = (int)SvIV(ST(1));
4313         wxToolBarBase *    THIS = (wxToolBarBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarBase" );
4314
4315         THIS->SetToolPacking(packing);
4316     }
4317     XSRETURN_EMPTY;
4318 }
4319
4320
4321 XS(XS_Wx__ToolBarBase_SetToolShortHelp); /* prototype to pass -Wmissing-prototypes */
4322 XS(XS_Wx__ToolBarBase_SetToolShortHelp)
4323 {
4324 #ifdef dVAR
4325     dVAR; dXSARGS;
4326 #else
4327     dXSARGS;
4328 #endif
4329     if (items != 3)
4330        croak_xs_usage(cv,  "THIS, toolId, helpString");
4331     {
4332         int     toolId = (int)SvIV(ST(1));
4333         wxString        helpString;
4334         wxToolBarBase *    THIS = (wxToolBarBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarBase" );
4335
4336     WXSTRING_INPUT( helpString, wxString, ST(2) );
4337
4338         THIS->SetToolShortHelp(toolId, helpString);
4339     }
4340     XSRETURN_EMPTY;
4341 }
4342
4343
4344 XS(XS_Wx__ToolBarBase_SetToolSeparation); /* prototype to pass -Wmissing-prototypes */
4345 XS(XS_Wx__ToolBarBase_SetToolSeparation)
4346 {
4347 #ifdef dVAR
4348     dVAR; dXSARGS;
4349 #else
4350     dXSARGS;
4351 #endif
4352     if (items != 2)
4353        croak_xs_usage(cv,  "THIS, separation");
4354     {
4355         int     separation = (int)SvIV(ST(1));
4356         wxToolBarBase *    THIS = (wxToolBarBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarBase" );
4357
4358         THIS->SetToolSeparation(separation);
4359     }
4360     XSRETURN_EMPTY;
4361 }
4362
4363 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
4364 #define XSubPPtmpAAAO 1
4365
4366
4367 XS(XS_Wx__ToolBarBase_SetToolNormalBitmap); /* prototype to pass -Wmissing-prototypes */
4368 XS(XS_Wx__ToolBarBase_SetToolNormalBitmap)
4369 {
4370 #ifdef dVAR
4371     dVAR; dXSARGS;
4372 #else
4373     dXSARGS;
4374 #endif
4375     if (items != 3)
4376        croak_xs_usage(cv,  "THIS, id, bitmap");
4377     {
4378         int     id = (int)SvIV(ST(1));
4379         wxBitmap*    bitmap = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Bitmap" );
4380         wxToolBarBase *    THIS = (wxToolBarBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarBase" );
4381
4382         THIS->SetToolNormalBitmap(id, *bitmap);
4383     }
4384     XSRETURN_EMPTY;
4385 }
4386
4387
4388 XS(XS_Wx__ToolBarBase_SetToolDisabledBitmap); /* prototype to pass -Wmissing-prototypes */
4389 XS(XS_Wx__ToolBarBase_SetToolDisabledBitmap)
4390 {
4391 #ifdef dVAR
4392     dVAR; dXSARGS;
4393 #else
4394     dXSARGS;
4395 #endif
4396     if (items != 3)
4397        croak_xs_usage(cv,  "THIS, id, bitmap");
4398     {
4399         int     id = (int)SvIV(ST(1));
4400         wxBitmap*    bitmap = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Bitmap" );
4401         wxToolBarBase *    THIS = (wxToolBarBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarBase" );
4402
4403         THIS->SetToolDisabledBitmap(id, *bitmap);
4404     }
4405     XSRETURN_EMPTY;
4406 }
4407
4408 #endif
4409
4410 XS(XS_Wx__ToolBarBase_ToggleTool); /* prototype to pass -Wmissing-prototypes */
4411 XS(XS_Wx__ToolBarBase_ToggleTool)
4412 {
4413 #ifdef dVAR
4414     dVAR; dXSARGS;
4415 #else
4416     dXSARGS;
4417 #endif
4418     if (items != 3)
4419        croak_xs_usage(cv,  "THIS, toolId, toggle");
4420     {
4421         int     toolId = (int)SvIV(ST(1));
4422         bool    toggle = (bool)SvTRUE(ST(2));
4423         wxToolBarBase *    THIS = (wxToolBarBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarBase" );
4424
4425         THIS->ToggleTool(toolId, toggle);
4426     }
4427     XSRETURN_EMPTY;
4428 }
4429
4430 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
4431 #define XSubPPtmpAAAP 1
4432
4433
4434 XS(XS_Wx__ToolBarBase_SetDropdownMenu); /* prototype to pass -Wmissing-prototypes */
4435 XS(XS_Wx__ToolBarBase_SetDropdownMenu)
4436 {
4437 #ifdef dVAR
4438     dVAR; dXSARGS;
4439 #else
4440     dXSARGS;
4441 #endif
4442     if (items != 3)
4443        croak_xs_usage(cv,  "THIS, toolid, menu");
4444     {
4445         int     toolid = (int)SvIV(ST(1));
4446         wxMenu*    menu = (wxMenu *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Menu" );
4447         wxToolBarBase *    THIS = (wxToolBarBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBarBase" );
4448         bool    RETVAL;
4449
4450         RETVAL = THIS->SetDropdownMenu(toolid, menu);
4451         ST(0) = boolSV(RETVAL);
4452         sv_2mortal(ST(0));
4453     }
4454     XSRETURN(1);
4455 }
4456
4457 #endif
4458
4459 XS(XS_Wx__ToolBar_new); /* prototype to pass -Wmissing-prototypes */
4460 XS(XS_Wx__ToolBar_new)
4461 {
4462 #ifdef dVAR
4463     dVAR; dXSARGS;
4464 #else
4465     dXSARGS;
4466 #endif
4467     PERL_UNUSED_VAR(cv); /* -W */
4468     PERL_UNUSED_VAR(ax); /* -Wall */
4469     SP -= items;
4470     {
4471     BEGIN_OVERLOAD()
4472         MATCH_VOIDM_REDISP( newDefault )
4473         MATCH_ANY_REDISP( newFull )
4474     END_OVERLOAD( "Wx::ToolBar::new" )
4475         PUTBACK;
4476         return;
4477     }
4478 }
4479
4480
4481 XS(XS_Wx__ToolBar_newDefault); /* prototype to pass -Wmissing-prototypes */
4482 XS(XS_Wx__ToolBar_newDefault)
4483 {
4484 #ifdef dVAR
4485     dVAR; dXSARGS;
4486 #else
4487     dXSARGS;
4488 #endif
4489     if (items != 1)
4490        croak_xs_usage(cv,  "CLASS");
4491     {
4492         PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) );
4493         wxToolBar *     RETVAL;
4494     RETVAL = new wxToolBar();
4495     wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
4496         ST(0) = sv_newmortal();
4497     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
4498
4499     }
4500     XSRETURN(1);
4501 }
4502
4503
4504 XS(XS_Wx__ToolBar_newFull); /* prototype to pass -Wmissing-prototypes */
4505 XS(XS_Wx__ToolBar_newFull)
4506 {
4507 #ifdef dVAR
4508     dVAR; dXSARGS;
4509 #else
4510     dXSARGS;
4511 #endif
4512     if (items < 2 || items > 7)
4513        croak_xs_usage(cv,  "CLASS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = wxTB_HORIZONTAL | wxNO_BORDER, name = wxPanelNameStr");
4514     {
4515         PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) );
4516         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
4517         wxWindowID      id;
4518         wxPoint pos;
4519         wxSize  size;
4520         long    style;
4521         wxString        name;
4522         wxToolBar *     RETVAL;
4523
4524         if (items < 3)
4525             id = wxID_ANY;
4526         else {
4527     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
4528         }
4529
4530         if (items < 4)
4531             pos = wxDefaultPosition;
4532         else {
4533     pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) );
4534         }
4535
4536         if (items < 5)
4537             size = wxDefaultSize;
4538         else {
4539     size = wxPli_sv_2_wxsize( aTHX_ ST(4) );
4540         }
4541
4542         if (items < 6)
4543             style = wxTB_HORIZONTAL | wxNO_BORDER;
4544         else {
4545             style = (long)SvIV(ST(5));
4546         }
4547
4548         if (items < 7)
4549             name = wxPanelNameStr;
4550         else {
4551     WXSTRING_INPUT( name, wxString, ST(6) );
4552         }
4553     RETVAL = new wxToolBar( parent, id, pos, size, style, name );
4554     wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
4555         ST(0) = sv_newmortal();
4556     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
4557
4558     }
4559     XSRETURN(1);
4560 }
4561
4562
4563 XS(XS_Wx__ToolBar_Create); /* prototype to pass -Wmissing-prototypes */
4564 XS(XS_Wx__ToolBar_Create)
4565 {
4566 #ifdef dVAR
4567     dVAR; dXSARGS;
4568 #else
4569     dXSARGS;
4570 #endif
4571     if (items < 2 || items > 7)
4572        croak_xs_usage(cv,  "THIS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = wxTB_HORIZONTAL | wxNO_BORDER, name = wxPanelNameStr");
4573     {
4574         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
4575         wxWindowID      id;
4576         wxPoint pos;
4577         wxSize  size;
4578         long    style;
4579         wxString        name;
4580         wxToolBar *    THIS = (wxToolBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolBar" );
4581         bool    RETVAL;
4582
4583         if (items < 3)
4584             id = wxID_ANY;
4585         else {
4586     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
4587         }
4588
4589         if (items < 4)
4590             pos = wxDefaultPosition;
4591         else {
4592     pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) );
4593         }
4594
4595         if (items < 5)
4596             size = wxDefaultSize;
4597         else {
4598     size = wxPli_sv_2_wxsize( aTHX_ ST(4) );
4599         }
4600
4601         if (items < 6)
4602             style = wxTB_HORIZONTAL | wxNO_BORDER;
4603         else {
4604             style = (long)SvIV(ST(5));
4605         }
4606
4607         if (items < 7)
4608             name = wxPanelNameStr;
4609         else {
4610     WXSTRING_INPUT( name, wxString, ST(6) );
4611         }
4612
4613         RETVAL = THIS->Create(parent, id, pos, size, style, name);
4614         ST(0) = boolSV(RETVAL);
4615         sv_2mortal(ST(0));
4616     }
4617     XSRETURN(1);
4618 }
4619
4620
4621 /* INCLUDE: Returning to 'XS/StatusBar.xs' from 'XS/ToolBar.xs' */
4622
4623 #include <wx/statusbr.h>
4624
4625 XS(XS_Wx__StatusBar_new); /* prototype to pass -Wmissing-prototypes */
4626 XS(XS_Wx__StatusBar_new)
4627 {
4628 #ifdef dVAR
4629     dVAR; dXSARGS;
4630 #else
4631     dXSARGS;
4632 #endif
4633     if (items < 2 || items > 5)
4634        croak_xs_usage(cv,  "CLASS, parent, id = wxID_ANY, style = 0, name = wxEmptyString");
4635     {
4636         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
4637         wxWindowID      id;
4638         long    style;
4639         wxString        name;
4640         char *  CLASS = (char *)SvPV_nolen(ST(0));
4641         wxStatusBar *   RETVAL;
4642
4643         if (items < 3)
4644             id = wxID_ANY;
4645         else {
4646     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
4647         }
4648
4649         if (items < 4)
4650             style = 0;
4651         else {
4652             style = (long)SvIV(ST(3));
4653         }
4654
4655         if (items < 5)
4656             name = wxEmptyString;
4657         else {
4658     WXSTRING_INPUT( name, wxString, ST(4) );
4659         }
4660     RETVAL = new wxStatusBar( parent, id, style, name );
4661     wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
4662         ST(0) = sv_newmortal();
4663     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
4664
4665     }
4666     XSRETURN(1);
4667 }
4668
4669
4670 XS(XS_Wx__StatusBar_GetFieldRect); /* prototype to pass -Wmissing-prototypes */
4671 XS(XS_Wx__StatusBar_GetFieldRect)
4672 {
4673 #ifdef dVAR
4674     dVAR; dXSARGS;
4675 #else
4676     dXSARGS;
4677 #endif
4678     if (items != 2)
4679        croak_xs_usage(cv,  "THIS, index");
4680     {
4681         int     index = (int)SvIV(ST(1));
4682     wxRect rect;
4683     bool found;
4684         wxStatusBar *    THIS = (wxStatusBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::StatusBar" );
4685         wxRect *        RETVAL;
4686     found = THIS->GetFieldRect( index, rect );
4687     if( !found )
4688         RETVAL = 0;
4689     else
4690         RETVAL = new wxRect( rect );
4691         ST(0) = sv_newmortal();
4692     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Rect" );
4693     wxPli_thread_sv_register( aTHX_ "Wx::Rect", RETVAL, ST(0) );
4694
4695     }
4696     XSRETURN(1);
4697 }
4698
4699
4700 XS(XS_Wx__StatusBar_GetFieldsCount); /* prototype to pass -Wmissing-prototypes */
4701 XS(XS_Wx__StatusBar_GetFieldsCount)
4702 {
4703 #ifdef dVAR
4704     dVAR; dXSARGS;
4705 #else
4706     dXSARGS;
4707 #endif
4708     if (items != 1)
4709        croak_xs_usage(cv,  "THIS");
4710     {
4711         wxStatusBar *    THIS = (wxStatusBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::StatusBar" );
4712         int     RETVAL;
4713         dXSTARG;
4714
4715         RETVAL = THIS->GetFieldsCount();
4716         XSprePUSH; PUSHi((IV)RETVAL);
4717     }
4718     XSRETURN(1);
4719 }
4720
4721
4722 XS(XS_Wx__StatusBar_GetStatusText); /* prototype to pass -Wmissing-prototypes */
4723 XS(XS_Wx__StatusBar_GetStatusText)
4724 {
4725 #ifdef dVAR
4726     dVAR; dXSARGS;
4727 #else
4728     dXSARGS;
4729 #endif
4730     if (items < 1 || items > 2)
4731        croak_xs_usage(cv,  "THIS, ir = 0");
4732     {
4733         int     ir;
4734         wxStatusBar *    THIS = (wxStatusBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::StatusBar" );
4735         wxString        RETVAL;
4736
4737         if (items < 2)
4738             ir = 0;
4739         else {
4740             ir = (int)SvIV(ST(1));
4741         }
4742
4743         RETVAL = THIS->GetStatusText(ir);
4744         ST(0) = sv_newmortal();
4745     WXSTRING_OUTPUT( RETVAL, ST(0) );
4746
4747     }
4748     XSRETURN(1);
4749 }
4750
4751
4752 XS(XS_Wx__StatusBar_PushStatusText); /* prototype to pass -Wmissing-prototypes */
4753 XS(XS_Wx__StatusBar_PushStatusText)
4754 {
4755 #ifdef dVAR
4756     dVAR; dXSARGS;
4757 #else
4758     dXSARGS;
4759 #endif
4760     if (items < 2 || items > 3)
4761        croak_xs_usage(cv,  "THIS, string, n = 0");
4762     {
4763         wxString        string;
4764         int     n;
4765         wxStatusBar *    THIS = (wxStatusBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::StatusBar" );
4766
4767     WXSTRING_INPUT( string, wxString, ST(1) );
4768
4769         if (items < 3)
4770             n = 0;
4771         else {
4772             n = (int)SvIV(ST(2));
4773         }
4774
4775         THIS->PushStatusText(string, n);
4776     }
4777     XSRETURN_EMPTY;
4778 }
4779
4780
4781 XS(XS_Wx__StatusBar_PopStatusText); /* prototype to pass -Wmissing-prototypes */
4782 XS(XS_Wx__StatusBar_PopStatusText)
4783 {
4784 #ifdef dVAR
4785     dVAR; dXSARGS;
4786 #else
4787     dXSARGS;
4788 #endif
4789     if (items < 1 || items > 2)
4790        croak_xs_usage(cv,  "THIS, n = 0");
4791     {
4792         int     n;
4793         wxStatusBar *    THIS = (wxStatusBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::StatusBar" );
4794
4795         if (items < 2)
4796             n = 0;
4797         else {
4798             n = (int)SvIV(ST(1));
4799         }
4800
4801         THIS->PopStatusText(n);
4802     }
4803     XSRETURN_EMPTY;
4804 }
4805
4806
4807 XS(XS_Wx__StatusBar_SetFieldsCount); /* prototype to pass -Wmissing-prototypes */
4808 XS(XS_Wx__StatusBar_SetFieldsCount)
4809 {
4810 #ifdef dVAR
4811     dVAR; dXSARGS;
4812 #else
4813     dXSARGS;
4814 #endif
4815     if (items < 1 || items > 2)
4816        croak_xs_usage(cv,  "THIS, number = 1");
4817     {
4818         int     number;
4819         wxStatusBar *    THIS = (wxStatusBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::StatusBar" );
4820
4821         if (items < 2)
4822             number = 1;
4823         else {
4824             number = (int)SvIV(ST(1));
4825         }
4826
4827         THIS->SetFieldsCount(number);
4828     }
4829     XSRETURN_EMPTY;
4830 }
4831
4832
4833 XS(XS_Wx__StatusBar_SetMinHeight); /* prototype to pass -Wmissing-prototypes */
4834 XS(XS_Wx__StatusBar_SetMinHeight)
4835 {
4836 #ifdef dVAR
4837     dVAR; dXSARGS;
4838 #else
4839     dXSARGS;
4840 #endif
4841     if (items != 2)
4842        croak_xs_usage(cv,  "THIS, height");
4843     {
4844         int     height = (int)SvIV(ST(1));
4845         wxStatusBar *    THIS = (wxStatusBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::StatusBar" );
4846
4847         THIS->SetMinHeight(height);
4848     }
4849     XSRETURN_EMPTY;
4850 }
4851
4852
4853 XS(XS_Wx__StatusBar_SetStatusText); /* prototype to pass -Wmissing-prototypes */
4854 XS(XS_Wx__StatusBar_SetStatusText)
4855 {
4856 #ifdef dVAR
4857     dVAR; dXSARGS;
4858 #else
4859     dXSARGS;
4860 #endif
4861     if (items < 2 || items > 3)
4862        croak_xs_usage(cv,  "THIS, text, i = 0");
4863     {
4864         wxString        text;
4865         int     i;
4866         wxStatusBar *    THIS = (wxStatusBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::StatusBar" );
4867
4868     WXSTRING_INPUT( text, wxString, ST(1) );
4869
4870         if (items < 3)
4871             i = 0;
4872         else {
4873             i = (int)SvIV(ST(2));
4874         }
4875
4876         THIS->SetStatusText(text, i);
4877     }
4878     XSRETURN_EMPTY;
4879 }
4880
4881
4882 XS(XS_Wx__StatusBar_SetStatusWidths); /* prototype to pass -Wmissing-prototypes */
4883 XS(XS_Wx__StatusBar_SetStatusWidths)
4884 {
4885 #ifdef dVAR
4886     dVAR; dXSARGS;
4887 #else
4888     dXSARGS;
4889 #endif
4890     if (items < 1)
4891        croak_xs_usage(cv,  "THIS, ...");
4892     {
4893     int* widths;
4894     int i;
4895         wxStatusBar *    THIS = (wxStatusBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::StatusBar" );
4896     widths = new int[items-1];
4897     for( i = 1; i < items; ++i )
4898     {
4899       widths[i-1] = SvIV( ST(i) );
4900     }
4901     THIS->SetStatusWidths( items-1, widths );
4902
4903     delete[] widths;
4904     }
4905     XSRETURN_EMPTY;
4906 }
4907
4908 #if WXPERL_W_VERSION_GE( 2, 5, 3 )
4909 #define XSubPPtmpAAAQ 1
4910
4911
4912 XS(XS_Wx__StatusBar_SetStatusStyles); /* prototype to pass -Wmissing-prototypes */
4913 XS(XS_Wx__StatusBar_SetStatusStyles)
4914 {
4915 #ifdef dVAR
4916     dVAR; dXSARGS;
4917 #else
4918     dXSARGS;
4919 #endif
4920     if (items < 1)
4921        croak_xs_usage(cv,  "THIS, ...");
4922     {
4923     int* styles;
4924     int i;
4925         wxStatusBar *    THIS = (wxStatusBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::StatusBar" );
4926     styles = new int[items-1];
4927     for( i = 1; i < items; ++i )
4928     {
4929       styles[i-1] = SvIV( ST(i) );
4930     }
4931     THIS->SetStatusStyles( items-1, styles );
4932
4933     delete[] styles;
4934     }
4935     XSRETURN_EMPTY;
4936 }
4937
4938 #endif
4939
4940 /* INCLUDE: Returning to 'XS/Frame.xs' from 'XS/StatusBar.xs' */
4941
4942 #include <wx/frame.h>
4943 #include <wx/menu.h>
4944 #include <wx/icon.h>
4945 #if wxPERL_USE_MINIFRAME
4946 #include <wx/minifram.h>
4947 #endif
4948 #include "cpp/frame.h"
4949
4950 XS(XS_Wx__Frame_new); /* prototype to pass -Wmissing-prototypes */
4951 XS(XS_Wx__Frame_new)
4952 {
4953 #ifdef dVAR
4954     dVAR; dXSARGS;
4955 #else
4956     dXSARGS;
4957 #endif
4958     PERL_UNUSED_VAR(cv); /* -W */
4959     PERL_UNUSED_VAR(ax); /* -Wall */
4960     SP -= items;
4961     {
4962     BEGIN_OVERLOAD()
4963         MATCH_VOIDM_REDISP( newDefault )
4964         MATCH_ANY_REDISP( newFull )
4965     END_OVERLOAD( "Wx::Frame::new" )
4966         PUTBACK;
4967         return;
4968     }
4969 }
4970
4971
4972 XS(XS_Wx__Frame_newDefault); /* prototype to pass -Wmissing-prototypes */
4973 XS(XS_Wx__Frame_newDefault)
4974 {
4975 #ifdef dVAR
4976     dVAR; dXSARGS;
4977 #else
4978     dXSARGS;
4979 #endif
4980     if (items != 1)
4981        croak_xs_usage(cv,  "CLASS");
4982     {
4983         char*   CLASS = (char *)SvPV_nolen(ST(0));
4984         wxFrame *       RETVAL;
4985     RETVAL = new wxPliFrame( CLASS );
4986         ST(0) = sv_newmortal();
4987     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
4988
4989     }
4990     XSRETURN(1);
4991 }
4992
4993
4994 XS(XS_Wx__Frame_newFull); /* prototype to pass -Wmissing-prototypes */
4995 XS(XS_Wx__Frame_newFull)
4996 {
4997 #ifdef dVAR
4998     dVAR; dXSARGS;
4999 #else
5000     dXSARGS;
5001 #endif
5002     if (items < 4 || items > 8)
5003        croak_xs_usage(cv,  "CLASS, parent, id, title, pos = wxDefaultPosition, size = wxDefaultSize, style = wxDEFAULT_FRAME_STYLE, name = wxFrameNameStr");
5004     {
5005         char*   CLASS = (char *)SvPV_nolen(ST(0));
5006         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
5007         wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) );
5008         wxString        title;
5009         wxPoint pos;
5010         wxSize  size;
5011         long    style;
5012         wxString        name;
5013         wxFrame *       RETVAL;
5014
5015     WXSTRING_INPUT( title, wxString, ST(3) );
5016
5017         if (items < 5)
5018             pos = wxDefaultPosition;
5019         else {
5020     pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
5021         }
5022
5023         if (items < 6)
5024             size = wxDefaultSize;
5025         else {
5026     size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
5027         }
5028
5029         if (items < 7)
5030             style = wxDEFAULT_FRAME_STYLE;
5031         else {
5032             style = (long)SvIV(ST(6));
5033         }
5034
5035         if (items < 8)
5036             name = wxFrameNameStr;
5037         else {
5038     WXSTRING_INPUT( name, wxString, ST(7) );
5039         }
5040     RETVAL = new wxPliFrame( CLASS , parent, id, title, pos,
5041          size, style, name );
5042         ST(0) = sv_newmortal();
5043     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
5044
5045     }
5046     XSRETURN(1);
5047 }
5048
5049
5050 XS(XS_Wx__Frame_Create); /* prototype to pass -Wmissing-prototypes */
5051 XS(XS_Wx__Frame_Create)
5052 {
5053 #ifdef dVAR
5054     dVAR; dXSARGS;
5055 #else
5056     dXSARGS;
5057 #endif
5058     if (items < 4 || items > 8)
5059        croak_xs_usage(cv,  "THIS, parent, id, title, pos = wxDefaultPosition, size = wxDefaultSize, style = wxDEFAULT_FRAME_STYLE, name = wxFrameNameStr");
5060     {
5061         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
5062         wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) );
5063         wxString        title;
5064         wxPoint pos;
5065         wxSize  size;
5066         long    style;
5067         wxString        name;
5068         wxFrame *    THIS = (wxFrame *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Frame" );
5069         bool    RETVAL;
5070
5071     WXSTRING_INPUT( title, wxString, ST(3) );
5072
5073         if (items < 5)
5074             pos = wxDefaultPosition;
5075         else {
5076     pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
5077         }
5078
5079         if (items < 6)
5080             size = wxDefaultSize;
5081         else {
5082     size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
5083         }
5084
5085         if (items < 7)
5086             style = wxDEFAULT_FRAME_STYLE;
5087         else {
5088             style = (long)SvIV(ST(6));
5089         }
5090
5091         if (items < 8)
5092             name = wxFrameNameStr;
5093         else {
5094     WXSTRING_INPUT( name, wxString, ST(7) );
5095         }
5096
5097         RETVAL = THIS->Create(parent, id, title, pos, size, style, name);
5098         ST(0) = boolSV(RETVAL);
5099         sv_2mortal(ST(0));
5100     }
5101     XSRETURN(1);
5102 }
5103
5104 #if 0
5105 #define XSubPPtmpAAAR 1
5106
5107
5108 XS(XS_Wx__Frame_Command); /* prototype to pass -Wmissing-prototypes */
5109 XS(XS_Wx__Frame_Command)
5110 {
5111 #ifdef dVAR
5112     dVAR; dXSARGS;
5113 #else
5114     dXSARGS;
5115 #endif
5116     if (items != 2)
5117        croak_xs_usage(cv,  "THIS, id");
5118     {
5119         int     id = (int)SvIV(ST(1));
5120         wxFrame *    THIS = (wxFrame *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Frame" );
5121
5122         THIS->Command(id);
5123     }
5124     XSRETURN_EMPTY;
5125 }
5126
5127 #endif
5128
5129 XS(XS_Wx__Frame_CreateStatusBar); /* prototype to pass -Wmissing-prototypes */
5130 XS(XS_Wx__Frame_CreateStatusBar)
5131 {
5132 #ifdef dVAR
5133     dVAR; dXSARGS;
5134 #else
5135     dXSARGS;
5136 #endif
5137     if (items < 1 || items > 5)
5138        croak_xs_usage(cv,  "THIS, number = 1, style = 0, id = wxID_ANY, name = wxEmptyString");
5139     {
5140         int     number;
5141         long    style;
5142         wxWindowID      id;
5143         wxString        name;
5144         wxFrame *    THIS = (wxFrame *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Frame" );
5145         wxStatusBar *   RETVAL;
5146
5147         if (items < 2)
5148             number = 1;
5149         else {
5150             number = (int)SvIV(ST(1));
5151         }
5152
5153         if (items < 3)
5154             style = 0;
5155         else {
5156             style = (long)SvIV(ST(2));
5157         }
5158
5159         if (items < 4)
5160             id = wxID_ANY;
5161         else {
5162     id = wxPli_get_wxwindowid( aTHX_ ST(3) );
5163         }
5164
5165         if (items < 5)
5166             name = wxEmptyString;
5167         else {
5168     WXSTRING_INPUT( name, wxString, ST(4) );
5169         }
5170
5171         RETVAL = THIS->CreateStatusBar(number, style, id, name);
5172         ST(0) = sv_newmortal();
5173     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
5174
5175     }
5176     XSRETURN(1);
5177 }
5178
5179
5180 XS(XS_Wx__Frame_CreateToolBar); /* prototype to pass -Wmissing-prototypes */
5181 XS(XS_Wx__Frame_CreateToolBar)
5182 {
5183 #ifdef dVAR
5184     dVAR; dXSARGS;
5185 #else
5186     dXSARGS;
5187 #endif
5188     if (items < 1 || items > 4)
5189        croak_xs_usage(cv,  "THIS, style = wxNO_BORDER | wxTB_HORIZONTAL, id = wxID_ANY, name = wxToolBarNameStr");
5190     {
5191         long    style;
5192         wxWindowID      id;
5193         wxString        name;
5194         wxFrame *    THIS = (wxFrame *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Frame" );
5195         wxToolBar *     RETVAL;
5196
5197         if (items < 2)
5198             style = wxNO_BORDER | wxTB_HORIZONTAL;
5199         else {
5200             style = (long)SvIV(ST(1));
5201         }
5202
5203         if (items < 3)
5204             id = wxID_ANY;
5205         else {
5206     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
5207         }
5208
5209         if (items < 4)
5210             name = wxToolBarNameStr;
5211         else {
5212     WXSTRING_INPUT( name, wxString, ST(3) );
5213         }
5214
5215         RETVAL = THIS->CreateToolBar(style, id, name);
5216         ST(0) = sv_newmortal();
5217     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
5218
5219     }
5220     XSRETURN(1);
5221 }
5222
5223
5224 XS(XS_Wx__Frame_GetClientAreaOrigin); /* prototype to pass -Wmissing-prototypes */
5225 XS(XS_Wx__Frame_GetClientAreaOrigin)
5226 {
5227 #ifdef dVAR
5228     dVAR; dXSARGS;
5229 #else
5230     dXSARGS;
5231 #endif
5232     if (items != 1)
5233        croak_xs_usage(cv,  "THIS");
5234     {
5235         wxFrame *    THIS = (wxFrame *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Frame" );
5236         wxPoint *       RETVAL;
5237     RETVAL = new wxPoint( THIS->GetClientAreaOrigin() );
5238         ST(0) = sv_newmortal();
5239     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Point" );
5240     wxPli_thread_sv_register( aTHX_ "Wx::Point", RETVAL, ST(0) );
5241
5242     }
5243     XSRETURN(1);
5244 }
5245
5246
5247 XS(XS_Wx__Frame_GetMenuBar); /* prototype to pass -Wmissing-prototypes */
5248 XS(XS_Wx__Frame_GetMenuBar)
5249 {
5250 #ifdef dVAR
5251     dVAR; dXSARGS;
5252 #else
5253     dXSARGS;
5254 #endif
5255     if (items != 1)
5256        croak_xs_usage(cv,  "THIS");
5257     {
5258         wxFrame *    THIS = (wxFrame *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Frame" );
5259         wxMenuBar *     RETVAL;
5260
5261         RETVAL = THIS->GetMenuBar();
5262         ST(0) = sv_newmortal();
5263     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
5264
5265     }
5266     XSRETURN(1);
5267 }
5268
5269
5270 XS(XS_Wx__Frame_GetStatusBar); /* prototype to pass -Wmissing-prototypes */
5271 XS(XS_Wx__Frame_GetStatusBar)
5272 {
5273 #ifdef dVAR
5274     dVAR; dXSARGS;
5275 #else
5276     dXSARGS;
5277 #endif
5278     if (items != 1)
5279        croak_xs_usage(cv,  "THIS");
5280     {
5281         wxFrame *    THIS = (wxFrame *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Frame" );
5282         wxStatusBar *   RETVAL;
5283
5284         RETVAL = THIS->GetStatusBar();
5285         ST(0) = sv_newmortal();
5286     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
5287
5288     }
5289     XSRETURN(1);
5290 }
5291
5292
5293 XS(XS_Wx__Frame_GetStatusBarPane); /* prototype to pass -Wmissing-prototypes */
5294 XS(XS_Wx__Frame_GetStatusBarPane)
5295 {
5296 #ifdef dVAR
5297     dVAR; dXSARGS;
5298 #else
5299     dXSARGS;
5300 #endif
5301     if (items != 1)
5302        croak_xs_usage(cv,  "THIS");
5303     {
5304         wxFrame *    THIS = (wxFrame *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Frame" );
5305         int     RETVAL;
5306         dXSTARG;
5307
5308         RETVAL = THIS->GetStatusBarPane();
5309         XSprePUSH; PUSHi((IV)RETVAL);
5310     }
5311     XSRETURN(1);
5312 }
5313
5314
5315 XS(XS_Wx__Frame_GetTitle); /* prototype to pass -Wmissing-prototypes */
5316 XS(XS_Wx__Frame_GetTitle)
5317 {
5318 #ifdef dVAR
5319     dVAR; dXSARGS;
5320 #else
5321     dXSARGS;
5322 #endif
5323     if (items != 1)
5324        croak_xs_usage(cv,  "THIS");
5325     {
5326         wxFrame *    THIS = (wxFrame *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Frame" );
5327         wxString        RETVAL;
5328
5329         RETVAL = THIS->GetTitle();
5330         ST(0) = sv_newmortal();
5331     WXSTRING_OUTPUT( RETVAL, ST(0) );
5332
5333     }
5334     XSRETURN(1);
5335 }
5336
5337
5338 XS(XS_Wx__Frame_GetToolBar); /* prototype to pass -Wmissing-prototypes */
5339 XS(XS_Wx__Frame_GetToolBar)
5340 {
5341 #ifdef dVAR
5342     dVAR; dXSARGS;
5343 #else
5344     dXSARGS;
5345 #endif
5346     if (items != 1)
5347        croak_xs_usage(cv,  "THIS");
5348     {
5349         wxFrame *    THIS = (wxFrame *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Frame" );
5350         wxToolBar *     RETVAL;
5351
5352         RETVAL = THIS->GetToolBar();
5353         ST(0) = sv_newmortal();
5354     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
5355
5356     }
5357     XSRETURN(1);
5358 }
5359
5360 #if defined( __WXMAC__ ) && WXPERL_W_VERSION_GE( 2, 5, 2 ) \
5361     && WXPERL_W_VERSION_LT( 2, 7, 0 )
5362 #define XSubPPtmpAAAS 1
5363
5364
5365 XS(XS_Wx__Frame_MacSetMetalAppearance); /* prototype to pass -Wmissing-prototypes */
5366 XS(XS_Wx__Frame_MacSetMetalAppearance)
5367 {
5368 #ifdef dVAR
5369     dVAR; dXSARGS;
5370 #else
5371     dXSARGS;
5372 #endif
5373     if (items != 2)
5374        croak_xs_usage(cv,  "THIS, ismetal");
5375     {
5376         bool    ismetal = (bool)SvTRUE(ST(1));
5377         wxFrame *    THIS = (wxFrame *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Frame" );
5378
5379         THIS->MacSetMetalAppearance(ismetal);
5380     }
5381     XSRETURN_EMPTY;
5382 }
5383
5384 #endif
5385
5386 XS(XS_Wx__Frame_OnCreateStatusBar); /* prototype to pass -Wmissing-prototypes */
5387 XS(XS_Wx__Frame_OnCreateStatusBar)
5388 {
5389 #ifdef dVAR
5390     dVAR; dXSARGS;
5391 #else
5392     dXSARGS;
5393 #endif
5394     if (items != 5)
5395        croak_xs_usage(cv,  "THIS, number, style, id, name");
5396     {
5397         int     number = (int)SvIV(ST(1));
5398         long    style = (long)SvIV(ST(2));
5399         wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(3) );
5400         wxString        name;
5401         wxFrame *    THIS = (wxFrame *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Frame" );
5402         wxStatusBar *   RETVAL;
5403
5404     WXSTRING_INPUT( name, wxString, ST(4) );
5405     RETVAL = THIS->wxFrame::OnCreateStatusBar( number, style, id, name );
5406         ST(0) = sv_newmortal();
5407     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
5408
5409     }
5410     XSRETURN(1);
5411 }
5412
5413
5414 XS(XS_Wx__Frame_SetIcon); /* prototype to pass -Wmissing-prototypes */
5415 XS(XS_Wx__Frame_SetIcon)
5416 {
5417 #ifdef dVAR
5418     dVAR; dXSARGS;
5419 #else
5420     dXSARGS;
5421 #endif
5422     if (items != 2)
5423        croak_xs_usage(cv,  "THIS, icon");
5424     {
5425         wxIcon*    icon = (wxIcon *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Icon" );
5426         wxFrame *    THIS = (wxFrame *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Frame" );
5427     THIS->SetIcon( *icon );
5428     }
5429     XSRETURN_EMPTY;
5430 }
5431
5432
5433 XS(XS_Wx__Frame_SetIcons); /* prototype to pass -Wmissing-prototypes */
5434 XS(XS_Wx__Frame_SetIcons)
5435 {
5436 #ifdef dVAR
5437     dVAR; dXSARGS;
5438 #else
5439     dXSARGS;
5440 #endif
5441     if (items != 2)
5442        croak_xs_usage(cv,  "THIS, icons");
5443     {
5444         wxIconBundle*    icons = (wxIconBundle *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::IconBundle" );
5445         wxFrame *    THIS = (wxFrame *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Frame" );
5446
5447         THIS->SetIcons(*icons);
5448     }
5449     XSRETURN_EMPTY;
5450 }
5451
5452
5453 XS(XS_Wx__Frame_SetMenuBar); /* prototype to pass -Wmissing-prototypes */
5454 XS(XS_Wx__Frame_SetMenuBar)
5455 {
5456 #ifdef dVAR
5457     dVAR; dXSARGS;
5458 #else
5459     dXSARGS;
5460 #endif
5461     if (items != 2)
5462        croak_xs_usage(cv,  "THIS, menubar");
5463     {
5464         wxMenuBar*    menubar = (wxMenuBar *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::MenuBar" );
5465         wxFrame *    THIS = (wxFrame *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Frame" );
5466
5467         THIS->SetMenuBar(menubar);
5468     }
5469     XSRETURN_EMPTY;
5470 }
5471
5472
5473 XS(XS_Wx__Frame_SetStatusBar); /* prototype to pass -Wmissing-prototypes */
5474 XS(XS_Wx__Frame_SetStatusBar)
5475 {
5476 #ifdef dVAR
5477     dVAR; dXSARGS;
5478 #else
5479     dXSARGS;
5480 #endif
5481     if (items != 2)
5482        croak_xs_usage(cv,  "THIS, statusBar");
5483     {
5484         wxStatusBar*    statusBar = (wxStatusBar *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::StatusBar" );
5485         wxFrame *    THIS = (wxFrame *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Frame" );
5486
5487         THIS->SetStatusBar(statusBar);
5488     }
5489     XSRETURN_EMPTY;
5490 }
5491
5492
5493 XS(XS_Wx__Frame_SetTitle); /* prototype to pass -Wmissing-prototypes */
5494 XS(XS_Wx__Frame_SetTitle)
5495 {
5496 #ifdef dVAR
5497     dVAR; dXSARGS;
5498 #else
5499     dXSARGS;
5500 #endif
5501     if (items != 2)
5502        croak_xs_usage(cv,  "THIS, title");
5503     {
5504         wxString        title;
5505         wxFrame *    THIS = (wxFrame *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Frame" );
5506
5507     WXSTRING_INPUT( title, wxString, ST(1) );
5508
5509         THIS->SetTitle(title);
5510     }
5511     XSRETURN_EMPTY;
5512 }
5513
5514
5515 XS(XS_Wx__Frame_SetToolBar); /* prototype to pass -Wmissing-prototypes */
5516 XS(XS_Wx__Frame_SetToolBar)
5517 {
5518 #ifdef dVAR
5519     dVAR; dXSARGS;
5520 #else
5521     dXSARGS;
5522 #endif
5523     if (items != 2)
5524        croak_xs_usage(cv,  "THIS, toolbar");
5525     {
5526         wxToolBar*    toolbar = (wxToolBar *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::ToolBar" );
5527         wxFrame *    THIS = (wxFrame *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Frame" );
5528
5529         THIS->SetToolBar(toolbar);
5530     }
5531     XSRETURN_EMPTY;
5532 }
5533
5534
5535 XS(XS_Wx__Frame_SetStatusText); /* prototype to pass -Wmissing-prototypes */
5536 XS(XS_Wx__Frame_SetStatusText)
5537 {
5538 #ifdef dVAR
5539     dVAR; dXSARGS;
5540 #else
5541     dXSARGS;
5542 #endif
5543     if (items < 2 || items > 3)
5544        croak_xs_usage(cv,  "THIS, text, number = 0");
5545     {
5546         wxString        text;
5547         int     number;
5548         wxFrame *    THIS = (wxFrame *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Frame" );
5549
5550     WXSTRING_INPUT( text, wxString, ST(1) );
5551
5552         if (items < 3)
5553             number = 0;
5554         else {
5555             number = (int)SvIV(ST(2));
5556         }
5557
5558         THIS->SetStatusText(text, number);
5559     }
5560     XSRETURN_EMPTY;
5561 }
5562
5563
5564 XS(XS_Wx__Frame_SetStatusBarPane); /* prototype to pass -Wmissing-prototypes */
5565 XS(XS_Wx__Frame_SetStatusBarPane)
5566 {
5567 #ifdef dVAR
5568     dVAR; dXSARGS;
5569 #else
5570     dXSARGS;
5571 #endif
5572     if (items != 2)
5573        croak_xs_usage(cv,  "THIS, n");
5574     {
5575         int     n = (int)SvIV(ST(1));
5576         wxFrame *    THIS = (wxFrame *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Frame" );
5577
5578         THIS->SetStatusBarPane(n);
5579     }
5580     XSRETURN_EMPTY;
5581 }
5582
5583
5584 XS(XS_Wx__Frame_SetStatusWidths); /* prototype to pass -Wmissing-prototypes */
5585 XS(XS_Wx__Frame_SetStatusWidths)
5586 {
5587 #ifdef dVAR
5588     dVAR; dXSARGS;
5589 #else
5590     dXSARGS;
5591 #endif
5592     if (items < 1)
5593        croak_xs_usage(cv,  "THIS, ...");
5594     {
5595     int* w;
5596     int i;
5597         wxFrame *    THIS = (wxFrame *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Frame" );
5598     w = new int[items - 1];
5599     for( i = 0; i < items - 1; ++i )
5600     {
5601       w[i] = SvIV( ST( i + 1 ) );
5602     }
5603     THIS->SetStatusWidths( items - 1, w );
5604     delete [] w;
5605     }
5606     XSRETURN_EMPTY;
5607 }
5608
5609 #if wxPERL_USE_MINIFRAME
5610 #define XSubPPtmpAAAT 1
5611
5612
5613 XS(XS_Wx__MiniFrame_new); /* prototype to pass -Wmissing-prototypes */
5614 XS(XS_Wx__MiniFrame_new)
5615 {
5616 #ifdef dVAR
5617     dVAR; dXSARGS;
5618 #else
5619     dXSARGS;
5620 #endif
5621     if (items < 4 || items > 8)
5622        croak_xs_usage(cv,  "CLASS, parent, id, title, pos = wxDefaultPosition, size = wxDefaultSize, style = wxDEFAULT_FRAME_STYLE, name = wxFrameNameStr");
5623     {
5624         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
5625         wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) );
5626         wxString        title;
5627         wxPoint pos;
5628         wxSize  size;
5629         long    style;
5630         wxString        name;
5631         char *  CLASS = (char *)SvPV_nolen(ST(0));
5632         wxMiniFrame *   RETVAL;
5633
5634     WXSTRING_INPUT( title, wxString, ST(3) );
5635
5636         if (items < 5)
5637             pos = wxDefaultPosition;
5638         else {
5639     pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
5640         }
5641
5642         if (items < 6)
5643             size = wxDefaultSize;
5644         else {
5645     size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
5646         }
5647
5648         if (items < 7)
5649             style = wxDEFAULT_FRAME_STYLE;
5650         else {
5651             style = (long)SvIV(ST(6));
5652         }
5653
5654         if (items < 8)
5655             name = wxFrameNameStr;
5656         else {
5657     WXSTRING_INPUT( name, wxString, ST(7) );
5658         }
5659     RETVAL = new wxMiniFrame( parent, id, title, pos, size, 
5660         style, name );
5661     wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
5662         ST(0) = sv_newmortal();
5663     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
5664
5665     }
5666     XSRETURN(1);
5667 }
5668
5669 #endif
5670
5671 /* INCLUDE: Returning to 'Frames.xs' from 'XS/Frame.xs' */
5672
5673
5674 /* INCLUDE:  Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/IconBundle.xsp |' from 'Frames.xs' */
5675
5676 #include <wx/icon.h>
5677 #include <wx/iconbndl.h>
5678 #include "cpp/overload.h"
5679
5680 XS(XS_Wx__IconBundle_newEmpty); /* prototype to pass -Wmissing-prototypes */
5681 XS(XS_Wx__IconBundle_newEmpty)
5682 {
5683 #ifdef dVAR
5684     dVAR; dXSARGS;
5685 #else
5686     dXSARGS;
5687 #endif
5688     if (items != 1)
5689        croak_xs_usage(cv,  "CLASS");
5690     {
5691         char *  CLASS = (char *)SvPV_nolen(ST(0));
5692         wxIconBundle *  RETVAL;
5693     RETVAL = new wxIconBundle();
5694         ST(0) = sv_newmortal();
5695     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::IconBundle" );
5696
5697     }
5698     XSRETURN(1);
5699 }
5700
5701
5702 XS(XS_Wx__IconBundle_newFile); /* prototype to pass -Wmissing-prototypes */
5703 XS(XS_Wx__IconBundle_newFile)
5704 {
5705 #ifdef dVAR
5706     dVAR; dXSARGS;
5707 #else
5708     dXSARGS;
5709 #endif
5710     if (items < 2 || items > 3)
5711        croak_xs_usage(cv,  "CLASS, file, type = wxBITMAP_TYPE_ANY");
5712     {
5713         wxString        file;
5714         wxBitmapType    type;
5715         char *  CLASS = (char *)SvPV_nolen(ST(0));
5716         wxIconBundle *  RETVAL;
5717
5718     WXSTRING_INPUT( file, wxString, ST(1) );
5719
5720         if (items < 3)
5721             type = wxBITMAP_TYPE_ANY;
5722         else {
5723             type = (wxBitmapType)SvIV(ST(2));
5724         }
5725     RETVAL = new wxIconBundle( file, type );
5726         ST(0) = sv_newmortal();
5727     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::IconBundle" );
5728
5729     }
5730     XSRETURN(1);
5731 }
5732
5733
5734 XS(XS_Wx__IconBundle_newIcon); /* prototype to pass -Wmissing-prototypes */
5735 XS(XS_Wx__IconBundle_newIcon)
5736 {
5737 #ifdef dVAR
5738     dVAR; dXSARGS;
5739 #else
5740     dXSARGS;
5741 #endif
5742     if (items != 2)
5743        croak_xs_usage(cv,  "CLASS, icon");
5744     {
5745         wxIcon*    icon = (wxIcon *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Icon" );
5746         char *  CLASS = (char *)SvPV_nolen(ST(0));
5747         wxIconBundle *  RETVAL;
5748     RETVAL = new wxIconBundle( *( icon ) );
5749         ST(0) = sv_newmortal();
5750     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::IconBundle" );
5751
5752     }
5753     XSRETURN(1);
5754 }
5755
5756
5757 XS(XS_Wx__IconBundle_AddIconFile); /* prototype to pass -Wmissing-prototypes */
5758 XS(XS_Wx__IconBundle_AddIconFile)
5759 {
5760 #ifdef dVAR
5761     dVAR; dXSARGS;
5762 #else
5763     dXSARGS;
5764 #endif
5765     if (items < 2 || items > 3)
5766        croak_xs_usage(cv,  "THIS, filr, type = wxBITMAP_TYPE_ANY");
5767     {
5768         wxString        filr;
5769         wxBitmapType    type;
5770         wxIconBundle *    THIS = (wxIconBundle *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::IconBundle" );
5771
5772     WXSTRING_INPUT( filr, wxString, ST(1) );
5773
5774         if (items < 3)
5775             type = wxBITMAP_TYPE_ANY;
5776         else {
5777             type = (wxBitmapType)SvIV(ST(2));
5778         }
5779     THIS->AddIcon( filr, type );
5780     }
5781     XSRETURN_EMPTY;
5782 }
5783
5784
5785 XS(XS_Wx__IconBundle_AddIconIcon); /* prototype to pass -Wmissing-prototypes */
5786 XS(XS_Wx__IconBundle_AddIconIcon)
5787 {
5788 #ifdef dVAR
5789     dVAR; dXSARGS;
5790 #else
5791     dXSARGS;
5792 #endif
5793     if (items != 2)
5794        croak_xs_usage(cv,  "THIS, icon");
5795     {
5796         wxIcon*    icon = (wxIcon *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Icon" );
5797         wxIconBundle *    THIS = (wxIconBundle *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::IconBundle" );
5798     THIS->AddIcon( *( icon ) );
5799     }
5800     XSRETURN_EMPTY;
5801 }
5802
5803
5804 XS(XS_Wx__IconBundle_GetIconSize); /* prototype to pass -Wmissing-prototypes */
5805 XS(XS_Wx__IconBundle_GetIconSize)
5806 {
5807 #ifdef dVAR
5808     dVAR; dXSARGS;
5809 #else
5810     dXSARGS;
5811 #endif
5812     if (items != 2)
5813        croak_xs_usage(cv,  "THIS, size");
5814     {
5815         wxSize    size = wxPli_sv_2_wxsize( aTHX_ ST(1) );
5816         wxIconBundle *    THIS = (wxIconBundle *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::IconBundle" );
5817         wxIcon *        RETVAL;
5818     RETVAL = new wxIcon( THIS->GetIcon( size ) );
5819         ST(0) = sv_newmortal();
5820     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
5821     wxPli_thread_sv_register( aTHX_ "Wx::Icon", RETVAL, ST(0) );
5822
5823     }
5824     XSRETURN(1);
5825 }
5826
5827
5828 XS(XS_Wx__IconBundle_GetIconCoord); /* prototype to pass -Wmissing-prototypes */
5829 XS(XS_Wx__IconBundle_GetIconCoord)
5830 {
5831 #ifdef dVAR
5832     dVAR; dXSARGS;
5833 #else
5834     dXSARGS;
5835 #endif
5836     if (items < 1 || items > 2)
5837        croak_xs_usage(cv,  "THIS, size = -1");
5838     {
5839         wxCoord size;
5840         wxIconBundle *    THIS = (wxIconBundle *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::IconBundle" );
5841         wxIcon *        RETVAL;
5842
5843         if (items < 2)
5844             size = -1;
5845         else {
5846             size = (wxCoord)SvIV(ST(1));
5847         }
5848     RETVAL = new wxIcon( THIS->GetIcon( size ) );
5849         ST(0) = sv_newmortal();
5850     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
5851     wxPli_thread_sv_register( aTHX_ "Wx::Icon", RETVAL, ST(0) );
5852
5853     }
5854     XSRETURN(1);
5855 }
5856
5857 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
5858 #define XSubPPtmpAAAU 1
5859
5860
5861 XS(XS_Wx__IconBundle_IsEmpty); /* prototype to pass -Wmissing-prototypes */
5862 XS(XS_Wx__IconBundle_IsEmpty)
5863 {
5864 #ifdef dVAR
5865     dVAR; dXSARGS;
5866 #else
5867     dXSARGS;
5868 #endif
5869     if (items != 1)
5870        croak_xs_usage(cv,  "THIS");
5871     {
5872         wxIconBundle *    THIS = (wxIconBundle *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::IconBundle" );
5873         bool    RETVAL;
5874
5875         RETVAL = THIS->IsEmpty();
5876         ST(0) = boolSV(RETVAL);
5877         sv_2mortal(ST(0));
5878     }
5879     XSRETURN(1);
5880 }
5881
5882
5883 XS(XS_Wx__IconBundle_GetIconOfExactSizeSize); /* prototype to pass -Wmissing-prototypes */
5884 XS(XS_Wx__IconBundle_GetIconOfExactSizeSize)
5885 {
5886 #ifdef dVAR
5887     dVAR; dXSARGS;
5888 #else
5889     dXSARGS;
5890 #endif
5891     if (items != 2)
5892        croak_xs_usage(cv,  "THIS, size");
5893     {
5894         wxSize    size = wxPli_sv_2_wxsize( aTHX_ ST(1) );
5895         wxIconBundle *    THIS = (wxIconBundle *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::IconBundle" );
5896         wxIcon *        RETVAL;
5897     RETVAL = new wxIcon( THIS->GetIconOfExactSize( size ) );
5898         ST(0) = sv_newmortal();
5899     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
5900     wxPli_thread_sv_register( aTHX_ "Wx::Icon", RETVAL, ST(0) );
5901
5902     }
5903     XSRETURN(1);
5904 }
5905
5906
5907 XS(XS_Wx__IconBundle_GetIconOfExactSizeCoord); /* prototype to pass -Wmissing-prototypes */
5908 XS(XS_Wx__IconBundle_GetIconOfExactSizeCoord)
5909 {
5910 #ifdef dVAR
5911     dVAR; dXSARGS;
5912 #else
5913     dXSARGS;
5914 #endif
5915     if (items < 1 || items > 2)
5916        croak_xs_usage(cv,  "THIS, size = -1");
5917     {
5918         wxCoord size;
5919         wxIconBundle *    THIS = (wxIconBundle *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::IconBundle" );
5920         wxIcon *        RETVAL;
5921
5922         if (items < 2)
5923             size = -1;
5924         else {
5925             size = (wxCoord)SvIV(ST(1));
5926         }
5927     RETVAL = new wxIcon( THIS->GetIconOfExactSize( size ) );
5928         ST(0) = sv_newmortal();
5929     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
5930     wxPli_thread_sv_register( aTHX_ "Wx::Icon", RETVAL, ST(0) );
5931
5932     }
5933     XSRETURN(1);
5934 }
5935
5936
5937 XS(XS_Wx__IconBundle_GetIconOfExactSize); /* prototype to pass -Wmissing-prototypes */
5938 XS(XS_Wx__IconBundle_GetIconOfExactSize)
5939 {
5940 #ifdef dVAR
5941     dVAR; dXSARGS;
5942 #else
5943     dXSARGS;
5944 #endif
5945     if (items < 1)
5946        croak_xs_usage(cv,  "THIS, ...");
5947     PERL_UNUSED_VAR(ax); /* -Wall */
5948     SP -= items;
5949     {
5950         wxIconBundle *    THIS = (wxIconBundle *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::IconBundle" );
5951     BEGIN_OVERLOAD()
5952         MATCH_REDISP( wxPliOvl_wsiz, GetIconOfExactSizeSize )
5953         MATCH_REDISP( wxPliOvl_n, GetIconOfExactSizeCoord )
5954     END_OVERLOAD( Wx::IconBundle::GetIconOfExactSize )
5955         PUTBACK;
5956         return;
5957     }
5958 }
5959
5960 #endif
5961
5962 XS(XS_Wx__IconBundle_new); /* prototype to pass -Wmissing-prototypes */
5963 XS(XS_Wx__IconBundle_new)
5964 {
5965 #ifdef dVAR
5966     dVAR; dXSARGS;
5967 #else
5968     dXSARGS;
5969 #endif
5970     if (items < 1)
5971        croak_xs_usage(cv,  "CLASS, ...");
5972     PERL_UNUSED_VAR(ax); /* -Wall */
5973     SP -= items;
5974     {
5975         char *  CLASS = (char *)SvPV_nolen(ST(0));
5976     BEGIN_OVERLOAD()
5977         MATCH_VOIDM_REDISP( newEmpty )
5978         MATCH_REDISP_COUNT_ALLOWMORE( wxPliOvl_s_n, newFile, 1 )
5979         MATCH_REDISP( wxPliOvl_wico, newIcon )
5980     END_OVERLOAD( Wx::IconBundle::new )
5981         PUTBACK;
5982         return;
5983     }
5984 }
5985
5986
5987 XS(XS_Wx__IconBundle_AddIcon); /* prototype to pass -Wmissing-prototypes */
5988 XS(XS_Wx__IconBundle_AddIcon)
5989 {
5990 #ifdef dVAR
5991     dVAR; dXSARGS;
5992 #else
5993     dXSARGS;
5994 #endif
5995     if (items < 1)
5996        croak_xs_usage(cv,  "THIS, ...");
5997     PERL_UNUSED_VAR(ax); /* -Wall */
5998     SP -= items;
5999     {
6000         wxIconBundle *    THIS = (wxIconBundle *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::IconBundle" );
6001     BEGIN_OVERLOAD()
6002         MATCH_REDISP_COUNT_ALLOWMORE( wxPliOvl_s_n, AddIconFile, 1 )
6003         MATCH_REDISP( wxPliOvl_wico, AddIconIcon )
6004     END_OVERLOAD( Wx::IconBundle::AddIcon )
6005         PUTBACK;
6006         return;
6007     }
6008 }
6009
6010
6011 XS(XS_Wx__IconBundle_GetIcon); /* prototype to pass -Wmissing-prototypes */
6012 XS(XS_Wx__IconBundle_GetIcon)
6013 {
6014 #ifdef dVAR
6015     dVAR; dXSARGS;
6016 #else
6017     dXSARGS;
6018 #endif
6019     if (items < 1)
6020        croak_xs_usage(cv,  "THIS, ...");
6021     PERL_UNUSED_VAR(ax); /* -Wall */
6022     SP -= items;
6023     {
6024         wxIconBundle *    THIS = (wxIconBundle *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::IconBundle" );
6025     BEGIN_OVERLOAD()
6026         MATCH_REDISP( wxPliOvl_wsiz, GetIconSize )
6027         MATCH_REDISP( wxPliOvl_n, GetIconCoord )
6028     END_OVERLOAD( Wx::IconBundle::GetIcon )
6029         PUTBACK;
6030         return;
6031     }
6032 }
6033
6034
6035 /* INCLUDE: Returning to 'Frames.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/IconBundle.xsp |' */
6036
6037
6038 /* INCLUDE:  Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/TopLevelWindow.xsp |' from 'Frames.xs' */
6039
6040 #if !defined(__WXMOTIF__) || WXPERL_W_VERSION_GE( 2, 5, 1 )
6041 #include <wx/toplevel.h>
6042 #include "cpp/overload.h"
6043 #if WXPERL_W_VERSION_GE( 2, 5, 3 )
6044 #define XSubPPtmpAAAV 1
6045
6046
6047 XS(XS_Wx__TopLevelWindow_RequestUserAttention); /* prototype to pass -Wmissing-prototypes */
6048 XS(XS_Wx__TopLevelWindow_RequestUserAttention)
6049 {
6050 #ifdef dVAR
6051     dVAR; dXSARGS;
6052 #else
6053     dXSARGS;
6054 #endif
6055     if (items < 1 || items > 2)
6056        croak_xs_usage(cv,  "THIS, flags = wxUSER_ATTENTION_INFO");
6057     {
6058         int     flags;
6059         wxTopLevelWindow *    THIS = (wxTopLevelWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TopLevelWindow" );
6060
6061         if (items < 2)
6062             flags = wxUSER_ATTENTION_INFO;
6063         else {
6064             flags = (int)SvIV(ST(1));
6065         }
6066
6067         THIS->RequestUserAttention(flags);
6068     }
6069     XSRETURN_EMPTY;
6070 }
6071
6072 #endif
6073 #if WXPERL_W_VERSION_GE( 2, 7, 0 )
6074 #define XSubPPtmpAAAW 1
6075
6076
6077 XS(XS_Wx__TopLevelWindow_IsAlwaysMaximized); /* prototype to pass -Wmissing-prototypes */
6078 XS(XS_Wx__TopLevelWindow_IsAlwaysMaximized)
6079 {
6080 #ifdef dVAR
6081     dVAR; dXSARGS;
6082 #else
6083     dXSARGS;
6084 #endif
6085     if (items != 1)
6086        croak_xs_usage(cv,  "THIS");
6087     {
6088         wxTopLevelWindow *    THIS = (wxTopLevelWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TopLevelWindow" );
6089         bool    RETVAL;
6090
6091         RETVAL = THIS->IsAlwaysMaximized();
6092         ST(0) = boolSV(RETVAL);
6093         sv_2mortal(ST(0));
6094     }
6095     XSRETURN(1);
6096 }
6097
6098
6099 XS(XS_Wx__TopLevelWindow_GetDefaultItem); /* prototype to pass -Wmissing-prototypes */
6100 XS(XS_Wx__TopLevelWindow_GetDefaultItem)
6101 {
6102 #ifdef dVAR
6103     dVAR; dXSARGS;
6104 #else
6105     dXSARGS;
6106 #endif
6107     if (items != 1)
6108        croak_xs_usage(cv,  "THIS");
6109     {
6110         wxTopLevelWindow *    THIS = (wxTopLevelWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TopLevelWindow" );
6111         wxWindow *      RETVAL;
6112
6113         RETVAL = THIS->GetDefaultItem();
6114         ST(0) = sv_newmortal();
6115     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
6116
6117     }
6118     XSRETURN(1);
6119 }
6120
6121
6122 XS(XS_Wx__TopLevelWindow_SetDefaultItem); /* prototype to pass -Wmissing-prototypes */
6123 XS(XS_Wx__TopLevelWindow_SetDefaultItem)
6124 {
6125 #ifdef dVAR
6126     dVAR; dXSARGS;
6127 #else
6128     dXSARGS;
6129 #endif
6130     if (items != 2)
6131        croak_xs_usage(cv,  "THIS, win");
6132     {
6133         wxWindow*    win = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
6134         wxTopLevelWindow *    THIS = (wxTopLevelWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TopLevelWindow" );
6135         wxWindow *      RETVAL;
6136
6137         RETVAL = THIS->SetDefaultItem(win);
6138         ST(0) = sv_newmortal();
6139     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
6140
6141     }
6142     XSRETURN(1);
6143 }
6144
6145
6146 XS(XS_Wx__TopLevelWindow_GetTmpDefaultItem); /* prototype to pass -Wmissing-prototypes */
6147 XS(XS_Wx__TopLevelWindow_GetTmpDefaultItem)
6148 {
6149 #ifdef dVAR
6150     dVAR; dXSARGS;
6151 #else
6152     dXSARGS;
6153 #endif
6154     if (items != 1)
6155        croak_xs_usage(cv,  "THIS");
6156     {
6157         wxTopLevelWindow *    THIS = (wxTopLevelWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TopLevelWindow" );
6158         wxWindow *      RETVAL;
6159
6160         RETVAL = THIS->GetTmpDefaultItem();
6161         ST(0) = sv_newmortal();
6162     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
6163
6164     }
6165     XSRETURN(1);
6166 }
6167
6168
6169 XS(XS_Wx__TopLevelWindow_SetTmpDefaultItem); /* prototype to pass -Wmissing-prototypes */
6170 XS(XS_Wx__TopLevelWindow_SetTmpDefaultItem)
6171 {
6172 #ifdef dVAR
6173     dVAR; dXSARGS;
6174 #else
6175     dXSARGS;
6176 #endif
6177     if (items != 2)
6178        croak_xs_usage(cv,  "THIS, win");
6179     {
6180         wxWindow*    win = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
6181         wxTopLevelWindow *    THIS = (wxTopLevelWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TopLevelWindow" );
6182         wxWindow *      RETVAL;
6183
6184         RETVAL = THIS->SetTmpDefaultItem(win);
6185         ST(0) = sv_newmortal();
6186     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
6187
6188     }
6189     XSRETURN(1);
6190 }
6191
6192
6193 XS(XS_Wx__TopLevelWindow_SetTransparent); /* prototype to pass -Wmissing-prototypes */
6194 XS(XS_Wx__TopLevelWindow_SetTransparent)
6195 {
6196 #ifdef dVAR
6197     dVAR; dXSARGS;
6198 #else
6199     dXSARGS;
6200 #endif
6201     if (items != 2)
6202        croak_xs_usage(cv,  "THIS, alpha");
6203     {
6204         wxByte  alpha = (unsigned char)SvUV(ST(1));
6205         wxTopLevelWindow *    THIS = (wxTopLevelWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TopLevelWindow" );
6206         bool    RETVAL;
6207
6208         RETVAL = THIS->SetTransparent(alpha);
6209         ST(0) = boolSV(RETVAL);
6210         sv_2mortal(ST(0));
6211     }
6212     XSRETURN(1);
6213 }
6214
6215
6216 XS(XS_Wx__TopLevelWindow_CanSetTransparent); /* prototype to pass -Wmissing-prototypes */
6217 XS(XS_Wx__TopLevelWindow_CanSetTransparent)
6218 {
6219 #ifdef dVAR
6220     dVAR; dXSARGS;
6221 #else
6222     dXSARGS;
6223 #endif
6224     if (items != 1)
6225        croak_xs_usage(cv,  "THIS");
6226     {
6227         wxTopLevelWindow *    THIS = (wxTopLevelWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TopLevelWindow" );
6228         bool    RETVAL;
6229
6230         RETVAL = THIS->CanSetTransparent();
6231         ST(0) = boolSV(RETVAL);
6232         sv_2mortal(ST(0));
6233     }
6234     XSRETURN(1);
6235 }
6236
6237 #endif
6238 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
6239 #define XSubPPtmpAAAX 1
6240
6241
6242 XS(XS_Wx__TopLevelWindow_EnableCloseButton); /* prototype to pass -Wmissing-prototypes */
6243 XS(XS_Wx__TopLevelWindow_EnableCloseButton)
6244 {
6245 #ifdef dVAR
6246     dVAR; dXSARGS;
6247 #else
6248     dXSARGS;
6249 #endif
6250     if (items != 2)
6251        croak_xs_usage(cv,  "THIS, enable");
6252     {
6253         bool    enable = (bool)SvTRUE(ST(1));
6254         wxTopLevelWindow *    THIS = (wxTopLevelWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TopLevelWindow" );
6255         bool    RETVAL;
6256
6257         RETVAL = THIS->EnableCloseButton(enable);
6258         ST(0) = boolSV(RETVAL);
6259         sv_2mortal(ST(0));
6260     }
6261     XSRETURN(1);
6262 }
6263
6264 #endif
6265 #define XSubPPtmpAAAY 1
6266
6267
6268 XS(XS_Wx__TopLevelWindow_GetIcon); /* prototype to pass -Wmissing-prototypes */
6269 XS(XS_Wx__TopLevelWindow_GetIcon)
6270 {
6271 #ifdef dVAR
6272     dVAR; dXSARGS;
6273 #else
6274     dXSARGS;
6275 #endif
6276     if (items != 1)
6277        croak_xs_usage(cv,  "THIS");
6278     {
6279         wxTopLevelWindow *    THIS = (wxTopLevelWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TopLevelWindow" );
6280         wxIcon *        RETVAL;
6281     RETVAL = new wxIcon( THIS->GetIcon() );
6282         ST(0) = sv_newmortal();
6283     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
6284     wxPli_thread_sv_register( aTHX_ "Wx::Icon", RETVAL, ST(0) );
6285
6286     }
6287     XSRETURN(1);
6288 }
6289
6290
6291 XS(XS_Wx__TopLevelWindow_GetIcons); /* prototype to pass -Wmissing-prototypes */
6292 XS(XS_Wx__TopLevelWindow_GetIcons)
6293 {
6294 #ifdef dVAR
6295     dVAR; dXSARGS;
6296 #else
6297     dXSARGS;
6298 #endif
6299     if (items != 1)
6300        croak_xs_usage(cv,  "THIS");
6301     {
6302         wxTopLevelWindow *    THIS = (wxTopLevelWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TopLevelWindow" );
6303         wxIconBundle *  RETVAL;
6304     RETVAL = new wxIconBundle( THIS->GetIcons() );
6305         ST(0) = sv_newmortal();
6306     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::IconBundle" );
6307
6308     }
6309     XSRETURN(1);
6310 }
6311
6312
6313 XS(XS_Wx__TopLevelWindow_SetIcon); /* prototype to pass -Wmissing-prototypes */
6314 XS(XS_Wx__TopLevelWindow_SetIcon)
6315 {
6316 #ifdef dVAR
6317     dVAR; dXSARGS;
6318 #else
6319     dXSARGS;
6320 #endif
6321     if (items != 2)
6322        croak_xs_usage(cv,  "THIS, icon");
6323     {
6324         wxIcon*    icon = (wxIcon *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Icon" );
6325         wxTopLevelWindow *    THIS = (wxTopLevelWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TopLevelWindow" );
6326     THIS->SetIcon( *( icon ) );
6327     }
6328     XSRETURN_EMPTY;
6329 }
6330
6331
6332 XS(XS_Wx__TopLevelWindow_SetIcons); /* prototype to pass -Wmissing-prototypes */
6333 XS(XS_Wx__TopLevelWindow_SetIcons)
6334 {
6335 #ifdef dVAR
6336     dVAR; dXSARGS;
6337 #else
6338     dXSARGS;
6339 #endif
6340     if (items != 2)
6341        croak_xs_usage(cv,  "THIS, icons");
6342     {
6343         wxIconBundle*    icons = (wxIconBundle *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::IconBundle" );
6344         wxTopLevelWindow *    THIS = (wxTopLevelWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TopLevelWindow" );
6345     THIS->SetIcons( *( icons ) );
6346     }
6347     XSRETURN_EMPTY;
6348 }
6349
6350
6351 XS(XS_Wx__TopLevelWindow_Iconize); /* prototype to pass -Wmissing-prototypes */
6352 XS(XS_Wx__TopLevelWindow_Iconize)
6353 {
6354 #ifdef dVAR
6355     dVAR; dXSARGS;
6356 #else
6357     dXSARGS;
6358 #endif
6359     if (items != 2)
6360        croak_xs_usage(cv,  "THIS, iconize");
6361     {
6362         bool    iconize = (bool)SvTRUE(ST(1));
6363         wxTopLevelWindow *    THIS = (wxTopLevelWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TopLevelWindow" );
6364
6365         THIS->Iconize(iconize);
6366     }
6367     XSRETURN_EMPTY;
6368 }
6369
6370
6371 XS(XS_Wx__TopLevelWindow_Maximize); /* prototype to pass -Wmissing-prototypes */
6372 XS(XS_Wx__TopLevelWindow_Maximize)
6373 {
6374 #ifdef dVAR
6375     dVAR; dXSARGS;
6376 #else
6377     dXSARGS;
6378 #endif
6379     if (items != 2)
6380        croak_xs_usage(cv,  "THIS, maximize");
6381     {
6382         bool    maximize = (bool)SvTRUE(ST(1));
6383         wxTopLevelWindow *    THIS = (wxTopLevelWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TopLevelWindow" );
6384
6385         THIS->Maximize(maximize);
6386     }
6387     XSRETURN_EMPTY;
6388 }
6389
6390
6391 XS(XS_Wx__TopLevelWindow_ShowFullScreen); /* prototype to pass -Wmissing-prototypes */
6392 XS(XS_Wx__TopLevelWindow_ShowFullScreen)
6393 {
6394 #ifdef dVAR
6395     dVAR; dXSARGS;
6396 #else
6397     dXSARGS;
6398 #endif
6399     if (items < 2 || items > 3)
6400        croak_xs_usage(cv,  "THIS, show, style = wxFULLSCREEN_ALL");
6401     {
6402         bool    show = (bool)SvTRUE(ST(1));
6403         long    style;
6404         wxTopLevelWindow *    THIS = (wxTopLevelWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TopLevelWindow" );
6405         bool    RETVAL;
6406
6407         if (items < 3)
6408             style = wxFULLSCREEN_ALL;
6409         else {
6410             style = (long)SvIV(ST(2));
6411         }
6412
6413         RETVAL = THIS->ShowFullScreen(show, style);
6414         ST(0) = boolSV(RETVAL);
6415         sv_2mortal(ST(0));
6416     }
6417     XSRETURN(1);
6418 }
6419
6420
6421 XS(XS_Wx__TopLevelWindow_IsFullScreen); /* prototype to pass -Wmissing-prototypes */
6422 XS(XS_Wx__TopLevelWindow_IsFullScreen)
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         wxTopLevelWindow *    THIS = (wxTopLevelWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TopLevelWindow" );
6433         bool    RETVAL;
6434
6435         RETVAL = THIS->IsFullScreen();
6436         ST(0) = boolSV(RETVAL);
6437         sv_2mortal(ST(0));
6438     }
6439     XSRETURN(1);
6440 }
6441
6442
6443 XS(XS_Wx__TopLevelWindow_IsActive); /* prototype to pass -Wmissing-prototypes */
6444 XS(XS_Wx__TopLevelWindow_IsActive)
6445 {
6446 #ifdef dVAR
6447     dVAR; dXSARGS;
6448 #else
6449     dXSARGS;
6450 #endif
6451     if (items != 1)
6452        croak_xs_usage(cv,  "THIS");
6453     {
6454         wxTopLevelWindow *    THIS = (wxTopLevelWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TopLevelWindow" );
6455         bool    RETVAL;
6456
6457         RETVAL = THIS->IsActive();
6458         ST(0) = boolSV(RETVAL);
6459         sv_2mortal(ST(0));
6460     }
6461     XSRETURN(1);
6462 }
6463
6464
6465 XS(XS_Wx__TopLevelWindow_IsIconized); /* prototype to pass -Wmissing-prototypes */
6466 XS(XS_Wx__TopLevelWindow_IsIconized)
6467 {
6468 #ifdef dVAR
6469     dVAR; dXSARGS;
6470 #else
6471     dXSARGS;
6472 #endif
6473     if (items != 1)
6474        croak_xs_usage(cv,  "THIS");
6475     {
6476         wxTopLevelWindow *    THIS = (wxTopLevelWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TopLevelWindow" );
6477         bool    RETVAL;
6478
6479         RETVAL = THIS->IsIconized();
6480         ST(0) = boolSV(RETVAL);
6481         sv_2mortal(ST(0));
6482     }
6483     XSRETURN(1);
6484 }
6485
6486
6487 XS(XS_Wx__TopLevelWindow_IsMaximized); /* prototype to pass -Wmissing-prototypes */
6488 XS(XS_Wx__TopLevelWindow_IsMaximized)
6489 {
6490 #ifdef dVAR
6491     dVAR; dXSARGS;
6492 #else
6493     dXSARGS;
6494 #endif
6495     if (items != 1)
6496        croak_xs_usage(cv,  "THIS");
6497     {
6498         wxTopLevelWindow *    THIS = (wxTopLevelWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TopLevelWindow" );
6499         bool    RETVAL;
6500
6501         RETVAL = THIS->IsMaximized();
6502         ST(0) = boolSV(RETVAL);
6503         sv_2mortal(ST(0));
6504     }
6505     XSRETURN(1);
6506 }
6507
6508 #ifdef __WXUNIVERSAL__
6509 #define XSubPPtmpAAAZ 1
6510
6511
6512 XS(XS_Wx__TopLevelWindow_IsUsingNativeDecorations); /* prototype to pass -Wmissing-prototypes */
6513 XS(XS_Wx__TopLevelWindow_IsUsingNativeDecorations)
6514 {
6515 #ifdef dVAR
6516     dVAR; dXSARGS;
6517 #else
6518     dXSARGS;
6519 #endif
6520     if (items != 1)
6521        croak_xs_usage(cv,  "THIS");
6522     {
6523         wxTopLevelWindow *    THIS = (wxTopLevelWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TopLevelWindow" );
6524         bool    RETVAL;
6525
6526         RETVAL = THIS->IsUsingNativeDecorations();
6527         ST(0) = boolSV(RETVAL);
6528         sv_2mortal(ST(0));
6529     }
6530     XSRETURN(1);
6531 }
6532
6533 #endif
6534
6535 XS(XS_Wx__TopLevelWindow_SetShape); /* prototype to pass -Wmissing-prototypes */
6536 XS(XS_Wx__TopLevelWindow_SetShape)
6537 {
6538 #ifdef dVAR
6539     dVAR; dXSARGS;
6540 #else
6541     dXSARGS;
6542 #endif
6543     if (items != 2)
6544        croak_xs_usage(cv,  "THIS, region");
6545     {
6546         wxRegion*    region = (wxRegion *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Region" );
6547         wxTopLevelWindow *    THIS = (wxTopLevelWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TopLevelWindow" );
6548     THIS->SetShape( *( region ) );
6549     }
6550     XSRETURN_EMPTY;
6551 }
6552
6553 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
6554 #define XSubPPtmpAABA 1
6555
6556
6557 XS(XS_Wx__TopLevelWindow_ShouldPreventAppExit); /* prototype to pass -Wmissing-prototypes */
6558 XS(XS_Wx__TopLevelWindow_ShouldPreventAppExit)
6559 {
6560 #ifdef dVAR
6561     dVAR; dXSARGS;
6562 #else
6563     dXSARGS;
6564 #endif
6565     if (items != 1)
6566        croak_xs_usage(cv,  "THIS");
6567     {
6568         wxTopLevelWindow *    THIS = (wxTopLevelWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TopLevelWindow" );
6569         bool    RETVAL;
6570
6571         RETVAL = THIS->ShouldPreventAppExit();
6572         ST(0) = boolSV(RETVAL);
6573         sv_2mortal(ST(0));
6574     }
6575     XSRETURN(1);
6576 }
6577
6578 #endif
6579 #ifdef __WXUNIVERSAL__
6580 #define XSubPPtmpAABB 1
6581
6582
6583 XS(XS_Wx__TopLevelWindow_UseNativeDecorations); /* prototype to pass -Wmissing-prototypes */
6584 XS(XS_Wx__TopLevelWindow_UseNativeDecorations)
6585 {
6586 #ifdef dVAR
6587     dVAR; dXSARGS;
6588 #else
6589     dXSARGS;
6590 #endif
6591     if (items < 1 || items > 2)
6592        croak_xs_usage(cv,  "THIS, native = true");
6593     {
6594         bool    native;
6595         wxTopLevelWindow *    THIS = (wxTopLevelWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TopLevelWindow" );
6596
6597         if (items < 2)
6598             native = true;
6599         else {
6600             native = (bool)SvTRUE(ST(1));
6601         }
6602
6603         THIS->UseNativeDecorations(native);
6604     }
6605     XSRETURN_EMPTY;
6606 }
6607
6608
6609 XS(XS_Wx__TopLevelWindow_UseNativeDecorationsByDefault); /* prototype to pass -Wmissing-prototypes */
6610 XS(XS_Wx__TopLevelWindow_UseNativeDecorationsByDefault)
6611 {
6612 #ifdef dVAR
6613     dVAR; dXSARGS;
6614 #else
6615     dXSARGS;
6616 #endif
6617     if (items < 1 || items > 2)
6618        croak_xs_usage(cv,  "THIS, native = true");
6619     {
6620         bool    native;
6621         wxTopLevelWindow *    THIS = (wxTopLevelWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TopLevelWindow" );
6622
6623         if (items < 2)
6624             native = true;
6625         else {
6626             native = (bool)SvTRUE(ST(1));
6627         }
6628     wxTopLevelWindow::UseNativeDecorationsByDefault( native );
6629     }
6630     XSRETURN_EMPTY;
6631 }
6632
6633 #endif
6634 #endif
6635
6636 /* INCLUDE: Returning to 'Frames.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/TopLevelWindow.xsp |' */
6637
6638
6639 /* INCLUDE:  Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/PopupWindow.xsp |' from 'Frames.xs' */
6640
6641 #if wxUSE_POPUPWIN
6642 #include "wx/popupwin.h"
6643 #include "cpp/popupwin.h"
6644 #define XSubPPtmpAABC 1
6645
6646
6647 XS(XS_Wx__PopupWindow_newDefault); /* prototype to pass -Wmissing-prototypes */
6648 XS(XS_Wx__PopupWindow_newDefault)
6649 {
6650 #ifdef dVAR
6651     dVAR; dXSARGS;
6652 #else
6653     dXSARGS;
6654 #endif
6655     if (items != 1)
6656        croak_xs_usage(cv,  "CLASS");
6657     {
6658         char *  CLASS = (char *)SvPV_nolen(ST(0));
6659         wxPopupWindow * RETVAL;
6660      RETVAL = new wxPopupWindow();
6661                 wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
6662
6663         ST(0) = sv_newmortal();
6664     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
6665
6666     }
6667     XSRETURN(1);
6668 }
6669
6670
6671 XS(XS_Wx__PopupWindow_newFull); /* prototype to pass -Wmissing-prototypes */
6672 XS(XS_Wx__PopupWindow_newFull)
6673 {
6674 #ifdef dVAR
6675     dVAR; dXSARGS;
6676 #else
6677     dXSARGS;
6678 #endif
6679     if (items < 2 || items > 3)
6680        croak_xs_usage(cv,  "CLASS, parent, flags = wxBORDER_NONE");
6681     {
6682         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
6683         int     flags;
6684         char *  CLASS = (char *)SvPV_nolen(ST(0));
6685         wxPopupWindow * RETVAL;
6686
6687         if (items < 3)
6688             flags = wxBORDER_NONE;
6689         else {
6690             flags = (int)SvIV(ST(2));
6691         }
6692      RETVAL = new wxPopupWindow( parent, flags );
6693                 wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
6694
6695         ST(0) = sv_newmortal();
6696     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
6697
6698     }
6699     XSRETURN(1);
6700 }
6701
6702
6703 XS(XS_Wx__PopupWindow_Create); /* prototype to pass -Wmissing-prototypes */
6704 XS(XS_Wx__PopupWindow_Create)
6705 {
6706 #ifdef dVAR
6707     dVAR; dXSARGS;
6708 #else
6709     dXSARGS;
6710 #endif
6711     if (items < 2 || items > 3)
6712        croak_xs_usage(cv,  "THIS, parent, flags = wxBORDER_NONE");
6713     {
6714         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
6715         int     flags;
6716         wxPopupWindow *    THIS = (wxPopupWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PopupWindow" );
6717         bool    RETVAL;
6718
6719         if (items < 3)
6720             flags = wxBORDER_NONE;
6721         else {
6722             flags = (int)SvIV(ST(2));
6723         }
6724
6725         RETVAL = THIS->Create(parent, flags);
6726         ST(0) = boolSV(RETVAL);
6727         sv_2mortal(ST(0));
6728     }
6729     XSRETURN(1);
6730 }
6731
6732
6733 XS(XS_Wx__PopupWindow_Position); /* prototype to pass -Wmissing-prototypes */
6734 XS(XS_Wx__PopupWindow_Position)
6735 {
6736 #ifdef dVAR
6737     dVAR; dXSARGS;
6738 #else
6739     dXSARGS;
6740 #endif
6741     if (items != 3)
6742        croak_xs_usage(cv,  "THIS, ptOrigin, size");
6743     {
6744         wxPoint    ptOrigin = wxPli_sv_2_wxpoint( aTHX_ ST(1) );
6745         wxSize    size = wxPli_sv_2_wxsize( aTHX_ ST(2) );
6746         wxPopupWindow *    THIS = (wxPopupWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PopupWindow" );
6747
6748         THIS->Position(ptOrigin, size);
6749     }
6750     XSRETURN_EMPTY;
6751 }
6752
6753
6754 XS(XS_Wx__PopupWindow_new); /* prototype to pass -Wmissing-prototypes */
6755 XS(XS_Wx__PopupWindow_new)
6756 {
6757 #ifdef dVAR
6758     dVAR; dXSARGS;
6759 #else
6760     dXSARGS;
6761 #endif
6762     PERL_UNUSED_VAR(cv); /* -W */
6763     PERL_UNUSED_VAR(ax); /* -Wall */
6764     SP -= items;
6765     {
6766     BEGIN_OVERLOAD()
6767         MATCH_VOIDM_REDISP( newDefault )
6768         MATCH_ANY_REDISP( newFull )
6769     END_OVERLOAD( "Wx::PopupWindow::new" )
6770         PUTBACK;
6771         return;
6772     }
6773 }
6774
6775
6776 XS(XS_Wx__PopupTransientWindow_newDefault); /* prototype to pass -Wmissing-prototypes */
6777 XS(XS_Wx__PopupTransientWindow_newDefault)
6778 {
6779 #ifdef dVAR
6780     dVAR; dXSARGS;
6781 #else
6782     dXSARGS;
6783 #endif
6784     if (items != 1)
6785        croak_xs_usage(cv,  "CLASS");
6786     {
6787         char *  CLASS = (char *)SvPV_nolen(ST(0));
6788         wxPopupTransientWindow *        RETVAL;
6789      RETVAL = new wxPopupTransientWindow();
6790                 wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
6791
6792         ST(0) = sv_newmortal();
6793     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
6794
6795     }
6796     XSRETURN(1);
6797 }
6798
6799
6800 XS(XS_Wx__PopupTransientWindow_newFull); /* prototype to pass -Wmissing-prototypes */
6801 XS(XS_Wx__PopupTransientWindow_newFull)
6802 {
6803 #ifdef dVAR
6804     dVAR; dXSARGS;
6805 #else
6806     dXSARGS;
6807 #endif
6808     if (items < 2 || items > 3)
6809        croak_xs_usage(cv,  "CLASS, parent, flags = wxBORDER_NONE");
6810     {
6811         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
6812         int     flags;
6813         char *  CLASS = (char *)SvPV_nolen(ST(0));
6814         wxPopupTransientWindow *        RETVAL;
6815
6816         if (items < 3)
6817             flags = wxBORDER_NONE;
6818         else {
6819             flags = (int)SvIV(ST(2));
6820         }
6821      RETVAL = new wxPopupTransientWindow( parent, flags );
6822                 wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
6823
6824         ST(0) = sv_newmortal();
6825     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
6826
6827     }
6828     XSRETURN(1);
6829 }
6830
6831
6832 XS(XS_Wx__PopupTransientWindow_Popup); /* prototype to pass -Wmissing-prototypes */
6833 XS(XS_Wx__PopupTransientWindow_Popup)
6834 {
6835 #ifdef dVAR
6836     dVAR; dXSARGS;
6837 #else
6838     dXSARGS;
6839 #endif
6840     if (items < 1 || items > 2)
6841        croak_xs_usage(cv,  "THIS, focus = NULL");
6842     {
6843         wxWindow*       focus;
6844         wxPopupTransientWindow *    THIS = (wxPopupTransientWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PopupTransientWindow" );
6845
6846         if (items < 2)
6847             focus = NULL;
6848         else {
6849     focus = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
6850         }
6851
6852         THIS->Popup(focus);
6853     }
6854     XSRETURN_EMPTY;
6855 }
6856
6857
6858 XS(XS_Wx__PopupTransientWindow_Dismiss); /* prototype to pass -Wmissing-prototypes */
6859 XS(XS_Wx__PopupTransientWindow_Dismiss)
6860 {
6861 #ifdef dVAR
6862     dVAR; dXSARGS;
6863 #else
6864     dXSARGS;
6865 #endif
6866     if (items != 1)
6867        croak_xs_usage(cv,  "THIS");
6868     {
6869         wxPopupTransientWindow *    THIS = (wxPopupTransientWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PopupTransientWindow" );
6870
6871         THIS->Dismiss();
6872     }
6873     XSRETURN_EMPTY;
6874 }
6875
6876
6877 XS(XS_Wx__PopupTransientWindow_CanDismiss); /* prototype to pass -Wmissing-prototypes */
6878 XS(XS_Wx__PopupTransientWindow_CanDismiss)
6879 {
6880 #ifdef dVAR
6881     dVAR; dXSARGS;
6882 #else
6883     dXSARGS;
6884 #endif
6885     if (items != 1)
6886        croak_xs_usage(cv,  "THIS");
6887     {
6888         wxPopupTransientWindow *    THIS = (wxPopupTransientWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PopupTransientWindow" );
6889         bool    RETVAL;
6890
6891         RETVAL = THIS->CanDismiss();
6892         ST(0) = boolSV(RETVAL);
6893         sv_2mortal(ST(0));
6894     }
6895     XSRETURN(1);
6896 }
6897
6898
6899 XS(XS_Wx__PopupTransientWindow_ProcessLeftDown); /* prototype to pass -Wmissing-prototypes */
6900 XS(XS_Wx__PopupTransientWindow_ProcessLeftDown)
6901 {
6902 #ifdef dVAR
6903     dVAR; dXSARGS;
6904 #else
6905     dXSARGS;
6906 #endif
6907     if (items != 2)
6908        croak_xs_usage(cv,  "THIS, event");
6909     {
6910         wxMouseEvent*    event = (wxMouseEvent *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::MouseEvent" );
6911         wxPopupTransientWindow *    THIS = (wxPopupTransientWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PopupTransientWindow" );
6912         bool    RETVAL;
6913     RETVAL = THIS->ProcessLeftDown( *( event ) );
6914         ST(0) = boolSV(RETVAL);
6915         sv_2mortal(ST(0));
6916     }
6917     XSRETURN(1);
6918 }
6919
6920
6921 XS(XS_Wx__PopupTransientWindow_new); /* prototype to pass -Wmissing-prototypes */
6922 XS(XS_Wx__PopupTransientWindow_new)
6923 {
6924 #ifdef dVAR
6925     dVAR; dXSARGS;
6926 #else
6927     dXSARGS;
6928 #endif
6929     PERL_UNUSED_VAR(cv); /* -W */
6930     PERL_UNUSED_VAR(ax); /* -Wall */
6931     SP -= items;
6932     {
6933     BEGIN_OVERLOAD()
6934         MATCH_VOIDM_REDISP( newDefault )
6935         MATCH_ANY_REDISP( newFull )
6936     END_OVERLOAD( "Wx::PopupTransientWindow::new" )
6937         PUTBACK;
6938         return;
6939     }
6940 }
6941
6942 #define Popup wxPopupTransientWindow::Popup
6943 #define Dismiss wxPopupTransientWindow::Dismiss
6944 #define CanDismiss wxPopupTransientWindow::CanDismiss
6945 #define ProcessLeftDown wxPopupTransientWindow::ProcessLeftDown
6946
6947 XS(XS_Wx__PlPopupTransientWindow_newDefault); /* prototype to pass -Wmissing-prototypes */
6948 XS(XS_Wx__PlPopupTransientWindow_newDefault)
6949 {
6950 #ifdef dVAR
6951     dVAR; dXSARGS;
6952 #else
6953     dXSARGS;
6954 #endif
6955     if (items != 1)
6956        croak_xs_usage(cv,  "CLASS");
6957     {
6958         char *  CLASS = (char *)SvPV_nolen(ST(0));
6959         wxPlPopupTransientWindow *      RETVAL;
6960      RETVAL = new wxPlPopupTransientWindow( CLASS );
6961                 wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
6962
6963         ST(0) = sv_newmortal();
6964     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
6965
6966     }
6967     XSRETURN(1);
6968 }
6969
6970
6971 XS(XS_Wx__PlPopupTransientWindow_newFull); /* prototype to pass -Wmissing-prototypes */
6972 XS(XS_Wx__PlPopupTransientWindow_newFull)
6973 {
6974 #ifdef dVAR
6975     dVAR; dXSARGS;
6976 #else
6977     dXSARGS;
6978 #endif
6979     if (items < 2 || items > 3)
6980        croak_xs_usage(cv,  "CLASS, parent, flags = wxBORDER_NONE");
6981     {
6982         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
6983         int     flags;
6984         char *  CLASS = (char *)SvPV_nolen(ST(0));
6985         wxPlPopupTransientWindow *      RETVAL;
6986
6987         if (items < 3)
6988             flags = wxBORDER_NONE;
6989         else {
6990             flags = (int)SvIV(ST(2));
6991         }
6992      RETVAL = new wxPlPopupTransientWindow( CLASS, parent, flags );
6993                 wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
6994
6995         ST(0) = sv_newmortal();
6996     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
6997
6998     }
6999     XSRETURN(1);
7000 }
7001
7002
7003 XS(XS_Wx__PlPopupTransientWindow_Popup); /* prototype to pass -Wmissing-prototypes */
7004 XS(XS_Wx__PlPopupTransientWindow_Popup)
7005 {
7006 #ifdef dVAR
7007     dVAR; dXSARGS;
7008 #else
7009     dXSARGS;
7010 #endif
7011     if (items < 1 || items > 2)
7012        croak_xs_usage(cv,  "THIS, focus = NULL");
7013     {
7014         wxWindow*       focus;
7015         wxPlPopupTransientWindow *    THIS = (wxPlPopupTransientWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlPopupTransientWindow" );
7016
7017         if (items < 2)
7018             focus = NULL;
7019         else {
7020     focus = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
7021         }
7022
7023         THIS->Popup(focus);
7024     }
7025     XSRETURN_EMPTY;
7026 }
7027
7028
7029 XS(XS_Wx__PlPopupTransientWindow_Dismiss); /* prototype to pass -Wmissing-prototypes */
7030 XS(XS_Wx__PlPopupTransientWindow_Dismiss)
7031 {
7032 #ifdef dVAR
7033     dVAR; dXSARGS;
7034 #else
7035     dXSARGS;
7036 #endif
7037     if (items != 1)
7038        croak_xs_usage(cv,  "THIS");
7039     {
7040         wxPlPopupTransientWindow *    THIS = (wxPlPopupTransientWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlPopupTransientWindow" );
7041
7042         THIS->Dismiss();
7043     }
7044     XSRETURN_EMPTY;
7045 }
7046
7047
7048 XS(XS_Wx__PlPopupTransientWindow_CanDismiss); /* prototype to pass -Wmissing-prototypes */
7049 XS(XS_Wx__PlPopupTransientWindow_CanDismiss)
7050 {
7051 #ifdef dVAR
7052     dVAR; dXSARGS;
7053 #else
7054     dXSARGS;
7055 #endif
7056     if (items != 1)
7057        croak_xs_usage(cv,  "THIS");
7058     {
7059         wxPlPopupTransientWindow *    THIS = (wxPlPopupTransientWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlPopupTransientWindow" );
7060         bool    RETVAL;
7061
7062         RETVAL = THIS->CanDismiss();
7063         ST(0) = boolSV(RETVAL);
7064         sv_2mortal(ST(0));
7065     }
7066     XSRETURN(1);
7067 }
7068
7069
7070 XS(XS_Wx__PlPopupTransientWindow_ProcessLeftDown); /* prototype to pass -Wmissing-prototypes */
7071 XS(XS_Wx__PlPopupTransientWindow_ProcessLeftDown)
7072 {
7073 #ifdef dVAR
7074     dVAR; dXSARGS;
7075 #else
7076     dXSARGS;
7077 #endif
7078     if (items != 2)
7079        croak_xs_usage(cv,  "THIS, event");
7080     {
7081         wxMouseEvent*    event = (wxMouseEvent *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::MouseEvent" );
7082         wxPlPopupTransientWindow *    THIS = (wxPlPopupTransientWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlPopupTransientWindow" );
7083         bool    RETVAL;
7084     RETVAL = THIS->ProcessLeftDown( *( event ) );
7085         ST(0) = boolSV(RETVAL);
7086         sv_2mortal(ST(0));
7087     }
7088     XSRETURN(1);
7089 }
7090
7091 #undef Popup
7092 #undef Dismiss
7093 #undef CanDismiss
7094 #undef ProcessLeftDown
7095
7096 XS(XS_Wx__PlPopupTransientWindow_new); /* prototype to pass -Wmissing-prototypes */
7097 XS(XS_Wx__PlPopupTransientWindow_new)
7098 {
7099 #ifdef dVAR
7100     dVAR; dXSARGS;
7101 #else
7102     dXSARGS;
7103 #endif
7104     PERL_UNUSED_VAR(cv); /* -W */
7105     PERL_UNUSED_VAR(ax); /* -Wall */
7106     SP -= items;
7107     {
7108     BEGIN_OVERLOAD()
7109         MATCH_VOIDM_REDISP( newDefault )
7110         MATCH_ANY_REDISP( newFull )
7111     END_OVERLOAD( "Wx::PlPopupTransientWindow::new" )
7112         PUTBACK;
7113         return;
7114     }
7115 }
7116
7117 #endif // wxUSE_POPUPWIN
7118
7119 /* INCLUDE: Returning to 'Frames.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/PopupWindow.xsp |' */
7120
7121
7122 /* INCLUDE:  Including 'XS/ColourDialog.xs' from 'Frames.xs' */
7123
7124
7125 /* INCLUDE:  Including 'XS/DirDialog.xs' from 'XS/ColourDialog.xs' */
7126
7127
7128 /* INCLUDE:  Including 'XS/FileDialog.xs' from 'XS/DirDialog.xs' */
7129
7130
7131 /* INCLUDE:  Including 'XS/TextEntryDialog.xs' from 'XS/FileDialog.xs' */
7132
7133 #include <wx/textdlg.h>
7134
7135 XS(XS_Wx__TextEntryDialog_new); /* prototype to pass -Wmissing-prototypes */
7136 XS(XS_Wx__TextEntryDialog_new)
7137 {
7138 #ifdef dVAR
7139     dVAR; dXSARGS;
7140 #else
7141     dXSARGS;
7142 #endif
7143     if (items < 3 || items > 7)
7144        croak_xs_usage(cv,  "CLASS, parent, message, caption = wxGetTextFromUserPromptStr, defaultValue = wxEmptyString, style = wxTextEntryDialogStyle, pos = wxDefaultPosition");
7145     {
7146         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
7147         wxString        message;
7148         wxString        caption;
7149         wxString        defaultValue;
7150         long    style;
7151         wxPoint pos;
7152         char *  CLASS = (char *)SvPV_nolen(ST(0));
7153         wxTextEntryDialog *     RETVAL;
7154
7155     WXSTRING_INPUT( message, wxString, ST(2) );
7156
7157         if (items < 4)
7158             caption = wxGetTextFromUserPromptStr;
7159         else {
7160     WXSTRING_INPUT( caption, wxString, ST(3) );
7161         }
7162
7163         if (items < 5)
7164             defaultValue = wxEmptyString;
7165         else {
7166     WXSTRING_INPUT( defaultValue, wxString, ST(4) );
7167         }
7168
7169         if (items < 6)
7170             style = wxTextEntryDialogStyle;
7171         else {
7172             style = (long)SvIV(ST(5));
7173         }
7174
7175         if (items < 7)
7176             pos = wxDefaultPosition;
7177         else {
7178     pos = wxPli_sv_2_wxpoint( aTHX_ ST(6) );
7179         }
7180
7181         RETVAL = new wxTextEntryDialog(parent, message, caption, defaultValue, style, pos);
7182         ST(0) = sv_newmortal();
7183     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
7184
7185     }
7186     XSRETURN(1);
7187 }
7188
7189
7190 XS(XS_Wx__TextEntryDialog_GetValue); /* prototype to pass -Wmissing-prototypes */
7191 XS(XS_Wx__TextEntryDialog_GetValue)
7192 {
7193 #ifdef dVAR
7194     dVAR; dXSARGS;
7195 #else
7196     dXSARGS;
7197 #endif
7198     if (items != 1)
7199        croak_xs_usage(cv,  "THIS");
7200     {
7201         wxTextEntryDialog *    THIS = (wxTextEntryDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextEntryDialog" );
7202         wxString        RETVAL;
7203
7204         RETVAL = THIS->GetValue();
7205         ST(0) = sv_newmortal();
7206     WXSTRING_OUTPUT( RETVAL, ST(0) );
7207
7208     }
7209     XSRETURN(1);
7210 }
7211
7212
7213 XS(XS_Wx__TextEntryDialog_SetValue); /* prototype to pass -Wmissing-prototypes */
7214 XS(XS_Wx__TextEntryDialog_SetValue)
7215 {
7216 #ifdef dVAR
7217     dVAR; dXSARGS;
7218 #else
7219     dXSARGS;
7220 #endif
7221     if (items != 2)
7222        croak_xs_usage(cv,  "THIS, string");
7223     {
7224         wxString        string;
7225         wxTextEntryDialog *    THIS = (wxTextEntryDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextEntryDialog" );
7226
7227     WXSTRING_INPUT( string, wxString, ST(1) );
7228
7229         THIS->SetValue(string);
7230     }
7231     XSRETURN_EMPTY;
7232 }
7233
7234
7235 XS(XS_Wx__TextEntryDialog_ShowModal); /* prototype to pass -Wmissing-prototypes */
7236 XS(XS_Wx__TextEntryDialog_ShowModal)
7237 {
7238 #ifdef dVAR
7239     dVAR; dXSARGS;
7240 #else
7241     dXSARGS;
7242 #endif
7243     if (items != 1)
7244        croak_xs_usage(cv,  "THIS");
7245     {
7246         wxTextEntryDialog *    THIS = (wxTextEntryDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextEntryDialog" );
7247         int     RETVAL;
7248         dXSTARG;
7249
7250         RETVAL = THIS->ShowModal();
7251         XSprePUSH; PUSHi((IV)RETVAL);
7252     }
7253     XSRETURN(1);
7254 }
7255
7256 #if WXPERL_W_VERSION_GE( 2, 6, 0 )
7257 #define XSubPPtmpAABD 1
7258
7259
7260 XS(XS_Wx__PasswordEntryDialog_new); /* prototype to pass -Wmissing-prototypes */
7261 XS(XS_Wx__PasswordEntryDialog_new)
7262 {
7263 #ifdef dVAR
7264     dVAR; dXSARGS;
7265 #else
7266     dXSARGS;
7267 #endif
7268     if (items < 3 || items > 7)
7269        croak_xs_usage(cv,  "CLASS, parent, message, caption = wxGetPasswordFromUserPromptStr, defaultValue = wxEmptyString, style = wxTextEntryDialogStyle, pos = wxDefaultPosition");
7270     {
7271         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
7272         wxString        message;
7273         wxString        caption;
7274         wxString        defaultValue;
7275         long    style;
7276         wxPoint pos;
7277         char *  CLASS = (char *)SvPV_nolen(ST(0));
7278         wxPasswordEntryDialog * RETVAL;
7279
7280     WXSTRING_INPUT( message, wxString, ST(2) );
7281
7282         if (items < 4)
7283             caption = wxGetPasswordFromUserPromptStr;
7284         else {
7285     WXSTRING_INPUT( caption, wxString, ST(3) );
7286         }
7287
7288         if (items < 5)
7289             defaultValue = wxEmptyString;
7290         else {
7291     WXSTRING_INPUT( defaultValue, wxString, ST(4) );
7292         }
7293
7294         if (items < 6)
7295             style = wxTextEntryDialogStyle;
7296         else {
7297             style = (long)SvIV(ST(5));
7298         }
7299
7300         if (items < 7)
7301             pos = wxDefaultPosition;
7302         else {
7303     pos = wxPli_sv_2_wxpoint( aTHX_ ST(6) );
7304         }
7305
7306         RETVAL = new wxPasswordEntryDialog(parent, message, caption, defaultValue, style, pos);
7307         ST(0) = sv_newmortal();
7308     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
7309
7310     }
7311     XSRETURN(1);
7312 }
7313
7314 #endif
7315 #if WXPERL_W_VERSION_GE( 2, 5, 1 )
7316 #include <wx/numdlg.h>
7317 #define XSubPPtmpAABE 1
7318
7319
7320 XS(XS_Wx__NumberEntryDialog_new); /* prototype to pass -Wmissing-prototypes */
7321 XS(XS_Wx__NumberEntryDialog_new)
7322 {
7323 #ifdef dVAR
7324     dVAR; dXSARGS;
7325 #else
7326     dXSARGS;
7327 #endif
7328     if (items != 9)
7329        croak_xs_usage(cv,  "CLASS, parent, message, prompt, caption, value, min, max, pos");
7330     {
7331         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
7332         wxString        message;
7333         wxString        prompt;
7334         wxString        caption;
7335         long    value = (long)SvIV(ST(5));
7336         long    min = (long)SvIV(ST(6));
7337         long    max = (long)SvIV(ST(7));
7338         wxPoint    pos = wxPli_sv_2_wxpoint( aTHX_ ST(8) );
7339         char *  CLASS = (char *)SvPV_nolen(ST(0));
7340         wxNumberEntryDialog *   RETVAL;
7341
7342     WXSTRING_INPUT( message, wxString, ST(2) );
7343
7344     WXSTRING_INPUT( prompt, wxString, ST(3) );
7345
7346     WXSTRING_INPUT( caption, wxString, ST(4) );
7347
7348         RETVAL = new wxNumberEntryDialog(parent, message, prompt, caption, value, min, max, pos);
7349         ST(0) = sv_newmortal();
7350     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
7351
7352     }
7353     XSRETURN(1);
7354 }
7355
7356
7357 XS(XS_Wx__NumberEntryDialog_GetValue); /* prototype to pass -Wmissing-prototypes */
7358 XS(XS_Wx__NumberEntryDialog_GetValue)
7359 {
7360 #ifdef dVAR
7361     dVAR; dXSARGS;
7362 #else
7363     dXSARGS;
7364 #endif
7365     if (items != 1)
7366        croak_xs_usage(cv,  "THIS");
7367     {
7368         wxNumberEntryDialog *    THIS = (wxNumberEntryDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::NumberEntryDialog" );
7369         long    RETVAL;
7370         dXSTARG;
7371
7372         RETVAL = THIS->GetValue();
7373         XSprePUSH; PUSHi((IV)RETVAL);
7374     }
7375     XSRETURN(1);
7376 }
7377
7378 #endif
7379
7380 XS(XS_Wx_GetNumberFromUser); /* prototype to pass -Wmissing-prototypes */
7381 XS(XS_Wx_GetNumberFromUser)
7382 {
7383 #ifdef dVAR
7384     dVAR; dXSARGS;
7385 #else
7386     dXSARGS;
7387 #endif
7388     if (items < 4 || items > 8)
7389        croak_xs_usage(cv,  "message, prompt, caption, value, min = 0, max = 100, parent = 0, pos = wxDefaultPosition");
7390     {
7391         wxString        message;
7392         wxString        prompt;
7393         wxString        caption;
7394         long    value = (long)SvIV(ST(3));
7395         long    min;
7396         long    max;
7397         wxWindow*       parent;
7398         wxPoint pos;
7399         long    RETVAL;
7400         dXSTARG;
7401
7402     WXSTRING_INPUT( message, wxString, ST(0) );
7403
7404     WXSTRING_INPUT( prompt, wxString, ST(1) );
7405
7406     WXSTRING_INPUT( caption, wxString, ST(2) );
7407
7408         if (items < 5)
7409             min = 0;
7410         else {
7411             min = (long)SvIV(ST(4));
7412         }
7413
7414         if (items < 6)
7415             max = 100;
7416         else {
7417             max = (long)SvIV(ST(5));
7418         }
7419
7420         if (items < 7)
7421             parent = 0;
7422         else {
7423     parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(6), "Wx::Window" );
7424         }
7425
7426         if (items < 8)
7427             pos = wxDefaultPosition;
7428         else {
7429     pos = wxPli_sv_2_wxpoint( aTHX_ ST(7) );
7430         }
7431     RETVAL = wxGetNumberFromUser( message, prompt, caption, value, min, max, parent, pos );
7432         XSprePUSH; PUSHi((IV)RETVAL);
7433     }
7434     XSRETURN(1);
7435 }
7436
7437
7438 XS(XS_Wx_GetPasswordFromUser); /* prototype to pass -Wmissing-prototypes */
7439 XS(XS_Wx_GetPasswordFromUser)
7440 {
7441 #ifdef dVAR
7442     dVAR; dXSARGS;
7443 #else
7444     dXSARGS;
7445 #endif
7446     if (items < 1 || items > 4)
7447        croak_xs_usage(cv,  "message, caption = wxGetTextFromUserPromptStr, default_value = wxEmptyString, parent = 0");
7448     {
7449         wxString        message;
7450         wxString        caption;
7451         wxString        default_value;
7452         wxWindow*       parent;
7453         wxString        RETVAL;
7454
7455     WXSTRING_INPUT( message, wxString, ST(0) );
7456
7457         if (items < 2)
7458             caption = wxGetTextFromUserPromptStr;
7459         else {
7460     WXSTRING_INPUT( caption, wxString, ST(1) );
7461         }
7462
7463         if (items < 3)
7464             default_value = wxEmptyString;
7465         else {
7466     WXSTRING_INPUT( default_value, wxString, ST(2) );
7467         }
7468
7469         if (items < 4)
7470             parent = 0;
7471         else {
7472     parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::Window" );
7473         }
7474
7475         RETVAL = wxGetPasswordFromUser(message, caption, default_value, parent);
7476         ST(0) = sv_newmortal();
7477     WXSTRING_OUTPUT( RETVAL, ST(0) );
7478
7479     }
7480     XSRETURN(1);
7481 }
7482
7483
7484 XS(XS_Wx_GetTextFromUser); /* prototype to pass -Wmissing-prototypes */
7485 XS(XS_Wx_GetTextFromUser)
7486 {
7487 #ifdef dVAR
7488     dVAR; dXSARGS;
7489 #else
7490     dXSARGS;
7491 #endif
7492     if (items < 1 || items > 7)
7493        croak_xs_usage(cv,  "message, caption = wxGetTextFromUserPromptStr, default_value = wxEmptyString, parent = 0, x = -1, y = -1, centre = true");
7494     {
7495         wxString        message;
7496         wxString        caption;
7497         wxString        default_value;
7498         wxWindow*       parent;
7499         int     x;
7500         int     y;
7501         bool    centre;
7502         wxString        RETVAL;
7503
7504     WXSTRING_INPUT( message, wxString, ST(0) );
7505
7506         if (items < 2)
7507             caption = wxGetTextFromUserPromptStr;
7508         else {
7509     WXSTRING_INPUT( caption, wxString, ST(1) );
7510         }
7511
7512         if (items < 3)
7513             default_value = wxEmptyString;
7514         else {
7515     WXSTRING_INPUT( default_value, wxString, ST(2) );
7516         }
7517
7518         if (items < 4)
7519             parent = 0;
7520         else {
7521     parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::Window" );
7522         }
7523
7524         if (items < 5)
7525             x = -1;
7526         else {
7527             x = (int)SvIV(ST(4));
7528         }
7529
7530         if (items < 6)
7531             y = -1;
7532         else {
7533             y = (int)SvIV(ST(5));
7534         }
7535
7536         if (items < 7)
7537             centre = true;
7538         else {
7539             centre = (bool)SvTRUE(ST(6));
7540         }
7541
7542         RETVAL = wxGetTextFromUser(message, caption, default_value, parent, x, y, centre);
7543         ST(0) = sv_newmortal();
7544     WXSTRING_OUTPUT( RETVAL, ST(0) );
7545
7546     }
7547     XSRETURN(1);
7548 }
7549
7550
7551 /* INCLUDE: Returning to 'XS/FileDialog.xs' from 'XS/TextEntryDialog.xs' */
7552
7553 #include <wx/filedlg.h>
7554
7555 XS(XS_Wx__FileDialog_new); /* prototype to pass -Wmissing-prototypes */
7556 XS(XS_Wx__FileDialog_new)
7557 {
7558 #ifdef dVAR
7559     dVAR; dXSARGS;
7560 #else
7561     dXSARGS;
7562 #endif
7563     if (items < 2 || items > 8)
7564        croak_xs_usage(cv,  "CLASS, parent, message = wxFileSelectorPromptStr, defaultDir = wxEmptyString, defaultFile = wxEmptyString, wildcard = wxFileSelectorDefaultWildcardStr, style = 0, pos = wxDefaultPosition");
7565     {
7566         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
7567         wxString        message;
7568         wxString        defaultDir;
7569         wxString        defaultFile;
7570         wxString        wildcard;
7571         long    style;
7572         wxPoint pos;
7573         char *  CLASS = (char *)SvPV_nolen(ST(0));
7574         wxFileDialog *  RETVAL;
7575
7576         if (items < 3)
7577             message = wxFileSelectorPromptStr;
7578         else {
7579     WXSTRING_INPUT( message, wxString, ST(2) );
7580         }
7581
7582         if (items < 4)
7583             defaultDir = wxEmptyString;
7584         else {
7585     WXSTRING_INPUT( defaultDir, wxString, ST(3) );
7586         }
7587
7588         if (items < 5)
7589             defaultFile = wxEmptyString;
7590         else {
7591     WXSTRING_INPUT( defaultFile, wxString, ST(4) );
7592         }
7593
7594         if (items < 6)
7595             wildcard = wxFileSelectorDefaultWildcardStr;
7596         else {
7597     WXSTRING_INPUT( wildcard, wxString, ST(5) );
7598         }
7599
7600         if (items < 7)
7601             style = 0;
7602         else {
7603             style = (long)SvIV(ST(6));
7604         }
7605
7606         if (items < 8)
7607             pos = wxDefaultPosition;
7608         else {
7609     pos = wxPli_sv_2_wxpoint( aTHX_ ST(7) );
7610         }
7611
7612         RETVAL = new wxFileDialog(parent, message, defaultDir, defaultFile, wildcard, style, pos);
7613         ST(0) = sv_newmortal();
7614     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
7615
7616     }
7617     XSRETURN(1);
7618 }
7619
7620
7621 XS(XS_Wx__FileDialog_GetDirectory); /* prototype to pass -Wmissing-prototypes */
7622 XS(XS_Wx__FileDialog_GetDirectory)
7623 {
7624 #ifdef dVAR
7625     dVAR; dXSARGS;
7626 #else
7627     dXSARGS;
7628 #endif
7629     if (items != 1)
7630        croak_xs_usage(cv,  "THIS");
7631     {
7632         wxFileDialog *    THIS = (wxFileDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileDialog" );
7633         wxString        RETVAL;
7634
7635         RETVAL = THIS->GetDirectory();
7636         ST(0) = sv_newmortal();
7637     WXSTRING_OUTPUT( RETVAL, ST(0) );
7638
7639     }
7640     XSRETURN(1);
7641 }
7642
7643
7644 XS(XS_Wx__FileDialog_GetFilename); /* prototype to pass -Wmissing-prototypes */
7645 XS(XS_Wx__FileDialog_GetFilename)
7646 {
7647 #ifdef dVAR
7648     dVAR; dXSARGS;
7649 #else
7650     dXSARGS;
7651 #endif
7652     if (items != 1)
7653        croak_xs_usage(cv,  "THIS");
7654     {
7655         wxFileDialog *    THIS = (wxFileDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileDialog" );
7656         wxString        RETVAL;
7657
7658         RETVAL = THIS->GetFilename();
7659         ST(0) = sv_newmortal();
7660     WXSTRING_OUTPUT( RETVAL, ST(0) );
7661
7662     }
7663     XSRETURN(1);
7664 }
7665
7666
7667 XS(XS_Wx__FileDialog_GetFilenames); /* prototype to pass -Wmissing-prototypes */
7668 XS(XS_Wx__FileDialog_GetFilenames)
7669 {
7670 #ifdef dVAR
7671     dVAR; dXSARGS;
7672 #else
7673     dXSARGS;
7674 #endif
7675     if (items != 1)
7676        croak_xs_usage(cv,  "THIS");
7677     PERL_UNUSED_VAR(ax); /* -Wall */
7678     SP -= items;
7679     {
7680     wxArrayString filenames;
7681     int i, max;
7682         wxFileDialog *    THIS = (wxFileDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileDialog" );
7683     THIS->GetFilenames( filenames );
7684     max = filenames.GetCount();
7685     EXTEND( SP, max );
7686     for( i = 0; i < max; ++i ) {
7687 #if wxUSE_UNICODE
7688       SV* tmp = sv_2mortal( newSVpv( filenames[i].mb_str(wxConvUTF8), 0 ) );
7689       SvUTF8_on( tmp );
7690       PUSHs( tmp );
7691 #else
7692       PUSHs( sv_2mortal( newSVpv( CHAR_P filenames[i].c_str(), 0 ) ) );
7693 #endif
7694     }
7695         PUTBACK;
7696         return;
7697     }
7698 }
7699
7700
7701 XS(XS_Wx__FileDialog_GetFilterIndex); /* prototype to pass -Wmissing-prototypes */
7702 XS(XS_Wx__FileDialog_GetFilterIndex)
7703 {
7704 #ifdef dVAR
7705     dVAR; dXSARGS;
7706 #else
7707     dXSARGS;
7708 #endif
7709     if (items != 1)
7710        croak_xs_usage(cv,  "THIS");
7711     {
7712         wxFileDialog *    THIS = (wxFileDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileDialog" );
7713         int     RETVAL;
7714         dXSTARG;
7715
7716         RETVAL = THIS->GetFilterIndex();
7717         XSprePUSH; PUSHi((IV)RETVAL);
7718     }
7719     XSRETURN(1);
7720 }
7721
7722
7723 XS(XS_Wx__FileDialog_GetMessage); /* prototype to pass -Wmissing-prototypes */
7724 XS(XS_Wx__FileDialog_GetMessage)
7725 {
7726 #ifdef dVAR
7727     dVAR; dXSARGS;
7728 #else
7729     dXSARGS;
7730 #endif
7731     if (items != 1)
7732        croak_xs_usage(cv,  "THIS");
7733     {
7734         wxFileDialog *    THIS = (wxFileDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileDialog" );
7735         wxString        RETVAL;
7736
7737         RETVAL = THIS->GetMessage();
7738         ST(0) = sv_newmortal();
7739     WXSTRING_OUTPUT( RETVAL, ST(0) );
7740
7741     }
7742     XSRETURN(1);
7743 }
7744
7745
7746 XS(XS_Wx__FileDialog_GetPath); /* prototype to pass -Wmissing-prototypes */
7747 XS(XS_Wx__FileDialog_GetPath)
7748 {
7749 #ifdef dVAR
7750     dVAR; dXSARGS;
7751 #else
7752     dXSARGS;
7753 #endif
7754     if (items != 1)
7755        croak_xs_usage(cv,  "THIS");
7756     {
7757         wxFileDialog *    THIS = (wxFileDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileDialog" );
7758         wxString        RETVAL;
7759
7760         RETVAL = THIS->GetPath();
7761         ST(0) = sv_newmortal();
7762     WXSTRING_OUTPUT( RETVAL, ST(0) );
7763
7764     }
7765     XSRETURN(1);
7766 }
7767
7768
7769 XS(XS_Wx__FileDialog_GetPaths); /* prototype to pass -Wmissing-prototypes */
7770 XS(XS_Wx__FileDialog_GetPaths)
7771 {
7772 #ifdef dVAR
7773     dVAR; dXSARGS;
7774 #else
7775     dXSARGS;
7776 #endif
7777     if (items != 1)
7778        croak_xs_usage(cv,  "THIS");
7779     PERL_UNUSED_VAR(ax); /* -Wall */
7780     SP -= items;
7781     {
7782     wxArrayString filenames;
7783     int i, max;
7784         wxFileDialog *    THIS = (wxFileDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileDialog" );
7785     THIS->GetPaths( filenames );
7786     max = filenames.GetCount();
7787     EXTEND( SP, max );
7788     for( i = 0; i < max; ++i ) {
7789 #if wxUSE_UNICODE
7790       SV* tmp = sv_2mortal( newSVpv( filenames[i].mb_str(wxConvUTF8), 0 ) );
7791       SvUTF8_on( tmp );
7792       PUSHs( tmp );
7793 #else
7794       PUSHs( sv_2mortal( newSVpv( CHAR_P filenames[i].c_str(), 0 ) ) );
7795 #endif
7796     }
7797         PUTBACK;
7798         return;
7799     }
7800 }
7801
7802 #if WXPERL_W_VERSION_LT( 2, 7, 0 )
7803 #define XSubPPtmpAABF 1
7804
7805
7806 XS(XS_Wx__FileDialog_GetStyle); /* prototype to pass -Wmissing-prototypes */
7807 XS(XS_Wx__FileDialog_GetStyle)
7808 {
7809 #ifdef dVAR
7810     dVAR; dXSARGS;
7811 #else
7812     dXSARGS;
7813 #endif
7814     if (items != 1)
7815        croak_xs_usage(cv,  "THIS");
7816     {
7817         wxFileDialog *    THIS = (wxFileDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileDialog" );
7818         long    RETVAL;
7819         dXSTARG;
7820
7821         RETVAL = THIS->GetStyle();
7822         XSprePUSH; PUSHi((IV)RETVAL);
7823     }
7824     XSRETURN(1);
7825 }
7826
7827 #endif
7828
7829 XS(XS_Wx__FileDialog_GetWildcard); /* prototype to pass -Wmissing-prototypes */
7830 XS(XS_Wx__FileDialog_GetWildcard)
7831 {
7832 #ifdef dVAR
7833     dVAR; dXSARGS;
7834 #else
7835     dXSARGS;
7836 #endif
7837     if (items != 1)
7838        croak_xs_usage(cv,  "THIS");
7839     {
7840         wxFileDialog *    THIS = (wxFileDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileDialog" );
7841         wxString        RETVAL;
7842
7843         RETVAL = THIS->GetWildcard();
7844         ST(0) = sv_newmortal();
7845     WXSTRING_OUTPUT( RETVAL, ST(0) );
7846
7847     }
7848     XSRETURN(1);
7849 }
7850
7851
7852 XS(XS_Wx__FileDialog_SetDirectory); /* prototype to pass -Wmissing-prototypes */
7853 XS(XS_Wx__FileDialog_SetDirectory)
7854 {
7855 #ifdef dVAR
7856     dVAR; dXSARGS;
7857 #else
7858     dXSARGS;
7859 #endif
7860     if (items != 2)
7861        croak_xs_usage(cv,  "THIS, directory");
7862     {
7863         wxString        directory;
7864         wxFileDialog *    THIS = (wxFileDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileDialog" );
7865
7866     WXSTRING_INPUT( directory, wxString, ST(1) );
7867
7868         THIS->SetDirectory(directory);
7869     }
7870     XSRETURN_EMPTY;
7871 }
7872
7873
7874 XS(XS_Wx__FileDialog_SetFilename); /* prototype to pass -Wmissing-prototypes */
7875 XS(XS_Wx__FileDialog_SetFilename)
7876 {
7877 #ifdef dVAR
7878     dVAR; dXSARGS;
7879 #else
7880     dXSARGS;
7881 #endif
7882     if (items != 2)
7883        croak_xs_usage(cv,  "THIS, name");
7884     {
7885         wxString        name;
7886         wxFileDialog *    THIS = (wxFileDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileDialog" );
7887
7888     WXSTRING_INPUT( name, wxString, ST(1) );
7889
7890         THIS->SetFilename(name);
7891     }
7892     XSRETURN_EMPTY;
7893 }
7894
7895
7896 XS(XS_Wx__FileDialog_SetFilterIndex); /* prototype to pass -Wmissing-prototypes */
7897 XS(XS_Wx__FileDialog_SetFilterIndex)
7898 {
7899 #ifdef dVAR
7900     dVAR; dXSARGS;
7901 #else
7902     dXSARGS;
7903 #endif
7904     if (items != 2)
7905        croak_xs_usage(cv,  "THIS, index");
7906     {
7907         int     index = (int)SvIV(ST(1));
7908         wxFileDialog *    THIS = (wxFileDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileDialog" );
7909
7910         THIS->SetFilterIndex(index);
7911     }
7912     XSRETURN_EMPTY;
7913 }
7914
7915
7916 XS(XS_Wx__FileDialog_SetMessage); /* prototype to pass -Wmissing-prototypes */
7917 XS(XS_Wx__FileDialog_SetMessage)
7918 {
7919 #ifdef dVAR
7920     dVAR; dXSARGS;
7921 #else
7922     dXSARGS;
7923 #endif
7924     if (items != 2)
7925        croak_xs_usage(cv,  "THIS, message");
7926     {
7927         wxString        message;
7928         wxFileDialog *    THIS = (wxFileDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileDialog" );
7929
7930     WXSTRING_INPUT( message, wxString, ST(1) );
7931
7932         THIS->SetMessage(message);
7933     }
7934     XSRETURN_EMPTY;
7935 }
7936
7937
7938 XS(XS_Wx__FileDialog_SetPath); /* prototype to pass -Wmissing-prototypes */
7939 XS(XS_Wx__FileDialog_SetPath)
7940 {
7941 #ifdef dVAR
7942     dVAR; dXSARGS;
7943 #else
7944     dXSARGS;
7945 #endif
7946     if (items != 2)
7947        croak_xs_usage(cv,  "THIS, path");
7948     {
7949         wxString        path;
7950         wxFileDialog *    THIS = (wxFileDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileDialog" );
7951
7952     WXSTRING_INPUT( path, wxString, ST(1) );
7953
7954         THIS->SetPath(path);
7955     }
7956     XSRETURN_EMPTY;
7957 }
7958
7959 #if WXPERL_W_VERSION_LT( 2, 7, 0 )
7960 #define XSubPPtmpAABG 1
7961
7962
7963 XS(XS_Wx__FileDialog_SetStyle); /* prototype to pass -Wmissing-prototypes */
7964 XS(XS_Wx__FileDialog_SetStyle)
7965 {
7966 #ifdef dVAR
7967     dVAR; dXSARGS;
7968 #else
7969     dXSARGS;
7970 #endif
7971     if (items != 2)
7972        croak_xs_usage(cv,  "THIS, style");
7973     {
7974         long    style = (long)SvIV(ST(1));
7975         wxFileDialog *    THIS = (wxFileDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileDialog" );
7976
7977         THIS->SetStyle(style);
7978     }
7979     XSRETURN_EMPTY;
7980 }
7981
7982 #endif
7983
7984 XS(XS_Wx__FileDialog_SetWildcard); /* prototype to pass -Wmissing-prototypes */
7985 XS(XS_Wx__FileDialog_SetWildcard)
7986 {
7987 #ifdef dVAR
7988     dVAR; dXSARGS;
7989 #else
7990     dXSARGS;
7991 #endif
7992     if (items != 2)
7993        croak_xs_usage(cv,  "THIS, wildcard");
7994     {
7995         wxString        wildcard;
7996         wxFileDialog *    THIS = (wxFileDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileDialog" );
7997
7998     WXSTRING_INPUT( wildcard, wxString, ST(1) );
7999
8000         THIS->SetWildcard(wildcard);
8001     }
8002     XSRETURN_EMPTY;
8003 }
8004
8005
8006 XS(XS_Wx__FileDialog_ShowModal); /* prototype to pass -Wmissing-prototypes */
8007 XS(XS_Wx__FileDialog_ShowModal)
8008 {
8009 #ifdef dVAR
8010     dVAR; dXSARGS;
8011 #else
8012     dXSARGS;
8013 #endif
8014     if (items != 1)
8015        croak_xs_usage(cv,  "THIS");
8016     {
8017         wxFileDialog *    THIS = (wxFileDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileDialog" );
8018         int     RETVAL;
8019         dXSTARG;
8020
8021         RETVAL = THIS->ShowModal();
8022         XSprePUSH; PUSHi((IV)RETVAL);
8023     }
8024     XSRETURN(1);
8025 }
8026
8027
8028 XS(XS_Wx_FileSelector); /* prototype to pass -Wmissing-prototypes */
8029 XS(XS_Wx_FileSelector)
8030 {
8031 #ifdef dVAR
8032     dVAR; dXSARGS;
8033 #else
8034     dXSARGS;
8035 #endif
8036     if (items < 1 || items > 9)
8037        croak_xs_usage(cv,  "message, default_path = wxEmptyString, default_filename = wxEmptyString, default_extension = wxEmptyString, wildcard = wxT(\"*.*\"), flags = 0, parent = 0, x = -1, y = -1");
8038     {
8039         wxString        message;
8040         wxString        default_path;
8041         wxString        default_filename;
8042         wxString        default_extension;
8043         wxString        wildcard;
8044         int     flags;
8045         wxWindow*       parent;
8046         int     x;
8047         int     y;
8048         wxString        RETVAL;
8049
8050     WXSTRING_INPUT( message, wxString, ST(0) );
8051
8052         if (items < 2)
8053             default_path = wxEmptyString;
8054         else {
8055     WXSTRING_INPUT( default_path, wxString, ST(1) );
8056         }
8057
8058         if (items < 3)
8059             default_filename = wxEmptyString;
8060         else {
8061     WXSTRING_INPUT( default_filename, wxString, ST(2) );
8062         }
8063
8064         if (items < 4)
8065             default_extension = wxEmptyString;
8066         else {
8067     WXSTRING_INPUT( default_extension, wxString, ST(3) );
8068         }
8069
8070         if (items < 5)
8071             wildcard = wxT("*.*");
8072         else {
8073     WXSTRING_INPUT( wildcard, wxString, ST(4) );
8074         }
8075
8076         if (items < 6)
8077             flags = 0;
8078         else {
8079             flags = (int)SvIV(ST(5));
8080         }
8081
8082         if (items < 7)
8083             parent = 0;
8084         else {
8085     parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(6), "Wx::Window" );
8086         }
8087
8088         if (items < 8)
8089             x = -1;
8090         else {
8091             x = (int)SvIV(ST(7));
8092         }
8093
8094         if (items < 9)
8095             y = -1;
8096         else {
8097             y = (int)SvIV(ST(8));
8098         }
8099
8100         RETVAL = wxFileSelector(message, default_path, default_filename, default_extension, wildcard, flags, parent, x, y);
8101         ST(0) = sv_newmortal();
8102     WXSTRING_OUTPUT( RETVAL, ST(0) );
8103
8104     }
8105     XSRETURN(1);
8106 }
8107
8108
8109 /* INCLUDE: Returning to 'XS/DirDialog.xs' from 'XS/FileDialog.xs' */
8110
8111 #include <wx/dirdlg.h>
8112
8113 XS(XS_Wx__DirDialog_new); /* prototype to pass -Wmissing-prototypes */
8114 XS(XS_Wx__DirDialog_new)
8115 {
8116 #ifdef dVAR
8117     dVAR; dXSARGS;
8118 #else
8119     dXSARGS;
8120 #endif
8121     if (items < 2 || items > 6)
8122        croak_xs_usage(cv,  "CLASS, parent, message = wxFileSelectorPromptStr, defaultPath = wxEmptyString, style = 0, pos = wxDefaultPosition");
8123     {
8124         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
8125         wxString        message;
8126         wxString        defaultPath;
8127         long    style;
8128         wxPoint pos;
8129         char *  CLASS = (char *)SvPV_nolen(ST(0));
8130         wxDirDialog *   RETVAL;
8131
8132         if (items < 3)
8133             message = wxFileSelectorPromptStr;
8134         else {
8135     WXSTRING_INPUT( message, wxString, ST(2) );
8136         }
8137
8138         if (items < 4)
8139             defaultPath = wxEmptyString;
8140         else {
8141     WXSTRING_INPUT( defaultPath, wxString, ST(3) );
8142         }
8143
8144         if (items < 5)
8145             style = 0;
8146         else {
8147             style = (long)SvIV(ST(4));
8148         }
8149
8150         if (items < 6)
8151             pos = wxDefaultPosition;
8152         else {
8153     pos = wxPli_sv_2_wxpoint( aTHX_ ST(5) );
8154         }
8155
8156         RETVAL = new wxDirDialog(parent, message, defaultPath, style, pos);
8157         ST(0) = sv_newmortal();
8158     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::DirDialog" );
8159
8160     }
8161     XSRETURN(1);
8162 }
8163
8164
8165 XS(XS_Wx__DirDialog_GetPath); /* prototype to pass -Wmissing-prototypes */
8166 XS(XS_Wx__DirDialog_GetPath)
8167 {
8168 #ifdef dVAR
8169     dVAR; dXSARGS;
8170 #else
8171     dXSARGS;
8172 #endif
8173     if (items != 1)
8174        croak_xs_usage(cv,  "THIS");
8175     {
8176         wxDirDialog *    THIS = (wxDirDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::DirDialog" );
8177         wxString        RETVAL;
8178
8179         RETVAL = THIS->GetPath();
8180         ST(0) = sv_newmortal();
8181     WXSTRING_OUTPUT( RETVAL, ST(0) );
8182
8183     }
8184     XSRETURN(1);
8185 }
8186
8187
8188 XS(XS_Wx__DirDialog_GetMessage); /* prototype to pass -Wmissing-prototypes */
8189 XS(XS_Wx__DirDialog_GetMessage)
8190 {
8191 #ifdef dVAR
8192     dVAR; dXSARGS;
8193 #else
8194     dXSARGS;
8195 #endif
8196     if (items != 1)
8197        croak_xs_usage(cv,  "THIS");
8198     {
8199         wxDirDialog *    THIS = (wxDirDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::DirDialog" );
8200         wxString        RETVAL;
8201
8202         RETVAL = THIS->GetMessage();
8203         ST(0) = sv_newmortal();
8204     WXSTRING_OUTPUT( RETVAL, ST(0) );
8205
8206     }
8207     XSRETURN(1);
8208 }
8209
8210 #if WXPERL_W_VERSION_LT( 2, 7, 0 )
8211 #define XSubPPtmpAABH 1
8212
8213
8214 XS(XS_Wx__DirDialog_GetStyle); /* prototype to pass -Wmissing-prototypes */
8215 XS(XS_Wx__DirDialog_GetStyle)
8216 {
8217 #ifdef dVAR
8218     dVAR; dXSARGS;
8219 #else
8220     dXSARGS;
8221 #endif
8222     if (items != 1)
8223        croak_xs_usage(cv,  "THIS");
8224     {
8225         wxDirDialog *    THIS = (wxDirDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::DirDialog" );
8226         long    RETVAL;
8227         dXSTARG;
8228
8229         RETVAL = THIS->GetStyle();
8230         XSprePUSH; PUSHi((IV)RETVAL);
8231     }
8232     XSRETURN(1);
8233 }
8234
8235 #endif
8236
8237 XS(XS_Wx__DirDialog_SetMessage); /* prototype to pass -Wmissing-prototypes */
8238 XS(XS_Wx__DirDialog_SetMessage)
8239 {
8240 #ifdef dVAR
8241     dVAR; dXSARGS;
8242 #else
8243     dXSARGS;
8244 #endif
8245     if (items != 2)
8246        croak_xs_usage(cv,  "THIS, message");
8247     {
8248         wxString        message;
8249         wxDirDialog *    THIS = (wxDirDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::DirDialog" );
8250
8251     WXSTRING_INPUT( message, wxString, ST(1) );
8252
8253         THIS->SetMessage(message);
8254     }
8255     XSRETURN_EMPTY;
8256 }
8257
8258
8259 XS(XS_Wx__DirDialog_SetPath); /* prototype to pass -Wmissing-prototypes */
8260 XS(XS_Wx__DirDialog_SetPath)
8261 {
8262 #ifdef dVAR
8263     dVAR; dXSARGS;
8264 #else
8265     dXSARGS;
8266 #endif
8267     if (items != 2)
8268        croak_xs_usage(cv,  "THIS, path");
8269     {
8270         wxString        path;
8271         wxDirDialog *    THIS = (wxDirDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::DirDialog" );
8272
8273     WXSTRING_INPUT( path, wxString, ST(1) );
8274
8275         THIS->SetPath(path);
8276     }
8277     XSRETURN_EMPTY;
8278 }
8279
8280 #if WXPERL_W_VERSION_LT( 2, 7, 0 )
8281 #define XSubPPtmpAABI 1
8282
8283
8284 XS(XS_Wx__DirDialog_SetStyle); /* prototype to pass -Wmissing-prototypes */
8285 XS(XS_Wx__DirDialog_SetStyle)
8286 {
8287 #ifdef dVAR
8288     dVAR; dXSARGS;
8289 #else
8290     dXSARGS;
8291 #endif
8292     if (items != 2)
8293        croak_xs_usage(cv,  "THIS, style");
8294     {
8295         long    style = (long)SvIV(ST(1));
8296         wxDirDialog *    THIS = (wxDirDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::DirDialog" );
8297
8298         THIS->SetStyle(style);
8299     }
8300     XSRETURN_EMPTY;
8301 }
8302
8303 #endif
8304
8305 XS(XS_Wx__DirDialog_ShowModal); /* prototype to pass -Wmissing-prototypes */
8306 XS(XS_Wx__DirDialog_ShowModal)
8307 {
8308 #ifdef dVAR
8309     dVAR; dXSARGS;
8310 #else
8311     dXSARGS;
8312 #endif
8313     if (items != 1)
8314        croak_xs_usage(cv,  "THIS");
8315     {
8316         wxDirDialog *    THIS = (wxDirDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::DirDialog" );
8317         int     RETVAL;
8318         dXSTARG;
8319
8320         RETVAL = THIS->ShowModal();
8321         XSprePUSH; PUSHi((IV)RETVAL);
8322     }
8323     XSRETURN(1);
8324 }
8325
8326
8327 XS(XS_Wx_DirSelector); /* prototype to pass -Wmissing-prototypes */
8328 XS(XS_Wx_DirSelector)
8329 {
8330 #ifdef dVAR
8331     dVAR; dXSARGS;
8332 #else
8333     dXSARGS;
8334 #endif
8335     if (items < 1 || items > 5)
8336        croak_xs_usage(cv,  "message, default_path = wxEmptyString, style = 0, pos = wxDefaultPosition, parent = 0");
8337     {
8338         wxString        message;
8339         wxString        default_path;
8340         long    style;
8341         wxPoint pos;
8342         wxWindow*       parent;
8343         wxString        RETVAL;
8344
8345     WXSTRING_INPUT( message, wxString, ST(0) );
8346
8347         if (items < 2)
8348             default_path = wxEmptyString;
8349         else {
8350     WXSTRING_INPUT( default_path, wxString, ST(1) );
8351         }
8352
8353         if (items < 3)
8354             style = 0;
8355         else {
8356             style = (long)SvIV(ST(2));
8357         }
8358
8359         if (items < 4)
8360             pos = wxDefaultPosition;
8361         else {
8362     pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) );
8363         }
8364
8365         if (items < 5)
8366             parent = 0;
8367         else {
8368     parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(4), "Wx::Window" );
8369         }
8370
8371         RETVAL = wxDirSelector(message, default_path, style, pos, parent);
8372         ST(0) = sv_newmortal();
8373     WXSTRING_OUTPUT( RETVAL, ST(0) );
8374
8375     }
8376     XSRETURN(1);
8377 }
8378
8379
8380 /* INCLUDE: Returning to 'XS/ColourDialog.xs' from 'XS/DirDialog.xs' */
8381
8382 #include <wx/colordlg.h>
8383
8384 XS(XS_Wx__ColourDialog_new); /* prototype to pass -Wmissing-prototypes */
8385 XS(XS_Wx__ColourDialog_new)
8386 {
8387 #ifdef dVAR
8388     dVAR; dXSARGS;
8389 #else
8390     dXSARGS;
8391 #endif
8392     if (items < 2 || items > 3)
8393        croak_xs_usage(cv,  "CLASS, parent, data = 0");
8394     {
8395         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
8396         wxColourData*   data;
8397         char *  CLASS = (char *)SvPV_nolen(ST(0));
8398         wxColourDialog *        RETVAL;
8399
8400         if (items < 3)
8401             data = 0;
8402         else {
8403     data = (wxColourData *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::ColourData" );
8404         }
8405
8406         RETVAL = new wxColourDialog(parent, data);
8407         ST(0) = sv_newmortal();
8408     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
8409
8410     }
8411     XSRETURN(1);
8412 }
8413
8414
8415 XS(XS_Wx__ColourDialog_GetColourData); /* prototype to pass -Wmissing-prototypes */
8416 XS(XS_Wx__ColourDialog_GetColourData)
8417 {
8418 #ifdef dVAR
8419     dVAR; dXSARGS;
8420 #else
8421     dXSARGS;
8422 #endif
8423     if (items != 1)
8424        croak_xs_usage(cv,  "THIS");
8425     {
8426         wxColourDialog *    THIS = (wxColourDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ColourDialog" );
8427         wxColourData *  RETVAL;
8428     RETVAL = new wxColourData( THIS->GetColourData() );
8429         ST(0) = sv_newmortal();
8430     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
8431     wxPli_thread_sv_register( aTHX_ "Wx::ColourData", RETVAL, ST(0) );
8432
8433     }
8434     XSRETURN(1);
8435 }
8436
8437
8438 XS(XS_Wx__ColourDialog_ShowModal); /* prototype to pass -Wmissing-prototypes */
8439 XS(XS_Wx__ColourDialog_ShowModal)
8440 {
8441 #ifdef dVAR
8442     dVAR; dXSARGS;
8443 #else
8444     dXSARGS;
8445 #endif
8446     if (items != 1)
8447        croak_xs_usage(cv,  "THIS");
8448     {
8449         wxColourDialog *    THIS = (wxColourDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ColourDialog" );
8450         int     RETVAL;
8451         dXSTARG;
8452
8453         RETVAL = THIS->ShowModal();
8454         XSprePUSH; PUSHi((IV)RETVAL);
8455     }
8456     XSRETURN(1);
8457 }
8458
8459
8460 XS(XS_Wx__ColourData_new); /* prototype to pass -Wmissing-prototypes */
8461 XS(XS_Wx__ColourData_new)
8462 {
8463 #ifdef dVAR
8464     dVAR; dXSARGS;
8465 #else
8466     dXSARGS;
8467 #endif
8468     if (items != 1)
8469        croak_xs_usage(cv,  "CLASS");
8470     {
8471         char *  CLASS = (char *)SvPV_nolen(ST(0));
8472         wxColourData *  RETVAL;
8473
8474         RETVAL = new wxColourData();
8475         ST(0) = sv_newmortal();
8476     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
8477     wxPli_thread_sv_register( aTHX_ "Wx::ColourData", RETVAL, ST(0) );
8478
8479     }
8480     XSRETURN(1);
8481 }
8482
8483
8484 XS(XS_Wx__ColourData_CLONE); /* prototype to pass -Wmissing-prototypes */
8485 XS(XS_Wx__ColourData_CLONE)
8486 {
8487 #ifdef dVAR
8488     dVAR; dXSARGS;
8489 #else
8490     dXSARGS;
8491 #endif
8492     if (items != 1)
8493        croak_xs_usage(cv,  "CLASS");
8494     {
8495         char *  CLASS = (char *)SvPV_nolen(ST(0));
8496     wxPli_thread_sv_clone( aTHX_ CLASS, (wxPliCloneSV)wxPli_detach_object );
8497     }
8498     XSRETURN_EMPTY;
8499 }
8500
8501
8502 XS(XS_Wx__ColourData_DESTROY); /* prototype to pass -Wmissing-prototypes */
8503 XS(XS_Wx__ColourData_DESTROY)
8504 {
8505 #ifdef dVAR
8506     dVAR; dXSARGS;
8507 #else
8508     dXSARGS;
8509 #endif
8510     if (items != 1)
8511        croak_xs_usage(cv,  "THIS");
8512     {
8513         wxColourData *    THIS = (wxColourData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ColourData" );
8514     wxPli_thread_sv_unregister( aTHX_ "Wx::ColourData", THIS, ST(0) );
8515     delete THIS;
8516     }
8517     XSRETURN_EMPTY;
8518 }
8519
8520
8521 XS(XS_Wx__ColourData_GetChooseFull); /* prototype to pass -Wmissing-prototypes */
8522 XS(XS_Wx__ColourData_GetChooseFull)
8523 {
8524 #ifdef dVAR
8525     dVAR; dXSARGS;
8526 #else
8527     dXSARGS;
8528 #endif
8529     if (items != 1)
8530        croak_xs_usage(cv,  "THIS");
8531     {
8532         wxColourData *    THIS = (wxColourData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ColourData" );
8533         bool    RETVAL;
8534
8535         RETVAL = THIS->GetChooseFull();
8536         ST(0) = boolSV(RETVAL);
8537         sv_2mortal(ST(0));
8538     }
8539     XSRETURN(1);
8540 }
8541
8542
8543 XS(XS_Wx__ColourData_GetColour); /* prototype to pass -Wmissing-prototypes */
8544 XS(XS_Wx__ColourData_GetColour)
8545 {
8546 #ifdef dVAR
8547     dVAR; dXSARGS;
8548 #else
8549     dXSARGS;
8550 #endif
8551     if (items != 1)
8552        croak_xs_usage(cv,  "THIS");
8553     {
8554         wxColourData *    THIS = (wxColourData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ColourData" );
8555         wxColour *      RETVAL;
8556     RETVAL = new wxColour( THIS->GetColour() );
8557         ST(0) = sv_newmortal();
8558     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Colour" );
8559     wxPli_thread_sv_register( aTHX_ "Wx::Colour", RETVAL, ST(0) );
8560
8561     }
8562     XSRETURN(1);
8563 }
8564
8565
8566 XS(XS_Wx__ColourData_GetCustomColour); /* prototype to pass -Wmissing-prototypes */
8567 XS(XS_Wx__ColourData_GetCustomColour)
8568 {
8569 #ifdef dVAR
8570     dVAR; dXSARGS;
8571 #else
8572     dXSARGS;
8573 #endif
8574     if (items != 2)
8575        croak_xs_usage(cv,  "THIS, i");
8576     {
8577         int     i = (int)SvIV(ST(1));
8578         wxColourData *    THIS = (wxColourData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ColourData" );
8579         wxColour *      RETVAL;
8580     RETVAL = new wxColour( THIS->GetCustomColour( i ) );
8581         ST(0) = sv_newmortal();
8582     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Colour" );
8583     wxPli_thread_sv_register( aTHX_ "Wx::Colour", RETVAL, ST(0) );
8584
8585     }
8586     XSRETURN(1);
8587 }
8588
8589
8590 XS(XS_Wx__ColourData_SetChooseFull); /* prototype to pass -Wmissing-prototypes */
8591 XS(XS_Wx__ColourData_SetChooseFull)
8592 {
8593 #ifdef dVAR
8594     dVAR; dXSARGS;
8595 #else
8596     dXSARGS;
8597 #endif
8598     if (items != 2)
8599        croak_xs_usage(cv,  "THIS, flag");
8600     {
8601         bool    flag = (bool)SvTRUE(ST(1));
8602         wxColourData *    THIS = (wxColourData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ColourData" );
8603
8604         THIS->SetChooseFull(flag);
8605     }
8606     XSRETURN_EMPTY;
8607 }
8608
8609
8610 XS(XS_Wx__ColourData_SetColour); /* prototype to pass -Wmissing-prototypes */
8611 XS(XS_Wx__ColourData_SetColour)
8612 {
8613 #ifdef dVAR
8614     dVAR; dXSARGS;
8615 #else
8616     dXSARGS;
8617 #endif
8618     if (items != 2)
8619        croak_xs_usage(cv,  "THIS, colour");
8620     {
8621         wxColour*    colour = (wxColour *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Colour" );
8622         wxColourData *    THIS = (wxColourData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ColourData" );
8623
8624         THIS->SetColour(*colour);
8625     }
8626     XSRETURN_EMPTY;
8627 }
8628
8629
8630 XS(XS_Wx__ColourData_SetCustomColour); /* prototype to pass -Wmissing-prototypes */
8631 XS(XS_Wx__ColourData_SetCustomColour)
8632 {
8633 #ifdef dVAR
8634     dVAR; dXSARGS;
8635 #else
8636     dXSARGS;
8637 #endif
8638     if (items != 3)
8639        croak_xs_usage(cv,  "THIS, i, colour");
8640     {
8641         int     i = (int)SvIV(ST(1));
8642         wxColour*    colour = (wxColour *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Colour" );
8643         wxColourData *    THIS = (wxColourData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ColourData" );
8644
8645         THIS->SetCustomColour(i, *colour);
8646     }
8647     XSRETURN_EMPTY;
8648 }
8649
8650
8651 XS(XS_Wx_GetColourFromUser); /* prototype to pass -Wmissing-prototypes */
8652 XS(XS_Wx_GetColourFromUser)
8653 {
8654 #ifdef dVAR
8655     dVAR; dXSARGS;
8656 #else
8657     dXSARGS;
8658 #endif
8659     if (items < 1 || items > 2)
8660        croak_xs_usage(cv,  "parent, colInit = (wxColour*)&wxNullColour");
8661     {
8662         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
8663         wxColour*       colInit;
8664         wxColour *      RETVAL;
8665
8666         if (items < 2)
8667             colInit = (wxColour*)&wxNullColour;
8668         else {
8669     colInit = (wxColour *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Colour" );
8670         }
8671     RETVAL = new wxColour( wxGetColourFromUser( parent, *colInit ) );
8672         ST(0) = sv_newmortal();
8673     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Colour" );
8674     wxPli_thread_sv_register( aTHX_ "Wx::Colour", RETVAL, ST(0) );
8675
8676     }
8677     XSRETURN(1);
8678 }
8679
8680
8681 /* INCLUDE: Returning to 'Frames.xs' from 'XS/ColourDialog.xs' */
8682
8683
8684 /* INCLUDE:  Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/MessageDialog.xsp |' from 'Frames.xs' */
8685
8686 #include <wx/msgdlg.h>
8687 #define wxPL_MSGDLG_STYLE wxOK|wxCENTRE
8688
8689 XS(XS_Wx__MessageDialog_new); /* prototype to pass -Wmissing-prototypes */
8690 XS(XS_Wx__MessageDialog_new)
8691 {
8692 #ifdef dVAR
8693     dVAR; dXSARGS;
8694 #else
8695     dXSARGS;
8696 #endif
8697     if (items < 3 || items > 6)
8698        croak_xs_usage(cv,  "CLASS, parent, message, caption = wxMessageBoxCaptionStr, style = wxPL_MSGDLG_STYLE, pos = wxDefaultPosition");
8699     {
8700         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
8701         wxString        message;
8702         wxString        caption;
8703         long    style;
8704         wxPoint pos;
8705         char *  CLASS = (char *)SvPV_nolen(ST(0));
8706         wxMessageDialog *       RETVAL;
8707
8708     WXSTRING_INPUT( message, wxString, ST(2) );
8709
8710         if (items < 4)
8711             caption = wxMessageBoxCaptionStr;
8712         else {
8713     WXSTRING_INPUT( caption, wxString, ST(3) );
8714         }
8715
8716         if (items < 5)
8717             style = wxPL_MSGDLG_STYLE;
8718         else {
8719             style = (long)SvIV(ST(4));
8720         }
8721
8722         if (items < 6)
8723             pos = wxDefaultPosition;
8724         else {
8725     pos = wxPli_sv_2_wxpoint( aTHX_ ST(5) );
8726         }
8727
8728         RETVAL = new wxMessageDialog(parent, message, caption, style, pos);
8729         ST(0) = sv_newmortal();
8730     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
8731
8732     }
8733     XSRETURN(1);
8734 }
8735
8736
8737 XS(XS_Wx__MessageDialog_ShowModal); /* prototype to pass -Wmissing-prototypes */
8738 XS(XS_Wx__MessageDialog_ShowModal)
8739 {
8740 #ifdef dVAR
8741     dVAR; dXSARGS;
8742 #else
8743     dXSARGS;
8744 #endif
8745     if (items != 1)
8746        croak_xs_usage(cv,  "THIS");
8747     {
8748         wxMessageDialog *    THIS = (wxMessageDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MessageDialog" );
8749         int     RETVAL;
8750         dXSTARG;
8751
8752         RETVAL = THIS->ShowModal();
8753         XSprePUSH; PUSHi((IV)RETVAL);
8754     }
8755     XSRETURN(1);
8756 }
8757
8758 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
8759 #define XSubPPtmpAABJ 1
8760
8761
8762 XS(XS_Wx__MessageDialog_SetYesNoLabels); /* prototype to pass -Wmissing-prototypes */
8763 XS(XS_Wx__MessageDialog_SetYesNoLabels)
8764 {
8765 #ifdef dVAR
8766     dVAR; dXSARGS;
8767 #else
8768     dXSARGS;
8769 #endif
8770     if (items != 3)
8771        croak_xs_usage(cv,  "THIS, yes, no");
8772     {
8773         wxString        yes;
8774         wxString        no;
8775         wxMessageDialog *    THIS = (wxMessageDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MessageDialog" );
8776         bool    RETVAL;
8777
8778     WXSTRING_INPUT( yes, wxString, ST(1) );
8779
8780     WXSTRING_INPUT( no, wxString, ST(2) );
8781
8782         RETVAL = THIS->SetYesNoLabels(yes, no);
8783         ST(0) = boolSV(RETVAL);
8784         sv_2mortal(ST(0));
8785     }
8786     XSRETURN(1);
8787 }
8788
8789
8790 XS(XS_Wx__MessageDialog_SetYesNoCancelLabels); /* prototype to pass -Wmissing-prototypes */
8791 XS(XS_Wx__MessageDialog_SetYesNoCancelLabels)
8792 {
8793 #ifdef dVAR
8794     dVAR; dXSARGS;
8795 #else
8796     dXSARGS;
8797 #endif
8798     if (items != 4)
8799        croak_xs_usage(cv,  "THIS, yes, no, cancel");
8800     {
8801         wxString        yes;
8802         wxString        no;
8803         wxString        cancel;
8804         wxMessageDialog *    THIS = (wxMessageDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MessageDialog" );
8805         bool    RETVAL;
8806
8807     WXSTRING_INPUT( yes, wxString, ST(1) );
8808
8809     WXSTRING_INPUT( no, wxString, ST(2) );
8810
8811     WXSTRING_INPUT( cancel, wxString, ST(3) );
8812
8813         RETVAL = THIS->SetYesNoCancelLabels(yes, no, cancel);
8814         ST(0) = boolSV(RETVAL);
8815         sv_2mortal(ST(0));
8816     }
8817     XSRETURN(1);
8818 }
8819
8820
8821 XS(XS_Wx__MessageDialog_SetOKLabel); /* prototype to pass -Wmissing-prototypes */
8822 XS(XS_Wx__MessageDialog_SetOKLabel)
8823 {
8824 #ifdef dVAR
8825     dVAR; dXSARGS;
8826 #else
8827     dXSARGS;
8828 #endif
8829     if (items != 2)
8830        croak_xs_usage(cv,  "THIS, ok");
8831     {
8832         wxString        ok;
8833         wxMessageDialog *    THIS = (wxMessageDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MessageDialog" );
8834         bool    RETVAL;
8835
8836     WXSTRING_INPUT( ok, wxString, ST(1) );
8837
8838         RETVAL = THIS->SetOKLabel(ok);
8839         ST(0) = boolSV(RETVAL);
8840         sv_2mortal(ST(0));
8841     }
8842     XSRETURN(1);
8843 }
8844
8845
8846 XS(XS_Wx__MessageDialog_SetOKCancelLabels); /* prototype to pass -Wmissing-prototypes */
8847 XS(XS_Wx__MessageDialog_SetOKCancelLabels)
8848 {
8849 #ifdef dVAR
8850     dVAR; dXSARGS;
8851 #else
8852     dXSARGS;
8853 #endif
8854     if (items != 3)
8855        croak_xs_usage(cv,  "THIS, ok, cancel");
8856     {
8857         wxString        ok;
8858         wxString        cancel;
8859         wxMessageDialog *    THIS = (wxMessageDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MessageDialog" );
8860         bool    RETVAL;
8861
8862     WXSTRING_INPUT( ok, wxString, ST(1) );
8863
8864     WXSTRING_INPUT( cancel, wxString, ST(2) );
8865
8866         RETVAL = THIS->SetOKCancelLabels(ok, cancel);
8867         ST(0) = boolSV(RETVAL);
8868         sv_2mortal(ST(0));
8869     }
8870     XSRETURN(1);
8871 }
8872
8873
8874 XS(XS_Wx__MessageDialog_SetMessage); /* prototype to pass -Wmissing-prototypes */
8875 XS(XS_Wx__MessageDialog_SetMessage)
8876 {
8877 #ifdef dVAR
8878     dVAR; dXSARGS;
8879 #else
8880     dXSARGS;
8881 #endif
8882     if (items != 2)
8883        croak_xs_usage(cv,  "THIS, message");
8884     {
8885         wxString        message;
8886         wxMessageDialog *    THIS = (wxMessageDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MessageDialog" );
8887
8888     WXSTRING_INPUT( message, wxString, ST(1) );
8889
8890         THIS->SetMessage(message);
8891     }
8892     XSRETURN_EMPTY;
8893 }
8894
8895
8896 XS(XS_Wx__MessageDialog_SetExtendedMessage); /* prototype to pass -Wmissing-prototypes */
8897 XS(XS_Wx__MessageDialog_SetExtendedMessage)
8898 {
8899 #ifdef dVAR
8900     dVAR; dXSARGS;
8901 #else
8902     dXSARGS;
8903 #endif
8904     if (items != 2)
8905        croak_xs_usage(cv,  "THIS, extendedMessage");
8906     {
8907         wxString        extendedMessage;
8908         wxMessageDialog *    THIS = (wxMessageDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MessageDialog" );
8909
8910     WXSTRING_INPUT( extendedMessage, wxString, ST(1) );
8911
8912         THIS->SetExtendedMessage(extendedMessage);
8913     }
8914     XSRETURN_EMPTY;
8915 }
8916
8917 #endif
8918
8919 XS(XS_Wx_MessageBox); /* prototype to pass -Wmissing-prototypes */
8920 XS(XS_Wx_MessageBox)
8921 {
8922 #ifdef dVAR
8923     dVAR; dXSARGS;
8924 #else
8925     dXSARGS;
8926 #endif
8927     if (items < 1 || items > 6)
8928        croak_xs_usage(cv,  "message, caption = wxT(\"Message\"), style = wxPL_MSGDLG_STYLE, parent = NULL, x = -1, y = -1");
8929     {
8930         wxString        message;
8931         wxString        caption;
8932         int     style;
8933         wxWindow*       parent;
8934         int     x;
8935         int     y;
8936         int     RETVAL;
8937         dXSTARG;
8938
8939     WXSTRING_INPUT( message, wxString, ST(0) );
8940
8941         if (items < 2)
8942             caption = wxT("Message");
8943         else {
8944     WXSTRING_INPUT( caption, wxString, ST(1) );
8945         }
8946
8947         if (items < 3)
8948             style = wxPL_MSGDLG_STYLE;
8949         else {
8950             style = (int)SvIV(ST(2));
8951         }
8952
8953         if (items < 4)
8954             parent = NULL;
8955         else {
8956     parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::Window" );
8957         }
8958
8959         if (items < 5)
8960             x = -1;
8961         else {
8962             x = (int)SvIV(ST(4));
8963         }
8964
8965         if (items < 6)
8966             y = -1;
8967         else {
8968             y = (int)SvIV(ST(5));
8969         }
8970     RETVAL = wxMessageBox( message, caption, style, parent, x, y );
8971         XSprePUSH; PUSHi((IV)RETVAL);
8972     }
8973     XSRETURN(1);
8974 }
8975
8976
8977 /* INCLUDE: Returning to 'Frames.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/MessageDialog.xsp |' */
8978
8979
8980 /* INCLUDE:  Including 'XS/ProgressDialog.xs' from 'Frames.xs' */
8981
8982
8983 /* INCLUDE:  Including 'XS/SingleChoiceDialog.xs' from 'XS/ProgressDialog.xs' */
8984
8985
8986 /* INCLUDE:  Including 'XS/MultiChoiceDialog.xs' from 'XS/SingleChoiceDialog.xs' */
8987
8988
8989 /* INCLUDE:  Including 'XS/FontDialog.xs' from 'XS/MultiChoiceDialog.xs' */
8990
8991
8992 /* INCLUDE:  Including 'XS/FindReplaceDialog.xs' from 'XS/FontDialog.xs' */
8993
8994 #include <wx/fdrepdlg.h>
8995
8996 XS(XS_Wx__FindReplaceData_new); /* prototype to pass -Wmissing-prototypes */
8997 XS(XS_Wx__FindReplaceData_new)
8998 {
8999 #ifdef dVAR
9000     dVAR; dXSARGS;
9001 #else
9002     dXSARGS;
9003 #endif
9004     if (items != 2)
9005        croak_xs_usage(cv,  "CLASS, flags");
9006     {
9007         int     flags = (int)SvIV(ST(1));
9008         char *  CLASS = (char *)SvPV_nolen(ST(0));
9009         wxFindReplaceData *     RETVAL;
9010
9011         RETVAL = new wxFindReplaceData(flags);
9012         ST(0) = sv_newmortal();
9013     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::FindReplaceData" );
9014
9015     }
9016     XSRETURN(1);
9017 }
9018
9019
9020 XS(XS_Wx__FindReplaceData_Destroy); /* prototype to pass -Wmissing-prototypes */
9021 XS(XS_Wx__FindReplaceData_Destroy)
9022 {
9023 #ifdef dVAR
9024     dVAR; dXSARGS;
9025 #else
9026     dXSARGS;
9027 #endif
9028     if (items != 1)
9029        croak_xs_usage(cv,  "THIS");
9030     {
9031         wxFindReplaceData *    THIS = (wxFindReplaceData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FindReplaceData" );
9032     delete THIS;
9033     }
9034     XSRETURN_EMPTY;
9035 }
9036
9037
9038 XS(XS_Wx__FindReplaceData_GetFindString); /* prototype to pass -Wmissing-prototypes */
9039 XS(XS_Wx__FindReplaceData_GetFindString)
9040 {
9041 #ifdef dVAR
9042     dVAR; dXSARGS;
9043 #else
9044     dXSARGS;
9045 #endif
9046     if (items != 1)
9047        croak_xs_usage(cv,  "THIS");
9048     {
9049         wxFindReplaceData *    THIS = (wxFindReplaceData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FindReplaceData" );
9050         wxString        RETVAL;
9051
9052         RETVAL = THIS->GetFindString();
9053         ST(0) = sv_newmortal();
9054     WXSTRING_OUTPUT( RETVAL, ST(0) );
9055
9056     }
9057     XSRETURN(1);
9058 }
9059
9060
9061 XS(XS_Wx__FindReplaceData_GetReplaceString); /* prototype to pass -Wmissing-prototypes */
9062 XS(XS_Wx__FindReplaceData_GetReplaceString)
9063 {
9064 #ifdef dVAR
9065     dVAR; dXSARGS;
9066 #else
9067     dXSARGS;
9068 #endif
9069     if (items != 1)
9070        croak_xs_usage(cv,  "THIS");
9071     {
9072         wxFindReplaceData *    THIS = (wxFindReplaceData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FindReplaceData" );
9073         wxString        RETVAL;
9074
9075         RETVAL = THIS->GetReplaceString();
9076         ST(0) = sv_newmortal();
9077     WXSTRING_OUTPUT( RETVAL, ST(0) );
9078
9079     }
9080     XSRETURN(1);
9081 }
9082
9083
9084 XS(XS_Wx__FindReplaceData_GetFlags); /* prototype to pass -Wmissing-prototypes */
9085 XS(XS_Wx__FindReplaceData_GetFlags)
9086 {
9087 #ifdef dVAR
9088     dVAR; dXSARGS;
9089 #else
9090     dXSARGS;
9091 #endif
9092     if (items != 1)
9093        croak_xs_usage(cv,  "THIS");
9094     {
9095         wxFindReplaceData *    THIS = (wxFindReplaceData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FindReplaceData" );
9096         int     RETVAL;
9097         dXSTARG;
9098
9099         RETVAL = THIS->GetFlags();
9100         XSprePUSH; PUSHi((IV)RETVAL);
9101     }
9102     XSRETURN(1);
9103 }
9104
9105
9106 XS(XS_Wx__FindReplaceData_SetFlags); /* prototype to pass -Wmissing-prototypes */
9107 XS(XS_Wx__FindReplaceData_SetFlags)
9108 {
9109 #ifdef dVAR
9110     dVAR; dXSARGS;
9111 #else
9112     dXSARGS;
9113 #endif
9114     if (items != 2)
9115        croak_xs_usage(cv,  "THIS, flags");
9116     {
9117         int     flags = (int)SvIV(ST(1));
9118         wxFindReplaceData *    THIS = (wxFindReplaceData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FindReplaceData" );
9119
9120         THIS->SetFlags(flags);
9121     }
9122     XSRETURN_EMPTY;
9123 }
9124
9125
9126 XS(XS_Wx__FindReplaceData_SetFindString); /* prototype to pass -Wmissing-prototypes */
9127 XS(XS_Wx__FindReplaceData_SetFindString)
9128 {
9129 #ifdef dVAR
9130     dVAR; dXSARGS;
9131 #else
9132     dXSARGS;
9133 #endif
9134     if (items != 2)
9135        croak_xs_usage(cv,  "THIS, find");
9136     {
9137         wxString        find;
9138         wxFindReplaceData *    THIS = (wxFindReplaceData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FindReplaceData" );
9139
9140     WXSTRING_INPUT( find, wxString, ST(1) );
9141
9142         THIS->SetFindString(find);
9143     }
9144     XSRETURN_EMPTY;
9145 }
9146
9147
9148 XS(XS_Wx__FindReplaceData_SetReplaceString); /* prototype to pass -Wmissing-prototypes */
9149 XS(XS_Wx__FindReplaceData_SetReplaceString)
9150 {
9151 #ifdef dVAR
9152     dVAR; dXSARGS;
9153 #else
9154     dXSARGS;
9155 #endif
9156     if (items != 2)
9157        croak_xs_usage(cv,  "THIS, replace");
9158     {
9159         wxString        replace;
9160         wxFindReplaceData *    THIS = (wxFindReplaceData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FindReplaceData" );
9161
9162     WXSTRING_INPUT( replace, wxString, ST(1) );
9163
9164         THIS->SetReplaceString(replace);
9165     }
9166     XSRETURN_EMPTY;
9167 }
9168
9169
9170 XS(XS_Wx__FindDialogEvent_GetFlags); /* prototype to pass -Wmissing-prototypes */
9171 XS(XS_Wx__FindDialogEvent_GetFlags)
9172 {
9173 #ifdef dVAR
9174     dVAR; dXSARGS;
9175 #else
9176     dXSARGS;
9177 #endif
9178     if (items != 1)
9179        croak_xs_usage(cv,  "THIS");
9180     {
9181         wxFindDialogEvent *    THIS = (wxFindDialogEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FindDialogEvent" );
9182         int     RETVAL;
9183         dXSTARG;
9184
9185         RETVAL = THIS->GetFlags();
9186         XSprePUSH; PUSHi((IV)RETVAL);
9187     }
9188     XSRETURN(1);
9189 }
9190
9191
9192 XS(XS_Wx__FindDialogEvent_GetFindString); /* prototype to pass -Wmissing-prototypes */
9193 XS(XS_Wx__FindDialogEvent_GetFindString)
9194 {
9195 #ifdef dVAR
9196     dVAR; dXSARGS;
9197 #else
9198     dXSARGS;
9199 #endif
9200     if (items != 1)
9201        croak_xs_usage(cv,  "THIS");
9202     {
9203         wxFindDialogEvent *    THIS = (wxFindDialogEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FindDialogEvent" );
9204         wxString        RETVAL;
9205
9206         RETVAL = THIS->GetFindString();
9207         ST(0) = sv_newmortal();
9208     WXSTRING_OUTPUT( RETVAL, ST(0) );
9209
9210     }
9211     XSRETURN(1);
9212 }
9213
9214
9215 XS(XS_Wx__FindDialogEvent_GetReplaceString); /* prototype to pass -Wmissing-prototypes */
9216 XS(XS_Wx__FindDialogEvent_GetReplaceString)
9217 {
9218 #ifdef dVAR
9219     dVAR; dXSARGS;
9220 #else
9221     dXSARGS;
9222 #endif
9223     if (items != 1)
9224        croak_xs_usage(cv,  "THIS");
9225     {
9226         wxFindDialogEvent *    THIS = (wxFindDialogEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FindDialogEvent" );
9227         wxString        RETVAL;
9228
9229         RETVAL = THIS->GetReplaceString();
9230         ST(0) = sv_newmortal();
9231     WXSTRING_OUTPUT( RETVAL, ST(0) );
9232
9233     }
9234     XSRETURN(1);
9235 }
9236
9237
9238 XS(XS_Wx__FindDialogEvent_GetDialog); /* prototype to pass -Wmissing-prototypes */
9239 XS(XS_Wx__FindDialogEvent_GetDialog)
9240 {
9241 #ifdef dVAR
9242     dVAR; dXSARGS;
9243 #else
9244     dXSARGS;
9245 #endif
9246     if (items != 1)
9247        croak_xs_usage(cv,  "THIS");
9248     {
9249         wxFindDialogEvent *    THIS = (wxFindDialogEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FindDialogEvent" );
9250         wxFindReplaceDialog *   RETVAL;
9251
9252         RETVAL = THIS->GetDialog();
9253         ST(0) = sv_newmortal();
9254     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
9255
9256     }
9257     XSRETURN(1);
9258 }
9259
9260
9261 XS(XS_Wx__FindReplaceDialog_new); /* prototype to pass -Wmissing-prototypes */
9262 XS(XS_Wx__FindReplaceDialog_new)
9263 {
9264 #ifdef dVAR
9265     dVAR; dXSARGS;
9266 #else
9267     dXSARGS;
9268 #endif
9269     if (items < 4 || items > 5)
9270        croak_xs_usage(cv,  "CLASS, parent, data, title, style = 0");
9271     {
9272         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
9273         wxFindReplaceData *    data = (wxFindReplaceData *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::FindReplaceData" );
9274         wxString        title;
9275         long    style;
9276         char *  CLASS = (char *)SvPV_nolen(ST(0));
9277         wxFindReplaceDialog *   RETVAL;
9278
9279     WXSTRING_INPUT( title, wxString, ST(3) );
9280
9281         if (items < 5)
9282             style = 0;
9283         else {
9284             style = (long)SvIV(ST(4));
9285         }
9286
9287         RETVAL = new wxFindReplaceDialog(parent, data, title, style);
9288         ST(0) = sv_newmortal();
9289     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
9290
9291     }
9292     XSRETURN(1);
9293 }
9294
9295
9296 XS(XS_Wx__FindReplaceDialog_GetData); /* prototype to pass -Wmissing-prototypes */
9297 XS(XS_Wx__FindReplaceDialog_GetData)
9298 {
9299 #ifdef dVAR
9300     dVAR; dXSARGS;
9301 #else
9302     dXSARGS;
9303 #endif
9304     if (items != 1)
9305        croak_xs_usage(cv,  "THIS");
9306     {
9307         wxFindReplaceDialog *    THIS = (wxFindReplaceDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FindReplaceDialog" );
9308         wxFindReplaceData *     RETVAL;
9309     RETVAL = (wxFindReplaceData*)THIS->GetData();
9310         ST(0) = sv_newmortal();
9311     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::FindReplaceData" );
9312
9313     }
9314     XSRETURN(1);
9315 }
9316
9317
9318 XS(XS_Wx__FindReplaceDialog_SetData); /* prototype to pass -Wmissing-prototypes */
9319 XS(XS_Wx__FindReplaceDialog_SetData)
9320 {
9321 #ifdef dVAR
9322     dVAR; dXSARGS;
9323 #else
9324     dXSARGS;
9325 #endif
9326     if (items != 2)
9327        croak_xs_usage(cv,  "THIS, data");
9328     {
9329         wxFindReplaceData*    data = (wxFindReplaceData *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::FindReplaceData" );
9330         wxFindReplaceDialog *    THIS = (wxFindReplaceDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FindReplaceDialog" );
9331
9332         THIS->SetData(data);
9333     }
9334     XSRETURN_EMPTY;
9335 }
9336
9337
9338 /* INCLUDE: Returning to 'XS/FontDialog.xs' from 'XS/FindReplaceDialog.xs' */
9339
9340 #if wxPERL_USE_FONTDLG
9341 #include <wx/fontdlg.h>
9342 #define XSubPPtmpAABK 1
9343
9344
9345 XS(XS_Wx__FontData_new); /* prototype to pass -Wmissing-prototypes */
9346 XS(XS_Wx__FontData_new)
9347 {
9348 #ifdef dVAR
9349     dVAR; dXSARGS;
9350 #else
9351     dXSARGS;
9352 #endif
9353     if (items != 1)
9354        croak_xs_usage(cv,  "CLASS");
9355     {
9356         char *  CLASS = (char *)SvPV_nolen(ST(0));
9357         wxFontData *    RETVAL;
9358
9359         RETVAL = new wxFontData();
9360         ST(0) = sv_newmortal();
9361     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
9362     wxPli_thread_sv_register( aTHX_ "Wx::FontData", RETVAL, ST(0) );
9363
9364     }
9365     XSRETURN(1);
9366 }
9367
9368
9369 XS(XS_Wx__FontData_CLONE); /* prototype to pass -Wmissing-prototypes */
9370 XS(XS_Wx__FontData_CLONE)
9371 {
9372 #ifdef dVAR
9373     dVAR; dXSARGS;
9374 #else
9375     dXSARGS;
9376 #endif
9377     if (items != 1)
9378        croak_xs_usage(cv,  "CLASS");
9379     {
9380         char *  CLASS = (char *)SvPV_nolen(ST(0));
9381     wxPli_thread_sv_clone( aTHX_ CLASS, (wxPliCloneSV)wxPli_detach_object );
9382     }
9383     XSRETURN_EMPTY;
9384 }
9385
9386
9387 XS(XS_Wx__FontData_DESTROY); /* prototype to pass -Wmissing-prototypes */
9388 XS(XS_Wx__FontData_DESTROY)
9389 {
9390 #ifdef dVAR
9391     dVAR; dXSARGS;
9392 #else
9393     dXSARGS;
9394 #endif
9395     if (items != 1)
9396        croak_xs_usage(cv,  "THIS");
9397     {
9398         wxFontData *    THIS = (wxFontData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FontData" );
9399     wxPli_thread_sv_unregister( aTHX_ "Wx::FontData", THIS, ST(0) );
9400     delete THIS;
9401     }
9402     XSRETURN_EMPTY;
9403 }
9404
9405
9406 XS(XS_Wx__FontData_EnableEffects); /* prototype to pass -Wmissing-prototypes */
9407 XS(XS_Wx__FontData_EnableEffects)
9408 {
9409 #ifdef dVAR
9410     dVAR; dXSARGS;
9411 #else
9412     dXSARGS;
9413 #endif
9414     if (items != 2)
9415        croak_xs_usage(cv,  "THIS, enable");
9416     {
9417         bool    enable = (bool)SvTRUE(ST(1));
9418         wxFontData *    THIS = (wxFontData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FontData" );
9419
9420         THIS->EnableEffects(enable);
9421     }
9422     XSRETURN_EMPTY;
9423 }
9424
9425
9426 XS(XS_Wx__FontData_GetAllowSymbols); /* prototype to pass -Wmissing-prototypes */
9427 XS(XS_Wx__FontData_GetAllowSymbols)
9428 {
9429 #ifdef dVAR
9430     dVAR; dXSARGS;
9431 #else
9432     dXSARGS;
9433 #endif
9434     if (items != 1)
9435        croak_xs_usage(cv,  "THIS");
9436     {
9437         wxFontData *    THIS = (wxFontData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FontData" );
9438         bool    RETVAL;
9439
9440         RETVAL = THIS->GetAllowSymbols();
9441         ST(0) = boolSV(RETVAL);
9442         sv_2mortal(ST(0));
9443     }
9444     XSRETURN(1);
9445 }
9446
9447
9448 XS(XS_Wx__FontData_GetColour); /* prototype to pass -Wmissing-prototypes */
9449 XS(XS_Wx__FontData_GetColour)
9450 {
9451 #ifdef dVAR
9452     dVAR; dXSARGS;
9453 #else
9454     dXSARGS;
9455 #endif
9456     if (items != 1)
9457        croak_xs_usage(cv,  "THIS");
9458     {
9459         wxFontData *    THIS = (wxFontData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FontData" );
9460         wxColour *      RETVAL;
9461     RETVAL = new wxColour( THIS->GetColour() );
9462         ST(0) = sv_newmortal();
9463     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Colour" );
9464     wxPli_thread_sv_register( aTHX_ "Wx::Colour", RETVAL, ST(0) );
9465
9466     }
9467     XSRETURN(1);
9468 }
9469
9470
9471 XS(XS_Wx__FontData_GetChosenFont); /* prototype to pass -Wmissing-prototypes */
9472 XS(XS_Wx__FontData_GetChosenFont)
9473 {
9474 #ifdef dVAR
9475     dVAR; dXSARGS;
9476 #else
9477     dXSARGS;
9478 #endif
9479     if (items != 1)
9480        croak_xs_usage(cv,  "THIS");
9481     {
9482         wxFontData *    THIS = (wxFontData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FontData" );
9483         wxFont *        RETVAL;
9484     RETVAL = new wxFont( THIS->GetChosenFont() );
9485         ST(0) = sv_newmortal();
9486     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
9487     wxPli_thread_sv_register( aTHX_ "Wx::Font", RETVAL, ST(0) );
9488
9489     }
9490     XSRETURN(1);
9491 }
9492
9493
9494 XS(XS_Wx__FontData_GetEnableEffects); /* prototype to pass -Wmissing-prototypes */
9495 XS(XS_Wx__FontData_GetEnableEffects)
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         wxFontData *    THIS = (wxFontData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FontData" );
9506         bool    RETVAL;
9507
9508         RETVAL = THIS->GetEnableEffects();
9509         ST(0) = boolSV(RETVAL);
9510         sv_2mortal(ST(0));
9511     }
9512     XSRETURN(1);
9513 }
9514
9515
9516 XS(XS_Wx__FontData_GetInitialFont); /* prototype to pass -Wmissing-prototypes */
9517 XS(XS_Wx__FontData_GetInitialFont)
9518 {
9519 #ifdef dVAR
9520     dVAR; dXSARGS;
9521 #else
9522     dXSARGS;
9523 #endif
9524     if (items != 1)
9525        croak_xs_usage(cv,  "THIS");
9526     {
9527         wxFontData *    THIS = (wxFontData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FontData" );
9528         wxFont *        RETVAL;
9529     RETVAL = new wxFont( THIS->GetInitialFont() );
9530         ST(0) = sv_newmortal();
9531     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
9532     wxPli_thread_sv_register( aTHX_ "Wx::Font", RETVAL, ST(0) );
9533
9534     }
9535     XSRETURN(1);
9536 }
9537
9538
9539 XS(XS_Wx__FontData_GetShowHelp); /* prototype to pass -Wmissing-prototypes */
9540 XS(XS_Wx__FontData_GetShowHelp)
9541 {
9542 #ifdef dVAR
9543     dVAR; dXSARGS;
9544 #else
9545     dXSARGS;
9546 #endif
9547     if (items != 1)
9548        croak_xs_usage(cv,  "THIS");
9549     {
9550         wxFontData *    THIS = (wxFontData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FontData" );
9551         bool    RETVAL;
9552
9553         RETVAL = THIS->GetShowHelp();
9554         ST(0) = boolSV(RETVAL);
9555         sv_2mortal(ST(0));
9556     }
9557     XSRETURN(1);
9558 }
9559
9560
9561 XS(XS_Wx__FontData_SetAllowSymbols); /* prototype to pass -Wmissing-prototypes */
9562 XS(XS_Wx__FontData_SetAllowSymbols)
9563 {
9564 #ifdef dVAR
9565     dVAR; dXSARGS;
9566 #else
9567     dXSARGS;
9568 #endif
9569     if (items != 2)
9570        croak_xs_usage(cv,  "THIS, allow");
9571     {
9572         bool    allow = (bool)SvTRUE(ST(1));
9573         wxFontData *    THIS = (wxFontData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FontData" );
9574
9575         THIS->SetAllowSymbols(allow);
9576     }
9577     XSRETURN_EMPTY;
9578 }
9579
9580
9581 XS(XS_Wx__FontData_SetChosenFont); /* prototype to pass -Wmissing-prototypes */
9582 XS(XS_Wx__FontData_SetChosenFont)
9583 {
9584 #ifdef dVAR
9585     dVAR; dXSARGS;
9586 #else
9587     dXSARGS;
9588 #endif
9589     if (items != 2)
9590        croak_xs_usage(cv,  "THIS, font");
9591     {
9592         wxFont*    font = (wxFont *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Font" );
9593         wxFontData *    THIS = (wxFontData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FontData" );
9594     THIS->SetChosenFont( *font );
9595     }
9596     XSRETURN_EMPTY;
9597 }
9598
9599
9600 XS(XS_Wx__FontData_SetColour); /* prototype to pass -Wmissing-prototypes */
9601 XS(XS_Wx__FontData_SetColour)
9602 {
9603 #ifdef dVAR
9604     dVAR; dXSARGS;
9605 #else
9606     dXSARGS;
9607 #endif
9608     if (items != 2)
9609        croak_xs_usage(cv,  "THIS, colour");
9610     {
9611         wxColour    colour = *(wxColour *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Colour" );
9612         wxFontData *    THIS = (wxFontData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FontData" );
9613
9614         THIS->SetColour(colour);
9615     }
9616     XSRETURN_EMPTY;
9617 }
9618
9619
9620 XS(XS_Wx__FontData_SetInitialFont); /* prototype to pass -Wmissing-prototypes */
9621 XS(XS_Wx__FontData_SetInitialFont)
9622 {
9623 #ifdef dVAR
9624     dVAR; dXSARGS;
9625 #else
9626     dXSARGS;
9627 #endif
9628     if (items != 2)
9629        croak_xs_usage(cv,  "THIS, font");
9630     {
9631         wxFont*    font = (wxFont *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Font" );
9632         wxFontData *    THIS = (wxFontData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FontData" );
9633     THIS->SetInitialFont( *font );
9634     }
9635     XSRETURN_EMPTY;
9636 }
9637
9638
9639 XS(XS_Wx__FontData_SetRange); /* prototype to pass -Wmissing-prototypes */
9640 XS(XS_Wx__FontData_SetRange)
9641 {
9642 #ifdef dVAR
9643     dVAR; dXSARGS;
9644 #else
9645     dXSARGS;
9646 #endif
9647     if (items != 3)
9648        croak_xs_usage(cv,  "THIS, min, max");
9649     {
9650         int     min = (int)SvIV(ST(1));
9651         int     max = (int)SvIV(ST(2));
9652         wxFontData *    THIS = (wxFontData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FontData" );
9653
9654         THIS->SetRange(min, max);
9655     }
9656     XSRETURN_EMPTY;
9657 }
9658
9659
9660 XS(XS_Wx__FontData_SetShowHelp); /* prototype to pass -Wmissing-prototypes */
9661 XS(XS_Wx__FontData_SetShowHelp)
9662 {
9663 #ifdef dVAR
9664     dVAR; dXSARGS;
9665 #else
9666     dXSARGS;
9667 #endif
9668     if (items != 2)
9669        croak_xs_usage(cv,  "THIS, show");
9670     {
9671         bool    show = (bool)SvTRUE(ST(1));
9672         wxFontData *    THIS = (wxFontData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FontData" );
9673
9674         THIS->SetShowHelp(show);
9675     }
9676     XSRETURN_EMPTY;
9677 }
9678
9679
9680 XS(XS_Wx__FontDialog_new); /* prototype to pass -Wmissing-prototypes */
9681 XS(XS_Wx__FontDialog_new)
9682 {
9683 #ifdef dVAR
9684     dVAR; dXSARGS;
9685 #else
9686     dXSARGS;
9687 #endif
9688     if (items < 2 || items > 3)
9689        croak_xs_usage(cv,  "CLASS, parent, data = 0");
9690     {
9691         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
9692         wxFontData*     data;
9693         char *  CLASS = (char *)SvPV_nolen(ST(0));
9694         wxFontDialog *  RETVAL;
9695
9696         if (items < 3)
9697             data = 0;
9698         else {
9699     data = (wxFontData *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::FontData" );
9700         }
9701     RETVAL = new wxFontDialog( parent, *data );
9702         ST(0) = sv_newmortal();
9703     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
9704
9705     }
9706     XSRETURN(1);
9707 }
9708
9709
9710 XS(XS_Wx__FontDialog_GetFontData); /* prototype to pass -Wmissing-prototypes */
9711 XS(XS_Wx__FontDialog_GetFontData)
9712 {
9713 #ifdef dVAR
9714     dVAR; dXSARGS;
9715 #else
9716     dXSARGS;
9717 #endif
9718     if (items != 1)
9719        croak_xs_usage(cv,  "THIS");
9720     {
9721         wxFontDialog *    THIS = (wxFontDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FontDialog" );
9722         wxFontData *    RETVAL;
9723     RETVAL = new wxFontData( THIS->GetFontData() );
9724         ST(0) = sv_newmortal();
9725     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
9726     wxPli_thread_sv_register( aTHX_ "Wx::FontData", RETVAL, ST(0) );
9727
9728     }
9729     XSRETURN(1);
9730 }
9731
9732
9733 XS(XS_Wx_GetFontFromUser); /* prototype to pass -Wmissing-prototypes */
9734 XS(XS_Wx_GetFontFromUser)
9735 {
9736 #ifdef dVAR
9737     dVAR; dXSARGS;
9738 #else
9739     dXSARGS;
9740 #endif
9741     if (items < 0 || items > 2)
9742        croak_xs_usage(cv,  "parent = 0, fontInit = (wxFont*)&wxNullFont");
9743     {
9744         wxWindow*       parent;
9745         wxFont* fontInit;
9746         wxFont *        RETVAL;
9747
9748         if (items < 1)
9749             parent = 0;
9750         else {
9751     parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
9752         }
9753
9754         if (items < 2)
9755             fontInit = (wxFont*)&wxNullFont;
9756         else {
9757     fontInit = (wxFont *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Font" );
9758         }
9759     RETVAL = new wxFont( wxGetFontFromUser( parent, *fontInit ) );
9760         ST(0) = sv_newmortal();
9761     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
9762     wxPli_thread_sv_register( aTHX_ "Wx::Font", RETVAL, ST(0) );
9763
9764     }
9765     XSRETURN(1);
9766 }
9767
9768 #endif
9769
9770 /* INCLUDE: Returning to 'XS/MultiChoiceDialog.xs' from 'XS/FontDialog.xs' */
9771
9772 #include <wx/choicdlg.h>
9773
9774 XS(XS_Wx__MultiChoiceDialog_new); /* prototype to pass -Wmissing-prototypes */
9775 XS(XS_Wx__MultiChoiceDialog_new)
9776 {
9777 #ifdef dVAR
9778     dVAR; dXSARGS;
9779 #else
9780     dXSARGS;
9781 #endif
9782     if (items < 5 || items > 7)
9783        croak_xs_usage(cv,  "CLASS, parent, message, caption, chs, style = wxCHOICEDLG_STYLE, pos = wxDefaultPosition");
9784     {
9785         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
9786         wxString        message;
9787         wxString        caption;
9788         SV*     chs = ST(4);
9789         long    style;
9790         wxPoint pos;
9791     wxString* choices;
9792     int n;
9793         char *  CLASS = (char *)SvPV_nolen(ST(0));
9794         wxMultiChoiceDialog *   RETVAL;
9795
9796     WXSTRING_INPUT( message, wxString, ST(2) );
9797
9798     WXSTRING_INPUT( caption, wxString, ST(3) );
9799
9800         if (items < 6)
9801             style = wxCHOICEDLG_STYLE;
9802         else {
9803             style = (long)SvIV(ST(5));
9804         }
9805
9806         if (items < 7)
9807             pos = wxDefaultPosition;
9808         else {
9809     pos = wxPli_sv_2_wxpoint( aTHX_ ST(6) );
9810         }
9811     n = wxPli_av_2_stringarray( aTHX_ chs, &choices );
9812     RETVAL = new wxMultiChoiceDialog( parent, message, caption, n, choices,
9813         style, pos );
9814     delete[] choices;
9815         ST(0) = sv_newmortal();
9816     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
9817
9818     }
9819     XSRETURN(1);
9820 }
9821
9822
9823 XS(XS_Wx__MultiChoiceDialog_GetSelections); /* prototype to pass -Wmissing-prototypes */
9824 XS(XS_Wx__MultiChoiceDialog_GetSelections)
9825 {
9826 #ifdef dVAR
9827     dVAR; dXSARGS;
9828 #else
9829     dXSARGS;
9830 #endif
9831     if (items != 1)
9832        croak_xs_usage(cv,  "THIS");
9833     PERL_UNUSED_VAR(ax); /* -Wall */
9834     SP -= items;
9835     {
9836     wxArrayInt ret;
9837     int i, max;
9838         wxMultiChoiceDialog *    THIS = (wxMultiChoiceDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MultiChoiceDialog" );
9839     ret = THIS->GetSelections();
9840     max = ret.GetCount();
9841     EXTEND( SP, max );
9842     for( i = 0; i < max; ++i )
9843     {
9844       PUSHs( sv_2mortal( newSViv( ret[i] ) ) );
9845     }
9846         PUTBACK;
9847         return;
9848     }
9849 }
9850
9851
9852 XS(XS_Wx__MultiChoiceDialog_SetSelections); /* prototype to pass -Wmissing-prototypes */
9853 XS(XS_Wx__MultiChoiceDialog_SetSelections)
9854 {
9855 #ifdef dVAR
9856     dVAR; dXSARGS;
9857 #else
9858     dXSARGS;
9859 #endif
9860     if (items < 1)
9861        croak_xs_usage(cv,  "THIS, ...");
9862     {
9863     wxArrayInt array;
9864     int i;
9865         wxMultiChoiceDialog *    THIS = (wxMultiChoiceDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MultiChoiceDialog" );
9866     array.Alloc( items - 1 );
9867     for( i = 1; i < items; ++i )
9868     {
9869       array.Add( SvIV( ST( i ) ) );
9870     }
9871     THIS->SetSelections( array );
9872     }
9873     XSRETURN_EMPTY;
9874 }
9875
9876
9877 /* INCLUDE: Returning to 'XS/SingleChoiceDialog.xs' from 'XS/MultiChoiceDialog.xs' */
9878
9879 #include <wx/choicdlg.h>
9880 #include "cpp/singlechoicedialog.h"
9881
9882 XS(XS_Wx__SingleChoiceDialog_new); /* prototype to pass -Wmissing-prototypes */
9883 XS(XS_Wx__SingleChoiceDialog_new)
9884 {
9885 #ifdef dVAR
9886     dVAR; dXSARGS;
9887 #else
9888     dXSARGS;
9889 #endif
9890     if (items < 5 || items > 8)
9891        croak_xs_usage(cv,  "CLASS, parent, message, caption, chs, dt = &PL_sv_undef, style = wxCHOICEDLG_STYLE, pos = wxDefaultPosition");
9892     {
9893         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
9894         wxString        message;
9895         wxString        caption;
9896         SV*     chs = ST(4);
9897         SV*     dt;
9898         long    style;
9899         wxPoint pos;
9900     wxString* choices;
9901     SV** data;
9902     int n, n2;
9903         char *  CLASS = (char *)SvPV_nolen(ST(0));
9904         wxSingleChoiceDialog *  RETVAL;
9905
9906     WXSTRING_INPUT( message, wxString, ST(2) );
9907
9908     WXSTRING_INPUT( caption, wxString, ST(3) );
9909
9910         if (items < 6)
9911             dt = &PL_sv_undef;
9912         else {
9913             dt = ST(5);
9914         }
9915
9916         if (items < 7)
9917             style = wxCHOICEDLG_STYLE;
9918         else {
9919             style = (long)SvIV(ST(6));
9920         }
9921
9922         if (items < 8)
9923             pos = wxDefaultPosition;
9924         else {
9925     pos = wxPli_sv_2_wxpoint( aTHX_ ST(7) );
9926         }
9927     n = wxPli_av_2_stringarray( aTHX_ chs, &choices );
9928     if( !SvOK( dt ) )
9929     {
9930       RETVAL = new wxPliSingleChoiceDialog( parent, message, caption, n,
9931             choices, 0, style, pos );
9932     }
9933     else
9934     {
9935       n2 = wxPli_av_2_svarray( aTHX_ dt, &data );
9936       if( n != n2 )
9937       {
9938         delete[] choices;
9939         delete[] data;
9940         choices = 0; data = 0; n = 0;
9941         croak( "supplied arrays of different size" );
9942       }
9943       RETVAL = new wxPliSingleChoiceDialog( parent, message, caption, n,
9944             choices, data, style, pos );
9945       delete[] data;
9946     }
9947     delete[] choices;
9948         ST(0) = sv_newmortal();
9949     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
9950
9951     }
9952     XSRETURN(1);
9953 }
9954
9955
9956 XS(XS_Wx__SingleChoiceDialog_GetSelection); /* prototype to pass -Wmissing-prototypes */
9957 XS(XS_Wx__SingleChoiceDialog_GetSelection)
9958 {
9959 #ifdef dVAR
9960     dVAR; dXSARGS;
9961 #else
9962     dXSARGS;
9963 #endif
9964     if (items != 1)
9965        croak_xs_usage(cv,  "THIS");
9966     {
9967         wxSingleChoiceDialog *    THIS = (wxSingleChoiceDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SingleChoiceDialog" );
9968         int     RETVAL;
9969         dXSTARG;
9970
9971         RETVAL = THIS->GetSelection();
9972         XSprePUSH; PUSHi((IV)RETVAL);
9973     }
9974     XSRETURN(1);
9975 }
9976
9977
9978 XS(XS_Wx__SingleChoiceDialog_GetSelectionClientData); /* prototype to pass -Wmissing-prototypes */
9979 XS(XS_Wx__SingleChoiceDialog_GetSelectionClientData)
9980 {
9981 #ifdef dVAR
9982     dVAR; dXSARGS;
9983 #else
9984     dXSARGS;
9985 #endif
9986     if (items != 1)
9987        croak_xs_usage(cv,  "THIS");
9988     {
9989     char* t;
9990         wxSingleChoiceDialog *    THIS = (wxSingleChoiceDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SingleChoiceDialog" );
9991         SV *    RETVAL;
9992     t = THIS->GetSelectionClientData();
9993     RETVAL = &PL_sv_undef;
9994     if( t )
9995     {
9996         RETVAL = (SV*)t;
9997     }
9998     SvREFCNT_inc( RETVAL );
9999         ST(0) = RETVAL;
10000         sv_2mortal(ST(0));
10001     }
10002     XSRETURN(1);
10003 }
10004
10005
10006 XS(XS_Wx__SingleChoiceDialog_GetStringSelection); /* prototype to pass -Wmissing-prototypes */
10007 XS(XS_Wx__SingleChoiceDialog_GetStringSelection)
10008 {
10009 #ifdef dVAR
10010     dVAR; dXSARGS;
10011 #else
10012     dXSARGS;
10013 #endif
10014     if (items != 1)
10015        croak_xs_usage(cv,  "THIS");
10016     {
10017         wxSingleChoiceDialog *    THIS = (wxSingleChoiceDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SingleChoiceDialog" );
10018         wxString        RETVAL;
10019
10020         RETVAL = THIS->GetStringSelection();
10021         ST(0) = sv_newmortal();
10022     WXSTRING_OUTPUT( RETVAL, ST(0) );
10023
10024     }
10025     XSRETURN(1);
10026 }
10027
10028
10029 XS(XS_Wx__SingleChoiceDialog_SetSelection); /* prototype to pass -Wmissing-prototypes */
10030 XS(XS_Wx__SingleChoiceDialog_SetSelection)
10031 {
10032 #ifdef dVAR
10033     dVAR; dXSARGS;
10034 #else
10035     dXSARGS;
10036 #endif
10037     if (items != 2)
10038        croak_xs_usage(cv,  "THIS, selection");
10039     {
10040         int     selection = (int)SvIV(ST(1));
10041         wxSingleChoiceDialog *    THIS = (wxSingleChoiceDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SingleChoiceDialog" );
10042
10043         THIS->SetSelection(selection);
10044     }
10045     XSRETURN_EMPTY;
10046 }
10047
10048
10049 XS(XS_Wx_GetSingleChoice); /* prototype to pass -Wmissing-prototypes */
10050 XS(XS_Wx_GetSingleChoice)
10051 {
10052 #ifdef dVAR
10053     dVAR; dXSARGS;
10054 #else
10055     dXSARGS;
10056 #endif
10057     if (items < 3 || items > 9)
10058        croak_xs_usage(cv,  "message, caption, chs, parent = 0, x = -1, y = -1, centre = true, width = wxCHOICE_WIDTH, height = wxCHOICE_HEIGHT");
10059     {
10060         wxString        message;
10061         wxString        caption;
10062         SV*     chs = ST(2);
10063         wxWindow*       parent;
10064         int     x;
10065         int     y;
10066         bool    centre;
10067         int     width;
10068         int     height;
10069     wxString* choices;
10070     int n;
10071         wxString        RETVAL;
10072
10073     WXSTRING_INPUT( message, wxString, ST(0) );
10074
10075     WXSTRING_INPUT( caption, wxString, ST(1) );
10076
10077         if (items < 4)
10078             parent = 0;
10079         else {
10080     parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::Window" );
10081         }
10082
10083         if (items < 5)
10084             x = -1;
10085         else {
10086             x = (int)SvIV(ST(4));
10087         }
10088
10089         if (items < 6)
10090             y = -1;
10091         else {
10092             y = (int)SvIV(ST(5));
10093         }
10094
10095         if (items < 7)
10096             centre = true;
10097         else {
10098             centre = (bool)SvTRUE(ST(6));
10099         }
10100
10101         if (items < 8)
10102             width = wxCHOICE_WIDTH;
10103         else {
10104             width = (int)SvIV(ST(7));
10105         }
10106
10107         if (items < 9)
10108             height = wxCHOICE_HEIGHT;
10109         else {
10110             height = (int)SvIV(ST(8));
10111         }
10112     n = wxPli_av_2_stringarray( aTHX_ chs, &choices );
10113     RETVAL = wxGetSingleChoice( message, caption, n, choices, parent, x, y,
10114         centre, width, height );
10115     delete[] choices;
10116         ST(0) = sv_newmortal();
10117     WXSTRING_OUTPUT( RETVAL, ST(0) );
10118
10119     }
10120     XSRETURN(1);
10121 }
10122
10123
10124 XS(XS_Wx_GetSingleChoiceIndex); /* prototype to pass -Wmissing-prototypes */
10125 XS(XS_Wx_GetSingleChoiceIndex)
10126 {
10127 #ifdef dVAR
10128     dVAR; dXSARGS;
10129 #else
10130     dXSARGS;
10131 #endif
10132     if (items < 3 || items > 9)
10133        croak_xs_usage(cv,  "message, caption, chs, parent = 0, x = -1, y = -1, centre = true, width = wxCHOICE_WIDTH, height = wxCHOICE_HEIGHT");
10134     {
10135         wxString        message;
10136         wxString        caption;
10137         SV*     chs = ST(2);
10138         wxWindow*       parent;
10139         int     x;
10140         int     y;
10141         bool    centre;
10142         int     width;
10143         int     height;
10144     wxString* choices;
10145     int n;
10146         int     RETVAL;
10147         dXSTARG;
10148
10149     WXSTRING_INPUT( message, wxString, ST(0) );
10150
10151     WXSTRING_INPUT( caption, wxString, ST(1) );
10152
10153         if (items < 4)
10154             parent = 0;
10155         else {
10156     parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::Window" );
10157         }
10158
10159         if (items < 5)
10160             x = -1;
10161         else {
10162             x = (int)SvIV(ST(4));
10163         }
10164
10165         if (items < 6)
10166             y = -1;
10167         else {
10168             y = (int)SvIV(ST(5));
10169         }
10170
10171         if (items < 7)
10172             centre = true;
10173         else {
10174             centre = (bool)SvTRUE(ST(6));
10175         }
10176
10177         if (items < 8)
10178             width = wxCHOICE_WIDTH;
10179         else {
10180             width = (int)SvIV(ST(7));
10181         }
10182
10183         if (items < 9)
10184             height = wxCHOICE_HEIGHT;
10185         else {
10186             height = (int)SvIV(ST(8));
10187         }
10188     n = wxPli_av_2_stringarray( aTHX_ chs, &choices );
10189     RETVAL = wxGetSingleChoiceIndex( message, caption, n, choices,
10190         parent, x, y, centre, width, height );
10191     delete[] choices;
10192         XSprePUSH; PUSHi((IV)RETVAL);
10193     }
10194     XSRETURN(1);
10195 }
10196
10197
10198 XS(XS_Wx_GetSingleChoiceData); /* prototype to pass -Wmissing-prototypes */
10199 XS(XS_Wx_GetSingleChoiceData)
10200 {
10201 #ifdef dVAR
10202     dVAR; dXSARGS;
10203 #else
10204     dXSARGS;
10205 #endif
10206     if (items < 4 || items > 10)
10207        croak_xs_usage(cv,  "message, caption, chs, dt, parent = 0, x = -1, y = -1, centre = true, width = wxCHOICE_WIDTH, height = wxCHOICE_HEIGHT");
10208     {
10209         wxString        message;
10210         wxString        caption;
10211         SV*     chs = ST(2);
10212         SV*     dt = ST(3);
10213         wxWindow*       parent;
10214         int     x;
10215         int     y;
10216         bool    centre;
10217         int     width;
10218         int     height;
10219     wxString* choices;
10220     SV** data;
10221     int n, n2;
10222     void* rt;
10223         SV *    RETVAL;
10224
10225     WXSTRING_INPUT( message, wxString, ST(0) );
10226
10227     WXSTRING_INPUT( caption, wxString, ST(1) );
10228
10229         if (items < 5)
10230             parent = 0;
10231         else {
10232     parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(4), "Wx::Window" );
10233         }
10234
10235         if (items < 6)
10236             x = -1;
10237         else {
10238             x = (int)SvIV(ST(5));
10239         }
10240
10241         if (items < 7)
10242             y = -1;
10243         else {
10244             y = (int)SvIV(ST(6));
10245         }
10246
10247         if (items < 8)
10248             centre = true;
10249         else {
10250             centre = (bool)SvTRUE(ST(7));
10251         }
10252
10253         if (items < 9)
10254             width = wxCHOICE_WIDTH;
10255         else {
10256             width = (int)SvIV(ST(8));
10257         }
10258
10259         if (items < 10)
10260             height = wxCHOICE_HEIGHT;
10261         else {
10262             height = (int)SvIV(ST(9));
10263         }
10264     n = wxPli_av_2_stringarray( aTHX_ chs, &choices );
10265     n2 = wxPli_av_2_svarray( aTHX_ dt, &data );
10266     if( n != n2 )
10267     {
10268       delete[] choices;
10269       delete[] data;
10270       choices = 0; data = 0; n = 0;
10271       croak( "supplied arrays of different sizes" );
10272     }
10273     rt = wxGetSingleChoiceData( message, caption, n, choices, (void**)data,
10274         parent, x, y, centre, width, height );
10275     RETVAL = rt ? (SV*)rt : &PL_sv_undef;
10276     SvREFCNT_inc( RETVAL );
10277     delete[] choices;
10278     delete[] data;
10279         ST(0) = RETVAL;
10280         sv_2mortal(ST(0));
10281     }
10282     XSRETURN(1);
10283 }
10284
10285
10286 /* INCLUDE: Returning to 'XS/ProgressDialog.xs' from 'XS/SingleChoiceDialog.xs' */
10287
10288 #include <wx/progdlg.h>
10289
10290 XS(XS_Wx__ProgressDialog_new); /* prototype to pass -Wmissing-prototypes */
10291 XS(XS_Wx__ProgressDialog_new)
10292 {
10293 #ifdef dVAR
10294     dVAR; dXSARGS;
10295 #else
10296     dXSARGS;
10297 #endif
10298     if (items < 3 || items > 6)
10299        croak_xs_usage(cv,  "CLASS, title, message, maximum = 100, parent = 0, style = wxPD_AUTO_HIDE|wxPD_APP_MODAL");
10300     {
10301         wxString        title;
10302         wxString        message;
10303         int     maximum;
10304         wxWindow*       parent;
10305         long    style;
10306         char *  CLASS = (char *)SvPV_nolen(ST(0));
10307         wxProgressDialog *      RETVAL;
10308
10309     WXSTRING_INPUT( title, wxString, ST(1) );
10310
10311     WXSTRING_INPUT( message, wxString, ST(2) );
10312
10313         if (items < 4)
10314             maximum = 100;
10315         else {
10316             maximum = (int)SvIV(ST(3));
10317         }
10318
10319         if (items < 5)
10320             parent = 0;
10321         else {
10322     parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(4), "Wx::Window" );
10323         }
10324
10325         if (items < 6)
10326             style = wxPD_AUTO_HIDE|wxPD_APP_MODAL;
10327         else {
10328             style = (long)SvIV(ST(5));
10329         }
10330     RETVAL = new wxProgressDialog( title, message, maximum, parent, style );
10331         ST(0) = sv_newmortal();
10332     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
10333
10334     }
10335     XSRETURN(1);
10336 }
10337
10338
10339 XS(XS_Wx__ProgressDialog_Update); /* prototype to pass -Wmissing-prototypes */
10340 XS(XS_Wx__ProgressDialog_Update)
10341 {
10342 #ifdef dVAR
10343     dVAR; dXSARGS;
10344 #else
10345     dXSARGS;
10346 #endif
10347     if (items < 1 || items > 3)
10348        croak_xs_usage(cv,  "THIS, value = -1, newmsg = wxEmptyString");
10349     {
10350         int     value;
10351         wxString        newmsg;
10352         wxProgressDialog *    THIS = (wxProgressDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ProgressDialog" );
10353         bool    RETVAL;
10354
10355         if (items < 2)
10356             value = -1;
10357         else {
10358             value = (int)SvIV(ST(1));
10359         }
10360
10361         if (items < 3)
10362             newmsg = wxEmptyString;
10363         else {
10364     WXSTRING_INPUT( newmsg, wxString, ST(2) );
10365         }
10366
10367         RETVAL = THIS->Update(value, newmsg);
10368         ST(0) = boolSV(RETVAL);
10369         sv_2mortal(ST(0));
10370     }
10371     XSRETURN(1);
10372 }
10373
10374
10375 XS(XS_Wx__ProgressDialog_Resume); /* prototype to pass -Wmissing-prototypes */
10376 XS(XS_Wx__ProgressDialog_Resume)
10377 {
10378 #ifdef dVAR
10379     dVAR; dXSARGS;
10380 #else
10381     dXSARGS;
10382 #endif
10383     if (items != 1)
10384        croak_xs_usage(cv,  "THIS");
10385     {
10386         wxProgressDialog *    THIS = (wxProgressDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ProgressDialog" );
10387
10388         THIS->Resume();
10389     }
10390     XSRETURN_EMPTY;
10391 }
10392
10393
10394 /* INCLUDE: Returning to 'Frames.xs' from 'XS/ProgressDialog.xs' */
10395
10396
10397 /* INCLUDE:  Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/AboutDialog.xsp |' from 'Frames.xs' */
10398
10399 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
10400 #include <wx/aboutdlg.h>
10401 #define XSubPPtmpAABL 1
10402
10403
10404 XS(XS_Wx__AboutDialogInfo_new); /* prototype to pass -Wmissing-prototypes */
10405 XS(XS_Wx__AboutDialogInfo_new)
10406 {
10407 #ifdef dVAR
10408     dVAR; dXSARGS;
10409 #else
10410     dXSARGS;
10411 #endif
10412     if (items != 1)
10413        croak_xs_usage(cv,  "CLASS");
10414     {
10415         char *  CLASS = (char *)SvPV_nolen(ST(0));
10416         wxAboutDialogInfo *     RETVAL;
10417
10418         RETVAL = new wxAboutDialogInfo();
10419         ST(0) = sv_newmortal();
10420     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::AboutDialogInfo" );
10421
10422     }
10423     XSRETURN(1);
10424 }
10425
10426
10427 XS(XS_Wx__AboutDialogInfo_SetName); /* prototype to pass -Wmissing-prototypes */
10428 XS(XS_Wx__AboutDialogInfo_SetName)
10429 {
10430 #ifdef dVAR
10431     dVAR; dXSARGS;
10432 #else
10433     dXSARGS;
10434 #endif
10435     if (items != 2)
10436        croak_xs_usage(cv,  "THIS, name");
10437     {
10438         wxString        name;
10439         wxAboutDialogInfo *    THIS = (wxAboutDialogInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::AboutDialogInfo" );
10440
10441     WXSTRING_INPUT( name, wxString, ST(1) );
10442
10443         THIS->SetName(name);
10444     }
10445     XSRETURN_EMPTY;
10446 }
10447
10448
10449 XS(XS_Wx__AboutDialogInfo_GetName); /* prototype to pass -Wmissing-prototypes */
10450 XS(XS_Wx__AboutDialogInfo_GetName)
10451 {
10452 #ifdef dVAR
10453     dVAR; dXSARGS;
10454 #else
10455     dXSARGS;
10456 #endif
10457     if (items != 1)
10458        croak_xs_usage(cv,  "THIS");
10459     {
10460         wxAboutDialogInfo *    THIS = (wxAboutDialogInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::AboutDialogInfo" );
10461         wxString        RETVAL;
10462
10463         RETVAL = THIS->GetName();
10464         ST(0) = sv_newmortal();
10465     WXSTRING_OUTPUT( RETVAL, ST(0) );
10466
10467     }
10468     XSRETURN(1);
10469 }
10470
10471
10472 XS(XS_Wx__AboutDialogInfo_SetVersion); /* prototype to pass -Wmissing-prototypes */
10473 XS(XS_Wx__AboutDialogInfo_SetVersion)
10474 {
10475 #ifdef dVAR
10476     dVAR; dXSARGS;
10477 #else
10478     dXSARGS;
10479 #endif
10480     if (items != 2)
10481        croak_xs_usage(cv,  "THIS, version");
10482     {
10483         wxString        version;
10484         wxAboutDialogInfo *    THIS = (wxAboutDialogInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::AboutDialogInfo" );
10485
10486     WXSTRING_INPUT( version, wxString, ST(1) );
10487
10488         THIS->SetVersion(version);
10489     }
10490     XSRETURN_EMPTY;
10491 }
10492
10493
10494 XS(XS_Wx__AboutDialogInfo_HasVersion); /* prototype to pass -Wmissing-prototypes */
10495 XS(XS_Wx__AboutDialogInfo_HasVersion)
10496 {
10497 #ifdef dVAR
10498     dVAR; dXSARGS;
10499 #else
10500     dXSARGS;
10501 #endif
10502     if (items != 1)
10503        croak_xs_usage(cv,  "THIS");
10504     {
10505         wxAboutDialogInfo *    THIS = (wxAboutDialogInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::AboutDialogInfo" );
10506         bool    RETVAL;
10507
10508         RETVAL = THIS->HasVersion();
10509         ST(0) = boolSV(RETVAL);
10510         sv_2mortal(ST(0));
10511     }
10512     XSRETURN(1);
10513 }
10514
10515
10516 XS(XS_Wx__AboutDialogInfo_GetVersion); /* prototype to pass -Wmissing-prototypes */
10517 XS(XS_Wx__AboutDialogInfo_GetVersion)
10518 {
10519 #ifdef dVAR
10520     dVAR; dXSARGS;
10521 #else
10522     dXSARGS;
10523 #endif
10524     if (items != 1)
10525        croak_xs_usage(cv,  "THIS");
10526     {
10527         wxAboutDialogInfo *    THIS = (wxAboutDialogInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::AboutDialogInfo" );
10528         wxString        RETVAL;
10529
10530         RETVAL = THIS->GetVersion();
10531         ST(0) = sv_newmortal();
10532     WXSTRING_OUTPUT( RETVAL, ST(0) );
10533
10534     }
10535     XSRETURN(1);
10536 }
10537
10538
10539 XS(XS_Wx__AboutDialogInfo_SetDescription); /* prototype to pass -Wmissing-prototypes */
10540 XS(XS_Wx__AboutDialogInfo_SetDescription)
10541 {
10542 #ifdef dVAR
10543     dVAR; dXSARGS;
10544 #else
10545     dXSARGS;
10546 #endif
10547     if (items != 2)
10548        croak_xs_usage(cv,  "THIS, desc");
10549     {
10550         wxString        desc;
10551         wxAboutDialogInfo *    THIS = (wxAboutDialogInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::AboutDialogInfo" );
10552
10553     WXSTRING_INPUT( desc, wxString, ST(1) );
10554
10555         THIS->SetDescription(desc);
10556     }
10557     XSRETURN_EMPTY;
10558 }
10559
10560
10561 XS(XS_Wx__AboutDialogInfo_HasDescription); /* prototype to pass -Wmissing-prototypes */
10562 XS(XS_Wx__AboutDialogInfo_HasDescription)
10563 {
10564 #ifdef dVAR
10565     dVAR; dXSARGS;
10566 #else
10567     dXSARGS;
10568 #endif
10569     if (items != 1)
10570        croak_xs_usage(cv,  "THIS");
10571     {
10572         wxAboutDialogInfo *    THIS = (wxAboutDialogInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::AboutDialogInfo" );
10573         bool    RETVAL;
10574
10575         RETVAL = THIS->HasDescription();
10576         ST(0) = boolSV(RETVAL);
10577         sv_2mortal(ST(0));
10578     }
10579     XSRETURN(1);
10580 }
10581
10582
10583 XS(XS_Wx__AboutDialogInfo_GetDescription); /* prototype to pass -Wmissing-prototypes */
10584 XS(XS_Wx__AboutDialogInfo_GetDescription)
10585 {
10586 #ifdef dVAR
10587     dVAR; dXSARGS;
10588 #else
10589     dXSARGS;
10590 #endif
10591     if (items != 1)
10592        croak_xs_usage(cv,  "THIS");
10593     {
10594         wxAboutDialogInfo *    THIS = (wxAboutDialogInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::AboutDialogInfo" );
10595         wxString        RETVAL;
10596
10597         RETVAL = THIS->GetDescription();
10598         ST(0) = sv_newmortal();
10599     WXSTRING_OUTPUT( RETVAL, ST(0) );
10600
10601     }
10602     XSRETURN(1);
10603 }
10604
10605
10606 XS(XS_Wx__AboutDialogInfo_SetCopyright); /* prototype to pass -Wmissing-prototypes */
10607 XS(XS_Wx__AboutDialogInfo_SetCopyright)
10608 {
10609 #ifdef dVAR
10610     dVAR; dXSARGS;
10611 #else
10612     dXSARGS;
10613 #endif
10614     if (items != 2)
10615        croak_xs_usage(cv,  "THIS, copyright");
10616     {
10617         wxString        copyright;
10618         wxAboutDialogInfo *    THIS = (wxAboutDialogInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::AboutDialogInfo" );
10619
10620     WXSTRING_INPUT( copyright, wxString, ST(1) );
10621
10622         THIS->SetCopyright(copyright);
10623     }
10624     XSRETURN_EMPTY;
10625 }
10626
10627
10628 XS(XS_Wx__AboutDialogInfo_HasCopyright); /* prototype to pass -Wmissing-prototypes */
10629 XS(XS_Wx__AboutDialogInfo_HasCopyright)
10630 {
10631 #ifdef dVAR
10632     dVAR; dXSARGS;
10633 #else
10634     dXSARGS;
10635 #endif
10636     if (items != 1)
10637        croak_xs_usage(cv,  "THIS");
10638     {
10639         wxAboutDialogInfo *    THIS = (wxAboutDialogInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::AboutDialogInfo" );
10640         bool    RETVAL;
10641
10642         RETVAL = THIS->HasCopyright();
10643         ST(0) = boolSV(RETVAL);
10644         sv_2mortal(ST(0));
10645     }
10646     XSRETURN(1);
10647 }
10648
10649
10650 XS(XS_Wx__AboutDialogInfo_GetCopyright); /* prototype to pass -Wmissing-prototypes */
10651 XS(XS_Wx__AboutDialogInfo_GetCopyright)
10652 {
10653 #ifdef dVAR
10654     dVAR; dXSARGS;
10655 #else
10656     dXSARGS;
10657 #endif
10658     if (items != 1)
10659        croak_xs_usage(cv,  "THIS");
10660     {
10661         wxAboutDialogInfo *    THIS = (wxAboutDialogInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::AboutDialogInfo" );
10662         wxString        RETVAL;
10663
10664         RETVAL = THIS->GetCopyright();
10665         ST(0) = sv_newmortal();
10666     WXSTRING_OUTPUT( RETVAL, ST(0) );
10667
10668     }
10669     XSRETURN(1);
10670 }
10671
10672
10673 XS(XS_Wx__AboutDialogInfo_SetLicence); /* prototype to pass -Wmissing-prototypes */
10674 XS(XS_Wx__AboutDialogInfo_SetLicence)
10675 {
10676 #ifdef dVAR
10677     dVAR; dXSARGS;
10678 #else
10679     dXSARGS;
10680 #endif
10681     if (items != 2)
10682        croak_xs_usage(cv,  "THIS, licence");
10683     {
10684         wxString        licence;
10685         wxAboutDialogInfo *    THIS = (wxAboutDialogInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::AboutDialogInfo" );
10686
10687     WXSTRING_INPUT( licence, wxString, ST(1) );
10688
10689         THIS->SetLicence(licence);
10690     }
10691     XSRETURN_EMPTY;
10692 }
10693
10694
10695 XS(XS_Wx__AboutDialogInfo_SetLicense); /* prototype to pass -Wmissing-prototypes */
10696 XS(XS_Wx__AboutDialogInfo_SetLicense)
10697 {
10698 #ifdef dVAR
10699     dVAR; dXSARGS;
10700 #else
10701     dXSARGS;
10702 #endif
10703     if (items != 2)
10704        croak_xs_usage(cv,  "THIS, licence");
10705     {
10706         wxString        licence;
10707         wxAboutDialogInfo *    THIS = (wxAboutDialogInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::AboutDialogInfo" );
10708
10709     WXSTRING_INPUT( licence, wxString, ST(1) );
10710
10711         THIS->SetLicense(licence);
10712     }
10713     XSRETURN_EMPTY;
10714 }
10715
10716
10717 XS(XS_Wx__AboutDialogInfo_HasLicence); /* prototype to pass -Wmissing-prototypes */
10718 XS(XS_Wx__AboutDialogInfo_HasLicence)
10719 {
10720 #ifdef dVAR
10721     dVAR; dXSARGS;
10722 #else
10723     dXSARGS;
10724 #endif
10725     if (items != 1)
10726        croak_xs_usage(cv,  "THIS");
10727     {
10728         wxAboutDialogInfo *    THIS = (wxAboutDialogInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::AboutDialogInfo" );
10729         bool    RETVAL;
10730
10731         RETVAL = THIS->HasLicence();
10732         ST(0) = boolSV(RETVAL);
10733         sv_2mortal(ST(0));
10734     }
10735     XSRETURN(1);
10736 }
10737
10738
10739 XS(XS_Wx__AboutDialogInfo_GetLicence); /* prototype to pass -Wmissing-prototypes */
10740 XS(XS_Wx__AboutDialogInfo_GetLicence)
10741 {
10742 #ifdef dVAR
10743     dVAR; dXSARGS;
10744 #else
10745     dXSARGS;
10746 #endif
10747     if (items != 1)
10748        croak_xs_usage(cv,  "THIS");
10749     {
10750         wxAboutDialogInfo *    THIS = (wxAboutDialogInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::AboutDialogInfo" );
10751         wxString        RETVAL;
10752
10753         RETVAL = THIS->GetLicence();
10754         ST(0) = sv_newmortal();
10755     WXSTRING_OUTPUT( RETVAL, ST(0) );
10756
10757     }
10758     XSRETURN(1);
10759 }
10760
10761
10762 XS(XS_Wx__AboutDialogInfo_SetIcon); /* prototype to pass -Wmissing-prototypes */
10763 XS(XS_Wx__AboutDialogInfo_SetIcon)
10764 {
10765 #ifdef dVAR
10766     dVAR; dXSARGS;
10767 #else
10768     dXSARGS;
10769 #endif
10770     if (items != 2)
10771        croak_xs_usage(cv,  "THIS, icon");
10772     {
10773         wxIcon*    icon = (wxIcon *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Icon" );
10774         wxAboutDialogInfo *    THIS = (wxAboutDialogInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::AboutDialogInfo" );
10775     THIS->SetIcon( *( icon ) );
10776     }
10777     XSRETURN_EMPTY;
10778 }
10779
10780
10781 XS(XS_Wx__AboutDialogInfo_HasIcon); /* prototype to pass -Wmissing-prototypes */
10782 XS(XS_Wx__AboutDialogInfo_HasIcon)
10783 {
10784 #ifdef dVAR
10785     dVAR; dXSARGS;
10786 #else
10787     dXSARGS;
10788 #endif
10789     if (items != 1)
10790        croak_xs_usage(cv,  "THIS");
10791     {
10792         wxAboutDialogInfo *    THIS = (wxAboutDialogInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::AboutDialogInfo" );
10793         bool    RETVAL;
10794
10795         RETVAL = THIS->HasIcon();
10796         ST(0) = boolSV(RETVAL);
10797         sv_2mortal(ST(0));
10798     }
10799     XSRETURN(1);
10800 }
10801
10802
10803 XS(XS_Wx__AboutDialogInfo_GetIcon); /* prototype to pass -Wmissing-prototypes */
10804 XS(XS_Wx__AboutDialogInfo_GetIcon)
10805 {
10806 #ifdef dVAR
10807     dVAR; dXSARGS;
10808 #else
10809     dXSARGS;
10810 #endif
10811     if (items != 1)
10812        croak_xs_usage(cv,  "THIS");
10813     {
10814         wxAboutDialogInfo *    THIS = (wxAboutDialogInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::AboutDialogInfo" );
10815         wxIcon *        RETVAL;
10816     RETVAL = new wxIcon( THIS->GetIcon() );
10817         ST(0) = sv_newmortal();
10818     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
10819     wxPli_thread_sv_register( aTHX_ "Wx::Icon", RETVAL, ST(0) );
10820
10821     }
10822     XSRETURN(1);
10823 }
10824
10825
10826 XS(XS_Wx__AboutDialogInfo_SetWebSite); /* prototype to pass -Wmissing-prototypes */
10827 XS(XS_Wx__AboutDialogInfo_SetWebSite)
10828 {
10829 #ifdef dVAR
10830     dVAR; dXSARGS;
10831 #else
10832     dXSARGS;
10833 #endif
10834     if (items < 2 || items > 3)
10835        croak_xs_usage(cv,  "THIS, url, desc = wxEmptyString");
10836     {
10837         wxString        url;
10838         wxString        desc;
10839         wxAboutDialogInfo *    THIS = (wxAboutDialogInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::AboutDialogInfo" );
10840
10841     WXSTRING_INPUT( url, wxString, ST(1) );
10842
10843         if (items < 3)
10844             desc = wxEmptyString;
10845         else {
10846     WXSTRING_INPUT( desc, wxString, ST(2) );
10847         }
10848
10849         THIS->SetWebSite(url, desc);
10850     }
10851     XSRETURN_EMPTY;
10852 }
10853
10854
10855 XS(XS_Wx__AboutDialogInfo_HasWebSite); /* prototype to pass -Wmissing-prototypes */
10856 XS(XS_Wx__AboutDialogInfo_HasWebSite)
10857 {
10858 #ifdef dVAR
10859     dVAR; dXSARGS;
10860 #else
10861     dXSARGS;
10862 #endif
10863     if (items != 1)
10864        croak_xs_usage(cv,  "THIS");
10865     {
10866         wxAboutDialogInfo *    THIS = (wxAboutDialogInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::AboutDialogInfo" );
10867         bool    RETVAL;
10868
10869         RETVAL = THIS->HasWebSite();
10870         ST(0) = boolSV(RETVAL);
10871         sv_2mortal(ST(0));
10872     }
10873     XSRETURN(1);
10874 }
10875
10876
10877 XS(XS_Wx__AboutDialogInfo_GetWebSiteURL); /* prototype to pass -Wmissing-prototypes */
10878 XS(XS_Wx__AboutDialogInfo_GetWebSiteURL)
10879 {
10880 #ifdef dVAR
10881     dVAR; dXSARGS;
10882 #else
10883     dXSARGS;
10884 #endif
10885     if (items != 1)
10886        croak_xs_usage(cv,  "THIS");
10887     {
10888         wxAboutDialogInfo *    THIS = (wxAboutDialogInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::AboutDialogInfo" );
10889         wxString        RETVAL;
10890
10891         RETVAL = THIS->GetWebSiteURL();
10892         ST(0) = sv_newmortal();
10893     WXSTRING_OUTPUT( RETVAL, ST(0) );
10894
10895     }
10896     XSRETURN(1);
10897 }
10898
10899
10900 XS(XS_Wx__AboutDialogInfo_GetWebSiteDescription); /* prototype to pass -Wmissing-prototypes */
10901 XS(XS_Wx__AboutDialogInfo_GetWebSiteDescription)
10902 {
10903 #ifdef dVAR
10904     dVAR; dXSARGS;
10905 #else
10906     dXSARGS;
10907 #endif
10908     if (items != 1)
10909        croak_xs_usage(cv,  "THIS");
10910     {
10911         wxAboutDialogInfo *    THIS = (wxAboutDialogInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::AboutDialogInfo" );
10912         wxString        RETVAL;
10913
10914         RETVAL = THIS->GetWebSiteDescription();
10915         ST(0) = sv_newmortal();
10916     WXSTRING_OUTPUT( RETVAL, ST(0) );
10917
10918     }
10919     XSRETURN(1);
10920 }
10921
10922
10923 XS(XS_Wx__AboutDialogInfo_SetDevelopers); /* prototype to pass -Wmissing-prototypes */
10924 XS(XS_Wx__AboutDialogInfo_SetDevelopers)
10925 {
10926 #ifdef dVAR
10927     dVAR; dXSARGS;
10928 #else
10929     dXSARGS;
10930 #endif
10931     if (items != 2)
10932        croak_xs_usage(cv,  "THIS, developers");
10933     {
10934         wxArrayString   developers;
10935         wxAboutDialogInfo *    THIS = (wxAboutDialogInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::AboutDialogInfo" );
10936
10937     wxPli_av_2_arraystring( aTHX_ ST(1), & developers );
10938
10939         THIS->SetDevelopers(developers);
10940     }
10941     XSRETURN_EMPTY;
10942 }
10943
10944
10945 XS(XS_Wx__AboutDialogInfo_AddDeveloper); /* prototype to pass -Wmissing-prototypes */
10946 XS(XS_Wx__AboutDialogInfo_AddDeveloper)
10947 {
10948 #ifdef dVAR
10949     dVAR; dXSARGS;
10950 #else
10951     dXSARGS;
10952 #endif
10953     if (items != 2)
10954        croak_xs_usage(cv,  "THIS, developer");
10955     {
10956         wxString        developer;
10957         wxAboutDialogInfo *    THIS = (wxAboutDialogInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::AboutDialogInfo" );
10958
10959     WXSTRING_INPUT( developer, wxString, ST(1) );
10960
10961         THIS->AddDeveloper(developer);
10962     }
10963     XSRETURN_EMPTY;
10964 }
10965
10966
10967 XS(XS_Wx__AboutDialogInfo_HasDevelopers); /* prototype to pass -Wmissing-prototypes */
10968 XS(XS_Wx__AboutDialogInfo_HasDevelopers)
10969 {
10970 #ifdef dVAR
10971     dVAR; dXSARGS;
10972 #else
10973     dXSARGS;
10974 #endif
10975     if (items != 1)
10976        croak_xs_usage(cv,  "THIS");
10977     {
10978         wxAboutDialogInfo *    THIS = (wxAboutDialogInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::AboutDialogInfo" );
10979         bool    RETVAL;
10980
10981         RETVAL = THIS->HasDevelopers();
10982         ST(0) = boolSV(RETVAL);
10983         sv_2mortal(ST(0));
10984     }
10985     XSRETURN(1);
10986 }
10987
10988
10989 XS(XS_Wx__AboutDialogInfo_SetDocWriters); /* prototype to pass -Wmissing-prototypes */
10990 XS(XS_Wx__AboutDialogInfo_SetDocWriters)
10991 {
10992 #ifdef dVAR
10993     dVAR; dXSARGS;
10994 #else
10995     dXSARGS;
10996 #endif
10997     if (items != 2)
10998        croak_xs_usage(cv,  "THIS, docwriters");
10999     {
11000         wxArrayString   docwriters;
11001         wxAboutDialogInfo *    THIS = (wxAboutDialogInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::AboutDialogInfo" );
11002
11003     wxPli_av_2_arraystring( aTHX_ ST(1), & docwriters );
11004
11005         THIS->SetDocWriters(docwriters);
11006     }
11007     XSRETURN_EMPTY;
11008 }
11009
11010
11011 XS(XS_Wx__AboutDialogInfo_AddDocWriter); /* prototype to pass -Wmissing-prototypes */
11012 XS(XS_Wx__AboutDialogInfo_AddDocWriter)
11013 {
11014 #ifdef dVAR
11015     dVAR; dXSARGS;
11016 #else
11017     dXSARGS;
11018 #endif
11019     if (items != 2)
11020        croak_xs_usage(cv,  "THIS, docwriter");
11021     {
11022         wxString        docwriter;
11023         wxAboutDialogInfo *    THIS = (wxAboutDialogInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::AboutDialogInfo" );
11024
11025     WXSTRING_INPUT( docwriter, wxString, ST(1) );
11026
11027         THIS->AddDocWriter(docwriter);
11028     }
11029     XSRETURN_EMPTY;
11030 }
11031
11032
11033 XS(XS_Wx__AboutDialogInfo_HasDocWriters); /* prototype to pass -Wmissing-prototypes */
11034 XS(XS_Wx__AboutDialogInfo_HasDocWriters)
11035 {
11036 #ifdef dVAR
11037     dVAR; dXSARGS;
11038 #else
11039     dXSARGS;
11040 #endif
11041     if (items != 1)
11042        croak_xs_usage(cv,  "THIS");
11043     {
11044         wxAboutDialogInfo *    THIS = (wxAboutDialogInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::AboutDialogInfo" );
11045         bool    RETVAL;
11046
11047         RETVAL = THIS->HasDocWriters();
11048         ST(0) = boolSV(RETVAL);
11049         sv_2mortal(ST(0));
11050     }
11051     XSRETURN(1);
11052 }
11053
11054
11055 XS(XS_Wx__AboutDialogInfo_SetArtists); /* prototype to pass -Wmissing-prototypes */
11056 XS(XS_Wx__AboutDialogInfo_SetArtists)
11057 {
11058 #ifdef dVAR
11059     dVAR; dXSARGS;
11060 #else
11061     dXSARGS;
11062 #endif
11063     if (items != 2)
11064        croak_xs_usage(cv,  "THIS, artists");
11065     {
11066         wxArrayString   artists;
11067         wxAboutDialogInfo *    THIS = (wxAboutDialogInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::AboutDialogInfo" );
11068
11069     wxPli_av_2_arraystring( aTHX_ ST(1), & artists );
11070
11071         THIS->SetArtists(artists);
11072     }
11073     XSRETURN_EMPTY;
11074 }
11075
11076
11077 XS(XS_Wx__AboutDialogInfo_AddArtist); /* prototype to pass -Wmissing-prototypes */
11078 XS(XS_Wx__AboutDialogInfo_AddArtist)
11079 {
11080 #ifdef dVAR
11081     dVAR; dXSARGS;
11082 #else
11083     dXSARGS;
11084 #endif
11085     if (items != 2)
11086        croak_xs_usage(cv,  "THIS, artist");
11087     {
11088         wxString        artist;
11089         wxAboutDialogInfo *    THIS = (wxAboutDialogInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::AboutDialogInfo" );
11090
11091     WXSTRING_INPUT( artist, wxString, ST(1) );
11092
11093         THIS->AddArtist(artist);
11094     }
11095     XSRETURN_EMPTY;
11096 }
11097
11098
11099 XS(XS_Wx__AboutDialogInfo_HasArtists); /* prototype to pass -Wmissing-prototypes */
11100 XS(XS_Wx__AboutDialogInfo_HasArtists)
11101 {
11102 #ifdef dVAR
11103     dVAR; dXSARGS;
11104 #else
11105     dXSARGS;
11106 #endif
11107     if (items != 1)
11108        croak_xs_usage(cv,  "THIS");
11109     {
11110         wxAboutDialogInfo *    THIS = (wxAboutDialogInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::AboutDialogInfo" );
11111         bool    RETVAL;
11112
11113         RETVAL = THIS->HasArtists();
11114         ST(0) = boolSV(RETVAL);
11115         sv_2mortal(ST(0));
11116     }
11117     XSRETURN(1);
11118 }
11119
11120
11121 XS(XS_Wx__AboutDialogInfo_SetTranslators); /* prototype to pass -Wmissing-prototypes */
11122 XS(XS_Wx__AboutDialogInfo_SetTranslators)
11123 {
11124 #ifdef dVAR
11125     dVAR; dXSARGS;
11126 #else
11127     dXSARGS;
11128 #endif
11129     if (items != 2)
11130        croak_xs_usage(cv,  "THIS, translators");
11131     {
11132         wxArrayString   translators;
11133         wxAboutDialogInfo *    THIS = (wxAboutDialogInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::AboutDialogInfo" );
11134
11135     wxPli_av_2_arraystring( aTHX_ ST(1), & translators );
11136
11137         THIS->SetTranslators(translators);
11138     }
11139     XSRETURN_EMPTY;
11140 }
11141
11142
11143 XS(XS_Wx__AboutDialogInfo_AddTranslator); /* prototype to pass -Wmissing-prototypes */
11144 XS(XS_Wx__AboutDialogInfo_AddTranslator)
11145 {
11146 #ifdef dVAR
11147     dVAR; dXSARGS;
11148 #else
11149     dXSARGS;
11150 #endif
11151     if (items != 2)
11152        croak_xs_usage(cv,  "THIS, translator");
11153     {
11154         wxString        translator;
11155         wxAboutDialogInfo *    THIS = (wxAboutDialogInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::AboutDialogInfo" );
11156
11157     WXSTRING_INPUT( translator, wxString, ST(1) );
11158
11159         THIS->AddTranslator(translator);
11160     }
11161     XSRETURN_EMPTY;
11162 }
11163
11164
11165 XS(XS_Wx__AboutDialogInfo_HasTranslators); /* prototype to pass -Wmissing-prototypes */
11166 XS(XS_Wx__AboutDialogInfo_HasTranslators)
11167 {
11168 #ifdef dVAR
11169     dVAR; dXSARGS;
11170 #else
11171     dXSARGS;
11172 #endif
11173     if (items != 1)
11174        croak_xs_usage(cv,  "THIS");
11175     {
11176         wxAboutDialogInfo *    THIS = (wxAboutDialogInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::AboutDialogInfo" );
11177         bool    RETVAL;
11178
11179         RETVAL = THIS->HasTranslators();
11180         ST(0) = boolSV(RETVAL);
11181         sv_2mortal(ST(0));
11182     }
11183     XSRETURN(1);
11184 }
11185
11186
11187 XS(XS_Wx_AboutBox); /* prototype to pass -Wmissing-prototypes */
11188 XS(XS_Wx_AboutBox)
11189 {
11190 #ifdef dVAR
11191     dVAR; dXSARGS;
11192 #else
11193     dXSARGS;
11194 #endif
11195     if (items != 1)
11196        croak_xs_usage(cv,  "info");
11197     {
11198         wxAboutDialogInfo*    info = (wxAboutDialogInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::AboutDialogInfo" );
11199     wxAboutBox( *( info ) );
11200     }
11201     XSRETURN_EMPTY;
11202 }
11203
11204 #endif
11205
11206 /* INCLUDE: Returning to 'Frames.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/AboutDialog.xsp |' */
11207
11208
11209 /* INCLUDE:  Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/PropertySheetDialog.xsp |' from 'Frames.xs' */
11210
11211 #if WXPERL_W_VERSION_GE( 2, 6, 0 )
11212 #include <wx/bookctrl.h>
11213 #include <wx/propdlg.h>
11214 #define XSubPPtmpAABM 1
11215
11216
11217 XS(XS_Wx__PropertySheetDialog_newDefault); /* prototype to pass -Wmissing-prototypes */
11218 XS(XS_Wx__PropertySheetDialog_newDefault)
11219 {
11220 #ifdef dVAR
11221     dVAR; dXSARGS;
11222 #else
11223     dXSARGS;
11224 #endif
11225     if (items != 1)
11226        croak_xs_usage(cv,  "CLASS");
11227     {
11228         char *  CLASS = (char *)SvPV_nolen(ST(0));
11229         wxPropertySheetDialog * RETVAL;
11230      RETVAL = new wxPropertySheetDialog();
11231                 wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
11232
11233         ST(0) = sv_newmortal();
11234     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
11235
11236     }
11237     XSRETURN(1);
11238 }
11239
11240
11241 XS(XS_Wx__PropertySheetDialog_newFull); /* prototype to pass -Wmissing-prototypes */
11242 XS(XS_Wx__PropertySheetDialog_newFull)
11243 {
11244 #ifdef dVAR
11245     dVAR; dXSARGS;
11246 #else
11247     dXSARGS;
11248 #endif
11249     if (items < 4 || items > 8)
11250        croak_xs_usage(cv,  "CLASS, parent, id, title, pos = wxDefaultPosition, size = wxDefaultSize, style = wxDEFAULT_DIALOG_STYLE, name = wxDialogNameStr");
11251     {
11252         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
11253         wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) );
11254         wxString        title;
11255         wxPoint pos;
11256         wxSize  size;
11257         long    style;
11258         wxString        name;
11259         char *  CLASS = (char *)SvPV_nolen(ST(0));
11260         wxPropertySheetDialog * RETVAL;
11261
11262     WXSTRING_INPUT( title, wxString, ST(3) );
11263
11264         if (items < 5)
11265             pos = wxDefaultPosition;
11266         else {
11267     pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
11268         }
11269
11270         if (items < 6)
11271             size = wxDefaultSize;
11272         else {
11273     size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
11274         }
11275
11276         if (items < 7)
11277             style = wxDEFAULT_DIALOG_STYLE;
11278         else {
11279             style = (long)SvIV(ST(6));
11280         }
11281
11282         if (items < 8)
11283             name = wxDialogNameStr;
11284         else {
11285     WXSTRING_INPUT( name, wxString, ST(7) );
11286         }
11287      RETVAL = new wxPropertySheetDialog( parent, id, title, pos,
11288                                                     size, style, name );
11289                 wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
11290
11291         ST(0) = sv_newmortal();
11292     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
11293
11294     }
11295     XSRETURN(1);
11296 }
11297
11298
11299 XS(XS_Wx__PropertySheetDialog_Create); /* prototype to pass -Wmissing-prototypes */
11300 XS(XS_Wx__PropertySheetDialog_Create)
11301 {
11302 #ifdef dVAR
11303     dVAR; dXSARGS;
11304 #else
11305     dXSARGS;
11306 #endif
11307     if (items < 4 || items > 8)
11308        croak_xs_usage(cv,  "THIS, parent, id, title, pos = wxDefaultPosition, size = wxDefaultSize, style = wxDEFAULT_DIALOG_STYLE, name = wxDialogNameStr");
11309     {
11310         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
11311         wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) );
11312         wxString        title;
11313         wxPoint pos;
11314         wxSize  size;
11315         long    style;
11316         wxString        name;
11317         wxPropertySheetDialog *    THIS = (wxPropertySheetDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PropertySheetDialog" );
11318         bool    RETVAL;
11319
11320     WXSTRING_INPUT( title, wxString, ST(3) );
11321
11322         if (items < 5)
11323             pos = wxDefaultPosition;
11324         else {
11325     pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
11326         }
11327
11328         if (items < 6)
11329             size = wxDefaultSize;
11330         else {
11331     size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
11332         }
11333
11334         if (items < 7)
11335             style = wxDEFAULT_DIALOG_STYLE;
11336         else {
11337             style = (long)SvIV(ST(6));
11338         }
11339
11340         if (items < 8)
11341             name = wxDialogNameStr;
11342         else {
11343     WXSTRING_INPUT( name, wxString, ST(7) );
11344         }
11345
11346         RETVAL = THIS->Create(parent, id, title, pos, size, style, name);
11347         ST(0) = boolSV(RETVAL);
11348         sv_2mortal(ST(0));
11349     }
11350     XSRETURN(1);
11351 }
11352
11353
11354 XS(XS_Wx__PropertySheetDialog_SetBookCtrl); /* prototype to pass -Wmissing-prototypes */
11355 XS(XS_Wx__PropertySheetDialog_SetBookCtrl)
11356 {
11357 #ifdef dVAR
11358     dVAR; dXSARGS;
11359 #else
11360     dXSARGS;
11361 #endif
11362     if (items != 2)
11363        croak_xs_usage(cv,  "THIS, book");
11364     {
11365         wxBookCtrlBase*    book = (wxBookCtrlBase *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::BookCtrlBase" );
11366         wxPropertySheetDialog *    THIS = (wxPropertySheetDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PropertySheetDialog" );
11367
11368         THIS->SetBookCtrl(book);
11369     }
11370     XSRETURN_EMPTY;
11371 }
11372
11373
11374 XS(XS_Wx__PropertySheetDialog_GetBookCtrl); /* prototype to pass -Wmissing-prototypes */
11375 XS(XS_Wx__PropertySheetDialog_GetBookCtrl)
11376 {
11377 #ifdef dVAR
11378     dVAR; dXSARGS;
11379 #else
11380     dXSARGS;
11381 #endif
11382     if (items != 1)
11383        croak_xs_usage(cv,  "THIS");
11384     {
11385         wxPropertySheetDialog *    THIS = (wxPropertySheetDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PropertySheetDialog" );
11386         wxBookCtrlBase *        RETVAL;
11387
11388         RETVAL = THIS->GetBookCtrl();
11389         ST(0) = sv_newmortal();
11390     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
11391
11392     }
11393     XSRETURN(1);
11394 }
11395
11396
11397 XS(XS_Wx__PropertySheetDialog_SetInnerSize); /* prototype to pass -Wmissing-prototypes */
11398 XS(XS_Wx__PropertySheetDialog_SetInnerSize)
11399 {
11400 #ifdef dVAR
11401     dVAR; dXSARGS;
11402 #else
11403     dXSARGS;
11404 #endif
11405     if (items != 2)
11406        croak_xs_usage(cv,  "THIS, sizer");
11407     {
11408         wxSizer*    sizer = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Sizer" );
11409         wxPropertySheetDialog *    THIS = (wxPropertySheetDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PropertySheetDialog" );
11410
11411         THIS->SetInnerSize(sizer);
11412     }
11413     XSRETURN_EMPTY;
11414 }
11415
11416
11417 XS(XS_Wx__PropertySheetDialog_GetInnerSizer); /* prototype to pass -Wmissing-prototypes */
11418 XS(XS_Wx__PropertySheetDialog_GetInnerSizer)
11419 {
11420 #ifdef dVAR
11421     dVAR; dXSARGS;
11422 #else
11423     dXSARGS;
11424 #endif
11425     if (items != 1)
11426        croak_xs_usage(cv,  "THIS");
11427     {
11428         wxPropertySheetDialog *    THIS = (wxPropertySheetDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PropertySheetDialog" );
11429         wxSizer *       RETVAL;
11430
11431         RETVAL = THIS->GetInnerSizer();
11432         ST(0) = sv_newmortal();
11433     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
11434
11435     }
11436     XSRETURN(1);
11437 }
11438
11439 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
11440 #define XSubPPtmpAABN 1
11441
11442
11443 XS(XS_Wx__PropertySheetDialog_SetSheetStyle); /* prototype to pass -Wmissing-prototypes */
11444 XS(XS_Wx__PropertySheetDialog_SetSheetStyle)
11445 {
11446 #ifdef dVAR
11447     dVAR; dXSARGS;
11448 #else
11449     dXSARGS;
11450 #endif
11451     if (items != 2)
11452        croak_xs_usage(cv,  "THIS, sheetStyle");
11453     {
11454         long    sheetStyle = (long)SvIV(ST(1));
11455         wxPropertySheetDialog *    THIS = (wxPropertySheetDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PropertySheetDialog" );
11456
11457         THIS->SetSheetStyle(sheetStyle);
11458     }
11459     XSRETURN_EMPTY;
11460 }
11461
11462
11463 XS(XS_Wx__PropertySheetDialog_GetSheetStyle); /* prototype to pass -Wmissing-prototypes */
11464 XS(XS_Wx__PropertySheetDialog_GetSheetStyle)
11465 {
11466 #ifdef dVAR
11467     dVAR; dXSARGS;
11468 #else
11469     dXSARGS;
11470 #endif
11471     if (items != 1)
11472        croak_xs_usage(cv,  "THIS");
11473     {
11474         wxPropertySheetDialog *    THIS = (wxPropertySheetDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PropertySheetDialog" );
11475         long    RETVAL;
11476         dXSTARG;
11477
11478         RETVAL = THIS->GetSheetStyle();
11479         XSprePUSH; PUSHi((IV)RETVAL);
11480     }
11481     XSRETURN(1);
11482 }
11483
11484
11485 XS(XS_Wx__PropertySheetDialog_SetSheetOuterBorder); /* prototype to pass -Wmissing-prototypes */
11486 XS(XS_Wx__PropertySheetDialog_SetSheetOuterBorder)
11487 {
11488 #ifdef dVAR
11489     dVAR; dXSARGS;
11490 #else
11491     dXSARGS;
11492 #endif
11493     if (items != 2)
11494        croak_xs_usage(cv,  "THIS, border");
11495     {
11496         int     border = (int)SvIV(ST(1));
11497         wxPropertySheetDialog *    THIS = (wxPropertySheetDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PropertySheetDialog" );
11498
11499         THIS->SetSheetOuterBorder(border);
11500     }
11501     XSRETURN_EMPTY;
11502 }
11503
11504
11505 XS(XS_Wx__PropertySheetDialog_GetSheetOuterBorder); /* prototype to pass -Wmissing-prototypes */
11506 XS(XS_Wx__PropertySheetDialog_GetSheetOuterBorder)
11507 {
11508 #ifdef dVAR
11509     dVAR; dXSARGS;
11510 #else
11511     dXSARGS;
11512 #endif
11513     if (items != 1)
11514        croak_xs_usage(cv,  "THIS");
11515     {
11516         wxPropertySheetDialog *    THIS = (wxPropertySheetDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PropertySheetDialog" );
11517         int     RETVAL;
11518         dXSTARG;
11519
11520         RETVAL = THIS->GetSheetOuterBorder();
11521         XSprePUSH; PUSHi((IV)RETVAL);
11522     }
11523     XSRETURN(1);
11524 }
11525
11526
11527 XS(XS_Wx__PropertySheetDialog_SetSheetInnerBorder); /* prototype to pass -Wmissing-prototypes */
11528 XS(XS_Wx__PropertySheetDialog_SetSheetInnerBorder)
11529 {
11530 #ifdef dVAR
11531     dVAR; dXSARGS;
11532 #else
11533     dXSARGS;
11534 #endif
11535     if (items != 2)
11536        croak_xs_usage(cv,  "THIS, border");
11537     {
11538         int     border = (int)SvIV(ST(1));
11539         wxPropertySheetDialog *    THIS = (wxPropertySheetDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PropertySheetDialog" );
11540
11541         THIS->SetSheetInnerBorder(border);
11542     }
11543     XSRETURN_EMPTY;
11544 }
11545
11546
11547 XS(XS_Wx__PropertySheetDialog_GetSheetInnerBorder); /* prototype to pass -Wmissing-prototypes */
11548 XS(XS_Wx__PropertySheetDialog_GetSheetInnerBorder)
11549 {
11550 #ifdef dVAR
11551     dVAR; dXSARGS;
11552 #else
11553     dXSARGS;
11554 #endif
11555     if (items != 1)
11556        croak_xs_usage(cv,  "THIS");
11557     {
11558         wxPropertySheetDialog *    THIS = (wxPropertySheetDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PropertySheetDialog" );
11559         int     RETVAL;
11560         dXSTARG;
11561
11562         RETVAL = THIS->GetSheetInnerBorder();
11563         XSprePUSH; PUSHi((IV)RETVAL);
11564     }
11565     XSRETURN(1);
11566 }
11567
11568 #endif
11569 #define wxPLI_OK_CANCEL wxOK|wxCANCEL
11570
11571 XS(XS_Wx__PropertySheetDialog_CreateButtons); /* prototype to pass -Wmissing-prototypes */
11572 XS(XS_Wx__PropertySheetDialog_CreateButtons)
11573 {
11574 #ifdef dVAR
11575     dVAR; dXSARGS;
11576 #else
11577     dXSARGS;
11578 #endif
11579     if (items < 1 || items > 2)
11580        croak_xs_usage(cv,  "THIS, flags = wxPLI_OK_CANCEL");
11581     {
11582         int     flags;
11583         wxPropertySheetDialog *    THIS = (wxPropertySheetDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PropertySheetDialog" );
11584
11585         if (items < 2)
11586             flags = wxPLI_OK_CANCEL;
11587         else {
11588             flags = (int)SvIV(ST(1));
11589         }
11590
11591         THIS->CreateButtons(flags);
11592     }
11593     XSRETURN_EMPTY;
11594 }
11595
11596 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
11597 #define XSubPPtmpAABO 1
11598
11599
11600 XS(XS_Wx__PropertySheetDialog_LayoutDialog); /* prototype to pass -Wmissing-prototypes */
11601 XS(XS_Wx__PropertySheetDialog_LayoutDialog)
11602 {
11603 #ifdef dVAR
11604     dVAR; dXSARGS;
11605 #else
11606     dXSARGS;
11607 #endif
11608     if (items < 1 || items > 2)
11609        croak_xs_usage(cv,  "THIS, centreFlags = wxBOTH");
11610     {
11611         int     centreFlags;
11612         wxPropertySheetDialog *    THIS = (wxPropertySheetDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PropertySheetDialog" );
11613
11614         if (items < 2)
11615             centreFlags = wxBOTH;
11616         else {
11617             centreFlags = (int)SvIV(ST(1));
11618         }
11619
11620         THIS->LayoutDialog(centreFlags);
11621     }
11622     XSRETURN_EMPTY;
11623 }
11624
11625 #else
11626 #define XSubPPtmpAABP 1
11627
11628
11629 XS(XS_Wx__PropertySheetDialog_LayoutDialog); /* prototype to pass -Wmissing-prototypes */
11630 XS(XS_Wx__PropertySheetDialog_LayoutDialog)
11631 {
11632 #ifdef dVAR
11633     dVAR; dXSARGS;
11634 #else
11635     dXSARGS;
11636 #endif
11637     if (items != 1)
11638        croak_xs_usage(cv,  "THIS");
11639     {
11640         wxPropertySheetDialog *    THIS = (wxPropertySheetDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PropertySheetDialog" );
11641
11642         THIS->LayoutDialog();
11643     }
11644     XSRETURN_EMPTY;
11645 }
11646
11647 #endif
11648 #endif
11649
11650 /* INCLUDE: Returning to 'Frames.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/PropertySheetDialog.xsp |' */
11651
11652 #ifdef __cplusplus
11653 extern "C"
11654 #endif
11655 XS(boot_Wx_Wnd); /* prototype to pass -Wmissing-prototypes */
11656 XS(boot_Wx_Wnd)
11657 {
11658 #ifdef dVAR
11659     dVAR; dXSARGS;
11660 #else
11661     dXSARGS;
11662 #endif
11663 #if (PERL_REVISION == 5 && PERL_VERSION < 9)
11664     char* file = __FILE__;
11665 #else
11666     const char* file = __FILE__;
11667 #endif
11668
11669     PERL_UNUSED_VAR(cv); /* -W */
11670     PERL_UNUSED_VAR(items); /* -W */
11671     XS_VERSION_BOOTCHECK ;
11672
11673         newXS("Wx::Panel::new", XS_Wx__Panel_new, file);
11674         newXS("Wx::Panel::newDefault", XS_Wx__Panel_newDefault, file);
11675         newXS("Wx::Panel::newFull", XS_Wx__Panel_newFull, file);
11676         newXS("Wx::Panel::Create", XS_Wx__Panel_Create, file);
11677 #if XSubPPtmpAAAA
11678         newXS("Wx::Panel::SetFocusIgnoringChildren", XS_Wx__Panel_SetFocusIgnoringChildren, file);
11679 #endif
11680         newXS("Wx::Panel::TransferDataFromWindow", XS_Wx__Panel_TransferDataFromWindow, file);
11681         newXS("Wx::Panel::TransferDataToWindow", XS_Wx__Panel_TransferDataToWindow, file);
11682         newXS("Wx::Panel::Validate", XS_Wx__Panel_Validate, file);
11683 #if XSubPPtmpAAAB
11684         newXS("Wx::Dialog::SetAffirmativeId", XS_Wx__Dialog_SetAffirmativeId, file);
11685         newXS("Wx::Dialog::GetAffirmativeId", XS_Wx__Dialog_GetAffirmativeId, file);
11686         newXS("Wx::Dialog::GetEscapeId", XS_Wx__Dialog_GetEscapeId, file);
11687 #endif
11688 #if XSubPPtmpAAAC
11689         newXS("Wx::Dialog::SetEscapeId", XS_Wx__Dialog_SetEscapeId, file);
11690 #endif
11691         newXS("Wx::Dialog::CreateTextSizer", XS_Wx__Dialog_CreateTextSizer, file);
11692         newXS("Wx::Dialog::CreateButtonSizer", XS_Wx__Dialog_CreateButtonSizer, file);
11693 #if XSubPPtmpAAAD
11694         newXS("Wx::Dialog::CreateSeparatedButtonSizer", XS_Wx__Dialog_CreateSeparatedButtonSizer, file);
11695 #endif
11696 #if XSubPPtmpAAAE
11697         newXS("Wx::Dialog::CreateStdDialogButtonSizer", XS_Wx__Dialog_CreateStdDialogButtonSizer, file);
11698 #endif
11699 #if XSubPPtmpAAAF
11700         newXS("Wx::Dialog::AddMainButtonId", XS_Wx__Dialog_AddMainButtonId, file);
11701         newXS("Wx::Dialog::IsMainButtonId", XS_Wx__Dialog_IsMainButtonId, file);
11702         newXS("Wx::Dialog::GetMainButtonIds", XS_Wx__Dialog_GetMainButtonIds, file);
11703         newXS("Wx::Dialog::CanDoLayoutAdaptation", XS_Wx__Dialog_CanDoLayoutAdaptation, file);
11704         newXS("Wx::Dialog::IsLayoutAdaptationEnabled", XS_Wx__Dialog_IsLayoutAdaptationEnabled, file);
11705         newXS("Wx::Dialog::EnableLayoutAdaptation", XS_Wx__Dialog_EnableLayoutAdaptation, file);
11706         newXS("Wx::Dialog::GetContentWindow", XS_Wx__Dialog_GetContentWindow, file);
11707         newXS("Wx::Dialog::SetLayoutAdaptationLevel", XS_Wx__Dialog_SetLayoutAdaptationLevel, file);
11708         newXS("Wx::Dialog::GetLayoutAdaptationLevel", XS_Wx__Dialog_GetLayoutAdaptationLevel, file);
11709         newXS("Wx::Dialog::SetLayoutAdaptationMode", XS_Wx__Dialog_SetLayoutAdaptationMode, file);
11710         newXS("Wx::Dialog::GetLayoutAdaptationMode", XS_Wx__Dialog_GetLayoutAdaptationMode, file);
11711         newXS("Wx::Dialog::SetLayoutAdaptationDone", XS_Wx__Dialog_SetLayoutAdaptationDone, file);
11712         newXS("Wx::Dialog::GetLayoutAdaptationDone", XS_Wx__Dialog_GetLayoutAdaptationDone, file);
11713 #if XSubPPtmpAAAG
11714         newXS("Wx::Dialog::GetToolBar", XS_Wx__Dialog_GetToolBar, file);
11715 #endif
11716 #endif
11717         newXS("Wx::Dialog::new", XS_Wx__Dialog_new, file);
11718         newXS("Wx::Dialog::newDefault", XS_Wx__Dialog_newDefault, file);
11719         newXS("Wx::Dialog::newFull", XS_Wx__Dialog_newFull, file);
11720         newXS("Wx::Dialog::Create", XS_Wx__Dialog_Create, file);
11721         newXS("Wx::Dialog::EndModal", XS_Wx__Dialog_EndModal, file);
11722         newXS("Wx::Dialog::GetReturnCode", XS_Wx__Dialog_GetReturnCode, file);
11723         newXS("Wx::Dialog::GetTitle", XS_Wx__Dialog_GetTitle, file);
11724         newXS("Wx::Dialog::IsModal", XS_Wx__Dialog_IsModal, file);
11725         newXS("Wx::Dialog::SetIcon", XS_Wx__Dialog_SetIcon, file);
11726         newXS("Wx::Dialog::SetIcons", XS_Wx__Dialog_SetIcons, file);
11727         newXS("Wx::Dialog::SetReturnCode", XS_Wx__Dialog_SetReturnCode, file);
11728         newXS("Wx::Dialog::SetTitle", XS_Wx__Dialog_SetTitle, file);
11729         newXS("Wx::Dialog::ShowModal", XS_Wx__Dialog_ShowModal, file);
11730 #if XSubPPtmpAAAH
11731         newXS("Wx::Dialog::SetFocusIgnoringChildren", XS_Wx__Dialog_SetFocusIgnoringChildren, file);
11732 #endif
11733         newXS("Wx::Dialog::TransferDataFromWindow", XS_Wx__Dialog_TransferDataFromWindow, file);
11734         newXS("Wx::Dialog::TransferDataToWindow", XS_Wx__Dialog_TransferDataToWindow, file);
11735         newXS("Wx::Dialog::Validate", XS_Wx__Dialog_Validate, file);
11736         newXS("Wx::Wizard::new", XS_Wx__Wizard_new, file);
11737         newXS("Wx::Wizard::newEmpty", XS_Wx__Wizard_newEmpty, file);
11738         newXS("Wx::Wizard::newFull", XS_Wx__Wizard_newFull, file);
11739         newXS("Wx::Wizard::Create", XS_Wx__Wizard_Create, file);
11740         newXS("Wx::Wizard::RunWizard", XS_Wx__Wizard_RunWizard, file);
11741         newXS("Wx::Wizard::GetCurrentPage", XS_Wx__Wizard_GetCurrentPage, file);
11742         newXS("Wx::Wizard::GetPageSize", XS_Wx__Wizard_GetPageSize, file);
11743         newXS("Wx::Wizard::SetPageSize", XS_Wx__Wizard_SetPageSize, file);
11744 #if XSubPPtmpAAAI
11745         newXS("Wx::Wizard::GetPageAreaSizer", XS_Wx__Wizard_GetPageAreaSizer, file);
11746 #endif
11747 #if XSubPPtmpAAAJ
11748         newXS("Wx::Wizard::GetBitmap", XS_Wx__Wizard_GetBitmap, file);
11749         newXS("Wx::Wizard::SetBitmap", XS_Wx__Wizard_SetBitmap, file);
11750 #endif
11751         newXS("Wx::Wizard::FitToPage", XS_Wx__Wizard_FitToPage, file);
11752         newXS("Wx::Wizard::SetBorder", XS_Wx__Wizard_SetBorder, file);
11753         newXS("Wx::Wizard::HasNextPage", XS_Wx__Wizard_HasNextPage, file);
11754         newXS("Wx::Wizard::HasPrevPage", XS_Wx__Wizard_HasPrevPage, file);
11755 #if XSubPPtmpAAAK
11756         newXS("Wx::Wizard::SetBitmapBackgroundColour", XS_Wx__Wizard_SetBitmapBackgroundColour, file);
11757         newXS("Wx::Wizard::GetBitmapBackgroundColour", XS_Wx__Wizard_GetBitmapBackgroundColour, file);
11758         newXS("Wx::Wizard::SetBitmapPlacement", XS_Wx__Wizard_SetBitmapPlacement, file);
11759         newXS("Wx::Wizard::GetBitmapPlacement", XS_Wx__Wizard_GetBitmapPlacement, file);
11760         newXS("Wx::Wizard::SetMinimumBitmapWidth", XS_Wx__Wizard_SetMinimumBitmapWidth, file);
11761         newXS("Wx::Wizard::GetMinimumBitmapWidth", XS_Wx__Wizard_GetMinimumBitmapWidth, file);
11762 #endif
11763         newXS("Wx::WizardPage::new", XS_Wx__WizardPage_new, file);
11764         newXS("Wx::WizardPage::newEmpty", XS_Wx__WizardPage_newEmpty, file);
11765         newXS("Wx::WizardPage::newFull", XS_Wx__WizardPage_newFull, file);
11766         newXS("Wx::WizardPage::Create", XS_Wx__WizardPage_Create, file);
11767         newXS("Wx::WizardPage::GetBitmap", XS_Wx__WizardPage_GetBitmap, file);
11768         newXS("Wx::WizardPage::GetPrev", XS_Wx__WizardPage_GetPrev, file);
11769         newXS("Wx::WizardPage::GetNext", XS_Wx__WizardPage_GetNext, file);
11770         newXS("Wx::WizardPageSimple::new", XS_Wx__WizardPageSimple_new, file);
11771         newXS("Wx::WizardPageSimple::SetPrev", XS_Wx__WizardPageSimple_SetPrev, file);
11772         newXS("Wx::WizardPageSimple::SetNext", XS_Wx__WizardPageSimple_SetNext, file);
11773         newXS("Wx::WizardPageSimple::Chain", XS_Wx__WizardPageSimple_Chain, file);
11774         newXS("Wx::WizardEvent::GetDirection", XS_Wx__WizardEvent_GetDirection, file);
11775         newXS("Wx::WizardEvent::GetPage", XS_Wx__WizardEvent_GetPage, file);
11776         newXS("Wx::ToolBarToolBase::Destroy", XS_Wx__ToolBarToolBase_Destroy, file);
11777         newXS("Wx::ToolBarToolBase::GetId", XS_Wx__ToolBarToolBase_GetId, file);
11778         newXS("Wx::ToolBarToolBase::GetControl", XS_Wx__ToolBarToolBase_GetControl, file);
11779         newXS("Wx::ToolBarToolBase::GetToolBar", XS_Wx__ToolBarToolBase_GetToolBar, file);
11780         newXS("Wx::ToolBarToolBase::IsButton", XS_Wx__ToolBarToolBase_IsButton, file);
11781         newXS("Wx::ToolBarToolBase::IsControl", XS_Wx__ToolBarToolBase_IsControl, file);
11782         newXS("Wx::ToolBarToolBase::IsSeparator", XS_Wx__ToolBarToolBase_IsSeparator, file);
11783         newXS("Wx::ToolBarToolBase::GetStyle", XS_Wx__ToolBarToolBase_GetStyle, file);
11784         newXS("Wx::ToolBarToolBase::GetKind", XS_Wx__ToolBarToolBase_GetKind, file);
11785         newXS("Wx::ToolBarToolBase::IsEnabled", XS_Wx__ToolBarToolBase_IsEnabled, file);
11786         newXS("Wx::ToolBarToolBase::IsToggled", XS_Wx__ToolBarToolBase_IsToggled, file);
11787         newXS("Wx::ToolBarToolBase::CanBeToggled", XS_Wx__ToolBarToolBase_CanBeToggled, file);
11788         newXS("Wx::ToolBarToolBase::GetNormalBitmap", XS_Wx__ToolBarToolBase_GetNormalBitmap, file);
11789         newXS("Wx::ToolBarToolBase::GetDisabledBitmap", XS_Wx__ToolBarToolBase_GetDisabledBitmap, file);
11790         newXS("Wx::ToolBarToolBase::GetBitmap1", XS_Wx__ToolBarToolBase_GetBitmap1, file);
11791         newXS("Wx::ToolBarToolBase::GetBitmap2", XS_Wx__ToolBarToolBase_GetBitmap2, file);
11792         newXS("Wx::ToolBarToolBase::GetBitmap", XS_Wx__ToolBarToolBase_GetBitmap, file);
11793         newXS("Wx::ToolBarToolBase::GetLabel", XS_Wx__ToolBarToolBase_GetLabel, file);
11794         newXS("Wx::ToolBarToolBase::GetShortHelp", XS_Wx__ToolBarToolBase_GetShortHelp, file);
11795         newXS("Wx::ToolBarToolBase::GetLongHelp", XS_Wx__ToolBarToolBase_GetLongHelp, file);
11796         newXS("Wx::ToolBarToolBase::GetClientData", XS_Wx__ToolBarToolBase_GetClientData, file);
11797         newXS("Wx::ToolBarToolBase::Enable", XS_Wx__ToolBarToolBase_Enable, file);
11798         newXS("Wx::ToolBarToolBase::Toggle", XS_Wx__ToolBarToolBase_Toggle, file);
11799         newXS("Wx::ToolBarToolBase::SetToggle", XS_Wx__ToolBarToolBase_SetToggle, file);
11800         newXS("Wx::ToolBarToolBase::SetShortHelp", XS_Wx__ToolBarToolBase_SetShortHelp, file);
11801         newXS("Wx::ToolBarToolBase::SetLongHelp", XS_Wx__ToolBarToolBase_SetLongHelp, file);
11802         newXS("Wx::ToolBarToolBase::SetNormalBitmap", XS_Wx__ToolBarToolBase_SetNormalBitmap, file);
11803         newXS("Wx::ToolBarToolBase::SetDisabledBitmap", XS_Wx__ToolBarToolBase_SetDisabledBitmap, file);
11804         newXS("Wx::ToolBarToolBase::SetLabel", XS_Wx__ToolBarToolBase_SetLabel, file);
11805         newXS("Wx::ToolBarToolBase::SetBitmap1", XS_Wx__ToolBarToolBase_SetBitmap1, file);
11806         newXS("Wx::ToolBarToolBase::SetBitmap2", XS_Wx__ToolBarToolBase_SetBitmap2, file);
11807         newXS("Wx::ToolBarToolBase::SetClientData", XS_Wx__ToolBarToolBase_SetClientData, file);
11808 #if XSubPPtmpAAAL
11809         newXS("Wx::ToolBarToolBase::SetDropdownMenu", XS_Wx__ToolBarToolBase_SetDropdownMenu, file);
11810         newXS("Wx::ToolBarToolBase::GetDropdownMenu", XS_Wx__ToolBarToolBase_GetDropdownMenu, file);
11811 #endif
11812         newXS("Wx::ToolBarBase::Destroy", XS_Wx__ToolBarBase_Destroy, file);
11813         newXS("Wx::ToolBarBase::AddControl", XS_Wx__ToolBarBase_AddControl, file);
11814         newXS("Wx::ToolBarBase::AddSeparator", XS_Wx__ToolBarBase_AddSeparator, file);
11815         newXS("Wx::ToolBarBase::AddTool", XS_Wx__ToolBarBase_AddTool, file);
11816         newXS("Wx::ToolBarBase::AddToolShort", XS_Wx__ToolBarBase_AddToolShort, file);
11817         newXS("Wx::ToolBarBase::AddToolLong", XS_Wx__ToolBarBase_AddToolLong, file);
11818         newXS("Wx::ToolBarBase::AddToolNewLong", XS_Wx__ToolBarBase_AddToolNewLong, file);
11819         newXS("Wx::ToolBarBase::AddToolNewShort", XS_Wx__ToolBarBase_AddToolNewShort, file);
11820         newXS("Wx::ToolBarBase::AddCheckTool", XS_Wx__ToolBarBase_AddCheckTool, file);
11821         newXS("Wx::ToolBarBase::AddRadioTool", XS_Wx__ToolBarBase_AddRadioTool, file);
11822         newXS("Wx::ToolBarBase::DeleteTool", XS_Wx__ToolBarBase_DeleteTool, file);
11823         newXS("Wx::ToolBarBase::DeleteToolByPos", XS_Wx__ToolBarBase_DeleteToolByPos, file);
11824         newXS("Wx::ToolBarBase::EnableTool", XS_Wx__ToolBarBase_EnableTool, file);
11825 #if XSubPPtmpAAAM
11826         newXS("Wx::ToolBarBase::FindById", XS_Wx__ToolBarBase_FindById, file);
11827 #endif
11828         newXS("Wx::ToolBarBase::FindControl", XS_Wx__ToolBarBase_FindControl, file);
11829         newXS("Wx::ToolBarBase::FindToolForPosition", XS_Wx__ToolBarBase_FindToolForPosition, file);
11830         newXS("Wx::ToolBarBase::GetMargins", XS_Wx__ToolBarBase_GetMargins, file);
11831         newXS("Wx::ToolBarBase::GetMaxRows", XS_Wx__ToolBarBase_GetMaxRows, file);
11832         newXS("Wx::ToolBarBase::GetMaxCols", XS_Wx__ToolBarBase_GetMaxCols, file);
11833         newXS("Wx::ToolBarBase::GetToolSize", XS_Wx__ToolBarBase_GetToolSize, file);
11834         newXS("Wx::ToolBarBase::GetToolBitmapSize", XS_Wx__ToolBarBase_GetToolBitmapSize, file);
11835         newXS("Wx::ToolBarBase::GetToolClientData", XS_Wx__ToolBarBase_GetToolClientData, file);
11836         newXS("Wx::ToolBarBase::GetToolEnabled", XS_Wx__ToolBarBase_GetToolEnabled, file);
11837         newXS("Wx::ToolBarBase::GetToolLongHelp", XS_Wx__ToolBarBase_GetToolLongHelp, file);
11838         newXS("Wx::ToolBarBase::GetToolPacking", XS_Wx__ToolBarBase_GetToolPacking, file);
11839         newXS("Wx::ToolBarBase::GetToolSeparation", XS_Wx__ToolBarBase_GetToolSeparation, file);
11840         newXS("Wx::ToolBarBase::GetToolShortHelp", XS_Wx__ToolBarBase_GetToolShortHelp, file);
11841         newXS("Wx::ToolBarBase::GetToolState", XS_Wx__ToolBarBase_GetToolState, file);
11842         newXS("Wx::ToolBarBase::InsertControl", XS_Wx__ToolBarBase_InsertControl, file);
11843         newXS("Wx::ToolBarBase::InsertSeparator", XS_Wx__ToolBarBase_InsertSeparator, file);
11844         newXS("Wx::ToolBarBase::InsertTool", XS_Wx__ToolBarBase_InsertTool, file);
11845         newXS("Wx::ToolBarBase::InsertToolLong", XS_Wx__ToolBarBase_InsertToolLong, file);
11846 #if XSubPPtmpAAAN
11847         newXS("Wx::ToolBarBase::InsertToolNewLong", XS_Wx__ToolBarBase_InsertToolNewLong, file);
11848 #endif
11849         newXS("Wx::ToolBarBase::ClearTools", XS_Wx__ToolBarBase_ClearTools, file);
11850         newXS("Wx::ToolBarBase::GetToolsCount", XS_Wx__ToolBarBase_GetToolsCount, file);
11851         newXS("Wx::ToolBarBase::GetToolPos", XS_Wx__ToolBarBase_GetToolPos, file);
11852         newXS("Wx::ToolBarBase::Realize", XS_Wx__ToolBarBase_Realize, file);
11853         newXS("Wx::ToolBarBase::RemoveTool", XS_Wx__ToolBarBase_RemoveTool, file);
11854         newXS("Wx::ToolBarBase::SetMarginsSize", XS_Wx__ToolBarBase_SetMarginsSize, file);
11855         newXS("Wx::ToolBarBase::SetMarginsXY", XS_Wx__ToolBarBase_SetMarginsXY, file);
11856         newXS("Wx::ToolBarBase::SetMargins", XS_Wx__ToolBarBase_SetMargins, file);
11857         newXS("Wx::ToolBarBase::SetMaxRowsCols", XS_Wx__ToolBarBase_SetMaxRowsCols, file);
11858         newXS("Wx::ToolBarBase::SetRows", XS_Wx__ToolBarBase_SetRows, file);
11859         newXS("Wx::ToolBarBase::SetToolBitmapSize", XS_Wx__ToolBarBase_SetToolBitmapSize, file);
11860         newXS("Wx::ToolBarBase::SetToolClientData", XS_Wx__ToolBarBase_SetToolClientData, file);
11861         newXS("Wx::ToolBarBase::SetToolLongHelp", XS_Wx__ToolBarBase_SetToolLongHelp, file);
11862         newXS("Wx::ToolBarBase::SetToolPacking", XS_Wx__ToolBarBase_SetToolPacking, file);
11863         newXS("Wx::ToolBarBase::SetToolShortHelp", XS_Wx__ToolBarBase_SetToolShortHelp, file);
11864         newXS("Wx::ToolBarBase::SetToolSeparation", XS_Wx__ToolBarBase_SetToolSeparation, file);
11865 #if XSubPPtmpAAAO
11866         newXS("Wx::ToolBarBase::SetToolNormalBitmap", XS_Wx__ToolBarBase_SetToolNormalBitmap, file);
11867         newXS("Wx::ToolBarBase::SetToolDisabledBitmap", XS_Wx__ToolBarBase_SetToolDisabledBitmap, file);
11868 #endif
11869         newXS("Wx::ToolBarBase::ToggleTool", XS_Wx__ToolBarBase_ToggleTool, file);
11870 #if XSubPPtmpAAAP
11871         newXS("Wx::ToolBarBase::SetDropdownMenu", XS_Wx__ToolBarBase_SetDropdownMenu, file);
11872 #endif
11873         newXS("Wx::ToolBar::new", XS_Wx__ToolBar_new, file);
11874         newXS("Wx::ToolBar::newDefault", XS_Wx__ToolBar_newDefault, file);
11875         newXS("Wx::ToolBar::newFull", XS_Wx__ToolBar_newFull, file);
11876         newXS("Wx::ToolBar::Create", XS_Wx__ToolBar_Create, file);
11877         newXS("Wx::StatusBar::new", XS_Wx__StatusBar_new, file);
11878         newXS("Wx::StatusBar::GetFieldRect", XS_Wx__StatusBar_GetFieldRect, file);
11879         newXS("Wx::StatusBar::GetFieldsCount", XS_Wx__StatusBar_GetFieldsCount, file);
11880         newXS("Wx::StatusBar::GetStatusText", XS_Wx__StatusBar_GetStatusText, file);
11881         newXS("Wx::StatusBar::PushStatusText", XS_Wx__StatusBar_PushStatusText, file);
11882         newXS("Wx::StatusBar::PopStatusText", XS_Wx__StatusBar_PopStatusText, file);
11883         newXS("Wx::StatusBar::SetFieldsCount", XS_Wx__StatusBar_SetFieldsCount, file);
11884         newXS("Wx::StatusBar::SetMinHeight", XS_Wx__StatusBar_SetMinHeight, file);
11885         newXS("Wx::StatusBar::SetStatusText", XS_Wx__StatusBar_SetStatusText, file);
11886         newXS("Wx::StatusBar::SetStatusWidths", XS_Wx__StatusBar_SetStatusWidths, file);
11887 #if XSubPPtmpAAAQ
11888         newXS("Wx::StatusBar::SetStatusStyles", XS_Wx__StatusBar_SetStatusStyles, file);
11889 #endif
11890         newXS("Wx::Frame::new", XS_Wx__Frame_new, file);
11891         newXS("Wx::Frame::newDefault", XS_Wx__Frame_newDefault, file);
11892         newXS("Wx::Frame::newFull", XS_Wx__Frame_newFull, file);
11893         newXS("Wx::Frame::Create", XS_Wx__Frame_Create, file);
11894 #if XSubPPtmpAAAR
11895         newXS("Wx::Frame::Command", XS_Wx__Frame_Command, file);
11896 #endif
11897         newXS("Wx::Frame::CreateStatusBar", XS_Wx__Frame_CreateStatusBar, file);
11898         newXS("Wx::Frame::CreateToolBar", XS_Wx__Frame_CreateToolBar, file);
11899         newXS("Wx::Frame::GetClientAreaOrigin", XS_Wx__Frame_GetClientAreaOrigin, file);
11900         newXS("Wx::Frame::GetMenuBar", XS_Wx__Frame_GetMenuBar, file);
11901         newXS("Wx::Frame::GetStatusBar", XS_Wx__Frame_GetStatusBar, file);
11902         newXS("Wx::Frame::GetStatusBarPane", XS_Wx__Frame_GetStatusBarPane, file);
11903         newXS("Wx::Frame::GetTitle", XS_Wx__Frame_GetTitle, file);
11904         newXS("Wx::Frame::GetToolBar", XS_Wx__Frame_GetToolBar, file);
11905 #if XSubPPtmpAAAS
11906         newXS("Wx::Frame::MacSetMetalAppearance", XS_Wx__Frame_MacSetMetalAppearance, file);
11907 #endif
11908         newXS("Wx::Frame::OnCreateStatusBar", XS_Wx__Frame_OnCreateStatusBar, file);
11909         newXS("Wx::Frame::SetIcon", XS_Wx__Frame_SetIcon, file);
11910         newXS("Wx::Frame::SetIcons", XS_Wx__Frame_SetIcons, file);
11911         newXS("Wx::Frame::SetMenuBar", XS_Wx__Frame_SetMenuBar, file);
11912         newXS("Wx::Frame::SetStatusBar", XS_Wx__Frame_SetStatusBar, file);
11913         newXS("Wx::Frame::SetTitle", XS_Wx__Frame_SetTitle, file);
11914         newXS("Wx::Frame::SetToolBar", XS_Wx__Frame_SetToolBar, file);
11915         newXS("Wx::Frame::SetStatusText", XS_Wx__Frame_SetStatusText, file);
11916         newXS("Wx::Frame::SetStatusBarPane", XS_Wx__Frame_SetStatusBarPane, file);
11917         newXS("Wx::Frame::SetStatusWidths", XS_Wx__Frame_SetStatusWidths, file);
11918 #if XSubPPtmpAAAT
11919         newXS("Wx::MiniFrame::new", XS_Wx__MiniFrame_new, file);
11920 #endif
11921         newXS("Wx::IconBundle::newEmpty", XS_Wx__IconBundle_newEmpty, file);
11922         newXS("Wx::IconBundle::newFile", XS_Wx__IconBundle_newFile, file);
11923         newXS("Wx::IconBundle::newIcon", XS_Wx__IconBundle_newIcon, file);
11924         newXS("Wx::IconBundle::AddIconFile", XS_Wx__IconBundle_AddIconFile, file);
11925         newXS("Wx::IconBundle::AddIconIcon", XS_Wx__IconBundle_AddIconIcon, file);
11926         newXS("Wx::IconBundle::GetIconSize", XS_Wx__IconBundle_GetIconSize, file);
11927         newXS("Wx::IconBundle::GetIconCoord", XS_Wx__IconBundle_GetIconCoord, file);
11928 #if XSubPPtmpAAAU
11929         newXS("Wx::IconBundle::IsEmpty", XS_Wx__IconBundle_IsEmpty, file);
11930         newXS("Wx::IconBundle::GetIconOfExactSizeSize", XS_Wx__IconBundle_GetIconOfExactSizeSize, file);
11931         newXS("Wx::IconBundle::GetIconOfExactSizeCoord", XS_Wx__IconBundle_GetIconOfExactSizeCoord, file);
11932         newXS("Wx::IconBundle::GetIconOfExactSize", XS_Wx__IconBundle_GetIconOfExactSize, file);
11933 #endif
11934         newXS("Wx::IconBundle::new", XS_Wx__IconBundle_new, file);
11935         newXS("Wx::IconBundle::AddIcon", XS_Wx__IconBundle_AddIcon, file);
11936         newXS("Wx::IconBundle::GetIcon", XS_Wx__IconBundle_GetIcon, file);
11937 #if XSubPPtmpAAAV
11938         newXS("Wx::TopLevelWindow::RequestUserAttention", XS_Wx__TopLevelWindow_RequestUserAttention, file);
11939 #endif
11940 #if XSubPPtmpAAAW
11941         newXS("Wx::TopLevelWindow::IsAlwaysMaximized", XS_Wx__TopLevelWindow_IsAlwaysMaximized, file);
11942         newXS("Wx::TopLevelWindow::GetDefaultItem", XS_Wx__TopLevelWindow_GetDefaultItem, file);
11943         newXS("Wx::TopLevelWindow::SetDefaultItem", XS_Wx__TopLevelWindow_SetDefaultItem, file);
11944         newXS("Wx::TopLevelWindow::GetTmpDefaultItem", XS_Wx__TopLevelWindow_GetTmpDefaultItem, file);
11945         newXS("Wx::TopLevelWindow::SetTmpDefaultItem", XS_Wx__TopLevelWindow_SetTmpDefaultItem, file);
11946         newXS("Wx::TopLevelWindow::SetTransparent", XS_Wx__TopLevelWindow_SetTransparent, file);
11947         newXS("Wx::TopLevelWindow::CanSetTransparent", XS_Wx__TopLevelWindow_CanSetTransparent, file);
11948 #endif
11949 #if XSubPPtmpAAAX
11950         newXS("Wx::TopLevelWindow::EnableCloseButton", XS_Wx__TopLevelWindow_EnableCloseButton, file);
11951 #endif
11952 #if XSubPPtmpAAAY
11953         newXS("Wx::TopLevelWindow::GetIcon", XS_Wx__TopLevelWindow_GetIcon, file);
11954         newXS("Wx::TopLevelWindow::GetIcons", XS_Wx__TopLevelWindow_GetIcons, file);
11955         newXS("Wx::TopLevelWindow::SetIcon", XS_Wx__TopLevelWindow_SetIcon, file);
11956         newXS("Wx::TopLevelWindow::SetIcons", XS_Wx__TopLevelWindow_SetIcons, file);
11957         newXS("Wx::TopLevelWindow::Iconize", XS_Wx__TopLevelWindow_Iconize, file);
11958         newXS("Wx::TopLevelWindow::Maximize", XS_Wx__TopLevelWindow_Maximize, file);
11959         newXS("Wx::TopLevelWindow::ShowFullScreen", XS_Wx__TopLevelWindow_ShowFullScreen, file);
11960         newXS("Wx::TopLevelWindow::IsFullScreen", XS_Wx__TopLevelWindow_IsFullScreen, file);
11961         newXS("Wx::TopLevelWindow::IsActive", XS_Wx__TopLevelWindow_IsActive, file);
11962         newXS("Wx::TopLevelWindow::IsIconized", XS_Wx__TopLevelWindow_IsIconized, file);
11963         newXS("Wx::TopLevelWindow::IsMaximized", XS_Wx__TopLevelWindow_IsMaximized, file);
11964 #if XSubPPtmpAAAZ
11965         newXS("Wx::TopLevelWindow::IsUsingNativeDecorations", XS_Wx__TopLevelWindow_IsUsingNativeDecorations, file);
11966 #endif
11967         newXS("Wx::TopLevelWindow::SetShape", XS_Wx__TopLevelWindow_SetShape, file);
11968 #if XSubPPtmpAABA
11969         newXS("Wx::TopLevelWindow::ShouldPreventAppExit", XS_Wx__TopLevelWindow_ShouldPreventAppExit, file);
11970 #endif
11971 #if XSubPPtmpAABB
11972         newXS("Wx::TopLevelWindow::UseNativeDecorations", XS_Wx__TopLevelWindow_UseNativeDecorations, file);
11973         newXS("Wx::TopLevelWindow::UseNativeDecorationsByDefault", XS_Wx__TopLevelWindow_UseNativeDecorationsByDefault, file);
11974 #endif
11975 #endif
11976 #if XSubPPtmpAABC
11977         newXS("Wx::PopupWindow::newDefault", XS_Wx__PopupWindow_newDefault, file);
11978         newXS("Wx::PopupWindow::newFull", XS_Wx__PopupWindow_newFull, file);
11979         newXS("Wx::PopupWindow::Create", XS_Wx__PopupWindow_Create, file);
11980         newXS("Wx::PopupWindow::Position", XS_Wx__PopupWindow_Position, file);
11981         newXS("Wx::PopupWindow::new", XS_Wx__PopupWindow_new, file);
11982         newXS("Wx::PopupTransientWindow::newDefault", XS_Wx__PopupTransientWindow_newDefault, file);
11983         newXS("Wx::PopupTransientWindow::newFull", XS_Wx__PopupTransientWindow_newFull, file);
11984         newXS("Wx::PopupTransientWindow::Popup", XS_Wx__PopupTransientWindow_Popup, file);
11985         newXS("Wx::PopupTransientWindow::Dismiss", XS_Wx__PopupTransientWindow_Dismiss, file);
11986         newXS("Wx::PopupTransientWindow::CanDismiss", XS_Wx__PopupTransientWindow_CanDismiss, file);
11987         newXS("Wx::PopupTransientWindow::ProcessLeftDown", XS_Wx__PopupTransientWindow_ProcessLeftDown, file);
11988         newXS("Wx::PopupTransientWindow::new", XS_Wx__PopupTransientWindow_new, file);
11989         newXS("Wx::PlPopupTransientWindow::newDefault", XS_Wx__PlPopupTransientWindow_newDefault, file);
11990         newXS("Wx::PlPopupTransientWindow::newFull", XS_Wx__PlPopupTransientWindow_newFull, file);
11991         newXS("Wx::PlPopupTransientWindow::Popup", XS_Wx__PlPopupTransientWindow_Popup, file);
11992         newXS("Wx::PlPopupTransientWindow::Dismiss", XS_Wx__PlPopupTransientWindow_Dismiss, file);
11993         newXS("Wx::PlPopupTransientWindow::CanDismiss", XS_Wx__PlPopupTransientWindow_CanDismiss, file);
11994         newXS("Wx::PlPopupTransientWindow::ProcessLeftDown", XS_Wx__PlPopupTransientWindow_ProcessLeftDown, file);
11995         newXS("Wx::PlPopupTransientWindow::new", XS_Wx__PlPopupTransientWindow_new, file);
11996 #endif
11997         newXS("Wx::TextEntryDialog::new", XS_Wx__TextEntryDialog_new, file);
11998         newXS("Wx::TextEntryDialog::GetValue", XS_Wx__TextEntryDialog_GetValue, file);
11999         newXS("Wx::TextEntryDialog::SetValue", XS_Wx__TextEntryDialog_SetValue, file);
12000         newXS("Wx::TextEntryDialog::ShowModal", XS_Wx__TextEntryDialog_ShowModal, file);
12001 #if XSubPPtmpAABD
12002         newXS("Wx::PasswordEntryDialog::new", XS_Wx__PasswordEntryDialog_new, file);
12003 #endif
12004 #if XSubPPtmpAABE
12005         newXS("Wx::NumberEntryDialog::new", XS_Wx__NumberEntryDialog_new, file);
12006         newXS("Wx::NumberEntryDialog::GetValue", XS_Wx__NumberEntryDialog_GetValue, file);
12007 #endif
12008         newXS("Wx::GetNumberFromUser", XS_Wx_GetNumberFromUser, file);
12009         newXS("Wx::GetPasswordFromUser", XS_Wx_GetPasswordFromUser, file);
12010         newXS("Wx::GetTextFromUser", XS_Wx_GetTextFromUser, file);
12011         newXS("Wx::FileDialog::new", XS_Wx__FileDialog_new, file);
12012         newXS("Wx::FileDialog::GetDirectory", XS_Wx__FileDialog_GetDirectory, file);
12013         newXS("Wx::FileDialog::GetFilename", XS_Wx__FileDialog_GetFilename, file);
12014         newXS("Wx::FileDialog::GetFilenames", XS_Wx__FileDialog_GetFilenames, file);
12015         newXS("Wx::FileDialog::GetFilterIndex", XS_Wx__FileDialog_GetFilterIndex, file);
12016         newXS("Wx::FileDialog::GetMessage", XS_Wx__FileDialog_GetMessage, file);
12017         newXS("Wx::FileDialog::GetPath", XS_Wx__FileDialog_GetPath, file);
12018         newXS("Wx::FileDialog::GetPaths", XS_Wx__FileDialog_GetPaths, file);
12019 #if XSubPPtmpAABF
12020         newXS("Wx::FileDialog::GetStyle", XS_Wx__FileDialog_GetStyle, file);
12021 #endif
12022         newXS("Wx::FileDialog::GetWildcard", XS_Wx__FileDialog_GetWildcard, file);
12023         newXS("Wx::FileDialog::SetDirectory", XS_Wx__FileDialog_SetDirectory, file);
12024         newXS("Wx::FileDialog::SetFilename", XS_Wx__FileDialog_SetFilename, file);
12025         newXS("Wx::FileDialog::SetFilterIndex", XS_Wx__FileDialog_SetFilterIndex, file);
12026         newXS("Wx::FileDialog::SetMessage", XS_Wx__FileDialog_SetMessage, file);
12027         newXS("Wx::FileDialog::SetPath", XS_Wx__FileDialog_SetPath, file);
12028 #if XSubPPtmpAABG
12029         newXS("Wx::FileDialog::SetStyle", XS_Wx__FileDialog_SetStyle, file);
12030 #endif
12031         newXS("Wx::FileDialog::SetWildcard", XS_Wx__FileDialog_SetWildcard, file);
12032         newXS("Wx::FileDialog::ShowModal", XS_Wx__FileDialog_ShowModal, file);
12033         newXS("Wx::FileSelector", XS_Wx_FileSelector, file);
12034         newXS("Wx::DirDialog::new", XS_Wx__DirDialog_new, file);
12035         newXS("Wx::DirDialog::GetPath", XS_Wx__DirDialog_GetPath, file);
12036         newXS("Wx::DirDialog::GetMessage", XS_Wx__DirDialog_GetMessage, file);
12037 #if XSubPPtmpAABH
12038         newXS("Wx::DirDialog::GetStyle", XS_Wx__DirDialog_GetStyle, file);
12039 #endif
12040         newXS("Wx::DirDialog::SetMessage", XS_Wx__DirDialog_SetMessage, file);
12041         newXS("Wx::DirDialog::SetPath", XS_Wx__DirDialog_SetPath, file);
12042 #if XSubPPtmpAABI
12043         newXS("Wx::DirDialog::SetStyle", XS_Wx__DirDialog_SetStyle, file);
12044 #endif
12045         newXS("Wx::DirDialog::ShowModal", XS_Wx__DirDialog_ShowModal, file);
12046         newXS("Wx::DirSelector", XS_Wx_DirSelector, file);
12047         newXS("Wx::ColourDialog::new", XS_Wx__ColourDialog_new, file);
12048         newXS("Wx::ColourDialog::GetColourData", XS_Wx__ColourDialog_GetColourData, file);
12049         newXS("Wx::ColourDialog::ShowModal", XS_Wx__ColourDialog_ShowModal, file);
12050         newXS("Wx::ColourData::new", XS_Wx__ColourData_new, file);
12051         newXS("Wx::ColourData::CLONE", XS_Wx__ColourData_CLONE, file);
12052         newXS("Wx::ColourData::DESTROY", XS_Wx__ColourData_DESTROY, file);
12053         newXS("Wx::ColourData::GetChooseFull", XS_Wx__ColourData_GetChooseFull, file);
12054         newXS("Wx::ColourData::GetColour", XS_Wx__ColourData_GetColour, file);
12055         newXS("Wx::ColourData::GetCustomColour", XS_Wx__ColourData_GetCustomColour, file);
12056         newXS("Wx::ColourData::SetChooseFull", XS_Wx__ColourData_SetChooseFull, file);
12057         newXS("Wx::ColourData::SetColour", XS_Wx__ColourData_SetColour, file);
12058         newXS("Wx::ColourData::SetCustomColour", XS_Wx__ColourData_SetCustomColour, file);
12059         newXS("Wx::GetColourFromUser", XS_Wx_GetColourFromUser, file);
12060         newXS("Wx::MessageDialog::new", XS_Wx__MessageDialog_new, file);
12061         newXS("Wx::MessageDialog::ShowModal", XS_Wx__MessageDialog_ShowModal, file);
12062 #if XSubPPtmpAABJ
12063         newXS("Wx::MessageDialog::SetYesNoLabels", XS_Wx__MessageDialog_SetYesNoLabels, file);
12064         newXS("Wx::MessageDialog::SetYesNoCancelLabels", XS_Wx__MessageDialog_SetYesNoCancelLabels, file);
12065         newXS("Wx::MessageDialog::SetOKLabel", XS_Wx__MessageDialog_SetOKLabel, file);
12066         newXS("Wx::MessageDialog::SetOKCancelLabels", XS_Wx__MessageDialog_SetOKCancelLabels, file);
12067         newXS("Wx::MessageDialog::SetMessage", XS_Wx__MessageDialog_SetMessage, file);
12068         newXS("Wx::MessageDialog::SetExtendedMessage", XS_Wx__MessageDialog_SetExtendedMessage, file);
12069 #endif
12070         newXS("Wx::MessageBox", XS_Wx_MessageBox, file);
12071         newXS("Wx::FindReplaceData::new", XS_Wx__FindReplaceData_new, file);
12072         newXS("Wx::FindReplaceData::Destroy", XS_Wx__FindReplaceData_Destroy, file);
12073         newXS("Wx::FindReplaceData::GetFindString", XS_Wx__FindReplaceData_GetFindString, file);
12074         newXS("Wx::FindReplaceData::GetReplaceString", XS_Wx__FindReplaceData_GetReplaceString, file);
12075         newXS("Wx::FindReplaceData::GetFlags", XS_Wx__FindReplaceData_GetFlags, file);
12076         newXS("Wx::FindReplaceData::SetFlags", XS_Wx__FindReplaceData_SetFlags, file);
12077         newXS("Wx::FindReplaceData::SetFindString", XS_Wx__FindReplaceData_SetFindString, file);
12078         newXS("Wx::FindReplaceData::SetReplaceString", XS_Wx__FindReplaceData_SetReplaceString, file);
12079         newXS("Wx::FindDialogEvent::GetFlags", XS_Wx__FindDialogEvent_GetFlags, file);
12080         newXS("Wx::FindDialogEvent::GetFindString", XS_Wx__FindDialogEvent_GetFindString, file);
12081         newXS("Wx::FindDialogEvent::GetReplaceString", XS_Wx__FindDialogEvent_GetReplaceString, file);
12082         newXS("Wx::FindDialogEvent::GetDialog", XS_Wx__FindDialogEvent_GetDialog, file);
12083         newXS("Wx::FindReplaceDialog::new", XS_Wx__FindReplaceDialog_new, file);
12084         newXS("Wx::FindReplaceDialog::GetData", XS_Wx__FindReplaceDialog_GetData, file);
12085         newXS("Wx::FindReplaceDialog::SetData", XS_Wx__FindReplaceDialog_SetData, file);
12086 #if XSubPPtmpAABK
12087         newXS("Wx::FontData::new", XS_Wx__FontData_new, file);
12088         newXS("Wx::FontData::CLONE", XS_Wx__FontData_CLONE, file);
12089         newXS("Wx::FontData::DESTROY", XS_Wx__FontData_DESTROY, file);
12090         newXS("Wx::FontData::EnableEffects", XS_Wx__FontData_EnableEffects, file);
12091         newXS("Wx::FontData::GetAllowSymbols", XS_Wx__FontData_GetAllowSymbols, file);
12092         newXS("Wx::FontData::GetColour", XS_Wx__FontData_GetColour, file);
12093         newXS("Wx::FontData::GetChosenFont", XS_Wx__FontData_GetChosenFont, file);
12094         newXS("Wx::FontData::GetEnableEffects", XS_Wx__FontData_GetEnableEffects, file);
12095         newXS("Wx::FontData::GetInitialFont", XS_Wx__FontData_GetInitialFont, file);
12096         newXS("Wx::FontData::GetShowHelp", XS_Wx__FontData_GetShowHelp, file);
12097         newXS("Wx::FontData::SetAllowSymbols", XS_Wx__FontData_SetAllowSymbols, file);
12098         newXS("Wx::FontData::SetChosenFont", XS_Wx__FontData_SetChosenFont, file);
12099         newXS("Wx::FontData::SetColour", XS_Wx__FontData_SetColour, file);
12100         newXS("Wx::FontData::SetInitialFont", XS_Wx__FontData_SetInitialFont, file);
12101         newXS("Wx::FontData::SetRange", XS_Wx__FontData_SetRange, file);
12102         newXS("Wx::FontData::SetShowHelp", XS_Wx__FontData_SetShowHelp, file);
12103         newXS("Wx::FontDialog::new", XS_Wx__FontDialog_new, file);
12104         newXS("Wx::FontDialog::GetFontData", XS_Wx__FontDialog_GetFontData, file);
12105         newXS("Wx::GetFontFromUser", XS_Wx_GetFontFromUser, file);
12106 #endif
12107         newXS("Wx::MultiChoiceDialog::new", XS_Wx__MultiChoiceDialog_new, file);
12108         newXS("Wx::MultiChoiceDialog::GetSelections", XS_Wx__MultiChoiceDialog_GetSelections, file);
12109         newXS("Wx::MultiChoiceDialog::SetSelections", XS_Wx__MultiChoiceDialog_SetSelections, file);
12110         newXS("Wx::SingleChoiceDialog::new", XS_Wx__SingleChoiceDialog_new, file);
12111         newXS("Wx::SingleChoiceDialog::GetSelection", XS_Wx__SingleChoiceDialog_GetSelection, file);
12112         newXS("Wx::SingleChoiceDialog::GetSelectionClientData", XS_Wx__SingleChoiceDialog_GetSelectionClientData, file);
12113         newXS("Wx::SingleChoiceDialog::GetStringSelection", XS_Wx__SingleChoiceDialog_GetStringSelection, file);
12114         newXS("Wx::SingleChoiceDialog::SetSelection", XS_Wx__SingleChoiceDialog_SetSelection, file);
12115         newXS("Wx::GetSingleChoice", XS_Wx_GetSingleChoice, file);
12116         newXS("Wx::GetSingleChoiceIndex", XS_Wx_GetSingleChoiceIndex, file);
12117         newXS("Wx::GetSingleChoiceData", XS_Wx_GetSingleChoiceData, file);
12118         newXS("Wx::ProgressDialog::new", XS_Wx__ProgressDialog_new, file);
12119         newXS("Wx::ProgressDialog::Update", XS_Wx__ProgressDialog_Update, file);
12120         newXS("Wx::ProgressDialog::Resume", XS_Wx__ProgressDialog_Resume, file);
12121 #if XSubPPtmpAABL
12122         newXS("Wx::AboutDialogInfo::new", XS_Wx__AboutDialogInfo_new, file);
12123         newXS("Wx::AboutDialogInfo::SetName", XS_Wx__AboutDialogInfo_SetName, file);
12124         newXS("Wx::AboutDialogInfo::GetName", XS_Wx__AboutDialogInfo_GetName, file);
12125         newXS("Wx::AboutDialogInfo::SetVersion", XS_Wx__AboutDialogInfo_SetVersion, file);
12126         newXS("Wx::AboutDialogInfo::HasVersion", XS_Wx__AboutDialogInfo_HasVersion, file);
12127         newXS("Wx::AboutDialogInfo::GetVersion", XS_Wx__AboutDialogInfo_GetVersion, file);
12128         newXS("Wx::AboutDialogInfo::SetDescription", XS_Wx__AboutDialogInfo_SetDescription, file);
12129         newXS("Wx::AboutDialogInfo::HasDescription", XS_Wx__AboutDialogInfo_HasDescription, file);
12130         newXS("Wx::AboutDialogInfo::GetDescription", XS_Wx__AboutDialogInfo_GetDescription, file);
12131         newXS("Wx::AboutDialogInfo::SetCopyright", XS_Wx__AboutDialogInfo_SetCopyright, file);
12132         newXS("Wx::AboutDialogInfo::HasCopyright", XS_Wx__AboutDialogInfo_HasCopyright, file);
12133         newXS("Wx::AboutDialogInfo::GetCopyright", XS_Wx__AboutDialogInfo_GetCopyright, file);
12134         newXS("Wx::AboutDialogInfo::SetLicence", XS_Wx__AboutDialogInfo_SetLicence, file);
12135         newXS("Wx::AboutDialogInfo::SetLicense", XS_Wx__AboutDialogInfo_SetLicense, file);
12136         newXS("Wx::AboutDialogInfo::HasLicence", XS_Wx__AboutDialogInfo_HasLicence, file);
12137         newXS("Wx::AboutDialogInfo::GetLicence", XS_Wx__AboutDialogInfo_GetLicence, file);
12138         newXS("Wx::AboutDialogInfo::SetIcon", XS_Wx__AboutDialogInfo_SetIcon, file);
12139         newXS("Wx::AboutDialogInfo::HasIcon", XS_Wx__AboutDialogInfo_HasIcon, file);
12140         newXS("Wx::AboutDialogInfo::GetIcon", XS_Wx__AboutDialogInfo_GetIcon, file);
12141         newXS("Wx::AboutDialogInfo::SetWebSite", XS_Wx__AboutDialogInfo_SetWebSite, file);
12142         newXS("Wx::AboutDialogInfo::HasWebSite", XS_Wx__AboutDialogInfo_HasWebSite, file);
12143         newXS("Wx::AboutDialogInfo::GetWebSiteURL", XS_Wx__AboutDialogInfo_GetWebSiteURL, file);
12144         newXS("Wx::AboutDialogInfo::GetWebSiteDescription", XS_Wx__AboutDialogInfo_GetWebSiteDescription, file);
12145         newXS("Wx::AboutDialogInfo::SetDevelopers", XS_Wx__AboutDialogInfo_SetDevelopers, file);
12146         newXS("Wx::AboutDialogInfo::AddDeveloper", XS_Wx__AboutDialogInfo_AddDeveloper, file);
12147         newXS("Wx::AboutDialogInfo::HasDevelopers", XS_Wx__AboutDialogInfo_HasDevelopers, file);
12148         newXS("Wx::AboutDialogInfo::SetDocWriters", XS_Wx__AboutDialogInfo_SetDocWriters, file);
12149         newXS("Wx::AboutDialogInfo::AddDocWriter", XS_Wx__AboutDialogInfo_AddDocWriter, file);
12150         newXS("Wx::AboutDialogInfo::HasDocWriters", XS_Wx__AboutDialogInfo_HasDocWriters, file);
12151         newXS("Wx::AboutDialogInfo::SetArtists", XS_Wx__AboutDialogInfo_SetArtists, file);
12152         newXS("Wx::AboutDialogInfo::AddArtist", XS_Wx__AboutDialogInfo_AddArtist, file);
12153         newXS("Wx::AboutDialogInfo::HasArtists", XS_Wx__AboutDialogInfo_HasArtists, file);
12154         newXS("Wx::AboutDialogInfo::SetTranslators", XS_Wx__AboutDialogInfo_SetTranslators, file);
12155         newXS("Wx::AboutDialogInfo::AddTranslator", XS_Wx__AboutDialogInfo_AddTranslator, file);
12156         newXS("Wx::AboutDialogInfo::HasTranslators", XS_Wx__AboutDialogInfo_HasTranslators, file);
12157         newXS("Wx::AboutBox", XS_Wx_AboutBox, file);
12158 #endif
12159 #if XSubPPtmpAABM
12160         newXS("Wx::PropertySheetDialog::newDefault", XS_Wx__PropertySheetDialog_newDefault, file);
12161         newXS("Wx::PropertySheetDialog::newFull", XS_Wx__PropertySheetDialog_newFull, file);
12162         newXS("Wx::PropertySheetDialog::Create", XS_Wx__PropertySheetDialog_Create, file);
12163         newXS("Wx::PropertySheetDialog::SetBookCtrl", XS_Wx__PropertySheetDialog_SetBookCtrl, file);
12164         newXS("Wx::PropertySheetDialog::GetBookCtrl", XS_Wx__PropertySheetDialog_GetBookCtrl, file);
12165         newXS("Wx::PropertySheetDialog::SetInnerSize", XS_Wx__PropertySheetDialog_SetInnerSize, file);
12166         newXS("Wx::PropertySheetDialog::GetInnerSizer", XS_Wx__PropertySheetDialog_GetInnerSizer, file);
12167 #if XSubPPtmpAABN
12168         newXS("Wx::PropertySheetDialog::SetSheetStyle", XS_Wx__PropertySheetDialog_SetSheetStyle, file);
12169         newXS("Wx::PropertySheetDialog::GetSheetStyle", XS_Wx__PropertySheetDialog_GetSheetStyle, file);
12170         newXS("Wx::PropertySheetDialog::SetSheetOuterBorder", XS_Wx__PropertySheetDialog_SetSheetOuterBorder, file);
12171         newXS("Wx::PropertySheetDialog::GetSheetOuterBorder", XS_Wx__PropertySheetDialog_GetSheetOuterBorder, file);
12172         newXS("Wx::PropertySheetDialog::SetSheetInnerBorder", XS_Wx__PropertySheetDialog_SetSheetInnerBorder, file);
12173         newXS("Wx::PropertySheetDialog::GetSheetInnerBorder", XS_Wx__PropertySheetDialog_GetSheetInnerBorder, file);
12174 #endif
12175         newXS("Wx::PropertySheetDialog::CreateButtons", XS_Wx__PropertySheetDialog_CreateButtons, file);
12176 #if XSubPPtmpAABO
12177         newXS("Wx::PropertySheetDialog::LayoutDialog", XS_Wx__PropertySheetDialog_LayoutDialog, file);
12178 #endif
12179 #if XSubPPtmpAABP
12180         newXS("Wx::PropertySheetDialog::LayoutDialog", XS_Wx__PropertySheetDialog_LayoutDialog, file);
12181 #endif
12182 #endif
12183
12184     /* Initialisation Section */
12185
12186 #if XSubPPtmpAAAA
12187 #endif
12188 #if XSubPPtmpAAAB
12189 #endif
12190 #if XSubPPtmpAAAC
12191 #endif
12192 #if XSubPPtmpAAAD
12193 #endif
12194 #if XSubPPtmpAAAE
12195 #endif
12196 #if XSubPPtmpAAAF
12197 #if XSubPPtmpAAAG
12198 #endif
12199 #endif
12200 #if XSubPPtmpAAAH
12201 #endif
12202 #if XSubPPtmpAAAI
12203 #endif
12204 #if XSubPPtmpAAAJ
12205 #endif
12206 #if XSubPPtmpAAAK
12207 #endif
12208 #if XSubPPtmpAAAL
12209 #endif
12210 #if XSubPPtmpAAAM
12211 #endif
12212 #if XSubPPtmpAAAN
12213 #endif
12214 #if XSubPPtmpAAAO
12215 #endif
12216 #if XSubPPtmpAAAP
12217 #endif
12218 #if XSubPPtmpAAAQ
12219 #endif
12220 #if XSubPPtmpAAAR
12221 #endif
12222 #if XSubPPtmpAAAS
12223 #endif
12224 #if XSubPPtmpAAAT
12225 #endif
12226 #if XSubPPtmpAAAU
12227 #endif
12228 #if XSubPPtmpAAAV
12229 #endif
12230 #if XSubPPtmpAAAW
12231 #endif
12232 #if XSubPPtmpAAAX
12233 #endif
12234 #if XSubPPtmpAAAY
12235 #if XSubPPtmpAAAZ
12236 #endif
12237 #if XSubPPtmpAABA
12238 #endif
12239 #if XSubPPtmpAABB
12240 #endif
12241 #endif
12242 #if XSubPPtmpAABC
12243 #endif
12244 #if XSubPPtmpAABD
12245 #endif
12246 #if XSubPPtmpAABE
12247 #endif
12248 #if XSubPPtmpAABF
12249 #endif
12250 #if XSubPPtmpAABG
12251 #endif
12252 #if XSubPPtmpAABH
12253 #endif
12254 #if XSubPPtmpAABI
12255 #endif
12256 #if XSubPPtmpAABJ
12257 #endif
12258 #if XSubPPtmpAABK
12259 #endif
12260 #if XSubPPtmpAABL
12261 #endif
12262 #if XSubPPtmpAABM
12263 #if XSubPPtmpAABN
12264 #endif
12265 #if XSubPPtmpAABO
12266 #endif
12267 #if XSubPPtmpAABP
12268 #endif
12269 #endif
12270
12271     /* End of Initialisation Section */
12272
12273 #if (PERL_REVISION == 5 && PERL_VERSION >= 9)
12274   if (PL_unitcheckav)
12275        call_list(PL_scopestack_ix, PL_unitcheckav);
12276 #endif
12277     XSRETURN_YES;
12278 }
12279