Added correct PATH and SBOX_REDIRECT_IGNORE and PERL5LIB envs in rules for libwx...
[pkg-perl] / deb-src / libwx-perl / libwx-perl-0.96 / Window.c
1 /*
2  * This file was generated automatically by ExtUtils::ParseXS version 2.2202 from the
3  * contents of Window.xs. Do not edit this file, edit Window.xs instead.
4  *
5  *      ANY CHANGES MADE HERE WILL BE LOST! 
6  *
7  */
8
9 /////////////////////////////////////////////////////////////////////////////
10 // Name:        Window.xs
11 // Purpose:     XS for Wx::Window
12 // Author:      Mattia Barbon
13 // Modified by:
14 // Created:     29/10/2000
15 // RCS-ID:      $Id: Window.xs 2700 2009-12-13 11:25:50Z mbarbon $
16 // Copyright:   (c) 2000-2002, 2004-2009 Mattia Barbon
17 // Licence:     This program is free software; you can redistribute it and/or
18 //              modify it under the same terms as Perl itself
19 /////////////////////////////////////////////////////////////////////////////
20
21 #define PERL_NO_GET_CONTEXT
22
23 #include "cpp/wxapi.h"
24
25 #include <wx/window.h>
26 #include <wx/layout.h>
27 #include <wx/sizer.h>
28
29 #include "cpp/overload.h"
30
31 #if wxPERL_USE_TOOLTIPS
32 #include <wx/tooltip.h>
33 #endif
34
35 #undef THIS
36
37 #include "cpp/v_cback.h"
38 #include "cpp/window.h"
39
40 WXPLI_BOOT_ONCE(Wx_Win);
41 #define boot_Wx_Win wxPli_boot_Wx_Win
42
43 #ifndef PERL_UNUSED_VAR
44 #  define PERL_UNUSED_VAR(var) if (0) var = var
45 #endif
46
47 #ifndef PERL_ARGS_ASSERT_CROAK_XS_USAGE
48 #define PERL_ARGS_ASSERT_CROAK_XS_USAGE assert(cv); assert(params)
49
50 /* prototype to pass -Wmissing-prototypes */
51 STATIC void
52 S_croak_xs_usage(pTHX_ const CV *const cv, const char *const params);
53
54 STATIC void
55 S_croak_xs_usage(pTHX_ const CV *const cv, const char *const params)
56 {
57     const GV *const gv = CvGV(cv);
58
59     PERL_ARGS_ASSERT_CROAK_XS_USAGE;
60
61     if (gv) {
62         const char *const gvname = GvNAME(gv);
63         const HV *const stash = GvSTASH(gv);
64         const char *const hvname = stash ? HvNAME(stash) : NULL;
65
66         if (hvname)
67             Perl_croak(aTHX_ "Usage: %s::%s(%s)", hvname, gvname, params);
68         else
69             Perl_croak(aTHX_ "Usage: %s(%s)", gvname, params);
70     } else {
71         /* Pants. I don't think that it should be possible to get here. */
72         Perl_croak(aTHX_ "Usage: CODE(0x%"UVxf")(%s)", PTR2UV(cv), params);
73     }
74 }
75 #undef  PERL_ARGS_ASSERT_CROAK_XS_USAGE
76
77 #ifdef PERL_IMPLICIT_CONTEXT
78 #define croak_xs_usage(a,b)     S_croak_xs_usage(aTHX_ a,b)
79 #else
80 #define croak_xs_usage          S_croak_xs_usage
81 #endif
82
83 #endif
84
85 /* NOTE: the prototype of newXSproto() is different in versions of perls,
86  * so we define a portable version of newXSproto()
87  */
88 #ifdef newXS_flags
89 #define newXSproto_portable(name, c_impl, file, proto) newXS_flags(name, c_impl, file, proto, 0)
90 #else
91 #define newXSproto_portable(name, c_impl, file, proto) (PL_Sv=(SV*)newXS(name, c_impl, file), sv_setpv(PL_Sv, proto), (CV*)PL_Sv)
92 #endif /* !defined(newXS_flags) */
93
94
95 XS(XS_Wx_GetMousePosition); /* prototype to pass -Wmissing-prototypes */
96 XS(XS_Wx_GetMousePosition)
97 {
98 #ifdef dVAR
99     dVAR; dXSARGS;
100 #else
101     dXSARGS;
102 #endif
103     if (items != 0)
104        croak_xs_usage(cv,  "");
105     {
106     int x, y;
107         wxPoint *       RETVAL;
108     ::wxGetMousePosition( &x, &y );
109     RETVAL = new wxPoint( x, y );
110         ST(0) = sv_newmortal();
111     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Point" );
112     wxPli_thread_sv_register( aTHX_ "Wx::Point", RETVAL, ST(0) );
113
114     }
115     XSRETURN(1);
116 }
117
118
119 XS(XS_Wx_GetMousePositionXY); /* prototype to pass -Wmissing-prototypes */
120 XS(XS_Wx_GetMousePositionXY)
121 {
122 #ifdef dVAR
123     dVAR; dXSARGS;
124 #else
125     dXSARGS;
126 #endif
127     if (items != 0)
128        croak_xs_usage(cv,  "");
129     PERL_UNUSED_VAR(ax); /* -Wall */
130     SP -= items;
131     {
132     int x, y;
133     ::wxGetMousePosition( &x, &y );
134     EXTEND( SP, 2 );
135     PUSHs( newSViv( x ) );
136     PUSHs( newSViv( y ) );
137         PUTBACK;
138         return;
139     }
140 }
141
142
143 XS(XS_Wx_GetTopLevelParent); /* prototype to pass -Wmissing-prototypes */
144 XS(XS_Wx_GetTopLevelParent)
145 {
146 #ifdef dVAR
147     dVAR; dXSARGS;
148 #else
149     dXSARGS;
150 #endif
151     if (items != 1)
152        croak_xs_usage(cv,  "window");
153     {
154         wxWindow*    window = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
155         wxWindow *      RETVAL;
156
157         RETVAL = wxGetTopLevelParent(window);
158         ST(0) = sv_newmortal();
159     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
160
161     }
162     XSRETURN(1);
163 }
164
165
166 XS(XS_Wx_FindWindowAtPointer); /* prototype to pass -Wmissing-prototypes */
167 XS(XS_Wx_FindWindowAtPointer)
168 {
169 #ifdef dVAR
170     dVAR; dXSARGS;
171 #else
172     dXSARGS;
173 #endif
174     if (items != 1)
175        croak_xs_usage(cv,  "pt");
176     {
177         wxPoint    pt = wxPli_sv_2_wxpoint( aTHX_ ST(0) );
178         wxWindow *      RETVAL;
179
180         RETVAL = wxFindWindowAtPointer(pt);
181         ST(0) = sv_newmortal();
182     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
183
184     }
185     XSRETURN(1);
186 }
187
188
189 XS(XS_Wx_GetActiveWindow); /* prototype to pass -Wmissing-prototypes */
190 XS(XS_Wx_GetActiveWindow)
191 {
192 #ifdef dVAR
193     dVAR; dXSARGS;
194 #else
195     dXSARGS;
196 #endif
197     if (items != 0)
198        croak_xs_usage(cv,  "");
199     {
200         wxWindow *      RETVAL;
201
202         RETVAL = wxGetActiveWindow();
203         ST(0) = sv_newmortal();
204     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
205
206     }
207     XSRETURN(1);
208 }
209
210
211 XS(XS_Wx__Window_NewControlId); /* prototype to pass -Wmissing-prototypes */
212 XS(XS_Wx__Window_NewControlId)
213 {
214 #ifdef dVAR
215     dVAR; dXSARGS;
216 #else
217     dXSARGS;
218 #endif
219     if (items != 1)
220        croak_xs_usage(cv,  "winid");
221     {
222         int     winid = (int)SvIV(ST(0));
223         int     RETVAL;
224         dXSTARG;
225     RETVAL = wxWindowBase::NewControlId();
226         XSprePUSH; PUSHi((IV)RETVAL);
227     }
228     XSRETURN(1);
229 }
230
231 #if WXPERL_W_VERSION_LT( 2, 9, 0 )
232 #define XSubPPtmpAAAA 1
233
234
235 XS(XS_Wx__Window_NextControlId); /* prototype to pass -Wmissing-prototypes */
236 XS(XS_Wx__Window_NextControlId)
237 {
238 #ifdef dVAR
239     dVAR; dXSARGS;
240 #else
241     dXSARGS;
242 #endif
243     if (items != 1)
244        croak_xs_usage(cv,  "winid");
245     {
246         int     winid = (int)SvIV(ST(0));
247         int     RETVAL;
248         dXSTARG;
249     RETVAL = wxWindowBase::NextControlId( winid );
250         XSprePUSH; PUSHi((IV)RETVAL);
251     }
252     XSRETURN(1);
253 }
254
255
256 XS(XS_Wx__Window_PrevControlId); /* prototype to pass -Wmissing-prototypes */
257 XS(XS_Wx__Window_PrevControlId)
258 {
259 #ifdef dVAR
260     dVAR; dXSARGS;
261 #else
262     dXSARGS;
263 #endif
264     if (items != 1)
265        croak_xs_usage(cv,  "winid");
266     {
267         int     winid = (int)SvIV(ST(0));
268         int     RETVAL;
269         dXSTARG;
270     RETVAL = wxWindowBase::PrevControlId( winid );
271         XSprePUSH; PUSHi((IV)RETVAL);
272     }
273     XSRETURN(1);
274 }
275
276 #endif
277
278 XS(XS_Wx__Window_new); /* prototype to pass -Wmissing-prototypes */
279 XS(XS_Wx__Window_new)
280 {
281 #ifdef dVAR
282     dVAR; dXSARGS;
283 #else
284     dXSARGS;
285 #endif
286     PERL_UNUSED_VAR(cv); /* -W */
287     PERL_UNUSED_VAR(ax); /* -Wall */
288     SP -= items;
289     {
290     BEGIN_OVERLOAD()
291         MATCH_VOIDM_REDISP( newDefault )
292         MATCH_ANY_REDISP( newFull )
293     END_OVERLOAD( "Wx::Window::new" )
294         PUTBACK;
295         return;
296     }
297 }
298
299
300 XS(XS_Wx__Window_newDefault); /* prototype to pass -Wmissing-prototypes */
301 XS(XS_Wx__Window_newDefault)
302 {
303 #ifdef dVAR
304     dVAR; dXSARGS;
305 #else
306     dXSARGS;
307 #endif
308     if (items != 1)
309        croak_xs_usage(cv,  "CLASS");
310     {
311         PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) );
312         wxWindow *      RETVAL;
313     RETVAL = new wxPliWindow( CLASS );
314         ST(0) = sv_newmortal();
315     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
316
317     }
318     XSRETURN(1);
319 }
320
321
322 XS(XS_Wx__Window_newFull); /* prototype to pass -Wmissing-prototypes */
323 XS(XS_Wx__Window_newFull)
324 {
325 #ifdef dVAR
326     dVAR; dXSARGS;
327 #else
328     dXSARGS;
329 #endif
330     if (items < 2 || items > 7)
331        croak_xs_usage(cv,  "CLASS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, name = wxPanelNameStr");
332     {
333         PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) );
334         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
335         wxWindowID      id;
336         wxPoint pos;
337         wxSize  size;
338         long    style;
339         wxString        name;
340         wxWindow *      RETVAL;
341
342         if (items < 3)
343             id = wxID_ANY;
344         else {
345     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
346         }
347
348         if (items < 4)
349             pos = wxDefaultPosition;
350         else {
351     pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) );
352         }
353
354         if (items < 5)
355             size = wxDefaultSize;
356         else {
357     size = wxPli_sv_2_wxsize( aTHX_ ST(4) );
358         }
359
360         if (items < 6)
361             style = 0;
362         else {
363             style = (long)SvIV(ST(5));
364         }
365
366         if (items < 7)
367             name = wxPanelNameStr;
368         else {
369     WXSTRING_INPUT( name, wxString, ST(6) );
370         }
371     RETVAL = new wxPliWindow( CLASS, parent, id, pos, size, style, name );
372         ST(0) = sv_newmortal();
373     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
374
375     }
376     XSRETURN(1);
377 }
378
379
380 XS(XS_Wx__Window_Create); /* prototype to pass -Wmissing-prototypes */
381 XS(XS_Wx__Window_Create)
382 {
383 #ifdef dVAR
384     dVAR; dXSARGS;
385 #else
386     dXSARGS;
387 #endif
388     if (items < 2 || items > 7)
389        croak_xs_usage(cv,  "THIS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, name = wxPanelNameStr");
390     {
391         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
392         wxWindowID      id;
393         wxPoint pos;
394         wxSize  size;
395         long    style;
396         wxString        name;
397         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
398         bool    RETVAL;
399
400         if (items < 3)
401             id = wxID_ANY;
402         else {
403     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
404         }
405
406         if (items < 4)
407             pos = wxDefaultPosition;
408         else {
409     pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) );
410         }
411
412         if (items < 5)
413             size = wxDefaultSize;
414         else {
415     size = wxPli_sv_2_wxsize( aTHX_ ST(4) );
416         }
417
418         if (items < 6)
419             style = 0;
420         else {
421             style = (long)SvIV(ST(5));
422         }
423
424         if (items < 7)
425             name = wxPanelNameStr;
426         else {
427     WXSTRING_INPUT( name, wxString, ST(6) );
428         }
429
430         RETVAL = THIS->Create(parent, id, pos, size, style, name);
431         ST(0) = boolSV(RETVAL);
432         sv_2mortal(ST(0));
433     }
434     XSRETURN(1);
435 }
436
437
438 XS(XS_Wx__Window_CaptureMouse); /* prototype to pass -Wmissing-prototypes */
439 XS(XS_Wx__Window_CaptureMouse)
440 {
441 #ifdef dVAR
442     dVAR; dXSARGS;
443 #else
444     dXSARGS;
445 #endif
446     if (items != 1)
447        croak_xs_usage(cv,  "THIS");
448     {
449         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
450
451         THIS->CaptureMouse();
452     }
453     XSRETURN_EMPTY;
454 }
455
456
457 XS(XS_Wx__Window_Centre); /* prototype to pass -Wmissing-prototypes */
458 XS(XS_Wx__Window_Centre)
459 {
460 #ifdef dVAR
461     dVAR; dXSARGS;
462 #else
463     dXSARGS;
464 #endif
465     if (items < 1 || items > 2)
466        croak_xs_usage(cv,  "THIS, direction = wxBOTH");
467     {
468         int     direction;
469         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
470
471         if (items < 2)
472             direction = wxBOTH;
473         else {
474             direction = (int)SvIV(ST(1));
475         }
476
477         THIS->Centre(direction);
478     }
479     XSRETURN_EMPTY;
480 }
481
482
483 XS(XS_Wx__Window_CentreOnParent); /* prototype to pass -Wmissing-prototypes */
484 XS(XS_Wx__Window_CentreOnParent)
485 {
486 #ifdef dVAR
487     dVAR; dXSARGS;
488 #else
489     dXSARGS;
490 #endif
491     if (items < 1 || items > 2)
492        croak_xs_usage(cv,  "THIS, direction = wxBOTH");
493     {
494         int     direction;
495         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
496
497         if (items < 2)
498             direction = wxBOTH;
499         else {
500             direction = (int)SvIV(ST(1));
501         }
502
503         THIS->CentreOnParent(direction);
504     }
505     XSRETURN_EMPTY;
506 }
507
508 #if WXPERL_W_VERSION_GE( 2, 7, 0 )
509 #define XSubPPtmpAAAB 1
510
511
512 XS(XS_Wx__Window_CentreOnScreen); /* prototype to pass -Wmissing-prototypes */
513 XS(XS_Wx__Window_CentreOnScreen)
514 {
515 #ifdef dVAR
516     dVAR; dXSARGS;
517 #else
518     dXSARGS;
519 #endif
520     if (items < 1 || items > 2)
521        croak_xs_usage(cv,  "THIS, direction = wxBOTH");
522     {
523         int     direction;
524         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
525
526         if (items < 2)
527             direction = wxBOTH;
528         else {
529             direction = (int)SvIV(ST(1));
530         }
531     THIS->Centre( direction | wxCENTER_ON_SCREEN );
532     }
533     XSRETURN_EMPTY;
534 }
535
536 #else
537 #define XSubPPtmpAAAC 1
538
539
540 XS(XS_Wx__Window_CentreOnScreen); /* prototype to pass -Wmissing-prototypes */
541 XS(XS_Wx__Window_CentreOnScreen)
542 {
543 #ifdef dVAR
544     dVAR; dXSARGS;
545 #else
546     dXSARGS;
547 #endif
548     if (items < 1 || items > 2)
549        croak_xs_usage(cv,  "THIS, direction = wxBOTH");
550     {
551         int     direction;
552         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
553
554         if (items < 2)
555             direction = wxBOTH;
556         else {
557             direction = (int)SvIV(ST(1));
558         }
559
560         THIS->CentreOnScreen(direction);
561     }
562     XSRETURN_EMPTY;
563 }
564
565 #endif
566 #if WXPERL_W_VERSION_GE( 2, 5, 1 )
567 #define XSubPPtmpAAAD 1
568
569
570 XS(XS_Wx__Window_ClearBackground); /* prototype to pass -Wmissing-prototypes */
571 XS(XS_Wx__Window_ClearBackground)
572 {
573 #ifdef dVAR
574     dVAR; dXSARGS;
575 #else
576     dXSARGS;
577 #endif
578     if (items != 1)
579        croak_xs_usage(cv,  "THIS");
580     {
581         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
582
583         THIS->ClearBackground();
584     }
585     XSRETURN_EMPTY;
586 }
587
588 #else
589 #define XSubPPtmpAAAE 1
590
591
592 XS(XS_Wx__Window_Clear); /* prototype to pass -Wmissing-prototypes */
593 XS(XS_Wx__Window_Clear)
594 {
595 #ifdef dVAR
596     dVAR; dXSARGS;
597 #else
598     dXSARGS;
599 #endif
600     if (items != 1)
601        croak_xs_usage(cv,  "THIS");
602     {
603         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
604
605         THIS->Clear();
606     }
607     XSRETURN_EMPTY;
608 }
609
610 #endif
611
612 XS(XS_Wx__Window_ClientToScreen); /* prototype to pass -Wmissing-prototypes */
613 XS(XS_Wx__Window_ClientToScreen)
614 {
615 #ifdef dVAR
616     dVAR; dXSARGS;
617 #else
618     dXSARGS;
619 #endif
620     if (items < 1)
621        croak_xs_usage(cv,  "THIS, ...");
622     PERL_UNUSED_VAR(ax); /* -Wall */
623     SP -= items;
624     {
625         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
626     BEGIN_OVERLOAD()
627         MATCH_REDISP( wxPliOvl_n_n, ClientToScreenXY )
628         MATCH_REDISP( wxPliOvl_wpoi, ClientToScreenPoint )
629     END_OVERLOAD( Wx::Window::ClientToScreen )
630         PUTBACK;
631         return;
632     }
633 }
634
635
636 XS(XS_Wx__Window_ClientToScreenPoint); /* prototype to pass -Wmissing-prototypes */
637 XS(XS_Wx__Window_ClientToScreenPoint)
638 {
639 #ifdef dVAR
640     dVAR; dXSARGS;
641 #else
642     dXSARGS;
643 #endif
644     if (items != 2)
645        croak_xs_usage(cv,  "THIS, point");
646     {
647         wxPoint    point = wxPli_sv_2_wxpoint( aTHX_ ST(1) );
648         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
649         wxPoint *       RETVAL;
650     RETVAL = new wxPoint( THIS->ClientToScreen( point ) );
651         ST(0) = sv_newmortal();
652     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Point" );
653     wxPli_thread_sv_register( aTHX_ "Wx::Point", RETVAL, ST(0) );
654
655     }
656     XSRETURN(1);
657 }
658
659
660 XS(XS_Wx__Window_ClientToScreenXY); /* prototype to pass -Wmissing-prototypes */
661 XS(XS_Wx__Window_ClientToScreenXY)
662 {
663 #ifdef dVAR
664     dVAR; dXSARGS;
665 #else
666     dXSARGS;
667 #endif
668     if (items != 3)
669        croak_xs_usage(cv,  "THIS, x, y");
670     PERL_UNUSED_VAR(ax); /* -Wall */
671     SP -= items;
672     {
673         int     x = (int)SvIV(ST(1));
674         int     y = (int)SvIV(ST(2));
675         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
676     THIS->ClientToScreen( &x, &y );
677     EXTEND( SP, 2 );
678     PUSHs( sv_2mortal( newSViv( x ) ) );
679     PUSHs( sv_2mortal( newSViv( y ) ) );
680         PUTBACK;
681         return;
682     }
683 }
684
685
686 XS(XS_Wx__Window_Close); /* prototype to pass -Wmissing-prototypes */
687 XS(XS_Wx__Window_Close)
688 {
689 #ifdef dVAR
690     dVAR; dXSARGS;
691 #else
692     dXSARGS;
693 #endif
694     if (items < 1 || items > 2)
695        croak_xs_usage(cv,  "THIS, force = false");
696     {
697         bool    force;
698         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
699         bool    RETVAL;
700
701         if (items < 2)
702             force = false;
703         else {
704             force = (bool)SvTRUE(ST(1));
705         }
706
707         RETVAL = THIS->Close(force);
708         ST(0) = boolSV(RETVAL);
709         sv_2mortal(ST(0));
710     }
711     XSRETURN(1);
712 }
713
714
715 XS(XS_Wx__Window_ConvertDialogToPixels); /* prototype to pass -Wmissing-prototypes */
716 XS(XS_Wx__Window_ConvertDialogToPixels)
717 {
718 #ifdef dVAR
719     dVAR; dXSARGS;
720 #else
721     dXSARGS;
722 #endif
723     if (items < 1)
724        croak_xs_usage(cv,  "THIS, ...");
725     PERL_UNUSED_VAR(ax); /* -Wall */
726     SP -= items;
727     {
728         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
729     BEGIN_OVERLOAD()
730         MATCH_REDISP( wxPliOvl_wpoi, ConvertDialogPointToPixels )
731         MATCH_REDISP( wxPliOvl_wsiz, ConvertDialogSizeToPixels )
732     END_OVERLOAD( Wx::Window::ConvertDialogToPixels )
733         PUTBACK;
734         return;
735     }
736 }
737
738
739 XS(XS_Wx__Window_ConvertDialogPointToPixels); /* prototype to pass -Wmissing-prototypes */
740 XS(XS_Wx__Window_ConvertDialogPointToPixels)
741 {
742 #ifdef dVAR
743     dVAR; dXSARGS;
744 #else
745     dXSARGS;
746 #endif
747     if (items != 2)
748        croak_xs_usage(cv,  "THIS, point");
749     {
750         wxPoint    point = wxPli_sv_2_wxpoint( aTHX_ ST(1) );
751         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
752         wxPoint *       RETVAL;
753     RETVAL = new wxPoint( THIS->ConvertDialogToPixels( point ) );
754         ST(0) = sv_newmortal();
755     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Point" );
756     wxPli_thread_sv_register( aTHX_ "Wx::Point", RETVAL, ST(0) );
757
758     }
759     XSRETURN(1);
760 }
761
762
763 XS(XS_Wx__Window_ConvertDialogSizeToPixels); /* prototype to pass -Wmissing-prototypes */
764 XS(XS_Wx__Window_ConvertDialogSizeToPixels)
765 {
766 #ifdef dVAR
767     dVAR; dXSARGS;
768 #else
769     dXSARGS;
770 #endif
771     if (items != 2)
772        croak_xs_usage(cv,  "THIS, size");
773     {
774         wxSize    size = wxPli_sv_2_wxsize( aTHX_ ST(1) );
775         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
776         wxSize *        RETVAL;
777     RETVAL = new wxSize( THIS->ConvertDialogToPixels( size ) );
778         ST(0) = sv_newmortal();
779     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Size" );
780     wxPli_thread_sv_register( aTHX_ "Wx::Size", RETVAL, ST(0) );
781
782     }
783     XSRETURN(1);
784 }
785
786
787 XS(XS_Wx__Window_ConvertPixelsToDialog); /* prototype to pass -Wmissing-prototypes */
788 XS(XS_Wx__Window_ConvertPixelsToDialog)
789 {
790 #ifdef dVAR
791     dVAR; dXSARGS;
792 #else
793     dXSARGS;
794 #endif
795     if (items < 1)
796        croak_xs_usage(cv,  "THIS, ...");
797     PERL_UNUSED_VAR(ax); /* -Wall */
798     SP -= items;
799     {
800         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
801     BEGIN_OVERLOAD()
802         MATCH_REDISP( wxPliOvl_wpoi, ConvertPixelsPointToDialog )
803         MATCH_REDISP( wxPliOvl_wsiz, ConvertPixelsSizeToDialog )
804     END_OVERLOAD( Wx::Window::ConvertPixelsToDialog )
805         PUTBACK;
806         return;
807     }
808 }
809
810
811 XS(XS_Wx__Window_ConvertPixelsPointToDialog); /* prototype to pass -Wmissing-prototypes */
812 XS(XS_Wx__Window_ConvertPixelsPointToDialog)
813 {
814 #ifdef dVAR
815     dVAR; dXSARGS;
816 #else
817     dXSARGS;
818 #endif
819     if (items != 2)
820        croak_xs_usage(cv,  "THIS, point");
821     {
822         wxPoint    point = wxPli_sv_2_wxpoint( aTHX_ ST(1) );
823         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
824         wxPoint *       RETVAL;
825     RETVAL = new wxPoint( THIS->ConvertPixelsToDialog( point ) );
826         ST(0) = sv_newmortal();
827     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Point" );
828     wxPli_thread_sv_register( aTHX_ "Wx::Point", RETVAL, ST(0) );
829
830     }
831     XSRETURN(1);
832 }
833
834
835 XS(XS_Wx__Window_ConvertPixelsSizeToDialog); /* prototype to pass -Wmissing-prototypes */
836 XS(XS_Wx__Window_ConvertPixelsSizeToDialog)
837 {
838 #ifdef dVAR
839     dVAR; dXSARGS;
840 #else
841     dXSARGS;
842 #endif
843     if (items != 2)
844        croak_xs_usage(cv,  "THIS, size");
845     {
846         wxSize    size = wxPli_sv_2_wxsize( aTHX_ ST(1) );
847         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
848         wxSize *        RETVAL;
849     RETVAL = new wxSize( THIS->ConvertPixelsToDialog( size ) );
850         ST(0) = sv_newmortal();
851     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Size" );
852     wxPli_thread_sv_register( aTHX_ "Wx::Size", RETVAL, ST(0) );
853
854     }
855     XSRETURN(1);
856 }
857
858
859 XS(XS_Wx__Window_Destroy); /* prototype to pass -Wmissing-prototypes */
860 XS(XS_Wx__Window_Destroy)
861 {
862 #ifdef dVAR
863     dVAR; dXSARGS;
864 #else
865     dXSARGS;
866 #endif
867     if (items != 1)
868        croak_xs_usage(cv,  "THIS");
869     {
870         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
871         bool    RETVAL;
872
873         RETVAL = THIS->Destroy();
874         ST(0) = boolSV(RETVAL);
875         sv_2mortal(ST(0));
876     }
877     XSRETURN(1);
878 }
879
880 #if    defined( __WXMSW__ ) \
881     || ( WXPERL_W_VERSION_GE( 2, 9, 0 ) && !defined( __WXGTK__ ) )
882 #define XSubPPtmpAAAF 1
883
884
885 XS(XS_Wx__Window_DragAcceptFiles); /* prototype to pass -Wmissing-prototypes */
886 XS(XS_Wx__Window_DragAcceptFiles)
887 {
888 #ifdef dVAR
889     dVAR; dXSARGS;
890 #else
891     dXSARGS;
892 #endif
893     if (items != 2)
894        croak_xs_usage(cv,  "THIS, accept");
895     {
896         bool    accept = (bool)SvTRUE(ST(1));
897         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
898
899         THIS->DragAcceptFiles(accept);
900     }
901     XSRETURN_EMPTY;
902 }
903
904 #endif
905
906 XS(XS_Wx__Window_Enable); /* prototype to pass -Wmissing-prototypes */
907 XS(XS_Wx__Window_Enable)
908 {
909 #ifdef dVAR
910     dVAR; dXSARGS;
911 #else
912     dXSARGS;
913 #endif
914     if (items < 1 || items > 2)
915        croak_xs_usage(cv,  "THIS, enable = true");
916     {
917         bool    enable;
918         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
919
920         if (items < 2)
921             enable = true;
922         else {
923             enable = (bool)SvTRUE(ST(1));
924         }
925
926         THIS->Enable(enable);
927     }
928     XSRETURN_EMPTY;
929 }
930
931
932 XS(XS_Wx__Window_Disable); /* prototype to pass -Wmissing-prototypes */
933 XS(XS_Wx__Window_Disable)
934 {
935 #ifdef dVAR
936     dVAR; dXSARGS;
937 #else
938     dXSARGS;
939 #endif
940     if (items != 1)
941        croak_xs_usage(cv,  "THIS");
942     {
943         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
944
945         THIS->Disable();
946     }
947     XSRETURN_EMPTY;
948 }
949
950
951 XS(XS_Wx__Window_FindFocus); /* prototype to pass -Wmissing-prototypes */
952 XS(XS_Wx__Window_FindFocus)
953 {
954 #ifdef dVAR
955     dVAR; dXSARGS;
956 #else
957     dXSARGS;
958 #endif
959     if (items != 0)
960        croak_xs_usage(cv,  "");
961     {
962         wxWindow *      RETVAL;
963     RETVAL = wxWindow::FindFocus();
964         ST(0) = sv_newmortal();
965     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
966
967     }
968     XSRETURN(1);
969 }
970
971
972 XS(XS_Wx__Window_FindWindow); /* prototype to pass -Wmissing-prototypes */
973 XS(XS_Wx__Window_FindWindow)
974 {
975 #ifdef dVAR
976     dVAR; dXSARGS;
977 #else
978     dXSARGS;
979 #endif
980     if (items != 2)
981        croak_xs_usage(cv,  "THIS, i");
982     {
983         SV*     i = ST(1);
984         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
985         wxWindow *      RETVAL;
986     if( looks_like_number( i ) ) {
987       int id = SvIV( i );
988       RETVAL = THIS->FindWindow( id );
989     }
990     else {
991       wxString name;
992       WXSTRING_INPUT( name, const char*, i );
993       RETVAL = THIS->FindWindow( name );
994     }
995         ST(0) = sv_newmortal();
996     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
997
998     }
999     XSRETURN(1);
1000 }
1001
1002
1003 XS(XS_Wx__Window_FindWindowById); /* prototype to pass -Wmissing-prototypes */
1004 XS(XS_Wx__Window_FindWindowById)
1005 {
1006 #ifdef dVAR
1007     dVAR; dXSARGS;
1008 #else
1009     dXSARGS;
1010 #endif
1011     if (items < 1 || items > 2)
1012        croak_xs_usage(cv,  "id, parent = NULL");
1013     {
1014         wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(0) );
1015         wxWindow*       parent;
1016         wxWindow *      RETVAL;
1017
1018         if (items < 2)
1019             parent = NULL;
1020         else {
1021     parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
1022         }
1023     RETVAL = wxWindow::FindWindowById( id, parent );
1024         ST(0) = sv_newmortal();
1025     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
1026
1027     }
1028     XSRETURN(1);
1029 }
1030
1031
1032 XS(XS_Wx__Window_FindWindowByName); /* prototype to pass -Wmissing-prototypes */
1033 XS(XS_Wx__Window_FindWindowByName)
1034 {
1035 #ifdef dVAR
1036     dVAR; dXSARGS;
1037 #else
1038     dXSARGS;
1039 #endif
1040     if (items < 1 || items > 2)
1041        croak_xs_usage(cv,  "id, parent = NULL");
1042     {
1043         wxString        id;
1044         wxWindow*       parent;
1045         wxWindow *      RETVAL;
1046
1047     WXSTRING_INPUT( id, wxString, ST(0) );
1048
1049         if (items < 2)
1050             parent = NULL;
1051         else {
1052     parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
1053         }
1054     RETVAL = wxWindow::FindWindowByName( id, parent );
1055         ST(0) = sv_newmortal();
1056     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
1057
1058     }
1059     XSRETURN(1);
1060 }
1061
1062
1063 XS(XS_Wx__Window_FindWindowByLabel); /* prototype to pass -Wmissing-prototypes */
1064 XS(XS_Wx__Window_FindWindowByLabel)
1065 {
1066 #ifdef dVAR
1067     dVAR; dXSARGS;
1068 #else
1069     dXSARGS;
1070 #endif
1071     if (items < 1 || items > 2)
1072        croak_xs_usage(cv,  "id, parent = NULL");
1073     {
1074         wxString        id;
1075         wxWindow*       parent;
1076         wxWindow *      RETVAL;
1077
1078     WXSTRING_INPUT( id, wxString, ST(0) );
1079
1080         if (items < 2)
1081             parent = NULL;
1082         else {
1083     parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
1084         }
1085     RETVAL = wxWindow::FindWindowByLabel( id, parent );
1086         ST(0) = sv_newmortal();
1087     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
1088
1089     }
1090     XSRETURN(1);
1091 }
1092
1093
1094 XS(XS_Wx__Window_Fit); /* prototype to pass -Wmissing-prototypes */
1095 XS(XS_Wx__Window_Fit)
1096 {
1097 #ifdef dVAR
1098     dVAR; dXSARGS;
1099 #else
1100     dXSARGS;
1101 #endif
1102     if (items != 1)
1103        croak_xs_usage(cv,  "THIS");
1104     {
1105         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
1106
1107         THIS->Fit();
1108     }
1109     XSRETURN_EMPTY;
1110 }
1111
1112
1113 XS(XS_Wx__Window_FitInside); /* prototype to pass -Wmissing-prototypes */
1114 XS(XS_Wx__Window_FitInside)
1115 {
1116 #ifdef dVAR
1117     dVAR; dXSARGS;
1118 #else
1119     dXSARGS;
1120 #endif
1121     if (items != 1)
1122        croak_xs_usage(cv,  "THIS");
1123     {
1124         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
1125
1126         THIS->FitInside();
1127     }
1128     XSRETURN_EMPTY;
1129 }
1130
1131
1132 XS(XS_Wx__Window_Freeze); /* prototype to pass -Wmissing-prototypes */
1133 XS(XS_Wx__Window_Freeze)
1134 {
1135 #ifdef dVAR
1136     dVAR; dXSARGS;
1137 #else
1138     dXSARGS;
1139 #endif
1140     if (items != 1)
1141        croak_xs_usage(cv,  "THIS");
1142     {
1143         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
1144
1145         THIS->Freeze();
1146     }
1147     XSRETURN_EMPTY;
1148 }
1149
1150 #if WXPERL_W_VERSION_GE( 2, 7, 1 )
1151 #define XSubPPtmpAAAG 1
1152
1153
1154 XS(XS_Wx__Window_IsFrozen); /* prototype to pass -Wmissing-prototypes */
1155 XS(XS_Wx__Window_IsFrozen)
1156 {
1157 #ifdef dVAR
1158     dVAR; dXSARGS;
1159 #else
1160     dXSARGS;
1161 #endif
1162     if (items != 1)
1163        croak_xs_usage(cv,  "THIS");
1164     {
1165         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
1166         bool    RETVAL;
1167
1168         RETVAL = THIS->IsFrozen();
1169         ST(0) = boolSV(RETVAL);
1170         sv_2mortal(ST(0));
1171     }
1172     XSRETURN(1);
1173 }
1174
1175 #endif
1176
1177 XS(XS_Wx__Window_GetAcceleratorTable); /* prototype to pass -Wmissing-prototypes */
1178 XS(XS_Wx__Window_GetAcceleratorTable)
1179 {
1180 #ifdef dVAR
1181     dVAR; dXSARGS;
1182 #else
1183     dXSARGS;
1184 #endif
1185     if (items != 1)
1186        croak_xs_usage(cv,  "THIS");
1187     {
1188         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
1189         wxAcceleratorTable *    RETVAL;
1190     RETVAL = new wxAcceleratorTable( *THIS->GetAcceleratorTable() );
1191         ST(0) = sv_newmortal();
1192     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
1193     wxPli_thread_sv_register( aTHX_ "Wx::AcceleratorTable", RETVAL, ST(0) );
1194
1195     }
1196     XSRETURN(1);
1197 }
1198
1199 #if WXPERL_W_VERSION_GE( 2, 5, 3 )
1200 #define XSubPPtmpAAAH 1
1201
1202
1203 XS(XS_Wx__Window_GetBackgroundStyle); /* prototype to pass -Wmissing-prototypes */
1204 XS(XS_Wx__Window_GetBackgroundStyle)
1205 {
1206 #ifdef dVAR
1207     dVAR; dXSARGS;
1208 #else
1209     dXSARGS;
1210 #endif
1211     if (items != 1)
1212        croak_xs_usage(cv,  "THIS");
1213     {
1214         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
1215         wxBackgroundStyle       RETVAL;
1216         dXSTARG;
1217
1218         RETVAL = THIS->GetBackgroundStyle();
1219         XSprePUSH; PUSHi((IV)RETVAL);
1220     }
1221     XSRETURN(1);
1222 }
1223
1224 #endif
1225
1226 XS(XS_Wx__Window_GetBackgroundColour); /* prototype to pass -Wmissing-prototypes */
1227 XS(XS_Wx__Window_GetBackgroundColour)
1228 {
1229 #ifdef dVAR
1230     dVAR; dXSARGS;
1231 #else
1232     dXSARGS;
1233 #endif
1234     if (items != 1)
1235        croak_xs_usage(cv,  "THIS");
1236     {
1237         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
1238         wxColour *      RETVAL;
1239     RETVAL = new wxColour( THIS->GetBackgroundColour() );
1240         ST(0) = sv_newmortal();
1241     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Colour" );
1242     wxPli_thread_sv_register( aTHX_ "Wx::Colour", RETVAL, ST(0) );
1243
1244     }
1245     XSRETURN(1);
1246 }
1247
1248
1249 XS(XS_Wx__Window_GetBestSize); /* prototype to pass -Wmissing-prototypes */
1250 XS(XS_Wx__Window_GetBestSize)
1251 {
1252 #ifdef dVAR
1253     dVAR; dXSARGS;
1254 #else
1255     dXSARGS;
1256 #endif
1257     if (items != 1)
1258        croak_xs_usage(cv,  "THIS");
1259     {
1260         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
1261         wxSize *        RETVAL;
1262     RETVAL = new wxSize( THIS->GetBestSize() );
1263         ST(0) = sv_newmortal();
1264     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Size" );
1265     wxPli_thread_sv_register( aTHX_ "Wx::Size", RETVAL, ST(0) );
1266
1267     }
1268     XSRETURN(1);
1269 }
1270
1271
1272 XS(XS_Wx__Window_GetCaret); /* prototype to pass -Wmissing-prototypes */
1273 XS(XS_Wx__Window_GetCaret)
1274 {
1275 #ifdef dVAR
1276     dVAR; dXSARGS;
1277 #else
1278     dXSARGS;
1279 #endif
1280     if (items != 1)
1281        croak_xs_usage(cv,  "THIS");
1282     {
1283         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
1284         wxCaret *       RETVAL;
1285
1286         RETVAL = THIS->GetCaret();
1287         ST(0) = sv_newmortal();
1288     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Caret" );
1289
1290     }
1291     XSRETURN(1);
1292 }
1293
1294
1295 XS(XS_Wx__Window_GetCharHeight); /* prototype to pass -Wmissing-prototypes */
1296 XS(XS_Wx__Window_GetCharHeight)
1297 {
1298 #ifdef dVAR
1299     dVAR; dXSARGS;
1300 #else
1301     dXSARGS;
1302 #endif
1303     if (items != 1)
1304        croak_xs_usage(cv,  "THIS");
1305     {
1306         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
1307         int     RETVAL;
1308         dXSTARG;
1309
1310         RETVAL = THIS->GetCharHeight();
1311         XSprePUSH; PUSHi((IV)RETVAL);
1312     }
1313     XSRETURN(1);
1314 }
1315
1316
1317 XS(XS_Wx__Window_GetCharWidth); /* prototype to pass -Wmissing-prototypes */
1318 XS(XS_Wx__Window_GetCharWidth)
1319 {
1320 #ifdef dVAR
1321     dVAR; dXSARGS;
1322 #else
1323     dXSARGS;
1324 #endif
1325     if (items != 1)
1326        croak_xs_usage(cv,  "THIS");
1327     {
1328         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
1329         int     RETVAL;
1330         dXSTARG;
1331
1332         RETVAL = THIS->GetCharWidth();
1333         XSprePUSH; PUSHi((IV)RETVAL);
1334     }
1335     XSRETURN(1);
1336 }
1337
1338
1339 XS(XS_Wx__Window_GetChildren); /* prototype to pass -Wmissing-prototypes */
1340 XS(XS_Wx__Window_GetChildren)
1341 {
1342 #ifdef dVAR
1343     dVAR; dXSARGS;
1344 #else
1345     dXSARGS;
1346 #endif
1347     if (items != 1)
1348        croak_xs_usage(cv,  "THIS");
1349     PERL_UNUSED_VAR(ax); /* -Wall */
1350     SP -= items;
1351     {
1352         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
1353     const wxWindowList& list = THIS->GetChildren();
1354     wxWindowList::compatibility_iterator node;
1355
1356     EXTEND( SP, (IV) list.GetCount() );
1357
1358     for( node = list.GetFirst(); node; node = node->GetNext() )
1359       PUSHs( wxPli_object_2_sv( aTHX_ sv_newmortal(), node->GetData() ) );
1360         PUTBACK;
1361         return;
1362     }
1363 }
1364
1365
1366 XS(XS_Wx__Window_GetClientSize); /* prototype to pass -Wmissing-prototypes */
1367 XS(XS_Wx__Window_GetClientSize)
1368 {
1369 #ifdef dVAR
1370     dVAR; dXSARGS;
1371 #else
1372     dXSARGS;
1373 #endif
1374     if (items != 1)
1375        croak_xs_usage(cv,  "THIS");
1376     {
1377         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
1378         wxSize *        RETVAL;
1379     RETVAL = new wxSize( THIS->GetClientSize() );
1380         ST(0) = sv_newmortal();
1381     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Size" );
1382     wxPli_thread_sv_register( aTHX_ "Wx::Size", RETVAL, ST(0) );
1383
1384     }
1385     XSRETURN(1);
1386 }
1387
1388
1389 XS(XS_Wx__Window_GetClientSizeXY); /* prototype to pass -Wmissing-prototypes */
1390 XS(XS_Wx__Window_GetClientSizeXY)
1391 {
1392 #ifdef dVAR
1393     dVAR; dXSARGS;
1394 #else
1395     dXSARGS;
1396 #endif
1397     if (items != 1)
1398        croak_xs_usage(cv,  "THIS");
1399     PERL_UNUSED_VAR(ax); /* -Wall */
1400     SP -= items;
1401     {
1402     int x;
1403     int y;
1404         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
1405     THIS->GetClientSize( &x, &y );
1406     EXTEND( SP, 2 );
1407     PUSHs( sv_2mortal( newSViv( x ) ) );
1408     PUSHs( sv_2mortal( newSViv( y ) ) );
1409         PUTBACK;
1410         return;
1411     }
1412 }
1413
1414
1415 XS(XS_Wx__Window_GetContainingSizer); /* prototype to pass -Wmissing-prototypes */
1416 XS(XS_Wx__Window_GetContainingSizer)
1417 {
1418 #ifdef dVAR
1419     dVAR; dXSARGS;
1420 #else
1421     dXSARGS;
1422 #endif
1423     if (items != 1)
1424        croak_xs_usage(cv,  "THIS");
1425     {
1426         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
1427         wxSizer *       RETVAL;
1428
1429         RETVAL = THIS->GetContainingSizer();
1430         ST(0) = sv_newmortal();
1431     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
1432
1433     }
1434     XSRETURN(1);
1435 }
1436
1437 #if wxPERL_USE_DRAG_AND_DROP
1438 #define XSubPPtmpAAAI 1
1439
1440
1441 XS(XS_Wx__Window_GetDropTarget); /* prototype to pass -Wmissing-prototypes */
1442 XS(XS_Wx__Window_GetDropTarget)
1443 {
1444 #ifdef dVAR
1445     dVAR; dXSARGS;
1446 #else
1447     dXSARGS;
1448 #endif
1449     if (items != 1)
1450        croak_xs_usage(cv,  "THIS");
1451     {
1452         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
1453         wxDropTarget *  RETVAL;
1454
1455         RETVAL = THIS->GetDropTarget();
1456         ST(0) = sv_newmortal();
1457     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::DropTarget" );
1458
1459     wxPli_object_set_deleteable( aTHX_ ST(0), false );
1460     }
1461     XSRETURN(1);
1462 }
1463
1464 #endif
1465 #if WXPERL_W_VERSION_LT( 2, 7, 0 )
1466 #define XSubPPtmpAAAJ 1
1467
1468
1469 XS(XS_Wx__Window_GetDefaultItem); /* prototype to pass -Wmissing-prototypes */
1470 XS(XS_Wx__Window_GetDefaultItem)
1471 {
1472 #ifdef dVAR
1473     dVAR; dXSARGS;
1474 #else
1475     dXSARGS;
1476 #endif
1477     if (items != 1)
1478        croak_xs_usage(cv,  "THIS");
1479     {
1480         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
1481         wxWindow *      RETVAL;
1482
1483         RETVAL = THIS->GetDefaultItem();
1484         ST(0) = sv_newmortal();
1485     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
1486
1487     }
1488     XSRETURN(1);
1489 }
1490
1491 #endif
1492
1493 XS(XS_Wx__Window_GetEventHandler); /* prototype to pass -Wmissing-prototypes */
1494 XS(XS_Wx__Window_GetEventHandler)
1495 {
1496 #ifdef dVAR
1497     dVAR; dXSARGS;
1498 #else
1499     dXSARGS;
1500 #endif
1501     if (items != 1)
1502        croak_xs_usage(cv,  "THIS");
1503     {
1504         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
1505         wxEvtHandler *  RETVAL;
1506
1507         RETVAL = THIS->GetEventHandler();
1508         ST(0) = sv_newmortal();
1509     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
1510
1511     }
1512     XSRETURN(1);
1513 }
1514
1515
1516 XS(XS_Wx__Window_GetExtraStyle); /* prototype to pass -Wmissing-prototypes */
1517 XS(XS_Wx__Window_GetExtraStyle)
1518 {
1519 #ifdef dVAR
1520     dVAR; dXSARGS;
1521 #else
1522     dXSARGS;
1523 #endif
1524     if (items != 1)
1525        croak_xs_usage(cv,  "THIS");
1526     {
1527         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
1528         long    RETVAL;
1529         dXSTARG;
1530
1531         RETVAL = THIS->GetExtraStyle();
1532         XSprePUSH; PUSHi((IV)RETVAL);
1533     }
1534     XSRETURN(1);
1535 }
1536
1537
1538 XS(XS_Wx__Window_GetFont); /* prototype to pass -Wmissing-prototypes */
1539 XS(XS_Wx__Window_GetFont)
1540 {
1541 #ifdef dVAR
1542     dVAR; dXSARGS;
1543 #else
1544     dXSARGS;
1545 #endif
1546     if (items != 1)
1547        croak_xs_usage(cv,  "THIS");
1548     {
1549         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
1550         wxFont *        RETVAL;
1551     RETVAL = new wxFont( THIS->GetFont() );
1552         ST(0) = sv_newmortal();
1553     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
1554     wxPli_thread_sv_register( aTHX_ "Wx::Font", RETVAL, ST(0) );
1555
1556     }
1557     XSRETURN(1);
1558 }
1559
1560
1561 XS(XS_Wx__Window_GetForegroundColour); /* prototype to pass -Wmissing-prototypes */
1562 XS(XS_Wx__Window_GetForegroundColour)
1563 {
1564 #ifdef dVAR
1565     dVAR; dXSARGS;
1566 #else
1567     dXSARGS;
1568 #endif
1569     if (items != 1)
1570        croak_xs_usage(cv,  "THIS");
1571     {
1572         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
1573         wxColour *      RETVAL;
1574     RETVAL = new wxColour( THIS->GetForegroundColour() );
1575         ST(0) = sv_newmortal();
1576     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Colour" );
1577     wxPli_thread_sv_register( aTHX_ "Wx::Colour", RETVAL, ST(0) );
1578
1579     }
1580     XSRETURN(1);
1581 }
1582
1583
1584 XS(XS_Wx__Window_GetGrandParent); /* prototype to pass -Wmissing-prototypes */
1585 XS(XS_Wx__Window_GetGrandParent)
1586 {
1587 #ifdef dVAR
1588     dVAR; dXSARGS;
1589 #else
1590     dXSARGS;
1591 #endif
1592     if (items != 1)
1593        croak_xs_usage(cv,  "THIS");
1594     {
1595         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
1596         wxWindow *      RETVAL;
1597
1598         RETVAL = THIS->GetGrandParent();
1599         ST(0) = sv_newmortal();
1600     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
1601
1602     }
1603     XSRETURN(1);
1604 }
1605
1606 #if defined( __WXMSW__ )
1607 #define XSubPPtmpAAAK 1
1608
1609
1610 XS(XS_Wx__Window_CreateWindowFromHWND); /* prototype to pass -Wmissing-prototypes */
1611 XS(XS_Wx__Window_CreateWindowFromHWND)
1612 {
1613 #ifdef dVAR
1614     dVAR; dXSARGS;
1615 #else
1616     dXSARGS;
1617 #endif
1618     if (items != 3)
1619        croak_xs_usage(cv,  "THIS, parent, hWnd");
1620     {
1621         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
1622         void*   hWnd = INT2PTR(void *,SvIV(ST(2)));
1623         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
1624         wxWindow *      RETVAL;
1625
1626         RETVAL = THIS->CreateWindowFromHWND(parent, (WXHWND) hWnd);
1627         ST(0) = sv_newmortal();
1628     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
1629
1630     }
1631     XSRETURN(1);
1632 }
1633
1634 #endif
1635 #if ( WXPERL_W_VERSION_GE( 2, 5, 1 ) && defined( __WXMSW__ ) ) \
1636     || WXPERL_W_VERSION_GE( 2, 5, 4 )
1637 #define XSubPPtmpAAAL 1
1638
1639
1640 XS(XS_Wx__Window_GetHandle); /* prototype to pass -Wmissing-prototypes */
1641 XS(XS_Wx__Window_GetHandle)
1642 {
1643 #ifdef dVAR
1644     dVAR; dXSARGS;
1645 #else
1646     dXSARGS;
1647 #endif
1648     if (items != 1)
1649        croak_xs_usage(cv,  "THIS");
1650     {
1651         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
1652         void *  RETVAL;
1653         dXSTARG;
1654
1655         RETVAL = THIS->GetHandle();
1656         XSprePUSH; PUSHi(PTR2IV(RETVAL));
1657     }
1658     XSRETURN(1);
1659 }
1660
1661 #else
1662 #define XSubPPtmpAAAM 1
1663
1664
1665 XS(XS_Wx__Window_GetHandle); /* prototype to pass -Wmissing-prototypes */
1666 XS(XS_Wx__Window_GetHandle)
1667 {
1668 #ifdef dVAR
1669     dVAR; dXSARGS;
1670 #else
1671     dXSARGS;
1672 #endif
1673     if (items != 1)
1674        croak_xs_usage(cv,  "THIS");
1675     {
1676         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
1677         IV      RETVAL;
1678         dXSTARG;
1679 #ifdef __WXMSW__
1680     WXHWND handle = THIS->GetHandle();
1681     RETVAL = handle;
1682 #else
1683     WXWidget handle = THIS->GetHandle();
1684     RETVAL = PTR2IV(handle);
1685 #endif
1686         XSprePUSH; PUSHi((IV)RETVAL);
1687     }
1688     XSRETURN(1);
1689 }
1690
1691 #endif
1692
1693 XS(XS_Wx__Window_GetHelpText); /* prototype to pass -Wmissing-prototypes */
1694 XS(XS_Wx__Window_GetHelpText)
1695 {
1696 #ifdef dVAR
1697     dVAR; dXSARGS;
1698 #else
1699     dXSARGS;
1700 #endif
1701     if (items != 1)
1702        croak_xs_usage(cv,  "THIS");
1703     {
1704         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
1705         wxString        RETVAL;
1706
1707         RETVAL = THIS->GetHelpText();
1708         ST(0) = sv_newmortal();
1709     WXSTRING_OUTPUT( RETVAL, ST(0) );
1710
1711     }
1712     XSRETURN(1);
1713 }
1714
1715
1716 XS(XS_Wx__Window_GetId); /* prototype to pass -Wmissing-prototypes */
1717 XS(XS_Wx__Window_GetId)
1718 {
1719 #ifdef dVAR
1720     dVAR; dXSARGS;
1721 #else
1722     dXSARGS;
1723 #endif
1724     if (items != 1)
1725        croak_xs_usage(cv,  "THIS");
1726     {
1727         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
1728         int     RETVAL;
1729         dXSTARG;
1730
1731         RETVAL = THIS->GetId();
1732         XSprePUSH; PUSHi((IV)RETVAL);
1733     }
1734     XSRETURN(1);
1735 }
1736
1737
1738 XS(XS_Wx__Window_GetLabel); /* prototype to pass -Wmissing-prototypes */
1739 XS(XS_Wx__Window_GetLabel)
1740 {
1741 #ifdef dVAR
1742     dVAR; dXSARGS;
1743 #else
1744     dXSARGS;
1745 #endif
1746     if (items != 1)
1747        croak_xs_usage(cv,  "THIS");
1748     {
1749         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
1750         wxString        RETVAL;
1751
1752         RETVAL = THIS->GetLabel();
1753         ST(0) = sv_newmortal();
1754     WXSTRING_OUTPUT( RETVAL, ST(0) );
1755
1756     }
1757     XSRETURN(1);
1758 }
1759
1760
1761 XS(XS_Wx__Window_GetConstraints); /* prototype to pass -Wmissing-prototypes */
1762 XS(XS_Wx__Window_GetConstraints)
1763 {
1764 #ifdef dVAR
1765     dVAR; dXSARGS;
1766 #else
1767     dXSARGS;
1768 #endif
1769     if (items != 1)
1770        croak_xs_usage(cv,  "THIS");
1771     {
1772         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
1773         wxLayoutConstraints *   RETVAL;
1774
1775         RETVAL = THIS->GetConstraints();
1776         ST(0) = sv_newmortal();
1777     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
1778
1779     }
1780     XSRETURN(1);
1781 }
1782
1783 #if WXPERL_W_VERSION_GE( 2, 5, 3 )
1784 #define XSubPPtmpAAAN 1
1785
1786
1787 XS(XS_Wx__Window_GetMinSize); /* prototype to pass -Wmissing-prototypes */
1788 XS(XS_Wx__Window_GetMinSize)
1789 {
1790 #ifdef dVAR
1791     dVAR; dXSARGS;
1792 #else
1793     dXSARGS;
1794 #endif
1795     if (items != 1)
1796        croak_xs_usage(cv,  "THIS");
1797     {
1798         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
1799         wxSize *        RETVAL;
1800     RETVAL = new wxSize( THIS->GetMinSize() );
1801         ST(0) = sv_newmortal();
1802     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Size" );
1803     wxPli_thread_sv_register( aTHX_ "Wx::Size", RETVAL, ST(0) );
1804
1805     }
1806     XSRETURN(1);
1807 }
1808
1809
1810 XS(XS_Wx__Window_GetMaxSize); /* prototype to pass -Wmissing-prototypes */
1811 XS(XS_Wx__Window_GetMaxSize)
1812 {
1813 #ifdef dVAR
1814     dVAR; dXSARGS;
1815 #else
1816     dXSARGS;
1817 #endif
1818     if (items != 1)
1819        croak_xs_usage(cv,  "THIS");
1820     {
1821         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
1822         wxSize *        RETVAL;
1823     RETVAL = new wxSize( THIS->GetMaxSize() );
1824         ST(0) = sv_newmortal();
1825     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Size" );
1826     wxPli_thread_sv_register( aTHX_ "Wx::Size", RETVAL, ST(0) );
1827
1828     }
1829     XSRETURN(1);
1830 }
1831
1832 #endif
1833
1834 XS(XS_Wx__Window_GetName); /* prototype to pass -Wmissing-prototypes */
1835 XS(XS_Wx__Window_GetName)
1836 {
1837 #ifdef dVAR
1838     dVAR; dXSARGS;
1839 #else
1840     dXSARGS;
1841 #endif
1842     if (items != 1)
1843        croak_xs_usage(cv,  "THIS");
1844     {
1845         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
1846         wxString        RETVAL;
1847
1848         RETVAL = THIS->GetName();
1849         ST(0) = sv_newmortal();
1850     WXSTRING_OUTPUT( RETVAL, ST(0) );
1851
1852     }
1853     XSRETURN(1);
1854 }
1855
1856
1857 XS(XS_Wx__Window_GetParent); /* prototype to pass -Wmissing-prototypes */
1858 XS(XS_Wx__Window_GetParent)
1859 {
1860 #ifdef dVAR
1861     dVAR; dXSARGS;
1862 #else
1863     dXSARGS;
1864 #endif
1865     if (items != 1)
1866        croak_xs_usage(cv,  "THIS");
1867     {
1868         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
1869         wxWindow *      RETVAL;
1870
1871         RETVAL = THIS->GetParent();
1872         ST(0) = sv_newmortal();
1873     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
1874
1875     }
1876     XSRETURN(1);
1877 }
1878
1879
1880 XS(XS_Wx__Window_GetPosition); /* prototype to pass -Wmissing-prototypes */
1881 XS(XS_Wx__Window_GetPosition)
1882 {
1883 #ifdef dVAR
1884     dVAR; dXSARGS;
1885 #else
1886     dXSARGS;
1887 #endif
1888     if (items != 1)
1889        croak_xs_usage(cv,  "THIS");
1890     {
1891         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
1892         wxPoint *       RETVAL;
1893     RETVAL = new wxPoint( THIS->GetPosition() );
1894         ST(0) = sv_newmortal();
1895     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Point" );
1896     wxPli_thread_sv_register( aTHX_ "Wx::Point", RETVAL, ST(0) );
1897
1898     }
1899     XSRETURN(1);
1900 }
1901
1902
1903 XS(XS_Wx__Window_GetPositionXY); /* prototype to pass -Wmissing-prototypes */
1904 XS(XS_Wx__Window_GetPositionXY)
1905 {
1906 #ifdef dVAR
1907     dVAR; dXSARGS;
1908 #else
1909     dXSARGS;
1910 #endif
1911     if (items != 1)
1912        croak_xs_usage(cv,  "THIS");
1913     PERL_UNUSED_VAR(ax); /* -Wall */
1914     SP -= items;
1915     {
1916     int x;
1917     int y;
1918         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
1919     THIS->GetPosition( &x, &y );
1920     EXTEND( SP, 2 );
1921     PUSHs( sv_2mortal( newSViv( (IV) x ) ) );
1922     PUSHs( sv_2mortal( newSViv( (IV) y ) ) );
1923         PUTBACK;
1924         return;
1925     }
1926 }
1927
1928
1929 XS(XS_Wx__Window_GetRect); /* prototype to pass -Wmissing-prototypes */
1930 XS(XS_Wx__Window_GetRect)
1931 {
1932 #ifdef dVAR
1933     dVAR; dXSARGS;
1934 #else
1935     dXSARGS;
1936 #endif
1937     if (items != 1)
1938        croak_xs_usage(cv,  "THIS");
1939     {
1940         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
1941         wxRect *        RETVAL;
1942     RETVAL = new wxRect( THIS->GetRect() );
1943         ST(0) = sv_newmortal();
1944     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Rect" );
1945     wxPli_thread_sv_register( aTHX_ "Wx::Rect", RETVAL, ST(0) );
1946
1947     }
1948     XSRETURN(1);
1949 }
1950
1951
1952 XS(XS_Wx__Window_GetScrollThumb); /* prototype to pass -Wmissing-prototypes */
1953 XS(XS_Wx__Window_GetScrollThumb)
1954 {
1955 #ifdef dVAR
1956     dVAR; dXSARGS;
1957 #else
1958     dXSARGS;
1959 #endif
1960     if (items != 2)
1961        croak_xs_usage(cv,  "THIS, orientation");
1962     {
1963         int     orientation = (int)SvIV(ST(1));
1964         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
1965         int     RETVAL;
1966         dXSTARG;
1967
1968         RETVAL = THIS->GetScrollThumb(orientation);
1969         XSprePUSH; PUSHi((IV)RETVAL);
1970     }
1971     XSRETURN(1);
1972 }
1973
1974
1975 XS(XS_Wx__Window_GetScrollPos); /* prototype to pass -Wmissing-prototypes */
1976 XS(XS_Wx__Window_GetScrollPos)
1977 {
1978 #ifdef dVAR
1979     dVAR; dXSARGS;
1980 #else
1981     dXSARGS;
1982 #endif
1983     if (items != 2)
1984        croak_xs_usage(cv,  "THIS, orientation");
1985     {
1986         int     orientation = (int)SvIV(ST(1));
1987         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
1988         int     RETVAL;
1989         dXSTARG;
1990
1991         RETVAL = THIS->GetScrollPos(orientation);
1992         XSprePUSH; PUSHi((IV)RETVAL);
1993     }
1994     XSRETURN(1);
1995 }
1996
1997
1998 XS(XS_Wx__Window_GetScrollRange); /* prototype to pass -Wmissing-prototypes */
1999 XS(XS_Wx__Window_GetScrollRange)
2000 {
2001 #ifdef dVAR
2002     dVAR; dXSARGS;
2003 #else
2004     dXSARGS;
2005 #endif
2006     if (items != 2)
2007        croak_xs_usage(cv,  "THIS, orientation");
2008     {
2009         int     orientation = (int)SvIV(ST(1));
2010         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
2011         int     RETVAL;
2012         dXSTARG;
2013
2014         RETVAL = THIS->GetScrollRange(orientation);
2015         XSprePUSH; PUSHi((IV)RETVAL);
2016     }
2017     XSRETURN(1);
2018 }
2019
2020
2021 XS(XS_Wx__Window_GetSize); /* prototype to pass -Wmissing-prototypes */
2022 XS(XS_Wx__Window_GetSize)
2023 {
2024 #ifdef dVAR
2025     dVAR; dXSARGS;
2026 #else
2027     dXSARGS;
2028 #endif
2029     if (items != 1)
2030        croak_xs_usage(cv,  "THIS");
2031     {
2032         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
2033         wxSize *        RETVAL;
2034     RETVAL = new wxSize( THIS->GetSize() );
2035         ST(0) = sv_newmortal();
2036     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Size" );
2037     wxPli_thread_sv_register( aTHX_ "Wx::Size", RETVAL, ST(0) );
2038
2039     }
2040     XSRETURN(1);
2041 }
2042
2043
2044 XS(XS_Wx__Window_GetSizer); /* prototype to pass -Wmissing-prototypes */
2045 XS(XS_Wx__Window_GetSizer)
2046 {
2047 #ifdef dVAR
2048     dVAR; dXSARGS;
2049 #else
2050     dXSARGS;
2051 #endif
2052     if (items != 1)
2053        croak_xs_usage(cv,  "THIS");
2054     {
2055         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
2056         wxSizer *       RETVAL;
2057
2058         RETVAL = THIS->GetSizer();
2059         ST(0) = sv_newmortal();
2060     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
2061
2062     }
2063     XSRETURN(1);
2064 }
2065
2066
2067 XS(XS_Wx__Window_GetSizeWH); /* prototype to pass -Wmissing-prototypes */
2068 XS(XS_Wx__Window_GetSizeWH)
2069 {
2070 #ifdef dVAR
2071     dVAR; dXSARGS;
2072 #else
2073     dXSARGS;
2074 #endif
2075     if (items != 1)
2076        croak_xs_usage(cv,  "THIS");
2077     PERL_UNUSED_VAR(ax); /* -Wall */
2078     SP -= items;
2079     {
2080     int x;
2081     int y;
2082         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
2083     THIS->GetSize( &x, &y );
2084     EXTEND( SP, 2 );
2085     PUSHs( sv_2mortal( newSViv( (IV) x ) ) );
2086     PUSHs( sv_2mortal( newSViv( (IV) y ) ) );
2087         PUTBACK;
2088         return;
2089     }
2090 }
2091
2092
2093 XS(XS_Wx__Window_GetTextExtent); /* prototype to pass -Wmissing-prototypes */
2094 XS(XS_Wx__Window_GetTextExtent)
2095 {
2096 #ifdef dVAR
2097     dVAR; dXSARGS;
2098 #else
2099     dXSARGS;
2100 #endif
2101     if (items < 2 || items > 3)
2102        croak_xs_usage(cv,  "THIS, string, font = 0");
2103     PERL_UNUSED_VAR(ax); /* -Wall */
2104     SP -= items;
2105     {
2106         wxString        string;
2107         wxFont* font;
2108     int x;
2109     int y;
2110     int descent;
2111     int externalLeading;
2112         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
2113
2114     WXSTRING_INPUT( string, wxString, ST(1) );
2115
2116         if (items < 3)
2117             font = 0;
2118         else {
2119     font = (wxFont *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Font" );
2120         }
2121     THIS->GetTextExtent( string, &x, &y, &descent, &externalLeading,
2122         font );
2123     EXTEND( SP, 4 );
2124     PUSHs( sv_2mortal( newSViv( x ) ) );
2125     PUSHs( sv_2mortal( newSViv( y ) ) );
2126     PUSHs( sv_2mortal( newSViv( descent ) ) );
2127     PUSHs( sv_2mortal( newSViv( externalLeading ) ) );
2128         PUTBACK;
2129         return;
2130     }
2131 }
2132
2133 #if WXPERL_W_VERSION_GE( 2, 7, 0 )
2134 #define XSubPPtmpAAAO 1
2135
2136
2137 XS(XS_Wx__Window_GetTitle); /* prototype to pass -Wmissing-prototypes */
2138 XS(XS_Wx__Window_GetTitle)
2139 {
2140 #ifdef dVAR
2141     dVAR; dXSARGS;
2142 #else
2143     dXSARGS;
2144 #endif
2145     if (items != 1)
2146        croak_xs_usage(cv,  "THIS");
2147     {
2148         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
2149         wxString        RETVAL;
2150     RETVAL = THIS->GetLabel();
2151         ST(0) = sv_newmortal();
2152     WXSTRING_OUTPUT( RETVAL, ST(0) );
2153
2154     }
2155     XSRETURN(1);
2156 }
2157
2158 #else
2159 #define XSubPPtmpAAAP 1
2160
2161
2162 XS(XS_Wx__Window_GetTitle); /* prototype to pass -Wmissing-prototypes */
2163 XS(XS_Wx__Window_GetTitle)
2164 {
2165 #ifdef dVAR
2166     dVAR; dXSARGS;
2167 #else
2168     dXSARGS;
2169 #endif
2170     if (items != 1)
2171        croak_xs_usage(cv,  "THIS");
2172     {
2173         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
2174         wxString        RETVAL;
2175
2176         RETVAL = THIS->GetTitle();
2177         ST(0) = sv_newmortal();
2178     WXSTRING_OUTPUT( RETVAL, ST(0) );
2179
2180     }
2181     XSRETURN(1);
2182 }
2183
2184 #endif
2185 #if wxPERL_USE_TOOLTIPS
2186 #define XSubPPtmpAAAQ 1
2187
2188
2189 XS(XS_Wx__Window_GetToolTip); /* prototype to pass -Wmissing-prototypes */
2190 XS(XS_Wx__Window_GetToolTip)
2191 {
2192 #ifdef dVAR
2193     dVAR; dXSARGS;
2194 #else
2195     dXSARGS;
2196 #endif
2197     if (items != 1)
2198        croak_xs_usage(cv,  "THIS");
2199     {
2200         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
2201         wxToolTip *     RETVAL;
2202
2203         RETVAL = THIS->GetToolTip();
2204         ST(0) = sv_newmortal();
2205     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
2206
2207     }
2208     XSRETURN(1);
2209 }
2210
2211 #endif
2212
2213 XS(XS_Wx__Window_GetUpdateRegion); /* prototype to pass -Wmissing-prototypes */
2214 XS(XS_Wx__Window_GetUpdateRegion)
2215 {
2216 #ifdef dVAR
2217     dVAR; dXSARGS;
2218 #else
2219     dXSARGS;
2220 #endif
2221     if (items != 1)
2222        croak_xs_usage(cv,  "THIS");
2223     {
2224         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
2225         wxRegion *      RETVAL;
2226     RETVAL = new wxRegion( THIS->GetUpdateRegion() );
2227         ST(0) = sv_newmortal();
2228     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
2229     wxPli_thread_sv_register( aTHX_ "Wx::Region", RETVAL, ST(0) );
2230
2231     }
2232     XSRETURN(1);
2233 }
2234
2235
2236 XS(XS_Wx__Window_GetValidator); /* prototype to pass -Wmissing-prototypes */
2237 XS(XS_Wx__Window_GetValidator)
2238 {
2239 #ifdef dVAR
2240     dVAR; dXSARGS;
2241 #else
2242     dXSARGS;
2243 #endif
2244     if (items != 1)
2245        croak_xs_usage(cv,  "THIS");
2246     {
2247         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
2248         wxValidator *   RETVAL;
2249
2250         RETVAL = THIS->GetValidator();
2251         ST(0) = sv_newmortal();
2252     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
2253
2254     }
2255     XSRETURN(1);
2256 }
2257
2258
2259 XS(XS_Wx__Window_GetWindowStyleFlag); /* prototype to pass -Wmissing-prototypes */
2260 XS(XS_Wx__Window_GetWindowStyleFlag)
2261 {
2262 #ifdef dVAR
2263     dVAR; dXSARGS;
2264 #else
2265     dXSARGS;
2266 #endif
2267     if (items != 1)
2268        croak_xs_usage(cv,  "THIS");
2269     {
2270         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
2271         long    RETVAL;
2272         dXSTARG;
2273
2274         RETVAL = THIS->GetWindowStyleFlag();
2275         XSprePUSH; PUSHi((IV)RETVAL);
2276     }
2277     XSRETURN(1);
2278 }
2279
2280 #if WXPERL_W_VERSION_GE( 2, 8, 0 )
2281 #define XSubPPtmpAAAR 1
2282
2283
2284 XS(XS_Wx__Window_GetWindowBorderSize); /* prototype to pass -Wmissing-prototypes */
2285 XS(XS_Wx__Window_GetWindowBorderSize)
2286 {
2287 #ifdef dVAR
2288     dVAR; dXSARGS;
2289 #else
2290     dXSARGS;
2291 #endif
2292     if (items != 1)
2293        croak_xs_usage(cv,  "THIS");
2294     {
2295         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
2296         wxSize  RETVAL;
2297
2298         RETVAL = THIS->GetWindowBorderSize();
2299         ST(0) = sv_newmortal();
2300     wxPli_non_object_2_sv( aTHX_ ST(0), new wxSize(RETVAL), "Wx::Size" );
2301
2302     }
2303     XSRETURN(1);
2304 }
2305
2306 #endif
2307 #if WXPERL_W_VERSION_GE( 2, 5, 3 )
2308 #define XSubPPtmpAAAS 1
2309
2310
2311 XS(XS_Wx__Window_InvalidateBestSize); /* prototype to pass -Wmissing-prototypes */
2312 XS(XS_Wx__Window_InvalidateBestSize)
2313 {
2314 #ifdef dVAR
2315     dVAR; dXSARGS;
2316 #else
2317     dXSARGS;
2318 #endif
2319     if (items != 1)
2320        croak_xs_usage(cv,  "THIS");
2321     {
2322         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
2323
2324         THIS->InvalidateBestSize();
2325     }
2326     XSRETURN_EMPTY;
2327 }
2328
2329
2330 XS(XS_Wx__Window_InheritAttributes); /* prototype to pass -Wmissing-prototypes */
2331 XS(XS_Wx__Window_InheritAttributes)
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         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
2342
2343         THIS->InheritAttributes();
2344     }
2345     XSRETURN_EMPTY;
2346 }
2347
2348 #endif
2349
2350 XS(XS_Wx__Window_IsEnabled); /* prototype to pass -Wmissing-prototypes */
2351 XS(XS_Wx__Window_IsEnabled)
2352 {
2353 #ifdef dVAR
2354     dVAR; dXSARGS;
2355 #else
2356     dXSARGS;
2357 #endif
2358     if (items != 1)
2359        croak_xs_usage(cv,  "THIS");
2360     {
2361         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
2362         bool    RETVAL;
2363
2364         RETVAL = THIS->IsEnabled();
2365         ST(0) = boolSV(RETVAL);
2366         sv_2mortal(ST(0));
2367     }
2368     XSRETURN(1);
2369 }
2370
2371 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
2372 #define XSubPPtmpAAAT 1
2373
2374
2375 XS(XS_Wx__Window_IsThisEnabled); /* prototype to pass -Wmissing-prototypes */
2376 XS(XS_Wx__Window_IsThisEnabled)
2377 {
2378 #ifdef dVAR
2379     dVAR; dXSARGS;
2380 #else
2381     dXSARGS;
2382 #endif
2383     if (items != 1)
2384        croak_xs_usage(cv,  "THIS");
2385     {
2386         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
2387         bool    RETVAL;
2388
2389         RETVAL = THIS->IsThisEnabled();
2390         ST(0) = boolSV(RETVAL);
2391         sv_2mortal(ST(0));
2392     }
2393     XSRETURN(1);
2394 }
2395
2396 #endif
2397
2398 XS(XS_Wx__Window_IsExposed); /* prototype to pass -Wmissing-prototypes */
2399 XS(XS_Wx__Window_IsExposed)
2400 {
2401 #ifdef dVAR
2402     dVAR; dXSARGS;
2403 #else
2404     dXSARGS;
2405 #endif
2406     if (items < 1)
2407        croak_xs_usage(cv,  "THIS, ...");
2408     PERL_UNUSED_VAR(ax); /* -Wall */
2409     SP -= items;
2410     {
2411         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
2412     BEGIN_OVERLOAD()
2413         MATCH_REDISP( wxPliOvl_wpoi, IsExposedPoint )
2414         MATCH_REDISP( wxPliOvl_wrec, IsExposedRect )
2415         MATCH_REDISP( wxPliOvl_n_n_n_n, IsExposedXYWH )
2416     END_OVERLOAD( Wx::Window::IsExposed )
2417         PUTBACK;
2418         return;
2419     }
2420 }
2421
2422
2423 XS(XS_Wx__Window_IsExposedXYWH); /* prototype to pass -Wmissing-prototypes */
2424 XS(XS_Wx__Window_IsExposedXYWH)
2425 {
2426 #ifdef dVAR
2427     dVAR; dXSARGS;
2428 #else
2429     dXSARGS;
2430 #endif
2431     if (items < 3 || items > 5)
2432        croak_xs_usage(cv,  "THIS, x, y, w = 0, h = 0");
2433     {
2434         int     x = (int)SvIV(ST(1));
2435         int     y = (int)SvIV(ST(2));
2436         int     w;
2437         int     h;
2438         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
2439         bool    RETVAL;
2440
2441         if (items < 4)
2442             w = 0;
2443         else {
2444             w = (int)SvIV(ST(3));
2445         }
2446
2447         if (items < 5)
2448             h = 0;
2449         else {
2450             h = (int)SvIV(ST(4));
2451         }
2452     RETVAL = THIS->IsExposed( x, y, w, h );
2453         ST(0) = boolSV(RETVAL);
2454         sv_2mortal(ST(0));
2455     }
2456     XSRETURN(1);
2457 }
2458
2459
2460 XS(XS_Wx__Window_IsExposedPoint); /* prototype to pass -Wmissing-prototypes */
2461 XS(XS_Wx__Window_IsExposedPoint)
2462 {
2463 #ifdef dVAR
2464     dVAR; dXSARGS;
2465 #else
2466     dXSARGS;
2467 #endif
2468     if (items != 2)
2469        croak_xs_usage(cv,  "THIS, point");
2470     {
2471         wxPoint    point = wxPli_sv_2_wxpoint( aTHX_ ST(1) );
2472         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
2473         bool    RETVAL;
2474     RETVAL = THIS->IsExposed( point );
2475         ST(0) = boolSV(RETVAL);
2476         sv_2mortal(ST(0));
2477     }
2478     XSRETURN(1);
2479 }
2480
2481
2482 XS(XS_Wx__Window_IsExposedRect); /* prototype to pass -Wmissing-prototypes */
2483 XS(XS_Wx__Window_IsExposedRect)
2484 {
2485 #ifdef dVAR
2486     dVAR; dXSARGS;
2487 #else
2488     dXSARGS;
2489 #endif
2490     if (items != 2)
2491        croak_xs_usage(cv,  "THIS, rect");
2492     {
2493         wxRect*    rect = (wxRect *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Rect" );
2494         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
2495         bool    RETVAL;
2496     RETVAL = THIS->IsExposed( *rect );
2497         ST(0) = boolSV(RETVAL);
2498         sv_2mortal(ST(0));
2499     }
2500     XSRETURN(1);
2501 }
2502
2503
2504 XS(XS_Wx__Window_IsRetained); /* prototype to pass -Wmissing-prototypes */
2505 XS(XS_Wx__Window_IsRetained)
2506 {
2507 #ifdef dVAR
2508     dVAR; dXSARGS;
2509 #else
2510     dXSARGS;
2511 #endif
2512     if (items != 1)
2513        croak_xs_usage(cv,  "THIS");
2514     {
2515         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
2516         bool    RETVAL;
2517
2518         RETVAL = THIS->IsRetained();
2519         ST(0) = boolSV(RETVAL);
2520         sv_2mortal(ST(0));
2521     }
2522     XSRETURN(1);
2523 }
2524
2525
2526 XS(XS_Wx__Window_IsShown); /* prototype to pass -Wmissing-prototypes */
2527 XS(XS_Wx__Window_IsShown)
2528 {
2529 #ifdef dVAR
2530     dVAR; dXSARGS;
2531 #else
2532     dXSARGS;
2533 #endif
2534     if (items != 1)
2535        croak_xs_usage(cv,  "THIS");
2536     {
2537         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
2538         bool    RETVAL;
2539
2540         RETVAL = THIS->IsShown();
2541         ST(0) = boolSV(RETVAL);
2542         sv_2mortal(ST(0));
2543     }
2544     XSRETURN(1);
2545 }
2546
2547
2548 XS(XS_Wx__Window_IsTopLevel); /* prototype to pass -Wmissing-prototypes */
2549 XS(XS_Wx__Window_IsTopLevel)
2550 {
2551 #ifdef dVAR
2552     dVAR; dXSARGS;
2553 #else
2554     dXSARGS;
2555 #endif
2556     if (items != 1)
2557        croak_xs_usage(cv,  "THIS");
2558     {
2559         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
2560         bool    RETVAL;
2561
2562         RETVAL = THIS->IsTopLevel();
2563         ST(0) = boolSV(RETVAL);
2564         sv_2mortal(ST(0));
2565     }
2566     XSRETURN(1);
2567 }
2568
2569 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
2570 #define XSubPPtmpAAAU 1
2571
2572
2573 XS(XS_Wx__Window_IsDoubleBuffered); /* prototype to pass -Wmissing-prototypes */
2574 XS(XS_Wx__Window_IsDoubleBuffered)
2575 {
2576 #ifdef dVAR
2577     dVAR; dXSARGS;
2578 #else
2579     dXSARGS;
2580 #endif
2581     if (items != 1)
2582        croak_xs_usage(cv,  "THIS");
2583     {
2584         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
2585         bool    RETVAL;
2586
2587         RETVAL = THIS->IsDoubleBuffered();
2588         ST(0) = boolSV(RETVAL);
2589         sv_2mortal(ST(0));
2590     }
2591     XSRETURN(1);
2592 }
2593
2594
2595 XS(XS_Wx__Window_IsShownOnScreen); /* prototype to pass -Wmissing-prototypes */
2596 XS(XS_Wx__Window_IsShownOnScreen)
2597 {
2598 #ifdef dVAR
2599     dVAR; dXSARGS;
2600 #else
2601     dXSARGS;
2602 #endif
2603     if (items != 1)
2604        croak_xs_usage(cv,  "THIS");
2605     {
2606         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
2607         bool    RETVAL;
2608
2609         RETVAL = THIS->IsShownOnScreen();
2610         ST(0) = boolSV(RETVAL);
2611         sv_2mortal(ST(0));
2612     }
2613     XSRETURN(1);
2614 }
2615
2616 #endif
2617
2618 XS(XS_Wx__Window_Layout); /* prototype to pass -Wmissing-prototypes */
2619 XS(XS_Wx__Window_Layout)
2620 {
2621 #ifdef dVAR
2622     dVAR; dXSARGS;
2623 #else
2624     dXSARGS;
2625 #endif
2626     if (items != 1)
2627        croak_xs_usage(cv,  "THIS");
2628     {
2629         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
2630
2631         THIS->Layout();
2632     }
2633     XSRETURN_EMPTY;
2634 }
2635
2636
2637 XS(XS_Wx__Window_Lower); /* prototype to pass -Wmissing-prototypes */
2638 XS(XS_Wx__Window_Lower)
2639 {
2640 #ifdef dVAR
2641     dVAR; dXSARGS;
2642 #else
2643     dXSARGS;
2644 #endif
2645     if (items != 1)
2646        croak_xs_usage(cv,  "THIS");
2647     {
2648         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
2649
2650         THIS->Lower();
2651     }
2652     XSRETURN_EMPTY;
2653 }
2654
2655
2656 XS(XS_Wx__Window_MakeModal); /* prototype to pass -Wmissing-prototypes */
2657 XS(XS_Wx__Window_MakeModal)
2658 {
2659 #ifdef dVAR
2660     dVAR; dXSARGS;
2661 #else
2662     dXSARGS;
2663 #endif
2664     if (items != 2)
2665        croak_xs_usage(cv,  "THIS, flag");
2666     {
2667         bool    flag = (bool)SvTRUE(ST(1));
2668         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
2669
2670         THIS->MakeModal(flag);
2671     }
2672     XSRETURN_EMPTY;
2673 }
2674
2675
2676 XS(XS_Wx__Window_Move); /* prototype to pass -Wmissing-prototypes */
2677 XS(XS_Wx__Window_Move)
2678 {
2679 #ifdef dVAR
2680     dVAR; dXSARGS;
2681 #else
2682     dXSARGS;
2683 #endif
2684     if (items < 1)
2685        croak_xs_usage(cv,  "THIS, ...");
2686     PERL_UNUSED_VAR(ax); /* -Wall */
2687     SP -= items;
2688     {
2689         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
2690     BEGIN_OVERLOAD()
2691         MATCH_REDISP( wxPliOvl_wpoi, MovePoint )
2692         MATCH_REDISP( wxPliOvl_n_n, MoveXY )
2693     END_OVERLOAD( Wx::Window::Move )
2694         PUTBACK;
2695         return;
2696     }
2697 }
2698
2699
2700 XS(XS_Wx__Window_MoveXY); /* prototype to pass -Wmissing-prototypes */
2701 XS(XS_Wx__Window_MoveXY)
2702 {
2703 #ifdef dVAR
2704     dVAR; dXSARGS;
2705 #else
2706     dXSARGS;
2707 #endif
2708     if (items != 3)
2709        croak_xs_usage(cv,  "THIS, x, y");
2710     {
2711         int     x = (int)SvIV(ST(1));
2712         int     y = (int)SvIV(ST(2));
2713         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
2714     THIS->Move( x, y );
2715     }
2716     XSRETURN_EMPTY;
2717 }
2718
2719
2720 XS(XS_Wx__Window_MovePoint); /* prototype to pass -Wmissing-prototypes */
2721 XS(XS_Wx__Window_MovePoint)
2722 {
2723 #ifdef dVAR
2724     dVAR; dXSARGS;
2725 #else
2726     dXSARGS;
2727 #endif
2728     if (items != 2)
2729        croak_xs_usage(cv,  "THIS, point");
2730     {
2731         wxPoint    point = wxPli_sv_2_wxpoint( aTHX_ ST(1) );
2732         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
2733     THIS->Move( point );
2734     }
2735     XSRETURN_EMPTY;
2736 }
2737
2738 #if WXPERL_W_VERSION_GE( 2, 5, 3 )
2739 #define XSubPPtmpAAAV 1
2740
2741
2742 XS(XS_Wx__Window_MoveBeforeInTabOrder); /* prototype to pass -Wmissing-prototypes */
2743 XS(XS_Wx__Window_MoveBeforeInTabOrder)
2744 {
2745 #ifdef dVAR
2746     dVAR; dXSARGS;
2747 #else
2748     dXSARGS;
2749 #endif
2750     if (items != 2)
2751        croak_xs_usage(cv,  "THIS, window");
2752     {
2753         wxWindow*    window = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
2754         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
2755
2756         THIS->MoveBeforeInTabOrder(window);
2757     }
2758     XSRETURN_EMPTY;
2759 }
2760
2761
2762 XS(XS_Wx__Window_MoveAfterInTabOrder); /* prototype to pass -Wmissing-prototypes */
2763 XS(XS_Wx__Window_MoveAfterInTabOrder)
2764 {
2765 #ifdef dVAR
2766     dVAR; dXSARGS;
2767 #else
2768     dXSARGS;
2769 #endif
2770     if (items != 2)
2771        croak_xs_usage(cv,  "THIS, window");
2772     {
2773         wxWindow*    window = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
2774         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
2775
2776         THIS->MoveAfterInTabOrder(window);
2777     }
2778     XSRETURN_EMPTY;
2779 }
2780
2781 #endif
2782 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
2783 #define XSubPPtmpAAAW 1
2784
2785
2786 XS(XS_Wx__Window_NavigateIn); /* prototype to pass -Wmissing-prototypes */
2787 XS(XS_Wx__Window_NavigateIn)
2788 {
2789 #ifdef dVAR
2790     dVAR; dXSARGS;
2791 #else
2792     dXSARGS;
2793 #endif
2794     if (items < 1 || items > 2)
2795        croak_xs_usage(cv,  "THIS, flags = wxNavigationKeyEvent::IsForward");
2796     {
2797         int     flags;
2798         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
2799         bool    RETVAL;
2800
2801         if (items < 2)
2802             flags = wxNavigationKeyEvent::IsForward;
2803         else {
2804             flags = (int)SvIV(ST(1));
2805         }
2806
2807         RETVAL = THIS->NavigateIn(flags);
2808         ST(0) = boolSV(RETVAL);
2809         sv_2mortal(ST(0));
2810     }
2811     XSRETURN(1);
2812 }
2813
2814
2815 XS(XS_Wx__Window_Navigate); /* prototype to pass -Wmissing-prototypes */
2816 XS(XS_Wx__Window_Navigate)
2817 {
2818 #ifdef dVAR
2819     dVAR; dXSARGS;
2820 #else
2821     dXSARGS;
2822 #endif
2823     if (items < 1 || items > 2)
2824        croak_xs_usage(cv,  "THIS, flags = wxNavigationKeyEvent::IsForward");
2825     {
2826         int     flags;
2827         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
2828         bool    RETVAL;
2829
2830         if (items < 2)
2831             flags = wxNavigationKeyEvent::IsForward;
2832         else {
2833             flags = (int)SvIV(ST(1));
2834         }
2835
2836         RETVAL = THIS->Navigate(flags);
2837         ST(0) = boolSV(RETVAL);
2838         sv_2mortal(ST(0));
2839     }
2840     XSRETURN(1);
2841 }
2842
2843 #endif
2844
2845 XS(XS_Wx__Window_PopEventHandler); /* prototype to pass -Wmissing-prototypes */
2846 XS(XS_Wx__Window_PopEventHandler)
2847 {
2848 #ifdef dVAR
2849     dVAR; dXSARGS;
2850 #else
2851     dXSARGS;
2852 #endif
2853     if (items != 2)
2854        croak_xs_usage(cv,  "THIS, deleteHandler");
2855     {
2856         bool    deleteHandler = (bool)SvTRUE(ST(1));
2857         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
2858         wxEvtHandler *  RETVAL;
2859
2860         RETVAL = THIS->PopEventHandler(deleteHandler);
2861         ST(0) = sv_newmortal();
2862     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
2863
2864     }
2865     XSRETURN(1);
2866 }
2867
2868
2869 XS(XS_Wx__Window_PopupMenu); /* prototype to pass -Wmissing-prototypes */
2870 XS(XS_Wx__Window_PopupMenu)
2871 {
2872 #ifdef dVAR
2873     dVAR; dXSARGS;
2874 #else
2875     dXSARGS;
2876 #endif
2877     if (items < 1)
2878        croak_xs_usage(cv,  "THIS, ...");
2879     PERL_UNUSED_VAR(ax); /* -Wall */
2880     SP -= items;
2881     {
2882         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
2883     BEGIN_OVERLOAD()
2884         MATCH_REDISP( wxPliOvl_wmen_wpoi, PopupMenuPoint )
2885         MATCH_REDISP( wxPliOvl_wmen_n_n, PopupMenuXY )
2886     END_OVERLOAD( Wx::Window::PopupMenu )
2887         PUTBACK;
2888         return;
2889     }
2890 }
2891
2892
2893 XS(XS_Wx__Window_PopupMenuPoint); /* prototype to pass -Wmissing-prototypes */
2894 XS(XS_Wx__Window_PopupMenuPoint)
2895 {
2896 #ifdef dVAR
2897     dVAR; dXSARGS;
2898 #else
2899     dXSARGS;
2900 #endif
2901     if (items != 3)
2902        croak_xs_usage(cv,  "THIS, menu, point");
2903     {
2904         wxMenu*    menu = (wxMenu *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Menu" );
2905         wxPoint    point = wxPli_sv_2_wxpoint( aTHX_ ST(2) );
2906         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
2907         bool    RETVAL;
2908     RETVAL = THIS->PopupMenu( menu, point );
2909         ST(0) = boolSV(RETVAL);
2910         sv_2mortal(ST(0));
2911     }
2912     XSRETURN(1);
2913 }
2914
2915
2916 XS(XS_Wx__Window_PopupMenuXY); /* prototype to pass -Wmissing-prototypes */
2917 XS(XS_Wx__Window_PopupMenuXY)
2918 {
2919 #ifdef dVAR
2920     dVAR; dXSARGS;
2921 #else
2922     dXSARGS;
2923 #endif
2924     if (items != 4)
2925        croak_xs_usage(cv,  "THIS, menu, x, y");
2926     {
2927         wxMenu*    menu = (wxMenu *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Menu" );
2928         int     x = (int)SvIV(ST(2));
2929         int     y = (int)SvIV(ST(3));
2930         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
2931         bool    RETVAL;
2932     RETVAL = THIS->PopupMenu( menu, x, y );
2933         ST(0) = boolSV(RETVAL);
2934         sv_2mortal(ST(0));
2935     }
2936     XSRETURN(1);
2937 }
2938
2939
2940 XS(XS_Wx__Window_PushEventHandler); /* prototype to pass -Wmissing-prototypes */
2941 XS(XS_Wx__Window_PushEventHandler)
2942 {
2943 #ifdef dVAR
2944     dVAR; dXSARGS;
2945 #else
2946     dXSARGS;
2947 #endif
2948     if (items != 2)
2949        croak_xs_usage(cv,  "THIS, handler");
2950     {
2951         wxEvtHandler*    handler = (wxEvtHandler *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::EvtHandler" );
2952         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
2953
2954         THIS->PushEventHandler(handler);
2955     }
2956     XSRETURN_EMPTY;
2957 }
2958
2959
2960 XS(XS_Wx__Window_Raise); /* prototype to pass -Wmissing-prototypes */
2961 XS(XS_Wx__Window_Raise)
2962 {
2963 #ifdef dVAR
2964     dVAR; dXSARGS;
2965 #else
2966     dXSARGS;
2967 #endif
2968     if (items != 1)
2969        croak_xs_usage(cv,  "THIS");
2970     {
2971         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
2972
2973         THIS->Raise();
2974     }
2975     XSRETURN_EMPTY;
2976 }
2977
2978
2979 XS(XS_Wx__Window_Refresh); /* prototype to pass -Wmissing-prototypes */
2980 XS(XS_Wx__Window_Refresh)
2981 {
2982 #ifdef dVAR
2983     dVAR; dXSARGS;
2984 #else
2985     dXSARGS;
2986 #endif
2987     if (items < 1 || items > 3)
2988        croak_xs_usage(cv,  "THIS, eraseBackground = true, rect = 0");
2989     {
2990         bool    eraseBackground;
2991         wxRect* rect;
2992         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
2993
2994         if (items < 2)
2995             eraseBackground = true;
2996         else {
2997             eraseBackground = (bool)SvTRUE(ST(1));
2998         }
2999
3000         if (items < 3)
3001             rect = 0;
3002         else {
3003     rect = (wxRect *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Rect" );
3004         }
3005
3006         THIS->Refresh(eraseBackground, rect);
3007     }
3008     XSRETURN_EMPTY;
3009 }
3010
3011
3012 XS(XS_Wx__Window_ReleaseMouse); /* prototype to pass -Wmissing-prototypes */
3013 XS(XS_Wx__Window_ReleaseMouse)
3014 {
3015 #ifdef dVAR
3016     dVAR; dXSARGS;
3017 #else
3018     dXSARGS;
3019 #endif
3020     if (items != 1)
3021        croak_xs_usage(cv,  "THIS");
3022     {
3023         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
3024
3025         THIS->ReleaseMouse();
3026     }
3027     XSRETURN_EMPTY;
3028 }
3029
3030
3031 XS(XS_Wx__Window_RemoveEventHandler); /* prototype to pass -Wmissing-prototypes */
3032 XS(XS_Wx__Window_RemoveEventHandler)
3033 {
3034 #ifdef dVAR
3035     dVAR; dXSARGS;
3036 #else
3037     dXSARGS;
3038 #endif
3039     if (items != 2)
3040        croak_xs_usage(cv,  "THIS, handler");
3041     {
3042         wxEvtHandler*    handler = (wxEvtHandler *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::EvtHandler" );
3043         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
3044         bool    RETVAL;
3045
3046         RETVAL = THIS->RemoveEventHandler(handler);
3047         ST(0) = boolSV(RETVAL);
3048         sv_2mortal(ST(0));
3049     }
3050     XSRETURN(1);
3051 }
3052
3053
3054 XS(XS_Wx__Window_Reparent); /* prototype to pass -Wmissing-prototypes */
3055 XS(XS_Wx__Window_Reparent)
3056 {
3057 #ifdef dVAR
3058     dVAR; dXSARGS;
3059 #else
3060     dXSARGS;
3061 #endif
3062     if (items != 2)
3063        croak_xs_usage(cv,  "THIS, newParent");
3064     {
3065         wxWindow*    newParent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
3066         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
3067         bool    RETVAL;
3068
3069         RETVAL = THIS->Reparent(newParent);
3070         ST(0) = boolSV(RETVAL);
3071         sv_2mortal(ST(0));
3072     }
3073     XSRETURN(1);
3074 }
3075
3076
3077 XS(XS_Wx__Window_ScreenToClient); /* prototype to pass -Wmissing-prototypes */
3078 XS(XS_Wx__Window_ScreenToClient)
3079 {
3080 #ifdef dVAR
3081     dVAR; dXSARGS;
3082 #else
3083     dXSARGS;
3084 #endif
3085     if (items < 1)
3086        croak_xs_usage(cv,  "THIS, ...");
3087     PERL_UNUSED_VAR(ax); /* -Wall */
3088     SP -= items;
3089     {
3090         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
3091     BEGIN_OVERLOAD()
3092         MATCH_REDISP( wxPliOvl_n_n, ScreenToClientXY )
3093         MATCH_REDISP( wxPliOvl_wpoi, ScreenToClientPoint )
3094     END_OVERLOAD( Wx::Window::ScreenToClient )
3095         PUTBACK;
3096         return;
3097     }
3098 }
3099
3100
3101 XS(XS_Wx__Window_ScreenToClientPoint); /* prototype to pass -Wmissing-prototypes */
3102 XS(XS_Wx__Window_ScreenToClientPoint)
3103 {
3104 #ifdef dVAR
3105     dVAR; dXSARGS;
3106 #else
3107     dXSARGS;
3108 #endif
3109     if (items != 2)
3110        croak_xs_usage(cv,  "THIS, point");
3111     {
3112         wxPoint    point = wxPli_sv_2_wxpoint( aTHX_ ST(1) );
3113         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
3114         wxPoint *       RETVAL;
3115     RETVAL = new wxPoint( THIS->ScreenToClient( point ) );
3116         ST(0) = sv_newmortal();
3117     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Point" );
3118     wxPli_thread_sv_register( aTHX_ "Wx::Point", RETVAL, ST(0) );
3119
3120     }
3121     XSRETURN(1);
3122 }
3123
3124
3125 XS(XS_Wx__Window_ScreenToClientXY); /* prototype to pass -Wmissing-prototypes */
3126 XS(XS_Wx__Window_ScreenToClientXY)
3127 {
3128 #ifdef dVAR
3129     dVAR; dXSARGS;
3130 #else
3131     dXSARGS;
3132 #endif
3133     if (items != 3)
3134        croak_xs_usage(cv,  "THIS, x, y");
3135     PERL_UNUSED_VAR(ax); /* -Wall */
3136     SP -= items;
3137     {
3138         int     x = (int)SvIV(ST(1));
3139         int     y = (int)SvIV(ST(2));
3140         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
3141     THIS->ScreenToClient( &x, &y );
3142     EXTEND( SP, 2 );
3143     PUSHs( sv_2mortal( newSViv( (IV) x ) ) );
3144     PUSHs( sv_2mortal( newSViv( (IV) y ) ) );
3145         PUTBACK;
3146         return;
3147     }
3148 }
3149
3150
3151 XS(XS_Wx__Window_ScrollLines); /* prototype to pass -Wmissing-prototypes */
3152 XS(XS_Wx__Window_ScrollLines)
3153 {
3154 #ifdef dVAR
3155     dVAR; dXSARGS;
3156 #else
3157     dXSARGS;
3158 #endif
3159     if (items != 2)
3160        croak_xs_usage(cv,  "THIS, lines");
3161     {
3162         int     lines = (int)SvIV(ST(1));
3163         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
3164         bool    RETVAL;
3165
3166         RETVAL = THIS->ScrollLines(lines);
3167         ST(0) = boolSV(RETVAL);
3168         sv_2mortal(ST(0));
3169     }
3170     XSRETURN(1);
3171 }
3172
3173
3174 XS(XS_Wx__Window_ScrollPages); /* prototype to pass -Wmissing-prototypes */
3175 XS(XS_Wx__Window_ScrollPages)
3176 {
3177 #ifdef dVAR
3178     dVAR; dXSARGS;
3179 #else
3180     dXSARGS;
3181 #endif
3182     if (items != 2)
3183        croak_xs_usage(cv,  "THIS, lines");
3184     {
3185         int     lines = (int)SvIV(ST(1));
3186         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
3187         bool    RETVAL;
3188
3189         RETVAL = THIS->ScrollPages(lines);
3190         ST(0) = boolSV(RETVAL);
3191         sv_2mortal(ST(0));
3192     }
3193     XSRETURN(1);
3194 }
3195
3196
3197 XS(XS_Wx__Window_ScrollWindow); /* prototype to pass -Wmissing-prototypes */
3198 XS(XS_Wx__Window_ScrollWindow)
3199 {
3200 #ifdef dVAR
3201     dVAR; dXSARGS;
3202 #else
3203     dXSARGS;
3204 #endif
3205     if (items < 3 || items > 4)
3206        croak_xs_usage(cv,  "THIS, x, y, rect = 0");
3207     {
3208         int     x = (int)SvIV(ST(1));
3209         int     y = (int)SvIV(ST(2));
3210         wxRect* rect;
3211         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
3212
3213         if (items < 4)
3214             rect = 0;
3215         else {
3216     rect = (wxRect *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::Rect" );
3217         }
3218
3219         THIS->ScrollWindow(x, y, rect);
3220     }
3221     XSRETURN_EMPTY;
3222 }
3223
3224
3225 XS(XS_Wx__Window_SetAcceleratorTable); /* prototype to pass -Wmissing-prototypes */
3226 XS(XS_Wx__Window_SetAcceleratorTable)
3227 {
3228 #ifdef dVAR
3229     dVAR; dXSARGS;
3230 #else
3231     dXSARGS;
3232 #endif
3233     if (items != 2)
3234        croak_xs_usage(cv,  "THIS, accel");
3235     {
3236         wxAcceleratorTable*    accel = (wxAcceleratorTable *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::AcceleratorTable" );
3237         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
3238
3239         THIS->SetAcceleratorTable(*accel);
3240     }
3241     XSRETURN_EMPTY;
3242 }
3243
3244
3245 XS(XS_Wx__Window_SetAutoLayout); /* prototype to pass -Wmissing-prototypes */
3246 XS(XS_Wx__Window_SetAutoLayout)
3247 {
3248 #ifdef dVAR
3249     dVAR; dXSARGS;
3250 #else
3251     dXSARGS;
3252 #endif
3253     if (items != 2)
3254        croak_xs_usage(cv,  "THIS, autoLayout");
3255     {
3256         bool    autoLayout = (bool)SvTRUE(ST(1));
3257         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
3258
3259         THIS->SetAutoLayout(autoLayout);
3260     }
3261     XSRETURN_EMPTY;
3262 }
3263
3264 #ifdef __WXGTK__
3265 #define XSubPPtmpAAAX 1
3266
3267
3268 XS(XS_Wx__Window_SetThemeEnabled); /* prototype to pass -Wmissing-prototypes */
3269 XS(XS_Wx__Window_SetThemeEnabled)
3270 {
3271 #ifdef dVAR
3272     dVAR; dXSARGS;
3273 #else
3274     dXSARGS;
3275 #endif
3276     if (items != 2)
3277        croak_xs_usage(cv,  "THIS, themeEnabled");
3278     {
3279         bool    themeEnabled = (bool)SvTRUE(ST(1));
3280         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
3281
3282         THIS->SetThemeEnabled(themeEnabled);
3283     }
3284     XSRETURN_EMPTY;
3285 }
3286
3287 #endif
3288 #if WXPERL_W_VERSION_GE( 2, 5, 3 )
3289 #define XSubPPtmpAAAY 1
3290
3291
3292 XS(XS_Wx__Window_SetBackgroundStyle); /* prototype to pass -Wmissing-prototypes */
3293 XS(XS_Wx__Window_SetBackgroundStyle)
3294 {
3295 #ifdef dVAR
3296     dVAR; dXSARGS;
3297 #else
3298     dXSARGS;
3299 #endif
3300     if (items != 2)
3301        croak_xs_usage(cv,  "THIS, style");
3302     {
3303         wxBackgroundStyle       style = (wxBackgroundStyle)SvIV(ST(1));
3304         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
3305         bool    RETVAL;
3306
3307         RETVAL = THIS->SetBackgroundStyle(style);
3308         ST(0) = boolSV(RETVAL);
3309         sv_2mortal(ST(0));
3310     }
3311     XSRETURN(1);
3312 }
3313
3314 #endif
3315 #if WXPERL_W_VERSION_GE( 2, 5, 3 )
3316 #define XSubPPtmpAAAZ 1
3317
3318
3319 XS(XS_Wx__Window_SetBestFittingSize); /* prototype to pass -Wmissing-prototypes */
3320 XS(XS_Wx__Window_SetBestFittingSize)
3321 {
3322 #ifdef dVAR
3323     dVAR; dXSARGS;
3324 #else
3325     dXSARGS;
3326 #endif
3327     if (items < 1 || items > 2)
3328        croak_xs_usage(cv,  "THIS, size = wxDefaultSize");
3329     {
3330         wxSize  size;
3331         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
3332
3333         if (items < 2)
3334             size = wxDefaultSize;
3335         else {
3336     size = wxPli_sv_2_wxsize( aTHX_ ST(1) );
3337         }
3338 #if WXPERL_W_VERSION_LT( 2, 7, 2 )
3339     THIS->SetBestFittingSize( size );
3340 #else
3341     THIS->SetInitialSize( size );
3342 #endif
3343     }
3344     XSRETURN_EMPTY;
3345 }
3346
3347 #endif
3348 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
3349 #define XSubPPtmpAABA 1
3350
3351
3352 XS(XS_Wx__Window_SetInitialSize); /* prototype to pass -Wmissing-prototypes */
3353 XS(XS_Wx__Window_SetInitialSize)
3354 {
3355 #ifdef dVAR
3356     dVAR; dXSARGS;
3357 #else
3358     dXSARGS;
3359 #endif
3360     if (items < 1 || items > 2)
3361        croak_xs_usage(cv,  "THIS, size = wxDefaultSize");
3362     {
3363         wxSize  size;
3364         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
3365
3366         if (items < 2)
3367             size = wxDefaultSize;
3368         else {
3369     size = wxPli_sv_2_wxsize( aTHX_ ST(1) );
3370         }
3371
3372         THIS->SetInitialSize(size);
3373     }
3374     XSRETURN_EMPTY;
3375 }
3376
3377 #endif
3378
3379 XS(XS_Wx__Window_SetCaret); /* prototype to pass -Wmissing-prototypes */
3380 XS(XS_Wx__Window_SetCaret)
3381 {
3382 #ifdef dVAR
3383     dVAR; dXSARGS;
3384 #else
3385     dXSARGS;
3386 #endif
3387     if (items != 2)
3388        croak_xs_usage(cv,  "THIS, caret");
3389     {
3390         wxCaret*    caret = (wxCaret *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Caret" );
3391         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
3392
3393         THIS->SetCaret(caret);
3394     }
3395     XSRETURN_EMPTY;
3396 }
3397
3398
3399 XS(XS_Wx__Window_SetClientSize); /* prototype to pass -Wmissing-prototypes */
3400 XS(XS_Wx__Window_SetClientSize)
3401 {
3402 #ifdef dVAR
3403     dVAR; dXSARGS;
3404 #else
3405     dXSARGS;
3406 #endif
3407     if (items < 1)
3408        croak_xs_usage(cv,  "THIS, ...");
3409     PERL_UNUSED_VAR(ax); /* -Wall */
3410     SP -= items;
3411     {
3412         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
3413     BEGIN_OVERLOAD()
3414         MATCH_REDISP( wxPliOvl_wsiz, SetClientSizeSize )
3415         MATCH_REDISP( wxPliOvl_n_n, SetClientSizeWH )
3416     END_OVERLOAD( Wx::Window::SetClientSize )
3417         PUTBACK;
3418         return;
3419     }
3420 }
3421
3422
3423 XS(XS_Wx__Window_SetClientSizeSize); /* prototype to pass -Wmissing-prototypes */
3424 XS(XS_Wx__Window_SetClientSizeSize)
3425 {
3426 #ifdef dVAR
3427     dVAR; dXSARGS;
3428 #else
3429     dXSARGS;
3430 #endif
3431     if (items != 2)
3432        croak_xs_usage(cv,  "THIS, size");
3433     {
3434         wxSize    size = wxPli_sv_2_wxsize( aTHX_ ST(1) );
3435         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
3436     THIS->SetClientSize( size );
3437     }
3438     XSRETURN_EMPTY;
3439 }
3440
3441
3442 XS(XS_Wx__Window_SetClientSizeWH); /* prototype to pass -Wmissing-prototypes */
3443 XS(XS_Wx__Window_SetClientSizeWH)
3444 {
3445 #ifdef dVAR
3446     dVAR; dXSARGS;
3447 #else
3448     dXSARGS;
3449 #endif
3450     if (items != 3)
3451        croak_xs_usage(cv,  "THIS, width, height");
3452     {
3453         int     width = (int)SvIV(ST(1));
3454         int     height = (int)SvIV(ST(2));
3455         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
3456     THIS->SetClientSize( width, height );
3457     }
3458     XSRETURN_EMPTY;
3459 }
3460
3461
3462 XS(XS_Wx__Window_SetConstraints); /* prototype to pass -Wmissing-prototypes */
3463 XS(XS_Wx__Window_SetConstraints)
3464 {
3465 #ifdef dVAR
3466     dVAR; dXSARGS;
3467 #else
3468     dXSARGS;
3469 #endif
3470     if (items != 2)
3471        croak_xs_usage(cv,  "THIS, constraints");
3472     {
3473         wxLayoutConstraints*    constraints = (wxLayoutConstraints *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::LayoutConstraints" );
3474         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
3475
3476         THIS->SetConstraints(constraints);
3477     }
3478     XSRETURN_EMPTY;
3479 }
3480
3481
3482 XS(XS_Wx__Window_SetContainingSizer); /* prototype to pass -Wmissing-prototypes */
3483 XS(XS_Wx__Window_SetContainingSizer)
3484 {
3485 #ifdef dVAR
3486     dVAR; dXSARGS;
3487 #else
3488     dXSARGS;
3489 #endif
3490     if (items != 2)
3491        croak_xs_usage(cv,  "THIS, sizer");
3492     {
3493         wxSizer*    sizer = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Sizer" );
3494         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
3495
3496         THIS->SetContainingSizer(sizer);
3497     }
3498     XSRETURN_EMPTY;
3499 }
3500
3501 #if WXPERL_W_VERSION_LT( 2, 7, 0 )
3502 #define XSubPPtmpAABB 1
3503
3504
3505 XS(XS_Wx__Window_SetDefaultItem); /* prototype to pass -Wmissing-prototypes */
3506 XS(XS_Wx__Window_SetDefaultItem)
3507 {
3508 #ifdef dVAR
3509     dVAR; dXSARGS;
3510 #else
3511     dXSARGS;
3512 #endif
3513     if (items != 2)
3514        croak_xs_usage(cv,  "THIS, window");
3515     {
3516         wxWindow*    window = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
3517         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
3518         wxWindow *      RETVAL;
3519
3520         RETVAL = THIS->SetDefaultItem(window);
3521         ST(0) = sv_newmortal();
3522     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
3523
3524     }
3525     XSRETURN(1);
3526 }
3527
3528 #endif
3529 #if wxPERL_USE_DRAG_AND_DROP
3530 #define XSubPPtmpAABC 1
3531
3532
3533 XS(XS_Wx__Window_SetDropTarget); /* prototype to pass -Wmissing-prototypes */
3534 XS(XS_Wx__Window_SetDropTarget)
3535 {
3536 #ifdef dVAR
3537     dVAR; dXSARGS;
3538 #else
3539     dXSARGS;
3540 #endif
3541     if (items != 2)
3542        croak_xs_usage(cv,  "THIS, target");
3543     {
3544         wxDropTarget*    target = (wxDropTarget *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::DropTarget" );
3545         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
3546     wxPli_object_set_deleteable( aTHX_ ST(1), false );
3547     SvREFCNT_inc( SvRV( ST(1) ) ); // at this point the scalar must not go away
3548     THIS->SetDropTarget( target );
3549     }
3550     XSRETURN_EMPTY;
3551 }
3552
3553 #endif
3554
3555 XS(XS_Wx__Window_SetEventHandler); /* prototype to pass -Wmissing-prototypes */
3556 XS(XS_Wx__Window_SetEventHandler)
3557 {
3558 #ifdef dVAR
3559     dVAR; dXSARGS;
3560 #else
3561     dXSARGS;
3562 #endif
3563     if (items != 2)
3564        croak_xs_usage(cv,  "THIS, handler");
3565     {
3566         wxEvtHandler*    handler = (wxEvtHandler *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::EvtHandler" );
3567         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
3568
3569         THIS->SetEventHandler(handler);
3570     }
3571     XSRETURN_EMPTY;
3572 }
3573
3574
3575 XS(XS_Wx__Window_SetExtraStyle); /* prototype to pass -Wmissing-prototypes */
3576 XS(XS_Wx__Window_SetExtraStyle)
3577 {
3578 #ifdef dVAR
3579     dVAR; dXSARGS;
3580 #else
3581     dXSARGS;
3582 #endif
3583     if (items != 2)
3584        croak_xs_usage(cv,  "THIS, style");
3585     {
3586         long    style = (long)SvIV(ST(1));
3587         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
3588
3589         THIS->SetExtraStyle(style);
3590     }
3591     XSRETURN_EMPTY;
3592 }
3593
3594
3595 XS(XS_Wx__Window_SetFocus); /* prototype to pass -Wmissing-prototypes */
3596 XS(XS_Wx__Window_SetFocus)
3597 {
3598 #ifdef dVAR
3599     dVAR; dXSARGS;
3600 #else
3601     dXSARGS;
3602 #endif
3603     if (items != 1)
3604        croak_xs_usage(cv,  "THIS");
3605     {
3606         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
3607
3608         THIS->SetFocus();
3609     }
3610     XSRETURN_EMPTY;
3611 }
3612
3613
3614 XS(XS_Wx__Window_SetHelpText); /* prototype to pass -Wmissing-prototypes */
3615 XS(XS_Wx__Window_SetHelpText)
3616 {
3617 #ifdef dVAR
3618     dVAR; dXSARGS;
3619 #else
3620     dXSARGS;
3621 #endif
3622     if (items != 2)
3623        croak_xs_usage(cv,  "THIS, text");
3624     {
3625         wxString        text;
3626         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
3627
3628     WXSTRING_INPUT( text, wxString, ST(1) );
3629
3630         THIS->SetHelpText(text);
3631     }
3632     XSRETURN_EMPTY;
3633 }
3634
3635 #if WXPERL_W_VERSION_LT( 2, 9, 0 ) || WXWIN_COMPATIBILITY_2_8
3636 #define XSubPPtmpAABD 1
3637
3638
3639 XS(XS_Wx__Window_SetHelpTextForId); /* prototype to pass -Wmissing-prototypes */
3640 XS(XS_Wx__Window_SetHelpTextForId)
3641 {
3642 #ifdef dVAR
3643     dVAR; dXSARGS;
3644 #else
3645     dXSARGS;
3646 #endif
3647     if (items != 2)
3648        croak_xs_usage(cv,  "THIS, text");
3649     {
3650         wxString        text;
3651         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
3652
3653     WXSTRING_INPUT( text, wxString, ST(1) );
3654
3655         THIS->SetHelpTextForId(text);
3656     }
3657     XSRETURN_EMPTY;
3658 }
3659
3660 #endif
3661
3662 XS(XS_Wx__Window_SetId); /* prototype to pass -Wmissing-prototypes */
3663 XS(XS_Wx__Window_SetId)
3664 {
3665 #ifdef dVAR
3666     dVAR; dXSARGS;
3667 #else
3668     dXSARGS;
3669 #endif
3670     if (items != 2)
3671        croak_xs_usage(cv,  "THIS, id");
3672     {
3673         int     id = (int)SvIV(ST(1));
3674         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
3675
3676         THIS->SetId(id);
3677     }
3678     XSRETURN_EMPTY;
3679 }
3680
3681
3682 XS(XS_Wx__Window_SetLabel); /* prototype to pass -Wmissing-prototypes */
3683 XS(XS_Wx__Window_SetLabel)
3684 {
3685 #ifdef dVAR
3686     dVAR; dXSARGS;
3687 #else
3688     dXSARGS;
3689 #endif
3690     if (items != 2)
3691        croak_xs_usage(cv,  "THIS, label");
3692     {
3693         wxString        label;
3694         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
3695
3696     WXSTRING_INPUT( label, wxString, ST(1) );
3697
3698         THIS->SetLabel(label);
3699     }
3700     XSRETURN_EMPTY;
3701 }
3702
3703
3704 XS(XS_Wx__Window_SetName); /* prototype to pass -Wmissing-prototypes */
3705 XS(XS_Wx__Window_SetName)
3706 {
3707 #ifdef dVAR
3708     dVAR; dXSARGS;
3709 #else
3710     dXSARGS;
3711 #endif
3712     if (items != 2)
3713        croak_xs_usage(cv,  "THIS, name");
3714     {
3715         wxString        name;
3716         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
3717
3718     WXSTRING_INPUT( name, wxString, ST(1) );
3719
3720         THIS->SetName(name);
3721     }
3722     XSRETURN_EMPTY;
3723 }
3724
3725
3726 XS(XS_Wx__Window_SetScrollbar); /* prototype to pass -Wmissing-prototypes */
3727 XS(XS_Wx__Window_SetScrollbar)
3728 {
3729 #ifdef dVAR
3730     dVAR; dXSARGS;
3731 #else
3732     dXSARGS;
3733 #endif
3734     if (items < 5 || items > 6)
3735        croak_xs_usage(cv,  "THIS, orientation, position, thumbSize, range, refresh = true");
3736     {
3737         int     orientation = (int)SvIV(ST(1));
3738         int     position = (int)SvIV(ST(2));
3739         int     thumbSize = (int)SvIV(ST(3));
3740         int     range = (int)SvIV(ST(4));
3741         bool    refresh;
3742         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
3743
3744         if (items < 6)
3745             refresh = true;
3746         else {
3747             refresh = (bool)SvTRUE(ST(5));
3748         }
3749
3750         THIS->SetScrollbar(orientation, position, thumbSize, range, refresh);
3751     }
3752     XSRETURN_EMPTY;
3753 }
3754
3755
3756 XS(XS_Wx__Window_SetScrollPos); /* prototype to pass -Wmissing-prototypes */
3757 XS(XS_Wx__Window_SetScrollPos)
3758 {
3759 #ifdef dVAR
3760     dVAR; dXSARGS;
3761 #else
3762     dXSARGS;
3763 #endif
3764     if (items < 3 || items > 4)
3765        croak_xs_usage(cv,  "THIS, orientation, position, refresh = true");
3766     {
3767         int     orientation = (int)SvIV(ST(1));
3768         int     position = (int)SvIV(ST(2));
3769         bool    refresh;
3770         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
3771
3772         if (items < 4)
3773             refresh = true;
3774         else {
3775             refresh = (bool)SvTRUE(ST(3));
3776         }
3777
3778         THIS->SetScrollPos(orientation, position, refresh);
3779     }
3780     XSRETURN_EMPTY;
3781 }
3782
3783 #if WXPERL_W_VERSION_GE( 2, 5, 3 )
3784 #define XSubPPtmpAABE 1
3785
3786
3787 XS(XS_Wx__Window_SetMinSize); /* prototype to pass -Wmissing-prototypes */
3788 XS(XS_Wx__Window_SetMinSize)
3789 {
3790 #ifdef dVAR
3791     dVAR; dXSARGS;
3792 #else
3793     dXSARGS;
3794 #endif
3795     if (items != 2)
3796        croak_xs_usage(cv,  "THIS, size");
3797     {
3798         wxSize    size = wxPli_sv_2_wxsize( aTHX_ ST(1) );
3799         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
3800
3801         THIS->SetMinSize(size);
3802     }
3803     XSRETURN_EMPTY;
3804 }
3805
3806
3807 XS(XS_Wx__Window_SetMaxSize); /* prototype to pass -Wmissing-prototypes */
3808 XS(XS_Wx__Window_SetMaxSize)
3809 {
3810 #ifdef dVAR
3811     dVAR; dXSARGS;
3812 #else
3813     dXSARGS;
3814 #endif
3815     if (items != 2)
3816        croak_xs_usage(cv,  "THIS, size");
3817     {
3818         wxSize    size = wxPli_sv_2_wxsize( aTHX_ ST(1) );
3819         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
3820
3821         THIS->SetMaxSize(size);
3822     }
3823     XSRETURN_EMPTY;
3824 }
3825
3826 #endif
3827
3828 XS(XS_Wx__Window_SetSize); /* prototype to pass -Wmissing-prototypes */
3829 XS(XS_Wx__Window_SetSize)
3830 {
3831 #ifdef dVAR
3832     dVAR; dXSARGS;
3833 #else
3834     dXSARGS;
3835 #endif
3836     if (items < 1)
3837        croak_xs_usage(cv,  "THIS, ...");
3838     PERL_UNUSED_VAR(ax); /* -Wall */
3839     SP -= items;
3840     {
3841         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
3842     BEGIN_OVERLOAD()
3843         MATCH_REDISP_COUNT_ALLOWMORE( wxPliOvl_n_n_n_n_n, SetSizeXYWHF, 4 )
3844         MATCH_REDISP( wxPliOvl_n_n, SetSizeWH )
3845         MATCH_REDISP( wxPliOvl_wsiz, SetSizeSize )
3846         MATCH_REDISP( wxPliOvl_wrec, SetSizeRect )
3847     END_OVERLOAD( Wx::Window::SetSize )
3848         PUTBACK;
3849         return;
3850     }
3851 }
3852
3853
3854 XS(XS_Wx__Window_SetSizeSize); /* prototype to pass -Wmissing-prototypes */
3855 XS(XS_Wx__Window_SetSizeSize)
3856 {
3857 #ifdef dVAR
3858     dVAR; dXSARGS;
3859 #else
3860     dXSARGS;
3861 #endif
3862     if (items != 2)
3863        croak_xs_usage(cv,  "THIS, size");
3864     {
3865         wxSize    size = wxPli_sv_2_wxsize( aTHX_ ST(1) );
3866         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
3867     THIS->SetSize( size );
3868     }
3869     XSRETURN_EMPTY;
3870 }
3871
3872
3873 XS(XS_Wx__Window_SetSizeRect); /* prototype to pass -Wmissing-prototypes */
3874 XS(XS_Wx__Window_SetSizeRect)
3875 {
3876 #ifdef dVAR
3877     dVAR; dXSARGS;
3878 #else
3879     dXSARGS;
3880 #endif
3881     if (items != 2)
3882        croak_xs_usage(cv,  "THIS, rect");
3883     {
3884         wxRect*    rect = (wxRect *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Rect" );
3885         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
3886     THIS->SetSize( *rect );
3887     }
3888     XSRETURN_EMPTY;
3889 }
3890
3891
3892 XS(XS_Wx__Window_SetSizeWH); /* prototype to pass -Wmissing-prototypes */
3893 XS(XS_Wx__Window_SetSizeWH)
3894 {
3895 #ifdef dVAR
3896     dVAR; dXSARGS;
3897 #else
3898     dXSARGS;
3899 #endif
3900     if (items != 3)
3901        croak_xs_usage(cv,  "THIS, width, height");
3902     {
3903         int     width = (int)SvIV(ST(1));
3904         int     height = (int)SvIV(ST(2));
3905         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
3906     THIS->SetSize( width, height );
3907     }
3908     XSRETURN_EMPTY;
3909 }
3910
3911
3912 XS(XS_Wx__Window_SetSizeXYWHF); /* prototype to pass -Wmissing-prototypes */
3913 XS(XS_Wx__Window_SetSizeXYWHF)
3914 {
3915 #ifdef dVAR
3916     dVAR; dXSARGS;
3917 #else
3918     dXSARGS;
3919 #endif
3920     if (items < 5 || items > 6)
3921        croak_xs_usage(cv,  "THIS, x, y, width, height, flags = wxSIZE_AUTO");
3922     {
3923         int     x = (int)SvIV(ST(1));
3924         int     y = (int)SvIV(ST(2));
3925         int     width = (int)SvIV(ST(3));
3926         int     height = (int)SvIV(ST(4));
3927         int     flags;
3928         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
3929
3930         if (items < 6)
3931             flags = wxSIZE_AUTO;
3932         else {
3933             flags = (int)SvIV(ST(5));
3934         }
3935     THIS->SetSize( x, y, width, height, flags );
3936     }
3937     XSRETURN_EMPTY;
3938 }
3939
3940
3941 XS(XS_Wx__Window_SetSizeHints); /* prototype to pass -Wmissing-prototypes */
3942 XS(XS_Wx__Window_SetSizeHints)
3943 {
3944 #ifdef dVAR
3945     dVAR; dXSARGS;
3946 #else
3947     dXSARGS;
3948 #endif
3949     if (items < 3 || items > 7)
3950        croak_xs_usage(cv,  "THIS, minW, minH, maxW = -1, maxH = -1, incW = -1, incH = -1");
3951     {
3952         int     minW = (int)SvIV(ST(1));
3953         int     minH = (int)SvIV(ST(2));
3954         int     maxW;
3955         int     maxH;
3956         int     incW;
3957         int     incH;
3958         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
3959
3960         if (items < 4)
3961             maxW = -1;
3962         else {
3963             maxW = (int)SvIV(ST(3));
3964         }
3965
3966         if (items < 5)
3967             maxH = -1;
3968         else {
3969             maxH = (int)SvIV(ST(4));
3970         }
3971
3972         if (items < 6)
3973             incW = -1;
3974         else {
3975             incW = (int)SvIV(ST(5));
3976         }
3977
3978         if (items < 7)
3979             incH = -1;
3980         else {
3981             incH = (int)SvIV(ST(6));
3982         }
3983
3984         THIS->SetSizeHints(minW, minH, maxW, maxH, incW, incH);
3985     }
3986     XSRETURN_EMPTY;
3987 }
3988
3989 #if WXPERL_W_VERSION_LT( 2, 9, 0 )
3990 #define XSubPPtmpAABF 1
3991
3992
3993 XS(XS_Wx__Window_SetVirtualSizeHints); /* prototype to pass -Wmissing-prototypes */
3994 XS(XS_Wx__Window_SetVirtualSizeHints)
3995 {
3996 #ifdef dVAR
3997     dVAR; dXSARGS;
3998 #else
3999     dXSARGS;
4000 #endif
4001     if (items < 3 || items > 5)
4002        croak_xs_usage(cv,  "THIS, minW, minH, maxW = -1, maxH = -1");
4003     {
4004         int     minW = (int)SvIV(ST(1));
4005         int     minH = (int)SvIV(ST(2));
4006         int     maxW;
4007         int     maxH;
4008         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
4009
4010         if (items < 4)
4011             maxW = -1;
4012         else {
4013             maxW = (int)SvIV(ST(3));
4014         }
4015
4016         if (items < 5)
4017             maxH = -1;
4018         else {
4019             maxH = (int)SvIV(ST(4));
4020         }
4021
4022         THIS->SetVirtualSizeHints(minW, minH, maxW, maxH);
4023     }
4024     XSRETURN_EMPTY;
4025 }
4026
4027 #endif
4028
4029 XS(XS_Wx__Window_SetVirtualSize); /* prototype to pass -Wmissing-prototypes */
4030 XS(XS_Wx__Window_SetVirtualSize)
4031 {
4032 #ifdef dVAR
4033     dVAR; dXSARGS;
4034 #else
4035     dXSARGS;
4036 #endif
4037     if (items < 1)
4038        croak_xs_usage(cv,  "THIS, ...");
4039     PERL_UNUSED_VAR(ax); /* -Wall */
4040     SP -= items;
4041     {
4042         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
4043     BEGIN_OVERLOAD()
4044         MATCH_REDISP( wxPliOvl_n_n, SetVirtualSizeXY )
4045         MATCH_REDISP( wxPliOvl_wsiz, SetVirtualSizeSize )
4046     END_OVERLOAD( Wx::Window::SetVirtualSize )
4047         PUTBACK;
4048         return;
4049     }
4050 }
4051
4052
4053 XS(XS_Wx__Window_SetVirtualSizeXY); /* prototype to pass -Wmissing-prototypes */
4054 XS(XS_Wx__Window_SetVirtualSizeXY)
4055 {
4056 #ifdef dVAR
4057     dVAR; dXSARGS;
4058 #else
4059     dXSARGS;
4060 #endif
4061     if (items != 3)
4062        croak_xs_usage(cv,  "THIS, width, height");
4063     {
4064         int     width = (int)SvIV(ST(1));
4065         int     height = (int)SvIV(ST(2));
4066         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
4067     THIS->SetVirtualSize( width, height );
4068     }
4069     XSRETURN_EMPTY;
4070 }
4071
4072
4073 XS(XS_Wx__Window_SetVirtualSizeSize); /* prototype to pass -Wmissing-prototypes */
4074 XS(XS_Wx__Window_SetVirtualSizeSize)
4075 {
4076 #ifdef dVAR
4077     dVAR; dXSARGS;
4078 #else
4079     dXSARGS;
4080 #endif
4081     if (items != 2)
4082        croak_xs_usage(cv,  "THIS, size");
4083     {
4084         wxSize    size = wxPli_sv_2_wxsize( aTHX_ ST(1) );
4085         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
4086     THIS->SetVirtualSize( size );
4087     }
4088     XSRETURN_EMPTY;
4089 }
4090
4091
4092 XS(XS_Wx__Window_SetSizer); /* prototype to pass -Wmissing-prototypes */
4093 XS(XS_Wx__Window_SetSizer)
4094 {
4095 #ifdef dVAR
4096     dVAR; dXSARGS;
4097 #else
4098     dXSARGS;
4099 #endif
4100     if (items < 2 || items > 3)
4101        croak_xs_usage(cv,  "THIS, sizer, deleteOld = true");
4102     {
4103         wxSizer*    sizer = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Sizer" );
4104         bool    deleteOld;
4105         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
4106
4107         if (items < 3)
4108             deleteOld = true;
4109         else {
4110             deleteOld = (bool)SvTRUE(ST(2));
4111         }
4112
4113         THIS->SetSizer(sizer, deleteOld);
4114     }
4115     XSRETURN_EMPTY;
4116 }
4117
4118
4119 XS(XS_Wx__Window_SetSizerAndFit); /* prototype to pass -Wmissing-prototypes */
4120 XS(XS_Wx__Window_SetSizerAndFit)
4121 {
4122 #ifdef dVAR
4123     dVAR; dXSARGS;
4124 #else
4125     dXSARGS;
4126 #endif
4127     if (items < 2 || items > 3)
4128        croak_xs_usage(cv,  "THIS, sizer, deleteOld = true");
4129     {
4130         wxSizer*    sizer = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Sizer" );
4131         bool    deleteOld;
4132         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
4133
4134         if (items < 3)
4135             deleteOld = true;
4136         else {
4137             deleteOld = (bool)SvTRUE(ST(2));
4138         }
4139
4140         THIS->SetSizerAndFit(sizer, deleteOld);
4141     }
4142     XSRETURN_EMPTY;
4143 }
4144
4145 #if WXPERL_W_VERSION_GE( 2, 7, 0 )
4146 #define XSubPPtmpAABG 1
4147
4148
4149 XS(XS_Wx__Window_SetTitle); /* prototype to pass -Wmissing-prototypes */
4150 XS(XS_Wx__Window_SetTitle)
4151 {
4152 #ifdef dVAR
4153     dVAR; dXSARGS;
4154 #else
4155     dXSARGS;
4156 #endif
4157     if (items != 2)
4158        croak_xs_usage(cv,  "THIS, title");
4159     {
4160         wxString        title;
4161         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
4162
4163     WXSTRING_INPUT( title, wxString, ST(1) );
4164     THIS->SetLabel( title );
4165     }
4166     XSRETURN_EMPTY;
4167 }
4168
4169 #else
4170 #define XSubPPtmpAABH 1
4171
4172
4173 XS(XS_Wx__Window_SetTitle); /* prototype to pass -Wmissing-prototypes */
4174 XS(XS_Wx__Window_SetTitle)
4175 {
4176 #ifdef dVAR
4177     dVAR; dXSARGS;
4178 #else
4179     dXSARGS;
4180 #endif
4181     if (items != 2)
4182        croak_xs_usage(cv,  "THIS, title");
4183     {
4184         wxString        title;
4185         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
4186
4187     WXSTRING_INPUT( title, wxString, ST(1) );
4188
4189         THIS->SetTitle(title);
4190     }
4191     XSRETURN_EMPTY;
4192 }
4193
4194 #endif
4195 #if wxPERL_USE_TOOLTIPS
4196 #define XSubPPtmpAABI 1
4197
4198
4199 XS(XS_Wx__Window_SetToolTip); /* prototype to pass -Wmissing-prototypes */
4200 XS(XS_Wx__Window_SetToolTip)
4201 {
4202 #ifdef dVAR
4203     dVAR; dXSARGS;
4204 #else
4205     dXSARGS;
4206 #endif
4207     if (items < 1)
4208        croak_xs_usage(cv,  "THIS, ...");
4209     PERL_UNUSED_VAR(ax); /* -Wall */
4210     SP -= items;
4211     {
4212         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
4213     BEGIN_OVERLOAD()
4214         MATCH_REDISP( wxPliOvl_wtip, SetToolTipTip )
4215         MATCH_REDISP( wxPliOvl_s, SetToolTipString )
4216     END_OVERLOAD( Wx::Window::SetToolTip )
4217         PUTBACK;
4218         return;
4219     }
4220 }
4221
4222
4223 XS(XS_Wx__Window_SetToolTipTip); /* prototype to pass -Wmissing-prototypes */
4224 XS(XS_Wx__Window_SetToolTipTip)
4225 {
4226 #ifdef dVAR
4227     dVAR; dXSARGS;
4228 #else
4229     dXSARGS;
4230 #endif
4231     if (items != 2)
4232        croak_xs_usage(cv,  "THIS, tooltip");
4233     {
4234         wxToolTip*    tooltip = (wxToolTip *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::ToolTip" );
4235         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
4236     THIS->SetToolTip( tooltip );
4237     }
4238     XSRETURN_EMPTY;
4239 }
4240
4241 #endif
4242 #if wxPERL_USE_TOOLTIPS || WXPERL_W_VERSION_GE( 2, 5, 3 )
4243 #define XSubPPtmpAABJ 1
4244
4245
4246 XS(XS_Wx__Window_SetToolTipString); /* prototype to pass -Wmissing-prototypes */
4247 XS(XS_Wx__Window_SetToolTipString)
4248 {
4249 #ifdef dVAR
4250     dVAR; dXSARGS;
4251 #else
4252     dXSARGS;
4253 #endif
4254     if (items != 2)
4255        croak_xs_usage(cv,  "THIS, string");
4256     {
4257         wxString        string;
4258         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
4259
4260     WXSTRING_INPUT( string, wxString, ST(1) );
4261     THIS->SetToolTip( string );
4262     }
4263     XSRETURN_EMPTY;
4264 }
4265
4266 #endif
4267
4268 XS(XS_Wx__Window_SetValidator); /* prototype to pass -Wmissing-prototypes */
4269 XS(XS_Wx__Window_SetValidator)
4270 {
4271 #ifdef dVAR
4272     dVAR; dXSARGS;
4273 #else
4274     dXSARGS;
4275 #endif
4276     if (items != 2)
4277        croak_xs_usage(cv,  "THIS, validator");
4278     {
4279         wxValidator*    validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Validator" );
4280         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
4281     THIS->SetValidator( *validator );
4282     }
4283     XSRETURN_EMPTY;
4284 }
4285
4286
4287 XS(XS_Wx__Window_SetWindowStyle); /* prototype to pass -Wmissing-prototypes */
4288 XS(XS_Wx__Window_SetWindowStyle)
4289 {
4290 #ifdef dVAR
4291     dVAR; dXSARGS;
4292 #else
4293     dXSARGS;
4294 #endif
4295     if (items != 2)
4296        croak_xs_usage(cv,  "THIS, style");
4297     {
4298         long    style = (long)SvIV(ST(1));
4299         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
4300
4301         THIS->SetWindowStyle(style);
4302     }
4303     XSRETURN_EMPTY;
4304 }
4305
4306
4307 XS(XS_Wx__Window_SetWindowStyleFlag); /* prototype to pass -Wmissing-prototypes */
4308 XS(XS_Wx__Window_SetWindowStyleFlag)
4309 {
4310 #ifdef dVAR
4311     dVAR; dXSARGS;
4312 #else
4313     dXSARGS;
4314 #endif
4315     if (items != 2)
4316        croak_xs_usage(cv,  "THIS, style");
4317     {
4318         long    style = (long)SvIV(ST(1));
4319         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
4320
4321         THIS->SetWindowStyleFlag(style);
4322     }
4323     XSRETURN_EMPTY;
4324 }
4325
4326 #if WXPERL_W_VERSION_GE( 2, 5, 3 )
4327 #define XSubPPtmpAABK 1
4328
4329
4330 XS(XS_Wx__Window_ShouldInheritColours); /* prototype to pass -Wmissing-prototypes */
4331 XS(XS_Wx__Window_ShouldInheritColours)
4332 {
4333 #ifdef dVAR
4334     dVAR; dXSARGS;
4335 #else
4336     dXSARGS;
4337 #endif
4338     if (items != 1)
4339        croak_xs_usage(cv,  "THIS");
4340     {
4341         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
4342         bool    RETVAL;
4343
4344         RETVAL = THIS->ShouldInheritColours();
4345         ST(0) = boolSV(RETVAL);
4346         sv_2mortal(ST(0));
4347     }
4348     XSRETURN(1);
4349 }
4350
4351 #endif
4352
4353 XS(XS_Wx__Window_Show); /* prototype to pass -Wmissing-prototypes */
4354 XS(XS_Wx__Window_Show)
4355 {
4356 #ifdef dVAR
4357     dVAR; dXSARGS;
4358 #else
4359     dXSARGS;
4360 #endif
4361     if (items < 1 || items > 2)
4362        croak_xs_usage(cv,  "THIS, show = true");
4363     {
4364         bool    show;
4365         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
4366         bool    RETVAL;
4367
4368         if (items < 2)
4369             show = true;
4370         else {
4371             show = (bool)SvTRUE(ST(1));
4372         }
4373
4374         RETVAL = THIS->Show(show);
4375         ST(0) = boolSV(RETVAL);
4376         sv_2mortal(ST(0));
4377     }
4378     XSRETURN(1);
4379 }
4380
4381 #if WXPERL_W_VERSION_GE( 2, 7, 0 )
4382 #define XSubPPtmpAABL 1
4383
4384
4385 XS(XS_Wx__Window_HasMultiplePages); /* prototype to pass -Wmissing-prototypes */
4386 XS(XS_Wx__Window_HasMultiplePages)
4387 {
4388 #ifdef dVAR
4389     dVAR; dXSARGS;
4390 #else
4391     dXSARGS;
4392 #endif
4393     if (items != 1)
4394        croak_xs_usage(cv,  "THIS");
4395     {
4396         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
4397         bool    RETVAL;
4398
4399         RETVAL = THIS->HasMultiplePages();
4400         ST(0) = boolSV(RETVAL);
4401         sv_2mortal(ST(0));
4402     }
4403     XSRETURN(1);
4404 }
4405
4406 #endif
4407
4408 XS(XS_Wx__Window_Hide); /* prototype to pass -Wmissing-prototypes */
4409 XS(XS_Wx__Window_Hide)
4410 {
4411 #ifdef dVAR
4412     dVAR; dXSARGS;
4413 #else
4414     dXSARGS;
4415 #endif
4416     if (items != 1)
4417        croak_xs_usage(cv,  "THIS");
4418     {
4419         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
4420         bool    RETVAL;
4421
4422         RETVAL = THIS->Hide();
4423         ST(0) = boolSV(RETVAL);
4424         sv_2mortal(ST(0));
4425     }
4426     XSRETURN(1);
4427 }
4428
4429
4430 XS(XS_Wx__Window_Thaw); /* prototype to pass -Wmissing-prototypes */
4431 XS(XS_Wx__Window_Thaw)
4432 {
4433 #ifdef dVAR
4434     dVAR; dXSARGS;
4435 #else
4436     dXSARGS;
4437 #endif
4438     if (items != 1)
4439        croak_xs_usage(cv,  "THIS");
4440     {
4441         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
4442
4443         THIS->Thaw();
4444     }
4445     XSRETURN_EMPTY;
4446 }
4447
4448
4449 XS(XS_Wx__Window_TransferDataFromWindow); /* prototype to pass -Wmissing-prototypes */
4450 XS(XS_Wx__Window_TransferDataFromWindow)
4451 {
4452 #ifdef dVAR
4453     dVAR; dXSARGS;
4454 #else
4455     dXSARGS;
4456 #endif
4457     if (items != 1)
4458        croak_xs_usage(cv,  "THIS");
4459     {
4460         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
4461         bool    RETVAL;
4462     RETVAL = THIS->wxWindow::TransferDataFromWindow();
4463         ST(0) = boolSV(RETVAL);
4464         sv_2mortal(ST(0));
4465     }
4466     XSRETURN(1);
4467 }
4468
4469
4470 XS(XS_Wx__Window_TransferDataToWindow); /* prototype to pass -Wmissing-prototypes */
4471 XS(XS_Wx__Window_TransferDataToWindow)
4472 {
4473 #ifdef dVAR
4474     dVAR; dXSARGS;
4475 #else
4476     dXSARGS;
4477 #endif
4478     if (items != 1)
4479        croak_xs_usage(cv,  "THIS");
4480     {
4481         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
4482         bool    RETVAL;
4483     RETVAL = THIS->wxWindow::TransferDataToWindow();
4484         ST(0) = boolSV(RETVAL);
4485         sv_2mortal(ST(0));
4486     }
4487     XSRETURN(1);
4488 }
4489
4490
4491 XS(XS_Wx__Window_Validate); /* prototype to pass -Wmissing-prototypes */
4492 XS(XS_Wx__Window_Validate)
4493 {
4494 #ifdef dVAR
4495     dVAR; dXSARGS;
4496 #else
4497     dXSARGS;
4498 #endif
4499     if (items != 1)
4500        croak_xs_usage(cv,  "THIS");
4501     {
4502         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
4503         bool    RETVAL;
4504     RETVAL = THIS->wxWindow::Validate();
4505         ST(0) = boolSV(RETVAL);
4506         sv_2mortal(ST(0));
4507     }
4508     XSRETURN(1);
4509 }
4510
4511
4512 XS(XS_Wx__Window_Update); /* prototype to pass -Wmissing-prototypes */
4513 XS(XS_Wx__Window_Update)
4514 {
4515 #ifdef dVAR
4516     dVAR; dXSARGS;
4517 #else
4518     dXSARGS;
4519 #endif
4520     if (items != 1)
4521        croak_xs_usage(cv,  "THIS");
4522     {
4523         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
4524
4525         THIS->Update();
4526     }
4527     XSRETURN_EMPTY;
4528 }
4529
4530 #if WXPERL_W_VERSION_GE( 2, 6, 0 )
4531 #define XSubPPtmpAABM 1
4532
4533
4534 XS(XS_Wx__Window_UpdateWindowUI); /* prototype to pass -Wmissing-prototypes */
4535 XS(XS_Wx__Window_UpdateWindowUI)
4536 {
4537 #ifdef dVAR
4538     dVAR; dXSARGS;
4539 #else
4540     dXSARGS;
4541 #endif
4542     if (items < 1 || items > 2)
4543        croak_xs_usage(cv,  "THIS, flags = wxUPDATE_UI_NONE");
4544     {
4545         long    flags;
4546         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
4547
4548         if (items < 2)
4549             flags = wxUPDATE_UI_NONE;
4550         else {
4551             flags = (long)SvIV(ST(1));
4552         }
4553
4554         THIS->UpdateWindowUI(flags);
4555     }
4556     XSRETURN_EMPTY;
4557 }
4558
4559 #endif
4560
4561 XS(XS_Wx__Window_RefreshRect); /* prototype to pass -Wmissing-prototypes */
4562 XS(XS_Wx__Window_RefreshRect)
4563 {
4564 #ifdef dVAR
4565     dVAR; dXSARGS;
4566 #else
4567     dXSARGS;
4568 #endif
4569     if (items != 2)
4570        croak_xs_usage(cv,  "THIS, rect");
4571     {
4572         wxRect*    rect = (wxRect *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Rect" );
4573         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
4574     THIS->RefreshRect( *rect );
4575     }
4576     XSRETURN_EMPTY;
4577 }
4578
4579
4580 XS(XS_Wx__Window_WarpPointer); /* prototype to pass -Wmissing-prototypes */
4581 XS(XS_Wx__Window_WarpPointer)
4582 {
4583 #ifdef dVAR
4584     dVAR; dXSARGS;
4585 #else
4586     dXSARGS;
4587 #endif
4588     if (items != 3)
4589        croak_xs_usage(cv,  "THIS, x, y");
4590     {
4591         int     x = (int)SvIV(ST(1));
4592         int     y = (int)SvIV(ST(2));
4593         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
4594
4595         THIS->WarpPointer(x, y);
4596     }
4597     XSRETURN_EMPTY;
4598 }
4599
4600 #if WXPERL_W_VERSION_GE( 2, 7, 1 )
4601 #define XSubPPtmpAABN 1
4602
4603
4604 XS(XS_Wx__Window_GetLayoutDirection); /* prototype to pass -Wmissing-prototypes */
4605 XS(XS_Wx__Window_GetLayoutDirection)
4606 {
4607 #ifdef dVAR
4608     dVAR; dXSARGS;
4609 #else
4610     dXSARGS;
4611 #endif
4612     if (items != 1)
4613        croak_xs_usage(cv,  "THIS");
4614     {
4615         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
4616         wxLayoutDirection       RETVAL;
4617         dXSTARG;
4618
4619         RETVAL = THIS->GetLayoutDirection();
4620         XSprePUSH; PUSHi((IV)RETVAL);
4621     }
4622     XSRETURN(1);
4623 }
4624
4625
4626 XS(XS_Wx__Window_SetLayoutDirection); /* prototype to pass -Wmissing-prototypes */
4627 XS(XS_Wx__Window_SetLayoutDirection)
4628 {
4629 #ifdef dVAR
4630     dVAR; dXSARGS;
4631 #else
4632     dXSARGS;
4633 #endif
4634     if (items != 2)
4635        croak_xs_usage(cv,  "THIS, direction");
4636     {
4637         wxLayoutDirection       direction = (wxLayoutDirection)SvIV(ST(1));
4638         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
4639
4640         THIS->SetLayoutDirection(direction);
4641     }
4642     XSRETURN_EMPTY;
4643 }
4644
4645
4646 XS(XS_Wx__Window_SetTransparent); /* prototype to pass -Wmissing-prototypes */
4647 XS(XS_Wx__Window_SetTransparent)
4648 {
4649 #ifdef dVAR
4650     dVAR; dXSARGS;
4651 #else
4652     dXSARGS;
4653 #endif
4654     if (items != 2)
4655        croak_xs_usage(cv,  "THIS, alpha");
4656     {
4657         wxByte  alpha = (unsigned char)SvUV(ST(1));
4658         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
4659         bool    RETVAL;
4660
4661         RETVAL = THIS->SetTransparent(alpha);
4662         ST(0) = boolSV(RETVAL);
4663         sv_2mortal(ST(0));
4664     }
4665     XSRETURN(1);
4666 }
4667
4668
4669 XS(XS_Wx__Window_CanSetTransparent); /* prototype to pass -Wmissing-prototypes */
4670 XS(XS_Wx__Window_CanSetTransparent)
4671 {
4672 #ifdef dVAR
4673     dVAR; dXSARGS;
4674 #else
4675     dXSARGS;
4676 #endif
4677     if (items != 1)
4678        croak_xs_usage(cv,  "THIS");
4679     {
4680         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
4681         bool    RETVAL;
4682
4683         RETVAL = THIS->CanSetTransparent();
4684         ST(0) = boolSV(RETVAL);
4685         sv_2mortal(ST(0));
4686     }
4687     XSRETURN(1);
4688 }
4689
4690 #endif
4691
4692 /* INCLUDE:  Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/Window.xsp |' from 'Window.xs' */
4693
4694 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
4695 #define XSubPPtmpAABO 1
4696
4697
4698 XS(XS_Wx__Window_AlwaysShowScrollbars); /* prototype to pass -Wmissing-prototypes */
4699 XS(XS_Wx__Window_AlwaysShowScrollbars)
4700 {
4701 #ifdef dVAR
4702     dVAR; dXSARGS;
4703 #else
4704     dXSARGS;
4705 #endif
4706     if (items < 1 || items > 3)
4707        croak_xs_usage(cv,  "THIS, horz = true, vert = true");
4708     {
4709         bool    horz;
4710         bool    vert;
4711         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
4712
4713         if (items < 2)
4714             horz = true;
4715         else {
4716             horz = (bool)SvTRUE(ST(1));
4717         }
4718
4719         if (items < 3)
4720             vert = true;
4721         else {
4722             vert = (bool)SvTRUE(ST(2));
4723         }
4724
4725         THIS->AlwaysShowScrollbars(horz, vert);
4726     }
4727     XSRETURN_EMPTY;
4728 }
4729
4730 #endif
4731
4732 XS(XS_Wx__Window_AcceptsFocus); /* prototype to pass -Wmissing-prototypes */
4733 XS(XS_Wx__Window_AcceptsFocus)
4734 {
4735 #ifdef dVAR
4736     dVAR; dXSARGS;
4737 #else
4738     dXSARGS;
4739 #endif
4740     if (items != 1)
4741        croak_xs_usage(cv,  "THIS");
4742     {
4743         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
4744         bool    RETVAL;
4745
4746         RETVAL = THIS->AcceptsFocus();
4747         ST(0) = boolSV(RETVAL);
4748         sv_2mortal(ST(0));
4749     }
4750     XSRETURN(1);
4751 }
4752
4753
4754 XS(XS_Wx__Window_AcceptsFocusFromKeyboard); /* prototype to pass -Wmissing-prototypes */
4755 XS(XS_Wx__Window_AcceptsFocusFromKeyboard)
4756 {
4757 #ifdef dVAR
4758     dVAR; dXSARGS;
4759 #else
4760     dXSARGS;
4761 #endif
4762     if (items != 1)
4763        croak_xs_usage(cv,  "THIS");
4764     {
4765         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
4766         bool    RETVAL;
4767
4768         RETVAL = THIS->AcceptsFocusFromKeyboard();
4769         ST(0) = boolSV(RETVAL);
4770         sv_2mortal(ST(0));
4771     }
4772     XSRETURN(1);
4773 }
4774
4775
4776 XS(XS_Wx__Window_DestroyChildren); /* prototype to pass -Wmissing-prototypes */
4777 XS(XS_Wx__Window_DestroyChildren)
4778 {
4779 #ifdef dVAR
4780     dVAR; dXSARGS;
4781 #else
4782     dXSARGS;
4783 #endif
4784     if (items != 1)
4785        croak_xs_usage(cv,  "THIS");
4786     {
4787         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
4788         bool    RETVAL;
4789
4790         RETVAL = THIS->DestroyChildren();
4791         ST(0) = boolSV(RETVAL);
4792         sv_2mortal(ST(0));
4793     }
4794     XSRETURN(1);
4795 }
4796
4797
4798 XS(XS_Wx__Window_IsBeingDeleted); /* prototype to pass -Wmissing-prototypes */
4799 XS(XS_Wx__Window_IsBeingDeleted)
4800 {
4801 #ifdef dVAR
4802     dVAR; dXSARGS;
4803 #else
4804     dXSARGS;
4805 #endif
4806     if (items != 1)
4807        croak_xs_usage(cv,  "THIS");
4808     {
4809         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
4810         bool    RETVAL;
4811
4812         RETVAL = THIS->IsBeingDeleted();
4813         ST(0) = boolSV(RETVAL);
4814         sv_2mortal(ST(0));
4815     }
4816     XSRETURN(1);
4817 }
4818
4819 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
4820 #define XSubPPtmpAABP 1
4821
4822
4823 XS(XS_Wx__Window_GetPopupMenuSelectionFromUser); /* prototype to pass -Wmissing-prototypes */
4824 XS(XS_Wx__Window_GetPopupMenuSelectionFromUser)
4825 {
4826 #ifdef dVAR
4827     dVAR; dXSARGS;
4828 #else
4829     dXSARGS;
4830 #endif
4831     if (items < 1)
4832        croak_xs_usage(cv,  "THIS, ...");
4833     PERL_UNUSED_VAR(ax); /* -Wall */
4834     SP -= items;
4835     {
4836         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
4837     BEGIN_OVERLOAD()
4838         MATCH_REDISP( wxPliOvl_wmen_wpoi, GetPopupMenuSelectionFromUserPoint )
4839         MATCH_REDISP( wxPliOvl_wmen_n_n, GetPopupMenuSelectionFromUserXY )
4840     END_OVERLOAD( Wx::Window::GetPopupMenuSelectionFromUser )
4841         PUTBACK;
4842         return;
4843     }
4844 }
4845
4846
4847 XS(XS_Wx__Window_GetPopupMenuSelectionFromUserPoint); /* prototype to pass -Wmissing-prototypes */
4848 XS(XS_Wx__Window_GetPopupMenuSelectionFromUserPoint)
4849 {
4850 #ifdef dVAR
4851     dVAR; dXSARGS;
4852 #else
4853     dXSARGS;
4854 #endif
4855     if (items != 3)
4856        croak_xs_usage(cv,  "THIS, menu, point");
4857     {
4858         wxMenu*    menu = (wxMenu *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Menu" );
4859         wxPoint    point = wxPli_sv_2_wxpoint( aTHX_ ST(2) );
4860         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
4861         int     RETVAL;
4862         dXSTARG;
4863     RETVAL = THIS->GetPopupMenuSelectionFromUser( *( menu ), point );
4864         XSprePUSH; PUSHi((IV)RETVAL);
4865     }
4866     XSRETURN(1);
4867 }
4868
4869
4870 XS(XS_Wx__Window_GetPopupMenuSelectionFromUserXY); /* prototype to pass -Wmissing-prototypes */
4871 XS(XS_Wx__Window_GetPopupMenuSelectionFromUserXY)
4872 {
4873 #ifdef dVAR
4874     dVAR; dXSARGS;
4875 #else
4876     dXSARGS;
4877 #endif
4878     if (items != 4)
4879        croak_xs_usage(cv,  "THIS, menu, x, y");
4880     {
4881         wxMenu*    menu = (wxMenu *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Menu" );
4882         int     x = (int)SvIV(ST(2));
4883         int     y = (int)SvIV(ST(3));
4884         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
4885         int     RETVAL;
4886         dXSTARG;
4887     RETVAL = THIS->GetPopupMenuSelectionFromUser( *( menu ), x, y );
4888         XSprePUSH; PUSHi((IV)RETVAL);
4889     }
4890     XSRETURN(1);
4891 }
4892
4893 #endif
4894 #if WXPERL_W_VERSION_LT( 2, 7, 0 )
4895 #define XSubPPtmpAABQ 1
4896
4897
4898 XS(XS_Wx__Window_GetAdjustedBestSize); /* prototype to pass -Wmissing-prototypes */
4899 XS(XS_Wx__Window_GetAdjustedBestSize)
4900 {
4901 #ifdef dVAR
4902     dVAR; dXSARGS;
4903 #else
4904     dXSARGS;
4905 #endif
4906     if (items != 1)
4907        croak_xs_usage(cv,  "THIS");
4908     {
4909         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
4910         wxSize  RETVAL;
4911
4912         RETVAL = THIS->GetAdjustedBestSize();
4913         ST(0) = sv_newmortal();
4914     wxPli_non_object_2_sv( aTHX_ ST(0), new wxSize(RETVAL), "Wx::Size" );
4915
4916     }
4917     XSRETURN(1);
4918 }
4919
4920 #endif
4921 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
4922 #define XSubPPtmpAABR 1
4923
4924
4925 XS(XS_Wx__Window_GetEffectiveMinSize); /* prototype to pass -Wmissing-prototypes */
4926 XS(XS_Wx__Window_GetEffectiveMinSize)
4927 {
4928 #ifdef dVAR
4929     dVAR; dXSARGS;
4930 #else
4931     dXSARGS;
4932 #endif
4933     if (items != 1)
4934        croak_xs_usage(cv,  "THIS");
4935     {
4936         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
4937         wxSize  RETVAL;
4938
4939         RETVAL = THIS->GetEffectiveMinSize();
4940         ST(0) = sv_newmortal();
4941     wxPli_non_object_2_sv( aTHX_ ST(0), new wxSize(RETVAL), "Wx::Size" );
4942
4943     }
4944     XSRETURN(1);
4945 }
4946
4947 #endif
4948
4949 XS(XS_Wx__Window_GetCursor); /* prototype to pass -Wmissing-prototypes */
4950 XS(XS_Wx__Window_GetCursor)
4951 {
4952 #ifdef dVAR
4953     dVAR; dXSARGS;
4954 #else
4955     dXSARGS;
4956 #endif
4957     if (items != 1)
4958        croak_xs_usage(cv,  "THIS");
4959     {
4960         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
4961         wxCursor *      RETVAL;
4962     RETVAL = new wxCursor( THIS->GetCursor() );
4963         ST(0) = sv_newmortal();
4964     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
4965     wxPli_thread_sv_register( aTHX_ "Wx::Cursor", RETVAL, ST(0) );
4966
4967     }
4968     XSRETURN(1);
4969 }
4970
4971 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
4972 #define XSubPPtmpAABS 1
4973
4974
4975 XS(XS_Wx__Window_GetPrevSibling); /* prototype to pass -Wmissing-prototypes */
4976 XS(XS_Wx__Window_GetPrevSibling)
4977 {
4978 #ifdef dVAR
4979     dVAR; dXSARGS;
4980 #else
4981     dXSARGS;
4982 #endif
4983     if (items != 1)
4984        croak_xs_usage(cv,  "THIS");
4985     {
4986         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
4987         wxWindow *      RETVAL;
4988
4989         RETVAL = THIS->GetPrevSibling();
4990         ST(0) = sv_newmortal();
4991     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
4992
4993     }
4994     XSRETURN(1);
4995 }
4996
4997
4998 XS(XS_Wx__Window_GetNextSibling); /* prototype to pass -Wmissing-prototypes */
4999 XS(XS_Wx__Window_GetNextSibling)
5000 {
5001 #ifdef dVAR
5002     dVAR; dXSARGS;
5003 #else
5004     dXSARGS;
5005 #endif
5006     if (items != 1)
5007        croak_xs_usage(cv,  "THIS");
5008     {
5009         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
5010         wxWindow *      RETVAL;
5011
5012         RETVAL = THIS->GetNextSibling();
5013         ST(0) = sv_newmortal();
5014     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
5015
5016     }
5017     XSRETURN(1);
5018 }
5019
5020 #endif
5021
5022 XS(XS_Wx__Window_GetVirtualSize); /* prototype to pass -Wmissing-prototypes */
5023 XS(XS_Wx__Window_GetVirtualSize)
5024 {
5025 #ifdef dVAR
5026     dVAR; dXSARGS;
5027 #else
5028     dXSARGS;
5029 #endif
5030     if (items != 1)
5031        croak_xs_usage(cv,  "THIS");
5032     {
5033         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
5034         wxSize  RETVAL;
5035
5036         RETVAL = THIS->GetVirtualSize();
5037         ST(0) = sv_newmortal();
5038     wxPli_non_object_2_sv( aTHX_ ST(0), new wxSize(RETVAL), "Wx::Size" );
5039
5040     }
5041     XSRETURN(1);
5042 }
5043
5044
5045 XS(XS_Wx__Window_GetVirtualSizeWH); /* prototype to pass -Wmissing-prototypes */
5046 XS(XS_Wx__Window_GetVirtualSizeWH)
5047 {
5048 #ifdef dVAR
5049     dVAR; dXSARGS;
5050 #else
5051     dXSARGS;
5052 #endif
5053     if (items != 1)
5054        croak_xs_usage(cv,  "THIS");
5055     PERL_UNUSED_VAR(ax); /* -Wall */
5056     SP -= items;
5057     {
5058         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
5059     int x, y;
5060     THIS->GetVirtualSize( &x, &y );
5061     wxPli_push_2ints( x, y );
5062         PUTBACK;
5063         return;
5064     }
5065 }
5066
5067 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
5068 #define XSubPPtmpAABT 1
5069
5070
5071 XS(XS_Wx__Window_GetScreenPosition); /* prototype to pass -Wmissing-prototypes */
5072 XS(XS_Wx__Window_GetScreenPosition)
5073 {
5074 #ifdef dVAR
5075     dVAR; dXSARGS;
5076 #else
5077     dXSARGS;
5078 #endif
5079     if (items != 1)
5080        croak_xs_usage(cv,  "THIS");
5081     {
5082         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
5083         wxPoint *       RETVAL;
5084      RETVAL = new wxPoint( THIS->GetScreenPosition() ); 
5085         ST(0) = sv_newmortal();
5086     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Point" );
5087     wxPli_thread_sv_register( aTHX_ "Wx::Point", RETVAL, ST(0) );
5088
5089     }
5090     XSRETURN(1);
5091 }
5092
5093
5094 XS(XS_Wx__Window_GetScreenPositionXY); /* prototype to pass -Wmissing-prototypes */
5095 XS(XS_Wx__Window_GetScreenPositionXY)
5096 {
5097 #ifdef dVAR
5098     dVAR; dXSARGS;
5099 #else
5100     dXSARGS;
5101 #endif
5102     if (items != 1)
5103        croak_xs_usage(cv,  "THIS");
5104     PERL_UNUSED_VAR(ax); /* -Wall */
5105     SP -= items;
5106     {
5107         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
5108     int x, y;
5109     THIS->GetPosition( &x, &y );
5110     EXTEND( SP, 2 );
5111     PUSHs( sv_2mortal( newSViv( (IV) x ) ) );
5112     PUSHs( sv_2mortal( newSViv( (IV) y ) ) );
5113         PUTBACK;
5114         return;
5115     }
5116 }
5117
5118
5119 XS(XS_Wx__Window_GetScreenRect); /* prototype to pass -Wmissing-prototypes */
5120 XS(XS_Wx__Window_GetScreenRect)
5121 {
5122 #ifdef dVAR
5123     dVAR; dXSARGS;
5124 #else
5125     dXSARGS;
5126 #endif
5127     if (items != 1)
5128        croak_xs_usage(cv,  "THIS");
5129     {
5130         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
5131         wxRect *        RETVAL;
5132     RETVAL = new wxRect( THIS->GetScreenRect() );
5133         ST(0) = sv_newmortal();
5134     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Rect" );
5135     wxPli_thread_sv_register( aTHX_ "Wx::Rect", RETVAL, ST(0) );
5136
5137     }
5138     XSRETURN(1);
5139 }
5140
5141 #endif
5142
5143 XS(XS_Wx__Window_HasFlag); /* prototype to pass -Wmissing-prototypes */
5144 XS(XS_Wx__Window_HasFlag)
5145 {
5146 #ifdef dVAR
5147     dVAR; dXSARGS;
5148 #else
5149     dXSARGS;
5150 #endif
5151     if (items != 2)
5152        croak_xs_usage(cv,  "THIS, flag");
5153     {
5154         int     flag = (int)SvIV(ST(1));
5155         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
5156         bool    RETVAL;
5157
5158         RETVAL = THIS->HasFlag(flag);
5159         ST(0) = boolSV(RETVAL);
5160         sv_2mortal(ST(0));
5161     }
5162     XSRETURN(1);
5163 }
5164
5165 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
5166 #define XSubPPtmpAABU 1
5167
5168
5169 XS(XS_Wx__Window_HasExtraStyle); /* prototype to pass -Wmissing-prototypes */
5170 XS(XS_Wx__Window_HasExtraStyle)
5171 {
5172 #ifdef dVAR
5173     dVAR; dXSARGS;
5174 #else
5175     dXSARGS;
5176 #endif
5177     if (items != 2)
5178        croak_xs_usage(cv,  "THIS, exFlag");
5179     {
5180         int     exFlag = (int)SvIV(ST(1));
5181         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
5182         bool    RETVAL;
5183
5184         RETVAL = THIS->HasExtraStyle(exFlag);
5185         ST(0) = boolSV(RETVAL);
5186         sv_2mortal(ST(0));
5187     }
5188     XSRETURN(1);
5189 }
5190
5191 #endif
5192
5193 XS(XS_Wx__Window_HasCapture); /* prototype to pass -Wmissing-prototypes */
5194 XS(XS_Wx__Window_HasCapture)
5195 {
5196 #ifdef dVAR
5197     dVAR; dXSARGS;
5198 #else
5199     dXSARGS;
5200 #endif
5201     if (items != 1)
5202        croak_xs_usage(cv,  "THIS");
5203     {
5204         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
5205         bool    RETVAL;
5206
5207         RETVAL = THIS->HasCapture();
5208         ST(0) = boolSV(RETVAL);
5209         sv_2mortal(ST(0));
5210     }
5211     XSRETURN(1);
5212 }
5213
5214 #if WXPERL_W_VERSION_GE( 2, 6, 0 )
5215 #define XSubPPtmpAABV 1
5216
5217
5218 XS(XS_Wx__Window_HasTransparentBackground); /* prototype to pass -Wmissing-prototypes */
5219 XS(XS_Wx__Window_HasTransparentBackground)
5220 {
5221 #ifdef dVAR
5222     dVAR; dXSARGS;
5223 #else
5224     dXSARGS;
5225 #endif
5226     if (items != 1)
5227        croak_xs_usage(cv,  "THIS");
5228     {
5229         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
5230         bool    RETVAL;
5231
5232         RETVAL = THIS->HasTransparentBackground();
5233         ST(0) = boolSV(RETVAL);
5234         sv_2mortal(ST(0));
5235     }
5236     XSRETURN(1);
5237 }
5238
5239 #endif
5240
5241 XS(XS_Wx__Window_HasScrollbar); /* prototype to pass -Wmissing-prototypes */
5242 XS(XS_Wx__Window_HasScrollbar)
5243 {
5244 #ifdef dVAR
5245     dVAR; dXSARGS;
5246 #else
5247     dXSARGS;
5248 #endif
5249     if (items != 2)
5250        croak_xs_usage(cv,  "THIS, orient");
5251     {
5252         int     orient = (int)SvIV(ST(1));
5253         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
5254         bool    RETVAL;
5255
5256         RETVAL = THIS->HasScrollbar(orient);
5257         ST(0) = boolSV(RETVAL);
5258         sv_2mortal(ST(0));
5259     }
5260     XSRETURN(1);
5261 }
5262
5263 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
5264 #define XSubPPtmpAABW 1
5265
5266
5267 XS(XS_Wx__Window_IsScrollbarAlwaysShown); /* prototype to pass -Wmissing-prototypes */
5268 XS(XS_Wx__Window_IsScrollbarAlwaysShown)
5269 {
5270 #ifdef dVAR
5271     dVAR; dXSARGS;
5272 #else
5273     dXSARGS;
5274 #endif
5275     if (items != 2)
5276        croak_xs_usage(cv,  "THIS, orient");
5277     {
5278         int     orient = (int)SvIV(ST(1));
5279         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
5280         bool    RETVAL;
5281
5282         RETVAL = THIS->IsScrollbarAlwaysShown(orient);
5283         ST(0) = boolSV(RETVAL);
5284         sv_2mortal(ST(0));
5285     }
5286     XSRETURN(1);
5287 }
5288
5289 #endif
5290
5291 XS(XS_Wx__Window_LineUp); /* prototype to pass -Wmissing-prototypes */
5292 XS(XS_Wx__Window_LineUp)
5293 {
5294 #ifdef dVAR
5295     dVAR; dXSARGS;
5296 #else
5297     dXSARGS;
5298 #endif
5299     if (items != 1)
5300        croak_xs_usage(cv,  "THIS");
5301     {
5302         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
5303         bool    RETVAL;
5304
5305         RETVAL = THIS->LineUp();
5306         ST(0) = boolSV(RETVAL);
5307         sv_2mortal(ST(0));
5308     }
5309     XSRETURN(1);
5310 }
5311
5312
5313 XS(XS_Wx__Window_LineDown); /* prototype to pass -Wmissing-prototypes */
5314 XS(XS_Wx__Window_LineDown)
5315 {
5316 #ifdef dVAR
5317     dVAR; dXSARGS;
5318 #else
5319     dXSARGS;
5320 #endif
5321     if (items != 1)
5322        croak_xs_usage(cv,  "THIS");
5323     {
5324         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
5325         bool    RETVAL;
5326
5327         RETVAL = THIS->LineDown();
5328         ST(0) = boolSV(RETVAL);
5329         sv_2mortal(ST(0));
5330     }
5331     XSRETURN(1);
5332 }
5333
5334
5335 XS(XS_Wx__Window_PageUp); /* prototype to pass -Wmissing-prototypes */
5336 XS(XS_Wx__Window_PageUp)
5337 {
5338 #ifdef dVAR
5339     dVAR; dXSARGS;
5340 #else
5341     dXSARGS;
5342 #endif
5343     if (items != 1)
5344        croak_xs_usage(cv,  "THIS");
5345     {
5346         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
5347         bool    RETVAL;
5348
5349         RETVAL = THIS->PageUp();
5350         ST(0) = boolSV(RETVAL);
5351         sv_2mortal(ST(0));
5352     }
5353     XSRETURN(1);
5354 }
5355
5356
5357 XS(XS_Wx__Window_PageDown); /* prototype to pass -Wmissing-prototypes */
5358 XS(XS_Wx__Window_PageDown)
5359 {
5360 #ifdef dVAR
5361     dVAR; dXSARGS;
5362 #else
5363     dXSARGS;
5364 #endif
5365     if (items != 1)
5366        croak_xs_usage(cv,  "THIS");
5367     {
5368         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
5369         bool    RETVAL;
5370
5371         RETVAL = THIS->PageDown();
5372         ST(0) = boolSV(RETVAL);
5373         sv_2mortal(ST(0));
5374     }
5375     XSRETURN(1);
5376 }
5377
5378
5379 XS(XS_Wx__Window_SetBackgroundColour); /* prototype to pass -Wmissing-prototypes */
5380 XS(XS_Wx__Window_SetBackgroundColour)
5381 {
5382 #ifdef dVAR
5383     dVAR; dXSARGS;
5384 #else
5385     dXSARGS;
5386 #endif
5387     if (items != 2)
5388        croak_xs_usage(cv,  "THIS, colour");
5389     {
5390         wxColour*    colour = (wxColour *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Colour" );
5391         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
5392     THIS->SetBackgroundColour( *( colour ) );
5393     }
5394     XSRETURN_EMPTY;
5395 }
5396
5397
5398 XS(XS_Wx__Window_SetOwnBackgroundColour); /* prototype to pass -Wmissing-prototypes */
5399 XS(XS_Wx__Window_SetOwnBackgroundColour)
5400 {
5401 #ifdef dVAR
5402     dVAR; dXSARGS;
5403 #else
5404     dXSARGS;
5405 #endif
5406     if (items != 2)
5407        croak_xs_usage(cv,  "THIS, colour");
5408     {
5409         wxColour*    colour = (wxColour *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Colour" );
5410         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
5411     THIS->SetOwnBackgroundColour( *( colour ) );
5412     }
5413     XSRETURN_EMPTY;
5414 }
5415
5416 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
5417 #define XSubPPtmpAABX 1
5418
5419
5420 XS(XS_Wx__Window_SetCanFocus); /* prototype to pass -Wmissing-prototypes */
5421 XS(XS_Wx__Window_SetCanFocus)
5422 {
5423 #ifdef dVAR
5424     dVAR; dXSARGS;
5425 #else
5426     dXSARGS;
5427 #endif
5428     if (items != 2)
5429        croak_xs_usage(cv,  "THIS, canFocus");
5430     {
5431         bool    canFocus = (bool)SvTRUE(ST(1));
5432         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
5433
5434         THIS->SetCanFocus(canFocus);
5435     }
5436     XSRETURN_EMPTY;
5437 }
5438
5439 #endif
5440
5441 XS(XS_Wx__Window_SetForegroundColour); /* prototype to pass -Wmissing-prototypes */
5442 XS(XS_Wx__Window_SetForegroundColour)
5443 {
5444 #ifdef dVAR
5445     dVAR; dXSARGS;
5446 #else
5447     dXSARGS;
5448 #endif
5449     if (items != 2)
5450        croak_xs_usage(cv,  "THIS, colour");
5451     {
5452         wxColour*    colour = (wxColour *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Colour" );
5453         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
5454     THIS->SetForegroundColour( *( colour ) );
5455     }
5456     XSRETURN_EMPTY;
5457 }
5458
5459
5460 XS(XS_Wx__Window_SetOwnForegroundColour); /* prototype to pass -Wmissing-prototypes */
5461 XS(XS_Wx__Window_SetOwnForegroundColour)
5462 {
5463 #ifdef dVAR
5464     dVAR; dXSARGS;
5465 #else
5466     dXSARGS;
5467 #endif
5468     if (items != 2)
5469        croak_xs_usage(cv,  "THIS, colour");
5470     {
5471         wxColour*    colour = (wxColour *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Colour" );
5472         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
5473     THIS->SetOwnForegroundColour( *( colour ) );
5474     }
5475     XSRETURN_EMPTY;
5476 }
5477
5478
5479 XS(XS_Wx__Window_SetFont); /* prototype to pass -Wmissing-prototypes */
5480 XS(XS_Wx__Window_SetFont)
5481 {
5482 #ifdef dVAR
5483     dVAR; dXSARGS;
5484 #else
5485     dXSARGS;
5486 #endif
5487     if (items != 2)
5488        croak_xs_usage(cv,  "THIS, font");
5489     {
5490         wxFont*    font = (wxFont *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Font" );
5491         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
5492     THIS->SetFont( *( font ) );
5493     }
5494     XSRETURN_EMPTY;
5495 }
5496
5497
5498 XS(XS_Wx__Window_SetCursor); /* prototype to pass -Wmissing-prototypes */
5499 XS(XS_Wx__Window_SetCursor)
5500 {
5501 #ifdef dVAR
5502     dVAR; dXSARGS;
5503 #else
5504     dXSARGS;
5505 #endif
5506     if (items != 2)
5507        croak_xs_usage(cv,  "THIS, cursor");
5508     {
5509         wxCursor*    cursor = (wxCursor *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Cursor" );
5510         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
5511     THIS->SetCursor( *( cursor ) );
5512     }
5513     XSRETURN_EMPTY;
5514 }
5515
5516
5517 XS(XS_Wx__Window_SetOwnFont); /* prototype to pass -Wmissing-prototypes */
5518 XS(XS_Wx__Window_SetOwnFont)
5519 {
5520 #ifdef dVAR
5521     dVAR; dXSARGS;
5522 #else
5523     dXSARGS;
5524 #endif
5525     if (items != 2)
5526        croak_xs_usage(cv,  "THIS, font");
5527     {
5528         wxFont*    font = (wxFont *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Font" );
5529         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
5530     THIS->SetOwnFont( *( font ) );
5531     }
5532     XSRETURN_EMPTY;
5533 }
5534
5535
5536 XS(XS_Wx__Window_GetWindowVariant); /* prototype to pass -Wmissing-prototypes */
5537 XS(XS_Wx__Window_GetWindowVariant)
5538 {
5539 #ifdef dVAR
5540     dVAR; dXSARGS;
5541 #else
5542     dXSARGS;
5543 #endif
5544     if (items != 1)
5545        croak_xs_usage(cv,  "THIS");
5546     {
5547         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
5548         wxWindowVariant RETVAL;
5549         dXSTARG;
5550
5551         RETVAL = THIS->GetWindowVariant();
5552         XSprePUSH; PUSHi((IV)RETVAL);
5553     }
5554     XSRETURN(1);
5555 }
5556
5557
5558 XS(XS_Wx__Window_SetWindowVariant); /* prototype to pass -Wmissing-prototypes */
5559 XS(XS_Wx__Window_SetWindowVariant)
5560 {
5561 #ifdef dVAR
5562     dVAR; dXSARGS;
5563 #else
5564     dXSARGS;
5565 #endif
5566     if (items != 2)
5567        croak_xs_usage(cv,  "THIS, variant");
5568     {
5569         wxWindowVariant variant = (wxWindowVariant)SvIV(ST(1));
5570         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
5571
5572         THIS->SetWindowVariant(variant);
5573     }
5574     XSRETURN_EMPTY;
5575 }
5576
5577 #if WXPERL_W_VERSION_GE( 2, 8, 0 )
5578 #define XSubPPtmpAABY 1
5579
5580
5581 XS(XS_Wx__Window_ToggleWindowStyle); /* prototype to pass -Wmissing-prototypes */
5582 XS(XS_Wx__Window_ToggleWindowStyle)
5583 {
5584 #ifdef dVAR
5585     dVAR; dXSARGS;
5586 #else
5587     dXSARGS;
5588 #endif
5589     if (items != 2)
5590        croak_xs_usage(cv,  "THIS, flag");
5591     {
5592         int     flag = (int)SvIV(ST(1));
5593         wxWindow *    THIS = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
5594         bool    RETVAL;
5595
5596         RETVAL = THIS->ToggleWindowStyle(flag);
5597         ST(0) = boolSV(RETVAL);
5598         sv_2mortal(ST(0));
5599     }
5600     XSRETURN(1);
5601 }
5602
5603 #endif
5604 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
5605 #define XSubPPtmpAABZ 1
5606
5607
5608 XS(XS_Wx__EventBlocker_new); /* prototype to pass -Wmissing-prototypes */
5609 XS(XS_Wx__EventBlocker_new)
5610 {
5611 #ifdef dVAR
5612     dVAR; dXSARGS;
5613 #else
5614     dXSARGS;
5615 #endif
5616     if (items < 2 || items > 3)
5617        croak_xs_usage(cv,  "CLASS, win, type = wxEVT_ANY");
5618     {
5619         wxWindow*    win = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
5620         wxEventType     type;
5621         char *  CLASS = (char *)SvPV_nolen(ST(0));
5622         wxEventBlocker *        RETVAL;
5623
5624         if (items < 3)
5625             type = wxEVT_ANY;
5626         else {
5627             type = (wxEventType)SvIV(ST(2));
5628         }
5629
5630         RETVAL = new wxEventBlocker(win, type);
5631         ST(0) = sv_newmortal();
5632     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::EventBlocker" );
5633     wxPli_thread_sv_register( aTHX_ "Wx::EventBlocker", RETVAL, ST(0) );
5634
5635     }
5636     XSRETURN(1);
5637 }
5638
5639
5640 XS(XS_Wx__EventBlocker_CLONE); /* prototype to pass -Wmissing-prototypes */
5641 XS(XS_Wx__EventBlocker_CLONE)
5642 {
5643 #ifdef dVAR
5644     dVAR; dXSARGS;
5645 #else
5646     dXSARGS;
5647 #endif
5648     if (items != 1)
5649        croak_xs_usage(cv,  "CLASS");
5650     {
5651         char *  CLASS = (char *)SvPV_nolen(ST(0));
5652     wxPli_thread_sv_clone( aTHX_ CLASS, (wxPliCloneSV)wxPli_detach_object );
5653     }
5654     XSRETURN_EMPTY;
5655 }
5656
5657
5658 XS(XS_Wx__EventBlocker_DESTROY); /* prototype to pass -Wmissing-prototypes */
5659 XS(XS_Wx__EventBlocker_DESTROY)
5660 {
5661 #ifdef dVAR
5662     dVAR; dXSARGS;
5663 #else
5664     dXSARGS;
5665 #endif
5666     if (items != 1)
5667        croak_xs_usage(cv,  "THIS");
5668     {
5669         wxEventBlocker *    THIS = (wxEventBlocker *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::EventBlocker" );
5670       wxPli_thread_sv_unregister( aTHX_ "Wx::EventBlocker", THIS, ST(0) );
5671                  delete THIS;
5672     }
5673     XSRETURN_EMPTY;
5674 }
5675
5676
5677 XS(XS_Wx__EventBlocker_Block); /* prototype to pass -Wmissing-prototypes */
5678 XS(XS_Wx__EventBlocker_Block)
5679 {
5680 #ifdef dVAR
5681     dVAR; dXSARGS;
5682 #else
5683     dXSARGS;
5684 #endif
5685     if (items != 2)
5686        croak_xs_usage(cv,  "THIS, eventType");
5687     {
5688         wxEventType     eventType = (wxEventType)SvIV(ST(1));
5689         wxEventBlocker *    THIS = (wxEventBlocker *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::EventBlocker" );
5690
5691         THIS->Block(eventType);
5692     }
5693     XSRETURN_EMPTY;
5694 }
5695
5696 #endif
5697 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
5698 #include <wx/wupdlock.h>
5699 #define XSubPPtmpAACA 1
5700
5701
5702 XS(XS_Wx__WindowUpdateLocker_new); /* prototype to pass -Wmissing-prototypes */
5703 XS(XS_Wx__WindowUpdateLocker_new)
5704 {
5705 #ifdef dVAR
5706     dVAR; dXSARGS;
5707 #else
5708     dXSARGS;
5709 #endif
5710     if (items != 2)
5711        croak_xs_usage(cv,  "CLASS, win");
5712     {
5713         wxWindow*    win = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
5714         char *  CLASS = (char *)SvPV_nolen(ST(0));
5715         wxWindowUpdateLocker *  RETVAL;
5716
5717         RETVAL = new wxWindowUpdateLocker(win);
5718         ST(0) = sv_newmortal();
5719     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::WindowUpdateLocker" );
5720     wxPli_thread_sv_register( aTHX_ "Wx::WindowUpdateLocker", RETVAL, ST(0) );
5721
5722     }
5723     XSRETURN(1);
5724 }
5725
5726
5727 XS(XS_Wx__WindowUpdateLocker_CLONE); /* prototype to pass -Wmissing-prototypes */
5728 XS(XS_Wx__WindowUpdateLocker_CLONE)
5729 {
5730 #ifdef dVAR
5731     dVAR; dXSARGS;
5732 #else
5733     dXSARGS;
5734 #endif
5735     if (items != 1)
5736        croak_xs_usage(cv,  "CLASS");
5737     {
5738         char *  CLASS = (char *)SvPV_nolen(ST(0));
5739     wxPli_thread_sv_clone( aTHX_ CLASS, (wxPliCloneSV)wxPli_detach_object );
5740     }
5741     XSRETURN_EMPTY;
5742 }
5743
5744
5745 XS(XS_Wx__WindowUpdateLocker_DESTROY); /* prototype to pass -Wmissing-prototypes */
5746 XS(XS_Wx__WindowUpdateLocker_DESTROY)
5747 {
5748 #ifdef dVAR
5749     dVAR; dXSARGS;
5750 #else
5751     dXSARGS;
5752 #endif
5753     if (items != 1)
5754        croak_xs_usage(cv,  "THIS");
5755     {
5756         wxWindowUpdateLocker *    THIS = (wxWindowUpdateLocker *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::WindowUpdateLocker" );
5757       wxPli_thread_sv_unregister( aTHX_ "Wx::WindowUpdateLocker", THIS, ST(0) );
5758                  delete THIS;
5759     }
5760     XSRETURN_EMPTY;
5761 }
5762
5763 #endif
5764
5765 /* INCLUDE: Returning to 'Window.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/Window.xsp |' */
5766
5767
5768 /* INCLUDE:  Including 'XS/Accelerators.xs' from 'Window.xs' */
5769
5770 #include <wx/accel.h>
5771
5772 XS(XS_Wx__AcceleratorEntry_new); /* prototype to pass -Wmissing-prototypes */
5773 XS(XS_Wx__AcceleratorEntry_new)
5774 {
5775 #ifdef dVAR
5776     dVAR; dXSARGS;
5777 #else
5778     dXSARGS;
5779 #endif
5780     if (items != 4)
5781        croak_xs_usage(cv,  "CLASS, flags, code, cmd");
5782     {
5783         int     flags = (int)SvIV(ST(1));
5784         wxKeyCode    code = wxPli_sv_2_keycode( aTHX_ ST(2) );
5785         int     cmd = (int)SvIV(ST(3));
5786         char *  CLASS = (char *)SvPV_nolen(ST(0));
5787         wxAcceleratorEntry *    RETVAL;
5788
5789         RETVAL = new wxAcceleratorEntry(flags, code, cmd);
5790         ST(0) = sv_newmortal();
5791     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::AcceleratorEntry" );
5792     wxPli_thread_sv_register( aTHX_ "Wx::AcceleratorEntry", RETVAL, ST(0) );
5793
5794     }
5795     XSRETURN(1);
5796 }
5797
5798 #if WXPERL_W_VERSION_GE( 2, 7, 1 )
5799 #define XSubPPtmpAACB 1
5800
5801
5802 XS(XS_Wx__AcceleratorEntry_Create); /* prototype to pass -Wmissing-prototypes */
5803 XS(XS_Wx__AcceleratorEntry_Create)
5804 {
5805 #ifdef dVAR
5806     dVAR; dXSARGS;
5807 #else
5808     dXSARGS;
5809 #endif
5810     if (items != 1)
5811        croak_xs_usage(cv,  "str");
5812     {
5813         wxString        str;
5814         wxAcceleratorEntry *    RETVAL;
5815
5816     WXSTRING_INPUT( str, wxString, ST(0) );
5817     RETVAL = wxAcceleratorEntry::Create( str );
5818         ST(0) = sv_newmortal();
5819     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::AcceleratorEntry" );
5820     wxPli_thread_sv_register( aTHX_ "Wx::AcceleratorEntry", RETVAL, ST(0) );
5821
5822     }
5823     XSRETURN(1);
5824 }
5825
5826 #endif
5827
5828 XS(XS_Wx__AcceleratorEntry_CLONE); /* prototype to pass -Wmissing-prototypes */
5829 XS(XS_Wx__AcceleratorEntry_CLONE)
5830 {
5831 #ifdef dVAR
5832     dVAR; dXSARGS;
5833 #else
5834     dXSARGS;
5835 #endif
5836     if (items != 1)
5837        croak_xs_usage(cv,  "CLASS");
5838     {
5839         char *  CLASS = (char *)SvPV_nolen(ST(0));
5840     wxPli_thread_sv_clone( aTHX_ CLASS, (wxPliCloneSV)wxPli_detach_object );
5841     }
5842     XSRETURN_EMPTY;
5843 }
5844
5845
5846 XS(XS_Wx__AcceleratorEntry_DESTROY); /* prototype to pass -Wmissing-prototypes */
5847 XS(XS_Wx__AcceleratorEntry_DESTROY)
5848 {
5849 #ifdef dVAR
5850     dVAR; dXSARGS;
5851 #else
5852     dXSARGS;
5853 #endif
5854     if (items != 1)
5855        croak_xs_usage(cv,  "THIS");
5856     {
5857         wxAcceleratorEntry *    THIS = (wxAcceleratorEntry *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::AcceleratorEntry" );
5858     wxPli_thread_sv_unregister( aTHX_ "Wx::AcceleratorEntry", THIS, ST(0) );
5859     delete THIS;
5860     }
5861     XSRETURN_EMPTY;
5862 }
5863
5864
5865 XS(XS_Wx__AcceleratorEntry_GetCommand); /* prototype to pass -Wmissing-prototypes */
5866 XS(XS_Wx__AcceleratorEntry_GetCommand)
5867 {
5868 #ifdef dVAR
5869     dVAR; dXSARGS;
5870 #else
5871     dXSARGS;
5872 #endif
5873     if (items != 1)
5874        croak_xs_usage(cv,  "THIS");
5875     {
5876         wxAcceleratorEntry *    THIS = (wxAcceleratorEntry *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::AcceleratorEntry" );
5877         int     RETVAL;
5878         dXSTARG;
5879
5880         RETVAL = THIS->GetCommand();
5881         XSprePUSH; PUSHi((IV)RETVAL);
5882     }
5883     XSRETURN(1);
5884 }
5885
5886
5887 XS(XS_Wx__AcceleratorEntry_GetFlags); /* prototype to pass -Wmissing-prototypes */
5888 XS(XS_Wx__AcceleratorEntry_GetFlags)
5889 {
5890 #ifdef dVAR
5891     dVAR; dXSARGS;
5892 #else
5893     dXSARGS;
5894 #endif
5895     if (items != 1)
5896        croak_xs_usage(cv,  "THIS");
5897     {
5898         wxAcceleratorEntry *    THIS = (wxAcceleratorEntry *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::AcceleratorEntry" );
5899         int     RETVAL;
5900         dXSTARG;
5901
5902         RETVAL = THIS->GetFlags();
5903         XSprePUSH; PUSHi((IV)RETVAL);
5904     }
5905     XSRETURN(1);
5906 }
5907
5908
5909 XS(XS_Wx__AcceleratorEntry_GetKeyCode); /* prototype to pass -Wmissing-prototypes */
5910 XS(XS_Wx__AcceleratorEntry_GetKeyCode)
5911 {
5912 #ifdef dVAR
5913     dVAR; dXSARGS;
5914 #else
5915     dXSARGS;
5916 #endif
5917     if (items != 1)
5918        croak_xs_usage(cv,  "THIS");
5919     {
5920         wxAcceleratorEntry *    THIS = (wxAcceleratorEntry *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::AcceleratorEntry" );
5921         int     RETVAL;
5922         dXSTARG;
5923
5924         RETVAL = THIS->GetKeyCode();
5925         XSprePUSH; PUSHi((IV)RETVAL);
5926     }
5927     XSRETURN(1);
5928 }
5929
5930
5931 XS(XS_Wx__AcceleratorEntry_Set); /* prototype to pass -Wmissing-prototypes */
5932 XS(XS_Wx__AcceleratorEntry_Set)
5933 {
5934 #ifdef dVAR
5935     dVAR; dXSARGS;
5936 #else
5937     dXSARGS;
5938 #endif
5939     if (items != 4)
5940        croak_xs_usage(cv,  "THIS, flags, code, cmd");
5941     {
5942         int     flags = (int)SvIV(ST(1));
5943         wxKeyCode    code = wxPli_sv_2_keycode( aTHX_ ST(2) );
5944         int     cmd = (int)SvIV(ST(3));
5945         wxAcceleratorEntry *    THIS = (wxAcceleratorEntry *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::AcceleratorEntry" );
5946
5947         THIS->Set(flags, code, cmd);
5948     }
5949     XSRETURN_EMPTY;
5950 }
5951
5952
5953 XS(XS_Wx__AcceleratorTable_new); /* prototype to pass -Wmissing-prototypes */
5954 XS(XS_Wx__AcceleratorTable_new)
5955 {
5956 #ifdef dVAR
5957     dVAR; dXSARGS;
5958 #else
5959     dXSARGS;
5960 #endif
5961     if (items < 1)
5962        croak_xs_usage(cv,  "CLASS, ...");
5963     {
5964         char *  CLASS = (char *)SvPV_nolen(ST(0));
5965         wxAcceleratorTable *    RETVAL;
5966     if( items == 1 )
5967     {
5968         RETVAL = new wxAcceleratorTable;
5969     }
5970     else
5971     {
5972         int num = items - 1;
5973         wxAcceleratorEntry* entries = new wxAcceleratorEntry[ num ];
5974
5975         for( int i = 0; i < num; ++i )
5976         {
5977             SV* rv = ST( i + 1 );
5978
5979             if( SvROK( rv ) )
5980             {
5981                 if( sv_derived_from( rv, CHAR_P "Wx::AcceleratorEntry" ) )
5982                 {
5983                     entries[i] = *(wxAcceleratorEntry*)
5984                         wxPli_sv_2_object( aTHX_ rv,
5985                                            "Wx::AcceleratorEntry" );
5986                 }
5987                 else if( SvTYPE( SvRV( rv ) ) == SVt_PVAV )
5988                 {
5989                     AV* av = (AV*) SvRV( rv );
5990                     I32 len = av_len( av ) + 1;
5991
5992                     if( len != 3 )
5993                     {
5994                         delete[] entries;
5995                         croak( "the %d-th value does not have three"
5996                                " elements", i + 1 );
5997                     }
5998
5999                     entries[i].Set( SvIV( *av_fetch( av, 0, 0 ) ),
6000                                     wxPli_sv_2_keycode( aTHX_
6001                                             *av_fetch( av, 1, 0 ) ),
6002                                     SvIV( *av_fetch( av, 2, 0 ) ) );
6003                 }
6004                 else
6005                 {
6006                     delete[] entries;
6007                     croak( "the %d-th value is not an object"
6008                            " or array reference", i + 1 );
6009                 }
6010             }
6011             else
6012             {
6013                 delete[] entries;
6014                 croak( "the %d-th value is not an object"
6015                        " or array reference", i + 1 );
6016             }
6017         }
6018
6019         RETVAL = new wxAcceleratorTable( num, entries );
6020         delete[] entries;
6021     }
6022         ST(0) = sv_newmortal();
6023     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
6024     wxPli_thread_sv_register( aTHX_ "Wx::AcceleratorTable", RETVAL, ST(0) );
6025
6026     }
6027     XSRETURN(1);
6028 }
6029
6030
6031 XS(XS_Wx__AcceleratorTable_CLONE); /* prototype to pass -Wmissing-prototypes */
6032 XS(XS_Wx__AcceleratorTable_CLONE)
6033 {
6034 #ifdef dVAR
6035     dVAR; dXSARGS;
6036 #else
6037     dXSARGS;
6038 #endif
6039     if (items != 1)
6040        croak_xs_usage(cv,  "CLASS");
6041     {
6042         char *  CLASS = (char *)SvPV_nolen(ST(0));
6043     wxPli_thread_sv_clone( aTHX_ CLASS, (wxPliCloneSV)wxPli_detach_object );
6044     }
6045     XSRETURN_EMPTY;
6046 }
6047
6048
6049 XS(XS_Wx__AcceleratorTable_DESTROY); /* prototype to pass -Wmissing-prototypes */
6050 XS(XS_Wx__AcceleratorTable_DESTROY)
6051 {
6052 #ifdef dVAR
6053     dVAR; dXSARGS;
6054 #else
6055     dXSARGS;
6056 #endif
6057     if (items != 1)
6058        croak_xs_usage(cv,  "THIS");
6059     {
6060         wxAcceleratorTable *    THIS = (wxAcceleratorTable *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::AcceleratorTable" );
6061     wxPli_thread_sv_unregister( aTHX_ "Wx::AcceleratorTable", THIS, ST(0) );
6062     delete THIS;
6063     }
6064     XSRETURN_EMPTY;
6065 }
6066
6067
6068 XS(XS_Wx__AcceleratorTable_Ok); /* prototype to pass -Wmissing-prototypes */
6069 XS(XS_Wx__AcceleratorTable_Ok)
6070 {
6071 #ifdef dVAR
6072     dVAR; dXSARGS;
6073 #else
6074     dXSARGS;
6075 #endif
6076     if (items != 1)
6077        croak_xs_usage(cv,  "THIS");
6078     {
6079         wxAcceleratorTable *    THIS = (wxAcceleratorTable *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::AcceleratorTable" );
6080         bool    RETVAL;
6081
6082         RETVAL = THIS->Ok();
6083         ST(0) = boolSV(RETVAL);
6084         sv_2mortal(ST(0));
6085     }
6086     XSRETURN(1);
6087 }
6088
6089 #if WXPERL_W_VERSION_GE( 2, 8, 0 )
6090 #define XSubPPtmpAACC 1
6091
6092
6093 XS(XS_Wx__AcceleratorTable_IsOk); /* prototype to pass -Wmissing-prototypes */
6094 XS(XS_Wx__AcceleratorTable_IsOk)
6095 {
6096 #ifdef dVAR
6097     dVAR; dXSARGS;
6098 #else
6099     dXSARGS;
6100 #endif
6101     if (items != 1)
6102        croak_xs_usage(cv,  "THIS");
6103     {
6104         wxAcceleratorTable *    THIS = (wxAcceleratorTable *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::AcceleratorTable" );
6105         bool    RETVAL;
6106
6107         RETVAL = THIS->IsOk();
6108         ST(0) = boolSV(RETVAL);
6109         sv_2mortal(ST(0));
6110     }
6111     XSRETURN(1);
6112 }
6113
6114 #endif
6115
6116 /* INCLUDE: Returning to 'Window.xs' from 'XS/Accelerators.xs' */
6117
6118
6119 /* INCLUDE:  Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/PlWindow.xsp |' from 'Window.xs' */
6120
6121 #include "cpp/plwindow.h"
6122 #define GetMaxSize wxWindow::GetMaxSize
6123 #define GetMinSize wxWindow::GetMinSize
6124 #define AcceptsFocus wxWindow::AcceptsFocus
6125 #define AcceptsFocusRecursively wxWindow::AcceptsFocusRecursively
6126 #define AcceptsFocusFromKeyboard wxWindow::AcceptsFocusFromKeyboard
6127
6128 XS(XS_Wx__PlWindow_newDefault); /* prototype to pass -Wmissing-prototypes */
6129 XS(XS_Wx__PlWindow_newDefault)
6130 {
6131 #ifdef dVAR
6132     dVAR; dXSARGS;
6133 #else
6134     dXSARGS;
6135 #endif
6136     if (items != 1)
6137        croak_xs_usage(cv,  "CLASS");
6138     {
6139         char *  CLASS = (char *)SvPV_nolen(ST(0));
6140         wxPlWindow *    RETVAL;
6141      RETVAL = new wxPlWindow( CLASS );
6142                 // wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
6143
6144         ST(0) = sv_newmortal();
6145     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
6146
6147     }
6148     XSRETURN(1);
6149 }
6150
6151
6152 XS(XS_Wx__PlWindow_newFull); /* prototype to pass -Wmissing-prototypes */
6153 XS(XS_Wx__PlWindow_newFull)
6154 {
6155 #ifdef dVAR
6156     dVAR; dXSARGS;
6157 #else
6158     dXSARGS;
6159 #endif
6160     if (items < 2 || items > 7)
6161        croak_xs_usage(cv,  "CLASS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, name = wxEmptyString");
6162     {
6163         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
6164         wxWindowID      id;
6165         wxPoint pos;
6166         wxSize  size;
6167         long    style;
6168         wxString        name;
6169         char *  CLASS = (char *)SvPV_nolen(ST(0));
6170         wxPlWindow *    RETVAL;
6171
6172         if (items < 3)
6173             id = wxID_ANY;
6174         else {
6175     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
6176         }
6177
6178         if (items < 4)
6179             pos = wxDefaultPosition;
6180         else {
6181     pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) );
6182         }
6183
6184         if (items < 5)
6185             size = wxDefaultSize;
6186         else {
6187     size = wxPli_sv_2_wxsize( aTHX_ ST(4) );
6188         }
6189
6190         if (items < 6)
6191             style = 0;
6192         else {
6193             style = (long)SvIV(ST(5));
6194         }
6195
6196         if (items < 7)
6197             name = wxEmptyString;
6198         else {
6199     WXSTRING_INPUT( name, wxString, ST(6) );
6200         }
6201      RETVAL = new wxPlWindow( CLASS, parent, id, pos, size,
6202                                          style, name );
6203                 // wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
6204
6205         ST(0) = sv_newmortal();
6206     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
6207
6208     }
6209     XSRETURN(1);
6210 }
6211
6212
6213 XS(XS_Wx__PlWindow_Create); /* prototype to pass -Wmissing-prototypes */
6214 XS(XS_Wx__PlWindow_Create)
6215 {
6216 #ifdef dVAR
6217     dVAR; dXSARGS;
6218 #else
6219     dXSARGS;
6220 #endif
6221     if (items < 2 || items > 7)
6222        croak_xs_usage(cv,  "THIS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, name = wxEmptyString");
6223     {
6224         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
6225         wxWindowID      id;
6226         wxPoint pos;
6227         wxSize  size;
6228         long    style;
6229         wxString        name;
6230         wxPlWindow *    THIS = (wxPlWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlWindow" );
6231         bool    RETVAL;
6232
6233         if (items < 3)
6234             id = wxID_ANY;
6235         else {
6236     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
6237         }
6238
6239         if (items < 4)
6240             pos = wxDefaultPosition;
6241         else {
6242     pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) );
6243         }
6244
6245         if (items < 5)
6246             size = wxDefaultSize;
6247         else {
6248     size = wxPli_sv_2_wxsize( aTHX_ ST(4) );
6249         }
6250
6251         if (items < 6)
6252             style = 0;
6253         else {
6254             style = (long)SvIV(ST(5));
6255         }
6256
6257         if (items < 7)
6258             name = wxEmptyString;
6259         else {
6260     WXSTRING_INPUT( name, wxString, ST(6) );
6261         }
6262
6263         RETVAL = THIS->Create(parent, id, pos, size, style, name);
6264         ST(0) = boolSV(RETVAL);
6265         sv_2mortal(ST(0));
6266     }
6267     XSRETURN(1);
6268 }
6269
6270
6271 XS(XS_Wx__PlWindow_DoGetBestSize); /* prototype to pass -Wmissing-prototypes */
6272 XS(XS_Wx__PlWindow_DoGetBestSize)
6273 {
6274 #ifdef dVAR
6275     dVAR; dXSARGS;
6276 #else
6277     dXSARGS;
6278 #endif
6279     if (items != 1)
6280        croak_xs_usage(cv,  "THIS");
6281     {
6282         wxPlWindow *    THIS = (wxPlWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlWindow" );
6283         wxSize  RETVAL;
6284     RETVAL = THIS->base_DoGetBestSize();
6285         ST(0) = sv_newmortal();
6286     wxPli_non_object_2_sv( aTHX_ ST(0), new wxSize(RETVAL), "Wx::Size" );
6287
6288     }
6289     XSRETURN(1);
6290 }
6291
6292
6293 XS(XS_Wx__PlWindow_DoMoveWindow); /* prototype to pass -Wmissing-prototypes */
6294 XS(XS_Wx__PlWindow_DoMoveWindow)
6295 {
6296 #ifdef dVAR
6297     dVAR; dXSARGS;
6298 #else
6299     dXSARGS;
6300 #endif
6301     if (items != 5)
6302        croak_xs_usage(cv,  "THIS, x, y, w, h");
6303     {
6304         int     x = (int)SvIV(ST(1));
6305         int     y = (int)SvIV(ST(2));
6306         int     w = (int)SvIV(ST(3));
6307         int     h = (int)SvIV(ST(4));
6308         wxPlWindow *    THIS = (wxPlWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlWindow" );
6309     THIS->base_DoMoveWindow( x, y, w, h );
6310     }
6311     XSRETURN_EMPTY;
6312 }
6313
6314
6315 XS(XS_Wx__PlWindow_Enable); /* prototype to pass -Wmissing-prototypes */
6316 XS(XS_Wx__PlWindow_Enable)
6317 {
6318 #ifdef dVAR
6319     dVAR; dXSARGS;
6320 #else
6321     dXSARGS;
6322 #endif
6323     if (items != 2)
6324        croak_xs_usage(cv,  "THIS, enable");
6325     {
6326         bool    enable = (bool)SvTRUE(ST(1));
6327         wxPlWindow *    THIS = (wxPlWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlWindow" );
6328         bool    RETVAL;
6329     RETVAL = THIS->base_Enable( enable );
6330         ST(0) = boolSV(RETVAL);
6331         sv_2mortal(ST(0));
6332     }
6333     XSRETURN(1);
6334 }
6335
6336
6337 XS(XS_Wx__PlWindow_AcceptsFocus); /* prototype to pass -Wmissing-prototypes */
6338 XS(XS_Wx__PlWindow_AcceptsFocus)
6339 {
6340 #ifdef dVAR
6341     dVAR; dXSARGS;
6342 #else
6343     dXSARGS;
6344 #endif
6345     if (items != 1)
6346        croak_xs_usage(cv,  "THIS");
6347     {
6348         wxPlWindow *    THIS = (wxPlWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlWindow" );
6349         bool    RETVAL;
6350
6351         RETVAL = THIS->AcceptsFocus();
6352         ST(0) = boolSV(RETVAL);
6353         sv_2mortal(ST(0));
6354     }
6355     XSRETURN(1);
6356 }
6357
6358 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
6359 #define XSubPPtmpAACD 1
6360
6361
6362 XS(XS_Wx__PlWindow_AcceptsFocusRecursively); /* prototype to pass -Wmissing-prototypes */
6363 XS(XS_Wx__PlWindow_AcceptsFocusRecursively)
6364 {
6365 #ifdef dVAR
6366     dVAR; dXSARGS;
6367 #else
6368     dXSARGS;
6369 #endif
6370     if (items != 1)
6371        croak_xs_usage(cv,  "THIS");
6372     {
6373         wxPlWindow *    THIS = (wxPlWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlWindow" );
6374         bool    RETVAL;
6375
6376         RETVAL = THIS->AcceptsFocusRecursively();
6377         ST(0) = boolSV(RETVAL);
6378         sv_2mortal(ST(0));
6379     }
6380     XSRETURN(1);
6381 }
6382
6383 #endif
6384
6385 XS(XS_Wx__PlWindow_AcceptsFocusFromKeyboard); /* prototype to pass -Wmissing-prototypes */
6386 XS(XS_Wx__PlWindow_AcceptsFocusFromKeyboard)
6387 {
6388 #ifdef dVAR
6389     dVAR; dXSARGS;
6390 #else
6391     dXSARGS;
6392 #endif
6393     if (items != 1)
6394        croak_xs_usage(cv,  "THIS");
6395     {
6396         wxPlWindow *    THIS = (wxPlWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlWindow" );
6397         bool    RETVAL;
6398
6399         RETVAL = THIS->AcceptsFocusFromKeyboard();
6400         ST(0) = boolSV(RETVAL);
6401         sv_2mortal(ST(0));
6402     }
6403     XSRETURN(1);
6404 }
6405
6406 #if WXPERL_W_VERSION_GE( 2, 5, 1 )
6407 #define XSubPPtmpAACE 1
6408
6409
6410 XS(XS_Wx__PlWindow_GetMaxSize); /* prototype to pass -Wmissing-prototypes */
6411 XS(XS_Wx__PlWindow_GetMaxSize)
6412 {
6413 #ifdef dVAR
6414     dVAR; dXSARGS;
6415 #else
6416     dXSARGS;
6417 #endif
6418     if (items != 1)
6419        croak_xs_usage(cv,  "THIS");
6420     {
6421         wxPlWindow *    THIS = (wxPlWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlWindow" );
6422         wxSize  RETVAL;
6423
6424         RETVAL = THIS->GetMaxSize();
6425         ST(0) = sv_newmortal();
6426     wxPli_non_object_2_sv( aTHX_ ST(0), new wxSize(RETVAL), "Wx::Size" );
6427
6428     }
6429     XSRETURN(1);
6430 }
6431
6432
6433 XS(XS_Wx__PlWindow_GetMinSize); /* prototype to pass -Wmissing-prototypes */
6434 XS(XS_Wx__PlWindow_GetMinSize)
6435 {
6436 #ifdef dVAR
6437     dVAR; dXSARGS;
6438 #else
6439     dXSARGS;
6440 #endif
6441     if (items != 1)
6442        croak_xs_usage(cv,  "THIS");
6443     {
6444         wxPlWindow *    THIS = (wxPlWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlWindow" );
6445         wxSize  RETVAL;
6446
6447         RETVAL = THIS->GetMinSize();
6448         ST(0) = sv_newmortal();
6449     wxPli_non_object_2_sv( aTHX_ ST(0), new wxSize(RETVAL), "Wx::Size" );
6450
6451     }
6452     XSRETURN(1);
6453 }
6454
6455 #endif
6456
6457 XS(XS_Wx__PlWindow_new); /* prototype to pass -Wmissing-prototypes */
6458 XS(XS_Wx__PlWindow_new)
6459 {
6460 #ifdef dVAR
6461     dVAR; dXSARGS;
6462 #else
6463     dXSARGS;
6464 #endif
6465     PERL_UNUSED_VAR(cv); /* -W */
6466     PERL_UNUSED_VAR(ax); /* -Wall */
6467     SP -= items;
6468     {
6469     BEGIN_OVERLOAD()
6470         MATCH_VOIDM_REDISP( newDefault )
6471         MATCH_ANY_REDISP( newFull )
6472     END_OVERLOAD( "Wx::PlWindow::new" )
6473         PUTBACK;
6474         return;
6475     }
6476 }
6477
6478 #undef GetMaxSize
6479 #undef GetMinSize
6480 #undef AcceptsFocus
6481 #undef AcceptsFocusRecursively
6482 #undef AcceptsFocusFromKeyboard
6483
6484 /* INCLUDE: Returning to 'Window.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/PlWindow.xsp |' */
6485
6486
6487 /* INCLUDE:  Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/SplitterWindow.xs |' from 'Window.xs' */
6488
6489 #include <wx/splitter.h>
6490
6491 XS(XS_Wx__SplitterEvent_new); /* prototype to pass -Wmissing-prototypes */
6492 XS(XS_Wx__SplitterEvent_new)
6493 {
6494 #ifdef dVAR
6495     dVAR; dXSARGS;
6496 #else
6497     dXSARGS;
6498 #endif
6499     if (items < 1 || items > 3)
6500        croak_xs_usage(cv,  "CLASS, type = wxEVT_NULL, window = NULL");
6501     {
6502         wxEventType     type;
6503         wxSplitterWindow*       window;
6504         char *  CLASS = (char *)SvPV_nolen(ST(0));
6505         wxSplitterEvent *       RETVAL;
6506
6507         if (items < 2)
6508             type = wxEVT_NULL;
6509         else {
6510             type = (wxEventType)SvIV(ST(1));
6511         }
6512
6513         if (items < 3)
6514             window = NULL;
6515         else {
6516     window = (wxSplitterWindow *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::SplitterWindow" );
6517         }
6518
6519         RETVAL = new wxSplitterEvent(type, window);
6520         ST(0) = sv_newmortal();
6521     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
6522     wxPli_thread_sv_register( aTHX_ "Wx::SplitterEvent", RETVAL, ST(0) );
6523
6524     }
6525     XSRETURN(1);
6526 }
6527
6528
6529 XS(XS_Wx__SplitterEvent_GetSashPosition); /* prototype to pass -Wmissing-prototypes */
6530 XS(XS_Wx__SplitterEvent_GetSashPosition)
6531 {
6532 #ifdef dVAR
6533     dVAR; dXSARGS;
6534 #else
6535     dXSARGS;
6536 #endif
6537     if (items != 1)
6538        croak_xs_usage(cv,  "THIS");
6539     {
6540         wxSplitterEvent *    THIS = (wxSplitterEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SplitterEvent" );
6541         int     RETVAL;
6542         dXSTARG;
6543
6544         RETVAL = THIS->GetSashPosition();
6545         XSprePUSH; PUSHi((IV)RETVAL);
6546     }
6547     XSRETURN(1);
6548 }
6549
6550
6551 XS(XS_Wx__SplitterEvent_GetX); /* prototype to pass -Wmissing-prototypes */
6552 XS(XS_Wx__SplitterEvent_GetX)
6553 {
6554 #ifdef dVAR
6555     dVAR; dXSARGS;
6556 #else
6557     dXSARGS;
6558 #endif
6559     if (items != 1)
6560        croak_xs_usage(cv,  "THIS");
6561     {
6562         wxSplitterEvent *    THIS = (wxSplitterEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SplitterEvent" );
6563         int     RETVAL;
6564         dXSTARG;
6565
6566         RETVAL = THIS->GetX();
6567         XSprePUSH; PUSHi((IV)RETVAL);
6568     }
6569     XSRETURN(1);
6570 }
6571
6572
6573 XS(XS_Wx__SplitterEvent_GetY); /* prototype to pass -Wmissing-prototypes */
6574 XS(XS_Wx__SplitterEvent_GetY)
6575 {
6576 #ifdef dVAR
6577     dVAR; dXSARGS;
6578 #else
6579     dXSARGS;
6580 #endif
6581     if (items != 1)
6582        croak_xs_usage(cv,  "THIS");
6583     {
6584         wxSplitterEvent *    THIS = (wxSplitterEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SplitterEvent" );
6585         int     RETVAL;
6586         dXSTARG;
6587
6588         RETVAL = THIS->GetY();
6589         XSprePUSH; PUSHi((IV)RETVAL);
6590     }
6591     XSRETURN(1);
6592 }
6593
6594
6595 XS(XS_Wx__SplitterEvent_GetWindowBeingRemoved); /* prototype to pass -Wmissing-prototypes */
6596 XS(XS_Wx__SplitterEvent_GetWindowBeingRemoved)
6597 {
6598 #ifdef dVAR
6599     dVAR; dXSARGS;
6600 #else
6601     dXSARGS;
6602 #endif
6603     if (items != 1)
6604        croak_xs_usage(cv,  "THIS");
6605     {
6606         wxSplitterEvent *    THIS = (wxSplitterEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SplitterEvent" );
6607         wxWindow *      RETVAL;
6608
6609         RETVAL = THIS->GetWindowBeingRemoved();
6610         ST(0) = sv_newmortal();
6611     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
6612
6613     }
6614     XSRETURN(1);
6615 }
6616
6617
6618 XS(XS_Wx__SplitterEvent_SetSashPosition); /* prototype to pass -Wmissing-prototypes */
6619 XS(XS_Wx__SplitterEvent_SetSashPosition)
6620 {
6621 #ifdef dVAR
6622     dVAR; dXSARGS;
6623 #else
6624     dXSARGS;
6625 #endif
6626     if (items != 2)
6627        croak_xs_usage(cv,  "THIS, pos");
6628     {
6629         int     pos = (int)SvIV(ST(1));
6630         wxSplitterEvent *    THIS = (wxSplitterEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SplitterEvent" );
6631
6632         THIS->SetSashPosition(pos);
6633     }
6634     XSRETURN_EMPTY;
6635 }
6636
6637 #define wxSplitterWindowNameStr wxT("splitter")
6638
6639 XS(XS_Wx__SplitterWindow_newDefault); /* prototype to pass -Wmissing-prototypes */
6640 XS(XS_Wx__SplitterWindow_newDefault)
6641 {
6642 #ifdef dVAR
6643     dVAR; dXSARGS;
6644 #else
6645     dXSARGS;
6646 #endif
6647     if (items != 1)
6648        croak_xs_usage(cv,  "CLASS");
6649     {
6650         char *  CLASS = (char *)SvPV_nolen(ST(0));
6651         wxSplitterWindow *      RETVAL;
6652         RETVAL = new wxSplitterWindow();
6653                    wxPli_create_evthandler( aTHX_ RETVAL, CLASS ); 
6654         ST(0) = sv_newmortal();
6655     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
6656
6657     }
6658     XSRETURN(1);
6659 }
6660
6661
6662 XS(XS_Wx__SplitterWindow_newFull); /* prototype to pass -Wmissing-prototypes */
6663 XS(XS_Wx__SplitterWindow_newFull)
6664 {
6665 #ifdef dVAR
6666     dVAR; dXSARGS;
6667 #else
6668     dXSARGS;
6669 #endif
6670     if (items < 2 || items > 7)
6671        croak_xs_usage(cv,  "CLASS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = wxSP_3D, name = wxSplitterWindowNameStr");
6672     {
6673         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
6674         wxWindowID      id;
6675         wxPoint pos;
6676         wxSize  size;
6677         long    style;
6678         wxString        name;
6679         char *  CLASS = (char *)SvPV_nolen(ST(0));
6680         wxSplitterWindow *      RETVAL;
6681
6682         if (items < 3)
6683             id = wxID_ANY;
6684         else {
6685     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
6686         }
6687
6688         if (items < 4)
6689             pos = wxDefaultPosition;
6690         else {
6691     pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) );
6692         }
6693
6694         if (items < 5)
6695             size = wxDefaultSize;
6696         else {
6697     size = wxPli_sv_2_wxsize( aTHX_ ST(4) );
6698         }
6699
6700         if (items < 6)
6701             style = wxSP_3D;
6702         else {
6703             style = (long)SvIV(ST(5));
6704         }
6705
6706         if (items < 7)
6707             name = wxSplitterWindowNameStr;
6708         else {
6709     WXSTRING_INPUT( name, wxString, ST(6) );
6710         }
6711         RETVAL = new wxSplitterWindow( parent, id, pos, size,
6712                        style, name );
6713                    wxPli_create_evthandler( aTHX_ RETVAL, CLASS ); 
6714         ST(0) = sv_newmortal();
6715     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
6716
6717     }
6718     XSRETURN(1);
6719 }
6720
6721
6722 XS(XS_Wx__SplitterWindow_Create); /* prototype to pass -Wmissing-prototypes */
6723 XS(XS_Wx__SplitterWindow_Create)
6724 {
6725 #ifdef dVAR
6726     dVAR; dXSARGS;
6727 #else
6728     dXSARGS;
6729 #endif
6730     if (items < 2 || items > 7)
6731        croak_xs_usage(cv,  "THIS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = wxSP_3D, name = wxSplitterWindowNameStr");
6732     {
6733         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
6734         wxWindowID      id;
6735         wxPoint pos;
6736         wxSize  size;
6737         long    style;
6738         wxString        name;
6739         wxSplitterWindow *    THIS = (wxSplitterWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SplitterWindow" );
6740         bool    RETVAL;
6741
6742         if (items < 3)
6743             id = wxID_ANY;
6744         else {
6745     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
6746         }
6747
6748         if (items < 4)
6749             pos = wxDefaultPosition;
6750         else {
6751     pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) );
6752         }
6753
6754         if (items < 5)
6755             size = wxDefaultSize;
6756         else {
6757     size = wxPli_sv_2_wxsize( aTHX_ ST(4) );
6758         }
6759
6760         if (items < 6)
6761             style = wxSP_3D;
6762         else {
6763             style = (long)SvIV(ST(5));
6764         }
6765
6766         if (items < 7)
6767             name = wxSplitterWindowNameStr;
6768         else {
6769     WXSTRING_INPUT( name, wxString, ST(6) );
6770         }
6771
6772         RETVAL = THIS->Create(parent, id, pos, size, style, name);
6773         ST(0) = boolSV(RETVAL);
6774         sv_2mortal(ST(0));
6775     }
6776     XSRETURN(1);
6777 }
6778
6779
6780 XS(XS_Wx__SplitterWindow_GetMinimumPaneSize); /* prototype to pass -Wmissing-prototypes */
6781 XS(XS_Wx__SplitterWindow_GetMinimumPaneSize)
6782 {
6783 #ifdef dVAR
6784     dVAR; dXSARGS;
6785 #else
6786     dXSARGS;
6787 #endif
6788     if (items != 1)
6789        croak_xs_usage(cv,  "THIS");
6790     {
6791         wxSplitterWindow *    THIS = (wxSplitterWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SplitterWindow" );
6792         int     RETVAL;
6793         dXSTARG;
6794
6795         RETVAL = THIS->GetMinimumPaneSize();
6796         XSprePUSH; PUSHi((IV)RETVAL);
6797     }
6798     XSRETURN(1);
6799 }
6800
6801
6802 XS(XS_Wx__SplitterWindow_GetSashPosition); /* prototype to pass -Wmissing-prototypes */
6803 XS(XS_Wx__SplitterWindow_GetSashPosition)
6804 {
6805 #ifdef dVAR
6806     dVAR; dXSARGS;
6807 #else
6808     dXSARGS;
6809 #endif
6810     if (items != 1)
6811        croak_xs_usage(cv,  "THIS");
6812     {
6813         wxSplitterWindow *    THIS = (wxSplitterWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SplitterWindow" );
6814         int     RETVAL;
6815         dXSTARG;
6816
6817         RETVAL = THIS->GetSashPosition();
6818         XSprePUSH; PUSHi((IV)RETVAL);
6819     }
6820     XSRETURN(1);
6821 }
6822
6823
6824 XS(XS_Wx__SplitterWindow_GetSplitMode); /* prototype to pass -Wmissing-prototypes */
6825 XS(XS_Wx__SplitterWindow_GetSplitMode)
6826 {
6827 #ifdef dVAR
6828     dVAR; dXSARGS;
6829 #else
6830     dXSARGS;
6831 #endif
6832     if (items != 1)
6833        croak_xs_usage(cv,  "THIS");
6834     {
6835         wxSplitterWindow *    THIS = (wxSplitterWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SplitterWindow" );
6836         int     RETVAL;
6837         dXSTARG;
6838
6839         RETVAL = THIS->GetSplitMode();
6840         XSprePUSH; PUSHi((IV)RETVAL);
6841     }
6842     XSRETURN(1);
6843 }
6844
6845
6846 XS(XS_Wx__SplitterWindow_GetWindow1); /* prototype to pass -Wmissing-prototypes */
6847 XS(XS_Wx__SplitterWindow_GetWindow1)
6848 {
6849 #ifdef dVAR
6850     dVAR; dXSARGS;
6851 #else
6852     dXSARGS;
6853 #endif
6854     if (items != 1)
6855        croak_xs_usage(cv,  "THIS");
6856     {
6857         wxSplitterWindow *    THIS = (wxSplitterWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SplitterWindow" );
6858         wxWindow *      RETVAL;
6859
6860         RETVAL = THIS->GetWindow1();
6861         ST(0) = sv_newmortal();
6862     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
6863
6864     }
6865     XSRETURN(1);
6866 }
6867
6868
6869 XS(XS_Wx__SplitterWindow_GetWindow2); /* prototype to pass -Wmissing-prototypes */
6870 XS(XS_Wx__SplitterWindow_GetWindow2)
6871 {
6872 #ifdef dVAR
6873     dVAR; dXSARGS;
6874 #else
6875     dXSARGS;
6876 #endif
6877     if (items != 1)
6878        croak_xs_usage(cv,  "THIS");
6879     {
6880         wxSplitterWindow *    THIS = (wxSplitterWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SplitterWindow" );
6881         wxWindow *      RETVAL;
6882
6883         RETVAL = THIS->GetWindow2();
6884         ST(0) = sv_newmortal();
6885     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
6886
6887     }
6888     XSRETURN(1);
6889 }
6890
6891
6892 XS(XS_Wx__SplitterWindow_Initialize); /* prototype to pass -Wmissing-prototypes */
6893 XS(XS_Wx__SplitterWindow_Initialize)
6894 {
6895 #ifdef dVAR
6896     dVAR; dXSARGS;
6897 #else
6898     dXSARGS;
6899 #endif
6900     if (items != 2)
6901        croak_xs_usage(cv,  "THIS, window");
6902     {
6903         wxWindow*    window = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
6904         wxSplitterWindow *    THIS = (wxSplitterWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SplitterWindow" );
6905
6906         THIS->Initialize(window);
6907     }
6908     XSRETURN_EMPTY;
6909 }
6910
6911
6912 XS(XS_Wx__SplitterWindow_IsSplit); /* prototype to pass -Wmissing-prototypes */
6913 XS(XS_Wx__SplitterWindow_IsSplit)
6914 {
6915 #ifdef dVAR
6916     dVAR; dXSARGS;
6917 #else
6918     dXSARGS;
6919 #endif
6920     if (items != 1)
6921        croak_xs_usage(cv,  "THIS");
6922     {
6923         wxSplitterWindow *    THIS = (wxSplitterWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SplitterWindow" );
6924         bool    RETVAL;
6925
6926         RETVAL = THIS->IsSplit();
6927         ST(0) = boolSV(RETVAL);
6928         sv_2mortal(ST(0));
6929     }
6930     XSRETURN(1);
6931 }
6932
6933
6934 XS(XS_Wx__SplitterWindow_ReplaceWindow); /* prototype to pass -Wmissing-prototypes */
6935 XS(XS_Wx__SplitterWindow_ReplaceWindow)
6936 {
6937 #ifdef dVAR
6938     dVAR; dXSARGS;
6939 #else
6940     dXSARGS;
6941 #endif
6942     if (items != 3)
6943        croak_xs_usage(cv,  "THIS, winOld, winNew");
6944     {
6945         wxWindow*    winOld = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
6946         wxWindow*    winNew = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Window" );
6947         wxSplitterWindow *    THIS = (wxSplitterWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SplitterWindow" );
6948         bool    RETVAL;
6949
6950         RETVAL = THIS->ReplaceWindow(winOld, winNew);
6951         ST(0) = boolSV(RETVAL);
6952         sv_2mortal(ST(0));
6953     }
6954     XSRETURN(1);
6955 }
6956
6957 #if WXPERL_W_VERSION_GE( 2, 5, 4 )
6958 #define XSubPPtmpAACF 1
6959
6960
6961 XS(XS_Wx__SplitterWindow_SetFocusIgnoringChildren); /* prototype to pass -Wmissing-prototypes */
6962 XS(XS_Wx__SplitterWindow_SetFocusIgnoringChildren)
6963 {
6964 #ifdef dVAR
6965     dVAR; dXSARGS;
6966 #else
6967     dXSARGS;
6968 #endif
6969     if (items != 1)
6970        croak_xs_usage(cv,  "THIS");
6971     {
6972         wxSplitterWindow *    THIS = (wxSplitterWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SplitterWindow" );
6973
6974         THIS->SetFocusIgnoringChildren();
6975     }
6976     XSRETURN_EMPTY;
6977 }
6978
6979 #endif
6980
6981 XS(XS_Wx__SplitterWindow_SetSashPosition); /* prototype to pass -Wmissing-prototypes */
6982 XS(XS_Wx__SplitterWindow_SetSashPosition)
6983 {
6984 #ifdef dVAR
6985     dVAR; dXSARGS;
6986 #else
6987     dXSARGS;
6988 #endif
6989     if (items < 2 || items > 3)
6990        croak_xs_usage(cv,  "THIS, position, redraw = true");
6991     {
6992         int     position = (int)SvIV(ST(1));
6993         bool    redraw;
6994         wxSplitterWindow *    THIS = (wxSplitterWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SplitterWindow" );
6995
6996         if (items < 3)
6997             redraw = true;
6998         else {
6999             redraw = (bool)SvTRUE(ST(2));
7000         }
7001
7002         THIS->SetSashPosition(position, redraw);
7003     }
7004     XSRETURN_EMPTY;
7005 }
7006
7007
7008 XS(XS_Wx__SplitterWindow_SetMinimumPaneSize); /* prototype to pass -Wmissing-prototypes */
7009 XS(XS_Wx__SplitterWindow_SetMinimumPaneSize)
7010 {
7011 #ifdef dVAR
7012     dVAR; dXSARGS;
7013 #else
7014     dXSARGS;
7015 #endif
7016     if (items != 2)
7017        croak_xs_usage(cv,  "THIS, paneSize");
7018     {
7019         int     paneSize = (int)SvIV(ST(1));
7020         wxSplitterWindow *    THIS = (wxSplitterWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SplitterWindow" );
7021
7022         THIS->SetMinimumPaneSize(paneSize);
7023     }
7024     XSRETURN_EMPTY;
7025 }
7026
7027
7028 XS(XS_Wx__SplitterWindow_SetSplitMode); /* prototype to pass -Wmissing-prototypes */
7029 XS(XS_Wx__SplitterWindow_SetSplitMode)
7030 {
7031 #ifdef dVAR
7032     dVAR; dXSARGS;
7033 #else
7034     dXSARGS;
7035 #endif
7036     if (items != 2)
7037        croak_xs_usage(cv,  "THIS, mode");
7038     {
7039         int     mode = (int)SvIV(ST(1));
7040         wxSplitterWindow *    THIS = (wxSplitterWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SplitterWindow" );
7041
7042         THIS->SetSplitMode(mode);
7043     }
7044     XSRETURN_EMPTY;
7045 }
7046
7047
7048 XS(XS_Wx__SplitterWindow_SplitHorizontally); /* prototype to pass -Wmissing-prototypes */
7049 XS(XS_Wx__SplitterWindow_SplitHorizontally)
7050 {
7051 #ifdef dVAR
7052     dVAR; dXSARGS;
7053 #else
7054     dXSARGS;
7055 #endif
7056     if (items < 3 || items > 4)
7057        croak_xs_usage(cv,  "THIS, window1, window2, sashPosition = 0");
7058     {
7059         wxWindow*    window1 = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
7060         wxWindow*    window2 = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Window" );
7061         int     sashPosition;
7062         wxSplitterWindow *    THIS = (wxSplitterWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SplitterWindow" );
7063         bool    RETVAL;
7064
7065         if (items < 4)
7066             sashPosition = 0;
7067         else {
7068             sashPosition = (int)SvIV(ST(3));
7069         }
7070
7071         RETVAL = THIS->SplitHorizontally(window1, window2, sashPosition);
7072         ST(0) = boolSV(RETVAL);
7073         sv_2mortal(ST(0));
7074     }
7075     XSRETURN(1);
7076 }
7077
7078
7079 XS(XS_Wx__SplitterWindow_SplitVertically); /* prototype to pass -Wmissing-prototypes */
7080 XS(XS_Wx__SplitterWindow_SplitVertically)
7081 {
7082 #ifdef dVAR
7083     dVAR; dXSARGS;
7084 #else
7085     dXSARGS;
7086 #endif
7087     if (items < 3 || items > 4)
7088        croak_xs_usage(cv,  "THIS, window1, window2, sashPosition = 0");
7089     {
7090         wxWindow*    window1 = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
7091         wxWindow*    window2 = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Window" );
7092         int     sashPosition;
7093         wxSplitterWindow *    THIS = (wxSplitterWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SplitterWindow" );
7094         bool    RETVAL;
7095
7096         if (items < 4)
7097             sashPosition = 0;
7098         else {
7099             sashPosition = (int)SvIV(ST(3));
7100         }
7101
7102         RETVAL = THIS->SplitVertically(window1, window2, sashPosition);
7103         ST(0) = boolSV(RETVAL);
7104         sv_2mortal(ST(0));
7105     }
7106     XSRETURN(1);
7107 }
7108
7109
7110 XS(XS_Wx__SplitterWindow_Unsplit); /* prototype to pass -Wmissing-prototypes */
7111 XS(XS_Wx__SplitterWindow_Unsplit)
7112 {
7113 #ifdef dVAR
7114     dVAR; dXSARGS;
7115 #else
7116     dXSARGS;
7117 #endif
7118     if (items < 1 || items > 2)
7119        croak_xs_usage(cv,  "THIS, toRemove = NULL");
7120     {
7121         wxWindow*       toRemove;
7122         wxSplitterWindow *    THIS = (wxSplitterWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SplitterWindow" );
7123         bool    RETVAL;
7124
7125         if (items < 2)
7126             toRemove = NULL;
7127         else {
7128     toRemove = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
7129         }
7130
7131         RETVAL = THIS->Unsplit(toRemove);
7132         ST(0) = boolSV(RETVAL);
7133         sv_2mortal(ST(0));
7134     }
7135     XSRETURN(1);
7136 }
7137
7138 #if WXPERL_W_VERSION_GE( 2, 6, 0 )
7139 #define XSubPPtmpAACG 1
7140
7141
7142 XS(XS_Wx__SplitterWindow_SetSashGravity); /* prototype to pass -Wmissing-prototypes */
7143 XS(XS_Wx__SplitterWindow_SetSashGravity)
7144 {
7145 #ifdef dVAR
7146     dVAR; dXSARGS;
7147 #else
7148     dXSARGS;
7149 #endif
7150     if (items != 2)
7151        croak_xs_usage(cv,  "THIS, gravity");
7152     {
7153         double  gravity = (double)SvNV(ST(1));
7154         wxSplitterWindow *    THIS = (wxSplitterWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SplitterWindow" );
7155
7156         THIS->SetSashGravity(gravity);
7157     }
7158     XSRETURN_EMPTY;
7159 }
7160
7161
7162 XS(XS_Wx__SplitterWindow_GetSashGravity); /* prototype to pass -Wmissing-prototypes */
7163 XS(XS_Wx__SplitterWindow_GetSashGravity)
7164 {
7165 #ifdef dVAR
7166     dVAR; dXSARGS;
7167 #else
7168     dXSARGS;
7169 #endif
7170     if (items != 1)
7171        croak_xs_usage(cv,  "THIS");
7172     {
7173         wxSplitterWindow *    THIS = (wxSplitterWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SplitterWindow" );
7174         double  RETVAL;
7175         dXSTARG;
7176
7177         RETVAL = THIS->GetSashGravity();
7178         XSprePUSH; PUSHn((double)RETVAL);
7179     }
7180     XSRETURN(1);
7181 }
7182
7183 #endif
7184 #if WXPERL_W_VERSION_GE( 2, 5, 3 )
7185 #define XSubPPtmpAACH 1
7186
7187
7188 XS(XS_Wx__SplitterWindow_GetSashSize); /* prototype to pass -Wmissing-prototypes */
7189 XS(XS_Wx__SplitterWindow_GetSashSize)
7190 {
7191 #ifdef dVAR
7192     dVAR; dXSARGS;
7193 #else
7194     dXSARGS;
7195 #endif
7196     if (items != 1)
7197        croak_xs_usage(cv,  "THIS");
7198     {
7199         wxSplitterWindow *    THIS = (wxSplitterWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SplitterWindow" );
7200         int     RETVAL;
7201         dXSTARG;
7202
7203         RETVAL = THIS->GetSashSize();
7204         XSprePUSH; PUSHi((IV)RETVAL);
7205     }
7206     XSRETURN(1);
7207 }
7208
7209
7210 XS(XS_Wx__SplitterWindow_SetSashSize); /* prototype to pass -Wmissing-prototypes */
7211 XS(XS_Wx__SplitterWindow_SetSashSize)
7212 {
7213 #ifdef dVAR
7214     dVAR; dXSARGS;
7215 #else
7216     dXSARGS;
7217 #endif
7218     if (items != 2)
7219        croak_xs_usage(cv,  "THIS, width");
7220     {
7221         int     width = (int)SvIV(ST(1));
7222         wxSplitterWindow *    THIS = (wxSplitterWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SplitterWindow" );
7223
7224         THIS->SetSashSize(width);
7225     }
7226     XSRETURN_EMPTY;
7227 }
7228
7229 #endif
7230
7231 XS(XS_Wx__SplitterWindow_new); /* prototype to pass -Wmissing-prototypes */
7232 XS(XS_Wx__SplitterWindow_new)
7233 {
7234 #ifdef dVAR
7235     dVAR; dXSARGS;
7236 #else
7237     dXSARGS;
7238 #endif
7239     PERL_UNUSED_VAR(cv); /* -W */
7240     PERL_UNUSED_VAR(ax); /* -Wall */
7241     SP -= items;
7242     {
7243     BEGIN_OVERLOAD()
7244         MATCH_VOIDM_REDISP( newDefault )
7245         MATCH_ANY_REDISP( newFull )
7246     END_OVERLOAD( "Wx::SplitterWindow::new" )
7247         PUTBACK;
7248         return;
7249     }
7250 }
7251
7252
7253 /* INCLUDE: Returning to 'Window.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/SplitterWindow.xs |' */
7254
7255
7256 /* INCLUDE:  Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/VScrolledWindow.xsp |' from 'Window.xs' */
7257
7258 #if WXPERL_W_VERSION_GE( 2, 5, 0 )
7259 #include <wx/vscroll.h>
7260 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
7261 #define XSubPPtmpAACI 1
7262
7263
7264 XS(XS_Wx__HScrolledWindow_Create); /* prototype to pass -Wmissing-prototypes */
7265 XS(XS_Wx__HScrolledWindow_Create)
7266 {
7267 #ifdef dVAR
7268     dVAR; dXSARGS;
7269 #else
7270     dXSARGS;
7271 #endif
7272     if (items < 2 || items > 7)
7273        croak_xs_usage(cv,  "THIS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, name = wxPanelNameStr");
7274     {
7275         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
7276         wxWindowID      id;
7277         wxPoint pos;
7278         wxSize  size;
7279         long    style;
7280         wxString        name;
7281         wxHScrolledWindow *    THIS = (wxHScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HScrolledWindow" );
7282         bool    RETVAL;
7283
7284         if (items < 3)
7285             id = wxID_ANY;
7286         else {
7287     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
7288         }
7289
7290         if (items < 4)
7291             pos = wxDefaultPosition;
7292         else {
7293     pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) );
7294         }
7295
7296         if (items < 5)
7297             size = wxDefaultSize;
7298         else {
7299     size = wxPli_sv_2_wxsize( aTHX_ ST(4) );
7300         }
7301
7302         if (items < 6)
7303             style = 0;
7304         else {
7305             style = (long)SvIV(ST(5));
7306         }
7307
7308         if (items < 7)
7309             name = wxPanelNameStr;
7310         else {
7311     WXSTRING_INPUT( name, wxString, ST(6) );
7312         }
7313
7314         RETVAL = THIS->Create(parent, id, pos, size, style, name);
7315         ST(0) = boolSV(RETVAL);
7316         sv_2mortal(ST(0));
7317     }
7318     XSRETURN(1);
7319 }
7320
7321
7322 /* INCLUDE:  Including 'perl -pe "s/VarScrollHelperBase/HScrolledWindow/g" XS/VarScrollHelperBase.xs |' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/VScrolledWindow.xsp |' */
7323
7324
7325 XS(XS_Wx__HScrolledWindow_EnablePhysicalScrolling); /* prototype to pass -Wmissing-prototypes */
7326 XS(XS_Wx__HScrolledWindow_EnablePhysicalScrolling)
7327 {
7328 #ifdef dVAR
7329     dVAR; dXSARGS;
7330 #else
7331     dXSARGS;
7332 #endif
7333     if (items < 1 || items > 2)
7334        croak_xs_usage(cv,  "THIS, scrolling = true");
7335     {
7336         bool    scrolling;
7337         wxHScrolledWindow *    THIS = (wxHScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HScrolledWindow" );
7338
7339         if (items < 2)
7340             scrolling = true;
7341         else {
7342             scrolling = (bool)SvTRUE(ST(1));
7343         }
7344
7345         THIS->EnablePhysicalScrolling(scrolling);
7346     }
7347     XSRETURN_EMPTY;
7348 }
7349
7350
7351 XS(XS_Wx__HScrolledWindow_VirtualHitTest); /* prototype to pass -Wmissing-prototypes */
7352 XS(XS_Wx__HScrolledWindow_VirtualHitTest)
7353 {
7354 #ifdef dVAR
7355     dVAR; dXSARGS;
7356 #else
7357     dXSARGS;
7358 #endif
7359     if (items != 2)
7360        croak_xs_usage(cv,  "THIS, coord");
7361     {
7362         wxCoord coord = (wxCoord)SvIV(ST(1));
7363         wxHScrolledWindow *    THIS = (wxHScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HScrolledWindow" );
7364         int     RETVAL;
7365         dXSTARG;
7366
7367         RETVAL = THIS->VirtualHitTest(coord);
7368         XSprePUSH; PUSHi((IV)RETVAL);
7369     }
7370     XSRETURN(1);
7371 }
7372
7373
7374 XS(XS_Wx__HScrolledWindow_RefreshAll); /* prototype to pass -Wmissing-prototypes */
7375 XS(XS_Wx__HScrolledWindow_RefreshAll)
7376 {
7377 #ifdef dVAR
7378     dVAR; dXSARGS;
7379 #else
7380     dXSARGS;
7381 #endif
7382     if (items != 1)
7383        croak_xs_usage(cv,  "THIS");
7384     {
7385         wxHScrolledWindow *    THIS = (wxHScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HScrolledWindow" );
7386
7387         THIS->RefreshAll();
7388     }
7389     XSRETURN_EMPTY;
7390 }
7391
7392
7393 XS(XS_Wx__HScrolledWindow_GetVisibleBegin); /* prototype to pass -Wmissing-prototypes */
7394 XS(XS_Wx__HScrolledWindow_GetVisibleBegin)
7395 {
7396 #ifdef dVAR
7397     dVAR; dXSARGS;
7398 #else
7399     dXSARGS;
7400 #endif
7401     if (items != 1)
7402        croak_xs_usage(cv,  "THIS");
7403     {
7404         wxHScrolledWindow *    THIS = (wxHScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HScrolledWindow" );
7405         size_t  RETVAL;
7406         dXSTARG;
7407
7408         RETVAL = THIS->GetVisibleBegin();
7409         XSprePUSH; PUSHu((UV)RETVAL );
7410     }
7411     XSRETURN(1);
7412 }
7413
7414
7415 XS(XS_Wx__HScrolledWindow_GetVisibleEnd); /* prototype to pass -Wmissing-prototypes */
7416 XS(XS_Wx__HScrolledWindow_GetVisibleEnd)
7417 {
7418 #ifdef dVAR
7419     dVAR; dXSARGS;
7420 #else
7421     dXSARGS;
7422 #endif
7423     if (items != 1)
7424        croak_xs_usage(cv,  "THIS");
7425     {
7426         wxHScrolledWindow *    THIS = (wxHScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HScrolledWindow" );
7427         size_t  RETVAL;
7428         dXSTARG;
7429
7430         RETVAL = THIS->GetVisibleEnd();
7431         XSprePUSH; PUSHu((UV)RETVAL );
7432     }
7433     XSRETURN(1);
7434 }
7435
7436
7437 XS(XS_Wx__HScrolledWindow_IsVisible); /* prototype to pass -Wmissing-prototypes */
7438 XS(XS_Wx__HScrolledWindow_IsVisible)
7439 {
7440 #ifdef dVAR
7441     dVAR; dXSARGS;
7442 #else
7443     dXSARGS;
7444 #endif
7445     if (items != 2)
7446        croak_xs_usage(cv,  "THIS, unit");
7447     {
7448         size_t    unit = (size_t)SvUV( ST(1) );
7449         wxHScrolledWindow *    THIS = (wxHScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HScrolledWindow" );
7450         bool    RETVAL;
7451
7452         RETVAL = THIS->IsVisible(unit);
7453         ST(0) = boolSV(RETVAL);
7454         sv_2mortal(ST(0));
7455     }
7456     XSRETURN(1);
7457 }
7458
7459
7460 XS(XS_Wx__HScrolledWindow_CalcScrolledPosition); /* prototype to pass -Wmissing-prototypes */
7461 XS(XS_Wx__HScrolledWindow_CalcScrolledPosition)
7462 {
7463 #ifdef dVAR
7464     dVAR; dXSARGS;
7465 #else
7466     dXSARGS;
7467 #endif
7468     if (items != 2)
7469        croak_xs_usage(cv,  "THIS, coord");
7470     {
7471         int     coord = (int)SvIV(ST(1));
7472         wxHScrolledWindow *    THIS = (wxHScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HScrolledWindow" );
7473         int     RETVAL;
7474         dXSTARG;
7475
7476         RETVAL = THIS->CalcScrolledPosition(coord);
7477         XSprePUSH; PUSHi((IV)RETVAL);
7478     }
7479     XSRETURN(1);
7480 }
7481
7482
7483 XS(XS_Wx__HScrolledWindow_CalcUnscrolledPosition); /* prototype to pass -Wmissing-prototypes */
7484 XS(XS_Wx__HScrolledWindow_CalcUnscrolledPosition)
7485 {
7486 #ifdef dVAR
7487     dVAR; dXSARGS;
7488 #else
7489     dXSARGS;
7490 #endif
7491     if (items != 2)
7492        croak_xs_usage(cv,  "THIS, coord");
7493     {
7494         int     coord = (int)SvIV(ST(1));
7495         wxHScrolledWindow *    THIS = (wxHScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HScrolledWindow" );
7496         int     RETVAL;
7497         dXSTARG;
7498
7499         RETVAL = THIS->CalcUnscrolledPosition(coord);
7500         XSprePUSH; PUSHi((IV)RETVAL);
7501     }
7502     XSRETURN(1);
7503 }
7504
7505
7506 XS(XS_Wx__HScrolledWindow_UpdateScrollbar); /* prototype to pass -Wmissing-prototypes */
7507 XS(XS_Wx__HScrolledWindow_UpdateScrollbar)
7508 {
7509 #ifdef dVAR
7510     dVAR; dXSARGS;
7511 #else
7512     dXSARGS;
7513 #endif
7514     if (items != 1)
7515        croak_xs_usage(cv,  "THIS");
7516     {
7517         wxHScrolledWindow *    THIS = (wxHScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HScrolledWindow" );
7518
7519         THIS->UpdateScrollbar();
7520     }
7521     XSRETURN_EMPTY;
7522 }
7523
7524
7525 XS(XS_Wx__HScrolledWindow_RemoveScrollbar); /* prototype to pass -Wmissing-prototypes */
7526 XS(XS_Wx__HScrolledWindow_RemoveScrollbar)
7527 {
7528 #ifdef dVAR
7529     dVAR; dXSARGS;
7530 #else
7531     dXSARGS;
7532 #endif
7533     if (items != 1)
7534        croak_xs_usage(cv,  "THIS");
7535     {
7536         wxHScrolledWindow *    THIS = (wxHScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HScrolledWindow" );
7537
7538         THIS->RemoveScrollbar();
7539     }
7540     XSRETURN_EMPTY;
7541 }
7542
7543
7544 XS(XS_Wx__HScrolledWindow_SetTargetWindow); /* prototype to pass -Wmissing-prototypes */
7545 XS(XS_Wx__HScrolledWindow_SetTargetWindow)
7546 {
7547 #ifdef dVAR
7548     dVAR; dXSARGS;
7549 #else
7550     dXSARGS;
7551 #endif
7552     if (items != 2)
7553        croak_xs_usage(cv,  "THIS, target");
7554     {
7555         wxWindow*    target = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
7556         wxHScrolledWindow *    THIS = (wxHScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HScrolledWindow" );
7557
7558         THIS->SetTargetWindow(target);
7559     }
7560     XSRETURN_EMPTY;
7561 }
7562
7563
7564 XS(XS_Wx__HScrolledWindow_GetTargetWindow); /* prototype to pass -Wmissing-prototypes */
7565 XS(XS_Wx__HScrolledWindow_GetTargetWindow)
7566 {
7567 #ifdef dVAR
7568     dVAR; dXSARGS;
7569 #else
7570     dXSARGS;
7571 #endif
7572     if (items != 1)
7573        croak_xs_usage(cv,  "THIS");
7574     {
7575         wxHScrolledWindow *    THIS = (wxHScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HScrolledWindow" );
7576         wxWindow *      RETVAL;
7577
7578         RETVAL = THIS->GetTargetWindow();
7579         ST(0) = sv_newmortal();
7580     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
7581
7582     }
7583     XSRETURN(1);
7584 }
7585
7586
7587 /* INCLUDE: Returning to 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/VScrolledWindow.xsp |' from 'perl -pe "s/VarScrollHelperBase/HScrolledWindow/g" XS/VarScrollHelperBase.xs |' */
7588
7589
7590 /* INCLUDE:  Including 'perl -pe "s/VarHScrollHelper/HScrolledWindow/g" XS/VarHScrollHelper.xs |' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/VScrolledWindow.xsp |' */
7591
7592
7593 XS(XS_Wx__HScrolledWindow_SetColumnCount); /* prototype to pass -Wmissing-prototypes */
7594 XS(XS_Wx__HScrolledWindow_SetColumnCount)
7595 {
7596 #ifdef dVAR
7597     dVAR; dXSARGS;
7598 #else
7599     dXSARGS;
7600 #endif
7601     if (items != 2)
7602        croak_xs_usage(cv,  "THIS, columnCount");
7603     {
7604         size_t    columnCount = (size_t)SvUV( ST(1) );
7605         wxHScrolledWindow *    THIS = (wxHScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HScrolledWindow" );
7606
7607         THIS->SetColumnCount(columnCount);
7608     }
7609     XSRETURN_EMPTY;
7610 }
7611
7612
7613 XS(XS_Wx__HScrolledWindow_ScrollToColumn); /* prototype to pass -Wmissing-prototypes */
7614 XS(XS_Wx__HScrolledWindow_ScrollToColumn)
7615 {
7616 #ifdef dVAR
7617     dVAR; dXSARGS;
7618 #else
7619     dXSARGS;
7620 #endif
7621     if (items != 2)
7622        croak_xs_usage(cv,  "THIS, column");
7623     {
7624         size_t    column = (size_t)SvUV( ST(1) );
7625         wxHScrolledWindow *    THIS = (wxHScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HScrolledWindow" );
7626         bool    RETVAL;
7627
7628         RETVAL = THIS->ScrollToColumn(column);
7629         ST(0) = boolSV(RETVAL);
7630         sv_2mortal(ST(0));
7631     }
7632     XSRETURN(1);
7633 }
7634
7635
7636 XS(XS_Wx__HScrolledWindow_ScrollColumns); /* prototype to pass -Wmissing-prototypes */
7637 XS(XS_Wx__HScrolledWindow_ScrollColumns)
7638 {
7639 #ifdef dVAR
7640     dVAR; dXSARGS;
7641 #else
7642     dXSARGS;
7643 #endif
7644     if (items != 2)
7645        croak_xs_usage(cv,  "THIS, columns");
7646     {
7647         int     columns = (int)SvIV(ST(1));
7648         wxHScrolledWindow *    THIS = (wxHScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HScrolledWindow" );
7649         bool    RETVAL;
7650
7651         RETVAL = THIS->ScrollColumns(columns);
7652         ST(0) = boolSV(RETVAL);
7653         sv_2mortal(ST(0));
7654     }
7655     XSRETURN(1);
7656 }
7657
7658
7659 XS(XS_Wx__HScrolledWindow_ScrollColumnPages); /* prototype to pass -Wmissing-prototypes */
7660 XS(XS_Wx__HScrolledWindow_ScrollColumnPages)
7661 {
7662 #ifdef dVAR
7663     dVAR; dXSARGS;
7664 #else
7665     dXSARGS;
7666 #endif
7667     if (items != 2)
7668        croak_xs_usage(cv,  "THIS, pages");
7669     {
7670         int     pages = (int)SvIV(ST(1));
7671         wxHScrolledWindow *    THIS = (wxHScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HScrolledWindow" );
7672         bool    RETVAL;
7673
7674         RETVAL = THIS->ScrollColumnPages(pages);
7675         ST(0) = boolSV(RETVAL);
7676         sv_2mortal(ST(0));
7677     }
7678     XSRETURN(1);
7679 }
7680
7681
7682 XS(XS_Wx__HScrolledWindow_RefreshColumn); /* prototype to pass -Wmissing-prototypes */
7683 XS(XS_Wx__HScrolledWindow_RefreshColumn)
7684 {
7685 #ifdef dVAR
7686     dVAR; dXSARGS;
7687 #else
7688     dXSARGS;
7689 #endif
7690     if (items != 2)
7691        croak_xs_usage(cv,  "THIS, column");
7692     {
7693         size_t    column = (size_t)SvUV( ST(1) );
7694         wxHScrolledWindow *    THIS = (wxHScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HScrolledWindow" );
7695
7696         THIS->RefreshColumn(column);
7697     }
7698     XSRETURN_EMPTY;
7699 }
7700
7701
7702 XS(XS_Wx__HScrolledWindow_RefreshColumns); /* prototype to pass -Wmissing-prototypes */
7703 XS(XS_Wx__HScrolledWindow_RefreshColumns)
7704 {
7705 #ifdef dVAR
7706     dVAR; dXSARGS;
7707 #else
7708     dXSARGS;
7709 #endif
7710     if (items != 3)
7711        croak_xs_usage(cv,  "THIS, from, to");
7712     {
7713         size_t    from = (size_t)SvUV( ST(1) );
7714         size_t    to = (size_t)SvUV( ST(2) );
7715         wxHScrolledWindow *    THIS = (wxHScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HScrolledWindow" );
7716
7717         THIS->RefreshColumns(from, to);
7718     }
7719     XSRETURN_EMPTY;
7720 }
7721
7722
7723 XS(XS_Wx__HScrolledWindow_GetColumnCount); /* prototype to pass -Wmissing-prototypes */
7724 XS(XS_Wx__HScrolledWindow_GetColumnCount)
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         wxHScrolledWindow *    THIS = (wxHScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HScrolledWindow" );
7735         size_t  RETVAL;
7736         dXSTARG;
7737
7738         RETVAL = THIS->GetColumnCount();
7739         XSprePUSH; PUSHu((UV)RETVAL );
7740     }
7741     XSRETURN(1);
7742 }
7743
7744
7745 XS(XS_Wx__HScrolledWindow_GetVisibleColumnsBegin); /* prototype to pass -Wmissing-prototypes */
7746 XS(XS_Wx__HScrolledWindow_GetVisibleColumnsBegin)
7747 {
7748 #ifdef dVAR
7749     dVAR; dXSARGS;
7750 #else
7751     dXSARGS;
7752 #endif
7753     if (items != 1)
7754        croak_xs_usage(cv,  "THIS");
7755     {
7756         wxHScrolledWindow *    THIS = (wxHScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HScrolledWindow" );
7757         size_t  RETVAL;
7758         dXSTARG;
7759
7760         RETVAL = THIS->GetVisibleColumnsBegin();
7761         XSprePUSH; PUSHu((UV)RETVAL );
7762     }
7763     XSRETURN(1);
7764 }
7765
7766
7767 XS(XS_Wx__HScrolledWindow_GetVisibleColumnsEnd); /* prototype to pass -Wmissing-prototypes */
7768 XS(XS_Wx__HScrolledWindow_GetVisibleColumnsEnd)
7769 {
7770 #ifdef dVAR
7771     dVAR; dXSARGS;
7772 #else
7773     dXSARGS;
7774 #endif
7775     if (items != 1)
7776        croak_xs_usage(cv,  "THIS");
7777     {
7778         wxHScrolledWindow *    THIS = (wxHScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HScrolledWindow" );
7779         size_t  RETVAL;
7780         dXSTARG;
7781
7782         RETVAL = THIS->GetVisibleColumnsEnd();
7783         XSprePUSH; PUSHu((UV)RETVAL );
7784     }
7785     XSRETURN(1);
7786 }
7787
7788
7789 XS(XS_Wx__HScrolledWindow_IsColumnVisible); /* prototype to pass -Wmissing-prototypes */
7790 XS(XS_Wx__HScrolledWindow_IsColumnVisible)
7791 {
7792 #ifdef dVAR
7793     dVAR; dXSARGS;
7794 #else
7795     dXSARGS;
7796 #endif
7797     if (items != 2)
7798        croak_xs_usage(cv,  "THIS, column");
7799     {
7800         size_t    column = (size_t)SvUV( ST(1) );
7801         wxHScrolledWindow *    THIS = (wxHScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HScrolledWindow" );
7802         bool    RETVAL;
7803
7804         RETVAL = THIS->IsColumnVisible(column);
7805         ST(0) = boolSV(RETVAL);
7806         sv_2mortal(ST(0));
7807     }
7808     XSRETURN(1);
7809 }
7810
7811
7812 /* INCLUDE: Returning to 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/VScrolledWindow.xsp |' from 'perl -pe "s/VarHScrollHelper/HScrolledWindow/g" XS/VarHScrollHelper.xs |' */
7813
7814 #endif
7815 #define XSubPPtmpAACJ 1
7816
7817
7818 XS(XS_Wx__VScrolledWindow_Create); /* prototype to pass -Wmissing-prototypes */
7819 XS(XS_Wx__VScrolledWindow_Create)
7820 {
7821 #ifdef dVAR
7822     dVAR; dXSARGS;
7823 #else
7824     dXSARGS;
7825 #endif
7826     if (items < 2 || items > 7)
7827        croak_xs_usage(cv,  "THIS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, name = wxPanelNameStr");
7828     {
7829         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
7830         wxWindowID      id;
7831         wxPoint pos;
7832         wxSize  size;
7833         long    style;
7834         wxString        name;
7835         wxVScrolledWindow *    THIS = (wxVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VScrolledWindow" );
7836         bool    RETVAL;
7837
7838         if (items < 3)
7839             id = wxID_ANY;
7840         else {
7841     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
7842         }
7843
7844         if (items < 4)
7845             pos = wxDefaultPosition;
7846         else {
7847     pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) );
7848         }
7849
7850         if (items < 5)
7851             size = wxDefaultSize;
7852         else {
7853     size = wxPli_sv_2_wxsize( aTHX_ ST(4) );
7854         }
7855
7856         if (items < 6)
7857             style = 0;
7858         else {
7859             style = (long)SvIV(ST(5));
7860         }
7861
7862         if (items < 7)
7863             name = wxPanelNameStr;
7864         else {
7865     WXSTRING_INPUT( name, wxString, ST(6) );
7866         }
7867
7868         RETVAL = THIS->Create(parent, id, pos, size, style, name);
7869         ST(0) = boolSV(RETVAL);
7870         sv_2mortal(ST(0));
7871     }
7872     XSRETURN(1);
7873 }
7874
7875 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
7876 #define XSubPPtmpAACK 1
7877
7878
7879 XS(XS_Wx__VScrolledWindow_SetLineCount); /* prototype to pass -Wmissing-prototypes */
7880 XS(XS_Wx__VScrolledWindow_SetLineCount)
7881 {
7882 #ifdef dVAR
7883     dVAR; dXSARGS;
7884 #else
7885     dXSARGS;
7886 #endif
7887     if (items != 2)
7888        croak_xs_usage(cv,  "THIS, count");
7889     {
7890         size_t    count = (size_t)SvUV( ST(1) );
7891         wxVScrolledWindow *    THIS = (wxVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VScrolledWindow" );
7892     THIS->SetRowCount( count );
7893     }
7894     XSRETURN_EMPTY;
7895 }
7896
7897
7898 XS(XS_Wx__VScrolledWindow_ScrollToLine); /* prototype to pass -Wmissing-prototypes */
7899 XS(XS_Wx__VScrolledWindow_ScrollToLine)
7900 {
7901 #ifdef dVAR
7902     dVAR; dXSARGS;
7903 #else
7904     dXSARGS;
7905 #endif
7906     if (items != 2)
7907        croak_xs_usage(cv,  "THIS, line");
7908     {
7909         size_t    line = (size_t)SvUV( ST(1) );
7910         wxVScrolledWindow *    THIS = (wxVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VScrolledWindow" );
7911         bool    RETVAL;
7912     RETVAL = THIS->ScrollToRow( line );
7913         ST(0) = boolSV(RETVAL);
7914         sv_2mortal(ST(0));
7915     }
7916     XSRETURN(1);
7917 }
7918
7919
7920 XS(XS_Wx__VScrolledWindow_RefreshLine); /* prototype to pass -Wmissing-prototypes */
7921 XS(XS_Wx__VScrolledWindow_RefreshLine)
7922 {
7923 #ifdef dVAR
7924     dVAR; dXSARGS;
7925 #else
7926     dXSARGS;
7927 #endif
7928     if (items != 2)
7929        croak_xs_usage(cv,  "THIS, line");
7930     {
7931         size_t    line = (size_t)SvUV( ST(1) );
7932         wxVScrolledWindow *    THIS = (wxVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VScrolledWindow" );
7933     THIS->RefreshRow( line );
7934     }
7935     XSRETURN_EMPTY;
7936 }
7937
7938
7939 XS(XS_Wx__VScrolledWindow_RefreshLines); /* prototype to pass -Wmissing-prototypes */
7940 XS(XS_Wx__VScrolledWindow_RefreshLines)
7941 {
7942 #ifdef dVAR
7943     dVAR; dXSARGS;
7944 #else
7945     dXSARGS;
7946 #endif
7947     if (items != 3)
7948        croak_xs_usage(cv,  "THIS, from, to");
7949     {
7950         size_t    from = (size_t)SvUV( ST(1) );
7951         size_t    to = (size_t)SvUV( ST(2) );
7952         wxVScrolledWindow *    THIS = (wxVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VScrolledWindow" );
7953     THIS->RefreshRows( from, to );
7954     }
7955     XSRETURN_EMPTY;
7956 }
7957
7958
7959 XS(XS_Wx__VScrolledWindow_GetLineCount); /* prototype to pass -Wmissing-prototypes */
7960 XS(XS_Wx__VScrolledWindow_GetLineCount)
7961 {
7962 #ifdef dVAR
7963     dVAR; dXSARGS;
7964 #else
7965     dXSARGS;
7966 #endif
7967     if (items != 1)
7968        croak_xs_usage(cv,  "THIS");
7969     {
7970         wxVScrolledWindow *    THIS = (wxVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VScrolledWindow" );
7971         size_t  RETVAL;
7972         dXSTARG;
7973     RETVAL = THIS->GetRowCount();
7974         XSprePUSH; PUSHu((UV)RETVAL );
7975     }
7976     XSRETURN(1);
7977 }
7978
7979
7980 XS(XS_Wx__VScrolledWindow_GetFirstVisibleLine); /* prototype to pass -Wmissing-prototypes */
7981 XS(XS_Wx__VScrolledWindow_GetFirstVisibleLine)
7982 {
7983 #ifdef dVAR
7984     dVAR; dXSARGS;
7985 #else
7986     dXSARGS;
7987 #endif
7988     if (items != 1)
7989        croak_xs_usage(cv,  "THIS");
7990     {
7991         wxVScrolledWindow *    THIS = (wxVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VScrolledWindow" );
7992         size_t  RETVAL;
7993         dXSTARG;
7994     RETVAL = THIS->GetVisibleRowsBegin();
7995         XSprePUSH; PUSHu((UV)RETVAL );
7996     }
7997     XSRETURN(1);
7998 }
7999
8000
8001 XS(XS_Wx__VScrolledWindow_GetLastVisibleLine); /* prototype to pass -Wmissing-prototypes */
8002 XS(XS_Wx__VScrolledWindow_GetLastVisibleLine)
8003 {
8004 #ifdef dVAR
8005     dVAR; dXSARGS;
8006 #else
8007     dXSARGS;
8008 #endif
8009     if (items != 1)
8010        croak_xs_usage(cv,  "THIS");
8011     {
8012         wxVScrolledWindow *    THIS = (wxVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VScrolledWindow" );
8013         size_t  RETVAL;
8014         dXSTARG;
8015     RETVAL = THIS->GetVisibleRowsEnd();
8016         XSprePUSH; PUSHu((UV)RETVAL );
8017     }
8018     XSRETURN(1);
8019 }
8020
8021
8022 XS(XS_Wx__VScrolledWindow_ScrollLines); /* prototype to pass -Wmissing-prototypes */
8023 XS(XS_Wx__VScrolledWindow_ScrollLines)
8024 {
8025 #ifdef dVAR
8026     dVAR; dXSARGS;
8027 #else
8028     dXSARGS;
8029 #endif
8030     if (items != 2)
8031        croak_xs_usage(cv,  "THIS, lines");
8032     {
8033         int     lines = (int)SvIV(ST(1));
8034         wxVScrolledWindow *    THIS = (wxVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VScrolledWindow" );
8035         bool    RETVAL;
8036     RETVAL = THIS->ScrollRows( lines );
8037         ST(0) = boolSV(RETVAL);
8038         sv_2mortal(ST(0));
8039     }
8040     XSRETURN(1);
8041 }
8042
8043
8044 XS(XS_Wx__VScrolledWindow_ScrollPages); /* prototype to pass -Wmissing-prototypes */
8045 XS(XS_Wx__VScrolledWindow_ScrollPages)
8046 {
8047 #ifdef dVAR
8048     dVAR; dXSARGS;
8049 #else
8050     dXSARGS;
8051 #endif
8052     if (items != 2)
8053        croak_xs_usage(cv,  "THIS, pages");
8054     {
8055         int     pages = (int)SvIV(ST(1));
8056         wxVScrolledWindow *    THIS = (wxVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VScrolledWindow" );
8057         bool    RETVAL;
8058     RETVAL = THIS->ScrollRowPages( pages );
8059         ST(0) = boolSV(RETVAL);
8060         sv_2mortal(ST(0));
8061     }
8062     XSRETURN(1);
8063 }
8064
8065
8066 /* INCLUDE:  Including 'perl -pe "s/VarScrollHelperBase/VScrolledWindow/g" XS/VarScrollHelperBase.xs |' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/VScrolledWindow.xsp |' */
8067
8068
8069 XS(XS_Wx__VScrolledWindow_EnablePhysicalScrolling); /* prototype to pass -Wmissing-prototypes */
8070 XS(XS_Wx__VScrolledWindow_EnablePhysicalScrolling)
8071 {
8072 #ifdef dVAR
8073     dVAR; dXSARGS;
8074 #else
8075     dXSARGS;
8076 #endif
8077     if (items < 1 || items > 2)
8078        croak_xs_usage(cv,  "THIS, scrolling = true");
8079     {
8080         bool    scrolling;
8081         wxVScrolledWindow *    THIS = (wxVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VScrolledWindow" );
8082
8083         if (items < 2)
8084             scrolling = true;
8085         else {
8086             scrolling = (bool)SvTRUE(ST(1));
8087         }
8088
8089         THIS->EnablePhysicalScrolling(scrolling);
8090     }
8091     XSRETURN_EMPTY;
8092 }
8093
8094
8095 XS(XS_Wx__VScrolledWindow_VirtualHitTest); /* prototype to pass -Wmissing-prototypes */
8096 XS(XS_Wx__VScrolledWindow_VirtualHitTest)
8097 {
8098 #ifdef dVAR
8099     dVAR; dXSARGS;
8100 #else
8101     dXSARGS;
8102 #endif
8103     if (items != 2)
8104        croak_xs_usage(cv,  "THIS, coord");
8105     {
8106         wxCoord coord = (wxCoord)SvIV(ST(1));
8107         wxVScrolledWindow *    THIS = (wxVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VScrolledWindow" );
8108         int     RETVAL;
8109         dXSTARG;
8110
8111         RETVAL = THIS->VirtualHitTest(coord);
8112         XSprePUSH; PUSHi((IV)RETVAL);
8113     }
8114     XSRETURN(1);
8115 }
8116
8117
8118 XS(XS_Wx__VScrolledWindow_RefreshAll); /* prototype to pass -Wmissing-prototypes */
8119 XS(XS_Wx__VScrolledWindow_RefreshAll)
8120 {
8121 #ifdef dVAR
8122     dVAR; dXSARGS;
8123 #else
8124     dXSARGS;
8125 #endif
8126     if (items != 1)
8127        croak_xs_usage(cv,  "THIS");
8128     {
8129         wxVScrolledWindow *    THIS = (wxVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VScrolledWindow" );
8130
8131         THIS->RefreshAll();
8132     }
8133     XSRETURN_EMPTY;
8134 }
8135
8136
8137 XS(XS_Wx__VScrolledWindow_GetVisibleBegin); /* prototype to pass -Wmissing-prototypes */
8138 XS(XS_Wx__VScrolledWindow_GetVisibleBegin)
8139 {
8140 #ifdef dVAR
8141     dVAR; dXSARGS;
8142 #else
8143     dXSARGS;
8144 #endif
8145     if (items != 1)
8146        croak_xs_usage(cv,  "THIS");
8147     {
8148         wxVScrolledWindow *    THIS = (wxVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VScrolledWindow" );
8149         size_t  RETVAL;
8150         dXSTARG;
8151
8152         RETVAL = THIS->GetVisibleBegin();
8153         XSprePUSH; PUSHu((UV)RETVAL );
8154     }
8155     XSRETURN(1);
8156 }
8157
8158
8159 XS(XS_Wx__VScrolledWindow_GetVisibleEnd); /* prototype to pass -Wmissing-prototypes */
8160 XS(XS_Wx__VScrolledWindow_GetVisibleEnd)
8161 {
8162 #ifdef dVAR
8163     dVAR; dXSARGS;
8164 #else
8165     dXSARGS;
8166 #endif
8167     if (items != 1)
8168        croak_xs_usage(cv,  "THIS");
8169     {
8170         wxVScrolledWindow *    THIS = (wxVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VScrolledWindow" );
8171         size_t  RETVAL;
8172         dXSTARG;
8173
8174         RETVAL = THIS->GetVisibleEnd();
8175         XSprePUSH; PUSHu((UV)RETVAL );
8176     }
8177     XSRETURN(1);
8178 }
8179
8180
8181 XS(XS_Wx__VScrolledWindow_IsVisible); /* prototype to pass -Wmissing-prototypes */
8182 XS(XS_Wx__VScrolledWindow_IsVisible)
8183 {
8184 #ifdef dVAR
8185     dVAR; dXSARGS;
8186 #else
8187     dXSARGS;
8188 #endif
8189     if (items != 2)
8190        croak_xs_usage(cv,  "THIS, unit");
8191     {
8192         size_t    unit = (size_t)SvUV( ST(1) );
8193         wxVScrolledWindow *    THIS = (wxVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VScrolledWindow" );
8194         bool    RETVAL;
8195
8196         RETVAL = THIS->IsVisible(unit);
8197         ST(0) = boolSV(RETVAL);
8198         sv_2mortal(ST(0));
8199     }
8200     XSRETURN(1);
8201 }
8202
8203
8204 XS(XS_Wx__VScrolledWindow_CalcScrolledPosition); /* prototype to pass -Wmissing-prototypes */
8205 XS(XS_Wx__VScrolledWindow_CalcScrolledPosition)
8206 {
8207 #ifdef dVAR
8208     dVAR; dXSARGS;
8209 #else
8210     dXSARGS;
8211 #endif
8212     if (items != 2)
8213        croak_xs_usage(cv,  "THIS, coord");
8214     {
8215         int     coord = (int)SvIV(ST(1));
8216         wxVScrolledWindow *    THIS = (wxVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VScrolledWindow" );
8217         int     RETVAL;
8218         dXSTARG;
8219
8220         RETVAL = THIS->CalcScrolledPosition(coord);
8221         XSprePUSH; PUSHi((IV)RETVAL);
8222     }
8223     XSRETURN(1);
8224 }
8225
8226
8227 XS(XS_Wx__VScrolledWindow_CalcUnscrolledPosition); /* prototype to pass -Wmissing-prototypes */
8228 XS(XS_Wx__VScrolledWindow_CalcUnscrolledPosition)
8229 {
8230 #ifdef dVAR
8231     dVAR; dXSARGS;
8232 #else
8233     dXSARGS;
8234 #endif
8235     if (items != 2)
8236        croak_xs_usage(cv,  "THIS, coord");
8237     {
8238         int     coord = (int)SvIV(ST(1));
8239         wxVScrolledWindow *    THIS = (wxVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VScrolledWindow" );
8240         int     RETVAL;
8241         dXSTARG;
8242
8243         RETVAL = THIS->CalcUnscrolledPosition(coord);
8244         XSprePUSH; PUSHi((IV)RETVAL);
8245     }
8246     XSRETURN(1);
8247 }
8248
8249
8250 XS(XS_Wx__VScrolledWindow_UpdateScrollbar); /* prototype to pass -Wmissing-prototypes */
8251 XS(XS_Wx__VScrolledWindow_UpdateScrollbar)
8252 {
8253 #ifdef dVAR
8254     dVAR; dXSARGS;
8255 #else
8256     dXSARGS;
8257 #endif
8258     if (items != 1)
8259        croak_xs_usage(cv,  "THIS");
8260     {
8261         wxVScrolledWindow *    THIS = (wxVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VScrolledWindow" );
8262
8263         THIS->UpdateScrollbar();
8264     }
8265     XSRETURN_EMPTY;
8266 }
8267
8268
8269 XS(XS_Wx__VScrolledWindow_RemoveScrollbar); /* prototype to pass -Wmissing-prototypes */
8270 XS(XS_Wx__VScrolledWindow_RemoveScrollbar)
8271 {
8272 #ifdef dVAR
8273     dVAR; dXSARGS;
8274 #else
8275     dXSARGS;
8276 #endif
8277     if (items != 1)
8278        croak_xs_usage(cv,  "THIS");
8279     {
8280         wxVScrolledWindow *    THIS = (wxVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VScrolledWindow" );
8281
8282         THIS->RemoveScrollbar();
8283     }
8284     XSRETURN_EMPTY;
8285 }
8286
8287
8288 XS(XS_Wx__VScrolledWindow_SetTargetWindow); /* prototype to pass -Wmissing-prototypes */
8289 XS(XS_Wx__VScrolledWindow_SetTargetWindow)
8290 {
8291 #ifdef dVAR
8292     dVAR; dXSARGS;
8293 #else
8294     dXSARGS;
8295 #endif
8296     if (items != 2)
8297        croak_xs_usage(cv,  "THIS, target");
8298     {
8299         wxWindow*    target = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
8300         wxVScrolledWindow *    THIS = (wxVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VScrolledWindow" );
8301
8302         THIS->SetTargetWindow(target);
8303     }
8304     XSRETURN_EMPTY;
8305 }
8306
8307
8308 XS(XS_Wx__VScrolledWindow_GetTargetWindow); /* prototype to pass -Wmissing-prototypes */
8309 XS(XS_Wx__VScrolledWindow_GetTargetWindow)
8310 {
8311 #ifdef dVAR
8312     dVAR; dXSARGS;
8313 #else
8314     dXSARGS;
8315 #endif
8316     if (items != 1)
8317        croak_xs_usage(cv,  "THIS");
8318     {
8319         wxVScrolledWindow *    THIS = (wxVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VScrolledWindow" );
8320         wxWindow *      RETVAL;
8321
8322         RETVAL = THIS->GetTargetWindow();
8323         ST(0) = sv_newmortal();
8324     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
8325
8326     }
8327     XSRETURN(1);
8328 }
8329
8330
8331 /* INCLUDE: Returning to 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/VScrolledWindow.xsp |' from 'perl -pe "s/VarScrollHelperBase/VScrolledWindow/g" XS/VarScrollHelperBase.xs |' */
8332
8333
8334 /* INCLUDE:  Including 'perl -pe "s/VarVScrollHelper/VScrolledWindow/g" XS/VarVScrollHelper.xs |' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/VScrolledWindow.xsp |' */
8335
8336
8337 XS(XS_Wx__VScrolledWindow_SetRowCount); /* prototype to pass -Wmissing-prototypes */
8338 XS(XS_Wx__VScrolledWindow_SetRowCount)
8339 {
8340 #ifdef dVAR
8341     dVAR; dXSARGS;
8342 #else
8343     dXSARGS;
8344 #endif
8345     if (items != 2)
8346        croak_xs_usage(cv,  "THIS, count");
8347     {
8348         size_t    count = (size_t)SvUV( ST(1) );
8349         wxVScrolledWindow *    THIS = (wxVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VScrolledWindow" );
8350
8351         THIS->SetRowCount(count);
8352     }
8353     XSRETURN_EMPTY;
8354 }
8355
8356
8357 XS(XS_Wx__VScrolledWindow_ScrollToRow); /* prototype to pass -Wmissing-prototypes */
8358 XS(XS_Wx__VScrolledWindow_ScrollToRow)
8359 {
8360 #ifdef dVAR
8361     dVAR; dXSARGS;
8362 #else
8363     dXSARGS;
8364 #endif
8365     if (items != 2)
8366        croak_xs_usage(cv,  "THIS, line");
8367     {
8368         size_t    line = (size_t)SvUV( ST(1) );
8369         wxVScrolledWindow *    THIS = (wxVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VScrolledWindow" );
8370         bool    RETVAL;
8371
8372         RETVAL = THIS->ScrollToRow(line);
8373         ST(0) = boolSV(RETVAL);
8374         sv_2mortal(ST(0));
8375     }
8376     XSRETURN(1);
8377 }
8378
8379
8380 XS(XS_Wx__VScrolledWindow_RefreshRow); /* prototype to pass -Wmissing-prototypes */
8381 XS(XS_Wx__VScrolledWindow_RefreshRow)
8382 {
8383 #ifdef dVAR
8384     dVAR; dXSARGS;
8385 #else
8386     dXSARGS;
8387 #endif
8388     if (items != 2)
8389        croak_xs_usage(cv,  "THIS, line");
8390     {
8391         size_t    line = (size_t)SvUV( ST(1) );
8392         wxVScrolledWindow *    THIS = (wxVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VScrolledWindow" );
8393
8394         THIS->RefreshRow(line);
8395     }
8396     XSRETURN_EMPTY;
8397 }
8398
8399
8400 XS(XS_Wx__VScrolledWindow_RefreshRows); /* prototype to pass -Wmissing-prototypes */
8401 XS(XS_Wx__VScrolledWindow_RefreshRows)
8402 {
8403 #ifdef dVAR
8404     dVAR; dXSARGS;
8405 #else
8406     dXSARGS;
8407 #endif
8408     if (items != 3)
8409        croak_xs_usage(cv,  "THIS, from, to");
8410     {
8411         size_t    from = (size_t)SvUV( ST(1) );
8412         size_t    to = (size_t)SvUV( ST(2) );
8413         wxVScrolledWindow *    THIS = (wxVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VScrolledWindow" );
8414
8415         THIS->RefreshRows(from, to);
8416     }
8417     XSRETURN_EMPTY;
8418 }
8419
8420
8421 XS(XS_Wx__VScrolledWindow_GetRowCount); /* prototype to pass -Wmissing-prototypes */
8422 XS(XS_Wx__VScrolledWindow_GetRowCount)
8423 {
8424 #ifdef dVAR
8425     dVAR; dXSARGS;
8426 #else
8427     dXSARGS;
8428 #endif
8429     if (items != 1)
8430        croak_xs_usage(cv,  "THIS");
8431     {
8432         wxVScrolledWindow *    THIS = (wxVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VScrolledWindow" );
8433         size_t  RETVAL;
8434         dXSTARG;
8435
8436         RETVAL = THIS->GetRowCount();
8437         XSprePUSH; PUSHu((UV)RETVAL );
8438     }
8439     XSRETURN(1);
8440 }
8441
8442
8443 XS(XS_Wx__VScrolledWindow_GetVisibleRowsBegin); /* prototype to pass -Wmissing-prototypes */
8444 XS(XS_Wx__VScrolledWindow_GetVisibleRowsBegin)
8445 {
8446 #ifdef dVAR
8447     dVAR; dXSARGS;
8448 #else
8449     dXSARGS;
8450 #endif
8451     if (items != 1)
8452        croak_xs_usage(cv,  "THIS");
8453     {
8454         wxVScrolledWindow *    THIS = (wxVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VScrolledWindow" );
8455         size_t  RETVAL;
8456         dXSTARG;
8457
8458         RETVAL = THIS->GetVisibleRowsBegin();
8459         XSprePUSH; PUSHu((UV)RETVAL );
8460     }
8461     XSRETURN(1);
8462 }
8463
8464
8465 XS(XS_Wx__VScrolledWindow_GetVisibleRowsEnd); /* prototype to pass -Wmissing-prototypes */
8466 XS(XS_Wx__VScrolledWindow_GetVisibleRowsEnd)
8467 {
8468 #ifdef dVAR
8469     dVAR; dXSARGS;
8470 #else
8471     dXSARGS;
8472 #endif
8473     if (items != 1)
8474        croak_xs_usage(cv,  "THIS");
8475     {
8476         wxVScrolledWindow *    THIS = (wxVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VScrolledWindow" );
8477         size_t  RETVAL;
8478         dXSTARG;
8479
8480         RETVAL = THIS->GetVisibleRowsEnd();
8481         XSprePUSH; PUSHu((UV)RETVAL );
8482     }
8483     XSRETURN(1);
8484 }
8485
8486
8487 XS(XS_Wx__VScrolledWindow_ScrollRows); /* prototype to pass -Wmissing-prototypes */
8488 XS(XS_Wx__VScrolledWindow_ScrollRows)
8489 {
8490 #ifdef dVAR
8491     dVAR; dXSARGS;
8492 #else
8493     dXSARGS;
8494 #endif
8495     if (items != 2)
8496        croak_xs_usage(cv,  "THIS, lines");
8497     {
8498         int     lines = (int)SvIV(ST(1));
8499         wxVScrolledWindow *    THIS = (wxVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VScrolledWindow" );
8500         bool    RETVAL;
8501
8502         RETVAL = THIS->ScrollRows(lines);
8503         ST(0) = boolSV(RETVAL);
8504         sv_2mortal(ST(0));
8505     }
8506     XSRETURN(1);
8507 }
8508
8509
8510 XS(XS_Wx__VScrolledWindow_ScrollRowPages); /* prototype to pass -Wmissing-prototypes */
8511 XS(XS_Wx__VScrolledWindow_ScrollRowPages)
8512 {
8513 #ifdef dVAR
8514     dVAR; dXSARGS;
8515 #else
8516     dXSARGS;
8517 #endif
8518     if (items != 2)
8519        croak_xs_usage(cv,  "THIS, pages");
8520     {
8521         int     pages = (int)SvIV(ST(1));
8522         wxVScrolledWindow *    THIS = (wxVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VScrolledWindow" );
8523         bool    RETVAL;
8524
8525         RETVAL = THIS->ScrollRowPages(pages);
8526         ST(0) = boolSV(RETVAL);
8527         sv_2mortal(ST(0));
8528     }
8529     XSRETURN(1);
8530 }
8531
8532
8533 XS(XS_Wx__VScrolledWindow_IsRowVisible); /* prototype to pass -Wmissing-prototypes */
8534 XS(XS_Wx__VScrolledWindow_IsRowVisible)
8535 {
8536 #ifdef dVAR
8537     dVAR; dXSARGS;
8538 #else
8539     dXSARGS;
8540 #endif
8541     if (items != 2)
8542        croak_xs_usage(cv,  "THIS, line");
8543     {
8544         size_t    line = (size_t)SvUV( ST(1) );
8545         wxVScrolledWindow *    THIS = (wxVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VScrolledWindow" );
8546         bool    RETVAL;
8547
8548         RETVAL = THIS->IsRowVisible(line);
8549         ST(0) = boolSV(RETVAL);
8550         sv_2mortal(ST(0));
8551     }
8552     XSRETURN(1);
8553 }
8554
8555
8556 /* INCLUDE: Returning to 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/VScrolledWindow.xsp |' from 'perl -pe "s/VarVScrollHelper/VScrolledWindow/g" XS/VarVScrollHelper.xs |' */
8557
8558 #else
8559 #define XSubPPtmpAACL 1
8560
8561
8562 XS(XS_Wx__VScrolledWindow_SetLineCount); /* prototype to pass -Wmissing-prototypes */
8563 XS(XS_Wx__VScrolledWindow_SetLineCount)
8564 {
8565 #ifdef dVAR
8566     dVAR; dXSARGS;
8567 #else
8568     dXSARGS;
8569 #endif
8570     if (items != 2)
8571        croak_xs_usage(cv,  "THIS, count");
8572     {
8573         size_t    count = (size_t)SvUV( ST(1) );
8574         wxVScrolledWindow *    THIS = (wxVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VScrolledWindow" );
8575
8576         THIS->SetLineCount(count);
8577     }
8578     XSRETURN_EMPTY;
8579 }
8580
8581
8582 XS(XS_Wx__VScrolledWindow_ScrollToLine); /* prototype to pass -Wmissing-prototypes */
8583 XS(XS_Wx__VScrolledWindow_ScrollToLine)
8584 {
8585 #ifdef dVAR
8586     dVAR; dXSARGS;
8587 #else
8588     dXSARGS;
8589 #endif
8590     if (items != 2)
8591        croak_xs_usage(cv,  "THIS, line");
8592     {
8593         size_t    line = (size_t)SvUV( ST(1) );
8594         wxVScrolledWindow *    THIS = (wxVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VScrolledWindow" );
8595         bool    RETVAL;
8596
8597         RETVAL = THIS->ScrollToLine(line);
8598         ST(0) = boolSV(RETVAL);
8599         sv_2mortal(ST(0));
8600     }
8601     XSRETURN(1);
8602 }
8603
8604
8605 XS(XS_Wx__VScrolledWindow_RefreshLine); /* prototype to pass -Wmissing-prototypes */
8606 XS(XS_Wx__VScrolledWindow_RefreshLine)
8607 {
8608 #ifdef dVAR
8609     dVAR; dXSARGS;
8610 #else
8611     dXSARGS;
8612 #endif
8613     if (items != 2)
8614        croak_xs_usage(cv,  "THIS, line");
8615     {
8616         size_t    line = (size_t)SvUV( ST(1) );
8617         wxVScrolledWindow *    THIS = (wxVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VScrolledWindow" );
8618
8619         THIS->RefreshLine(line);
8620     }
8621     XSRETURN_EMPTY;
8622 }
8623
8624
8625 XS(XS_Wx__VScrolledWindow_RefreshLines); /* prototype to pass -Wmissing-prototypes */
8626 XS(XS_Wx__VScrolledWindow_RefreshLines)
8627 {
8628 #ifdef dVAR
8629     dVAR; dXSARGS;
8630 #else
8631     dXSARGS;
8632 #endif
8633     if (items != 3)
8634        croak_xs_usage(cv,  "THIS, from, to");
8635     {
8636         size_t    from = (size_t)SvUV( ST(1) );
8637         size_t    to = (size_t)SvUV( ST(2) );
8638         wxVScrolledWindow *    THIS = (wxVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VScrolledWindow" );
8639
8640         THIS->RefreshLines(from, to);
8641     }
8642     XSRETURN_EMPTY;
8643 }
8644
8645
8646 XS(XS_Wx__VScrolledWindow_GetLineCount); /* prototype to pass -Wmissing-prototypes */
8647 XS(XS_Wx__VScrolledWindow_GetLineCount)
8648 {
8649 #ifdef dVAR
8650     dVAR; dXSARGS;
8651 #else
8652     dXSARGS;
8653 #endif
8654     if (items != 1)
8655        croak_xs_usage(cv,  "THIS");
8656     {
8657         wxVScrolledWindow *    THIS = (wxVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VScrolledWindow" );
8658         size_t  RETVAL;
8659         dXSTARG;
8660
8661         RETVAL = THIS->GetLineCount();
8662         XSprePUSH; PUSHu((UV)RETVAL );
8663     }
8664     XSRETURN(1);
8665 }
8666
8667
8668 XS(XS_Wx__VScrolledWindow_GetFirstVisibleLine); /* prototype to pass -Wmissing-prototypes */
8669 XS(XS_Wx__VScrolledWindow_GetFirstVisibleLine)
8670 {
8671 #ifdef dVAR
8672     dVAR; dXSARGS;
8673 #else
8674     dXSARGS;
8675 #endif
8676     if (items != 1)
8677        croak_xs_usage(cv,  "THIS");
8678     {
8679         wxVScrolledWindow *    THIS = (wxVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VScrolledWindow" );
8680         size_t  RETVAL;
8681         dXSTARG;
8682
8683         RETVAL = THIS->GetFirstVisibleLine();
8684         XSprePUSH; PUSHu((UV)RETVAL );
8685     }
8686     XSRETURN(1);
8687 }
8688
8689
8690 XS(XS_Wx__VScrolledWindow_GetLastVisibleLine); /* prototype to pass -Wmissing-prototypes */
8691 XS(XS_Wx__VScrolledWindow_GetLastVisibleLine)
8692 {
8693 #ifdef dVAR
8694     dVAR; dXSARGS;
8695 #else
8696     dXSARGS;
8697 #endif
8698     if (items != 1)
8699        croak_xs_usage(cv,  "THIS");
8700     {
8701         wxVScrolledWindow *    THIS = (wxVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VScrolledWindow" );
8702         size_t  RETVAL;
8703         dXSTARG;
8704
8705         RETVAL = THIS->GetLastVisibleLine();
8706         XSprePUSH; PUSHu((UV)RETVAL );
8707     }
8708     XSRETURN(1);
8709 }
8710
8711
8712 XS(XS_Wx__VScrolledWindow_ScrollLines); /* prototype to pass -Wmissing-prototypes */
8713 XS(XS_Wx__VScrolledWindow_ScrollLines)
8714 {
8715 #ifdef dVAR
8716     dVAR; dXSARGS;
8717 #else
8718     dXSARGS;
8719 #endif
8720     if (items != 2)
8721        croak_xs_usage(cv,  "THIS, lines");
8722     {
8723         int     lines = (int)SvIV(ST(1));
8724         wxVScrolledWindow *    THIS = (wxVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VScrolledWindow" );
8725         bool    RETVAL;
8726
8727         RETVAL = THIS->ScrollLines(lines);
8728         ST(0) = boolSV(RETVAL);
8729         sv_2mortal(ST(0));
8730     }
8731     XSRETURN(1);
8732 }
8733
8734
8735 XS(XS_Wx__VScrolledWindow_ScrollPages); /* prototype to pass -Wmissing-prototypes */
8736 XS(XS_Wx__VScrolledWindow_ScrollPages)
8737 {
8738 #ifdef dVAR
8739     dVAR; dXSARGS;
8740 #else
8741     dXSARGS;
8742 #endif
8743     if (items != 2)
8744        croak_xs_usage(cv,  "THIS, pages");
8745     {
8746         int     pages = (int)SvIV(ST(1));
8747         wxVScrolledWindow *    THIS = (wxVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VScrolledWindow" );
8748         bool    RETVAL;
8749
8750         RETVAL = THIS->ScrollPages(pages);
8751         ST(0) = boolSV(RETVAL);
8752         sv_2mortal(ST(0));
8753     }
8754     XSRETURN(1);
8755 }
8756
8757
8758 XS(XS_Wx__VScrolledWindow_SetRowCount); /* prototype to pass -Wmissing-prototypes */
8759 XS(XS_Wx__VScrolledWindow_SetRowCount)
8760 {
8761 #ifdef dVAR
8762     dVAR; dXSARGS;
8763 #else
8764     dXSARGS;
8765 #endif
8766     if (items != 2)
8767        croak_xs_usage(cv,  "THIS, count");
8768     {
8769         size_t    count = (size_t)SvUV( ST(1) );
8770         wxVScrolledWindow *    THIS = (wxVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VScrolledWindow" );
8771     THIS->SetLineCount( count );
8772     }
8773     XSRETURN_EMPTY;
8774 }
8775
8776
8777 XS(XS_Wx__VScrolledWindow_ScrollToRow); /* prototype to pass -Wmissing-prototypes */
8778 XS(XS_Wx__VScrolledWindow_ScrollToRow)
8779 {
8780 #ifdef dVAR
8781     dVAR; dXSARGS;
8782 #else
8783     dXSARGS;
8784 #endif
8785     if (items != 2)
8786        croak_xs_usage(cv,  "THIS, line");
8787     {
8788         size_t    line = (size_t)SvUV( ST(1) );
8789         wxVScrolledWindow *    THIS = (wxVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VScrolledWindow" );
8790         bool    RETVAL;
8791     RETVAL = THIS->ScrollToLine( line );
8792         ST(0) = boolSV(RETVAL);
8793         sv_2mortal(ST(0));
8794     }
8795     XSRETURN(1);
8796 }
8797
8798
8799 XS(XS_Wx__VScrolledWindow_RefreshRow); /* prototype to pass -Wmissing-prototypes */
8800 XS(XS_Wx__VScrolledWindow_RefreshRow)
8801 {
8802 #ifdef dVAR
8803     dVAR; dXSARGS;
8804 #else
8805     dXSARGS;
8806 #endif
8807     if (items != 2)
8808        croak_xs_usage(cv,  "THIS, line");
8809     {
8810         size_t    line = (size_t)SvUV( ST(1) );
8811         wxVScrolledWindow *    THIS = (wxVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VScrolledWindow" );
8812     THIS->RefreshLine( line );
8813     }
8814     XSRETURN_EMPTY;
8815 }
8816
8817
8818 XS(XS_Wx__VScrolledWindow_RefreshRows); /* prototype to pass -Wmissing-prototypes */
8819 XS(XS_Wx__VScrolledWindow_RefreshRows)
8820 {
8821 #ifdef dVAR
8822     dVAR; dXSARGS;
8823 #else
8824     dXSARGS;
8825 #endif
8826     if (items != 3)
8827        croak_xs_usage(cv,  "THIS, from, to");
8828     {
8829         size_t    from = (size_t)SvUV( ST(1) );
8830         size_t    to = (size_t)SvUV( ST(2) );
8831         wxVScrolledWindow *    THIS = (wxVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VScrolledWindow" );
8832     THIS->RefreshLines( from, to );
8833     }
8834     XSRETURN_EMPTY;
8835 }
8836
8837
8838 XS(XS_Wx__VScrolledWindow_GetRowCount); /* prototype to pass -Wmissing-prototypes */
8839 XS(XS_Wx__VScrolledWindow_GetRowCount)
8840 {
8841 #ifdef dVAR
8842     dVAR; dXSARGS;
8843 #else
8844     dXSARGS;
8845 #endif
8846     if (items != 1)
8847        croak_xs_usage(cv,  "THIS");
8848     {
8849         wxVScrolledWindow *    THIS = (wxVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VScrolledWindow" );
8850         size_t  RETVAL;
8851         dXSTARG;
8852     RETVAL = THIS->GetLineCount();
8853         XSprePUSH; PUSHu((UV)RETVAL );
8854     }
8855     XSRETURN(1);
8856 }
8857
8858
8859 XS(XS_Wx__VScrolledWindow_GetVisibleRowsBegin); /* prototype to pass -Wmissing-prototypes */
8860 XS(XS_Wx__VScrolledWindow_GetVisibleRowsBegin)
8861 {
8862 #ifdef dVAR
8863     dVAR; dXSARGS;
8864 #else
8865     dXSARGS;
8866 #endif
8867     if (items != 1)
8868        croak_xs_usage(cv,  "THIS");
8869     {
8870         wxVScrolledWindow *    THIS = (wxVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VScrolledWindow" );
8871         size_t  RETVAL;
8872         dXSTARG;
8873     RETVAL = THIS->GetFirstVisibleLine();
8874         XSprePUSH; PUSHu((UV)RETVAL );
8875     }
8876     XSRETURN(1);
8877 }
8878
8879
8880 XS(XS_Wx__VScrolledWindow_GetVisibleRowsEnd); /* prototype to pass -Wmissing-prototypes */
8881 XS(XS_Wx__VScrolledWindow_GetVisibleRowsEnd)
8882 {
8883 #ifdef dVAR
8884     dVAR; dXSARGS;
8885 #else
8886     dXSARGS;
8887 #endif
8888     if (items != 1)
8889        croak_xs_usage(cv,  "THIS");
8890     {
8891         wxVScrolledWindow *    THIS = (wxVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VScrolledWindow" );
8892         size_t  RETVAL;
8893         dXSTARG;
8894     RETVAL = THIS->GetLastVisibleLine();
8895         XSprePUSH; PUSHu((UV)RETVAL );
8896     }
8897     XSRETURN(1);
8898 }
8899
8900
8901 XS(XS_Wx__VScrolledWindow_ScrollRows); /* prototype to pass -Wmissing-prototypes */
8902 XS(XS_Wx__VScrolledWindow_ScrollRows)
8903 {
8904 #ifdef dVAR
8905     dVAR; dXSARGS;
8906 #else
8907     dXSARGS;
8908 #endif
8909     if (items != 2)
8910        croak_xs_usage(cv,  "THIS, lines");
8911     {
8912         int     lines = (int)SvIV(ST(1));
8913         wxVScrolledWindow *    THIS = (wxVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VScrolledWindow" );
8914         bool    RETVAL;
8915     RETVAL = THIS->ScrollLines( lines );
8916         ST(0) = boolSV(RETVAL);
8917         sv_2mortal(ST(0));
8918     }
8919     XSRETURN(1);
8920 }
8921
8922
8923 XS(XS_Wx__VScrolledWindow_ScrollRowPages); /* prototype to pass -Wmissing-prototypes */
8924 XS(XS_Wx__VScrolledWindow_ScrollRowPages)
8925 {
8926 #ifdef dVAR
8927     dVAR; dXSARGS;
8928 #else
8929     dXSARGS;
8930 #endif
8931     if (items != 2)
8932        croak_xs_usage(cv,  "THIS, pages");
8933     {
8934         int     pages = (int)SvIV(ST(1));
8935         wxVScrolledWindow *    THIS = (wxVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VScrolledWindow" );
8936         bool    RETVAL;
8937     RETVAL = THIS->ScrollPages( pages );
8938         ST(0) = boolSV(RETVAL);
8939         sv_2mortal(ST(0));
8940     }
8941     XSRETURN(1);
8942 }
8943
8944
8945 XS(XS_Wx__VScrolledWindow_RefreshAll); /* prototype to pass -Wmissing-prototypes */
8946 XS(XS_Wx__VScrolledWindow_RefreshAll)
8947 {
8948 #ifdef dVAR
8949     dVAR; dXSARGS;
8950 #else
8951     dXSARGS;
8952 #endif
8953     if (items != 1)
8954        croak_xs_usage(cv,  "THIS");
8955     {
8956         wxVScrolledWindow *    THIS = (wxVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VScrolledWindow" );
8957
8958         THIS->RefreshAll();
8959     }
8960     XSRETURN_EMPTY;
8961 }
8962
8963 #if WXPERL_W_VERSION_GE( 2, 6, 0 )
8964 #define XSubPPtmpAACM 1
8965
8966
8967 XS(XS_Wx__VScrolledWindow_GetVisibleBegin); /* prototype to pass -Wmissing-prototypes */
8968 XS(XS_Wx__VScrolledWindow_GetVisibleBegin)
8969 {
8970 #ifdef dVAR
8971     dVAR; dXSARGS;
8972 #else
8973     dXSARGS;
8974 #endif
8975     if (items != 1)
8976        croak_xs_usage(cv,  "THIS");
8977     {
8978         wxVScrolledWindow *    THIS = (wxVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VScrolledWindow" );
8979         size_t  RETVAL;
8980         dXSTARG;
8981
8982         RETVAL = THIS->GetVisibleBegin();
8983         XSprePUSH; PUSHu((UV)RETVAL );
8984     }
8985     XSRETURN(1);
8986 }
8987
8988
8989 XS(XS_Wx__VScrolledWindow_GetVisibleEnd); /* prototype to pass -Wmissing-prototypes */
8990 XS(XS_Wx__VScrolledWindow_GetVisibleEnd)
8991 {
8992 #ifdef dVAR
8993     dVAR; dXSARGS;
8994 #else
8995     dXSARGS;
8996 #endif
8997     if (items != 1)
8998        croak_xs_usage(cv,  "THIS");
8999     {
9000         wxVScrolledWindow *    THIS = (wxVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VScrolledWindow" );
9001         size_t  RETVAL;
9002         dXSTARG;
9003
9004         RETVAL = THIS->GetVisibleEnd();
9005         XSprePUSH; PUSHu((UV)RETVAL );
9006     }
9007     XSRETURN(1);
9008 }
9009
9010 #endif
9011
9012 XS(XS_Wx__VScrolledWindow_IsVisible); /* prototype to pass -Wmissing-prototypes */
9013 XS(XS_Wx__VScrolledWindow_IsVisible)
9014 {
9015 #ifdef dVAR
9016     dVAR; dXSARGS;
9017 #else
9018     dXSARGS;
9019 #endif
9020     if (items != 2)
9021        croak_xs_usage(cv,  "THIS, line");
9022     {
9023         size_t    line = (size_t)SvUV( ST(1) );
9024         wxVScrolledWindow *    THIS = (wxVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VScrolledWindow" );
9025         bool    RETVAL;
9026
9027         RETVAL = THIS->IsVisible(line);
9028         ST(0) = boolSV(RETVAL);
9029         sv_2mortal(ST(0));
9030     }
9031     XSRETURN(1);
9032 }
9033
9034
9035 XS(XS_Wx__VScrolledWindow_IsRowVisible); /* prototype to pass -Wmissing-prototypes */
9036 XS(XS_Wx__VScrolledWindow_IsRowVisible)
9037 {
9038 #ifdef dVAR
9039     dVAR; dXSARGS;
9040 #else
9041     dXSARGS;
9042 #endif
9043     if (items != 2)
9044        croak_xs_usage(cv,  "THIS, line");
9045     {
9046         size_t    line = (size_t)SvUV( ST(1) );
9047         wxVScrolledWindow *    THIS = (wxVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VScrolledWindow" );
9048         bool    RETVAL;
9049     RETVAL = THIS->IsVisible( line );
9050         ST(0) = boolSV(RETVAL);
9051         sv_2mortal(ST(0));
9052     }
9053     XSRETURN(1);
9054 }
9055
9056 #endif
9057
9058 XS(XS_Wx__VScrolledWindow_HitTest); /* prototype to pass -Wmissing-prototypes */
9059 XS(XS_Wx__VScrolledWindow_HitTest)
9060 {
9061 #ifdef dVAR
9062     dVAR; dXSARGS;
9063 #else
9064     dXSARGS;
9065 #endif
9066     if (items != 2)
9067        croak_xs_usage(cv,  "THIS, pt");
9068     {
9069         wxPoint    pt = wxPli_sv_2_wxpoint( aTHX_ ST(1) );
9070         wxVScrolledWindow *    THIS = (wxVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VScrolledWindow" );
9071         int     RETVAL;
9072         dXSTARG;
9073
9074         RETVAL = THIS->HitTest(pt);
9075         XSprePUSH; PUSHi((IV)RETVAL);
9076     }
9077     XSRETURN(1);
9078 }
9079
9080
9081 XS(XS_Wx__VScrolledWindow_Layout); /* prototype to pass -Wmissing-prototypes */
9082 XS(XS_Wx__VScrolledWindow_Layout)
9083 {
9084 #ifdef dVAR
9085     dVAR; dXSARGS;
9086 #else
9087     dXSARGS;
9088 #endif
9089     if (items != 1)
9090        croak_xs_usage(cv,  "THIS");
9091     {
9092         wxVScrolledWindow *    THIS = (wxVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VScrolledWindow" );
9093         bool    RETVAL;
9094
9095         RETVAL = THIS->Layout();
9096         ST(0) = boolSV(RETVAL);
9097         sv_2mortal(ST(0));
9098     }
9099     XSRETURN(1);
9100 }
9101
9102 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
9103 #define XSubPPtmpAACN 1
9104
9105
9106 XS(XS_Wx__HVScrolledWindow_Create); /* prototype to pass -Wmissing-prototypes */
9107 XS(XS_Wx__HVScrolledWindow_Create)
9108 {
9109 #ifdef dVAR
9110     dVAR; dXSARGS;
9111 #else
9112     dXSARGS;
9113 #endif
9114     if (items < 2 || items > 7)
9115        croak_xs_usage(cv,  "THIS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, name = wxPanelNameStr");
9116     {
9117         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
9118         wxWindowID      id;
9119         wxPoint pos;
9120         wxSize  size;
9121         long    style;
9122         wxString        name;
9123         wxHVScrolledWindow *    THIS = (wxHVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HVScrolledWindow" );
9124         bool    RETVAL;
9125
9126         if (items < 3)
9127             id = wxID_ANY;
9128         else {
9129     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
9130         }
9131
9132         if (items < 4)
9133             pos = wxDefaultPosition;
9134         else {
9135     pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) );
9136         }
9137
9138         if (items < 5)
9139             size = wxDefaultSize;
9140         else {
9141     size = wxPli_sv_2_wxsize( aTHX_ ST(4) );
9142         }
9143
9144         if (items < 6)
9145             style = 0;
9146         else {
9147             style = (long)SvIV(ST(5));
9148         }
9149
9150         if (items < 7)
9151             name = wxPanelNameStr;
9152         else {
9153     WXSTRING_INPUT( name, wxString, ST(6) );
9154         }
9155
9156         RETVAL = THIS->Create(parent, id, pos, size, style, name);
9157         ST(0) = boolSV(RETVAL);
9158         sv_2mortal(ST(0));
9159     }
9160     XSRETURN(1);
9161 }
9162
9163
9164 /* INCLUDE:  Including 'perl -pe "s/VarHScrollHelper/HVScrolledWindow/g" XS/VarHScrollHelper.xs |' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/VScrolledWindow.xsp |' */
9165
9166
9167 XS(XS_Wx__HVScrolledWindow_SetColumnCount); /* prototype to pass -Wmissing-prototypes */
9168 XS(XS_Wx__HVScrolledWindow_SetColumnCount)
9169 {
9170 #ifdef dVAR
9171     dVAR; dXSARGS;
9172 #else
9173     dXSARGS;
9174 #endif
9175     if (items != 2)
9176        croak_xs_usage(cv,  "THIS, columnCount");
9177     {
9178         size_t    columnCount = (size_t)SvUV( ST(1) );
9179         wxHVScrolledWindow *    THIS = (wxHVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HVScrolledWindow" );
9180
9181         THIS->SetColumnCount(columnCount);
9182     }
9183     XSRETURN_EMPTY;
9184 }
9185
9186
9187 XS(XS_Wx__HVScrolledWindow_ScrollToColumn); /* prototype to pass -Wmissing-prototypes */
9188 XS(XS_Wx__HVScrolledWindow_ScrollToColumn)
9189 {
9190 #ifdef dVAR
9191     dVAR; dXSARGS;
9192 #else
9193     dXSARGS;
9194 #endif
9195     if (items != 2)
9196        croak_xs_usage(cv,  "THIS, column");
9197     {
9198         size_t    column = (size_t)SvUV( ST(1) );
9199         wxHVScrolledWindow *    THIS = (wxHVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HVScrolledWindow" );
9200         bool    RETVAL;
9201
9202         RETVAL = THIS->ScrollToColumn(column);
9203         ST(0) = boolSV(RETVAL);
9204         sv_2mortal(ST(0));
9205     }
9206     XSRETURN(1);
9207 }
9208
9209
9210 XS(XS_Wx__HVScrolledWindow_ScrollColumns); /* prototype to pass -Wmissing-prototypes */
9211 XS(XS_Wx__HVScrolledWindow_ScrollColumns)
9212 {
9213 #ifdef dVAR
9214     dVAR; dXSARGS;
9215 #else
9216     dXSARGS;
9217 #endif
9218     if (items != 2)
9219        croak_xs_usage(cv,  "THIS, columns");
9220     {
9221         int     columns = (int)SvIV(ST(1));
9222         wxHVScrolledWindow *    THIS = (wxHVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HVScrolledWindow" );
9223         bool    RETVAL;
9224
9225         RETVAL = THIS->ScrollColumns(columns);
9226         ST(0) = boolSV(RETVAL);
9227         sv_2mortal(ST(0));
9228     }
9229     XSRETURN(1);
9230 }
9231
9232
9233 XS(XS_Wx__HVScrolledWindow_ScrollColumnPages); /* prototype to pass -Wmissing-prototypes */
9234 XS(XS_Wx__HVScrolledWindow_ScrollColumnPages)
9235 {
9236 #ifdef dVAR
9237     dVAR; dXSARGS;
9238 #else
9239     dXSARGS;
9240 #endif
9241     if (items != 2)
9242        croak_xs_usage(cv,  "THIS, pages");
9243     {
9244         int     pages = (int)SvIV(ST(1));
9245         wxHVScrolledWindow *    THIS = (wxHVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HVScrolledWindow" );
9246         bool    RETVAL;
9247
9248         RETVAL = THIS->ScrollColumnPages(pages);
9249         ST(0) = boolSV(RETVAL);
9250         sv_2mortal(ST(0));
9251     }
9252     XSRETURN(1);
9253 }
9254
9255
9256 XS(XS_Wx__HVScrolledWindow_RefreshColumn); /* prototype to pass -Wmissing-prototypes */
9257 XS(XS_Wx__HVScrolledWindow_RefreshColumn)
9258 {
9259 #ifdef dVAR
9260     dVAR; dXSARGS;
9261 #else
9262     dXSARGS;
9263 #endif
9264     if (items != 2)
9265        croak_xs_usage(cv,  "THIS, column");
9266     {
9267         size_t    column = (size_t)SvUV( ST(1) );
9268         wxHVScrolledWindow *    THIS = (wxHVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HVScrolledWindow" );
9269
9270         THIS->RefreshColumn(column);
9271     }
9272     XSRETURN_EMPTY;
9273 }
9274
9275
9276 XS(XS_Wx__HVScrolledWindow_RefreshColumns); /* prototype to pass -Wmissing-prototypes */
9277 XS(XS_Wx__HVScrolledWindow_RefreshColumns)
9278 {
9279 #ifdef dVAR
9280     dVAR; dXSARGS;
9281 #else
9282     dXSARGS;
9283 #endif
9284     if (items != 3)
9285        croak_xs_usage(cv,  "THIS, from, to");
9286     {
9287         size_t    from = (size_t)SvUV( ST(1) );
9288         size_t    to = (size_t)SvUV( ST(2) );
9289         wxHVScrolledWindow *    THIS = (wxHVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HVScrolledWindow" );
9290
9291         THIS->RefreshColumns(from, to);
9292     }
9293     XSRETURN_EMPTY;
9294 }
9295
9296
9297 XS(XS_Wx__HVScrolledWindow_GetColumnCount); /* prototype to pass -Wmissing-prototypes */
9298 XS(XS_Wx__HVScrolledWindow_GetColumnCount)
9299 {
9300 #ifdef dVAR
9301     dVAR; dXSARGS;
9302 #else
9303     dXSARGS;
9304 #endif
9305     if (items != 1)
9306        croak_xs_usage(cv,  "THIS");
9307     {
9308         wxHVScrolledWindow *    THIS = (wxHVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HVScrolledWindow" );
9309         size_t  RETVAL;
9310         dXSTARG;
9311
9312         RETVAL = THIS->GetColumnCount();
9313         XSprePUSH; PUSHu((UV)RETVAL );
9314     }
9315     XSRETURN(1);
9316 }
9317
9318
9319 XS(XS_Wx__HVScrolledWindow_GetVisibleColumnsBegin); /* prototype to pass -Wmissing-prototypes */
9320 XS(XS_Wx__HVScrolledWindow_GetVisibleColumnsBegin)
9321 {
9322 #ifdef dVAR
9323     dVAR; dXSARGS;
9324 #else
9325     dXSARGS;
9326 #endif
9327     if (items != 1)
9328        croak_xs_usage(cv,  "THIS");
9329     {
9330         wxHVScrolledWindow *    THIS = (wxHVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HVScrolledWindow" );
9331         size_t  RETVAL;
9332         dXSTARG;
9333
9334         RETVAL = THIS->GetVisibleColumnsBegin();
9335         XSprePUSH; PUSHu((UV)RETVAL );
9336     }
9337     XSRETURN(1);
9338 }
9339
9340
9341 XS(XS_Wx__HVScrolledWindow_GetVisibleColumnsEnd); /* prototype to pass -Wmissing-prototypes */
9342 XS(XS_Wx__HVScrolledWindow_GetVisibleColumnsEnd)
9343 {
9344 #ifdef dVAR
9345     dVAR; dXSARGS;
9346 #else
9347     dXSARGS;
9348 #endif
9349     if (items != 1)
9350        croak_xs_usage(cv,  "THIS");
9351     {
9352         wxHVScrolledWindow *    THIS = (wxHVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HVScrolledWindow" );
9353         size_t  RETVAL;
9354         dXSTARG;
9355
9356         RETVAL = THIS->GetVisibleColumnsEnd();
9357         XSprePUSH; PUSHu((UV)RETVAL );
9358     }
9359     XSRETURN(1);
9360 }
9361
9362
9363 XS(XS_Wx__HVScrolledWindow_IsColumnVisible); /* prototype to pass -Wmissing-prototypes */
9364 XS(XS_Wx__HVScrolledWindow_IsColumnVisible)
9365 {
9366 #ifdef dVAR
9367     dVAR; dXSARGS;
9368 #else
9369     dXSARGS;
9370 #endif
9371     if (items != 2)
9372        croak_xs_usage(cv,  "THIS, column");
9373     {
9374         size_t    column = (size_t)SvUV( ST(1) );
9375         wxHVScrolledWindow *    THIS = (wxHVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HVScrolledWindow" );
9376         bool    RETVAL;
9377
9378         RETVAL = THIS->IsColumnVisible(column);
9379         ST(0) = boolSV(RETVAL);
9380         sv_2mortal(ST(0));
9381     }
9382     XSRETURN(1);
9383 }
9384
9385
9386 /* INCLUDE: Returning to 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/VScrolledWindow.xsp |' from 'perl -pe "s/VarHScrollHelper/HVScrolledWindow/g" XS/VarHScrollHelper.xs |' */
9387
9388
9389 /* INCLUDE:  Including 'perl -pe "s/VarVScrollHelper/HVScrolledWindow/g" XS/VarVScrollHelper.xs |' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/VScrolledWindow.xsp |' */
9390
9391
9392 XS(XS_Wx__HVScrolledWindow_SetRowCount); /* prototype to pass -Wmissing-prototypes */
9393 XS(XS_Wx__HVScrolledWindow_SetRowCount)
9394 {
9395 #ifdef dVAR
9396     dVAR; dXSARGS;
9397 #else
9398     dXSARGS;
9399 #endif
9400     if (items != 2)
9401        croak_xs_usage(cv,  "THIS, count");
9402     {
9403         size_t    count = (size_t)SvUV( ST(1) );
9404         wxHVScrolledWindow *    THIS = (wxHVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HVScrolledWindow" );
9405
9406         THIS->SetRowCount(count);
9407     }
9408     XSRETURN_EMPTY;
9409 }
9410
9411
9412 XS(XS_Wx__HVScrolledWindow_ScrollToRow); /* prototype to pass -Wmissing-prototypes */
9413 XS(XS_Wx__HVScrolledWindow_ScrollToRow)
9414 {
9415 #ifdef dVAR
9416     dVAR; dXSARGS;
9417 #else
9418     dXSARGS;
9419 #endif
9420     if (items != 2)
9421        croak_xs_usage(cv,  "THIS, line");
9422     {
9423         size_t    line = (size_t)SvUV( ST(1) );
9424         wxHVScrolledWindow *    THIS = (wxHVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HVScrolledWindow" );
9425         bool    RETVAL;
9426
9427         RETVAL = THIS->ScrollToRow(line);
9428         ST(0) = boolSV(RETVAL);
9429         sv_2mortal(ST(0));
9430     }
9431     XSRETURN(1);
9432 }
9433
9434
9435 XS(XS_Wx__HVScrolledWindow_RefreshRow); /* prototype to pass -Wmissing-prototypes */
9436 XS(XS_Wx__HVScrolledWindow_RefreshRow)
9437 {
9438 #ifdef dVAR
9439     dVAR; dXSARGS;
9440 #else
9441     dXSARGS;
9442 #endif
9443     if (items != 2)
9444        croak_xs_usage(cv,  "THIS, line");
9445     {
9446         size_t    line = (size_t)SvUV( ST(1) );
9447         wxHVScrolledWindow *    THIS = (wxHVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HVScrolledWindow" );
9448
9449         THIS->RefreshRow(line);
9450     }
9451     XSRETURN_EMPTY;
9452 }
9453
9454
9455 XS(XS_Wx__HVScrolledWindow_RefreshRows); /* prototype to pass -Wmissing-prototypes */
9456 XS(XS_Wx__HVScrolledWindow_RefreshRows)
9457 {
9458 #ifdef dVAR
9459     dVAR; dXSARGS;
9460 #else
9461     dXSARGS;
9462 #endif
9463     if (items != 3)
9464        croak_xs_usage(cv,  "THIS, from, to");
9465     {
9466         size_t    from = (size_t)SvUV( ST(1) );
9467         size_t    to = (size_t)SvUV( ST(2) );
9468         wxHVScrolledWindow *    THIS = (wxHVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HVScrolledWindow" );
9469
9470         THIS->RefreshRows(from, to);
9471     }
9472     XSRETURN_EMPTY;
9473 }
9474
9475
9476 XS(XS_Wx__HVScrolledWindow_GetRowCount); /* prototype to pass -Wmissing-prototypes */
9477 XS(XS_Wx__HVScrolledWindow_GetRowCount)
9478 {
9479 #ifdef dVAR
9480     dVAR; dXSARGS;
9481 #else
9482     dXSARGS;
9483 #endif
9484     if (items != 1)
9485        croak_xs_usage(cv,  "THIS");
9486     {
9487         wxHVScrolledWindow *    THIS = (wxHVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HVScrolledWindow" );
9488         size_t  RETVAL;
9489         dXSTARG;
9490
9491         RETVAL = THIS->GetRowCount();
9492         XSprePUSH; PUSHu((UV)RETVAL );
9493     }
9494     XSRETURN(1);
9495 }
9496
9497
9498 XS(XS_Wx__HVScrolledWindow_GetVisibleRowsBegin); /* prototype to pass -Wmissing-prototypes */
9499 XS(XS_Wx__HVScrolledWindow_GetVisibleRowsBegin)
9500 {
9501 #ifdef dVAR
9502     dVAR; dXSARGS;
9503 #else
9504     dXSARGS;
9505 #endif
9506     if (items != 1)
9507        croak_xs_usage(cv,  "THIS");
9508     {
9509         wxHVScrolledWindow *    THIS = (wxHVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HVScrolledWindow" );
9510         size_t  RETVAL;
9511         dXSTARG;
9512
9513         RETVAL = THIS->GetVisibleRowsBegin();
9514         XSprePUSH; PUSHu((UV)RETVAL );
9515     }
9516     XSRETURN(1);
9517 }
9518
9519
9520 XS(XS_Wx__HVScrolledWindow_GetVisibleRowsEnd); /* prototype to pass -Wmissing-prototypes */
9521 XS(XS_Wx__HVScrolledWindow_GetVisibleRowsEnd)
9522 {
9523 #ifdef dVAR
9524     dVAR; dXSARGS;
9525 #else
9526     dXSARGS;
9527 #endif
9528     if (items != 1)
9529        croak_xs_usage(cv,  "THIS");
9530     {
9531         wxHVScrolledWindow *    THIS = (wxHVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HVScrolledWindow" );
9532         size_t  RETVAL;
9533         dXSTARG;
9534
9535         RETVAL = THIS->GetVisibleRowsEnd();
9536         XSprePUSH; PUSHu((UV)RETVAL );
9537     }
9538     XSRETURN(1);
9539 }
9540
9541
9542 XS(XS_Wx__HVScrolledWindow_ScrollRows); /* prototype to pass -Wmissing-prototypes */
9543 XS(XS_Wx__HVScrolledWindow_ScrollRows)
9544 {
9545 #ifdef dVAR
9546     dVAR; dXSARGS;
9547 #else
9548     dXSARGS;
9549 #endif
9550     if (items != 2)
9551        croak_xs_usage(cv,  "THIS, lines");
9552     {
9553         int     lines = (int)SvIV(ST(1));
9554         wxHVScrolledWindow *    THIS = (wxHVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HVScrolledWindow" );
9555         bool    RETVAL;
9556
9557         RETVAL = THIS->ScrollRows(lines);
9558         ST(0) = boolSV(RETVAL);
9559         sv_2mortal(ST(0));
9560     }
9561     XSRETURN(1);
9562 }
9563
9564
9565 XS(XS_Wx__HVScrolledWindow_ScrollRowPages); /* prototype to pass -Wmissing-prototypes */
9566 XS(XS_Wx__HVScrolledWindow_ScrollRowPages)
9567 {
9568 #ifdef dVAR
9569     dVAR; dXSARGS;
9570 #else
9571     dXSARGS;
9572 #endif
9573     if (items != 2)
9574        croak_xs_usage(cv,  "THIS, pages");
9575     {
9576         int     pages = (int)SvIV(ST(1));
9577         wxHVScrolledWindow *    THIS = (wxHVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HVScrolledWindow" );
9578         bool    RETVAL;
9579
9580         RETVAL = THIS->ScrollRowPages(pages);
9581         ST(0) = boolSV(RETVAL);
9582         sv_2mortal(ST(0));
9583     }
9584     XSRETURN(1);
9585 }
9586
9587
9588 XS(XS_Wx__HVScrolledWindow_IsRowVisible); /* prototype to pass -Wmissing-prototypes */
9589 XS(XS_Wx__HVScrolledWindow_IsRowVisible)
9590 {
9591 #ifdef dVAR
9592     dVAR; dXSARGS;
9593 #else
9594     dXSARGS;
9595 #endif
9596     if (items != 2)
9597        croak_xs_usage(cv,  "THIS, line");
9598     {
9599         size_t    line = (size_t)SvUV( ST(1) );
9600         wxHVScrolledWindow *    THIS = (wxHVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HVScrolledWindow" );
9601         bool    RETVAL;
9602
9603         RETVAL = THIS->IsRowVisible(line);
9604         ST(0) = boolSV(RETVAL);
9605         sv_2mortal(ST(0));
9606     }
9607     XSRETURN(1);
9608 }
9609
9610
9611 /* INCLUDE: Returning to 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/VScrolledWindow.xsp |' from 'perl -pe "s/VarVScrollHelper/HVScrolledWindow/g" XS/VarVScrollHelper.xs |' */
9612
9613
9614 /* INCLUDE:  Including 'perl -pe "s/VarHVScrollHelper/HVScrolledWindow/g" XS/VarHVScrollHelper.xs |' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/VScrolledWindow.xsp |' */
9615
9616
9617 XS(XS_Wx__HVScrolledWindow_SetRowColumnCount); /* prototype to pass -Wmissing-prototypes */
9618 XS(XS_Wx__HVScrolledWindow_SetRowColumnCount)
9619 {
9620 #ifdef dVAR
9621     dVAR; dXSARGS;
9622 #else
9623     dXSARGS;
9624 #endif
9625     if (items != 3)
9626        croak_xs_usage(cv,  "THIS, rowCount, columnCount");
9627     {
9628         size_t    rowCount = (size_t)SvUV( ST(1) );
9629         size_t    columnCount = (size_t)SvUV( ST(2) );
9630         wxHVScrolledWindow *    THIS = (wxHVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HVScrolledWindow" );
9631
9632         THIS->SetRowColumnCount(rowCount, columnCount);
9633     }
9634     XSRETURN_EMPTY;
9635 }
9636
9637
9638 XS(XS_Wx__HVScrolledWindow_EnablePhysicalScrolling); /* prototype to pass -Wmissing-prototypes */
9639 XS(XS_Wx__HVScrolledWindow_EnablePhysicalScrolling)
9640 {
9641 #ifdef dVAR
9642     dVAR; dXSARGS;
9643 #else
9644     dXSARGS;
9645 #endif
9646     if (items < 1 || items > 3)
9647        croak_xs_usage(cv,  "THIS, vscrolling = true, hscrolling = true");
9648     {
9649         bool    vscrolling;
9650         bool    hscrolling;
9651         wxHVScrolledWindow *    THIS = (wxHVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HVScrolledWindow" );
9652
9653         if (items < 2)
9654             vscrolling = true;
9655         else {
9656             vscrolling = (bool)SvTRUE(ST(1));
9657         }
9658
9659         if (items < 3)
9660             hscrolling = true;
9661         else {
9662             hscrolling = (bool)SvTRUE(ST(2));
9663         }
9664
9665         THIS->EnablePhysicalScrolling(vscrolling, hscrolling);
9666     }
9667     XSRETURN_EMPTY;
9668 }
9669
9670
9671 XS(XS_Wx__HVScrolledWindow_ScrollToRowColumn); /* prototype to pass -Wmissing-prototypes */
9672 XS(XS_Wx__HVScrolledWindow_ScrollToRowColumn)
9673 {
9674 #ifdef dVAR
9675     dVAR; dXSARGS;
9676 #else
9677     dXSARGS;
9678 #endif
9679     if (items < 1)
9680        croak_xs_usage(cv,  "THIS, ...");
9681     PERL_UNUSED_VAR(ax); /* -Wall */
9682     SP -= items;
9683     {
9684         wxHVScrolledWindow *    THIS = (wxHVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HVScrolledWindow" );
9685     BEGIN_OVERLOAD()
9686         MATCH_REDISP( wxPliOvl_n_n, ScrollToRowColumnRC )
9687         MATCH_REDISP( wxPliOvl_wpos, ScrollToRowColumnPosition )
9688     END_OVERLOAD( Wx::HVScrolledWindow::ScrollToRowColumn )
9689         PUTBACK;
9690         return;
9691     }
9692 }
9693
9694
9695 XS(XS_Wx__HVScrolledWindow_ScrollToRowColumnRC); /* prototype to pass -Wmissing-prototypes */
9696 XS(XS_Wx__HVScrolledWindow_ScrollToRowColumnRC)
9697 {
9698 #ifdef dVAR
9699     dVAR; dXSARGS;
9700 #else
9701     dXSARGS;
9702 #endif
9703     if (items != 3)
9704        croak_xs_usage(cv,  "THIS, row, column");
9705     {
9706         size_t    row = (size_t)SvUV( ST(1) );
9707         size_t    column = (size_t)SvUV( ST(2) );
9708         wxHVScrolledWindow *    THIS = (wxHVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HVScrolledWindow" );
9709         bool    RETVAL;
9710     RETVAL = THIS->ScrollToRowColumn( row, column );
9711         ST(0) = boolSV(RETVAL);
9712         sv_2mortal(ST(0));
9713     }
9714     XSRETURN(1);
9715 }
9716
9717
9718 XS(XS_Wx__HVScrolledWindow_ScrollToRowColumnPosition); /* prototype to pass -Wmissing-prototypes */
9719 XS(XS_Wx__HVScrolledWindow_ScrollToRowColumnPosition)
9720 {
9721 #ifdef dVAR
9722     dVAR; dXSARGS;
9723 #else
9724     dXSARGS;
9725 #endif
9726     if (items != 2)
9727        croak_xs_usage(cv,  "THIS, pos");
9728     {
9729         wxPosition    pos = wxPli_sv_2_wxposition( aTHX_ ST(1) );
9730         wxHVScrolledWindow *    THIS = (wxHVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HVScrolledWindow" );
9731         bool    RETVAL;
9732     RETVAL = THIS->ScrollToRowColumn( pos );
9733         ST(0) = boolSV(RETVAL);
9734         sv_2mortal(ST(0));
9735     }
9736     XSRETURN(1);
9737 }
9738
9739
9740 XS(XS_Wx__HVScrolledWindow_RefreshRowColumn); /* prototype to pass -Wmissing-prototypes */
9741 XS(XS_Wx__HVScrolledWindow_RefreshRowColumn)
9742 {
9743 #ifdef dVAR
9744     dVAR; dXSARGS;
9745 #else
9746     dXSARGS;
9747 #endif
9748     if (items < 1)
9749        croak_xs_usage(cv,  "THIS, ...");
9750     PERL_UNUSED_VAR(ax); /* -Wall */
9751     SP -= items;
9752     {
9753         wxHVScrolledWindow *    THIS = (wxHVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HVScrolledWindow" );
9754     BEGIN_OVERLOAD()
9755         MATCH_REDISP( wxPliOvl_n_n, RefreshRowColumnRC )
9756         MATCH_REDISP( wxPliOvl_wpos, RefreshRowColumnPosition )
9757     END_OVERLOAD( Wx::HVScrolledWindow::RefreshRowColumn )
9758         PUTBACK;
9759         return;
9760     }
9761 }
9762
9763
9764 XS(XS_Wx__HVScrolledWindow_RefreshRowColumnRC); /* prototype to pass -Wmissing-prototypes */
9765 XS(XS_Wx__HVScrolledWindow_RefreshRowColumnRC)
9766 {
9767 #ifdef dVAR
9768     dVAR; dXSARGS;
9769 #else
9770     dXSARGS;
9771 #endif
9772     if (items != 3)
9773        croak_xs_usage(cv,  "THIS, row, column");
9774     {
9775         size_t    row = (size_t)SvUV( ST(1) );
9776         size_t    column = (size_t)SvUV( ST(2) );
9777         wxHVScrolledWindow *    THIS = (wxHVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HVScrolledWindow" );
9778     THIS->RefreshRowColumn( row, column );
9779     }
9780     XSRETURN_EMPTY;
9781 }
9782
9783
9784 XS(XS_Wx__HVScrolledWindow_RefreshRowColumnPosition); /* prototype to pass -Wmissing-prototypes */
9785 XS(XS_Wx__HVScrolledWindow_RefreshRowColumnPosition)
9786 {
9787 #ifdef dVAR
9788     dVAR; dXSARGS;
9789 #else
9790     dXSARGS;
9791 #endif
9792     if (items != 2)
9793        croak_xs_usage(cv,  "THIS, pos");
9794     {
9795         wxPosition    pos = wxPli_sv_2_wxposition( aTHX_ ST(1) );
9796         wxHVScrolledWindow *    THIS = (wxHVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HVScrolledWindow" );
9797     THIS->RefreshRowColumn( pos );
9798     }
9799     XSRETURN_EMPTY;
9800 }
9801
9802
9803 XS(XS_Wx__HVScrolledWindow_RefreshRowsColumns); /* prototype to pass -Wmissing-prototypes */
9804 XS(XS_Wx__HVScrolledWindow_RefreshRowsColumns)
9805 {
9806 #ifdef dVAR
9807     dVAR; dXSARGS;
9808 #else
9809     dXSARGS;
9810 #endif
9811     if (items < 1)
9812        croak_xs_usage(cv,  "THIS, ...");
9813     PERL_UNUSED_VAR(ax); /* -Wall */
9814     SP -= items;
9815     {
9816         wxHVScrolledWindow *    THIS = (wxHVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HVScrolledWindow" );
9817     BEGIN_OVERLOAD()
9818         MATCH_REDISP( wxPliOvl_n_n_n_n, RefreshRowsColumnsRC )
9819         MATCH_REDISP( wxPliOvl_wpos_wpos, RefreshRowsColumnsPosition )
9820     END_OVERLOAD( Wx::HVScrolledWindow::RefreshRowsColumns )
9821         PUTBACK;
9822         return;
9823     }
9824 }
9825
9826
9827 XS(XS_Wx__HVScrolledWindow_RefreshRowsColumnsRC); /* prototype to pass -Wmissing-prototypes */
9828 XS(XS_Wx__HVScrolledWindow_RefreshRowsColumnsRC)
9829 {
9830 #ifdef dVAR
9831     dVAR; dXSARGS;
9832 #else
9833     dXSARGS;
9834 #endif
9835     if (items != 5)
9836        croak_xs_usage(cv,  "THIS, fromRow, toRow, fromColumn, toColumn");
9837     {
9838         size_t    fromRow = (size_t)SvUV( ST(1) );
9839         size_t    toRow = (size_t)SvUV( ST(2) );
9840         size_t    fromColumn = (size_t)SvUV( ST(3) );
9841         size_t    toColumn = (size_t)SvUV( ST(4) );
9842         wxHVScrolledWindow *    THIS = (wxHVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HVScrolledWindow" );
9843     THIS->RefreshRowsColumns( fromRow, toRow, fromColumn, toColumn );
9844     }
9845     XSRETURN_EMPTY;
9846 }
9847
9848
9849 XS(XS_Wx__HVScrolledWindow_RefreshRowsColumnsPosition); /* prototype to pass -Wmissing-prototypes */
9850 XS(XS_Wx__HVScrolledWindow_RefreshRowsColumnsPosition)
9851 {
9852 #ifdef dVAR
9853     dVAR; dXSARGS;
9854 #else
9855     dXSARGS;
9856 #endif
9857     if (items != 3)
9858        croak_xs_usage(cv,  "THIS, from, to");
9859     {
9860         wxPosition    from = wxPli_sv_2_wxposition( aTHX_ ST(1) );
9861         wxPosition    to = wxPli_sv_2_wxposition( aTHX_ ST(2) );
9862         wxHVScrolledWindow *    THIS = (wxHVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HVScrolledWindow" );
9863     THIS->RefreshRowsColumns( from, to );
9864     }
9865     XSRETURN_EMPTY;
9866 }
9867
9868
9869 XS(XS_Wx__HVScrolledWindow_VirtualHitTest); /* prototype to pass -Wmissing-prototypes */
9870 XS(XS_Wx__HVScrolledWindow_VirtualHitTest)
9871 {
9872 #ifdef dVAR
9873     dVAR; dXSARGS;
9874 #else
9875     dXSARGS;
9876 #endif
9877     if (items < 1)
9878        croak_xs_usage(cv,  "THIS, ...");
9879     PERL_UNUSED_VAR(ax); /* -Wall */
9880     SP -= items;
9881     {
9882         wxHVScrolledWindow *    THIS = (wxHVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HVScrolledWindow" );
9883     BEGIN_OVERLOAD()
9884         MATCH_REDISP( wxPliOvl_n_n, VirtualHitTestXY )
9885         MATCH_REDISP( wxPliOvl_wpoi, VirtualHitTestPoint )
9886     END_OVERLOAD( Wx::HVScrolledWindow::VirtualHitTest )
9887         PUTBACK;
9888         return;
9889     }
9890 }
9891
9892
9893 XS(XS_Wx__HVScrolledWindow_VirtualHitTestXY); /* prototype to pass -Wmissing-prototypes */
9894 XS(XS_Wx__HVScrolledWindow_VirtualHitTestXY)
9895 {
9896 #ifdef dVAR
9897     dVAR; dXSARGS;
9898 #else
9899     dXSARGS;
9900 #endif
9901     if (items != 3)
9902        croak_xs_usage(cv,  "THIS, x, y");
9903     {
9904         wxCoord x = (wxCoord)SvIV(ST(1));
9905         wxCoord y = (wxCoord)SvIV(ST(2));
9906         wxHVScrolledWindow *    THIS = (wxHVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HVScrolledWindow" );
9907         wxPosition      RETVAL;
9908     RETVAL = THIS->VirtualHitTest( x, y );
9909         ST(0) = sv_newmortal();
9910     wxPli_non_object_2_sv( aTHX_ ST(0), new wxPosition(RETVAL), "Wx::Position" );
9911
9912     }
9913     XSRETURN(1);
9914 }
9915
9916
9917 XS(XS_Wx__HVScrolledWindow_VirtualHitTestPoint); /* prototype to pass -Wmissing-prototypes */
9918 XS(XS_Wx__HVScrolledWindow_VirtualHitTestPoint)
9919 {
9920 #ifdef dVAR
9921     dVAR; dXSARGS;
9922 #else
9923     dXSARGS;
9924 #endif
9925     if (items != 2)
9926        croak_xs_usage(cv,  "THIS, pos");
9927     {
9928         wxPoint    pos = wxPli_sv_2_wxpoint( aTHX_ ST(1) );
9929         wxHVScrolledWindow *    THIS = (wxHVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HVScrolledWindow" );
9930         wxPosition      RETVAL;
9931     RETVAL = THIS->VirtualHitTest( pos );
9932         ST(0) = sv_newmortal();
9933     wxPli_non_object_2_sv( aTHX_ ST(0), new wxPosition(RETVAL), "Wx::Position" );
9934
9935     }
9936     XSRETURN(1);
9937 }
9938
9939
9940 XS(XS_Wx__HVScrolledWindow_GetRowColumnCount); /* prototype to pass -Wmissing-prototypes */
9941 XS(XS_Wx__HVScrolledWindow_GetRowColumnCount)
9942 {
9943 #ifdef dVAR
9944     dVAR; dXSARGS;
9945 #else
9946     dXSARGS;
9947 #endif
9948     if (items != 1)
9949        croak_xs_usage(cv,  "THIS");
9950     {
9951         wxHVScrolledWindow *    THIS = (wxHVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HVScrolledWindow" );
9952         wxSize  RETVAL;
9953
9954         RETVAL = THIS->GetRowColumnCount();
9955         ST(0) = sv_newmortal();
9956     wxPli_non_object_2_sv( aTHX_ ST(0), new wxSize(RETVAL), "Wx::Size" );
9957
9958     }
9959     XSRETURN(1);
9960 }
9961
9962
9963 XS(XS_Wx__HVScrolledWindow_GetVisibleBegin); /* prototype to pass -Wmissing-prototypes */
9964 XS(XS_Wx__HVScrolledWindow_GetVisibleBegin)
9965 {
9966 #ifdef dVAR
9967     dVAR; dXSARGS;
9968 #else
9969     dXSARGS;
9970 #endif
9971     if (items != 1)
9972        croak_xs_usage(cv,  "THIS");
9973     {
9974         wxHVScrolledWindow *    THIS = (wxHVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HVScrolledWindow" );
9975         wxPosition      RETVAL;
9976
9977         RETVAL = THIS->GetVisibleBegin();
9978         ST(0) = sv_newmortal();
9979     wxPli_non_object_2_sv( aTHX_ ST(0), new wxPosition(RETVAL), "Wx::Position" );
9980
9981     }
9982     XSRETURN(1);
9983 }
9984
9985
9986 XS(XS_Wx__HVScrolledWindow_GetVisibleEnd); /* prototype to pass -Wmissing-prototypes */
9987 XS(XS_Wx__HVScrolledWindow_GetVisibleEnd)
9988 {
9989 #ifdef dVAR
9990     dVAR; dXSARGS;
9991 #else
9992     dXSARGS;
9993 #endif
9994     if (items != 1)
9995        croak_xs_usage(cv,  "THIS");
9996     {
9997         wxHVScrolledWindow *    THIS = (wxHVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HVScrolledWindow" );
9998         wxPosition      RETVAL;
9999
10000         RETVAL = THIS->GetVisibleEnd();
10001         ST(0) = sv_newmortal();
10002     wxPli_non_object_2_sv( aTHX_ ST(0), new wxPosition(RETVAL), "Wx::Position" );
10003
10004     }
10005     XSRETURN(1);
10006 }
10007
10008
10009 XS(XS_Wx__HVScrolledWindow_IsVisible); /* prototype to pass -Wmissing-prototypes */
10010 XS(XS_Wx__HVScrolledWindow_IsVisible)
10011 {
10012 #ifdef dVAR
10013     dVAR; dXSARGS;
10014 #else
10015     dXSARGS;
10016 #endif
10017     if (items < 1)
10018        croak_xs_usage(cv,  "THIS, ...");
10019     PERL_UNUSED_VAR(ax); /* -Wall */
10020     SP -= items;
10021     {
10022         wxHVScrolledWindow *    THIS = (wxHVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HVScrolledWindow" );
10023     BEGIN_OVERLOAD()
10024         MATCH_REDISP( wxPliOvl_n_n, IsVisibleRC )
10025         MATCH_REDISP( wxPliOvl_wpos, IsVisiblePosition )
10026     END_OVERLOAD( Wx::HVScrolledWindow::IsVisible )
10027         PUTBACK;
10028         return;
10029     }
10030 }
10031
10032
10033 XS(XS_Wx__HVScrolledWindow_IsVisibleRC); /* prototype to pass -Wmissing-prototypes */
10034 XS(XS_Wx__HVScrolledWindow_IsVisibleRC)
10035 {
10036 #ifdef dVAR
10037     dVAR; dXSARGS;
10038 #else
10039     dXSARGS;
10040 #endif
10041     if (items != 3)
10042        croak_xs_usage(cv,  "THIS, row, column");
10043     {
10044         size_t    row = (size_t)SvUV( ST(1) );
10045         size_t    column = (size_t)SvUV( ST(2) );
10046         wxHVScrolledWindow *    THIS = (wxHVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HVScrolledWindow" );
10047         bool    RETVAL;
10048     RETVAL = THIS->IsVisible( row, column );
10049         ST(0) = boolSV(RETVAL);
10050         sv_2mortal(ST(0));
10051     }
10052     XSRETURN(1);
10053 }
10054
10055
10056 XS(XS_Wx__HVScrolledWindow_IsVisiblePosition); /* prototype to pass -Wmissing-prototypes */
10057 XS(XS_Wx__HVScrolledWindow_IsVisiblePosition)
10058 {
10059 #ifdef dVAR
10060     dVAR; dXSARGS;
10061 #else
10062     dXSARGS;
10063 #endif
10064     if (items != 2)
10065        croak_xs_usage(cv,  "THIS, pos");
10066     {
10067         wxPosition    pos = wxPli_sv_2_wxposition( aTHX_ ST(1) );
10068         wxHVScrolledWindow *    THIS = (wxHVScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HVScrolledWindow" );
10069         bool    RETVAL;
10070     RETVAL = THIS->IsVisible( pos );
10071         ST(0) = boolSV(RETVAL);
10072         sv_2mortal(ST(0));
10073     }
10074     XSRETURN(1);
10075 }
10076
10077
10078 /* INCLUDE: Returning to 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/VScrolledWindow.xsp |' from 'perl -pe "s/VarHVScrollHelper/HVScrolledWindow/g" XS/VarHVScrollHelper.xs |' */
10079
10080 #endif
10081 #include "cpp/overload.h"
10082 #include "cpp/vscrl.h"
10083 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
10084 #define XSubPPtmpAACO 1
10085
10086
10087 XS(XS_Wx__PlHScrolledWindow_new); /* prototype to pass -Wmissing-prototypes */
10088 XS(XS_Wx__PlHScrolledWindow_new)
10089 {
10090 #ifdef dVAR
10091     dVAR; dXSARGS;
10092 #else
10093     dXSARGS;
10094 #endif
10095     PERL_UNUSED_VAR(cv); /* -W */
10096     PERL_UNUSED_VAR(ax); /* -Wall */
10097     SP -= items;
10098     {
10099     BEGIN_OVERLOAD()
10100         MATCH_VOIDM_REDISP( newDefault )
10101         MATCH_ANY_REDISP( newFull )
10102     END_OVERLOAD( "Wx::PlHScrolledWindow::new" )
10103         PUTBACK;
10104         return;
10105     }
10106 }
10107
10108
10109 XS(XS_Wx__PlHScrolledWindow_newDefault); /* prototype to pass -Wmissing-prototypes */
10110 XS(XS_Wx__PlHScrolledWindow_newDefault)
10111 {
10112 #ifdef dVAR
10113     dVAR; dXSARGS;
10114 #else
10115     dXSARGS;
10116 #endif
10117     if (items != 1)
10118        croak_xs_usage(cv,  "CLASS");
10119     {
10120         char *  CLASS = (char *)SvPV_nolen(ST(0));
10121         wxPlHScrolledWindow *   RETVAL;
10122      RETVAL = new wxPlHScrolledWindow( CLASS ); 
10123         ST(0) = sv_newmortal();
10124     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
10125
10126     }
10127     XSRETURN(1);
10128 }
10129
10130
10131 XS(XS_Wx__PlHScrolledWindow_newFull); /* prototype to pass -Wmissing-prototypes */
10132 XS(XS_Wx__PlHScrolledWindow_newFull)
10133 {
10134 #ifdef dVAR
10135     dVAR; dXSARGS;
10136 #else
10137     dXSARGS;
10138 #endif
10139     if (items < 2 || items > 7)
10140        croak_xs_usage(cv,  "CLASS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, name = wxPanelNameStr");
10141     {
10142         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
10143         wxWindowID      id;
10144         wxPoint pos;
10145         wxSize  size;
10146         long    style;
10147         wxString        name;
10148         char *  CLASS = (char *)SvPV_nolen(ST(0));
10149         wxPlHScrolledWindow *   RETVAL;
10150
10151         if (items < 3)
10152             id = wxID_ANY;
10153         else {
10154     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
10155         }
10156
10157         if (items < 4)
10158             pos = wxDefaultPosition;
10159         else {
10160     pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) );
10161         }
10162
10163         if (items < 5)
10164             size = wxDefaultSize;
10165         else {
10166     size = wxPli_sv_2_wxsize( aTHX_ ST(4) );
10167         }
10168
10169         if (items < 6)
10170             style = 0;
10171         else {
10172             style = (long)SvIV(ST(5));
10173         }
10174
10175         if (items < 7)
10176             name = wxPanelNameStr;
10177         else {
10178     WXSTRING_INPUT( name, wxString, ST(6) );
10179         }
10180      RETVAL = new wxPlHScrolledWindow( CLASS, parent, id, pos, size,
10181                                                   style, name );
10182
10183         ST(0) = sv_newmortal();
10184     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
10185
10186     }
10187     XSRETURN(1);
10188 }
10189
10190 #endif
10191
10192 XS(XS_Wx__PlVScrolledWindow_new); /* prototype to pass -Wmissing-prototypes */
10193 XS(XS_Wx__PlVScrolledWindow_new)
10194 {
10195 #ifdef dVAR
10196     dVAR; dXSARGS;
10197 #else
10198     dXSARGS;
10199 #endif
10200     PERL_UNUSED_VAR(cv); /* -W */
10201     PERL_UNUSED_VAR(ax); /* -Wall */
10202     SP -= items;
10203     {
10204     BEGIN_OVERLOAD()
10205         MATCH_VOIDM_REDISP( newDefault )
10206         MATCH_ANY_REDISP( newFull )
10207     END_OVERLOAD( "Wx::PlVScrolledWindow::new" )
10208         PUTBACK;
10209         return;
10210     }
10211 }
10212
10213
10214 XS(XS_Wx__PlVScrolledWindow_newDefault); /* prototype to pass -Wmissing-prototypes */
10215 XS(XS_Wx__PlVScrolledWindow_newDefault)
10216 {
10217 #ifdef dVAR
10218     dVAR; dXSARGS;
10219 #else
10220     dXSARGS;
10221 #endif
10222     if (items != 1)
10223        croak_xs_usage(cv,  "CLASS");
10224     {
10225         char *  CLASS = (char *)SvPV_nolen(ST(0));
10226         wxPlVScrolledWindow *   RETVAL;
10227      RETVAL = new wxPlVScrolledWindow( CLASS ); 
10228         ST(0) = sv_newmortal();
10229     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
10230
10231     }
10232     XSRETURN(1);
10233 }
10234
10235
10236 XS(XS_Wx__PlVScrolledWindow_newFull); /* prototype to pass -Wmissing-prototypes */
10237 XS(XS_Wx__PlVScrolledWindow_newFull)
10238 {
10239 #ifdef dVAR
10240     dVAR; dXSARGS;
10241 #else
10242     dXSARGS;
10243 #endif
10244     if (items < 2 || items > 7)
10245        croak_xs_usage(cv,  "CLASS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, name = wxPanelNameStr");
10246     {
10247         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
10248         wxWindowID      id;
10249         wxPoint pos;
10250         wxSize  size;
10251         long    style;
10252         wxString        name;
10253         char *  CLASS = (char *)SvPV_nolen(ST(0));
10254         wxPlVScrolledWindow *   RETVAL;
10255
10256         if (items < 3)
10257             id = wxID_ANY;
10258         else {
10259     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
10260         }
10261
10262         if (items < 4)
10263             pos = wxDefaultPosition;
10264         else {
10265     pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) );
10266         }
10267
10268         if (items < 5)
10269             size = wxDefaultSize;
10270         else {
10271     size = wxPli_sv_2_wxsize( aTHX_ ST(4) );
10272         }
10273
10274         if (items < 6)
10275             style = 0;
10276         else {
10277             style = (long)SvIV(ST(5));
10278         }
10279
10280         if (items < 7)
10281             name = wxPanelNameStr;
10282         else {
10283     WXSTRING_INPUT( name, wxString, ST(6) );
10284         }
10285      RETVAL = new wxPlVScrolledWindow( CLASS, parent, id, pos, size,
10286                                                   style, name );
10287
10288         ST(0) = sv_newmortal();
10289     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
10290
10291     }
10292     XSRETURN(1);
10293 }
10294
10295 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
10296 #define XSubPPtmpAACP 1
10297
10298
10299 XS(XS_Wx__PlHVScrolledWindow_new); /* prototype to pass -Wmissing-prototypes */
10300 XS(XS_Wx__PlHVScrolledWindow_new)
10301 {
10302 #ifdef dVAR
10303     dVAR; dXSARGS;
10304 #else
10305     dXSARGS;
10306 #endif
10307     PERL_UNUSED_VAR(cv); /* -W */
10308     PERL_UNUSED_VAR(ax); /* -Wall */
10309     SP -= items;
10310     {
10311     BEGIN_OVERLOAD()
10312         MATCH_VOIDM_REDISP( newDefault )
10313         MATCH_ANY_REDISP( newFull )
10314     END_OVERLOAD( "Wx::PlHVScrolledWindow::new" )
10315         PUTBACK;
10316         return;
10317     }
10318 }
10319
10320
10321 XS(XS_Wx__PlHVScrolledWindow_newDefault); /* prototype to pass -Wmissing-prototypes */
10322 XS(XS_Wx__PlHVScrolledWindow_newDefault)
10323 {
10324 #ifdef dVAR
10325     dVAR; dXSARGS;
10326 #else
10327     dXSARGS;
10328 #endif
10329     if (items != 1)
10330        croak_xs_usage(cv,  "CLASS");
10331     {
10332         char *  CLASS = (char *)SvPV_nolen(ST(0));
10333         wxPlHVScrolledWindow *  RETVAL;
10334      RETVAL = new wxPlHVScrolledWindow( CLASS ); 
10335         ST(0) = sv_newmortal();
10336     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
10337
10338     }
10339     XSRETURN(1);
10340 }
10341
10342
10343 XS(XS_Wx__PlHVScrolledWindow_newFull); /* prototype to pass -Wmissing-prototypes */
10344 XS(XS_Wx__PlHVScrolledWindow_newFull)
10345 {
10346 #ifdef dVAR
10347     dVAR; dXSARGS;
10348 #else
10349     dXSARGS;
10350 #endif
10351     if (items < 2 || items > 7)
10352        croak_xs_usage(cv,  "CLASS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, name = wxPanelNameStr");
10353     {
10354         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
10355         wxWindowID      id;
10356         wxPoint pos;
10357         wxSize  size;
10358         long    style;
10359         wxString        name;
10360         char *  CLASS = (char *)SvPV_nolen(ST(0));
10361         wxPlHVScrolledWindow *  RETVAL;
10362
10363         if (items < 3)
10364             id = wxID_ANY;
10365         else {
10366     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
10367         }
10368
10369         if (items < 4)
10370             pos = wxDefaultPosition;
10371         else {
10372     pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) );
10373         }
10374
10375         if (items < 5)
10376             size = wxDefaultSize;
10377         else {
10378     size = wxPli_sv_2_wxsize( aTHX_ ST(4) );
10379         }
10380
10381         if (items < 6)
10382             style = 0;
10383         else {
10384             style = (long)SvIV(ST(5));
10385         }
10386
10387         if (items < 7)
10388             name = wxPanelNameStr;
10389         else {
10390     WXSTRING_INPUT( name, wxString, ST(6) );
10391         }
10392      RETVAL = new wxPlHVScrolledWindow( CLASS, parent, id, pos,
10393                                                    size, style, name );
10394
10395         ST(0) = sv_newmortal();
10396     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
10397
10398     }
10399     XSRETURN(1);
10400 }
10401
10402 #endif
10403 #endif
10404
10405 /* INCLUDE: Returning to 'Window.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/VScrolledWindow.xsp |' */
10406
10407
10408 /* INCLUDE:  Including 'XS/ScrolledWindow.xs' from 'Window.xs' */
10409
10410
10411 /* INCLUDE:  Including 'XS/Validators.xs' from 'XS/ScrolledWindow.xs' */
10412
10413
10414 /* INCLUDE:  Including 'XS/Constraint.xs' from 'XS/Validators.xs' */
10415
10416 #include <wx/layout.h>
10417
10418 XS(XS_Wx__IndividualLayoutConstraint_Above); /* prototype to pass -Wmissing-prototypes */
10419 XS(XS_Wx__IndividualLayoutConstraint_Above)
10420 {
10421 #ifdef dVAR
10422     dVAR; dXSARGS;
10423 #else
10424     dXSARGS;
10425 #endif
10426     if (items < 2 || items > 3)
10427        croak_xs_usage(cv,  "THIS, otherWin, margin = 0");
10428     {
10429         wxWindow*    otherWin = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
10430         int     margin;
10431         wxIndividualLayoutConstraint *    THIS = (wxIndividualLayoutConstraint *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::IndividualLayoutConstraint" );
10432
10433         if (items < 3)
10434             margin = 0;
10435         else {
10436             margin = (int)SvIV(ST(2));
10437         }
10438
10439         THIS->Above(otherWin, margin);
10440     }
10441     XSRETURN_EMPTY;
10442 }
10443
10444
10445 XS(XS_Wx__IndividualLayoutConstraint_Absolute); /* prototype to pass -Wmissing-prototypes */
10446 XS(XS_Wx__IndividualLayoutConstraint_Absolute)
10447 {
10448 #ifdef dVAR
10449     dVAR; dXSARGS;
10450 #else
10451     dXSARGS;
10452 #endif
10453     if (items != 2)
10454        croak_xs_usage(cv,  "THIS, value");
10455     {
10456         int     value = (int)SvIV(ST(1));
10457         wxIndividualLayoutConstraint *    THIS = (wxIndividualLayoutConstraint *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::IndividualLayoutConstraint" );
10458
10459         THIS->Absolute(value);
10460     }
10461     XSRETURN_EMPTY;
10462 }
10463
10464
10465 XS(XS_Wx__IndividualLayoutConstraint_AsIs); /* prototype to pass -Wmissing-prototypes */
10466 XS(XS_Wx__IndividualLayoutConstraint_AsIs)
10467 {
10468 #ifdef dVAR
10469     dVAR; dXSARGS;
10470 #else
10471     dXSARGS;
10472 #endif
10473     if (items != 1)
10474        croak_xs_usage(cv,  "THIS");
10475     {
10476         wxIndividualLayoutConstraint *    THIS = (wxIndividualLayoutConstraint *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::IndividualLayoutConstraint" );
10477
10478         THIS->AsIs();
10479     }
10480     XSRETURN_EMPTY;
10481 }
10482
10483
10484 XS(XS_Wx__IndividualLayoutConstraint_Below); /* prototype to pass -Wmissing-prototypes */
10485 XS(XS_Wx__IndividualLayoutConstraint_Below)
10486 {
10487 #ifdef dVAR
10488     dVAR; dXSARGS;
10489 #else
10490     dXSARGS;
10491 #endif
10492     if (items < 2 || items > 3)
10493        croak_xs_usage(cv,  "THIS, otherWin, margin = 0");
10494     {
10495         wxWindow*    otherWin = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
10496         int     margin;
10497         wxIndividualLayoutConstraint *    THIS = (wxIndividualLayoutConstraint *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::IndividualLayoutConstraint" );
10498
10499         if (items < 3)
10500             margin = 0;
10501         else {
10502             margin = (int)SvIV(ST(2));
10503         }
10504
10505         THIS->Below(otherWin, margin);
10506     }
10507     XSRETURN_EMPTY;
10508 }
10509
10510
10511 XS(XS_Wx__IndividualLayoutConstraint_Unconstrained); /* prototype to pass -Wmissing-prototypes */
10512 XS(XS_Wx__IndividualLayoutConstraint_Unconstrained)
10513 {
10514 #ifdef dVAR
10515     dVAR; dXSARGS;
10516 #else
10517     dXSARGS;
10518 #endif
10519     if (items != 1)
10520        croak_xs_usage(cv,  "THIS");
10521     {
10522         wxIndividualLayoutConstraint *    THIS = (wxIndividualLayoutConstraint *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::IndividualLayoutConstraint" );
10523
10524         THIS->Unconstrained();
10525     }
10526     XSRETURN_EMPTY;
10527 }
10528
10529
10530 XS(XS_Wx__IndividualLayoutConstraint_LeftOf); /* prototype to pass -Wmissing-prototypes */
10531 XS(XS_Wx__IndividualLayoutConstraint_LeftOf)
10532 {
10533 #ifdef dVAR
10534     dVAR; dXSARGS;
10535 #else
10536     dXSARGS;
10537 #endif
10538     if (items < 2 || items > 3)
10539        croak_xs_usage(cv,  "THIS, otherWin, margin = 0");
10540     {
10541         wxWindow*    otherWin = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
10542         int     margin;
10543         wxIndividualLayoutConstraint *    THIS = (wxIndividualLayoutConstraint *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::IndividualLayoutConstraint" );
10544
10545         if (items < 3)
10546             margin = 0;
10547         else {
10548             margin = (int)SvIV(ST(2));
10549         }
10550
10551         THIS->LeftOf(otherWin, margin);
10552     }
10553     XSRETURN_EMPTY;
10554 }
10555
10556
10557 XS(XS_Wx__IndividualLayoutConstraint_PercentOf); /* prototype to pass -Wmissing-prototypes */
10558 XS(XS_Wx__IndividualLayoutConstraint_PercentOf)
10559 {
10560 #ifdef dVAR
10561     dVAR; dXSARGS;
10562 #else
10563     dXSARGS;
10564 #endif
10565     if (items != 4)
10566        croak_xs_usage(cv,  "THIS, otherWin, edge, per");
10567     {
10568         wxWindow*    otherWin = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
10569         wxEdge  edge = (wxEdge)SvIV(ST(2));
10570         int     per = (int)SvIV(ST(3));
10571         wxIndividualLayoutConstraint *    THIS = (wxIndividualLayoutConstraint *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::IndividualLayoutConstraint" );
10572
10573         THIS->PercentOf(otherWin, edge, per);
10574     }
10575     XSRETURN_EMPTY;
10576 }
10577
10578
10579 XS(XS_Wx__IndividualLayoutConstraint_RightOf); /* prototype to pass -Wmissing-prototypes */
10580 XS(XS_Wx__IndividualLayoutConstraint_RightOf)
10581 {
10582 #ifdef dVAR
10583     dVAR; dXSARGS;
10584 #else
10585     dXSARGS;
10586 #endif
10587     if (items < 2 || items > 3)
10588        croak_xs_usage(cv,  "THIS, otherWin, margin = 0");
10589     {
10590         wxWindow*    otherWin = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
10591         int     margin;
10592         wxIndividualLayoutConstraint *    THIS = (wxIndividualLayoutConstraint *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::IndividualLayoutConstraint" );
10593
10594         if (items < 3)
10595             margin = 0;
10596         else {
10597             margin = (int)SvIV(ST(2));
10598         }
10599
10600         THIS->RightOf(otherWin, margin);
10601     }
10602     XSRETURN_EMPTY;
10603 }
10604
10605
10606 XS(XS_Wx__IndividualLayoutConstraint_SameAs); /* prototype to pass -Wmissing-prototypes */
10607 XS(XS_Wx__IndividualLayoutConstraint_SameAs)
10608 {
10609 #ifdef dVAR
10610     dVAR; dXSARGS;
10611 #else
10612     dXSARGS;
10613 #endif
10614     if (items < 3 || items > 4)
10615        croak_xs_usage(cv,  "THIS, otherWin, edge, margin = 0");
10616     {
10617         wxWindow*    otherWin = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
10618         wxEdge  edge = (wxEdge)SvIV(ST(2));
10619         int     margin;
10620         wxIndividualLayoutConstraint *    THIS = (wxIndividualLayoutConstraint *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::IndividualLayoutConstraint" );
10621
10622         if (items < 4)
10623             margin = 0;
10624         else {
10625             margin = (int)SvIV(ST(3));
10626         }
10627
10628         THIS->SameAs(otherWin, edge, margin);
10629     }
10630     XSRETURN_EMPTY;
10631 }
10632
10633
10634 XS(XS_Wx__IndividualLayoutConstraint_Set); /* prototype to pass -Wmissing-prototypes */
10635 XS(XS_Wx__IndividualLayoutConstraint_Set)
10636 {
10637 #ifdef dVAR
10638     dVAR; dXSARGS;
10639 #else
10640     dXSARGS;
10641 #endif
10642     if (items < 4 || items > 6)
10643        croak_xs_usage(cv,  "THIS, rel, otherWin, otherEdge, value = 0, margin = 0");
10644     {
10645         wxRelationship  rel = (wxRelationship)SvIV(ST(1));
10646         wxWindow*    otherWin = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Window" );
10647         wxEdge  otherEdge = (wxEdge)SvIV(ST(3));
10648         int     value;
10649         int     margin;
10650         wxIndividualLayoutConstraint *    THIS = (wxIndividualLayoutConstraint *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::IndividualLayoutConstraint" );
10651
10652         if (items < 5)
10653             value = 0;
10654         else {
10655             value = (int)SvIV(ST(4));
10656         }
10657
10658         if (items < 6)
10659             margin = 0;
10660         else {
10661             margin = (int)SvIV(ST(5));
10662         }
10663
10664         THIS->Set(rel, otherWin, otherEdge, value, margin);
10665     }
10666     XSRETURN_EMPTY;
10667 }
10668
10669
10670 XS(XS_Wx__LayoutConstraints_new); /* prototype to pass -Wmissing-prototypes */
10671 XS(XS_Wx__LayoutConstraints_new)
10672 {
10673 #ifdef dVAR
10674     dVAR; dXSARGS;
10675 #else
10676     dXSARGS;
10677 #endif
10678     if (items != 1)
10679        croak_xs_usage(cv,  "CLASS");
10680     {
10681         char *  CLASS = (char *)SvPV_nolen(ST(0));
10682         wxLayoutConstraints *   RETVAL;
10683
10684         RETVAL = new wxLayoutConstraints();
10685         ST(0) = sv_newmortal();
10686     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
10687
10688     }
10689     XSRETURN(1);
10690 }
10691
10692
10693 XS(XS_Wx__LayoutConstraints_bottom); /* prototype to pass -Wmissing-prototypes */
10694 XS(XS_Wx__LayoutConstraints_bottom)
10695 {
10696 #ifdef dVAR
10697     dVAR; dXSARGS;
10698 #else
10699     dXSARGS;
10700 #endif
10701     if (items != 1)
10702        croak_xs_usage(cv,  "THIS");
10703     {
10704         wxLayoutConstraints *    THIS = (wxLayoutConstraints *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::LayoutConstraints" );
10705         wxIndividualLayoutConstraint *  RETVAL;
10706     RETVAL = &THIS->bottom;
10707         ST(0) = sv_newmortal();
10708     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
10709
10710     }
10711     XSRETURN(1);
10712 }
10713
10714
10715 XS(XS_Wx__LayoutConstraints_centreX); /* prototype to pass -Wmissing-prototypes */
10716 XS(XS_Wx__LayoutConstraints_centreX)
10717 {
10718 #ifdef dVAR
10719     dVAR; dXSARGS;
10720 #else
10721     dXSARGS;
10722 #endif
10723     if (items != 1)
10724        croak_xs_usage(cv,  "THIS");
10725     {
10726         wxLayoutConstraints *    THIS = (wxLayoutConstraints *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::LayoutConstraints" );
10727         wxIndividualLayoutConstraint *  RETVAL;
10728     RETVAL = &THIS->centreX;
10729         ST(0) = sv_newmortal();
10730     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
10731
10732     }
10733     XSRETURN(1);
10734 }
10735
10736
10737 XS(XS_Wx__LayoutConstraints_centreY); /* prototype to pass -Wmissing-prototypes */
10738 XS(XS_Wx__LayoutConstraints_centreY)
10739 {
10740 #ifdef dVAR
10741     dVAR; dXSARGS;
10742 #else
10743     dXSARGS;
10744 #endif
10745     if (items != 1)
10746        croak_xs_usage(cv,  "THIS");
10747     {
10748         wxLayoutConstraints *    THIS = (wxLayoutConstraints *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::LayoutConstraints" );
10749         wxIndividualLayoutConstraint *  RETVAL;
10750     RETVAL = &THIS->centreY;
10751         ST(0) = sv_newmortal();
10752     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
10753
10754     }
10755     XSRETURN(1);
10756 }
10757
10758
10759 XS(XS_Wx__LayoutConstraints_height); /* prototype to pass -Wmissing-prototypes */
10760 XS(XS_Wx__LayoutConstraints_height)
10761 {
10762 #ifdef dVAR
10763     dVAR; dXSARGS;
10764 #else
10765     dXSARGS;
10766 #endif
10767     if (items != 1)
10768        croak_xs_usage(cv,  "THIS");
10769     {
10770         wxLayoutConstraints *    THIS = (wxLayoutConstraints *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::LayoutConstraints" );
10771         wxIndividualLayoutConstraint *  RETVAL;
10772     RETVAL = &THIS->height;
10773         ST(0) = sv_newmortal();
10774     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
10775
10776     }
10777     XSRETURN(1);
10778 }
10779
10780
10781 XS(XS_Wx__LayoutConstraints_left); /* prototype to pass -Wmissing-prototypes */
10782 XS(XS_Wx__LayoutConstraints_left)
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         wxLayoutConstraints *    THIS = (wxLayoutConstraints *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::LayoutConstraints" );
10793         wxIndividualLayoutConstraint *  RETVAL;
10794     RETVAL = &THIS->left;
10795         ST(0) = sv_newmortal();
10796     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
10797
10798     }
10799     XSRETURN(1);
10800 }
10801
10802
10803 XS(XS_Wx__LayoutConstraints_right); /* prototype to pass -Wmissing-prototypes */
10804 XS(XS_Wx__LayoutConstraints_right)
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         wxLayoutConstraints *    THIS = (wxLayoutConstraints *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::LayoutConstraints" );
10815         wxIndividualLayoutConstraint *  RETVAL;
10816     RETVAL = &THIS->right;
10817         ST(0) = sv_newmortal();
10818     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
10819
10820     }
10821     XSRETURN(1);
10822 }
10823
10824
10825 XS(XS_Wx__LayoutConstraints_top); /* prototype to pass -Wmissing-prototypes */
10826 XS(XS_Wx__LayoutConstraints_top)
10827 {
10828 #ifdef dVAR
10829     dVAR; dXSARGS;
10830 #else
10831     dXSARGS;
10832 #endif
10833     if (items != 1)
10834        croak_xs_usage(cv,  "THIS");
10835     {
10836         wxLayoutConstraints *    THIS = (wxLayoutConstraints *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::LayoutConstraints" );
10837         wxIndividualLayoutConstraint *  RETVAL;
10838     RETVAL = &THIS->top;
10839         ST(0) = sv_newmortal();
10840     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
10841
10842     }
10843     XSRETURN(1);
10844 }
10845
10846
10847 XS(XS_Wx__LayoutConstraints_width); /* prototype to pass -Wmissing-prototypes */
10848 XS(XS_Wx__LayoutConstraints_width)
10849 {
10850 #ifdef dVAR
10851     dVAR; dXSARGS;
10852 #else
10853     dXSARGS;
10854 #endif
10855     if (items != 1)
10856        croak_xs_usage(cv,  "THIS");
10857     {
10858         wxLayoutConstraints *    THIS = (wxLayoutConstraints *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::LayoutConstraints" );
10859         wxIndividualLayoutConstraint *  RETVAL;
10860     RETVAL = &THIS->width;
10861         ST(0) = sv_newmortal();
10862     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
10863
10864     }
10865     XSRETURN(1);
10866 }
10867
10868
10869 /* INCLUDE: Returning to 'XS/Validators.xs' from 'XS/Constraint.xs' */
10870
10871 #include <wx/validate.h>
10872 #include "cpp/validators.h"
10873
10874 XS(XS_Wx__Validator_GetWindow); /* prototype to pass -Wmissing-prototypes */
10875 XS(XS_Wx__Validator_GetWindow)
10876 {
10877 #ifdef dVAR
10878     dVAR; dXSARGS;
10879 #else
10880     dXSARGS;
10881 #endif
10882     if (items != 1)
10883        croak_xs_usage(cv,  "THIS");
10884     {
10885         wxValidator *    THIS = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Validator" );
10886         wxWindow *      RETVAL;
10887
10888         RETVAL = THIS->GetWindow();
10889         ST(0) = sv_newmortal();
10890     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
10891
10892     }
10893     XSRETURN(1);
10894 }
10895
10896
10897 XS(XS_Wx__Validator_SetBellOnError); /* prototype to pass -Wmissing-prototypes */
10898 XS(XS_Wx__Validator_SetBellOnError)
10899 {
10900 #ifdef dVAR
10901     dVAR; dXSARGS;
10902 #else
10903     dXSARGS;
10904 #endif
10905     if (items < 1 || items > 2)
10906        croak_xs_usage(cv,  "THIS, doit = true");
10907     {
10908         bool    doit;
10909         wxValidator *    THIS = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Validator" );
10910
10911         if (items < 2)
10912             doit = true;
10913         else {
10914             doit = (bool)SvTRUE(ST(1));
10915         }
10916
10917         THIS->SetBellOnError(doit);
10918     }
10919     XSRETURN_EMPTY;
10920 }
10921
10922
10923 XS(XS_Wx__Validator_SetWindow); /* prototype to pass -Wmissing-prototypes */
10924 XS(XS_Wx__Validator_SetWindow)
10925 {
10926 #ifdef dVAR
10927     dVAR; dXSARGS;
10928 #else
10929     dXSARGS;
10930 #endif
10931     if (items != 2)
10932        croak_xs_usage(cv,  "THIS, window");
10933     {
10934         wxWindow*    window = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
10935         wxValidator *    THIS = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Validator" );
10936
10937         THIS->SetWindow(window);
10938     }
10939     XSRETURN_EMPTY;
10940 }
10941
10942
10943 XS(XS_Wx__PlValidator_new); /* prototype to pass -Wmissing-prototypes */
10944 XS(XS_Wx__PlValidator_new)
10945 {
10946 #ifdef dVAR
10947     dVAR; dXSARGS;
10948 #else
10949     dXSARGS;
10950 #endif
10951     if (items != 1)
10952        croak_xs_usage(cv,  "CLASS");
10953     {
10954         char *  CLASS = (char *)SvPV_nolen(ST(0));
10955         wxPlValidator * RETVAL;
10956     RETVAL = new wxPlValidator( CLASS );
10957         ST(0) = sv_newmortal();
10958     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
10959
10960     }
10961     XSRETURN(1);
10962 }
10963
10964
10965 XS(XS_Wx__PlValidator_DESTROY); /* prototype to pass -Wmissing-prototypes */
10966 XS(XS_Wx__PlValidator_DESTROY)
10967 {
10968 #ifdef dVAR
10969     dVAR; dXSARGS;
10970 #else
10971     dXSARGS;
10972 #endif
10973     if (items != 1)
10974        croak_xs_usage(cv,  "THIS");
10975     {
10976     static char wxPlPlValidatorName[] = "Wx::PlValidator";
10977         wxPlValidator *    THIS = (wxPlValidator *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlValidator" );
10978     // nothing
10979     }
10980     XSRETURN_EMPTY;
10981 }
10982
10983
10984 /* INCLUDE: Returning to 'XS/ScrolledWindow.xs' from 'XS/Validators.xs' */
10985
10986 #include <wx/scrolwin.h>
10987 #include <wx/dc.h>
10988 #include "cpp/scrolledwindow.h"
10989
10990 XS(XS_Wx__ScrolledWindow_new); /* prototype to pass -Wmissing-prototypes */
10991 XS(XS_Wx__ScrolledWindow_new)
10992 {
10993 #ifdef dVAR
10994     dVAR; dXSARGS;
10995 #else
10996     dXSARGS;
10997 #endif
10998     PERL_UNUSED_VAR(cv); /* -W */
10999     PERL_UNUSED_VAR(ax); /* -Wall */
11000     SP -= items;
11001     {
11002     BEGIN_OVERLOAD()
11003         MATCH_VOIDM_REDISP( newDefault )
11004         MATCH_ANY_REDISP( newFull )
11005     END_OVERLOAD( "Wx::ScrolledWindow::new" )
11006         PUTBACK;
11007         return;
11008     }
11009 }
11010
11011
11012 XS(XS_Wx__ScrolledWindow_newDefault); /* prototype to pass -Wmissing-prototypes */
11013 XS(XS_Wx__ScrolledWindow_newDefault)
11014 {
11015 #ifdef dVAR
11016     dVAR; dXSARGS;
11017 #else
11018     dXSARGS;
11019 #endif
11020     if (items != 1)
11021        croak_xs_usage(cv,  "CLASS");
11022     {
11023         PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) );
11024         wxScrolledWindow *      RETVAL;
11025     RETVAL = new wxPliScrolledWindow( CLASS );
11026     wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
11027         ST(0) = sv_newmortal();
11028     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
11029
11030     }
11031     XSRETURN(1);
11032 }
11033
11034
11035 XS(XS_Wx__ScrolledWindow_newFull); /* prototype to pass -Wmissing-prototypes */
11036 XS(XS_Wx__ScrolledWindow_newFull)
11037 {
11038 #ifdef dVAR
11039     dVAR; dXSARGS;
11040 #else
11041     dXSARGS;
11042 #endif
11043     if (items < 2 || items > 7)
11044        croak_xs_usage(cv,  "CLASS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = wxHSCROLL|wxVSCROLL, name = wxPanelNameStr");
11045     {
11046         PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) );
11047         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
11048         wxWindowID      id;
11049         wxPoint pos;
11050         wxSize  size;
11051         long    style;
11052         wxString        name;
11053         wxScrolledWindow *      RETVAL;
11054
11055         if (items < 3)
11056             id = wxID_ANY;
11057         else {
11058     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
11059         }
11060
11061         if (items < 4)
11062             pos = wxDefaultPosition;
11063         else {
11064     pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) );
11065         }
11066
11067         if (items < 5)
11068             size = wxDefaultSize;
11069         else {
11070     size = wxPli_sv_2_wxsize( aTHX_ ST(4) );
11071         }
11072
11073         if (items < 6)
11074             style = wxHSCROLL|wxVSCROLL;
11075         else {
11076             style = (long)SvIV(ST(5));
11077         }
11078
11079         if (items < 7)
11080             name = wxPanelNameStr;
11081         else {
11082     WXSTRING_INPUT( name, wxString, ST(6) );
11083         }
11084     RETVAL = new wxPliScrolledWindow( CLASS, parent, id, pos, size, style,
11085         name );
11086         ST(0) = sv_newmortal();
11087     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
11088
11089     }
11090     XSRETURN(1);
11091 }
11092
11093
11094 XS(XS_Wx__ScrolledWindow_Create); /* prototype to pass -Wmissing-prototypes */
11095 XS(XS_Wx__ScrolledWindow_Create)
11096 {
11097 #ifdef dVAR
11098     dVAR; dXSARGS;
11099 #else
11100     dXSARGS;
11101 #endif
11102     if (items < 2 || items > 7)
11103        croak_xs_usage(cv,  "THIS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = wxHSCROLL|wxVSCROLL, name = wxPanelNameStr");
11104     {
11105         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
11106         wxWindowID      id;
11107         wxPoint pos;
11108         wxSize  size;
11109         long    style;
11110         wxString        name;
11111         wxScrolledWindow *    THIS = (wxScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ScrolledWindow" );
11112         bool    RETVAL;
11113
11114         if (items < 3)
11115             id = wxID_ANY;
11116         else {
11117     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
11118         }
11119
11120         if (items < 4)
11121             pos = wxDefaultPosition;
11122         else {
11123     pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) );
11124         }
11125
11126         if (items < 5)
11127             size = wxDefaultSize;
11128         else {
11129     size = wxPli_sv_2_wxsize( aTHX_ ST(4) );
11130         }
11131
11132         if (items < 6)
11133             style = wxHSCROLL|wxVSCROLL;
11134         else {
11135             style = (long)SvIV(ST(5));
11136         }
11137
11138         if (items < 7)
11139             name = wxPanelNameStr;
11140         else {
11141     WXSTRING_INPUT( name, wxString, ST(6) );
11142         }
11143
11144         RETVAL = THIS->Create(parent, id, pos, size, style, name);
11145         ST(0) = boolSV(RETVAL);
11146         sv_2mortal(ST(0));
11147     }
11148     XSRETURN(1);
11149 }
11150
11151
11152 XS(XS_Wx__ScrolledWindow_CalcScrolledPosition); /* prototype to pass -Wmissing-prototypes */
11153 XS(XS_Wx__ScrolledWindow_CalcScrolledPosition)
11154 {
11155 #ifdef dVAR
11156     dVAR; dXSARGS;
11157 #else
11158     dXSARGS;
11159 #endif
11160     if (items != 3)
11161        croak_xs_usage(cv,  "THIS, x, y");
11162     PERL_UNUSED_VAR(ax); /* -Wall */
11163     SP -= items;
11164     {
11165         int     x = (int)SvIV(ST(1));
11166         int     y = (int)SvIV(ST(2));
11167     int xx;
11168     int yy;
11169         wxScrolledWindow *    THIS = (wxScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ScrolledWindow" );
11170     THIS->CalcScrolledPosition( x, y, &xx, &yy );
11171     EXTEND( SP, 2 );
11172     PUSHs( sv_2mortal( newSViv( xx ) ) );
11173     PUSHs( sv_2mortal( newSViv( yy ) ) );
11174         PUTBACK;
11175         return;
11176     }
11177 }
11178
11179
11180 XS(XS_Wx__ScrolledWindow_CalcUnscrolledPosition); /* prototype to pass -Wmissing-prototypes */
11181 XS(XS_Wx__ScrolledWindow_CalcUnscrolledPosition)
11182 {
11183 #ifdef dVAR
11184     dVAR; dXSARGS;
11185 #else
11186     dXSARGS;
11187 #endif
11188     if (items != 3)
11189        croak_xs_usage(cv,  "THIS, x, y");
11190     PERL_UNUSED_VAR(ax); /* -Wall */
11191     SP -= items;
11192     {
11193         int     x = (int)SvIV(ST(1));
11194         int     y = (int)SvIV(ST(2));
11195     int xx;
11196     int yy;
11197         wxScrolledWindow *    THIS = (wxScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ScrolledWindow" );
11198     THIS->CalcUnscrolledPosition( x, y, &xx, &yy );
11199     EXTEND( SP, 2 );
11200     PUSHs( sv_2mortal( newSViv( xx ) ) );
11201     PUSHs( sv_2mortal( newSViv( yy ) ) );
11202         PUTBACK;
11203         return;
11204     }
11205 }
11206
11207
11208 XS(XS_Wx__ScrolledWindow_EnableScrolling); /* prototype to pass -Wmissing-prototypes */
11209 XS(XS_Wx__ScrolledWindow_EnableScrolling)
11210 {
11211 #ifdef dVAR
11212     dVAR; dXSARGS;
11213 #else
11214     dXSARGS;
11215 #endif
11216     if (items != 3)
11217        croak_xs_usage(cv,  "THIS, xScrolling, yScrolling");
11218     {
11219         bool    xScrolling = (bool)SvTRUE(ST(1));
11220         bool    yScrolling = (bool)SvTRUE(ST(2));
11221         wxScrolledWindow *    THIS = (wxScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ScrolledWindow" );
11222
11223         THIS->EnableScrolling(xScrolling, yScrolling);
11224     }
11225     XSRETURN_EMPTY;
11226 }
11227
11228
11229 XS(XS_Wx__ScrolledWindow_GetScrollPixelsPerUnit); /* prototype to pass -Wmissing-prototypes */
11230 XS(XS_Wx__ScrolledWindow_GetScrollPixelsPerUnit)
11231 {
11232 #ifdef dVAR
11233     dVAR; dXSARGS;
11234 #else
11235     dXSARGS;
11236 #endif
11237     if (items != 1)
11238        croak_xs_usage(cv,  "THIS");
11239     PERL_UNUSED_VAR(ax); /* -Wall */
11240     SP -= items;
11241     {
11242     int xUnit;
11243     int yUnit;
11244         wxScrolledWindow *    THIS = (wxScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ScrolledWindow" );
11245     THIS->GetScrollPixelsPerUnit( &xUnit, &yUnit );
11246     EXTEND( SP, 2 );
11247     PUSHs( sv_2mortal( newSViv( xUnit ) ) );
11248     PUSHs( sv_2mortal( newSViv( yUnit ) ) );
11249         PUTBACK;
11250         return;
11251     }
11252 }
11253
11254
11255 XS(XS_Wx__ScrolledWindow_GetVirtualSize); /* prototype to pass -Wmissing-prototypes */
11256 XS(XS_Wx__ScrolledWindow_GetVirtualSize)
11257 {
11258 #ifdef dVAR
11259     dVAR; dXSARGS;
11260 #else
11261     dXSARGS;
11262 #endif
11263     if (items != 1)
11264        croak_xs_usage(cv,  "THIS");
11265     PERL_UNUSED_VAR(ax); /* -Wall */
11266     SP -= items;
11267     {
11268     int x;
11269     int y;
11270         wxScrolledWindow *    THIS = (wxScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ScrolledWindow" );
11271     THIS->GetVirtualSize( &x, &y );
11272     EXTEND( SP, 2 );
11273     PUSHs( sv_2mortal( newSViv( x ) ) );
11274     PUSHs( sv_2mortal( newSViv( y ) ) );
11275         PUTBACK;
11276         return;
11277     }
11278 }
11279
11280
11281 XS(XS_Wx__ScrolledWindow_IsRetained); /* prototype to pass -Wmissing-prototypes */
11282 XS(XS_Wx__ScrolledWindow_IsRetained)
11283 {
11284 #ifdef dVAR
11285     dVAR; dXSARGS;
11286 #else
11287     dXSARGS;
11288 #endif
11289     if (items != 1)
11290        croak_xs_usage(cv,  "THIS");
11291     {
11292         wxScrolledWindow *    THIS = (wxScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ScrolledWindow" );
11293         bool    RETVAL;
11294
11295         RETVAL = THIS->IsRetained();
11296         ST(0) = boolSV(RETVAL);
11297         sv_2mortal(ST(0));
11298     }
11299     XSRETURN(1);
11300 }
11301
11302
11303 XS(XS_Wx__ScrolledWindow_PrepareDC); /* prototype to pass -Wmissing-prototypes */
11304 XS(XS_Wx__ScrolledWindow_PrepareDC)
11305 {
11306 #ifdef dVAR
11307     dVAR; dXSARGS;
11308 #else
11309     dXSARGS;
11310 #endif
11311     if (items != 2)
11312        croak_xs_usage(cv,  "THIS, dc");
11313     {
11314         wxDC*    dc = (wxDC *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::DC" );
11315         wxScrolledWindow *    THIS = (wxScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ScrolledWindow" );
11316     THIS->PrepareDC( *dc );
11317     }
11318     XSRETURN_EMPTY;
11319 }
11320
11321
11322 XS(XS_Wx__ScrolledWindow_DoPrepareDC); /* prototype to pass -Wmissing-prototypes */
11323 XS(XS_Wx__ScrolledWindow_DoPrepareDC)
11324 {
11325 #ifdef dVAR
11326     dVAR; dXSARGS;
11327 #else
11328     dXSARGS;
11329 #endif
11330     if (items != 2)
11331        croak_xs_usage(cv,  "THIS, dc");
11332     {
11333         wxDC*    dc = (wxDC *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::DC" );
11334         wxScrolledWindow *    THIS = (wxScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ScrolledWindow" );
11335
11336         THIS->DoPrepareDC(*dc);
11337     }
11338     XSRETURN_EMPTY;
11339 }
11340
11341
11342 XS(XS_Wx__ScrolledWindow_Scroll); /* prototype to pass -Wmissing-prototypes */
11343 XS(XS_Wx__ScrolledWindow_Scroll)
11344 {
11345 #ifdef dVAR
11346     dVAR; dXSARGS;
11347 #else
11348     dXSARGS;
11349 #endif
11350     if (items != 3)
11351        croak_xs_usage(cv,  "THIS, x, y");
11352     {
11353         int     x = (int)SvIV(ST(1));
11354         int     y = (int)SvIV(ST(2));
11355         wxScrolledWindow *    THIS = (wxScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ScrolledWindow" );
11356
11357         THIS->Scroll(x, y);
11358     }
11359     XSRETURN_EMPTY;
11360 }
11361
11362
11363 XS(XS_Wx__ScrolledWindow_SetScrollbars); /* prototype to pass -Wmissing-prototypes */
11364 XS(XS_Wx__ScrolledWindow_SetScrollbars)
11365 {
11366 #ifdef dVAR
11367     dVAR; dXSARGS;
11368 #else
11369     dXSARGS;
11370 #endif
11371     if (items < 5 || items > 8)
11372        croak_xs_usage(cv,  "THIS, ppuX, ppuY, nX, nY, xPos = 0, yPos = 0, noRefresh = false");
11373     {
11374         int     ppuX = (int)SvIV(ST(1));
11375         int     ppuY = (int)SvIV(ST(2));
11376         int     nX = (int)SvIV(ST(3));
11377         int     nY = (int)SvIV(ST(4));
11378         int     xPos;
11379         int     yPos;
11380         bool    noRefresh;
11381         wxScrolledWindow *    THIS = (wxScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ScrolledWindow" );
11382
11383         if (items < 6)
11384             xPos = 0;
11385         else {
11386             xPos = (int)SvIV(ST(5));
11387         }
11388
11389         if (items < 7)
11390             yPos = 0;
11391         else {
11392             yPos = (int)SvIV(ST(6));
11393         }
11394
11395         if (items < 8)
11396             noRefresh = false;
11397         else {
11398             noRefresh = (bool)SvTRUE(ST(7));
11399         }
11400
11401         THIS->SetScrollbars(ppuX, ppuY, nX, nY, xPos, yPos, noRefresh);
11402     }
11403     XSRETURN_EMPTY;
11404 }
11405
11406
11407 XS(XS_Wx__ScrolledWindow_SetScrollRate); /* prototype to pass -Wmissing-prototypes */
11408 XS(XS_Wx__ScrolledWindow_SetScrollRate)
11409 {
11410 #ifdef dVAR
11411     dVAR; dXSARGS;
11412 #else
11413     dXSARGS;
11414 #endif
11415     if (items != 3)
11416        croak_xs_usage(cv,  "THIS, xstep, ystep");
11417     {
11418         int     xstep = (int)SvIV(ST(1));
11419         int     ystep = (int)SvIV(ST(2));
11420         wxScrolledWindow *    THIS = (wxScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ScrolledWindow" );
11421
11422         THIS->SetScrollRate(xstep, ystep);
11423     }
11424     XSRETURN_EMPTY;
11425 }
11426
11427
11428 XS(XS_Wx__ScrolledWindow_SetTargetWindow); /* prototype to pass -Wmissing-prototypes */
11429 XS(XS_Wx__ScrolledWindow_SetTargetWindow)
11430 {
11431 #ifdef dVAR
11432     dVAR; dXSARGS;
11433 #else
11434     dXSARGS;
11435 #endif
11436     if (items != 2)
11437        croak_xs_usage(cv,  "THIS, window");
11438     {
11439         wxWindow*    window = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
11440         wxScrolledWindow *    THIS = (wxScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ScrolledWindow" );
11441
11442         THIS->SetTargetWindow(window);
11443     }
11444     XSRETURN_EMPTY;
11445 }
11446
11447
11448 XS(XS_Wx__ScrolledWindow_GetViewStart); /* prototype to pass -Wmissing-prototypes */
11449 XS(XS_Wx__ScrolledWindow_GetViewStart)
11450 {
11451 #ifdef dVAR
11452     dVAR; dXSARGS;
11453 #else
11454     dXSARGS;
11455 #endif
11456     if (items != 1)
11457        croak_xs_usage(cv,  "THIS");
11458     PERL_UNUSED_VAR(ax); /* -Wall */
11459     SP -= items;
11460     {
11461     int x;
11462     int y;
11463         wxScrolledWindow *    THIS = (wxScrolledWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ScrolledWindow" );
11464     THIS->GetViewStart( &x, &y );
11465     EXTEND( SP, 2 );
11466     PUSHs( sv_2mortal( newSViv( x ) ) );
11467     PUSHs( sv_2mortal( newSViv( y ) ) );
11468         PUTBACK;
11469         return;
11470     }
11471 }
11472
11473
11474 /* INCLUDE: Returning to 'Window.xs' from 'XS/ScrolledWindow.xs' */
11475
11476
11477 /* INCLUDE:  Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/Sizer.xs |' from 'Window.xs' */
11478
11479 #include <wx/sizer.h>
11480 #include <wx/statbox.h>
11481 #include "cpp/sizer.h"
11482 #if WXPERL_W_VERSION_GE( 2, 5, 4 )
11483 #define XSubPPtmpAACQ 1
11484
11485
11486 XS(XS_Wx__Sizer_AddWindow); /* prototype to pass -Wmissing-prototypes */
11487 XS(XS_Wx__Sizer_AddWindow)
11488 {
11489 #ifdef dVAR
11490     dVAR; dXSARGS;
11491 #else
11492     dXSARGS;
11493 #endif
11494     if (items < 2 || items > 6)
11495        croak_xs_usage(cv,  "THIS, window, option = 0, flag = 0, border = 0, data = NULL");
11496     {
11497         wxWindow*    window = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
11498         int     option;
11499         int     flag;
11500         int     border;
11501         Wx_UserDataO*   data;
11502         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
11503         wxSizerItem *   RETVAL;
11504
11505         if (items < 3)
11506             option = 0;
11507         else {
11508             option = (int)SvIV(ST(2));
11509         }
11510
11511         if (items < 4)
11512             flag = 0;
11513         else {
11514             flag = (int)SvIV(ST(3));
11515         }
11516
11517         if (items < 5)
11518             border = 0;
11519         else {
11520             border = (int)SvIV(ST(4));
11521         }
11522
11523         if (items < 6)
11524             data = NULL;
11525         else {
11526     if( SvOK( ST(5) ) )
11527     {
11528         data = new wxPliUserDataO( ST(5) );
11529     }
11530     else
11531         data = 0;
11532         }
11533     RETVAL = THIS->Add( window, option, flag, border, data );
11534         ST(0) = sv_newmortal();
11535     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
11536
11537     }
11538     XSRETURN(1);
11539 }
11540
11541
11542 XS(XS_Wx__Sizer_AddSizer); /* prototype to pass -Wmissing-prototypes */
11543 XS(XS_Wx__Sizer_AddSizer)
11544 {
11545 #ifdef dVAR
11546     dVAR; dXSARGS;
11547 #else
11548     dXSARGS;
11549 #endif
11550     if (items < 2 || items > 6)
11551        croak_xs_usage(cv,  "THIS, sizer, option = 0, flag = 0, border = 0, data = NULL");
11552     {
11553         wxSizer*    sizer = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Sizer" );
11554         int     option;
11555         int     flag;
11556         int     border;
11557         Wx_UserDataO*   data;
11558         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
11559         wxSizerItem *   RETVAL;
11560
11561         if (items < 3)
11562             option = 0;
11563         else {
11564             option = (int)SvIV(ST(2));
11565         }
11566
11567         if (items < 4)
11568             flag = 0;
11569         else {
11570             flag = (int)SvIV(ST(3));
11571         }
11572
11573         if (items < 5)
11574             border = 0;
11575         else {
11576             border = (int)SvIV(ST(4));
11577         }
11578
11579         if (items < 6)
11580             data = NULL;
11581         else {
11582     if( SvOK( ST(5) ) )
11583     {
11584         data = new wxPliUserDataO( ST(5) );
11585     }
11586     else
11587         data = 0;
11588         }
11589     RETVAL = THIS->Add( sizer, option, flag, border, data );
11590         ST(0) = sv_newmortal();
11591     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
11592
11593     }
11594     XSRETURN(1);
11595 }
11596
11597
11598 XS(XS_Wx__Sizer_AddSpace); /* prototype to pass -Wmissing-prototypes */
11599 XS(XS_Wx__Sizer_AddSpace)
11600 {
11601 #ifdef dVAR
11602     dVAR; dXSARGS;
11603 #else
11604     dXSARGS;
11605 #endif
11606     if (items < 3 || items > 7)
11607        croak_xs_usage(cv,  "THIS, width, height, option = 0, flag = 0, border = 0, data = NULL");
11608     {
11609         int     width = (int)SvIV(ST(1));
11610         int     height = (int)SvIV(ST(2));
11611         int     option;
11612         int     flag;
11613         int     border;
11614         Wx_UserDataO*   data;
11615         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
11616         wxSizerItem *   RETVAL;
11617
11618         if (items < 4)
11619             option = 0;
11620         else {
11621             option = (int)SvIV(ST(3));
11622         }
11623
11624         if (items < 5)
11625             flag = 0;
11626         else {
11627             flag = (int)SvIV(ST(4));
11628         }
11629
11630         if (items < 6)
11631             border = 0;
11632         else {
11633             border = (int)SvIV(ST(5));
11634         }
11635
11636         if (items < 7)
11637             data = NULL;
11638         else {
11639     if( SvOK( ST(6) ) )
11640     {
11641         data = new wxPliUserDataO( ST(6) );
11642     }
11643     else
11644         data = 0;
11645         }
11646     RETVAL = THIS->Add( width, height, option, flag, border, data );
11647         ST(0) = sv_newmortal();
11648     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
11649
11650     }
11651     XSRETURN(1);
11652 }
11653
11654
11655 XS(XS_Wx__Sizer_PrependWindow); /* prototype to pass -Wmissing-prototypes */
11656 XS(XS_Wx__Sizer_PrependWindow)
11657 {
11658 #ifdef dVAR
11659     dVAR; dXSARGS;
11660 #else
11661     dXSARGS;
11662 #endif
11663     if (items < 2 || items > 6)
11664        croak_xs_usage(cv,  "THIS, window, option = 0, flag = 0, border = 0, data = NULL");
11665     {
11666         wxWindow*    window = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
11667         int     option;
11668         int     flag;
11669         int     border;
11670         Wx_UserDataO*   data;
11671         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
11672         wxSizerItem *   RETVAL;
11673
11674         if (items < 3)
11675             option = 0;
11676         else {
11677             option = (int)SvIV(ST(2));
11678         }
11679
11680         if (items < 4)
11681             flag = 0;
11682         else {
11683             flag = (int)SvIV(ST(3));
11684         }
11685
11686         if (items < 5)
11687             border = 0;
11688         else {
11689             border = (int)SvIV(ST(4));
11690         }
11691
11692         if (items < 6)
11693             data = NULL;
11694         else {
11695     if( SvOK( ST(5) ) )
11696     {
11697         data = new wxPliUserDataO( ST(5) );
11698     }
11699     else
11700         data = 0;
11701         }
11702     RETVAL = THIS->Prepend( window, option, flag, border, data );
11703         ST(0) = sv_newmortal();
11704     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
11705
11706     }
11707     XSRETURN(1);
11708 }
11709
11710
11711 XS(XS_Wx__Sizer_PrependSizer); /* prototype to pass -Wmissing-prototypes */
11712 XS(XS_Wx__Sizer_PrependSizer)
11713 {
11714 #ifdef dVAR
11715     dVAR; dXSARGS;
11716 #else
11717     dXSARGS;
11718 #endif
11719     if (items < 2 || items > 6)
11720        croak_xs_usage(cv,  "THIS, sizer, option = 0, flag = 0, border = 0, data = NULL");
11721     {
11722         wxSizer*    sizer = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Sizer" );
11723         int     option;
11724         int     flag;
11725         int     border;
11726         Wx_UserDataO*   data;
11727         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
11728         wxSizerItem *   RETVAL;
11729
11730         if (items < 3)
11731             option = 0;
11732         else {
11733             option = (int)SvIV(ST(2));
11734         }
11735
11736         if (items < 4)
11737             flag = 0;
11738         else {
11739             flag = (int)SvIV(ST(3));
11740         }
11741
11742         if (items < 5)
11743             border = 0;
11744         else {
11745             border = (int)SvIV(ST(4));
11746         }
11747
11748         if (items < 6)
11749             data = NULL;
11750         else {
11751     if( SvOK( ST(5) ) )
11752     {
11753         data = new wxPliUserDataO( ST(5) );
11754     }
11755     else
11756         data = 0;
11757         }
11758     RETVAL = THIS->Prepend( sizer, option, flag, border, data );
11759         ST(0) = sv_newmortal();
11760     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
11761
11762     }
11763     XSRETURN(1);
11764 }
11765
11766
11767 XS(XS_Wx__Sizer_PrependSpace); /* prototype to pass -Wmissing-prototypes */
11768 XS(XS_Wx__Sizer_PrependSpace)
11769 {
11770 #ifdef dVAR
11771     dVAR; dXSARGS;
11772 #else
11773     dXSARGS;
11774 #endif
11775     if (items < 3 || items > 7)
11776        croak_xs_usage(cv,  "THIS, width, height, option = 0, flag = 0, border = 0, data = NULL");
11777     {
11778         int     width = (int)SvIV(ST(1));
11779         int     height = (int)SvIV(ST(2));
11780         int     option;
11781         int     flag;
11782         int     border;
11783         Wx_UserDataO*   data;
11784         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
11785         wxSizerItem *   RETVAL;
11786
11787         if (items < 4)
11788             option = 0;
11789         else {
11790             option = (int)SvIV(ST(3));
11791         }
11792
11793         if (items < 5)
11794             flag = 0;
11795         else {
11796             flag = (int)SvIV(ST(4));
11797         }
11798
11799         if (items < 6)
11800             border = 0;
11801         else {
11802             border = (int)SvIV(ST(5));
11803         }
11804
11805         if (items < 7)
11806             data = NULL;
11807         else {
11808     if( SvOK( ST(6) ) )
11809     {
11810         data = new wxPliUserDataO( ST(6) );
11811     }
11812     else
11813         data = 0;
11814         }
11815     RETVAL = THIS->Prepend( width, height, option, flag, border, data );
11816         ST(0) = sv_newmortal();
11817     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
11818
11819     }
11820     XSRETURN(1);
11821 }
11822
11823
11824 XS(XS_Wx__Sizer_InsertWindow); /* prototype to pass -Wmissing-prototypes */
11825 XS(XS_Wx__Sizer_InsertWindow)
11826 {
11827 #ifdef dVAR
11828     dVAR; dXSARGS;
11829 #else
11830     dXSARGS;
11831 #endif
11832     if (items < 3 || items > 7)
11833        croak_xs_usage(cv,  "THIS, pos, window, option = 0, flag = 0, border = 0, data = NULL");
11834     {
11835         int     pos = (int)SvIV(ST(1));
11836         wxWindow*    window = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Window" );
11837         int     option;
11838         int     flag;
11839         int     border;
11840         Wx_UserDataO*   data;
11841         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
11842         wxSizerItem *   RETVAL;
11843
11844         if (items < 4)
11845             option = 0;
11846         else {
11847             option = (int)SvIV(ST(3));
11848         }
11849
11850         if (items < 5)
11851             flag = 0;
11852         else {
11853             flag = (int)SvIV(ST(4));
11854         }
11855
11856         if (items < 6)
11857             border = 0;
11858         else {
11859             border = (int)SvIV(ST(5));
11860         }
11861
11862         if (items < 7)
11863             data = NULL;
11864         else {
11865     if( SvOK( ST(6) ) )
11866     {
11867         data = new wxPliUserDataO( ST(6) );
11868     }
11869     else
11870         data = 0;
11871         }
11872     RETVAL = THIS->Insert( pos, window, option, flag, border, data );
11873         ST(0) = sv_newmortal();
11874     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
11875
11876     }
11877     XSRETURN(1);
11878 }
11879
11880
11881 XS(XS_Wx__Sizer_InsertSizer); /* prototype to pass -Wmissing-prototypes */
11882 XS(XS_Wx__Sizer_InsertSizer)
11883 {
11884 #ifdef dVAR
11885     dVAR; dXSARGS;
11886 #else
11887     dXSARGS;
11888 #endif
11889     if (items < 3 || items > 7)
11890        croak_xs_usage(cv,  "THIS, pos, sizer, option = 0, flag = 0, border = 0, data = NULL");
11891     {
11892         int     pos = (int)SvIV(ST(1));
11893         wxSizer*    sizer = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Sizer" );
11894         int     option;
11895         int     flag;
11896         int     border;
11897         Wx_UserDataO*   data;
11898         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
11899         wxSizerItem *   RETVAL;
11900
11901         if (items < 4)
11902             option = 0;
11903         else {
11904             option = (int)SvIV(ST(3));
11905         }
11906
11907         if (items < 5)
11908             flag = 0;
11909         else {
11910             flag = (int)SvIV(ST(4));
11911         }
11912
11913         if (items < 6)
11914             border = 0;
11915         else {
11916             border = (int)SvIV(ST(5));
11917         }
11918
11919         if (items < 7)
11920             data = NULL;
11921         else {
11922     if( SvOK( ST(6) ) )
11923     {
11924         data = new wxPliUserDataO( ST(6) );
11925     }
11926     else
11927         data = 0;
11928         }
11929     RETVAL = THIS->Insert( pos, sizer, option, flag, border, data );
11930         ST(0) = sv_newmortal();
11931     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
11932
11933     }
11934     XSRETURN(1);
11935 }
11936
11937
11938 XS(XS_Wx__Sizer_InsertSpace); /* prototype to pass -Wmissing-prototypes */
11939 XS(XS_Wx__Sizer_InsertSpace)
11940 {
11941 #ifdef dVAR
11942     dVAR; dXSARGS;
11943 #else
11944     dXSARGS;
11945 #endif
11946     if (items < 4 || items > 8)
11947        croak_xs_usage(cv,  "THIS, pos, width, height, option = 0, flag = 0, border = 0, data = NULL");
11948     {
11949         int     pos = (int)SvIV(ST(1));
11950         int     width = (int)SvIV(ST(2));
11951         int     height = (int)SvIV(ST(3));
11952         int     option;
11953         int     flag;
11954         int     border;
11955         Wx_UserDataO*   data;
11956         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
11957         wxSizerItem *   RETVAL;
11958
11959         if (items < 5)
11960             option = 0;
11961         else {
11962             option = (int)SvIV(ST(4));
11963         }
11964
11965         if (items < 6)
11966             flag = 0;
11967         else {
11968             flag = (int)SvIV(ST(5));
11969         }
11970
11971         if (items < 7)
11972             border = 0;
11973         else {
11974             border = (int)SvIV(ST(6));
11975         }
11976
11977         if (items < 8)
11978             data = NULL;
11979         else {
11980     if( SvOK( ST(7) ) )
11981     {
11982         data = new wxPliUserDataO( ST(7) );
11983     }
11984     else
11985         data = 0;
11986         }
11987     RETVAL = THIS->Insert( pos, width, height, option, flag, border, data );
11988         ST(0) = sv_newmortal();
11989     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
11990
11991     }
11992     XSRETURN(1);
11993 }
11994
11995 #else
11996 #define XSubPPtmpAACR 1
11997
11998
11999 XS(XS_Wx__Sizer_AddWindow); /* prototype to pass -Wmissing-prototypes */
12000 XS(XS_Wx__Sizer_AddWindow)
12001 {
12002 #ifdef dVAR
12003     dVAR; dXSARGS;
12004 #else
12005     dXSARGS;
12006 #endif
12007     if (items < 2 || items > 6)
12008        croak_xs_usage(cv,  "THIS, window, option = 0, flag = 0, border = 0, data = NULL");
12009     {
12010         wxWindow*    window = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
12011         int     option;
12012         int     flag;
12013         int     border;
12014         Wx_UserDataO*   data;
12015         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
12016
12017         if (items < 3)
12018             option = 0;
12019         else {
12020             option = (int)SvIV(ST(2));
12021         }
12022
12023         if (items < 4)
12024             flag = 0;
12025         else {
12026             flag = (int)SvIV(ST(3));
12027         }
12028
12029         if (items < 5)
12030             border = 0;
12031         else {
12032             border = (int)SvIV(ST(4));
12033         }
12034
12035         if (items < 6)
12036             data = NULL;
12037         else {
12038     if( SvOK( ST(5) ) )
12039     {
12040         data = new wxPliUserDataO( ST(5) );
12041     }
12042     else
12043         data = 0;
12044         }
12045     THIS->Add( window, option, flag, border, data );
12046     }
12047     XSRETURN_EMPTY;
12048 }
12049
12050
12051 XS(XS_Wx__Sizer_AddSizer); /* prototype to pass -Wmissing-prototypes */
12052 XS(XS_Wx__Sizer_AddSizer)
12053 {
12054 #ifdef dVAR
12055     dVAR; dXSARGS;
12056 #else
12057     dXSARGS;
12058 #endif
12059     if (items < 2 || items > 6)
12060        croak_xs_usage(cv,  "THIS, sizer, option = 0, flag = 0, border = 0, data = NULL");
12061     {
12062         wxSizer*    sizer = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Sizer" );
12063         int     option;
12064         int     flag;
12065         int     border;
12066         Wx_UserDataO*   data;
12067         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
12068
12069         if (items < 3)
12070             option = 0;
12071         else {
12072             option = (int)SvIV(ST(2));
12073         }
12074
12075         if (items < 4)
12076             flag = 0;
12077         else {
12078             flag = (int)SvIV(ST(3));
12079         }
12080
12081         if (items < 5)
12082             border = 0;
12083         else {
12084             border = (int)SvIV(ST(4));
12085         }
12086
12087         if (items < 6)
12088             data = NULL;
12089         else {
12090     if( SvOK( ST(5) ) )
12091     {
12092         data = new wxPliUserDataO( ST(5) );
12093     }
12094     else
12095         data = 0;
12096         }
12097     THIS->Add( sizer, option, flag, border, data );
12098     }
12099     XSRETURN_EMPTY;
12100 }
12101
12102
12103 XS(XS_Wx__Sizer_AddSpace); /* prototype to pass -Wmissing-prototypes */
12104 XS(XS_Wx__Sizer_AddSpace)
12105 {
12106 #ifdef dVAR
12107     dVAR; dXSARGS;
12108 #else
12109     dXSARGS;
12110 #endif
12111     if (items < 3 || items > 7)
12112        croak_xs_usage(cv,  "THIS, width, height, option = 0, flag = 0, border = 0, data = NULL");
12113     {
12114         int     width = (int)SvIV(ST(1));
12115         int     height = (int)SvIV(ST(2));
12116         int     option;
12117         int     flag;
12118         int     border;
12119         Wx_UserDataO*   data;
12120         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
12121
12122         if (items < 4)
12123             option = 0;
12124         else {
12125             option = (int)SvIV(ST(3));
12126         }
12127
12128         if (items < 5)
12129             flag = 0;
12130         else {
12131             flag = (int)SvIV(ST(4));
12132         }
12133
12134         if (items < 6)
12135             border = 0;
12136         else {
12137             border = (int)SvIV(ST(5));
12138         }
12139
12140         if (items < 7)
12141             data = NULL;
12142         else {
12143     if( SvOK( ST(6) ) )
12144     {
12145         data = new wxPliUserDataO( ST(6) );
12146     }
12147     else
12148         data = 0;
12149         }
12150     THIS->Add( width, height, option, flag, border, data );
12151     }
12152     XSRETURN_EMPTY;
12153 }
12154
12155
12156 XS(XS_Wx__Sizer_PrependWindow); /* prototype to pass -Wmissing-prototypes */
12157 XS(XS_Wx__Sizer_PrependWindow)
12158 {
12159 #ifdef dVAR
12160     dVAR; dXSARGS;
12161 #else
12162     dXSARGS;
12163 #endif
12164     if (items < 2 || items > 6)
12165        croak_xs_usage(cv,  "THIS, window, option = 0, flag = 0, border = 0, data = NULL");
12166     {
12167         wxWindow*    window = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
12168         int     option;
12169         int     flag;
12170         int     border;
12171         Wx_UserDataO*   data;
12172         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
12173
12174         if (items < 3)
12175             option = 0;
12176         else {
12177             option = (int)SvIV(ST(2));
12178         }
12179
12180         if (items < 4)
12181             flag = 0;
12182         else {
12183             flag = (int)SvIV(ST(3));
12184         }
12185
12186         if (items < 5)
12187             border = 0;
12188         else {
12189             border = (int)SvIV(ST(4));
12190         }
12191
12192         if (items < 6)
12193             data = NULL;
12194         else {
12195     if( SvOK( ST(5) ) )
12196     {
12197         data = new wxPliUserDataO( ST(5) );
12198     }
12199     else
12200         data = 0;
12201         }
12202     THIS->Prepend( window, option, flag, border, data );
12203     }
12204     XSRETURN_EMPTY;
12205 }
12206
12207
12208 XS(XS_Wx__Sizer_PrependSizer); /* prototype to pass -Wmissing-prototypes */
12209 XS(XS_Wx__Sizer_PrependSizer)
12210 {
12211 #ifdef dVAR
12212     dVAR; dXSARGS;
12213 #else
12214     dXSARGS;
12215 #endif
12216     if (items < 2 || items > 6)
12217        croak_xs_usage(cv,  "THIS, sizer, option = 0, flag = 0, border = 0, data = NULL");
12218     {
12219         wxSizer*    sizer = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Sizer" );
12220         int     option;
12221         int     flag;
12222         int     border;
12223         Wx_UserDataO*   data;
12224         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
12225
12226         if (items < 3)
12227             option = 0;
12228         else {
12229             option = (int)SvIV(ST(2));
12230         }
12231
12232         if (items < 4)
12233             flag = 0;
12234         else {
12235             flag = (int)SvIV(ST(3));
12236         }
12237
12238         if (items < 5)
12239             border = 0;
12240         else {
12241             border = (int)SvIV(ST(4));
12242         }
12243
12244         if (items < 6)
12245             data = NULL;
12246         else {
12247     if( SvOK( ST(5) ) )
12248     {
12249         data = new wxPliUserDataO( ST(5) );
12250     }
12251     else
12252         data = 0;
12253         }
12254     THIS->Prepend( sizer, option, flag, border, data );
12255     }
12256     XSRETURN_EMPTY;
12257 }
12258
12259
12260 XS(XS_Wx__Sizer_PrependSpace); /* prototype to pass -Wmissing-prototypes */
12261 XS(XS_Wx__Sizer_PrependSpace)
12262 {
12263 #ifdef dVAR
12264     dVAR; dXSARGS;
12265 #else
12266     dXSARGS;
12267 #endif
12268     if (items < 3 || items > 7)
12269        croak_xs_usage(cv,  "THIS, width, height, option = 0, flag = 0, border = 0, data = NULL");
12270     {
12271         int     width = (int)SvIV(ST(1));
12272         int     height = (int)SvIV(ST(2));
12273         int     option;
12274         int     flag;
12275         int     border;
12276         Wx_UserDataO*   data;
12277         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
12278
12279         if (items < 4)
12280             option = 0;
12281         else {
12282             option = (int)SvIV(ST(3));
12283         }
12284
12285         if (items < 5)
12286             flag = 0;
12287         else {
12288             flag = (int)SvIV(ST(4));
12289         }
12290
12291         if (items < 6)
12292             border = 0;
12293         else {
12294             border = (int)SvIV(ST(5));
12295         }
12296
12297         if (items < 7)
12298             data = NULL;
12299         else {
12300     if( SvOK( ST(6) ) )
12301     {
12302         data = new wxPliUserDataO( ST(6) );
12303     }
12304     else
12305         data = 0;
12306         }
12307     THIS->Prepend( width, height, option, flag, border, data );
12308     }
12309     XSRETURN_EMPTY;
12310 }
12311
12312
12313 XS(XS_Wx__Sizer_InsertWindow); /* prototype to pass -Wmissing-prototypes */
12314 XS(XS_Wx__Sizer_InsertWindow)
12315 {
12316 #ifdef dVAR
12317     dVAR; dXSARGS;
12318 #else
12319     dXSARGS;
12320 #endif
12321     if (items < 3 || items > 7)
12322        croak_xs_usage(cv,  "THIS, pos, window, option = 0, flag = 0, border = 0, data = NULL");
12323     {
12324         int     pos = (int)SvIV(ST(1));
12325         wxWindow*    window = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Window" );
12326         int     option;
12327         int     flag;
12328         int     border;
12329         Wx_UserDataO*   data;
12330         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
12331
12332         if (items < 4)
12333             option = 0;
12334         else {
12335             option = (int)SvIV(ST(3));
12336         }
12337
12338         if (items < 5)
12339             flag = 0;
12340         else {
12341             flag = (int)SvIV(ST(4));
12342         }
12343
12344         if (items < 6)
12345             border = 0;
12346         else {
12347             border = (int)SvIV(ST(5));
12348         }
12349
12350         if (items < 7)
12351             data = NULL;
12352         else {
12353     if( SvOK( ST(6) ) )
12354     {
12355         data = new wxPliUserDataO( ST(6) );
12356     }
12357     else
12358         data = 0;
12359         }
12360     THIS->Insert( pos, window, option, flag, border, data );
12361     }
12362     XSRETURN_EMPTY;
12363 }
12364
12365
12366 XS(XS_Wx__Sizer_InsertSizer); /* prototype to pass -Wmissing-prototypes */
12367 XS(XS_Wx__Sizer_InsertSizer)
12368 {
12369 #ifdef dVAR
12370     dVAR; dXSARGS;
12371 #else
12372     dXSARGS;
12373 #endif
12374     if (items < 3 || items > 7)
12375        croak_xs_usage(cv,  "THIS, pos, sizer, option = 0, flag = 0, border = 0, data = NULL");
12376     {
12377         int     pos = (int)SvIV(ST(1));
12378         wxSizer*    sizer = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Sizer" );
12379         int     option;
12380         int     flag;
12381         int     border;
12382         Wx_UserDataO*   data;
12383         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
12384
12385         if (items < 4)
12386             option = 0;
12387         else {
12388             option = (int)SvIV(ST(3));
12389         }
12390
12391         if (items < 5)
12392             flag = 0;
12393         else {
12394             flag = (int)SvIV(ST(4));
12395         }
12396
12397         if (items < 6)
12398             border = 0;
12399         else {
12400             border = (int)SvIV(ST(5));
12401         }
12402
12403         if (items < 7)
12404             data = NULL;
12405         else {
12406     if( SvOK( ST(6) ) )
12407     {
12408         data = new wxPliUserDataO( ST(6) );
12409     }
12410     else
12411         data = 0;
12412         }
12413     THIS->Insert( pos, sizer, option, flag, border, data );
12414     }
12415     XSRETURN_EMPTY;
12416 }
12417
12418
12419 XS(XS_Wx__Sizer_InsertSpace); /* prototype to pass -Wmissing-prototypes */
12420 XS(XS_Wx__Sizer_InsertSpace)
12421 {
12422 #ifdef dVAR
12423     dVAR; dXSARGS;
12424 #else
12425     dXSARGS;
12426 #endif
12427     if (items < 4 || items > 8)
12428        croak_xs_usage(cv,  "THIS, pos, width, height, option = 0, flag = 0, border = 0, data = NULL");
12429     {
12430         int     pos = (int)SvIV(ST(1));
12431         int     width = (int)SvIV(ST(2));
12432         int     height = (int)SvIV(ST(3));
12433         int     option;
12434         int     flag;
12435         int     border;
12436         Wx_UserDataO*   data;
12437         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
12438
12439         if (items < 5)
12440             option = 0;
12441         else {
12442             option = (int)SvIV(ST(4));
12443         }
12444
12445         if (items < 6)
12446             flag = 0;
12447         else {
12448             flag = (int)SvIV(ST(5));
12449         }
12450
12451         if (items < 7)
12452             border = 0;
12453         else {
12454             border = (int)SvIV(ST(6));
12455         }
12456
12457         if (items < 8)
12458             data = NULL;
12459         else {
12460     if( SvOK( ST(7) ) )
12461     {
12462         data = new wxPliUserDataO( ST(7) );
12463     }
12464     else
12465         data = 0;
12466         }
12467     THIS->Insert( pos, width, height, option, flag, border, data );
12468     }
12469     XSRETURN_EMPTY;
12470 }
12471
12472 #endif
12473 #if WXPERL_W_VERSION_GE( 2, 5, 4 )
12474 #define XSubPPtmpAACS 1
12475
12476
12477 XS(XS_Wx__Sizer_GetItemWindow); /* prototype to pass -Wmissing-prototypes */
12478 XS(XS_Wx__Sizer_GetItemWindow)
12479 {
12480 #ifdef dVAR
12481     dVAR; dXSARGS;
12482 #else
12483     dXSARGS;
12484 #endif
12485     if (items < 2 || items > 3)
12486        croak_xs_usage(cv,  "THIS, window, recursive = false");
12487     {
12488         wxWindow*    window = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
12489         bool    recursive;
12490         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
12491         wxSizerItem *   RETVAL;
12492
12493         if (items < 3)
12494             recursive = false;
12495         else {
12496             recursive = (bool)SvTRUE(ST(2));
12497         }
12498     RETVAL = THIS->GetItem( window, recursive );
12499         ST(0) = sv_newmortal();
12500     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
12501
12502     }
12503     XSRETURN(1);
12504 }
12505
12506
12507 XS(XS_Wx__Sizer_GetItemSizer); /* prototype to pass -Wmissing-prototypes */
12508 XS(XS_Wx__Sizer_GetItemSizer)
12509 {
12510 #ifdef dVAR
12511     dVAR; dXSARGS;
12512 #else
12513     dXSARGS;
12514 #endif
12515     if (items < 2 || items > 3)
12516        croak_xs_usage(cv,  "THIS, sizer, recursive = false");
12517     {
12518         wxSizer*    sizer = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Sizer" );
12519         bool    recursive;
12520         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
12521         wxSizerItem *   RETVAL;
12522
12523         if (items < 3)
12524             recursive = false;
12525         else {
12526             recursive = (bool)SvTRUE(ST(2));
12527         }
12528     RETVAL = THIS->GetItem( sizer, recursive );
12529         ST(0) = sv_newmortal();
12530     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
12531
12532     }
12533     XSRETURN(1);
12534 }
12535
12536
12537 XS(XS_Wx__Sizer_GetItemNth); /* prototype to pass -Wmissing-prototypes */
12538 XS(XS_Wx__Sizer_GetItemNth)
12539 {
12540 #ifdef dVAR
12541     dVAR; dXSARGS;
12542 #else
12543     dXSARGS;
12544 #endif
12545     if (items != 2)
12546        croak_xs_usage(cv,  "THIS, index");
12547     {
12548         size_t    index = (size_t)SvUV( ST(1) );
12549         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
12550         wxSizerItem *   RETVAL;
12551     RETVAL = THIS->GetItem( index );
12552         ST(0) = sv_newmortal();
12553     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
12554
12555     }
12556     XSRETURN(1);
12557 }
12558
12559 #else
12560 #define XSubPPtmpAACT 1
12561
12562
12563 XS(XS_Wx__Sizer_GetItemNth); /* prototype to pass -Wmissing-prototypes */
12564 XS(XS_Wx__Sizer_GetItemNth)
12565 {
12566 #ifdef dVAR
12567     dVAR; dXSARGS;
12568 #else
12569     dXSARGS;
12570 #endif
12571     if (items != 2)
12572        croak_xs_usage(cv,  "THIS, index");
12573     {
12574         size_t    index = (size_t)SvUV( ST(1) );
12575         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
12576         wxSizerItem *   RETVAL;
12577     RETVAL = index >= THIS->GetChildren().GetCount() ? NULL :
12578                  THIS->GetChildren().Item( index )->GetData();
12579         ST(0) = sv_newmortal();
12580     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
12581
12582     }
12583     XSRETURN(1);
12584 }
12585
12586 #endif
12587 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
12588 #define XSubPPtmpAACU 1
12589
12590
12591 XS(XS_Wx__Sizer_GetItemById); /* prototype to pass -Wmissing-prototypes */
12592 XS(XS_Wx__Sizer_GetItemById)
12593 {
12594 #ifdef dVAR
12595     dVAR; dXSARGS;
12596 #else
12597     dXSARGS;
12598 #endif
12599     if (items < 2 || items > 3)
12600        croak_xs_usage(cv,  "THIS, id, recursive = false");
12601     {
12602         int     id = (int)SvIV(ST(1));
12603         bool    recursive;
12604         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
12605         wxSizerItem *   RETVAL;
12606
12607         if (items < 3)
12608             recursive = false;
12609         else {
12610             recursive = (bool)SvTRUE(ST(2));
12611         }
12612
12613         RETVAL = THIS->GetItemById(id, recursive);
12614         ST(0) = sv_newmortal();
12615     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
12616
12617     }
12618     XSRETURN(1);
12619 }
12620
12621 #endif
12622
12623 XS(XS_Wx__Sizer_HideSizer); /* prototype to pass -Wmissing-prototypes */
12624 XS(XS_Wx__Sizer_HideSizer)
12625 {
12626 #ifdef dVAR
12627     dVAR; dXSARGS;
12628 #else
12629     dXSARGS;
12630 #endif
12631     if (items < 2 || items > 3)
12632        croak_xs_usage(cv,  "THIS, sizer, recursive = false");
12633     {
12634         wxSizer*    sizer = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Sizer" );
12635         bool    recursive;
12636         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
12637         bool    RETVAL;
12638
12639         if (items < 3)
12640             recursive = false;
12641         else {
12642             recursive = (bool)SvTRUE(ST(2));
12643         }
12644     RETVAL = THIS->Hide( sizer, recursive );
12645         ST(0) = boolSV(RETVAL);
12646         sv_2mortal(ST(0));
12647     }
12648     XSRETURN(1);
12649 }
12650
12651
12652 XS(XS_Wx__Sizer_HideWindow); /* prototype to pass -Wmissing-prototypes */
12653 XS(XS_Wx__Sizer_HideWindow)
12654 {
12655 #ifdef dVAR
12656     dVAR; dXSARGS;
12657 #else
12658     dXSARGS;
12659 #endif
12660     if (items < 2 || items > 3)
12661        croak_xs_usage(cv,  "THIS, window, recursive = false");
12662     {
12663         wxWindow*    window = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
12664         bool    recursive;
12665         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
12666         bool    RETVAL;
12667
12668         if (items < 3)
12669             recursive = false;
12670         else {
12671             recursive = (bool)SvTRUE(ST(2));
12672         }
12673     RETVAL = THIS->Hide( window, recursive );
12674         ST(0) = boolSV(RETVAL);
12675         sv_2mortal(ST(0));
12676     }
12677     XSRETURN(1);
12678 }
12679
12680
12681 XS(XS_Wx__Sizer_HideIndex); /* prototype to pass -Wmissing-prototypes */
12682 XS(XS_Wx__Sizer_HideIndex)
12683 {
12684 #ifdef dVAR
12685     dVAR; dXSARGS;
12686 #else
12687     dXSARGS;
12688 #endif
12689     if (items != 2)
12690        croak_xs_usage(cv,  "THIS, index");
12691     {
12692         size_t    index = (size_t)SvUV( ST(1) );
12693         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
12694         bool    RETVAL;
12695     RETVAL = THIS->Hide( index );
12696         ST(0) = boolSV(RETVAL);
12697         sv_2mortal(ST(0));
12698     }
12699     XSRETURN(1);
12700 }
12701
12702
12703 XS(XS_Wx__Sizer_Hide); /* prototype to pass -Wmissing-prototypes */
12704 XS(XS_Wx__Sizer_Hide)
12705 {
12706 #ifdef dVAR
12707     dVAR; dXSARGS;
12708 #else
12709     dXSARGS;
12710 #endif
12711     if (items < 1)
12712        croak_xs_usage(cv,  "THIS, ...");
12713     PERL_UNUSED_VAR(ax); /* -Wall */
12714     SP -= items;
12715     {
12716         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
12717     BEGIN_OVERLOAD()
12718         MATCH_REDISP_COUNT_ALLOWMORE( wxPliOvl_wwin_b, HideWindow, 1 )
12719         MATCH_REDISP_COUNT_ALLOWMORE( wxPliOvl_wszr_b, HideSizer, 1 )
12720         MATCH_REDISP( wxPliOvl_n, HideIndex )
12721     END_OVERLOAD( Wx::Sizer::Hide )
12722         PUTBACK;
12723         return;
12724     }
12725 }
12726
12727
12728 XS(XS_Wx__Sizer_IsShownWindow); /* prototype to pass -Wmissing-prototypes */
12729 XS(XS_Wx__Sizer_IsShownWindow)
12730 {
12731 #ifdef dVAR
12732     dVAR; dXSARGS;
12733 #else
12734     dXSARGS;
12735 #endif
12736     if (items != 2)
12737        croak_xs_usage(cv,  "THIS, window");
12738     {
12739         wxWindow*    window = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
12740         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
12741         bool    RETVAL;
12742     RETVAL = THIS->IsShown( window );
12743         ST(0) = boolSV(RETVAL);
12744         sv_2mortal(ST(0));
12745     }
12746     XSRETURN(1);
12747 }
12748
12749
12750 XS(XS_Wx__Sizer_IsShownSizer); /* prototype to pass -Wmissing-prototypes */
12751 XS(XS_Wx__Sizer_IsShownSizer)
12752 {
12753 #ifdef dVAR
12754     dVAR; dXSARGS;
12755 #else
12756     dXSARGS;
12757 #endif
12758     if (items != 2)
12759        croak_xs_usage(cv,  "THIS, sizer");
12760     {
12761         wxSizer*    sizer = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Sizer" );
12762         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
12763         bool    RETVAL;
12764     RETVAL = THIS->IsShown( sizer );
12765         ST(0) = boolSV(RETVAL);
12766         sv_2mortal(ST(0));
12767     }
12768     XSRETURN(1);
12769 }
12770
12771
12772 XS(XS_Wx__Sizer_IsShownIndex); /* prototype to pass -Wmissing-prototypes */
12773 XS(XS_Wx__Sizer_IsShownIndex)
12774 {
12775 #ifdef dVAR
12776     dVAR; dXSARGS;
12777 #else
12778     dXSARGS;
12779 #endif
12780     if (items != 2)
12781        croak_xs_usage(cv,  "THIS, index");
12782     {
12783         size_t    index = (size_t)SvUV( ST(1) );
12784         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
12785         bool    RETVAL;
12786     RETVAL = THIS->IsShown( index );
12787         ST(0) = boolSV(RETVAL);
12788         sv_2mortal(ST(0));
12789     }
12790     XSRETURN(1);
12791 }
12792
12793
12794 XS(XS_Wx__Sizer_IsShown); /* prototype to pass -Wmissing-prototypes */
12795 XS(XS_Wx__Sizer_IsShown)
12796 {
12797 #ifdef dVAR
12798     dVAR; dXSARGS;
12799 #else
12800     dXSARGS;
12801 #endif
12802     if (items < 1)
12803        croak_xs_usage(cv,  "THIS, ...");
12804     PERL_UNUSED_VAR(ax); /* -Wall */
12805     SP -= items;
12806     {
12807         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
12808     BEGIN_OVERLOAD()
12809         MATCH_REDISP( wxPliOvl_wwin, IsShownWindow )
12810         MATCH_REDISP( wxPliOvl_wszr, IsShownSizer )
12811         MATCH_REDISP( wxPliOvl_n, IsShownIndex )
12812     END_OVERLOAD( Wx::Sizer::IsShown )
12813         PUTBACK;
12814         return;
12815     }
12816 }
12817
12818 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
12819 #define XSubPPtmpAACV 1
12820
12821
12822 XS(XS_Wx__Sizer_ReplaceWindow); /* prototype to pass -Wmissing-prototypes */
12823 XS(XS_Wx__Sizer_ReplaceWindow)
12824 {
12825 #ifdef dVAR
12826     dVAR; dXSARGS;
12827 #else
12828     dXSARGS;
12829 #endif
12830     if (items < 3 || items > 4)
12831        croak_xs_usage(cv,  "THIS, oldwin, newwin, recursive = false");
12832     {
12833         wxWindow*    oldwin = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
12834         wxWindow*    newwin = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Window" );
12835         bool    recursive;
12836         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
12837         bool    RETVAL;
12838
12839         if (items < 4)
12840             recursive = false;
12841         else {
12842             recursive = (bool)SvTRUE(ST(3));
12843         }
12844     RETVAL = THIS->Replace( oldwin, newwin, recursive );
12845         ST(0) = boolSV(RETVAL);
12846         sv_2mortal(ST(0));
12847     }
12848     XSRETURN(1);
12849 }
12850
12851
12852 XS(XS_Wx__Sizer_ReplaceSizer); /* prototype to pass -Wmissing-prototypes */
12853 XS(XS_Wx__Sizer_ReplaceSizer)
12854 {
12855 #ifdef dVAR
12856     dVAR; dXSARGS;
12857 #else
12858     dXSARGS;
12859 #endif
12860     if (items < 3 || items > 4)
12861        croak_xs_usage(cv,  "THIS, oldsz, newsz, recursive = false");
12862     {
12863         wxSizer*    oldsz = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Sizer" );
12864         wxSizer*    newsz = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Sizer" );
12865         bool    recursive;
12866         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
12867         bool    RETVAL;
12868
12869         if (items < 4)
12870             recursive = false;
12871         else {
12872             recursive = (bool)SvTRUE(ST(3));
12873         }
12874     RETVAL = THIS->Replace( oldsz, newsz, recursive );
12875         ST(0) = boolSV(RETVAL);
12876         sv_2mortal(ST(0));
12877     }
12878     XSRETURN(1);
12879 }
12880
12881
12882 XS(XS_Wx__Sizer_ReplaceIndex); /* prototype to pass -Wmissing-prototypes */
12883 XS(XS_Wx__Sizer_ReplaceIndex)
12884 {
12885 #ifdef dVAR
12886     dVAR; dXSARGS;
12887 #else
12888     dXSARGS;
12889 #endif
12890     if (items != 3)
12891        croak_xs_usage(cv,  "THIS, index, newitem");
12892     {
12893         size_t    index = (size_t)SvUV( ST(1) );
12894         wxSizerItem*    newitem = (wxSizerItem *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::SizerItem" );
12895         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
12896         bool    RETVAL;
12897     RETVAL = THIS->Replace( index, newitem );
12898         ST(0) = boolSV(RETVAL);
12899         sv_2mortal(ST(0));
12900     }
12901     XSRETURN(1);
12902 }
12903
12904
12905 XS(XS_Wx__Sizer_Replace); /* prototype to pass -Wmissing-prototypes */
12906 XS(XS_Wx__Sizer_Replace)
12907 {
12908 #ifdef dVAR
12909     dVAR; dXSARGS;
12910 #else
12911     dXSARGS;
12912 #endif
12913     if (items < 1)
12914        croak_xs_usage(cv,  "THIS, ...");
12915     PERL_UNUSED_VAR(ax); /* -Wall */
12916     SP -= items;
12917     {
12918         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
12919     BEGIN_OVERLOAD()
12920         MATCH_REDISP_COUNT_ALLOWMORE( wxPliOvl_wwin_wwin_b, ReplaceWindow, 2 )
12921         MATCH_REDISP_COUNT_ALLOWMORE( wxPliOvl_wszr_wszr_b, ReplaceSizer, 2 )
12922         MATCH_REDISP( wxPliOvl_n_wszi, ReplaceIndex )
12923     END_OVERLOAD( Wx::Sizer::Replace )
12924         PUTBACK;
12925         return;
12926     }
12927 }
12928
12929 #endif
12930
12931 XS(XS_Wx__Sizer_RecalcSizes); /* prototype to pass -Wmissing-prototypes */
12932 XS(XS_Wx__Sizer_RecalcSizes)
12933 {
12934 #ifdef dVAR
12935     dVAR; dXSARGS;
12936 #else
12937     dXSARGS;
12938 #endif
12939     if (items != 1)
12940        croak_xs_usage(cv,  "THIS");
12941     {
12942         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
12943
12944         THIS->RecalcSizes();
12945     }
12946     XSRETURN_EMPTY;
12947 }
12948
12949
12950 XS(XS_Wx__Sizer_Clear); /* prototype to pass -Wmissing-prototypes */
12951 XS(XS_Wx__Sizer_Clear)
12952 {
12953 #ifdef dVAR
12954     dVAR; dXSARGS;
12955 #else
12956     dXSARGS;
12957 #endif
12958     if (items < 1 || items > 2)
12959        croak_xs_usage(cv,  "THIS, deleteWindows = false");
12960     {
12961         bool    deleteWindows;
12962         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
12963
12964         if (items < 2)
12965             deleteWindows = false;
12966         else {
12967             deleteWindows = (bool)SvTRUE(ST(1));
12968         }
12969
12970         THIS->Clear(deleteWindows);
12971     }
12972     XSRETURN_EMPTY;
12973 }
12974
12975
12976 XS(XS_Wx__Sizer_DeleteWindows); /* prototype to pass -Wmissing-prototypes */
12977 XS(XS_Wx__Sizer_DeleteWindows)
12978 {
12979 #ifdef dVAR
12980     dVAR; dXSARGS;
12981 #else
12982     dXSARGS;
12983 #endif
12984     if (items != 1)
12985        croak_xs_usage(cv,  "THIS");
12986     {
12987         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
12988
12989         THIS->DeleteWindows();
12990     }
12991     XSRETURN_EMPTY;
12992 }
12993
12994
12995 XS(XS_Wx__Sizer_CalcMin); /* prototype to pass -Wmissing-prototypes */
12996 XS(XS_Wx__Sizer_CalcMin)
12997 {
12998 #ifdef dVAR
12999     dVAR; dXSARGS;
13000 #else
13001     dXSARGS;
13002 #endif
13003     if (items != 1)
13004        croak_xs_usage(cv,  "THIS");
13005     {
13006         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
13007         wxSize  RETVAL;
13008
13009         RETVAL = THIS->CalcMin();
13010         ST(0) = sv_newmortal();
13011     wxPli_non_object_2_sv( aTHX_ ST(0), new wxSize(RETVAL), "Wx::Size" );
13012
13013     }
13014     XSRETURN(1);
13015 }
13016
13017
13018 XS(XS_Wx__Sizer_Fit); /* prototype to pass -Wmissing-prototypes */
13019 XS(XS_Wx__Sizer_Fit)
13020 {
13021 #ifdef dVAR
13022     dVAR; dXSARGS;
13023 #else
13024     dXSARGS;
13025 #endif
13026     if (items != 2)
13027        croak_xs_usage(cv,  "THIS, window");
13028     {
13029         wxWindow*    window = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
13030         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
13031         wxSize  RETVAL;
13032
13033         RETVAL = THIS->Fit(window);
13034         ST(0) = sv_newmortal();
13035     wxPli_non_object_2_sv( aTHX_ ST(0), new wxSize(RETVAL), "Wx::Size" );
13036
13037     }
13038     XSRETURN(1);
13039 }
13040
13041
13042 XS(XS_Wx__Sizer_FitInside); /* prototype to pass -Wmissing-prototypes */
13043 XS(XS_Wx__Sizer_FitInside)
13044 {
13045 #ifdef dVAR
13046     dVAR; dXSARGS;
13047 #else
13048     dXSARGS;
13049 #endif
13050     if (items != 2)
13051        croak_xs_usage(cv,  "THIS, window");
13052     {
13053         wxWindow*    window = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
13054         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
13055
13056         THIS->FitInside(window);
13057     }
13058     XSRETURN_EMPTY;
13059 }
13060
13061
13062 XS(XS_Wx__Sizer_GetSize); /* prototype to pass -Wmissing-prototypes */
13063 XS(XS_Wx__Sizer_GetSize)
13064 {
13065 #ifdef dVAR
13066     dVAR; dXSARGS;
13067 #else
13068     dXSARGS;
13069 #endif
13070     if (items != 1)
13071        croak_xs_usage(cv,  "THIS");
13072     {
13073         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
13074         wxSize  RETVAL;
13075
13076         RETVAL = THIS->GetSize();
13077         ST(0) = sv_newmortal();
13078     wxPli_non_object_2_sv( aTHX_ ST(0), new wxSize(RETVAL), "Wx::Size" );
13079
13080     }
13081     XSRETURN(1);
13082 }
13083
13084
13085 XS(XS_Wx__Sizer_GetPosition); /* prototype to pass -Wmissing-prototypes */
13086 XS(XS_Wx__Sizer_GetPosition)
13087 {
13088 #ifdef dVAR
13089     dVAR; dXSARGS;
13090 #else
13091     dXSARGS;
13092 #endif
13093     if (items != 1)
13094        croak_xs_usage(cv,  "THIS");
13095     {
13096         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
13097         wxPoint RETVAL;
13098
13099         RETVAL = THIS->GetPosition();
13100         ST(0) = sv_newmortal();
13101     wxPli_non_object_2_sv( aTHX_ ST(0), new wxPoint(RETVAL), "Wx::Point" );
13102
13103     }
13104     XSRETURN(1);
13105 }
13106
13107
13108 XS(XS_Wx__Sizer_GetMinSize); /* prototype to pass -Wmissing-prototypes */
13109 XS(XS_Wx__Sizer_GetMinSize)
13110 {
13111 #ifdef dVAR
13112     dVAR; dXSARGS;
13113 #else
13114     dXSARGS;
13115 #endif
13116     if (items != 1)
13117        croak_xs_usage(cv,  "THIS");
13118     {
13119         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
13120         wxSize  RETVAL;
13121
13122         RETVAL = THIS->GetMinSize();
13123         ST(0) = sv_newmortal();
13124     wxPli_non_object_2_sv( aTHX_ ST(0), new wxSize(RETVAL), "Wx::Size" );
13125
13126     }
13127     XSRETURN(1);
13128 }
13129
13130
13131 XS(XS_Wx__Sizer_Layout); /* prototype to pass -Wmissing-prototypes */
13132 XS(XS_Wx__Sizer_Layout)
13133 {
13134 #ifdef dVAR
13135     dVAR; dXSARGS;
13136 #else
13137     dXSARGS;
13138 #endif
13139     if (items != 1)
13140        croak_xs_usage(cv,  "THIS");
13141     {
13142         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
13143
13144         THIS->Layout();
13145     }
13146     XSRETURN_EMPTY;
13147 }
13148
13149 #if WXPERL_W_VERSION_LT( 2, 7, 0 ) || WXWIN_COMPATIBILITY_2_6
13150 #define XSubPPtmpAACW 1
13151
13152
13153 XS(XS_Wx__Sizer_RemoveWindow); /* prototype to pass -Wmissing-prototypes */
13154 XS(XS_Wx__Sizer_RemoveWindow)
13155 {
13156 #ifdef dVAR
13157     dVAR; dXSARGS;
13158 #else
13159     dXSARGS;
13160 #endif
13161     if (items != 2)
13162        croak_xs_usage(cv,  "THIS, window");
13163     {
13164         wxWindow*    window = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
13165         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
13166         bool    RETVAL;
13167     RETVAL = THIS->Remove( window );
13168         ST(0) = boolSV(RETVAL);
13169         sv_2mortal(ST(0));
13170     }
13171     XSRETURN(1);
13172 }
13173
13174 #endif
13175
13176 XS(XS_Wx__Sizer_RemoveSizer); /* prototype to pass -Wmissing-prototypes */
13177 XS(XS_Wx__Sizer_RemoveSizer)
13178 {
13179 #ifdef dVAR
13180     dVAR; dXSARGS;
13181 #else
13182     dXSARGS;
13183 #endif
13184     if (items != 2)
13185        croak_xs_usage(cv,  "THIS, window");
13186     {
13187         wxSizer*    window = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Sizer" );
13188         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
13189         bool    RETVAL;
13190     RETVAL = THIS->Remove( window );
13191         ST(0) = boolSV(RETVAL);
13192         sv_2mortal(ST(0));
13193     }
13194     XSRETURN(1);
13195 }
13196
13197
13198 XS(XS_Wx__Sizer_RemoveNth); /* prototype to pass -Wmissing-prototypes */
13199 XS(XS_Wx__Sizer_RemoveNth)
13200 {
13201 #ifdef dVAR
13202     dVAR; dXSARGS;
13203 #else
13204     dXSARGS;
13205 #endif
13206     if (items != 2)
13207        croak_xs_usage(cv,  "THIS, nth");
13208     {
13209         int     nth = (int)SvIV(ST(1));
13210         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
13211         bool    RETVAL;
13212     RETVAL = THIS->Remove( nth );
13213         ST(0) = boolSV(RETVAL);
13214         sv_2mortal(ST(0));
13215     }
13216     XSRETURN(1);
13217 }
13218
13219 #if WXPERL_W_VERSION_GE( 2, 5, 3 )
13220 #define XSubPPtmpAACX 1
13221
13222
13223 XS(XS_Wx__Sizer_DetachWindow); /* prototype to pass -Wmissing-prototypes */
13224 XS(XS_Wx__Sizer_DetachWindow)
13225 {
13226 #ifdef dVAR
13227     dVAR; dXSARGS;
13228 #else
13229     dXSARGS;
13230 #endif
13231     if (items != 2)
13232        croak_xs_usage(cv,  "THIS, window");
13233     {
13234         wxWindow*    window = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
13235         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
13236         bool    RETVAL;
13237     RETVAL = THIS->Detach( window );
13238         ST(0) = boolSV(RETVAL);
13239         sv_2mortal(ST(0));
13240     }
13241     XSRETURN(1);
13242 }
13243
13244
13245 XS(XS_Wx__Sizer_DetachSizer); /* prototype to pass -Wmissing-prototypes */
13246 XS(XS_Wx__Sizer_DetachSizer)
13247 {
13248 #ifdef dVAR
13249     dVAR; dXSARGS;
13250 #else
13251     dXSARGS;
13252 #endif
13253     if (items != 2)
13254        croak_xs_usage(cv,  "THIS, window");
13255     {
13256         wxSizer*    window = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Sizer" );
13257         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
13258         bool    RETVAL;
13259     RETVAL = THIS->Detach( window );
13260         ST(0) = boolSV(RETVAL);
13261         sv_2mortal(ST(0));
13262     }
13263     XSRETURN(1);
13264 }
13265
13266
13267 XS(XS_Wx__Sizer_DetachNth); /* prototype to pass -Wmissing-prototypes */
13268 XS(XS_Wx__Sizer_DetachNth)
13269 {
13270 #ifdef dVAR
13271     dVAR; dXSARGS;
13272 #else
13273     dXSARGS;
13274 #endif
13275     if (items != 2)
13276        croak_xs_usage(cv,  "THIS, nth");
13277     {
13278         int     nth = (int)SvIV(ST(1));
13279         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
13280         bool    RETVAL;
13281     RETVAL = THIS->Detach( nth );
13282         ST(0) = boolSV(RETVAL);
13283         sv_2mortal(ST(0));
13284     }
13285     XSRETURN(1);
13286 }
13287
13288 #endif
13289 #if WXPERL_W_VERSION_GE( 2, 7, 1 )
13290 #define XSubPPtmpAACY 1
13291
13292
13293 XS(XS_Wx__Sizer_GetContainingWindow); /* prototype to pass -Wmissing-prototypes */
13294 XS(XS_Wx__Sizer_GetContainingWindow)
13295 {
13296 #ifdef dVAR
13297     dVAR; dXSARGS;
13298 #else
13299     dXSARGS;
13300 #endif
13301     if (items != 1)
13302        croak_xs_usage(cv,  "THIS");
13303     {
13304         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
13305         wxWindow *      RETVAL;
13306
13307         RETVAL = THIS->GetContainingWindow();
13308         ST(0) = sv_newmortal();
13309     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
13310
13311     }
13312     XSRETURN(1);
13313 }
13314
13315
13316 XS(XS_Wx__Sizer_SetContainingWindow); /* prototype to pass -Wmissing-prototypes */
13317 XS(XS_Wx__Sizer_SetContainingWindow)
13318 {
13319 #ifdef dVAR
13320     dVAR; dXSARGS;
13321 #else
13322     dXSARGS;
13323 #endif
13324     if (items != 2)
13325        croak_xs_usage(cv,  "THIS, window");
13326     {
13327         wxWindow*    window = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
13328         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
13329
13330         THIS->SetContainingWindow(window);
13331     }
13332     XSRETURN_EMPTY;
13333 }
13334
13335 #endif
13336
13337 XS(XS_Wx__Sizer_SetDimension); /* prototype to pass -Wmissing-prototypes */
13338 XS(XS_Wx__Sizer_SetDimension)
13339 {
13340 #ifdef dVAR
13341     dVAR; dXSARGS;
13342 #else
13343     dXSARGS;
13344 #endif
13345     if (items != 5)
13346        croak_xs_usage(cv,  "THIS, x, y, width, height");
13347     {
13348         int     x = (int)SvIV(ST(1));
13349         int     y = (int)SvIV(ST(2));
13350         int     width = (int)SvIV(ST(3));
13351         int     height = (int)SvIV(ST(4));
13352         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
13353
13354         THIS->SetDimension(x, y, width, height);
13355     }
13356     XSRETURN_EMPTY;
13357 }
13358
13359
13360 XS(XS_Wx__Sizer_SetItemMinSizeWindow); /* prototype to pass -Wmissing-prototypes */
13361 XS(XS_Wx__Sizer_SetItemMinSizeWindow)
13362 {
13363 #ifdef dVAR
13364     dVAR; dXSARGS;
13365 #else
13366     dXSARGS;
13367 #endif
13368     if (items != 4)
13369        croak_xs_usage(cv,  "THIS, window, width, height");
13370     {
13371         wxWindow*    window = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
13372         int     width = (int)SvIV(ST(2));
13373         int     height = (int)SvIV(ST(3));
13374         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
13375     THIS->SetItemMinSize( window, width, height );
13376     }
13377     XSRETURN_EMPTY;
13378 }
13379
13380
13381 XS(XS_Wx__Sizer_SetItemMinSizeSizer); /* prototype to pass -Wmissing-prototypes */
13382 XS(XS_Wx__Sizer_SetItemMinSizeSizer)
13383 {
13384 #ifdef dVAR
13385     dVAR; dXSARGS;
13386 #else
13387     dXSARGS;
13388 #endif
13389     if (items != 4)
13390        croak_xs_usage(cv,  "THIS, window, width, height");
13391     {
13392         wxSizer*    window = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Sizer" );
13393         int     width = (int)SvIV(ST(2));
13394         int     height = (int)SvIV(ST(3));
13395         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
13396     THIS->SetItemMinSize( window, width, height );
13397     }
13398     XSRETURN_EMPTY;
13399 }
13400
13401
13402 XS(XS_Wx__Sizer_SetItemMinSizeNth); /* prototype to pass -Wmissing-prototypes */
13403 XS(XS_Wx__Sizer_SetItemMinSizeNth)
13404 {
13405 #ifdef dVAR
13406     dVAR; dXSARGS;
13407 #else
13408     dXSARGS;
13409 #endif
13410     if (items != 4)
13411        croak_xs_usage(cv,  "THIS, pos, width, height");
13412     {
13413         int     pos = (int)SvIV(ST(1));
13414         int     width = (int)SvIV(ST(2));
13415         int     height = (int)SvIV(ST(3));
13416         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
13417     THIS->SetItemMinSize( pos, width, height );
13418     }
13419     XSRETURN_EMPTY;
13420 }
13421
13422
13423 XS(XS_Wx__Sizer_SetMinSizeSize); /* prototype to pass -Wmissing-prototypes */
13424 XS(XS_Wx__Sizer_SetMinSizeSize)
13425 {
13426 #ifdef dVAR
13427     dVAR; dXSARGS;
13428 #else
13429     dXSARGS;
13430 #endif
13431     if (items != 2)
13432        croak_xs_usage(cv,  "THIS, size");
13433     {
13434         wxSize    size = wxPli_sv_2_wxsize( aTHX_ ST(1) );
13435         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
13436     THIS->SetMinSize( size );
13437     }
13438     XSRETURN_EMPTY;
13439 }
13440
13441
13442 XS(XS_Wx__Sizer_SetMinSizeXY); /* prototype to pass -Wmissing-prototypes */
13443 XS(XS_Wx__Sizer_SetMinSizeXY)
13444 {
13445 #ifdef dVAR
13446     dVAR; dXSARGS;
13447 #else
13448     dXSARGS;
13449 #endif
13450     if (items != 3)
13451        croak_xs_usage(cv,  "THIS, x, y");
13452     {
13453         int     x = (int)SvIV(ST(1));
13454         int     y = (int)SvIV(ST(2));
13455         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
13456     THIS->SetMinSize( x, y );
13457     }
13458     XSRETURN_EMPTY;
13459 }
13460
13461
13462 XS(XS_Wx__Sizer_SetSizeHints); /* prototype to pass -Wmissing-prototypes */
13463 XS(XS_Wx__Sizer_SetSizeHints)
13464 {
13465 #ifdef dVAR
13466     dVAR; dXSARGS;
13467 #else
13468     dXSARGS;
13469 #endif
13470     if (items != 2)
13471        croak_xs_usage(cv,  "THIS, window");
13472     {
13473         wxWindow*    window = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
13474         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
13475
13476         THIS->SetSizeHints(window);
13477     }
13478     XSRETURN_EMPTY;
13479 }
13480
13481 #if WXPERL_W_VERSION_LT( 2, 9, 0 )
13482 #define XSubPPtmpAACZ 1
13483
13484
13485 XS(XS_Wx__Sizer_SetVirtualSizeHints); /* prototype to pass -Wmissing-prototypes */
13486 XS(XS_Wx__Sizer_SetVirtualSizeHints)
13487 {
13488 #ifdef dVAR
13489     dVAR; dXSARGS;
13490 #else
13491     dXSARGS;
13492 #endif
13493     if (items != 2)
13494        croak_xs_usage(cv,  "THIS, window");
13495     {
13496         wxWindow*    window = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
13497         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
13498
13499         THIS->SetVirtualSizeHints(window);
13500     }
13501     XSRETURN_EMPTY;
13502 }
13503
13504 #endif
13505 #if WXPERL_W_VERSION_GE( 2, 6, 2 )
13506 #define XSubPPtmpAADA 1
13507
13508
13509 XS(XS_Wx__Sizer_ShowWindow); /* prototype to pass -Wmissing-prototypes */
13510 XS(XS_Wx__Sizer_ShowWindow)
13511 {
13512 #ifdef dVAR
13513     dVAR; dXSARGS;
13514 #else
13515     dXSARGS;
13516 #endif
13517     if (items < 2 || items > 4)
13518        croak_xs_usage(cv,  "THIS, window, show = true, recursive = false");
13519     {
13520         wxWindow*    window = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
13521         bool    show;
13522         bool    recursive;
13523         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
13524         bool    RETVAL;
13525
13526         if (items < 3)
13527             show = true;
13528         else {
13529             show = (bool)SvTRUE(ST(2));
13530         }
13531
13532         if (items < 4)
13533             recursive = false;
13534         else {
13535             recursive = (bool)SvTRUE(ST(3));
13536         }
13537     RETVAL = THIS->Show( window, show, recursive );
13538         ST(0) = boolSV(RETVAL);
13539         sv_2mortal(ST(0));
13540     }
13541     XSRETURN(1);
13542 }
13543
13544
13545 XS(XS_Wx__Sizer_ShowSizer); /* prototype to pass -Wmissing-prototypes */
13546 XS(XS_Wx__Sizer_ShowSizer)
13547 {
13548 #ifdef dVAR
13549     dVAR; dXSARGS;
13550 #else
13551     dXSARGS;
13552 #endif
13553     if (items < 2 || items > 4)
13554        croak_xs_usage(cv,  "THIS, sizer, show = true, recursive = false");
13555     {
13556         wxSizer*    sizer = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Sizer" );
13557         bool    show;
13558         bool    recursive;
13559         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
13560         bool    RETVAL;
13561
13562         if (items < 3)
13563             show = true;
13564         else {
13565             show = (bool)SvTRUE(ST(2));
13566         }
13567
13568         if (items < 4)
13569             recursive = false;
13570         else {
13571             recursive = (bool)SvTRUE(ST(3));
13572         }
13573     RETVAL = THIS->Show( sizer, show, recursive );
13574         ST(0) = boolSV(RETVAL);
13575         sv_2mortal(ST(0));
13576     }
13577     XSRETURN(1);
13578 }
13579
13580
13581 XS(XS_Wx__Sizer_ShowIndex); /* prototype to pass -Wmissing-prototypes */
13582 XS(XS_Wx__Sizer_ShowIndex)
13583 {
13584 #ifdef dVAR
13585     dVAR; dXSARGS;
13586 #else
13587     dXSARGS;
13588 #endif
13589     if (items < 2 || items > 3)
13590        croak_xs_usage(cv,  "THIS, index, show = true");
13591     {
13592         size_t    index = (size_t)SvUV( ST(1) );
13593         bool    show;
13594         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
13595         bool    RETVAL;
13596
13597         if (items < 3)
13598             show = true;
13599         else {
13600             show = (bool)SvTRUE(ST(2));
13601         }
13602     RETVAL = THIS->Show( index, show );
13603         ST(0) = boolSV(RETVAL);
13604         sv_2mortal(ST(0));
13605     }
13606     XSRETURN(1);
13607 }
13608
13609 #else
13610 #if WXPERL_W_VERSION_GE( 2, 5, 3 )
13611 #define XSubPPtmpAADB 1
13612
13613
13614 XS(XS_Wx__Sizer_ShowWindow); /* prototype to pass -Wmissing-prototypes */
13615 XS(XS_Wx__Sizer_ShowWindow)
13616 {
13617 #ifdef dVAR
13618     dVAR; dXSARGS;
13619 #else
13620     dXSARGS;
13621 #endif
13622     if (items < 2 || items > 3)
13623        croak_xs_usage(cv,  "THIS, window, show = true");
13624     {
13625         wxWindow*    window = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
13626         bool    show;
13627         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
13628         bool    RETVAL;
13629
13630         if (items < 3)
13631             show = true;
13632         else {
13633             show = (bool)SvTRUE(ST(2));
13634         }
13635     RETVAL = THIS->Show( window, show );
13636         ST(0) = boolSV(RETVAL);
13637         sv_2mortal(ST(0));
13638     }
13639     XSRETURN(1);
13640 }
13641
13642
13643 XS(XS_Wx__Sizer_ShowSizer); /* prototype to pass -Wmissing-prototypes */
13644 XS(XS_Wx__Sizer_ShowSizer)
13645 {
13646 #ifdef dVAR
13647     dVAR; dXSARGS;
13648 #else
13649     dXSARGS;
13650 #endif
13651     if (items < 2 || items > 3)
13652        croak_xs_usage(cv,  "THIS, sizer, show = true");
13653     {
13654         wxSizer*    sizer = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Sizer" );
13655         bool    show;
13656         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
13657         bool    RETVAL;
13658
13659         if (items < 3)
13660             show = true;
13661         else {
13662             show = (bool)SvTRUE(ST(2));
13663         }
13664     RETVAL = THIS->Show( sizer, show );
13665         ST(0) = boolSV(RETVAL);
13666         sv_2mortal(ST(0));
13667     }
13668     XSRETURN(1);
13669 }
13670
13671
13672 XS(XS_Wx__Sizer_ShowIndex); /* prototype to pass -Wmissing-prototypes */
13673 XS(XS_Wx__Sizer_ShowIndex)
13674 {
13675 #ifdef dVAR
13676     dVAR; dXSARGS;
13677 #else
13678     dXSARGS;
13679 #endif
13680     if (items < 2 || items > 3)
13681        croak_xs_usage(cv,  "THIS, index, show = true");
13682     {
13683         size_t    index = (size_t)SvUV( ST(1) );
13684         bool    show;
13685         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
13686         bool    RETVAL;
13687
13688         if (items < 3)
13689             show = true;
13690         else {
13691             show = (bool)SvTRUE(ST(2));
13692         }
13693     RETVAL = THIS->Show( index, show );
13694         ST(0) = boolSV(RETVAL);
13695         sv_2mortal(ST(0));
13696     }
13697     XSRETURN(1);
13698 }
13699
13700 #else
13701 #define XSubPPtmpAADC 1
13702
13703
13704 XS(XS_Wx__Sizer_ShowWindow); /* prototype to pass -Wmissing-prototypes */
13705 XS(XS_Wx__Sizer_ShowWindow)
13706 {
13707 #ifdef dVAR
13708     dVAR; dXSARGS;
13709 #else
13710     dXSARGS;
13711 #endif
13712     if (items < 2 || items > 3)
13713        croak_xs_usage(cv,  "THIS, window, show = true");
13714     {
13715         wxWindow*    window = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
13716         bool    show;
13717         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
13718
13719         if (items < 3)
13720             show = true;
13721         else {
13722             show = (bool)SvTRUE(ST(2));
13723         }
13724     THIS->Show( window, show );
13725     }
13726     XSRETURN_EMPTY;
13727 }
13728
13729
13730 XS(XS_Wx__Sizer_ShowSizer); /* prototype to pass -Wmissing-prototypes */
13731 XS(XS_Wx__Sizer_ShowSizer)
13732 {
13733 #ifdef dVAR
13734     dVAR; dXSARGS;
13735 #else
13736     dXSARGS;
13737 #endif
13738     if (items < 2 || items > 3)
13739        croak_xs_usage(cv,  "THIS, sizer, show = true");
13740     {
13741         wxSizer*    sizer = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Sizer" );
13742         bool    show;
13743         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
13744
13745         if (items < 3)
13746             show = true;
13747         else {
13748             show = (bool)SvTRUE(ST(2));
13749         }
13750     THIS->Show( sizer, show );
13751     }
13752     XSRETURN_EMPTY;
13753 }
13754
13755 #endif
13756 #endif
13757 #if WXPERL_W_VERSION_GE( 2, 5, 4 )
13758 #define XSubPPtmpAADD 1
13759
13760
13761 XS(XS_Wx__Sizer_AddSpacer); /* prototype to pass -Wmissing-prototypes */
13762 XS(XS_Wx__Sizer_AddSpacer)
13763 {
13764 #ifdef dVAR
13765     dVAR; dXSARGS;
13766 #else
13767     dXSARGS;
13768 #endif
13769     if (items != 2)
13770        croak_xs_usage(cv,  "THIS, size");
13771     {
13772         int     size = (int)SvIV(ST(1));
13773         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
13774         wxSizerItem *   RETVAL;
13775
13776         RETVAL = THIS->AddSpacer(size);
13777         ST(0) = sv_newmortal();
13778     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
13779
13780     }
13781     XSRETURN(1);
13782 }
13783
13784
13785 XS(XS_Wx__Sizer_AddStretchSpacer); /* prototype to pass -Wmissing-prototypes */
13786 XS(XS_Wx__Sizer_AddStretchSpacer)
13787 {
13788 #ifdef dVAR
13789     dVAR; dXSARGS;
13790 #else
13791     dXSARGS;
13792 #endif
13793     if (items < 1 || items > 2)
13794        croak_xs_usage(cv,  "THIS, prop = 1");
13795     {
13796         int     prop;
13797         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
13798         wxSizerItem *   RETVAL;
13799
13800         if (items < 2)
13801             prop = 1;
13802         else {
13803             prop = (int)SvIV(ST(1));
13804         }
13805
13806         RETVAL = THIS->AddStretchSpacer(prop);
13807         ST(0) = sv_newmortal();
13808     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
13809
13810     }
13811     XSRETURN(1);
13812 }
13813
13814
13815 XS(XS_Wx__Sizer_InsertSpacer); /* prototype to pass -Wmissing-prototypes */
13816 XS(XS_Wx__Sizer_InsertSpacer)
13817 {
13818 #ifdef dVAR
13819     dVAR; dXSARGS;
13820 #else
13821     dXSARGS;
13822 #endif
13823     if (items != 3)
13824        croak_xs_usage(cv,  "THIS, index, size");
13825     {
13826         size_t    index = (size_t)SvUV( ST(1) );
13827         int     size = (int)SvIV(ST(2));
13828         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
13829         wxSizerItem *   RETVAL;
13830
13831         RETVAL = THIS->InsertSpacer(index, size);
13832         ST(0) = sv_newmortal();
13833     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
13834
13835     }
13836     XSRETURN(1);
13837 }
13838
13839
13840 XS(XS_Wx__Sizer_InsertStretchSpacer); /* prototype to pass -Wmissing-prototypes */
13841 XS(XS_Wx__Sizer_InsertStretchSpacer)
13842 {
13843 #ifdef dVAR
13844     dVAR; dXSARGS;
13845 #else
13846     dXSARGS;
13847 #endif
13848     if (items < 2 || items > 3)
13849        croak_xs_usage(cv,  "THIS, index, prop = 1");
13850     {
13851         size_t    index = (size_t)SvUV( ST(1) );
13852         int     prop;
13853         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
13854         wxSizerItem *   RETVAL;
13855
13856         if (items < 3)
13857             prop = 1;
13858         else {
13859             prop = (int)SvIV(ST(2));
13860         }
13861
13862         RETVAL = THIS->InsertStretchSpacer(index, prop);
13863         ST(0) = sv_newmortal();
13864     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
13865
13866     }
13867     XSRETURN(1);
13868 }
13869
13870
13871 XS(XS_Wx__Sizer_PrependSpacer); /* prototype to pass -Wmissing-prototypes */
13872 XS(XS_Wx__Sizer_PrependSpacer)
13873 {
13874 #ifdef dVAR
13875     dVAR; dXSARGS;
13876 #else
13877     dXSARGS;
13878 #endif
13879     if (items != 2)
13880        croak_xs_usage(cv,  "THIS, size");
13881     {
13882         int     size = (int)SvIV(ST(1));
13883         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
13884         wxSizerItem *   RETVAL;
13885
13886         RETVAL = THIS->PrependSpacer(size);
13887         ST(0) = sv_newmortal();
13888     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
13889
13890     }
13891     XSRETURN(1);
13892 }
13893
13894
13895 XS(XS_Wx__Sizer_PrependStretchSpacer); /* prototype to pass -Wmissing-prototypes */
13896 XS(XS_Wx__Sizer_PrependStretchSpacer)
13897 {
13898 #ifdef dVAR
13899     dVAR; dXSARGS;
13900 #else
13901     dXSARGS;
13902 #endif
13903     if (items < 1 || items > 2)
13904        croak_xs_usage(cv,  "THIS, prop = 1");
13905     {
13906         int     prop;
13907         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
13908         wxSizerItem *   RETVAL;
13909
13910         if (items < 2)
13911             prop = 1;
13912         else {
13913             prop = (int)SvIV(ST(1));
13914         }
13915
13916         RETVAL = THIS->PrependStretchSpacer(prop);
13917         ST(0) = sv_newmortal();
13918     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
13919
13920     }
13921     XSRETURN(1);
13922 }
13923
13924 #else // for xsubpp
13925 #if WXPERL_W_VERSION_GE( 2, 5, 3 )
13926 #define XSubPPtmpAADE 1
13927
13928
13929 XS(XS_Wx__Sizer_AddSpacer); /* prototype to pass -Wmissing-prototypes */
13930 XS(XS_Wx__Sizer_AddSpacer)
13931 {
13932 #ifdef dVAR
13933     dVAR; dXSARGS;
13934 #else
13935     dXSARGS;
13936 #endif
13937     if (items != 2)
13938        croak_xs_usage(cv,  "THIS, size");
13939     {
13940         int     size = (int)SvIV(ST(1));
13941         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
13942
13943         THIS->AddSpacer(size);
13944     }
13945     XSRETURN_EMPTY;
13946 }
13947
13948
13949 XS(XS_Wx__Sizer_AddStretchSpacer); /* prototype to pass -Wmissing-prototypes */
13950 XS(XS_Wx__Sizer_AddStretchSpacer)
13951 {
13952 #ifdef dVAR
13953     dVAR; dXSARGS;
13954 #else
13955     dXSARGS;
13956 #endif
13957     if (items < 1 || items > 2)
13958        croak_xs_usage(cv,  "THIS, prop = 1");
13959     {
13960         int     prop;
13961         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
13962
13963         if (items < 2)
13964             prop = 1;
13965         else {
13966             prop = (int)SvIV(ST(1));
13967         }
13968
13969         THIS->AddStretchSpacer(prop);
13970     }
13971     XSRETURN_EMPTY;
13972 }
13973
13974
13975 XS(XS_Wx__Sizer_InsertSpacer); /* prototype to pass -Wmissing-prototypes */
13976 XS(XS_Wx__Sizer_InsertSpacer)
13977 {
13978 #ifdef dVAR
13979     dVAR; dXSARGS;
13980 #else
13981     dXSARGS;
13982 #endif
13983     if (items != 3)
13984        croak_xs_usage(cv,  "THIS, index, size");
13985     {
13986         size_t    index = (size_t)SvUV( ST(1) );
13987         int     size = (int)SvIV(ST(2));
13988         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
13989
13990         THIS->InsertSpacer(index, size);
13991     }
13992     XSRETURN_EMPTY;
13993 }
13994
13995
13996 XS(XS_Wx__Sizer_InsertStretchSpacer); /* prototype to pass -Wmissing-prototypes */
13997 XS(XS_Wx__Sizer_InsertStretchSpacer)
13998 {
13999 #ifdef dVAR
14000     dVAR; dXSARGS;
14001 #else
14002     dXSARGS;
14003 #endif
14004     if (items < 2 || items > 3)
14005        croak_xs_usage(cv,  "THIS, index, prop = 1");
14006     {
14007         size_t    index = (size_t)SvUV( ST(1) );
14008         int     prop;
14009         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
14010
14011         if (items < 3)
14012             prop = 1;
14013         else {
14014             prop = (int)SvIV(ST(2));
14015         }
14016
14017         THIS->InsertStretchSpacer(index, prop);
14018     }
14019     XSRETURN_EMPTY;
14020 }
14021
14022
14023 XS(XS_Wx__Sizer_PrependSpacer); /* prototype to pass -Wmissing-prototypes */
14024 XS(XS_Wx__Sizer_PrependSpacer)
14025 {
14026 #ifdef dVAR
14027     dVAR; dXSARGS;
14028 #else
14029     dXSARGS;
14030 #endif
14031     if (items != 2)
14032        croak_xs_usage(cv,  "THIS, size");
14033     {
14034         int     size = (int)SvIV(ST(1));
14035         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
14036
14037         THIS->PrependSpacer(size);
14038     }
14039     XSRETURN_EMPTY;
14040 }
14041
14042
14043 XS(XS_Wx__Sizer_PrependStretchSpacer); /* prototype to pass -Wmissing-prototypes */
14044 XS(XS_Wx__Sizer_PrependStretchSpacer)
14045 {
14046 #ifdef dVAR
14047     dVAR; dXSARGS;
14048 #else
14049     dXSARGS;
14050 #endif
14051     if (items < 1 || items > 2)
14052        croak_xs_usage(cv,  "THIS, prop = 1");
14053     {
14054         int     prop;
14055         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
14056
14057         if (items < 2)
14058             prop = 1;
14059         else {
14060             prop = (int)SvIV(ST(1));
14061         }
14062
14063         THIS->PrependStretchSpacer(prop);
14064     }
14065     XSRETURN_EMPTY;
14066 }
14067
14068 #endif
14069 #endif
14070 #if WXPERL_W_VERSION_GE( 2, 5, 1 )
14071 #define XSubPPtmpAADF 1
14072
14073
14074 XS(XS_Wx__FlexGridSizer_AddGrowableCol); /* prototype to pass -Wmissing-prototypes */
14075 XS(XS_Wx__FlexGridSizer_AddGrowableCol)
14076 {
14077 #ifdef dVAR
14078     dVAR; dXSARGS;
14079 #else
14080     dXSARGS;
14081 #endif
14082     if (items < 2 || items > 3)
14083        croak_xs_usage(cv,  "THIS, index, proportion = 0");
14084     {
14085         size_t    index = (size_t)SvUV( ST(1) );
14086         int     proportion;
14087         wxFlexGridSizer *    THIS = (wxFlexGridSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FlexGridSizer" );
14088
14089         if (items < 3)
14090             proportion = 0;
14091         else {
14092             proportion = (int)SvIV(ST(2));
14093         }
14094
14095         THIS->AddGrowableCol(index, proportion);
14096     }
14097     XSRETURN_EMPTY;
14098 }
14099
14100
14101 XS(XS_Wx__FlexGridSizer_AddGrowableRow); /* prototype to pass -Wmissing-prototypes */
14102 XS(XS_Wx__FlexGridSizer_AddGrowableRow)
14103 {
14104 #ifdef dVAR
14105     dVAR; dXSARGS;
14106 #else
14107     dXSARGS;
14108 #endif
14109     if (items < 2 || items > 3)
14110        croak_xs_usage(cv,  "THIS, index, proportion = 0");
14111     {
14112         size_t    index = (size_t)SvUV( ST(1) );
14113         int     proportion;
14114         wxFlexGridSizer *    THIS = (wxFlexGridSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FlexGridSizer" );
14115
14116         if (items < 3)
14117             proportion = 0;
14118         else {
14119             proportion = (int)SvIV(ST(2));
14120         }
14121
14122         THIS->AddGrowableRow(index, proportion);
14123     }
14124     XSRETURN_EMPTY;
14125 }
14126
14127
14128 XS(XS_Wx__FlexGridSizer_SetFlexibleDirection); /* prototype to pass -Wmissing-prototypes */
14129 XS(XS_Wx__FlexGridSizer_SetFlexibleDirection)
14130 {
14131 #ifdef dVAR
14132     dVAR; dXSARGS;
14133 #else
14134     dXSARGS;
14135 #endif
14136     if (items != 2)
14137        croak_xs_usage(cv,  "THIS, direction");
14138     {
14139         int     direction = (int)SvIV(ST(1));
14140         wxFlexGridSizer *    THIS = (wxFlexGridSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FlexGridSizer" );
14141
14142         THIS->SetFlexibleDirection(direction);
14143     }
14144     XSRETURN_EMPTY;
14145 }
14146
14147
14148 XS(XS_Wx__FlexGridSizer_GetFlexibleDirection); /* prototype to pass -Wmissing-prototypes */
14149 XS(XS_Wx__FlexGridSizer_GetFlexibleDirection)
14150 {
14151 #ifdef dVAR
14152     dVAR; dXSARGS;
14153 #else
14154     dXSARGS;
14155 #endif
14156     if (items != 1)
14157        croak_xs_usage(cv,  "THIS");
14158     {
14159         wxFlexGridSizer *    THIS = (wxFlexGridSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FlexGridSizer" );
14160         int     RETVAL;
14161         dXSTARG;
14162
14163         RETVAL = THIS->GetFlexibleDirection();
14164         XSprePUSH; PUSHi((IV)RETVAL);
14165     }
14166     XSRETURN(1);
14167 }
14168
14169
14170 XS(XS_Wx__FlexGridSizer_SetNonFlexibleGrowMode); /* prototype to pass -Wmissing-prototypes */
14171 XS(XS_Wx__FlexGridSizer_SetNonFlexibleGrowMode)
14172 {
14173 #ifdef dVAR
14174     dVAR; dXSARGS;
14175 #else
14176     dXSARGS;
14177 #endif
14178     if (items != 2)
14179        croak_xs_usage(cv,  "THIS, mode");
14180     {
14181         wxFlexSizerGrowMode     mode = (wxFlexSizerGrowMode)SvIV(ST(1));
14182         wxFlexGridSizer *    THIS = (wxFlexGridSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FlexGridSizer" );
14183
14184         THIS->SetNonFlexibleGrowMode(mode);
14185     }
14186     XSRETURN_EMPTY;
14187 }
14188
14189
14190 XS(XS_Wx__FlexGridSizer_GetNonFlexibleGrowMode); /* prototype to pass -Wmissing-prototypes */
14191 XS(XS_Wx__FlexGridSizer_GetNonFlexibleGrowMode)
14192 {
14193 #ifdef dVAR
14194     dVAR; dXSARGS;
14195 #else
14196     dXSARGS;
14197 #endif
14198     if (items != 1)
14199        croak_xs_usage(cv,  "THIS");
14200     {
14201         wxFlexGridSizer *    THIS = (wxFlexGridSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FlexGridSizer" );
14202         wxFlexSizerGrowMode     RETVAL;
14203         dXSTARG;
14204
14205         RETVAL = THIS->GetNonFlexibleGrowMode();
14206         XSprePUSH; PUSHi((IV)RETVAL);
14207     }
14208     XSRETURN(1);
14209 }
14210
14211 #else
14212 #define XSubPPtmpAADG 1
14213
14214
14215 XS(XS_Wx__FlexGridSizer_AddGrowableCol); /* prototype to pass -Wmissing-prototypes */
14216 XS(XS_Wx__FlexGridSizer_AddGrowableCol)
14217 {
14218 #ifdef dVAR
14219     dVAR; dXSARGS;
14220 #else
14221     dXSARGS;
14222 #endif
14223     if (items != 2)
14224        croak_xs_usage(cv,  "THIS, index");
14225     {
14226         size_t    index = (size_t)SvUV( ST(1) );
14227         wxFlexGridSizer *    THIS = (wxFlexGridSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FlexGridSizer" );
14228
14229         THIS->AddGrowableCol(index);
14230     }
14231     XSRETURN_EMPTY;
14232 }
14233
14234
14235 XS(XS_Wx__FlexGridSizer_AddGrowableRow); /* prototype to pass -Wmissing-prototypes */
14236 XS(XS_Wx__FlexGridSizer_AddGrowableRow)
14237 {
14238 #ifdef dVAR
14239     dVAR; dXSARGS;
14240 #else
14241     dXSARGS;
14242 #endif
14243     if (items != 2)
14244        croak_xs_usage(cv,  "THIS, index");
14245     {
14246         size_t    index = (size_t)SvUV( ST(1) );
14247         wxFlexGridSizer *    THIS = (wxFlexGridSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FlexGridSizer" );
14248
14249         THIS->AddGrowableRow(index);
14250     }
14251     XSRETURN_EMPTY;
14252 }
14253
14254 #endif
14255 #if WXPERL_W_VERSION_GE( 2, 5, 1 )
14256 #define XSubPPtmpAADH 1
14257
14258
14259 XS(XS_Wx__SizerItem_GetOption); /* prototype to pass -Wmissing-prototypes */
14260 XS(XS_Wx__SizerItem_GetOption)
14261 {
14262 #ifdef dVAR
14263     dVAR; dXSARGS;
14264 #else
14265     dXSARGS;
14266 #endif
14267     if (items != 1)
14268        croak_xs_usage(cv,  "THIS");
14269     {
14270         wxSizerItem *    THIS = (wxSizerItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SizerItem" );
14271         int     RETVAL;
14272         dXSTARG;
14273     RETVAL = THIS->GetProportion();
14274         XSprePUSH; PUSHi((IV)RETVAL);
14275     }
14276     XSRETURN(1);
14277 }
14278
14279
14280 XS(XS_Wx__SizerItem_SetOption); /* prototype to pass -Wmissing-prototypes */
14281 XS(XS_Wx__SizerItem_SetOption)
14282 {
14283 #ifdef dVAR
14284     dVAR; dXSARGS;
14285 #else
14286     dXSARGS;
14287 #endif
14288     if (items != 2)
14289        croak_xs_usage(cv,  "THIS, option");
14290     {
14291         int     option = (int)SvIV(ST(1));
14292         wxSizerItem *    THIS = (wxSizerItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SizerItem" );
14293     THIS->SetProportion( option );
14294     }
14295     XSRETURN_EMPTY;
14296 }
14297
14298
14299 XS(XS_Wx__SizerItem_GetProportion); /* prototype to pass -Wmissing-prototypes */
14300 XS(XS_Wx__SizerItem_GetProportion)
14301 {
14302 #ifdef dVAR
14303     dVAR; dXSARGS;
14304 #else
14305     dXSARGS;
14306 #endif
14307     if (items != 1)
14308        croak_xs_usage(cv,  "THIS");
14309     {
14310         wxSizerItem *    THIS = (wxSizerItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SizerItem" );
14311         int     RETVAL;
14312         dXSTARG;
14313
14314         RETVAL = THIS->GetProportion();
14315         XSprePUSH; PUSHi((IV)RETVAL);
14316     }
14317     XSRETURN(1);
14318 }
14319
14320
14321 XS(XS_Wx__SizerItem_SetProportion); /* prototype to pass -Wmissing-prototypes */
14322 XS(XS_Wx__SizerItem_SetProportion)
14323 {
14324 #ifdef dVAR
14325     dVAR; dXSARGS;
14326 #else
14327     dXSARGS;
14328 #endif
14329     if (items != 2)
14330        croak_xs_usage(cv,  "THIS, proportion");
14331     {
14332         int     proportion = (int)SvIV(ST(1));
14333         wxSizerItem *    THIS = (wxSizerItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SizerItem" );
14334
14335         THIS->SetProportion(proportion);
14336     }
14337     XSRETURN_EMPTY;
14338 }
14339
14340 #else
14341 #define XSubPPtmpAADI 1
14342
14343
14344 XS(XS_Wx__SizerItem_GetProportion); /* prototype to pass -Wmissing-prototypes */
14345 XS(XS_Wx__SizerItem_GetProportion)
14346 {
14347 #ifdef dVAR
14348     dVAR; dXSARGS;
14349 #else
14350     dXSARGS;
14351 #endif
14352     if (items != 1)
14353        croak_xs_usage(cv,  "THIS");
14354     {
14355         wxSizerItem *    THIS = (wxSizerItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SizerItem" );
14356         int     RETVAL;
14357         dXSTARG;
14358     RETVAL = THIS->GetOption();
14359         XSprePUSH; PUSHi((IV)RETVAL);
14360     }
14361     XSRETURN(1);
14362 }
14363
14364
14365 XS(XS_Wx__SizerItem_SetProportion); /* prototype to pass -Wmissing-prototypes */
14366 XS(XS_Wx__SizerItem_SetProportion)
14367 {
14368 #ifdef dVAR
14369     dVAR; dXSARGS;
14370 #else
14371     dXSARGS;
14372 #endif
14373     if (items != 2)
14374        croak_xs_usage(cv,  "THIS, proportion");
14375     {
14376         int     proportion = (int)SvIV(ST(1));
14377         wxSizerItem *    THIS = (wxSizerItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SizerItem" );
14378     THIS->SetOption( proportion );
14379     }
14380     XSRETURN_EMPTY;
14381 }
14382
14383
14384 XS(XS_Wx__SizerItem_GetOption); /* prototype to pass -Wmissing-prototypes */
14385 XS(XS_Wx__SizerItem_GetOption)
14386 {
14387 #ifdef dVAR
14388     dVAR; dXSARGS;
14389 #else
14390     dXSARGS;
14391 #endif
14392     if (items != 1)
14393        croak_xs_usage(cv,  "THIS");
14394     {
14395         wxSizerItem *    THIS = (wxSizerItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SizerItem" );
14396         int     RETVAL;
14397         dXSTARG;
14398
14399         RETVAL = THIS->GetOption();
14400         XSprePUSH; PUSHi((IV)RETVAL);
14401     }
14402     XSRETURN(1);
14403 }
14404
14405
14406 XS(XS_Wx__SizerItem_SetOption); /* prototype to pass -Wmissing-prototypes */
14407 XS(XS_Wx__SizerItem_SetOption)
14408 {
14409 #ifdef dVAR
14410     dVAR; dXSARGS;
14411 #else
14412     dXSARGS;
14413 #endif
14414     if (items != 2)
14415        croak_xs_usage(cv,  "THIS, option");
14416     {
14417         int     option = (int)SvIV(ST(1));
14418         wxSizerItem *    THIS = (wxSizerItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SizerItem" );
14419
14420         THIS->SetOption(option);
14421     }
14422     XSRETURN_EMPTY;
14423 }
14424
14425 #endif
14426 #if WXPERL_W_VERSION_GE( 2, 5, 3 )
14427 #define XSubPPtmpAADJ 1
14428
14429
14430 XS(XS_Wx__SizerItem_SetMinSizeWH); /* prototype to pass -Wmissing-prototypes */
14431 XS(XS_Wx__SizerItem_SetMinSizeWH)
14432 {
14433 #ifdef dVAR
14434     dVAR; dXSARGS;
14435 #else
14436     dXSARGS;
14437 #endif
14438     if (items != 3)
14439        croak_xs_usage(cv,  "THIS, x, y");
14440     {
14441         int     x = (int)SvIV(ST(1));
14442         int     y = (int)SvIV(ST(2));
14443         wxSizerItem *    THIS = (wxSizerItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SizerItem" );
14444     THIS->SetMinSize( x, y );
14445     }
14446     XSRETURN_EMPTY;
14447 }
14448
14449
14450 XS(XS_Wx__SizerItem_SetMinSizeSize); /* prototype to pass -Wmissing-prototypes */
14451 XS(XS_Wx__SizerItem_SetMinSizeSize)
14452 {
14453 #ifdef dVAR
14454     dVAR; dXSARGS;
14455 #else
14456     dXSARGS;
14457 #endif
14458     if (items != 2)
14459        croak_xs_usage(cv,  "THIS, size");
14460     {
14461         wxSize    size = wxPli_sv_2_wxsize( aTHX_ ST(1) );
14462         wxSizerItem *    THIS = (wxSizerItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SizerItem" );
14463     THIS->SetMinSize( size );
14464     }
14465     XSRETURN_EMPTY;
14466 }
14467
14468 #endif
14469
14470 XS(XS_Wx__SizerItem_DeleteWindows); /* prototype to pass -Wmissing-prototypes */
14471 XS(XS_Wx__SizerItem_DeleteWindows)
14472 {
14473 #ifdef dVAR
14474     dVAR; dXSARGS;
14475 #else
14476     dXSARGS;
14477 #endif
14478     if (items != 1)
14479        croak_xs_usage(cv,  "THIS");
14480     {
14481         wxSizerItem *    THIS = (wxSizerItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SizerItem" );
14482
14483         THIS->DeleteWindows();
14484     }
14485     XSRETURN_EMPTY;
14486 }
14487
14488
14489 XS(XS_Wx__SizerItem_DetachSizer); /* prototype to pass -Wmissing-prototypes */
14490 XS(XS_Wx__SizerItem_DetachSizer)
14491 {
14492 #ifdef dVAR
14493     dVAR; dXSARGS;
14494 #else
14495     dXSARGS;
14496 #endif
14497     if (items != 1)
14498        croak_xs_usage(cv,  "THIS");
14499     {
14500         wxSizerItem *    THIS = (wxSizerItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SizerItem" );
14501
14502         THIS->DetachSizer();
14503     }
14504     XSRETURN_EMPTY;
14505 }
14506
14507 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
14508 #define XSubPPtmpAADK 1
14509
14510
14511 XS(XS_Wx__SizerItem_SetId); /* prototype to pass -Wmissing-prototypes */
14512 XS(XS_Wx__SizerItem_SetId)
14513 {
14514 #ifdef dVAR
14515     dVAR; dXSARGS;
14516 #else
14517     dXSARGS;
14518 #endif
14519     if (items != 2)
14520        croak_xs_usage(cv,  "THIS, id");
14521     {
14522         int     id = (int)SvIV(ST(1));
14523         wxSizerItem *    THIS = (wxSizerItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SizerItem" );
14524
14525         THIS->SetId(id);
14526     }
14527     XSRETURN_EMPTY;
14528 }
14529
14530
14531 XS(XS_Wx__SizerItem_GetId); /* prototype to pass -Wmissing-prototypes */
14532 XS(XS_Wx__SizerItem_GetId)
14533 {
14534 #ifdef dVAR
14535     dVAR; dXSARGS;
14536 #else
14537     dXSARGS;
14538 #endif
14539     if (items != 1)
14540        croak_xs_usage(cv,  "THIS");
14541     {
14542         wxSizerItem *    THIS = (wxSizerItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SizerItem" );
14543         int     RETVAL;
14544         dXSTARG;
14545
14546         RETVAL = THIS->GetId();
14547         XSprePUSH; PUSHi((IV)RETVAL);
14548     }
14549     XSRETURN(1);
14550 }
14551
14552 #endif
14553 #if WXPERL_W_VERSION_GE( 2, 6, 0 )
14554 #define XSubPPtmpAADL 1
14555
14556
14557 XS(XS_Wx__SizerItem_GetRect); /* prototype to pass -Wmissing-prototypes */
14558 XS(XS_Wx__SizerItem_GetRect)
14559 {
14560 #ifdef dVAR
14561     dVAR; dXSARGS;
14562 #else
14563     dXSARGS;
14564 #endif
14565     if (items != 1)
14566        croak_xs_usage(cv,  "THIS");
14567     {
14568         wxSizerItem *    THIS = (wxSizerItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SizerItem" );
14569         wxRect *        RETVAL;
14570     RETVAL = new wxRect( THIS->GetRect() );
14571         ST(0) = sv_newmortal();
14572     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Rect" );
14573     wxPli_thread_sv_register( aTHX_ "Wx::Rect", RETVAL, ST(0) );
14574
14575     }
14576     XSRETURN(1);
14577 }
14578
14579 #endif
14580
14581 XS(XS_Wx__SizerItem_Show); /* prototype to pass -Wmissing-prototypes */
14582 XS(XS_Wx__SizerItem_Show)
14583 {
14584 #ifdef dVAR
14585     dVAR; dXSARGS;
14586 #else
14587     dXSARGS;
14588 #endif
14589     if (items != 2)
14590        croak_xs_usage(cv,  "THIS, show");
14591     {
14592         bool    show = (bool)SvTRUE(ST(1));
14593         wxSizerItem *    THIS = (wxSizerItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SizerItem" );
14594
14595         THIS->Show(show);
14596     }
14597     XSRETURN_EMPTY;
14598 }
14599
14600 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
14601 #define XSubPPtmpAADM 1
14602
14603
14604 XS(XS_Wx__SizerItem_AssignSpacer); /* prototype to pass -Wmissing-prototypes */
14605 XS(XS_Wx__SizerItem_AssignSpacer)
14606 {
14607 #ifdef dVAR
14608     dVAR; dXSARGS;
14609 #else
14610     dXSARGS;
14611 #endif
14612     if (items != 3)
14613        croak_xs_usage(cv,  "THIS, width, height");
14614     {
14615         int     width = (int)SvIV(ST(1));
14616         int     height = (int)SvIV(ST(2));
14617         wxSizerItem *    THIS = (wxSizerItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SizerItem" );
14618
14619         THIS->AssignSpacer(width, height);
14620     }
14621     XSRETURN_EMPTY;
14622 }
14623
14624 #else
14625 #if WXPERL_W_VERSION_GE( 2, 6, 0 )
14626 #define XSubPPtmpAADN 1
14627
14628
14629 XS(XS_Wx__SizerItem_SetSpacer); /* prototype to pass -Wmissing-prototypes */
14630 XS(XS_Wx__SizerItem_SetSpacer)
14631 {
14632 #ifdef dVAR
14633     dVAR; dXSARGS;
14634 #else
14635     dXSARGS;
14636 #endif
14637     if (items != 3)
14638        croak_xs_usage(cv,  "THIS, width, height");
14639     {
14640         int     width = (int)SvIV(ST(1));
14641         int     height = (int)SvIV(ST(2));
14642         wxSizerItem *    THIS = (wxSizerItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SizerItem" );
14643
14644         THIS->SetSpacer(width, height);
14645     }
14646     XSRETURN_EMPTY;
14647 }
14648
14649 #endif
14650 #endif
14651
14652 XS(XS_Wx__SizerItem_GetSpacer); /* prototype to pass -Wmissing-prototypes */
14653 XS(XS_Wx__SizerItem_GetSpacer)
14654 {
14655 #ifdef dVAR
14656     dVAR; dXSARGS;
14657 #else
14658     dXSARGS;
14659 #endif
14660     if (items != 1)
14661        croak_xs_usage(cv,  "THIS");
14662     {
14663         wxSizerItem *    THIS = (wxSizerItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SizerItem" );
14664         wxSize  RETVAL;
14665
14666         RETVAL = THIS->GetSpacer();
14667         ST(0) = sv_newmortal();
14668     wxPli_non_object_2_sv( aTHX_ ST(0), new wxSize(RETVAL), "Wx::Size" );
14669
14670     }
14671     XSRETURN(1);
14672 }
14673
14674 #if WXPERL_W_VERSION_GE( 2, 6, 1 )
14675 #include <wx/button.h>
14676 #define XSubPPtmpAADO 1
14677
14678
14679 XS(XS_Wx__StdDialogButtonSizer_new); /* prototype to pass -Wmissing-prototypes */
14680 XS(XS_Wx__StdDialogButtonSizer_new)
14681 {
14682 #ifdef dVAR
14683     dVAR; dXSARGS;
14684 #else
14685     dXSARGS;
14686 #endif
14687     if (items != 1)
14688        croak_xs_usage(cv,  "CLASS");
14689     {
14690         char *  CLASS = (char *)SvPV_nolen(ST(0));
14691         wxStdDialogButtonSizer *        RETVAL;
14692
14693         RETVAL = new wxStdDialogButtonSizer();
14694         ST(0) = sv_newmortal();
14695     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
14696
14697     }
14698     XSRETURN(1);
14699 }
14700
14701
14702 XS(XS_Wx__StdDialogButtonSizer_AddButton); /* prototype to pass -Wmissing-prototypes */
14703 XS(XS_Wx__StdDialogButtonSizer_AddButton)
14704 {
14705 #ifdef dVAR
14706     dVAR; dXSARGS;
14707 #else
14708     dXSARGS;
14709 #endif
14710     if (items != 2)
14711        croak_xs_usage(cv,  "THIS, button");
14712     {
14713         wxButton*    button = (wxButton *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Button" );
14714         wxStdDialogButtonSizer *    THIS = (wxStdDialogButtonSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::StdDialogButtonSizer" );
14715
14716         THIS->AddButton(button);
14717     }
14718     XSRETURN_EMPTY;
14719 }
14720
14721
14722 XS(XS_Wx__StdDialogButtonSizer_SetAffirmativeButton); /* prototype to pass -Wmissing-prototypes */
14723 XS(XS_Wx__StdDialogButtonSizer_SetAffirmativeButton)
14724 {
14725 #ifdef dVAR
14726     dVAR; dXSARGS;
14727 #else
14728     dXSARGS;
14729 #endif
14730     if (items != 2)
14731        croak_xs_usage(cv,  "THIS, button");
14732     {
14733         wxButton*    button = (wxButton *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Button" );
14734         wxStdDialogButtonSizer *    THIS = (wxStdDialogButtonSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::StdDialogButtonSizer" );
14735
14736         THIS->SetAffirmativeButton(button);
14737     }
14738     XSRETURN_EMPTY;
14739 }
14740
14741
14742 XS(XS_Wx__StdDialogButtonSizer_SetNegativeButton); /* prototype to pass -Wmissing-prototypes */
14743 XS(XS_Wx__StdDialogButtonSizer_SetNegativeButton)
14744 {
14745 #ifdef dVAR
14746     dVAR; dXSARGS;
14747 #else
14748     dXSARGS;
14749 #endif
14750     if (items != 2)
14751        croak_xs_usage(cv,  "THIS, button");
14752     {
14753         wxButton*    button = (wxButton *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Button" );
14754         wxStdDialogButtonSizer *    THIS = (wxStdDialogButtonSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::StdDialogButtonSizer" );
14755
14756         THIS->SetNegativeButton(button);
14757     }
14758     XSRETURN_EMPTY;
14759 }
14760
14761
14762 XS(XS_Wx__StdDialogButtonSizer_SetCancelButton); /* prototype to pass -Wmissing-prototypes */
14763 XS(XS_Wx__StdDialogButtonSizer_SetCancelButton)
14764 {
14765 #ifdef dVAR
14766     dVAR; dXSARGS;
14767 #else
14768     dXSARGS;
14769 #endif
14770     if (items != 2)
14771        croak_xs_usage(cv,  "THIS, button");
14772     {
14773         wxButton*    button = (wxButton *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Button" );
14774         wxStdDialogButtonSizer *    THIS = (wxStdDialogButtonSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::StdDialogButtonSizer" );
14775
14776         THIS->SetCancelButton(button);
14777     }
14778     XSRETURN_EMPTY;
14779 }
14780
14781
14782 XS(XS_Wx__StdDialogButtonSizer_Realize); /* prototype to pass -Wmissing-prototypes */
14783 XS(XS_Wx__StdDialogButtonSizer_Realize)
14784 {
14785 #ifdef dVAR
14786     dVAR; dXSARGS;
14787 #else
14788     dXSARGS;
14789 #endif
14790     if (items != 1)
14791        croak_xs_usage(cv,  "THIS");
14792     {
14793         wxStdDialogButtonSizer *    THIS = (wxStdDialogButtonSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::StdDialogButtonSizer" );
14794
14795         THIS->Realize();
14796     }
14797     XSRETURN_EMPTY;
14798 }
14799
14800
14801 XS(XS_Wx__StdDialogButtonSizer_GetAffirmativeButton); /* prototype to pass -Wmissing-prototypes */
14802 XS(XS_Wx__StdDialogButtonSizer_GetAffirmativeButton)
14803 {
14804 #ifdef dVAR
14805     dVAR; dXSARGS;
14806 #else
14807     dXSARGS;
14808 #endif
14809     if (items != 1)
14810        croak_xs_usage(cv,  "THIS");
14811     {
14812         wxStdDialogButtonSizer *    THIS = (wxStdDialogButtonSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::StdDialogButtonSizer" );
14813         wxButton *      RETVAL;
14814
14815         RETVAL = THIS->GetAffirmativeButton();
14816         ST(0) = sv_newmortal();
14817     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
14818
14819     }
14820     XSRETURN(1);
14821 }
14822
14823
14824 XS(XS_Wx__StdDialogButtonSizer_GetApplyButton); /* prototype to pass -Wmissing-prototypes */
14825 XS(XS_Wx__StdDialogButtonSizer_GetApplyButton)
14826 {
14827 #ifdef dVAR
14828     dVAR; dXSARGS;
14829 #else
14830     dXSARGS;
14831 #endif
14832     if (items != 1)
14833        croak_xs_usage(cv,  "THIS");
14834     {
14835         wxStdDialogButtonSizer *    THIS = (wxStdDialogButtonSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::StdDialogButtonSizer" );
14836         wxButton *      RETVAL;
14837
14838         RETVAL = THIS->GetApplyButton();
14839         ST(0) = sv_newmortal();
14840     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
14841
14842     }
14843     XSRETURN(1);
14844 }
14845
14846
14847 XS(XS_Wx__StdDialogButtonSizer_GetNegativeButton); /* prototype to pass -Wmissing-prototypes */
14848 XS(XS_Wx__StdDialogButtonSizer_GetNegativeButton)
14849 {
14850 #ifdef dVAR
14851     dVAR; dXSARGS;
14852 #else
14853     dXSARGS;
14854 #endif
14855     if (items != 1)
14856        croak_xs_usage(cv,  "THIS");
14857     {
14858         wxStdDialogButtonSizer *    THIS = (wxStdDialogButtonSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::StdDialogButtonSizer" );
14859         wxButton *      RETVAL;
14860
14861         RETVAL = THIS->GetNegativeButton();
14862         ST(0) = sv_newmortal();
14863     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
14864
14865     }
14866     XSRETURN(1);
14867 }
14868
14869
14870 XS(XS_Wx__StdDialogButtonSizer_GetCancelButton); /* prototype to pass -Wmissing-prototypes */
14871 XS(XS_Wx__StdDialogButtonSizer_GetCancelButton)
14872 {
14873 #ifdef dVAR
14874     dVAR; dXSARGS;
14875 #else
14876     dXSARGS;
14877 #endif
14878     if (items != 1)
14879        croak_xs_usage(cv,  "THIS");
14880     {
14881         wxStdDialogButtonSizer *    THIS = (wxStdDialogButtonSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::StdDialogButtonSizer" );
14882         wxButton *      RETVAL;
14883
14884         RETVAL = THIS->GetCancelButton();
14885         ST(0) = sv_newmortal();
14886     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
14887
14888     }
14889     XSRETURN(1);
14890 }
14891
14892
14893 XS(XS_Wx__StdDialogButtonSizer_GetHelpButton); /* prototype to pass -Wmissing-prototypes */
14894 XS(XS_Wx__StdDialogButtonSizer_GetHelpButton)
14895 {
14896 #ifdef dVAR
14897     dVAR; dXSARGS;
14898 #else
14899     dXSARGS;
14900 #endif
14901     if (items != 1)
14902        croak_xs_usage(cv,  "THIS");
14903     {
14904         wxStdDialogButtonSizer *    THIS = (wxStdDialogButtonSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::StdDialogButtonSizer" );
14905         wxButton *      RETVAL;
14906
14907         RETVAL = THIS->GetHelpButton();
14908         ST(0) = sv_newmortal();
14909     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
14910
14911     }
14912     XSRETURN(1);
14913 }
14914
14915 #endif
14916 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
14917 #include <wx/wrapsizer.h>
14918 #define XSubPPtmpAADP 1
14919
14920
14921 XS(XS_Wx__WrapSizer_new); /* prototype to pass -Wmissing-prototypes */
14922 XS(XS_Wx__WrapSizer_new)
14923 {
14924 #ifdef dVAR
14925     dVAR; dXSARGS;
14926 #else
14927     dXSARGS;
14928 #endif
14929     if (items < 1 || items > 3)
14930        croak_xs_usage(cv,  "CLASS, orient = wxHORIZONTAL, flags = wxEXTEND_LAST_ON_EACH_LINE");
14931     {
14932         int     orient;
14933         int     flags;
14934         char *  CLASS = (char *)SvPV_nolen(ST(0));
14935         wxWrapSizer *   RETVAL;
14936
14937         if (items < 2)
14938             orient = wxHORIZONTAL;
14939         else {
14940             orient = (int)SvIV(ST(1));
14941         }
14942
14943         if (items < 3)
14944             flags = wxEXTEND_LAST_ON_EACH_LINE;
14945         else {
14946             flags = (int)SvIV(ST(2));
14947         }
14948
14949         RETVAL = new wxWrapSizer(orient, flags);
14950         ST(0) = sv_newmortal();
14951     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
14952
14953     }
14954     XSRETURN(1);
14955 }
14956
14957
14958 XS(XS_Wx__WrapSizer_InformFirstDirection); /* prototype to pass -Wmissing-prototypes */
14959 XS(XS_Wx__WrapSizer_InformFirstDirection)
14960 {
14961 #ifdef dVAR
14962     dVAR; dXSARGS;
14963 #else
14964     dXSARGS;
14965 #endif
14966     if (items != 4)
14967        croak_xs_usage(cv,  "THIS, direction, size, availableOtherDir");
14968     {
14969         int     direction = (int)SvIV(ST(1));
14970         int     size = (int)SvIV(ST(2));
14971         int     availableOtherDir = (int)SvIV(ST(3));
14972         wxWrapSizer *    THIS = (wxWrapSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::WrapSizer" );
14973         bool    RETVAL;
14974
14975         RETVAL = THIS->InformFirstDirection(direction, size, availableOtherDir);
14976         ST(0) = boolSV(RETVAL);
14977         sv_2mortal(ST(0));
14978     }
14979     XSRETURN(1);
14980 }
14981
14982 #endif
14983
14984 XS(XS_Wx__Sizer_Show); /* prototype to pass -Wmissing-prototypes */
14985 XS(XS_Wx__Sizer_Show)
14986 {
14987 #ifdef dVAR
14988     dVAR; dXSARGS;
14989 #else
14990     dXSARGS;
14991 #endif
14992     if (items < 1)
14993        croak_xs_usage(cv,  "THIS, ...");
14994     PERL_UNUSED_VAR(ax); /* -Wall */
14995     SP -= items;
14996     {
14997         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
14998     BEGIN_OVERLOAD()
14999         MATCH_REDISP_COUNT_ALLOWMORE( wxPliOvl_wwin_b, ShowWindow, 1 )
15000         MATCH_REDISP_COUNT_ALLOWMORE( wxPliOvl_wszr_b, ShowSizer, 1 )
15001         MATCH_REDISP_COUNT_ALLOWMORE( wxPliOvl_n_b, ShowIndex, 1 )
15002     END_OVERLOAD( Wx::Sizer::Show )
15003         PUTBACK;
15004         return;
15005     }
15006 }
15007
15008
15009 XS(XS_Wx__Sizer_Destroy); /* prototype to pass -Wmissing-prototypes */
15010 XS(XS_Wx__Sizer_Destroy)
15011 {
15012 #ifdef dVAR
15013     dVAR; dXSARGS;
15014 #else
15015     dXSARGS;
15016 #endif
15017     if (items != 1)
15018        croak_xs_usage(cv,  "THIS");
15019     {
15020         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
15021     delete THIS;
15022     }
15023     XSRETURN_EMPTY;
15024 }
15025
15026
15027 XS(XS_Wx__Sizer_Add); /* prototype to pass -Wmissing-prototypes */
15028 XS(XS_Wx__Sizer_Add)
15029 {
15030 #ifdef dVAR
15031     dVAR; dXSARGS;
15032 #else
15033     dXSARGS;
15034 #endif
15035     if (items < 1)
15036        croak_xs_usage(cv,  "THIS, ...");
15037     PERL_UNUSED_VAR(ax); /* -Wall */
15038     SP -= items;
15039     {
15040         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
15041     BEGIN_OVERLOAD()
15042         MATCH_REDISP_COUNT_ALLOWMORE( wxPliOvl_wwin_n_n_n_s, AddWindow, 1 )
15043         MATCH_REDISP_COUNT_ALLOWMORE( wxPliOvl_wszr_n_n_n_s, AddSizer, 1 )
15044         MATCH_REDISP_COUNT_ALLOWMORE( wxPliOvl_n_n_n_n_n_s, AddSpace, 2 )
15045     END_OVERLOAD( Wx::Sizer::Add )
15046         PUTBACK;
15047         return;
15048     }
15049 }
15050
15051
15052 XS(XS_Wx__Sizer_GetChildren); /* prototype to pass -Wmissing-prototypes */
15053 XS(XS_Wx__Sizer_GetChildren)
15054 {
15055 #ifdef dVAR
15056     dVAR; dXSARGS;
15057 #else
15058     dXSARGS;
15059 #endif
15060     if (items != 1)
15061        croak_xs_usage(cv,  "THIS");
15062     PERL_UNUSED_VAR(ax); /* -Wall */
15063     SP -= items;
15064     {
15065         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
15066 #if WXPERL_W_VERSION_GE( 2, 5, 1 )
15067     wxSizerItemList::compatibility_iterator node;
15068     const wxSizerItemList& list
15069 #else
15070     wxList::compatibility_iterator node;
15071     const wxList& list
15072 #endif
15073         = THIS->GetChildren();
15074
15075     EXTEND( SP, (IV) list.GetCount() );
15076
15077     for( node = list.GetFirst(); node; node = node->GetNext() )
15078       PUSHs( wxPli_object_2_sv( aTHX_ sv_newmortal(), node->GetData() ) );
15079         PUTBACK;
15080         return;
15081     }
15082 }
15083
15084
15085 XS(XS_Wx__Sizer_Insert); /* prototype to pass -Wmissing-prototypes */
15086 XS(XS_Wx__Sizer_Insert)
15087 {
15088 #ifdef dVAR
15089     dVAR; dXSARGS;
15090 #else
15091     dXSARGS;
15092 #endif
15093     if (items < 1)
15094        croak_xs_usage(cv,  "THIS, ...");
15095     PERL_UNUSED_VAR(ax); /* -Wall */
15096     SP -= items;
15097     {
15098         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
15099     BEGIN_OVERLOAD()
15100         MATCH_REDISP_COUNT_ALLOWMORE( wxPliOvl_n_wwin_n_n_n_s, InsertWindow, 2 )
15101         MATCH_REDISP_COUNT_ALLOWMORE( wxPliOvl_n_wszr_n_n_n_s, InsertSizer, 2 )
15102         MATCH_REDISP_COUNT_ALLOWMORE( wxPliOvl_n_n_n_n_n_n_s, InsertSpace, 3 )
15103     END_OVERLOAD( "Wx::Sizer::Insert" )
15104         PUTBACK;
15105         return;
15106     }
15107 }
15108
15109
15110 XS(XS_Wx__Sizer_Prepend); /* prototype to pass -Wmissing-prototypes */
15111 XS(XS_Wx__Sizer_Prepend)
15112 {
15113 #ifdef dVAR
15114     dVAR; dXSARGS;
15115 #else
15116     dXSARGS;
15117 #endif
15118     if (items < 1)
15119        croak_xs_usage(cv,  "THIS, ...");
15120     PERL_UNUSED_VAR(ax); /* -Wall */
15121     SP -= items;
15122     {
15123         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
15124     BEGIN_OVERLOAD()
15125         MATCH_REDISP_COUNT_ALLOWMORE( wxPliOvl_wwin_n_n_n_s, PrependWindow, 1 )
15126         MATCH_REDISP_COUNT_ALLOWMORE( wxPliOvl_wszr_n_n_n_s, PrependSizer, 1 )
15127         MATCH_REDISP_COUNT_ALLOWMORE( wxPliOvl_n_n_n_n_n_s, PrependSpace, 2 )
15128     END_OVERLOAD( "Wx::Sizer::Prepend" )
15129         PUTBACK;
15130         return;
15131     }
15132 }
15133
15134
15135 XS(XS_Wx__Sizer_Remove); /* prototype to pass -Wmissing-prototypes */
15136 XS(XS_Wx__Sizer_Remove)
15137 {
15138 #ifdef dVAR
15139     dVAR; dXSARGS;
15140 #else
15141     dXSARGS;
15142 #endif
15143     if (items < 1)
15144        croak_xs_usage(cv,  "THIS, ...");
15145     PERL_UNUSED_VAR(ax); /* -Wall */
15146     SP -= items;
15147     {
15148         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
15149     BEGIN_OVERLOAD()
15150 #if WXPERL_W_VERSION_LT( 2, 7, 0 )|| WXWIN_COMPATIBILITY_2_6
15151         MATCH_REDISP( wxPliOvl_wwin, RemoveWindow )
15152 #endif
15153         MATCH_REDISP( wxPliOvl_wszr, RemoveSizer )
15154         MATCH_REDISP( wxPliOvl_n, RemoveNth )
15155     END_OVERLOAD( Wx::Sizer::Remove )
15156         PUTBACK;
15157         return;
15158     }
15159 }
15160
15161
15162 XS(XS_Wx__Sizer_Detach); /* prototype to pass -Wmissing-prototypes */
15163 XS(XS_Wx__Sizer_Detach)
15164 {
15165 #ifdef dVAR
15166     dVAR; dXSARGS;
15167 #else
15168     dXSARGS;
15169 #endif
15170     if (items < 1)
15171        croak_xs_usage(cv,  "THIS, ...");
15172     PERL_UNUSED_VAR(ax); /* -Wall */
15173     SP -= items;
15174     {
15175         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
15176     BEGIN_OVERLOAD()
15177         MATCH_REDISP( wxPliOvl_wwin, DetachWindow )
15178         MATCH_REDISP( wxPliOvl_wszr, DetachSizer )
15179         MATCH_REDISP( wxPliOvl_n, DetachNth )
15180     END_OVERLOAD( Wx::Sizer::Detach )
15181         PUTBACK;
15182         return;
15183     }
15184 }
15185
15186
15187 XS(XS_Wx__Sizer_GetItem); /* prototype to pass -Wmissing-prototypes */
15188 XS(XS_Wx__Sizer_GetItem)
15189 {
15190 #ifdef dVAR
15191     dVAR; dXSARGS;
15192 #else
15193     dXSARGS;
15194 #endif
15195     if (items < 1)
15196        croak_xs_usage(cv,  "THIS, ...");
15197     PERL_UNUSED_VAR(ax); /* -Wall */
15198     SP -= items;
15199     {
15200         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
15201     BEGIN_OVERLOAD()
15202 #if WXPERL_W_VERSION_GE( 2, 5, 4 )
15203         MATCH_REDISP( wxPliOvl_wwin_s, GetItemWindow )
15204         MATCH_REDISP( wxPliOvl_wszr_s, GetItemSizer )
15205 #endif
15206         MATCH_REDISP( wxPliOvl_n, GetItemNth )
15207     END_OVERLOAD( Wx::Sizer::GetItem )
15208         PUTBACK;
15209         return;
15210     }
15211 }
15212
15213
15214 XS(XS_Wx__Sizer_SetItemMinSize); /* prototype to pass -Wmissing-prototypes */
15215 XS(XS_Wx__Sizer_SetItemMinSize)
15216 {
15217 #ifdef dVAR
15218     dVAR; dXSARGS;
15219 #else
15220     dXSARGS;
15221 #endif
15222     if (items < 1)
15223        croak_xs_usage(cv,  "THIS, ...");
15224     PERL_UNUSED_VAR(ax); /* -Wall */
15225     SP -= items;
15226     {
15227         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
15228     BEGIN_OVERLOAD()
15229         MATCH_REDISP( wxPliOvl_wwin_n_n, SetItemMinSizeWindow )
15230         MATCH_REDISP( wxPliOvl_wszr_n_n, SetItemMinSizeSizer )
15231         MATCH_REDISP( wxPliOvl_n_n_n, SetItemMinSizeNth )
15232     END_OVERLOAD( Wx::Sizer::SetItemMinSize )
15233         PUTBACK;
15234         return;
15235     }
15236 }
15237
15238
15239 XS(XS_Wx__Sizer_SetMinSize); /* prototype to pass -Wmissing-prototypes */
15240 XS(XS_Wx__Sizer_SetMinSize)
15241 {
15242 #ifdef dVAR
15243     dVAR; dXSARGS;
15244 #else
15245     dXSARGS;
15246 #endif
15247     if (items < 1)
15248        croak_xs_usage(cv,  "THIS, ...");
15249     PERL_UNUSED_VAR(ax); /* -Wall */
15250     SP -= items;
15251     {
15252         wxSizer *    THIS = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sizer" );
15253     BEGIN_OVERLOAD()
15254         MATCH_REDISP( wxPliOvl_n_n, SetMinSizeXY )
15255         MATCH_REDISP( wxPliOvl_wsiz, SetMinSizeSize )
15256     END_OVERLOAD( Wx::Sizer::SetMinSize )
15257         PUTBACK;
15258         return;
15259     }
15260 }
15261
15262
15263 XS(XS_Wx__BoxSizer_new); /* prototype to pass -Wmissing-prototypes */
15264 XS(XS_Wx__BoxSizer_new)
15265 {
15266 #ifdef dVAR
15267     dVAR; dXSARGS;
15268 #else
15269     dXSARGS;
15270 #endif
15271     if (items != 2)
15272        croak_xs_usage(cv,  "CLASS, orientation");
15273     {
15274         int     orientation = (int)SvIV(ST(1));
15275         char *  CLASS = (char *)SvPV_nolen(ST(0));
15276         wxBoxSizer *    RETVAL;
15277
15278         RETVAL = new wxBoxSizer(orientation);
15279         ST(0) = sv_newmortal();
15280     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
15281
15282     }
15283     XSRETURN(1);
15284 }
15285
15286
15287 XS(XS_Wx__BoxSizer_GetOrientation); /* prototype to pass -Wmissing-prototypes */
15288 XS(XS_Wx__BoxSizer_GetOrientation)
15289 {
15290 #ifdef dVAR
15291     dVAR; dXSARGS;
15292 #else
15293     dXSARGS;
15294 #endif
15295     if (items != 1)
15296        croak_xs_usage(cv,  "THIS");
15297     {
15298         wxBoxSizer *    THIS = (wxBoxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BoxSizer" );
15299         int     RETVAL;
15300         dXSTARG;
15301
15302         RETVAL = THIS->GetOrientation();
15303         XSprePUSH; PUSHi((IV)RETVAL);
15304     }
15305     XSRETURN(1);
15306 }
15307
15308
15309 XS(XS_Wx__StaticBoxSizer_new); /* prototype to pass -Wmissing-prototypes */
15310 XS(XS_Wx__StaticBoxSizer_new)
15311 {
15312 #ifdef dVAR
15313     dVAR; dXSARGS;
15314 #else
15315     dXSARGS;
15316 #endif
15317     if (items != 3)
15318        croak_xs_usage(cv,  "CLASS, box, orient");
15319     {
15320         wxStaticBox*    box = (wxStaticBox *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::StaticBox" );
15321         int     orient = (int)SvIV(ST(2));
15322         char *  CLASS = (char *)SvPV_nolen(ST(0));
15323         wxStaticBoxSizer *      RETVAL;
15324
15325         RETVAL = new wxStaticBoxSizer(box, orient);
15326         ST(0) = sv_newmortal();
15327     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
15328
15329     }
15330     XSRETURN(1);
15331 }
15332
15333
15334 XS(XS_Wx__StaticBoxSizer_GetStaticBox); /* prototype to pass -Wmissing-prototypes */
15335 XS(XS_Wx__StaticBoxSizer_GetStaticBox)
15336 {
15337 #ifdef dVAR
15338     dVAR; dXSARGS;
15339 #else
15340     dXSARGS;
15341 #endif
15342     if (items != 1)
15343        croak_xs_usage(cv,  "THIS");
15344     {
15345         wxStaticBoxSizer *    THIS = (wxStaticBoxSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::StaticBoxSizer" );
15346         wxStaticBox *   RETVAL;
15347
15348         RETVAL = THIS->GetStaticBox();
15349         ST(0) = sv_newmortal();
15350     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
15351
15352     }
15353     XSRETURN(1);
15354 }
15355
15356 #include <wx/notebook.h>
15357
15358 XS(XS_Wx__NotebookSizer_new); /* prototype to pass -Wmissing-prototypes */
15359 XS(XS_Wx__NotebookSizer_new)
15360 {
15361 #ifdef dVAR
15362     dVAR; dXSARGS;
15363 #else
15364     dXSARGS;
15365 #endif
15366     if (items != 2)
15367        croak_xs_usage(cv,  "CLASS, notebook");
15368     {
15369         wxNotebook*    notebook = (wxNotebook *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Notebook" );
15370         char *  CLASS = (char *)SvPV_nolen(ST(0));
15371         wxNotebookSizer *       RETVAL;
15372
15373         RETVAL = new wxNotebookSizer(notebook);
15374         ST(0) = sv_newmortal();
15375     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
15376
15377     }
15378     XSRETURN(1);
15379 }
15380
15381
15382 XS(XS_Wx__NotebookSizer_GetNotebook); /* prototype to pass -Wmissing-prototypes */
15383 XS(XS_Wx__NotebookSizer_GetNotebook)
15384 {
15385 #ifdef dVAR
15386     dVAR; dXSARGS;
15387 #else
15388     dXSARGS;
15389 #endif
15390     if (items != 1)
15391        croak_xs_usage(cv,  "THIS");
15392     {
15393         wxNotebookSizer *    THIS = (wxNotebookSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::NotebookSizer" );
15394         wxNotebook *    RETVAL;
15395
15396         RETVAL = THIS->GetNotebook();
15397         ST(0) = sv_newmortal();
15398     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
15399
15400     }
15401     XSRETURN(1);
15402 }
15403
15404
15405 XS(XS_Wx__GridSizer_new); /* prototype to pass -Wmissing-prototypes */
15406 XS(XS_Wx__GridSizer_new)
15407 {
15408 #ifdef dVAR
15409     dVAR; dXSARGS;
15410 #else
15411     dXSARGS;
15412 #endif
15413     if (items < 3 || items > 5)
15414        croak_xs_usage(cv,  "CLASS, rows, cols, vgap = 0, hgap = 0");
15415     {
15416         int     rows = (int)SvIV(ST(1));
15417         int     cols = (int)SvIV(ST(2));
15418         int     vgap;
15419         int     hgap;
15420         char *  CLASS = (char *)SvPV_nolen(ST(0));
15421         wxGridSizer *   RETVAL;
15422
15423         if (items < 4)
15424             vgap = 0;
15425         else {
15426             vgap = (int)SvIV(ST(3));
15427         }
15428
15429         if (items < 5)
15430             hgap = 0;
15431         else {
15432             hgap = (int)SvIV(ST(4));
15433         }
15434
15435         RETVAL = new wxGridSizer(rows, cols, vgap, hgap);
15436         ST(0) = sv_newmortal();
15437     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
15438
15439     }
15440     XSRETURN(1);
15441 }
15442
15443
15444 XS(XS_Wx__GridSizer_GetCols); /* prototype to pass -Wmissing-prototypes */
15445 XS(XS_Wx__GridSizer_GetCols)
15446 {
15447 #ifdef dVAR
15448     dVAR; dXSARGS;
15449 #else
15450     dXSARGS;
15451 #endif
15452     if (items != 1)
15453        croak_xs_usage(cv,  "THIS");
15454     {
15455         wxGridSizer *    THIS = (wxGridSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GridSizer" );
15456         int     RETVAL;
15457         dXSTARG;
15458
15459         RETVAL = THIS->GetCols();
15460         XSprePUSH; PUSHi((IV)RETVAL);
15461     }
15462     XSRETURN(1);
15463 }
15464
15465
15466 XS(XS_Wx__GridSizer_GetHGap); /* prototype to pass -Wmissing-prototypes */
15467 XS(XS_Wx__GridSizer_GetHGap)
15468 {
15469 #ifdef dVAR
15470     dVAR; dXSARGS;
15471 #else
15472     dXSARGS;
15473 #endif
15474     if (items != 1)
15475        croak_xs_usage(cv,  "THIS");
15476     {
15477         wxGridSizer *    THIS = (wxGridSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GridSizer" );
15478         int     RETVAL;
15479         dXSTARG;
15480
15481         RETVAL = THIS->GetHGap();
15482         XSprePUSH; PUSHi((IV)RETVAL);
15483     }
15484     XSRETURN(1);
15485 }
15486
15487
15488 XS(XS_Wx__GridSizer_GetRows); /* prototype to pass -Wmissing-prototypes */
15489 XS(XS_Wx__GridSizer_GetRows)
15490 {
15491 #ifdef dVAR
15492     dVAR; dXSARGS;
15493 #else
15494     dXSARGS;
15495 #endif
15496     if (items != 1)
15497        croak_xs_usage(cv,  "THIS");
15498     {
15499         wxGridSizer *    THIS = (wxGridSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GridSizer" );
15500         int     RETVAL;
15501         dXSTARG;
15502
15503         RETVAL = THIS->GetRows();
15504         XSprePUSH; PUSHi((IV)RETVAL);
15505     }
15506     XSRETURN(1);
15507 }
15508
15509
15510 XS(XS_Wx__GridSizer_GetVGap); /* prototype to pass -Wmissing-prototypes */
15511 XS(XS_Wx__GridSizer_GetVGap)
15512 {
15513 #ifdef dVAR
15514     dVAR; dXSARGS;
15515 #else
15516     dXSARGS;
15517 #endif
15518     if (items != 1)
15519        croak_xs_usage(cv,  "THIS");
15520     {
15521         wxGridSizer *    THIS = (wxGridSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GridSizer" );
15522         int     RETVAL;
15523         dXSTARG;
15524
15525         RETVAL = THIS->GetVGap();
15526         XSprePUSH; PUSHi((IV)RETVAL);
15527     }
15528     XSRETURN(1);
15529 }
15530
15531
15532 XS(XS_Wx__GridSizer_SetCols); /* prototype to pass -Wmissing-prototypes */
15533 XS(XS_Wx__GridSizer_SetCols)
15534 {
15535 #ifdef dVAR
15536     dVAR; dXSARGS;
15537 #else
15538     dXSARGS;
15539 #endif
15540     if (items != 2)
15541        croak_xs_usage(cv,  "THIS, cols");
15542     {
15543         int     cols = (int)SvIV(ST(1));
15544         wxGridSizer *    THIS = (wxGridSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GridSizer" );
15545
15546         THIS->SetCols(cols);
15547     }
15548     XSRETURN_EMPTY;
15549 }
15550
15551
15552 XS(XS_Wx__GridSizer_SetHGap); /* prototype to pass -Wmissing-prototypes */
15553 XS(XS_Wx__GridSizer_SetHGap)
15554 {
15555 #ifdef dVAR
15556     dVAR; dXSARGS;
15557 #else
15558     dXSARGS;
15559 #endif
15560     if (items != 2)
15561        croak_xs_usage(cv,  "THIS, gap");
15562     {
15563         int     gap = (int)SvIV(ST(1));
15564         wxGridSizer *    THIS = (wxGridSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GridSizer" );
15565
15566         THIS->SetHGap(gap);
15567     }
15568     XSRETURN_EMPTY;
15569 }
15570
15571
15572 XS(XS_Wx__GridSizer_SetRows); /* prototype to pass -Wmissing-prototypes */
15573 XS(XS_Wx__GridSizer_SetRows)
15574 {
15575 #ifdef dVAR
15576     dVAR; dXSARGS;
15577 #else
15578     dXSARGS;
15579 #endif
15580     if (items != 2)
15581        croak_xs_usage(cv,  "THIS, rows");
15582     {
15583         int     rows = (int)SvIV(ST(1));
15584         wxGridSizer *    THIS = (wxGridSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GridSizer" );
15585
15586         THIS->SetRows(rows);
15587     }
15588     XSRETURN_EMPTY;
15589 }
15590
15591
15592 XS(XS_Wx__GridSizer_SetVGap); /* prototype to pass -Wmissing-prototypes */
15593 XS(XS_Wx__GridSizer_SetVGap)
15594 {
15595 #ifdef dVAR
15596     dVAR; dXSARGS;
15597 #else
15598     dXSARGS;
15599 #endif
15600     if (items != 2)
15601        croak_xs_usage(cv,  "THIS, gap");
15602     {
15603         int     gap = (int)SvIV(ST(1));
15604         wxGridSizer *    THIS = (wxGridSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GridSizer" );
15605
15606         THIS->SetVGap(gap);
15607     }
15608     XSRETURN_EMPTY;
15609 }
15610
15611
15612 XS(XS_Wx__FlexGridSizer_new); /* prototype to pass -Wmissing-prototypes */
15613 XS(XS_Wx__FlexGridSizer_new)
15614 {
15615 #ifdef dVAR
15616     dVAR; dXSARGS;
15617 #else
15618     dXSARGS;
15619 #endif
15620     if (items < 3 || items > 5)
15621        croak_xs_usage(cv,  "CLASS, rows, cols, vgap = 0, hgap = 0");
15622     {
15623         int     rows = (int)SvIV(ST(1));
15624         int     cols = (int)SvIV(ST(2));
15625         int     vgap;
15626         int     hgap;
15627         char *  CLASS = (char *)SvPV_nolen(ST(0));
15628         wxFlexGridSizer *       RETVAL;
15629
15630         if (items < 4)
15631             vgap = 0;
15632         else {
15633             vgap = (int)SvIV(ST(3));
15634         }
15635
15636         if (items < 5)
15637             hgap = 0;
15638         else {
15639             hgap = (int)SvIV(ST(4));
15640         }
15641
15642         RETVAL = new wxFlexGridSizer(rows, cols, vgap, hgap);
15643         ST(0) = sv_newmortal();
15644     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
15645
15646     }
15647     XSRETURN(1);
15648 }
15649
15650
15651 XS(XS_Wx__FlexGridSizer_RemoveGrowableCol); /* prototype to pass -Wmissing-prototypes */
15652 XS(XS_Wx__FlexGridSizer_RemoveGrowableCol)
15653 {
15654 #ifdef dVAR
15655     dVAR; dXSARGS;
15656 #else
15657     dXSARGS;
15658 #endif
15659     if (items != 2)
15660        croak_xs_usage(cv,  "THIS, index");
15661     {
15662         size_t    index = (size_t)SvUV( ST(1) );
15663         wxFlexGridSizer *    THIS = (wxFlexGridSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FlexGridSizer" );
15664
15665         THIS->RemoveGrowableCol(index);
15666     }
15667     XSRETURN_EMPTY;
15668 }
15669
15670
15671 XS(XS_Wx__FlexGridSizer_RemoveGrowableRow); /* prototype to pass -Wmissing-prototypes */
15672 XS(XS_Wx__FlexGridSizer_RemoveGrowableRow)
15673 {
15674 #ifdef dVAR
15675     dVAR; dXSARGS;
15676 #else
15677     dXSARGS;
15678 #endif
15679     if (items != 2)
15680        croak_xs_usage(cv,  "THIS, index");
15681     {
15682         int     index = (int)SvIV(ST(1));
15683         wxFlexGridSizer *    THIS = (wxFlexGridSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FlexGridSizer" );
15684
15685         THIS->RemoveGrowableRow(index);
15686     }
15687     XSRETURN_EMPTY;
15688 }
15689
15690
15691 XS(XS_Wx__SizerItem_GetSize); /* prototype to pass -Wmissing-prototypes */
15692 XS(XS_Wx__SizerItem_GetSize)
15693 {
15694 #ifdef dVAR
15695     dVAR; dXSARGS;
15696 #else
15697     dXSARGS;
15698 #endif
15699     if (items != 1)
15700        croak_xs_usage(cv,  "THIS");
15701     {
15702         wxSizerItem *    THIS = (wxSizerItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SizerItem" );
15703         wxSize *        RETVAL;
15704     RETVAL = new wxSize( THIS->GetSize() );
15705         ST(0) = sv_newmortal();
15706     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Size" );
15707     wxPli_thread_sv_register( aTHX_ "Wx::Size", RETVAL, ST(0) );
15708
15709     }
15710     XSRETURN(1);
15711 }
15712
15713
15714 XS(XS_Wx__SizerItem_CalcMin); /* prototype to pass -Wmissing-prototypes */
15715 XS(XS_Wx__SizerItem_CalcMin)
15716 {
15717 #ifdef dVAR
15718     dVAR; dXSARGS;
15719 #else
15720     dXSARGS;
15721 #endif
15722     if (items != 1)
15723        croak_xs_usage(cv,  "THIS");
15724     {
15725         wxSizerItem *    THIS = (wxSizerItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SizerItem" );
15726         wxSize *        RETVAL;
15727     RETVAL = new wxSize( THIS->GetSize() );
15728         ST(0) = sv_newmortal();
15729     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Size" );
15730     wxPli_thread_sv_register( aTHX_ "Wx::Size", RETVAL, ST(0) );
15731
15732     }
15733     XSRETURN(1);
15734 }
15735
15736
15737 XS(XS_Wx__SizerItem_SetDimension); /* prototype to pass -Wmissing-prototypes */
15738 XS(XS_Wx__SizerItem_SetDimension)
15739 {
15740 #ifdef dVAR
15741     dVAR; dXSARGS;
15742 #else
15743     dXSARGS;
15744 #endif
15745     if (items != 3)
15746        croak_xs_usage(cv,  "THIS, pos, size");
15747     {
15748         wxPoint    pos = wxPli_sv_2_wxpoint( aTHX_ ST(1) );
15749         wxSize    size = wxPli_sv_2_wxsize( aTHX_ ST(2) );
15750         wxSizerItem *    THIS = (wxSizerItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SizerItem" );
15751
15752         THIS->SetDimension(pos, size);
15753     }
15754     XSRETURN_EMPTY;
15755 }
15756
15757
15758 XS(XS_Wx__SizerItem_GetMinSize); /* prototype to pass -Wmissing-prototypes */
15759 XS(XS_Wx__SizerItem_GetMinSize)
15760 {
15761 #ifdef dVAR
15762     dVAR; dXSARGS;
15763 #else
15764     dXSARGS;
15765 #endif
15766     if (items != 1)
15767        croak_xs_usage(cv,  "THIS");
15768     {
15769         wxSizerItem *    THIS = (wxSizerItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SizerItem" );
15770         wxSize *        RETVAL;
15771     RETVAL = new wxSize( THIS->GetMinSize() );
15772         ST(0) = sv_newmortal();
15773     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Size" );
15774     wxPli_thread_sv_register( aTHX_ "Wx::Size", RETVAL, ST(0) );
15775
15776     }
15777     XSRETURN(1);
15778 }
15779
15780
15781 XS(XS_Wx__SizerItem_SetRatio); /* prototype to pass -Wmissing-prototypes */
15782 XS(XS_Wx__SizerItem_SetRatio)
15783 {
15784 #ifdef dVAR
15785     dVAR; dXSARGS;
15786 #else
15787     dXSARGS;
15788 #endif
15789     if (items < 1)
15790        croak_xs_usage(cv,  "THIS, ...");
15791     PERL_UNUSED_VAR(ax); /* -Wall */
15792     SP -= items;
15793     {
15794         wxSizerItem *    THIS = (wxSizerItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SizerItem" );
15795     BEGIN_OVERLOAD()
15796         MATCH_REDISP_COUNT( wxPliOvl_n, SetRatioFloat, 1 )
15797         MATCH_REDISP_COUNT( wxPliOvl_n_n, SetRatioWH, 2 )
15798         MATCH_REDISP_COUNT( wxPliOvl_wsiz, SetRatioSize, 1 )
15799     END_OVERLOAD( Wx::SizerItem::SetRatio )
15800         PUTBACK;
15801         return;
15802     }
15803 }
15804
15805
15806 XS(XS_Wx__SizerItem_SetRatioWH); /* prototype to pass -Wmissing-prototypes */
15807 XS(XS_Wx__SizerItem_SetRatioWH)
15808 {
15809 #ifdef dVAR
15810     dVAR; dXSARGS;
15811 #else
15812     dXSARGS;
15813 #endif
15814     if (items != 3)
15815        croak_xs_usage(cv,  "THIS, width, height");
15816     {
15817         int     width = (int)SvIV(ST(1));
15818         int     height = (int)SvIV(ST(2));
15819         wxSizerItem *    THIS = (wxSizerItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SizerItem" );
15820     THIS->SetRatio( width, height );
15821     }
15822     XSRETURN_EMPTY;
15823 }
15824
15825
15826 XS(XS_Wx__SizerItem_SetRatioSize); /* prototype to pass -Wmissing-prototypes */
15827 XS(XS_Wx__SizerItem_SetRatioSize)
15828 {
15829 #ifdef dVAR
15830     dVAR; dXSARGS;
15831 #else
15832     dXSARGS;
15833 #endif
15834     if (items != 2)
15835        croak_xs_usage(cv,  "THIS, size");
15836     {
15837         wxSize    size = wxPli_sv_2_wxsize( aTHX_ ST(1) );
15838         wxSizerItem *    THIS = (wxSizerItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SizerItem" );
15839     THIS->SetRatio( size );
15840     }
15841     XSRETURN_EMPTY;
15842 }
15843
15844
15845 XS(XS_Wx__SizerItem_SetRatioFloat); /* prototype to pass -Wmissing-prototypes */
15846 XS(XS_Wx__SizerItem_SetRatioFloat)
15847 {
15848 #ifdef dVAR
15849     dVAR; dXSARGS;
15850 #else
15851     dXSARGS;
15852 #endif
15853     if (items != 2)
15854        croak_xs_usage(cv,  "THIS, ratio");
15855     {
15856         float   ratio = (float)SvNV(ST(1));
15857         wxSizerItem *    THIS = (wxSizerItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SizerItem" );
15858     THIS->SetRatio( ratio );
15859     }
15860     XSRETURN_EMPTY;
15861 }
15862
15863
15864 XS(XS_Wx__SizerItem_GetRatio); /* prototype to pass -Wmissing-prototypes */
15865 XS(XS_Wx__SizerItem_GetRatio)
15866 {
15867 #ifdef dVAR
15868     dVAR; dXSARGS;
15869 #else
15870     dXSARGS;
15871 #endif
15872     if (items != 1)
15873        croak_xs_usage(cv,  "THIS");
15874     {
15875         wxSizerItem *    THIS = (wxSizerItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SizerItem" );
15876         float   RETVAL;
15877         dXSTARG;
15878
15879         RETVAL = THIS->GetRatio();
15880         XSprePUSH; PUSHn((NV)RETVAL);
15881     }
15882     XSRETURN(1);
15883 }
15884
15885
15886 XS(XS_Wx__SizerItem_IsWindow); /* prototype to pass -Wmissing-prototypes */
15887 XS(XS_Wx__SizerItem_IsWindow)
15888 {
15889 #ifdef dVAR
15890     dVAR; dXSARGS;
15891 #else
15892     dXSARGS;
15893 #endif
15894     if (items != 1)
15895        croak_xs_usage(cv,  "THIS");
15896     {
15897         wxSizerItem *    THIS = (wxSizerItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SizerItem" );
15898         bool    RETVAL;
15899
15900         RETVAL = THIS->IsWindow();
15901         ST(0) = boolSV(RETVAL);
15902         sv_2mortal(ST(0));
15903     }
15904     XSRETURN(1);
15905 }
15906
15907
15908 XS(XS_Wx__SizerItem_IsShown); /* prototype to pass -Wmissing-prototypes */
15909 XS(XS_Wx__SizerItem_IsShown)
15910 {
15911 #ifdef dVAR
15912     dVAR; dXSARGS;
15913 #else
15914     dXSARGS;
15915 #endif
15916     if (items != 1)
15917        croak_xs_usage(cv,  "THIS");
15918     {
15919         wxSizerItem *    THIS = (wxSizerItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SizerItem" );
15920         bool    RETVAL;
15921
15922         RETVAL = THIS->IsShown();
15923         ST(0) = boolSV(RETVAL);
15924         sv_2mortal(ST(0));
15925     }
15926     XSRETURN(1);
15927 }
15928
15929
15930 XS(XS_Wx__SizerItem_IsSizer); /* prototype to pass -Wmissing-prototypes */
15931 XS(XS_Wx__SizerItem_IsSizer)
15932 {
15933 #ifdef dVAR
15934     dVAR; dXSARGS;
15935 #else
15936     dXSARGS;
15937 #endif
15938     if (items != 1)
15939        croak_xs_usage(cv,  "THIS");
15940     {
15941         wxSizerItem *    THIS = (wxSizerItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SizerItem" );
15942         bool    RETVAL;
15943
15944         RETVAL = THIS->IsSizer();
15945         ST(0) = boolSV(RETVAL);
15946         sv_2mortal(ST(0));
15947     }
15948     XSRETURN(1);
15949 }
15950
15951
15952 XS(XS_Wx__SizerItem_IsSpacer); /* prototype to pass -Wmissing-prototypes */
15953 XS(XS_Wx__SizerItem_IsSpacer)
15954 {
15955 #ifdef dVAR
15956     dVAR; dXSARGS;
15957 #else
15958     dXSARGS;
15959 #endif
15960     if (items != 1)
15961        croak_xs_usage(cv,  "THIS");
15962     {
15963         wxSizerItem *    THIS = (wxSizerItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SizerItem" );
15964         bool    RETVAL;
15965
15966         RETVAL = THIS->IsSpacer();
15967         ST(0) = boolSV(RETVAL);
15968         sv_2mortal(ST(0));
15969     }
15970     XSRETURN(1);
15971 }
15972
15973
15974 XS(XS_Wx__SizerItem_SetInitSize); /* prototype to pass -Wmissing-prototypes */
15975 XS(XS_Wx__SizerItem_SetInitSize)
15976 {
15977 #ifdef dVAR
15978     dVAR; dXSARGS;
15979 #else
15980     dXSARGS;
15981 #endif
15982     if (items != 3)
15983        croak_xs_usage(cv,  "THIS, x, y");
15984     {
15985         int     x = (int)SvIV(ST(1));
15986         int     y = (int)SvIV(ST(2));
15987         wxSizerItem *    THIS = (wxSizerItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SizerItem" );
15988
15989         THIS->SetInitSize(x, y);
15990     }
15991     XSRETURN_EMPTY;
15992 }
15993
15994
15995 XS(XS_Wx__SizerItem_SetFlag); /* prototype to pass -Wmissing-prototypes */
15996 XS(XS_Wx__SizerItem_SetFlag)
15997 {
15998 #ifdef dVAR
15999     dVAR; dXSARGS;
16000 #else
16001     dXSARGS;
16002 #endif
16003     if (items != 2)
16004        croak_xs_usage(cv,  "THIS, flag");
16005     {
16006         int     flag = (int)SvIV(ST(1));
16007         wxSizerItem *    THIS = (wxSizerItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SizerItem" );
16008
16009         THIS->SetFlag(flag);
16010     }
16011     XSRETURN_EMPTY;
16012 }
16013
16014
16015 XS(XS_Wx__SizerItem_SetBorder); /* prototype to pass -Wmissing-prototypes */
16016 XS(XS_Wx__SizerItem_SetBorder)
16017 {
16018 #ifdef dVAR
16019     dVAR; dXSARGS;
16020 #else
16021     dXSARGS;
16022 #endif
16023     if (items != 2)
16024        croak_xs_usage(cv,  "THIS, border");
16025     {
16026         int     border = (int)SvIV(ST(1));
16027         wxSizerItem *    THIS = (wxSizerItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SizerItem" );
16028
16029         THIS->SetBorder(border);
16030     }
16031     XSRETURN_EMPTY;
16032 }
16033
16034
16035 XS(XS_Wx__SizerItem_GetWindow); /* prototype to pass -Wmissing-prototypes */
16036 XS(XS_Wx__SizerItem_GetWindow)
16037 {
16038 #ifdef dVAR
16039     dVAR; dXSARGS;
16040 #else
16041     dXSARGS;
16042 #endif
16043     if (items != 1)
16044        croak_xs_usage(cv,  "THIS");
16045     {
16046         wxSizerItem *    THIS = (wxSizerItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SizerItem" );
16047         wxWindow *      RETVAL;
16048
16049         RETVAL = THIS->GetWindow();
16050         ST(0) = sv_newmortal();
16051     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
16052
16053     }
16054     XSRETURN(1);
16055 }
16056
16057 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
16058 #define XSubPPtmpAADQ 1
16059
16060
16061 XS(XS_Wx__SizerItem_AssignWindow); /* prototype to pass -Wmissing-prototypes */
16062 XS(XS_Wx__SizerItem_AssignWindow)
16063 {
16064 #ifdef dVAR
16065     dVAR; dXSARGS;
16066 #else
16067     dXSARGS;
16068 #endif
16069     if (items != 2)
16070        croak_xs_usage(cv,  "THIS, window");
16071     {
16072         wxWindow*    window = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
16073         wxSizerItem *    THIS = (wxSizerItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SizerItem" );
16074
16075         THIS->AssignWindow(window);
16076     }
16077     XSRETURN_EMPTY;
16078 }
16079
16080 #else
16081 #define XSubPPtmpAADR 1
16082
16083
16084 XS(XS_Wx__SizerItem_SetWindow); /* prototype to pass -Wmissing-prototypes */
16085 XS(XS_Wx__SizerItem_SetWindow)
16086 {
16087 #ifdef dVAR
16088     dVAR; dXSARGS;
16089 #else
16090     dXSARGS;
16091 #endif
16092     if (items != 2)
16093        croak_xs_usage(cv,  "THIS, window");
16094     {
16095         wxWindow*    window = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
16096         wxSizerItem *    THIS = (wxSizerItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SizerItem" );
16097
16098         THIS->SetWindow(window);
16099     }
16100     XSRETURN_EMPTY;
16101 }
16102
16103 #endif
16104
16105 XS(XS_Wx__SizerItem_GetSizer); /* prototype to pass -Wmissing-prototypes */
16106 XS(XS_Wx__SizerItem_GetSizer)
16107 {
16108 #ifdef dVAR
16109     dVAR; dXSARGS;
16110 #else
16111     dXSARGS;
16112 #endif
16113     if (items != 1)
16114        croak_xs_usage(cv,  "THIS");
16115     {
16116         wxSizerItem *    THIS = (wxSizerItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SizerItem" );
16117         wxSizer *       RETVAL;
16118
16119         RETVAL = THIS->GetSizer();
16120         ST(0) = sv_newmortal();
16121     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
16122
16123     }
16124     XSRETURN(1);
16125 }
16126
16127 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
16128 #define XSubPPtmpAADS 1
16129
16130
16131 XS(XS_Wx__SizerItem_AssignSizer); /* prototype to pass -Wmissing-prototypes */
16132 XS(XS_Wx__SizerItem_AssignSizer)
16133 {
16134 #ifdef dVAR
16135     dVAR; dXSARGS;
16136 #else
16137     dXSARGS;
16138 #endif
16139     if (items != 2)
16140        croak_xs_usage(cv,  "THIS, sizer");
16141     {
16142         wxSizer*    sizer = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Sizer" );
16143         wxSizerItem *    THIS = (wxSizerItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SizerItem" );
16144
16145         THIS->AssignSizer(sizer);
16146     }
16147     XSRETURN_EMPTY;
16148 }
16149
16150 #else
16151 #define XSubPPtmpAADT 1
16152
16153
16154 XS(XS_Wx__SizerItem_SetSizer); /* prototype to pass -Wmissing-prototypes */
16155 XS(XS_Wx__SizerItem_SetSizer)
16156 {
16157 #ifdef dVAR
16158     dVAR; dXSARGS;
16159 #else
16160     dXSARGS;
16161 #endif
16162     if (items != 2)
16163        croak_xs_usage(cv,  "THIS, sizer");
16164     {
16165         wxSizer*    sizer = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Sizer" );
16166         wxSizerItem *    THIS = (wxSizerItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SizerItem" );
16167
16168         THIS->SetSizer(sizer);
16169     }
16170     XSRETURN_EMPTY;
16171 }
16172
16173 #endif
16174
16175 XS(XS_Wx__SizerItem_GetFlag); /* prototype to pass -Wmissing-prototypes */
16176 XS(XS_Wx__SizerItem_GetFlag)
16177 {
16178 #ifdef dVAR
16179     dVAR; dXSARGS;
16180 #else
16181     dXSARGS;
16182 #endif
16183     if (items != 1)
16184        croak_xs_usage(cv,  "THIS");
16185     {
16186         wxSizerItem *    THIS = (wxSizerItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SizerItem" );
16187         int     RETVAL;
16188         dXSTARG;
16189
16190         RETVAL = THIS->GetFlag();
16191         XSprePUSH; PUSHi((IV)RETVAL);
16192     }
16193     XSRETURN(1);
16194 }
16195
16196
16197 XS(XS_Wx__SizerItem_GetBorder); /* prototype to pass -Wmissing-prototypes */
16198 XS(XS_Wx__SizerItem_GetBorder)
16199 {
16200 #ifdef dVAR
16201     dVAR; dXSARGS;
16202 #else
16203     dXSARGS;
16204 #endif
16205     if (items != 1)
16206        croak_xs_usage(cv,  "THIS");
16207     {
16208         wxSizerItem *    THIS = (wxSizerItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SizerItem" );
16209         int     RETVAL;
16210         dXSTARG;
16211
16212         RETVAL = THIS->GetBorder();
16213         XSprePUSH; PUSHi((IV)RETVAL);
16214     }
16215     XSRETURN(1);
16216 }
16217
16218
16219 XS(XS_Wx__SizerItem_GetPosition); /* prototype to pass -Wmissing-prototypes */
16220 XS(XS_Wx__SizerItem_GetPosition)
16221 {
16222 #ifdef dVAR
16223     dVAR; dXSARGS;
16224 #else
16225     dXSARGS;
16226 #endif
16227     if (items != 1)
16228        croak_xs_usage(cv,  "THIS");
16229     {
16230         wxSizerItem *    THIS = (wxSizerItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SizerItem" );
16231         wxPoint *       RETVAL;
16232     RETVAL = new wxPoint( THIS->GetPosition() );
16233         ST(0) = sv_newmortal();
16234     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Point" );
16235     wxPli_thread_sv_register( aTHX_ "Wx::Point", RETVAL, ST(0) );
16236
16237     }
16238     XSRETURN(1);
16239 }
16240
16241
16242 XS(XS_Wx__SizerItem_GetUserData); /* prototype to pass -Wmissing-prototypes */
16243 XS(XS_Wx__SizerItem_GetUserData)
16244 {
16245 #ifdef dVAR
16246     dVAR; dXSARGS;
16247 #else
16248     dXSARGS;
16249 #endif
16250     if (items != 1)
16251        croak_xs_usage(cv,  "THIS");
16252     {
16253         wxSizerItem *    THIS = (wxSizerItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SizerItem" );
16254         Wx_UserDataO *  RETVAL;
16255     RETVAL = (Wx_UserDataO*) THIS->GetUserData();
16256     ST(0) = ( RETVAL == 0 ) ? &PL_sv_undef : RETVAL->GetData();
16257     SvREFCNT_inc( ST(0) ); // xsubpp mortalizes it...
16258
16259         sv_2mortal(ST(0));
16260     }
16261     XSRETURN(1);
16262 }
16263
16264 #if WXPERL_W_VERSION_GE( 2, 6, 3 )
16265 #define XSubPPtmpAADU 1
16266
16267
16268 XS(XS_Wx__SizerItem_SetUserData); /* prototype to pass -Wmissing-prototypes */
16269 XS(XS_Wx__SizerItem_SetUserData)
16270 {
16271 #ifdef dVAR
16272     dVAR; dXSARGS;
16273 #else
16274     dXSARGS;
16275 #endif
16276     if (items != 2)
16277        croak_xs_usage(cv,  "THIS, data");
16278     {
16279         Wx_UserDataO*   data;
16280         wxSizerItem *    THIS = (wxSizerItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SizerItem" );
16281
16282     if( SvOK( ST(1) ) )
16283     {
16284         data = new wxPliUserDataO( ST(1) );
16285     }
16286     else
16287         data = 0;
16288
16289         THIS->SetUserData(data);
16290     }
16291     XSRETURN_EMPTY;
16292 }
16293
16294 #endif
16295
16296 XS(XS_Wx__SizerItem_SetMinSize); /* prototype to pass -Wmissing-prototypes */
16297 XS(XS_Wx__SizerItem_SetMinSize)
16298 {
16299 #ifdef dVAR
16300     dVAR; dXSARGS;
16301 #else
16302     dXSARGS;
16303 #endif
16304     if (items < 1)
16305        croak_xs_usage(cv,  "THIS, ...");
16306     PERL_UNUSED_VAR(ax); /* -Wall */
16307     SP -= items;
16308     {
16309         wxSizerItem *    THIS = (wxSizerItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SizerItem" );
16310     BEGIN_OVERLOAD()
16311         MATCH_REDISP_COUNT( wxPliOvl_n_n, SetMinSizeWH, 2 )
16312         MATCH_REDISP_COUNT( wxPliOvl_wsiz, SetMinSizeSize, 1 )
16313     END_OVERLOAD( Wx::SizerItem::SetMinSize )
16314         PUTBACK;
16315         return;
16316     }
16317 }
16318
16319
16320 XS(XS_Wx__PlSizer_new); /* prototype to pass -Wmissing-prototypes */
16321 XS(XS_Wx__PlSizer_new)
16322 {
16323 #ifdef dVAR
16324     dVAR; dXSARGS;
16325 #else
16326     dXSARGS;
16327 #endif
16328     if (items != 1)
16329        croak_xs_usage(cv,  "CLASS");
16330     {
16331         char *  CLASS = (char *)SvPV_nolen(ST(0));
16332         wxPlSizer *     RETVAL;
16333     RETVAL = new wxPlSizer( CLASS );
16334         ST(0) = sv_newmortal();
16335     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
16336
16337     }
16338     XSRETURN(1);
16339 }
16340
16341
16342 /* INCLUDE: Returning to 'Window.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/Sizer.xs |' */
16343
16344
16345 /* INCLUDE:  Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/GridBagSizer.xsp |' from 'Window.xs' */
16346
16347 #if WXPERL_W_VERSION_GE( 2, 5, 1 )
16348 #define wxPlDefaultSpan (wxGBSpan*)&wxDefaultSpan
16349 #include <wx/gbsizer.h>
16350 #define XSubPPtmpAADV 1
16351
16352
16353 XS(XS_Wx__GBPosition_new); /* prototype to pass -Wmissing-prototypes */
16354 XS(XS_Wx__GBPosition_new)
16355 {
16356 #ifdef dVAR
16357     dVAR; dXSARGS;
16358 #else
16359     dXSARGS;
16360 #endif
16361     if (items < 1 || items > 3)
16362        croak_xs_usage(cv,  "CLASS, row = 0, col = 0");
16363     {
16364         int     row;
16365         int     col;
16366         char *  CLASS = (char *)SvPV_nolen(ST(0));
16367         wxGBPosition *  RETVAL;
16368
16369         if (items < 2)
16370             row = 0;
16371         else {
16372             row = (int)SvIV(ST(1));
16373         }
16374
16375         if (items < 3)
16376             col = 0;
16377         else {
16378             col = (int)SvIV(ST(2));
16379         }
16380
16381         RETVAL = new wxGBPosition(row, col);
16382         ST(0) = sv_newmortal();
16383     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::GBPosition" );
16384
16385     }
16386     XSRETURN(1);
16387 }
16388
16389
16390 XS(XS_Wx__GBPosition_GetRow); /* prototype to pass -Wmissing-prototypes */
16391 XS(XS_Wx__GBPosition_GetRow)
16392 {
16393 #ifdef dVAR
16394     dVAR; dXSARGS;
16395 #else
16396     dXSARGS;
16397 #endif
16398     if (items != 1)
16399        croak_xs_usage(cv,  "THIS");
16400     {
16401         wxGBPosition *    THIS = (wxGBPosition *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GBPosition" );
16402         int     RETVAL;
16403         dXSTARG;
16404
16405         RETVAL = THIS->GetRow();
16406         XSprePUSH; PUSHi((IV)RETVAL);
16407     }
16408     XSRETURN(1);
16409 }
16410
16411
16412 XS(XS_Wx__GBPosition_GetCol); /* prototype to pass -Wmissing-prototypes */
16413 XS(XS_Wx__GBPosition_GetCol)
16414 {
16415 #ifdef dVAR
16416     dVAR; dXSARGS;
16417 #else
16418     dXSARGS;
16419 #endif
16420     if (items != 1)
16421        croak_xs_usage(cv,  "THIS");
16422     {
16423         wxGBPosition *    THIS = (wxGBPosition *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GBPosition" );
16424         int     RETVAL;
16425         dXSTARG;
16426
16427         RETVAL = THIS->GetCol();
16428         XSprePUSH; PUSHi((IV)RETVAL);
16429     }
16430     XSRETURN(1);
16431 }
16432
16433
16434 XS(XS_Wx__GBPosition_SetRow); /* prototype to pass -Wmissing-prototypes */
16435 XS(XS_Wx__GBPosition_SetRow)
16436 {
16437 #ifdef dVAR
16438     dVAR; dXSARGS;
16439 #else
16440     dXSARGS;
16441 #endif
16442     if (items != 2)
16443        croak_xs_usage(cv,  "THIS, row");
16444     {
16445         int     row = (int)SvIV(ST(1));
16446         wxGBPosition *    THIS = (wxGBPosition *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GBPosition" );
16447
16448         THIS->SetRow(row);
16449     }
16450     XSRETURN_EMPTY;
16451 }
16452
16453
16454 XS(XS_Wx__GBPosition_SetCol); /* prototype to pass -Wmissing-prototypes */
16455 XS(XS_Wx__GBPosition_SetCol)
16456 {
16457 #ifdef dVAR
16458     dVAR; dXSARGS;
16459 #else
16460     dXSARGS;
16461 #endif
16462     if (items != 2)
16463        croak_xs_usage(cv,  "THIS, col");
16464     {
16465         int     col = (int)SvIV(ST(1));
16466         wxGBPosition *    THIS = (wxGBPosition *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GBPosition" );
16467
16468         THIS->SetCol(col);
16469     }
16470     XSRETURN_EMPTY;
16471 }
16472
16473
16474 XS(XS_Wx__GBSpan_new); /* prototype to pass -Wmissing-prototypes */
16475 XS(XS_Wx__GBSpan_new)
16476 {
16477 #ifdef dVAR
16478     dVAR; dXSARGS;
16479 #else
16480     dXSARGS;
16481 #endif
16482     if (items < 1 || items > 3)
16483        croak_xs_usage(cv,  "CLASS, rowspan = 1, colspan = 1");
16484     {
16485         int     rowspan;
16486         int     colspan;
16487         char *  CLASS = (char *)SvPV_nolen(ST(0));
16488         wxGBSpan *      RETVAL;
16489
16490         if (items < 2)
16491             rowspan = 1;
16492         else {
16493             rowspan = (int)SvIV(ST(1));
16494         }
16495
16496         if (items < 3)
16497             colspan = 1;
16498         else {
16499             colspan = (int)SvIV(ST(2));
16500         }
16501
16502         RETVAL = new wxGBSpan(rowspan, colspan);
16503         ST(0) = sv_newmortal();
16504     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::GBSpan" );
16505
16506     }
16507     XSRETURN(1);
16508 }
16509
16510
16511 XS(XS_Wx__GBSpan_GetRowspan); /* prototype to pass -Wmissing-prototypes */
16512 XS(XS_Wx__GBSpan_GetRowspan)
16513 {
16514 #ifdef dVAR
16515     dVAR; dXSARGS;
16516 #else
16517     dXSARGS;
16518 #endif
16519     if (items != 1)
16520        croak_xs_usage(cv,  "THIS");
16521     {
16522         wxGBSpan *    THIS = (wxGBSpan *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GBSpan" );
16523         int     RETVAL;
16524         dXSTARG;
16525
16526         RETVAL = THIS->GetRowspan();
16527         XSprePUSH; PUSHi((IV)RETVAL);
16528     }
16529     XSRETURN(1);
16530 }
16531
16532
16533 XS(XS_Wx__GBSpan_GetColspan); /* prototype to pass -Wmissing-prototypes */
16534 XS(XS_Wx__GBSpan_GetColspan)
16535 {
16536 #ifdef dVAR
16537     dVAR; dXSARGS;
16538 #else
16539     dXSARGS;
16540 #endif
16541     if (items != 1)
16542        croak_xs_usage(cv,  "THIS");
16543     {
16544         wxGBSpan *    THIS = (wxGBSpan *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GBSpan" );
16545         int     RETVAL;
16546         dXSTARG;
16547
16548         RETVAL = THIS->GetColspan();
16549         XSprePUSH; PUSHi((IV)RETVAL);
16550     }
16551     XSRETURN(1);
16552 }
16553
16554
16555 XS(XS_Wx__GBSpan_SetRowspan); /* prototype to pass -Wmissing-prototypes */
16556 XS(XS_Wx__GBSpan_SetRowspan)
16557 {
16558 #ifdef dVAR
16559     dVAR; dXSARGS;
16560 #else
16561     dXSARGS;
16562 #endif
16563     if (items != 2)
16564        croak_xs_usage(cv,  "THIS, rowspan");
16565     {
16566         int     rowspan = (int)SvIV(ST(1));
16567         wxGBSpan *    THIS = (wxGBSpan *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GBSpan" );
16568
16569         THIS->SetRowspan(rowspan);
16570     }
16571     XSRETURN_EMPTY;
16572 }
16573
16574
16575 XS(XS_Wx__GBSpan_SetColspan); /* prototype to pass -Wmissing-prototypes */
16576 XS(XS_Wx__GBSpan_SetColspan)
16577 {
16578 #ifdef dVAR
16579     dVAR; dXSARGS;
16580 #else
16581     dXSARGS;
16582 #endif
16583     if (items != 2)
16584        croak_xs_usage(cv,  "THIS, colspan");
16585     {
16586         int     colspan = (int)SvIV(ST(1));
16587         wxGBSpan *    THIS = (wxGBSpan *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GBSpan" );
16588
16589         THIS->SetColspan(colspan);
16590     }
16591     XSRETURN_EMPTY;
16592 }
16593
16594
16595 XS(XS_Wx__GBSizerItem_GetPos); /* prototype to pass -Wmissing-prototypes */
16596 XS(XS_Wx__GBSizerItem_GetPos)
16597 {
16598 #ifdef dVAR
16599     dVAR; dXSARGS;
16600 #else
16601     dXSARGS;
16602 #endif
16603     if (items != 1)
16604        croak_xs_usage(cv,  "THIS");
16605     {
16606         wxGBSizerItem *    THIS = (wxGBSizerItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GBSizerItem" );
16607         wxGBPosition *  RETVAL;
16608     RETVAL = new wxGBPosition( THIS->GetPos() );
16609         ST(0) = sv_newmortal();
16610     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::GBPosition" );
16611
16612     }
16613     XSRETURN(1);
16614 }
16615
16616
16617 XS(XS_Wx__GBSizerItem_GetPosXY); /* prototype to pass -Wmissing-prototypes */
16618 XS(XS_Wx__GBSizerItem_GetPosXY)
16619 {
16620 #ifdef dVAR
16621     dVAR; dXSARGS;
16622 #else
16623     dXSARGS;
16624 #endif
16625     if (items != 1)
16626        croak_xs_usage(cv,  "THIS");
16627     PERL_UNUSED_VAR(ax); /* -Wall */
16628     SP -= items;
16629     {
16630         wxGBSizerItem *    THIS = (wxGBSizerItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GBSizerItem" );
16631     int x, y;
16632     THIS->GetPos( x, y );
16633     wxPli_push_2ints( x, y );
16634         PUTBACK;
16635         return;
16636     }
16637 }
16638
16639
16640 XS(XS_Wx__GBSizerItem_GetSpan); /* prototype to pass -Wmissing-prototypes */
16641 XS(XS_Wx__GBSizerItem_GetSpan)
16642 {
16643 #ifdef dVAR
16644     dVAR; dXSARGS;
16645 #else
16646     dXSARGS;
16647 #endif
16648     if (items != 1)
16649        croak_xs_usage(cv,  "THIS");
16650     {
16651         wxGBSizerItem *    THIS = (wxGBSizerItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GBSizerItem" );
16652         wxGBSpan *      RETVAL;
16653     RETVAL = new wxGBSpan( THIS->GetSpan() );
16654         ST(0) = sv_newmortal();
16655     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::GBSpan" );
16656
16657     }
16658     XSRETURN(1);
16659 }
16660
16661
16662 XS(XS_Wx__GBSizerItem_GetSpanWH); /* prototype to pass -Wmissing-prototypes */
16663 XS(XS_Wx__GBSizerItem_GetSpanWH)
16664 {
16665 #ifdef dVAR
16666     dVAR; dXSARGS;
16667 #else
16668     dXSARGS;
16669 #endif
16670     if (items != 1)
16671        croak_xs_usage(cv,  "THIS");
16672     PERL_UNUSED_VAR(ax); /* -Wall */
16673     SP -= items;
16674     {
16675         wxGBSizerItem *    THIS = (wxGBSizerItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GBSizerItem" );
16676     int x, y;
16677     THIS->GetSpan( x, y );
16678     wxPli_push_2ints( x, y );
16679         PUTBACK;
16680         return;
16681     }
16682 }
16683
16684
16685 XS(XS_Wx__GBSizerItem_SetPos); /* prototype to pass -Wmissing-prototypes */
16686 XS(XS_Wx__GBSizerItem_SetPos)
16687 {
16688 #ifdef dVAR
16689     dVAR; dXSARGS;
16690 #else
16691     dXSARGS;
16692 #endif
16693     if (items != 2)
16694        croak_xs_usage(cv,  "THIS, pos");
16695     {
16696         wxGBPosition*    pos = (wxGBPosition *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::GBPosition" );
16697         wxGBSizerItem *    THIS = (wxGBSizerItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GBSizerItem" );
16698         bool    RETVAL;
16699     RETVAL = THIS->SetPos( *( pos ) );
16700         ST(0) = boolSV(RETVAL);
16701         sv_2mortal(ST(0));
16702     }
16703     XSRETURN(1);
16704 }
16705
16706
16707 XS(XS_Wx__GBSizerItem_SetSpan); /* prototype to pass -Wmissing-prototypes */
16708 XS(XS_Wx__GBSizerItem_SetSpan)
16709 {
16710 #ifdef dVAR
16711     dVAR; dXSARGS;
16712 #else
16713     dXSARGS;
16714 #endif
16715     if (items != 2)
16716        croak_xs_usage(cv,  "THIS, span");
16717     {
16718         wxGBSpan*    span = (wxGBSpan *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::GBSpan" );
16719         wxGBSizerItem *    THIS = (wxGBSizerItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GBSizerItem" );
16720         bool    RETVAL;
16721     RETVAL = THIS->SetSpan( *( span ) );
16722         ST(0) = boolSV(RETVAL);
16723         sv_2mortal(ST(0));
16724     }
16725     XSRETURN(1);
16726 }
16727
16728
16729 XS(XS_Wx__GBSizerItem_IntersectsItem); /* prototype to pass -Wmissing-prototypes */
16730 XS(XS_Wx__GBSizerItem_IntersectsItem)
16731 {
16732 #ifdef dVAR
16733     dVAR; dXSARGS;
16734 #else
16735     dXSARGS;
16736 #endif
16737     if (items != 2)
16738        croak_xs_usage(cv,  "THIS, other");
16739     {
16740         wxGBSizerItem*    other = (wxGBSizerItem *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::GBSizerItem" );
16741         wxGBSizerItem *    THIS = (wxGBSizerItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GBSizerItem" );
16742         bool    RETVAL;
16743     RETVAL = THIS->Intersects( *( other ) );
16744         ST(0) = boolSV(RETVAL);
16745         sv_2mortal(ST(0));
16746     }
16747     XSRETURN(1);
16748 }
16749
16750
16751 XS(XS_Wx__GBSizerItem_IntersectsPosition); /* prototype to pass -Wmissing-prototypes */
16752 XS(XS_Wx__GBSizerItem_IntersectsPosition)
16753 {
16754 #ifdef dVAR
16755     dVAR; dXSARGS;
16756 #else
16757     dXSARGS;
16758 #endif
16759     if (items != 3)
16760        croak_xs_usage(cv,  "THIS, pos, span");
16761     {
16762         wxGBPosition*    pos = (wxGBPosition *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::GBPosition" );
16763         wxGBSpan*    span = (wxGBSpan *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::GBSpan" );
16764         wxGBSizerItem *    THIS = (wxGBSizerItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GBSizerItem" );
16765         bool    RETVAL;
16766     RETVAL = THIS->Intersects( *( pos ), *( span ) );
16767         ST(0) = boolSV(RETVAL);
16768         sv_2mortal(ST(0));
16769     }
16770     XSRETURN(1);
16771 }
16772
16773
16774 XS(XS_Wx__GBSizerItem_Intersects); /* prototype to pass -Wmissing-prototypes */
16775 XS(XS_Wx__GBSizerItem_Intersects)
16776 {
16777 #ifdef dVAR
16778     dVAR; dXSARGS;
16779 #else
16780     dXSARGS;
16781 #endif
16782     if (items < 1)
16783        croak_xs_usage(cv,  "THIS, ...");
16784     PERL_UNUSED_VAR(ax); /* -Wall */
16785     SP -= items;
16786     {
16787         wxGBSizerItem *    THIS = (wxGBSizerItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GBSizerItem" );
16788     BEGIN_OVERLOAD()
16789         MATCH_REDISP( wxPliOvl_wgbi, IntersectsItem )
16790         MATCH_REDISP( wxPliOvl_wgbp_wgbs, IntersectsPosition )
16791     END_OVERLOAD( Wx::GridBagSizer::Add )
16792         PUTBACK;
16793         return;
16794     }
16795 }
16796
16797
16798 XS(XS_Wx__GBSizerItem_GetEndPos); /* prototype to pass -Wmissing-prototypes */
16799 XS(XS_Wx__GBSizerItem_GetEndPos)
16800 {
16801 #ifdef dVAR
16802     dVAR; dXSARGS;
16803 #else
16804     dXSARGS;
16805 #endif
16806     if (items != 1)
16807        croak_xs_usage(cv,  "THIS");
16808     PERL_UNUSED_VAR(ax); /* -Wall */
16809     SP -= items;
16810     {
16811         wxGBSizerItem *    THIS = (wxGBSizerItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GBSizerItem" );
16812     int x, y;
16813     THIS->GetEndPos( x, y );
16814     wxPli_push_2ints( x, y );
16815         PUTBACK;
16816         return;
16817     }
16818 }
16819
16820
16821 XS(XS_Wx__GBSizerItem_GetGBSizer); /* prototype to pass -Wmissing-prototypes */
16822 XS(XS_Wx__GBSizerItem_GetGBSizer)
16823 {
16824 #ifdef dVAR
16825     dVAR; dXSARGS;
16826 #else
16827     dXSARGS;
16828 #endif
16829     if (items != 1)
16830        croak_xs_usage(cv,  "THIS");
16831     {
16832         wxGBSizerItem *    THIS = (wxGBSizerItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GBSizerItem" );
16833         wxGridBagSizer *        RETVAL;
16834
16835         RETVAL = THIS->GetGBSizer();
16836         ST(0) = sv_newmortal();
16837     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
16838
16839     }
16840     XSRETURN(1);
16841 }
16842
16843
16844 XS(XS_Wx__GBSizerItem_SetGBSizer); /* prototype to pass -Wmissing-prototypes */
16845 XS(XS_Wx__GBSizerItem_SetGBSizer)
16846 {
16847 #ifdef dVAR
16848     dVAR; dXSARGS;
16849 #else
16850     dXSARGS;
16851 #endif
16852     if (items != 2)
16853        croak_xs_usage(cv,  "THIS, sizer");
16854     {
16855         wxGridBagSizer*    sizer = (wxGridBagSizer *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::GridBagSizer" );
16856         wxGBSizerItem *    THIS = (wxGBSizerItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GBSizerItem" );
16857
16858         THIS->SetGBSizer(sizer);
16859     }
16860     XSRETURN_EMPTY;
16861 }
16862
16863
16864 XS(XS_Wx__GridBagSizer_new); /* prototype to pass -Wmissing-prototypes */
16865 XS(XS_Wx__GridBagSizer_new)
16866 {
16867 #ifdef dVAR
16868     dVAR; dXSARGS;
16869 #else
16870     dXSARGS;
16871 #endif
16872     if (items < 1 || items > 3)
16873        croak_xs_usage(cv,  "CLASS, vgap = 0, hgap = 0");
16874     {
16875         int     vgap;
16876         int     hgap;
16877         char *  CLASS = (char *)SvPV_nolen(ST(0));
16878         wxGridBagSizer *        RETVAL;
16879
16880         if (items < 2)
16881             vgap = 0;
16882         else {
16883             vgap = (int)SvIV(ST(1));
16884         }
16885
16886         if (items < 3)
16887             hgap = 0;
16888         else {
16889             hgap = (int)SvIV(ST(2));
16890         }
16891
16892         RETVAL = new wxGridBagSizer(vgap, hgap);
16893         ST(0) = sv_newmortal();
16894     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
16895
16896     }
16897     XSRETURN(1);
16898 }
16899
16900
16901 XS(XS_Wx__GridBagSizer_AddWindow); /* prototype to pass -Wmissing-prototypes */
16902 XS(XS_Wx__GridBagSizer_AddWindow)
16903 {
16904 #ifdef dVAR
16905     dVAR; dXSARGS;
16906 #else
16907     dXSARGS;
16908 #endif
16909     if (items < 3 || items > 7)
16910        croak_xs_usage(cv,  "THIS, window, pos, span = wxPlDefaultSpan, flag = 0, border = 0, userData = NULL");
16911     {
16912         wxWindow*    window = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
16913         wxGBPosition*    pos = (wxGBPosition *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::GBPosition" );
16914         wxGBSpan*       span;
16915         int     flag;
16916         int     border;
16917         wxObject*       userData;
16918         wxGridBagSizer *    THIS = (wxGridBagSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GridBagSizer" );
16919         bool    RETVAL;
16920
16921         if (items < 4)
16922             span = wxPlDefaultSpan;
16923         else {
16924     span = (wxGBSpan *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::GBSpan" );
16925         }
16926
16927         if (items < 5)
16928             flag = 0;
16929         else {
16930             flag = (int)SvIV(ST(4));
16931         }
16932
16933         if (items < 6)
16934             border = 0;
16935         else {
16936             border = (int)SvIV(ST(5));
16937         }
16938
16939         if (items < 7)
16940             userData = NULL;
16941         else {
16942     userData = (wxObject *) wxPli_sv_2_object( aTHX_ ST(6), "Wx::Object" );
16943         }
16944     RETVAL = THIS->Add( window, *( pos ), *( span ), flag, border, userData );
16945         ST(0) = boolSV(RETVAL);
16946         sv_2mortal(ST(0));
16947     }
16948     XSRETURN(1);
16949 }
16950
16951
16952 XS(XS_Wx__GridBagSizer_AddSizer); /* prototype to pass -Wmissing-prototypes */
16953 XS(XS_Wx__GridBagSizer_AddSizer)
16954 {
16955 #ifdef dVAR
16956     dVAR; dXSARGS;
16957 #else
16958     dXSARGS;
16959 #endif
16960     if (items < 3 || items > 7)
16961        croak_xs_usage(cv,  "THIS, sizer, pos, span = wxPlDefaultSpan, flag = 0, border = 0, userData = NULL");
16962     {
16963         wxSizer*    sizer = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Sizer" );
16964         wxGBPosition*    pos = (wxGBPosition *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::GBPosition" );
16965         wxGBSpan*       span;
16966         int     flag;
16967         int     border;
16968         wxObject*       userData;
16969         wxGridBagSizer *    THIS = (wxGridBagSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GridBagSizer" );
16970         bool    RETVAL;
16971
16972         if (items < 4)
16973             span = wxPlDefaultSpan;
16974         else {
16975     span = (wxGBSpan *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::GBSpan" );
16976         }
16977
16978         if (items < 5)
16979             flag = 0;
16980         else {
16981             flag = (int)SvIV(ST(4));
16982         }
16983
16984         if (items < 6)
16985             border = 0;
16986         else {
16987             border = (int)SvIV(ST(5));
16988         }
16989
16990         if (items < 7)
16991             userData = NULL;
16992         else {
16993     userData = (wxObject *) wxPli_sv_2_object( aTHX_ ST(6), "Wx::Object" );
16994         }
16995     RETVAL = THIS->Add( sizer, *( pos ), *( span ), flag, border, userData );
16996         ST(0) = boolSV(RETVAL);
16997         sv_2mortal(ST(0));
16998     }
16999     XSRETURN(1);
17000 }
17001
17002
17003 XS(XS_Wx__GridBagSizer_AddSpace); /* prototype to pass -Wmissing-prototypes */
17004 XS(XS_Wx__GridBagSizer_AddSpace)
17005 {
17006 #ifdef dVAR
17007     dVAR; dXSARGS;
17008 #else
17009     dXSARGS;
17010 #endif
17011     if (items < 4 || items > 8)
17012        croak_xs_usage(cv,  "THIS, width, height, pos, span = wxPlDefaultSpan, flag = 0, border = 0, userData = NULL");
17013     {
17014         int     width = (int)SvIV(ST(1));
17015         int     height = (int)SvIV(ST(2));
17016         wxGBPosition*    pos = (wxGBPosition *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::GBPosition" );
17017         wxGBSpan*       span;
17018         int     flag;
17019         int     border;
17020         wxObject*       userData;
17021         wxGridBagSizer *    THIS = (wxGridBagSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GridBagSizer" );
17022         bool    RETVAL;
17023
17024         if (items < 5)
17025             span = wxPlDefaultSpan;
17026         else {
17027     span = (wxGBSpan *) wxPli_sv_2_object( aTHX_ ST(4), "Wx::GBSpan" );
17028         }
17029
17030         if (items < 6)
17031             flag = 0;
17032         else {
17033             flag = (int)SvIV(ST(5));
17034         }
17035
17036         if (items < 7)
17037             border = 0;
17038         else {
17039             border = (int)SvIV(ST(6));
17040         }
17041
17042         if (items < 8)
17043             userData = NULL;
17044         else {
17045     userData = (wxObject *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Object" );
17046         }
17047     RETVAL = THIS->Add( width, height, *( pos ), *( span ), flag, border, userData );
17048         ST(0) = boolSV(RETVAL);
17049         sv_2mortal(ST(0));
17050     }
17051     XSRETURN(1);
17052 }
17053
17054
17055 XS(XS_Wx__GridBagSizer_AddItem); /* prototype to pass -Wmissing-prototypes */
17056 XS(XS_Wx__GridBagSizer_AddItem)
17057 {
17058 #ifdef dVAR
17059     dVAR; dXSARGS;
17060 #else
17061     dXSARGS;
17062 #endif
17063     if (items != 2)
17064        croak_xs_usage(cv,  "THIS, item");
17065     {
17066         wxGBSizerItem*    item = (wxGBSizerItem *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::GBSizerItem" );
17067         wxGridBagSizer *    THIS = (wxGridBagSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GridBagSizer" );
17068         bool    RETVAL;
17069     RETVAL = THIS->Add( item );
17070         ST(0) = boolSV(RETVAL);
17071         sv_2mortal(ST(0));
17072     }
17073     XSRETURN(1);
17074 }
17075
17076
17077 XS(XS_Wx__GridBagSizer_GetEmptyCellSize); /* prototype to pass -Wmissing-prototypes */
17078 XS(XS_Wx__GridBagSizer_GetEmptyCellSize)
17079 {
17080 #ifdef dVAR
17081     dVAR; dXSARGS;
17082 #else
17083     dXSARGS;
17084 #endif
17085     if (items != 1)
17086        croak_xs_usage(cv,  "THIS");
17087     {
17088         wxGridBagSizer *    THIS = (wxGridBagSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GridBagSizer" );
17089         wxSize  RETVAL;
17090
17091         RETVAL = THIS->GetEmptyCellSize();
17092         ST(0) = sv_newmortal();
17093     wxPli_non_object_2_sv( aTHX_ ST(0), new wxSize(RETVAL), "Wx::Size" );
17094
17095     }
17096     XSRETURN(1);
17097 }
17098
17099
17100 XS(XS_Wx__GridBagSizer_SetEmptyCellSize); /* prototype to pass -Wmissing-prototypes */
17101 XS(XS_Wx__GridBagSizer_SetEmptyCellSize)
17102 {
17103 #ifdef dVAR
17104     dVAR; dXSARGS;
17105 #else
17106     dXSARGS;
17107 #endif
17108     if (items != 2)
17109        croak_xs_usage(cv,  "THIS, sz");
17110     {
17111         wxSize    sz = wxPli_sv_2_wxsize( aTHX_ ST(1) );
17112         wxGridBagSizer *    THIS = (wxGridBagSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GridBagSizer" );
17113
17114         THIS->SetEmptyCellSize(sz);
17115     }
17116     XSRETURN_EMPTY;
17117 }
17118
17119
17120 XS(XS_Wx__GridBagSizer_GetCellSize); /* prototype to pass -Wmissing-prototypes */
17121 XS(XS_Wx__GridBagSizer_GetCellSize)
17122 {
17123 #ifdef dVAR
17124     dVAR; dXSARGS;
17125 #else
17126     dXSARGS;
17127 #endif
17128     if (items != 3)
17129        croak_xs_usage(cv,  "THIS, row, col");
17130     {
17131         int     row = (int)SvIV(ST(1));
17132         int     col = (int)SvIV(ST(2));
17133         wxGridBagSizer *    THIS = (wxGridBagSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GridBagSizer" );
17134         wxSize  RETVAL;
17135
17136         RETVAL = THIS->GetCellSize(row, col);
17137         ST(0) = sv_newmortal();
17138     wxPli_non_object_2_sv( aTHX_ ST(0), new wxSize(RETVAL), "Wx::Size" );
17139
17140     }
17141     XSRETURN(1);
17142 }
17143
17144
17145 XS(XS_Wx__GridBagSizer_GetItemPositionWindow); /* prototype to pass -Wmissing-prototypes */
17146 XS(XS_Wx__GridBagSizer_GetItemPositionWindow)
17147 {
17148 #ifdef dVAR
17149     dVAR; dXSARGS;
17150 #else
17151     dXSARGS;
17152 #endif
17153     if (items != 2)
17154        croak_xs_usage(cv,  "THIS, window");
17155     {
17156         wxWindow*    window = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
17157         wxGridBagSizer *    THIS = (wxGridBagSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GridBagSizer" );
17158         wxGBPosition *  RETVAL;
17159     RETVAL = new wxGBPosition( THIS->GetItemPosition( window ) );
17160         ST(0) = sv_newmortal();
17161     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::GBPosition" );
17162
17163     }
17164     XSRETURN(1);
17165 }
17166
17167
17168 XS(XS_Wx__GridBagSizer_GetItemPositionSizer); /* prototype to pass -Wmissing-prototypes */
17169 XS(XS_Wx__GridBagSizer_GetItemPositionSizer)
17170 {
17171 #ifdef dVAR
17172     dVAR; dXSARGS;
17173 #else
17174     dXSARGS;
17175 #endif
17176     if (items != 2)
17177        croak_xs_usage(cv,  "THIS, sizer");
17178     {
17179         wxSizer*    sizer = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Sizer" );
17180         wxGridBagSizer *    THIS = (wxGridBagSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GridBagSizer" );
17181         wxGBPosition *  RETVAL;
17182     RETVAL = new wxGBPosition( THIS->GetItemPosition( sizer ) );
17183         ST(0) = sv_newmortal();
17184     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::GBPosition" );
17185
17186     }
17187     XSRETURN(1);
17188 }
17189
17190
17191 XS(XS_Wx__GridBagSizer_GetItemPositionIndex); /* prototype to pass -Wmissing-prototypes */
17192 XS(XS_Wx__GridBagSizer_GetItemPositionIndex)
17193 {
17194 #ifdef dVAR
17195     dVAR; dXSARGS;
17196 #else
17197     dXSARGS;
17198 #endif
17199     if (items != 2)
17200        croak_xs_usage(cv,  "THIS, index");
17201     {
17202         size_t    index = (size_t)SvUV( ST(1) );
17203         wxGridBagSizer *    THIS = (wxGridBagSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GridBagSizer" );
17204         wxGBPosition *  RETVAL;
17205     RETVAL = new wxGBPosition( THIS->GetItemPosition( index ) );
17206         ST(0) = sv_newmortal();
17207     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::GBPosition" );
17208
17209     }
17210     XSRETURN(1);
17211 }
17212
17213
17214 XS(XS_Wx__GridBagSizer_GetItemPosition); /* prototype to pass -Wmissing-prototypes */
17215 XS(XS_Wx__GridBagSizer_GetItemPosition)
17216 {
17217 #ifdef dVAR
17218     dVAR; dXSARGS;
17219 #else
17220     dXSARGS;
17221 #endif
17222     if (items < 1)
17223        croak_xs_usage(cv,  "THIS, ...");
17224     PERL_UNUSED_VAR(ax); /* -Wall */
17225     SP -= items;
17226     {
17227         wxGridBagSizer *    THIS = (wxGridBagSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GridBagSizer" );
17228     BEGIN_OVERLOAD()
17229         MATCH_REDISP( wxPliOvl_wwin, GetItemPositionWindow )
17230         MATCH_REDISP( wxPliOvl_wszr, GetItemPositionSizer )
17231         MATCH_REDISP( wxPliOvl_n, GetItemPositionIndex )
17232     END_OVERLOAD( Wx::GridBagSizer::GetItemPosition )
17233         PUTBACK;
17234         return;
17235     }
17236 }
17237
17238
17239 XS(XS_Wx__GridBagSizer_SetItemPositionWindow); /* prototype to pass -Wmissing-prototypes */
17240 XS(XS_Wx__GridBagSizer_SetItemPositionWindow)
17241 {
17242 #ifdef dVAR
17243     dVAR; dXSARGS;
17244 #else
17245     dXSARGS;
17246 #endif
17247     if (items != 3)
17248        croak_xs_usage(cv,  "THIS, window, pos");
17249     {
17250         wxWindow*    window = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
17251         wxGBPosition*    pos = (wxGBPosition *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::GBPosition" );
17252         wxGridBagSizer *    THIS = (wxGridBagSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GridBagSizer" );
17253         bool    RETVAL;
17254     RETVAL = THIS->SetItemPosition( window, *( pos ) );
17255         ST(0) = boolSV(RETVAL);
17256         sv_2mortal(ST(0));
17257     }
17258     XSRETURN(1);
17259 }
17260
17261
17262 XS(XS_Wx__GridBagSizer_SetItemPositionSizer); /* prototype to pass -Wmissing-prototypes */
17263 XS(XS_Wx__GridBagSizer_SetItemPositionSizer)
17264 {
17265 #ifdef dVAR
17266     dVAR; dXSARGS;
17267 #else
17268     dXSARGS;
17269 #endif
17270     if (items != 3)
17271        croak_xs_usage(cv,  "THIS, sizer, pos");
17272     {
17273         wxSizer*    sizer = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Sizer" );
17274         wxGBPosition*    pos = (wxGBPosition *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::GBPosition" );
17275         wxGridBagSizer *    THIS = (wxGridBagSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GridBagSizer" );
17276         bool    RETVAL;
17277     RETVAL = THIS->SetItemPosition( sizer, *( pos ) );
17278         ST(0) = boolSV(RETVAL);
17279         sv_2mortal(ST(0));
17280     }
17281     XSRETURN(1);
17282 }
17283
17284
17285 XS(XS_Wx__GridBagSizer_SetItemPositionIndex); /* prototype to pass -Wmissing-prototypes */
17286 XS(XS_Wx__GridBagSizer_SetItemPositionIndex)
17287 {
17288 #ifdef dVAR
17289     dVAR; dXSARGS;
17290 #else
17291     dXSARGS;
17292 #endif
17293     if (items != 3)
17294        croak_xs_usage(cv,  "THIS, index, pos");
17295     {
17296         size_t    index = (size_t)SvUV( ST(1) );
17297         wxGBPosition*    pos = (wxGBPosition *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::GBPosition" );
17298         wxGridBagSizer *    THIS = (wxGridBagSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GridBagSizer" );
17299         bool    RETVAL;
17300     RETVAL = THIS->SetItemPosition( index, *( pos ) );
17301         ST(0) = boolSV(RETVAL);
17302         sv_2mortal(ST(0));
17303     }
17304     XSRETURN(1);
17305 }
17306
17307
17308 XS(XS_Wx__GridBagSizer_SetItemPosition); /* prototype to pass -Wmissing-prototypes */
17309 XS(XS_Wx__GridBagSizer_SetItemPosition)
17310 {
17311 #ifdef dVAR
17312     dVAR; dXSARGS;
17313 #else
17314     dXSARGS;
17315 #endif
17316     if (items < 1)
17317        croak_xs_usage(cv,  "THIS, ...");
17318     PERL_UNUSED_VAR(ax); /* -Wall */
17319     SP -= items;
17320     {
17321         wxGridBagSizer *    THIS = (wxGridBagSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GridBagSizer" );
17322     BEGIN_OVERLOAD()
17323         MATCH_REDISP( wxPliOvl_wwin_wgbp, SetItemPositionWindow )
17324         MATCH_REDISP( wxPliOvl_wszr_wgbp, SetItemPositionSizer )
17325         MATCH_REDISP( wxPliOvl_n_wgbp, SetItemPositionIndex )
17326     END_OVERLOAD( Wx::GridBagSizer::SetItemPosition )
17327         PUTBACK;
17328         return;
17329     }
17330 }
17331
17332
17333 XS(XS_Wx__GridBagSizer_GetItemSpanWindow); /* prototype to pass -Wmissing-prototypes */
17334 XS(XS_Wx__GridBagSizer_GetItemSpanWindow)
17335 {
17336 #ifdef dVAR
17337     dVAR; dXSARGS;
17338 #else
17339     dXSARGS;
17340 #endif
17341     if (items != 2)
17342        croak_xs_usage(cv,  "THIS, window");
17343     {
17344         wxWindow*    window = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
17345         wxGridBagSizer *    THIS = (wxGridBagSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GridBagSizer" );
17346         wxGBSpan *      RETVAL;
17347     RETVAL = new wxGBSpan( THIS->GetItemSpan( window ) );
17348         ST(0) = sv_newmortal();
17349     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::GBSpan" );
17350
17351     }
17352     XSRETURN(1);
17353 }
17354
17355
17356 XS(XS_Wx__GridBagSizer_GetItemSpanSizer); /* prototype to pass -Wmissing-prototypes */
17357 XS(XS_Wx__GridBagSizer_GetItemSpanSizer)
17358 {
17359 #ifdef dVAR
17360     dVAR; dXSARGS;
17361 #else
17362     dXSARGS;
17363 #endif
17364     if (items != 2)
17365        croak_xs_usage(cv,  "THIS, sizer");
17366     {
17367         wxSizer*    sizer = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Sizer" );
17368         wxGridBagSizer *    THIS = (wxGridBagSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GridBagSizer" );
17369         wxGBSpan *      RETVAL;
17370     RETVAL = new wxGBSpan( THIS->GetItemSpan( sizer ) );
17371         ST(0) = sv_newmortal();
17372     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::GBSpan" );
17373
17374     }
17375     XSRETURN(1);
17376 }
17377
17378
17379 XS(XS_Wx__GridBagSizer_GetItemSpanIndex); /* prototype to pass -Wmissing-prototypes */
17380 XS(XS_Wx__GridBagSizer_GetItemSpanIndex)
17381 {
17382 #ifdef dVAR
17383     dVAR; dXSARGS;
17384 #else
17385     dXSARGS;
17386 #endif
17387     if (items != 2)
17388        croak_xs_usage(cv,  "THIS, index");
17389     {
17390         size_t    index = (size_t)SvUV( ST(1) );
17391         wxGridBagSizer *    THIS = (wxGridBagSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GridBagSizer" );
17392         wxGBSpan *      RETVAL;
17393     RETVAL = new wxGBSpan( THIS->GetItemSpan( index ) );
17394         ST(0) = sv_newmortal();
17395     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::GBSpan" );
17396
17397     }
17398     XSRETURN(1);
17399 }
17400
17401
17402 XS(XS_Wx__GridBagSizer_GetItemSpan); /* prototype to pass -Wmissing-prototypes */
17403 XS(XS_Wx__GridBagSizer_GetItemSpan)
17404 {
17405 #ifdef dVAR
17406     dVAR; dXSARGS;
17407 #else
17408     dXSARGS;
17409 #endif
17410     if (items < 1)
17411        croak_xs_usage(cv,  "THIS, ...");
17412     PERL_UNUSED_VAR(ax); /* -Wall */
17413     SP -= items;
17414     {
17415         wxGridBagSizer *    THIS = (wxGridBagSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GridBagSizer" );
17416     BEGIN_OVERLOAD()
17417         MATCH_REDISP( wxPliOvl_wwin, GetItemSpanWindow )
17418         MATCH_REDISP( wxPliOvl_wszr, GetItemSpanSizer )
17419         MATCH_REDISP( wxPliOvl_n, GetItemSpanIndex )
17420     END_OVERLOAD( Wx::GridBagSizer::GetItemSpan )
17421         PUTBACK;
17422         return;
17423     }
17424 }
17425
17426
17427 XS(XS_Wx__GridBagSizer_SetItemSpanWindow); /* prototype to pass -Wmissing-prototypes */
17428 XS(XS_Wx__GridBagSizer_SetItemSpanWindow)
17429 {
17430 #ifdef dVAR
17431     dVAR; dXSARGS;
17432 #else
17433     dXSARGS;
17434 #endif
17435     if (items != 3)
17436        croak_xs_usage(cv,  "THIS, window, span");
17437     {
17438         wxWindow*    window = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
17439         wxGBSpan*    span = (wxGBSpan *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::GBSpan" );
17440         wxGridBagSizer *    THIS = (wxGridBagSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GridBagSizer" );
17441         bool    RETVAL;
17442     RETVAL = THIS->SetItemSpan( window, *( span ) );
17443         ST(0) = boolSV(RETVAL);
17444         sv_2mortal(ST(0));
17445     }
17446     XSRETURN(1);
17447 }
17448
17449
17450 XS(XS_Wx__GridBagSizer_SetItemSpanSizer); /* prototype to pass -Wmissing-prototypes */
17451 XS(XS_Wx__GridBagSizer_SetItemSpanSizer)
17452 {
17453 #ifdef dVAR
17454     dVAR; dXSARGS;
17455 #else
17456     dXSARGS;
17457 #endif
17458     if (items != 3)
17459        croak_xs_usage(cv,  "THIS, sizer, span");
17460     {
17461         wxSizer*    sizer = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Sizer" );
17462         wxGBSpan*    span = (wxGBSpan *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::GBSpan" );
17463         wxGridBagSizer *    THIS = (wxGridBagSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GridBagSizer" );
17464         bool    RETVAL;
17465     RETVAL = THIS->SetItemSpan( sizer, *( span ) );
17466         ST(0) = boolSV(RETVAL);
17467         sv_2mortal(ST(0));
17468     }
17469     XSRETURN(1);
17470 }
17471
17472
17473 XS(XS_Wx__GridBagSizer_SetItemSpanIndex); /* prototype to pass -Wmissing-prototypes */
17474 XS(XS_Wx__GridBagSizer_SetItemSpanIndex)
17475 {
17476 #ifdef dVAR
17477     dVAR; dXSARGS;
17478 #else
17479     dXSARGS;
17480 #endif
17481     if (items != 3)
17482        croak_xs_usage(cv,  "THIS, index, span");
17483     {
17484         size_t    index = (size_t)SvUV( ST(1) );
17485         wxGBSpan*    span = (wxGBSpan *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::GBSpan" );
17486         wxGridBagSizer *    THIS = (wxGridBagSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GridBagSizer" );
17487         bool    RETVAL;
17488     RETVAL = THIS->SetItemSpan( index, *( span ) );
17489         ST(0) = boolSV(RETVAL);
17490         sv_2mortal(ST(0));
17491     }
17492     XSRETURN(1);
17493 }
17494
17495
17496 XS(XS_Wx__GridBagSizer_SetItemSpan); /* prototype to pass -Wmissing-prototypes */
17497 XS(XS_Wx__GridBagSizer_SetItemSpan)
17498 {
17499 #ifdef dVAR
17500     dVAR; dXSARGS;
17501 #else
17502     dXSARGS;
17503 #endif
17504     if (items < 1)
17505        croak_xs_usage(cv,  "THIS, ...");
17506     PERL_UNUSED_VAR(ax); /* -Wall */
17507     SP -= items;
17508     {
17509         wxGridBagSizer *    THIS = (wxGridBagSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GridBagSizer" );
17510     BEGIN_OVERLOAD()
17511         MATCH_REDISP( wxPliOvl_wwin_wgbp, SetItemSpanWindow )
17512         MATCH_REDISP( wxPliOvl_wszr_wgbp, SetItemSpanSizer )
17513         MATCH_REDISP( wxPliOvl_n_wgbp, SetItemSpanIndex )
17514     END_OVERLOAD( Wx::GridBagSizer::SetItemSpan )
17515         PUTBACK;
17516         return;
17517     }
17518 }
17519
17520
17521 XS(XS_Wx__GridBagSizer_FindItemWindow); /* prototype to pass -Wmissing-prototypes */
17522 XS(XS_Wx__GridBagSizer_FindItemWindow)
17523 {
17524 #ifdef dVAR
17525     dVAR; dXSARGS;
17526 #else
17527     dXSARGS;
17528 #endif
17529     if (items != 2)
17530        croak_xs_usage(cv,  "THIS, window");
17531     {
17532         wxWindow*    window = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
17533         wxGridBagSizer *    THIS = (wxGridBagSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GridBagSizer" );
17534         wxGBSizerItem * RETVAL;
17535     RETVAL = THIS->FindItem( window );
17536         ST(0) = sv_newmortal();
17537     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
17538
17539     }
17540     XSRETURN(1);
17541 }
17542
17543
17544 XS(XS_Wx__GridBagSizer_FindItemSizer); /* prototype to pass -Wmissing-prototypes */
17545 XS(XS_Wx__GridBagSizer_FindItemSizer)
17546 {
17547 #ifdef dVAR
17548     dVAR; dXSARGS;
17549 #else
17550     dXSARGS;
17551 #endif
17552     if (items != 2)
17553        croak_xs_usage(cv,  "THIS, sizer");
17554     {
17555         wxSizer*    sizer = (wxSizer *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Sizer" );
17556         wxGridBagSizer *    THIS = (wxGridBagSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GridBagSizer" );
17557         wxGBSizerItem * RETVAL;
17558     RETVAL = THIS->FindItem( sizer );
17559         ST(0) = sv_newmortal();
17560     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
17561
17562     }
17563     XSRETURN(1);
17564 }
17565
17566
17567 XS(XS_Wx__GridBagSizer_FindItem); /* prototype to pass -Wmissing-prototypes */
17568 XS(XS_Wx__GridBagSizer_FindItem)
17569 {
17570 #ifdef dVAR
17571     dVAR; dXSARGS;
17572 #else
17573     dXSARGS;
17574 #endif
17575     if (items < 1)
17576        croak_xs_usage(cv,  "THIS, ...");
17577     PERL_UNUSED_VAR(ax); /* -Wall */
17578     SP -= items;
17579     {
17580         wxGridBagSizer *    THIS = (wxGridBagSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GridBagSizer" );
17581     BEGIN_OVERLOAD()
17582         MATCH_REDISP( wxPliOvl_wwin, FindItemWindow )
17583         MATCH_REDISP( wxPliOvl_wszr, FindItemSizer )
17584     END_OVERLOAD( Wx::GridBagSizer::FindItem )
17585         PUTBACK;
17586         return;
17587     }
17588 }
17589
17590
17591 XS(XS_Wx__GridBagSizer_FindItemAtPosition); /* prototype to pass -Wmissing-prototypes */
17592 XS(XS_Wx__GridBagSizer_FindItemAtPosition)
17593 {
17594 #ifdef dVAR
17595     dVAR; dXSARGS;
17596 #else
17597     dXSARGS;
17598 #endif
17599     if (items != 2)
17600        croak_xs_usage(cv,  "THIS, pos");
17601     {
17602         wxGBPosition*    pos = (wxGBPosition *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::GBPosition" );
17603         wxGridBagSizer *    THIS = (wxGridBagSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GridBagSizer" );
17604         wxGBSizerItem * RETVAL;
17605     RETVAL = THIS->FindItemAtPosition( *( pos ) );
17606         ST(0) = sv_newmortal();
17607     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
17608
17609     }
17610     XSRETURN(1);
17611 }
17612
17613
17614 XS(XS_Wx__GridBagSizer_FindItemAtPoint); /* prototype to pass -Wmissing-prototypes */
17615 XS(XS_Wx__GridBagSizer_FindItemAtPoint)
17616 {
17617 #ifdef dVAR
17618     dVAR; dXSARGS;
17619 #else
17620     dXSARGS;
17621 #endif
17622     if (items != 2)
17623        croak_xs_usage(cv,  "THIS, pt");
17624     {
17625         wxPoint    pt = wxPli_sv_2_wxpoint( aTHX_ ST(1) );
17626         wxGridBagSizer *    THIS = (wxGridBagSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GridBagSizer" );
17627         wxGBSizerItem * RETVAL;
17628
17629         RETVAL = THIS->FindItemAtPoint(pt);
17630         ST(0) = sv_newmortal();
17631     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
17632
17633     }
17634     XSRETURN(1);
17635 }
17636
17637
17638 XS(XS_Wx__GridBagSizer_CheckForIntersectionItem); /* prototype to pass -Wmissing-prototypes */
17639 XS(XS_Wx__GridBagSizer_CheckForIntersectionItem)
17640 {
17641 #ifdef dVAR
17642     dVAR; dXSARGS;
17643 #else
17644     dXSARGS;
17645 #endif
17646     if (items < 2 || items > 3)
17647        croak_xs_usage(cv,  "THIS, item, excludeItem = NULL");
17648     {
17649         wxGBSizerItem*    item = (wxGBSizerItem *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::GBSizerItem" );
17650         wxGBSizerItem*  excludeItem;
17651         wxGridBagSizer *    THIS = (wxGridBagSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GridBagSizer" );
17652         bool    RETVAL;
17653
17654         if (items < 3)
17655             excludeItem = NULL;
17656         else {
17657     excludeItem = (wxGBSizerItem *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::GBSizerItem" );
17658         }
17659     RETVAL = THIS->CheckForIntersection( item, excludeItem );
17660         ST(0) = boolSV(RETVAL);
17661         sv_2mortal(ST(0));
17662     }
17663     XSRETURN(1);
17664 }
17665
17666
17667 XS(XS_Wx__GridBagSizer_CheckForIntersectionPos); /* prototype to pass -Wmissing-prototypes */
17668 XS(XS_Wx__GridBagSizer_CheckForIntersectionPos)
17669 {
17670 #ifdef dVAR
17671     dVAR; dXSARGS;
17672 #else
17673     dXSARGS;
17674 #endif
17675     if (items < 3 || items > 4)
17676        croak_xs_usage(cv,  "THIS, pos, span, excludeItem = NULL");
17677     {
17678         wxGBPosition*    pos = (wxGBPosition *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::GBPosition" );
17679         wxGBSpan*    span = (wxGBSpan *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::GBSpan" );
17680         wxGBSizerItem*  excludeItem;
17681         wxGridBagSizer *    THIS = (wxGridBagSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GridBagSizer" );
17682         bool    RETVAL;
17683
17684         if (items < 4)
17685             excludeItem = NULL;
17686         else {
17687     excludeItem = (wxGBSizerItem *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::GBSizerItem" );
17688         }
17689     RETVAL = THIS->CheckForIntersection( *( pos ), *( span ), excludeItem );
17690         ST(0) = boolSV(RETVAL);
17691         sv_2mortal(ST(0));
17692     }
17693     XSRETURN(1);
17694 }
17695
17696
17697 XS(XS_Wx__GridBagSizer_CheckForIntersection); /* prototype to pass -Wmissing-prototypes */
17698 XS(XS_Wx__GridBagSizer_CheckForIntersection)
17699 {
17700 #ifdef dVAR
17701     dVAR; dXSARGS;
17702 #else
17703     dXSARGS;
17704 #endif
17705     if (items < 1)
17706        croak_xs_usage(cv,  "THIS, ...");
17707     PERL_UNUSED_VAR(ax); /* -Wall */
17708     SP -= items;
17709     {
17710         wxGridBagSizer *    THIS = (wxGridBagSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GridBagSizer" );
17711     BEGIN_OVERLOAD()
17712         MATCH_REDISP_COUNT_ALLOWMORE( wxPliOvl_wgbi_wgbi, CheckForIntersectionItem, 1 )
17713         MATCH_REDISP_COUNT_ALLOWMORE( wxPliOvl_wgbp_wgbs_wgbi, CheckForIntersectionPos, 2 )
17714     END_OVERLOAD( Wx::GridBagSizer::CheckForIntersection )
17715         PUTBACK;
17716         return;
17717     }
17718 }
17719
17720
17721 XS(XS_Wx__GridBagSizer_Add); /* prototype to pass -Wmissing-prototypes */
17722 XS(XS_Wx__GridBagSizer_Add)
17723 {
17724 #ifdef dVAR
17725     dVAR; dXSARGS;
17726 #else
17727     dXSARGS;
17728 #endif
17729     if (items < 1)
17730        croak_xs_usage(cv,  "THIS, ...");
17731     PERL_UNUSED_VAR(ax); /* -Wall */
17732     SP -= items;
17733     {
17734         wxGridBagSizer *    THIS = (wxGridBagSizer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GridBagSizer" );
17735     BEGIN_OVERLOAD()
17736         MATCH_REDISP_COUNT_ALLOWMORE( wxPliOvl_wwin_wgbp_wgbs_n_n_s, AddWindow, 1 )
17737         MATCH_REDISP_COUNT_ALLOWMORE( wxPliOvl_wszr_wgbp_wgbs_n_n_s, AddSizer, 1 )
17738         MATCH_REDISP_COUNT_ALLOWMORE( wxPliOvl_n_n_wgbp_wgbs_n_n_s, AddSpace, 2 )
17739         MATCH_REDISP_COUNT( wxPliOvl_wgbi, AddItem, 1 )
17740     END_OVERLOAD( Wx::GridBagSizer::Add )
17741         PUTBACK;
17742         return;
17743     }
17744 }
17745
17746 #endif
17747
17748 /* INCLUDE: Returning to 'Window.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/GridBagSizer.xsp |' */
17749
17750
17751 /* INCLUDE:  Including 'XS/SashWindow.xs' from 'Window.xs' */
17752
17753 #include <wx/sashwin.h>
17754
17755 XS(XS_Wx__SashEvent_new); /* prototype to pass -Wmissing-prototypes */
17756 XS(XS_Wx__SashEvent_new)
17757 {
17758 #ifdef dVAR
17759     dVAR; dXSARGS;
17760 #else
17761     dXSARGS;
17762 #endif
17763     if (items < 1 || items > 3)
17764        croak_xs_usage(cv,  "CLASS, id = 0, edge = wxSASH_NONE");
17765     {
17766         int     id;
17767         wxSashEdgePosition      edge;
17768         char *  CLASS = (char *)SvPV_nolen(ST(0));
17769         wxSashEvent *   RETVAL;
17770
17771         if (items < 2)
17772             id = 0;
17773         else {
17774             id = (int)SvIV(ST(1));
17775         }
17776
17777         if (items < 3)
17778             edge = wxSASH_NONE;
17779         else {
17780             edge = (wxSashEdgePosition)SvIV(ST(2));
17781         }
17782
17783         RETVAL = new wxSashEvent(id, edge);
17784         ST(0) = sv_newmortal();
17785     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
17786     wxPli_thread_sv_register( aTHX_ "Wx::SashEvent", RETVAL, ST(0) );
17787
17788     }
17789     XSRETURN(1);
17790 }
17791
17792
17793 XS(XS_Wx__SashEvent_GetEdge); /* prototype to pass -Wmissing-prototypes */
17794 XS(XS_Wx__SashEvent_GetEdge)
17795 {
17796 #ifdef dVAR
17797     dVAR; dXSARGS;
17798 #else
17799     dXSARGS;
17800 #endif
17801     if (items != 1)
17802        croak_xs_usage(cv,  "THIS");
17803     {
17804         wxSashEvent *    THIS = (wxSashEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SashEvent" );
17805         wxSashEdgePosition      RETVAL;
17806         dXSTARG;
17807
17808         RETVAL = THIS->GetEdge();
17809         XSprePUSH; PUSHi((IV)RETVAL);
17810     }
17811     XSRETURN(1);
17812 }
17813
17814
17815 XS(XS_Wx__SashEvent_GetDragRect); /* prototype to pass -Wmissing-prototypes */
17816 XS(XS_Wx__SashEvent_GetDragRect)
17817 {
17818 #ifdef dVAR
17819     dVAR; dXSARGS;
17820 #else
17821     dXSARGS;
17822 #endif
17823     if (items != 1)
17824        croak_xs_usage(cv,  "THIS");
17825     {
17826         wxSashEvent *    THIS = (wxSashEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SashEvent" );
17827         wxRect *        RETVAL;
17828     RETVAL = new wxRect( THIS->GetDragRect() );
17829         ST(0) = sv_newmortal();
17830     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Rect" );
17831     wxPli_thread_sv_register( aTHX_ "Wx::Rect", RETVAL, ST(0) );
17832
17833     }
17834     XSRETURN(1);
17835 }
17836
17837
17838 XS(XS_Wx__SashEvent_GetDragStatus); /* prototype to pass -Wmissing-prototypes */
17839 XS(XS_Wx__SashEvent_GetDragStatus)
17840 {
17841 #ifdef dVAR
17842     dVAR; dXSARGS;
17843 #else
17844     dXSARGS;
17845 #endif
17846     if (items != 1)
17847        croak_xs_usage(cv,  "THIS");
17848     {
17849         wxSashEvent *    THIS = (wxSashEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SashEvent" );
17850         wxSashDragStatus        RETVAL;
17851         dXSTARG;
17852
17853         RETVAL = THIS->GetDragStatus();
17854         XSprePUSH; PUSHi((IV)RETVAL);
17855     }
17856     XSRETURN(1);
17857 }
17858
17859
17860 XS(XS_Wx__SashWindow_new); /* prototype to pass -Wmissing-prototypes */
17861 XS(XS_Wx__SashWindow_new)
17862 {
17863 #ifdef dVAR
17864     dVAR; dXSARGS;
17865 #else
17866     dXSARGS;
17867 #endif
17868     PERL_UNUSED_VAR(cv); /* -W */
17869     PERL_UNUSED_VAR(ax); /* -Wall */
17870     SP -= items;
17871     {
17872     BEGIN_OVERLOAD()
17873         MATCH_VOIDM_REDISP( newDefault )
17874         MATCH_ANY_REDISP( newFull )
17875     END_OVERLOAD( "Wx::SashWindow::new" )
17876         PUTBACK;
17877         return;
17878     }
17879 }
17880
17881
17882 XS(XS_Wx__SashWindow_newDefault); /* prototype to pass -Wmissing-prototypes */
17883 XS(XS_Wx__SashWindow_newDefault)
17884 {
17885 #ifdef dVAR
17886     dVAR; dXSARGS;
17887 #else
17888     dXSARGS;
17889 #endif
17890     if (items != 1)
17891        croak_xs_usage(cv,  "CLASS");
17892     {
17893         PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) );
17894         wxSashWindow *  RETVAL;
17895     RETVAL = new wxSashWindow();
17896     wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
17897         ST(0) = sv_newmortal();
17898     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
17899
17900     }
17901     XSRETURN(1);
17902 }
17903
17904
17905 XS(XS_Wx__SashWindow_newFull); /* prototype to pass -Wmissing-prototypes */
17906 XS(XS_Wx__SashWindow_newFull)
17907 {
17908 #ifdef dVAR
17909     dVAR; dXSARGS;
17910 #else
17911     dXSARGS;
17912 #endif
17913     if (items < 2 || items > 7)
17914        croak_xs_usage(cv,  "CLASS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = wxCLIP_CHILDREN|wxSW_3D, name = wxT(\"sashWindow\")");
17915     {
17916         PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) );
17917         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
17918         wxWindowID      id;
17919         wxPoint pos;
17920         wxSize  size;
17921         long    style;
17922         wxString        name;
17923         wxSashWindow *  RETVAL;
17924
17925         if (items < 3)
17926             id = wxID_ANY;
17927         else {
17928     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
17929         }
17930
17931         if (items < 4)
17932             pos = wxDefaultPosition;
17933         else {
17934     pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) );
17935         }
17936
17937         if (items < 5)
17938             size = wxDefaultSize;
17939         else {
17940     size = wxPli_sv_2_wxsize( aTHX_ ST(4) );
17941         }
17942
17943         if (items < 6)
17944             style = wxCLIP_CHILDREN|wxSW_3D;
17945         else {
17946             style = (long)SvIV(ST(5));
17947         }
17948
17949         if (items < 7)
17950             name = wxT("sashWindow");
17951         else {
17952     WXSTRING_INPUT( name, wxString, ST(6) );
17953         }
17954     RETVAL = new wxSashWindow( parent, id, pos, size, style, name );
17955     wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
17956         ST(0) = sv_newmortal();
17957     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
17958
17959     }
17960     XSRETURN(1);
17961 }
17962
17963
17964 XS(XS_Wx__SashWindow_Create); /* prototype to pass -Wmissing-prototypes */
17965 XS(XS_Wx__SashWindow_Create)
17966 {
17967 #ifdef dVAR
17968     dVAR; dXSARGS;
17969 #else
17970     dXSARGS;
17971 #endif
17972     if (items < 2 || items > 7)
17973        croak_xs_usage(cv,  "THIS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = wxCLIP_CHILDREN|wxSW_3D, name = wxT(\"sashWindow\")");
17974     {
17975         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
17976         wxWindowID      id;
17977         wxPoint pos;
17978         wxSize  size;
17979         long    style;
17980         wxString        name;
17981         wxSashWindow *    THIS = (wxSashWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SashWindow" );
17982         bool    RETVAL;
17983
17984         if (items < 3)
17985             id = wxID_ANY;
17986         else {
17987     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
17988         }
17989
17990         if (items < 4)
17991             pos = wxDefaultPosition;
17992         else {
17993     pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) );
17994         }
17995
17996         if (items < 5)
17997             size = wxDefaultSize;
17998         else {
17999     size = wxPli_sv_2_wxsize( aTHX_ ST(4) );
18000         }
18001
18002         if (items < 6)
18003             style = wxCLIP_CHILDREN|wxSW_3D;
18004         else {
18005             style = (long)SvIV(ST(5));
18006         }
18007
18008         if (items < 7)
18009             name = wxT("sashWindow");
18010         else {
18011     WXSTRING_INPUT( name, wxString, ST(6) );
18012         }
18013
18014         RETVAL = THIS->Create(parent, id, pos, size, style, name);
18015         ST(0) = boolSV(RETVAL);
18016         sv_2mortal(ST(0));
18017     }
18018     XSRETURN(1);
18019 }
18020
18021
18022 XS(XS_Wx__SashWindow_GetSashVisible); /* prototype to pass -Wmissing-prototypes */
18023 XS(XS_Wx__SashWindow_GetSashVisible)
18024 {
18025 #ifdef dVAR
18026     dVAR; dXSARGS;
18027 #else
18028     dXSARGS;
18029 #endif
18030     if (items != 2)
18031        croak_xs_usage(cv,  "THIS, edge");
18032     {
18033         wxSashEdgePosition      edge = (wxSashEdgePosition)SvIV(ST(1));
18034         wxSashWindow *    THIS = (wxSashWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SashWindow" );
18035         bool    RETVAL;
18036
18037         RETVAL = THIS->GetSashVisible(edge);
18038         ST(0) = boolSV(RETVAL);
18039         sv_2mortal(ST(0));
18040     }
18041     XSRETURN(1);
18042 }
18043
18044
18045 XS(XS_Wx__SashWindow_GetMaximumSizeX); /* prototype to pass -Wmissing-prototypes */
18046 XS(XS_Wx__SashWindow_GetMaximumSizeX)
18047 {
18048 #ifdef dVAR
18049     dVAR; dXSARGS;
18050 #else
18051     dXSARGS;
18052 #endif
18053     if (items != 1)
18054        croak_xs_usage(cv,  "THIS");
18055     {
18056         wxSashWindow *    THIS = (wxSashWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SashWindow" );
18057         int     RETVAL;
18058         dXSTARG;
18059
18060         RETVAL = THIS->GetMaximumSizeX();
18061         XSprePUSH; PUSHi((IV)RETVAL);
18062     }
18063     XSRETURN(1);
18064 }
18065
18066
18067 XS(XS_Wx__SashWindow_GetMaximumSizeY); /* prototype to pass -Wmissing-prototypes */
18068 XS(XS_Wx__SashWindow_GetMaximumSizeY)
18069 {
18070 #ifdef dVAR
18071     dVAR; dXSARGS;
18072 #else
18073     dXSARGS;
18074 #endif
18075     if (items != 1)
18076        croak_xs_usage(cv,  "THIS");
18077     {
18078         wxSashWindow *    THIS = (wxSashWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SashWindow" );
18079         int     RETVAL;
18080         dXSTARG;
18081
18082         RETVAL = THIS->GetMaximumSizeY();
18083         XSprePUSH; PUSHi((IV)RETVAL);
18084     }
18085     XSRETURN(1);
18086 }
18087
18088
18089 XS(XS_Wx__SashWindow_GetMinimumSizeX); /* prototype to pass -Wmissing-prototypes */
18090 XS(XS_Wx__SashWindow_GetMinimumSizeX)
18091 {
18092 #ifdef dVAR
18093     dVAR; dXSARGS;
18094 #else
18095     dXSARGS;
18096 #endif
18097     if (items != 1)
18098        croak_xs_usage(cv,  "THIS");
18099     {
18100         wxSashWindow *    THIS = (wxSashWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SashWindow" );
18101         int     RETVAL;
18102         dXSTARG;
18103
18104         RETVAL = THIS->GetMinimumSizeX();
18105         XSprePUSH; PUSHi((IV)RETVAL);
18106     }
18107     XSRETURN(1);
18108 }
18109
18110
18111 XS(XS_Wx__SashWindow_GetMinimumSizeY); /* prototype to pass -Wmissing-prototypes */
18112 XS(XS_Wx__SashWindow_GetMinimumSizeY)
18113 {
18114 #ifdef dVAR
18115     dVAR; dXSARGS;
18116 #else
18117     dXSARGS;
18118 #endif
18119     if (items != 1)
18120        croak_xs_usage(cv,  "THIS");
18121     {
18122         wxSashWindow *    THIS = (wxSashWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SashWindow" );
18123         int     RETVAL;
18124         dXSTARG;
18125
18126         RETVAL = THIS->GetMinimumSizeY();
18127         XSprePUSH; PUSHi((IV)RETVAL);
18128     }
18129     XSRETURN(1);
18130 }
18131
18132 #if WXPERL_W_VERSION_LT( 2, 7, 0 )
18133 #define XSubPPtmpAADW 1
18134
18135
18136 XS(XS_Wx__SashWindow_HasBorder); /* prototype to pass -Wmissing-prototypes */
18137 XS(XS_Wx__SashWindow_HasBorder)
18138 {
18139 #ifdef dVAR
18140     dVAR; dXSARGS;
18141 #else
18142     dXSARGS;
18143 #endif
18144     if (items != 2)
18145        croak_xs_usage(cv,  "THIS, edge");
18146     {
18147         wxSashEdgePosition      edge = (wxSashEdgePosition)SvIV(ST(1));
18148         wxSashWindow *    THIS = (wxSashWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SashWindow" );
18149         bool    RETVAL;
18150
18151         RETVAL = THIS->HasBorder(edge);
18152         ST(0) = boolSV(RETVAL);
18153         sv_2mortal(ST(0));
18154     }
18155     XSRETURN(1);
18156 }
18157
18158 #endif
18159
18160 XS(XS_Wx__SashWindow_SetMaximumSizeX); /* prototype to pass -Wmissing-prototypes */
18161 XS(XS_Wx__SashWindow_SetMaximumSizeX)
18162 {
18163 #ifdef dVAR
18164     dVAR; dXSARGS;
18165 #else
18166     dXSARGS;
18167 #endif
18168     if (items != 2)
18169        croak_xs_usage(cv,  "THIS, max");
18170     {
18171         int     max = (int)SvIV(ST(1));
18172         wxSashWindow *    THIS = (wxSashWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SashWindow" );
18173
18174         THIS->SetMaximumSizeX(max);
18175     }
18176     XSRETURN_EMPTY;
18177 }
18178
18179
18180 XS(XS_Wx__SashWindow_SetMaximumSizeY); /* prototype to pass -Wmissing-prototypes */
18181 XS(XS_Wx__SashWindow_SetMaximumSizeY)
18182 {
18183 #ifdef dVAR
18184     dVAR; dXSARGS;
18185 #else
18186     dXSARGS;
18187 #endif
18188     if (items != 2)
18189        croak_xs_usage(cv,  "THIS, max");
18190     {
18191         int     max = (int)SvIV(ST(1));
18192         wxSashWindow *    THIS = (wxSashWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SashWindow" );
18193
18194         THIS->SetMaximumSizeY(max);
18195     }
18196     XSRETURN_EMPTY;
18197 }
18198
18199
18200 XS(XS_Wx__SashWindow_SetMinimumSizeX); /* prototype to pass -Wmissing-prototypes */
18201 XS(XS_Wx__SashWindow_SetMinimumSizeX)
18202 {
18203 #ifdef dVAR
18204     dVAR; dXSARGS;
18205 #else
18206     dXSARGS;
18207 #endif
18208     if (items != 2)
18209        croak_xs_usage(cv,  "THIS, min");
18210     {
18211         int     min = (int)SvIV(ST(1));
18212         wxSashWindow *    THIS = (wxSashWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SashWindow" );
18213
18214         THIS->SetMinimumSizeX(min);
18215     }
18216     XSRETURN_EMPTY;
18217 }
18218
18219
18220 XS(XS_Wx__SashWindow_SetMinimumSizeY); /* prototype to pass -Wmissing-prototypes */
18221 XS(XS_Wx__SashWindow_SetMinimumSizeY)
18222 {
18223 #ifdef dVAR
18224     dVAR; dXSARGS;
18225 #else
18226     dXSARGS;
18227 #endif
18228     if (items != 2)
18229        croak_xs_usage(cv,  "THIS, min");
18230     {
18231         int     min = (int)SvIV(ST(1));
18232         wxSashWindow *    THIS = (wxSashWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SashWindow" );
18233
18234         THIS->SetMinimumSizeY(min);
18235     }
18236     XSRETURN_EMPTY;
18237 }
18238
18239
18240 XS(XS_Wx__SashWindow_SetSashVisible); /* prototype to pass -Wmissing-prototypes */
18241 XS(XS_Wx__SashWindow_SetSashVisible)
18242 {
18243 #ifdef dVAR
18244     dVAR; dXSARGS;
18245 #else
18246     dXSARGS;
18247 #endif
18248     if (items != 3)
18249        croak_xs_usage(cv,  "THIS, edge, visible");
18250     {
18251         wxSashEdgePosition      edge = (wxSashEdgePosition)SvIV(ST(1));
18252         bool    visible = (bool)SvTRUE(ST(2));
18253         wxSashWindow *    THIS = (wxSashWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SashWindow" );
18254
18255         THIS->SetSashVisible(edge, visible);
18256     }
18257     XSRETURN_EMPTY;
18258 }
18259
18260 #if WXPERL_W_VERSION_LT( 2, 7, 0 )
18261 #define XSubPPtmpAADX 1
18262
18263
18264 XS(XS_Wx__SashWindow_SetSashBorder); /* prototype to pass -Wmissing-prototypes */
18265 XS(XS_Wx__SashWindow_SetSashBorder)
18266 {
18267 #ifdef dVAR
18268     dVAR; dXSARGS;
18269 #else
18270     dXSARGS;
18271 #endif
18272     if (items != 3)
18273        croak_xs_usage(cv,  "THIS, edge, border");
18274     {
18275         wxSashEdgePosition      edge = (wxSashEdgePosition)SvIV(ST(1));
18276         bool    border = (bool)SvTRUE(ST(2));
18277         wxSashWindow *    THIS = (wxSashWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SashWindow" );
18278
18279         THIS->SetSashBorder(edge, border);
18280     }
18281     XSRETURN_EMPTY;
18282 }
18283
18284 #endif
18285
18286 /* INCLUDE: Returning to 'Window.xs' from 'XS/SashWindow.xs' */
18287
18288 #ifdef __cplusplus
18289 extern "C"
18290 #endif
18291 XS(boot_Wx_Win); /* prototype to pass -Wmissing-prototypes */
18292 XS(boot_Wx_Win)
18293 {
18294 #ifdef dVAR
18295     dVAR; dXSARGS;
18296 #else
18297     dXSARGS;
18298 #endif
18299 #if (PERL_REVISION == 5 && PERL_VERSION < 9)
18300     char* file = __FILE__;
18301 #else
18302     const char* file = __FILE__;
18303 #endif
18304
18305     PERL_UNUSED_VAR(cv); /* -W */
18306     PERL_UNUSED_VAR(items); /* -W */
18307     XS_VERSION_BOOTCHECK ;
18308
18309         newXS("Wx::GetMousePosition", XS_Wx_GetMousePosition, file);
18310         newXS("Wx::GetMousePositionXY", XS_Wx_GetMousePositionXY, file);
18311         newXS("Wx::GetTopLevelParent", XS_Wx_GetTopLevelParent, file);
18312         newXS("Wx::FindWindowAtPointer", XS_Wx_FindWindowAtPointer, file);
18313         newXS("Wx::GetActiveWindow", XS_Wx_GetActiveWindow, file);
18314         newXS("Wx::Window::NewControlId", XS_Wx__Window_NewControlId, file);
18315 #if XSubPPtmpAAAA
18316         newXS("Wx::Window::NextControlId", XS_Wx__Window_NextControlId, file);
18317         newXS("Wx::Window::PrevControlId", XS_Wx__Window_PrevControlId, file);
18318 #endif
18319         newXS("Wx::Window::new", XS_Wx__Window_new, file);
18320         newXS("Wx::Window::newDefault", XS_Wx__Window_newDefault, file);
18321         newXS("Wx::Window::newFull", XS_Wx__Window_newFull, file);
18322         newXS("Wx::Window::Create", XS_Wx__Window_Create, file);
18323         newXS("Wx::Window::CaptureMouse", XS_Wx__Window_CaptureMouse, file);
18324         newXS("Wx::Window::Centre", XS_Wx__Window_Centre, file);
18325         newXS("Wx::Window::CentreOnParent", XS_Wx__Window_CentreOnParent, file);
18326 #if XSubPPtmpAAAB
18327         newXS("Wx::Window::CentreOnScreen", XS_Wx__Window_CentreOnScreen, file);
18328 #endif
18329 #if XSubPPtmpAAAC
18330         newXS("Wx::Window::CentreOnScreen", XS_Wx__Window_CentreOnScreen, file);
18331 #endif
18332 #if XSubPPtmpAAAD
18333         newXS("Wx::Window::ClearBackground", XS_Wx__Window_ClearBackground, file);
18334 #endif
18335 #if XSubPPtmpAAAE
18336         newXS("Wx::Window::Clear", XS_Wx__Window_Clear, file);
18337 #endif
18338         newXS("Wx::Window::ClientToScreen", XS_Wx__Window_ClientToScreen, file);
18339         newXS("Wx::Window::ClientToScreenPoint", XS_Wx__Window_ClientToScreenPoint, file);
18340         newXS("Wx::Window::ClientToScreenXY", XS_Wx__Window_ClientToScreenXY, file);
18341         newXS("Wx::Window::Close", XS_Wx__Window_Close, file);
18342         newXS("Wx::Window::ConvertDialogToPixels", XS_Wx__Window_ConvertDialogToPixels, file);
18343         newXS("Wx::Window::ConvertDialogPointToPixels", XS_Wx__Window_ConvertDialogPointToPixels, file);
18344         newXS("Wx::Window::ConvertDialogSizeToPixels", XS_Wx__Window_ConvertDialogSizeToPixels, file);
18345         newXS("Wx::Window::ConvertPixelsToDialog", XS_Wx__Window_ConvertPixelsToDialog, file);
18346         newXS("Wx::Window::ConvertPixelsPointToDialog", XS_Wx__Window_ConvertPixelsPointToDialog, file);
18347         newXS("Wx::Window::ConvertPixelsSizeToDialog", XS_Wx__Window_ConvertPixelsSizeToDialog, file);
18348         newXS("Wx::Window::Destroy", XS_Wx__Window_Destroy, file);
18349 #if XSubPPtmpAAAF
18350         newXS("Wx::Window::DragAcceptFiles", XS_Wx__Window_DragAcceptFiles, file);
18351 #endif
18352         newXS("Wx::Window::Enable", XS_Wx__Window_Enable, file);
18353         newXS("Wx::Window::Disable", XS_Wx__Window_Disable, file);
18354         newXS("Wx::Window::FindFocus", XS_Wx__Window_FindFocus, file);
18355         newXS("Wx::Window::FindWindow", XS_Wx__Window_FindWindow, file);
18356         newXS("Wx::Window::FindWindowById", XS_Wx__Window_FindWindowById, file);
18357         newXS("Wx::Window::FindWindowByName", XS_Wx__Window_FindWindowByName, file);
18358         newXS("Wx::Window::FindWindowByLabel", XS_Wx__Window_FindWindowByLabel, file);
18359         newXS("Wx::Window::Fit", XS_Wx__Window_Fit, file);
18360         newXS("Wx::Window::FitInside", XS_Wx__Window_FitInside, file);
18361         newXS("Wx::Window::Freeze", XS_Wx__Window_Freeze, file);
18362 #if XSubPPtmpAAAG
18363         newXS("Wx::Window::IsFrozen", XS_Wx__Window_IsFrozen, file);
18364 #endif
18365         newXS("Wx::Window::GetAcceleratorTable", XS_Wx__Window_GetAcceleratorTable, file);
18366 #if XSubPPtmpAAAH
18367         newXS("Wx::Window::GetBackgroundStyle", XS_Wx__Window_GetBackgroundStyle, file);
18368 #endif
18369         newXS("Wx::Window::GetBackgroundColour", XS_Wx__Window_GetBackgroundColour, file);
18370         newXS("Wx::Window::GetBestSize", XS_Wx__Window_GetBestSize, file);
18371         newXS("Wx::Window::GetCaret", XS_Wx__Window_GetCaret, file);
18372         newXS("Wx::Window::GetCharHeight", XS_Wx__Window_GetCharHeight, file);
18373         newXS("Wx::Window::GetCharWidth", XS_Wx__Window_GetCharWidth, file);
18374         newXS("Wx::Window::GetChildren", XS_Wx__Window_GetChildren, file);
18375         newXS("Wx::Window::GetClientSize", XS_Wx__Window_GetClientSize, file);
18376         newXS("Wx::Window::GetClientSizeXY", XS_Wx__Window_GetClientSizeXY, file);
18377         newXS("Wx::Window::GetContainingSizer", XS_Wx__Window_GetContainingSizer, file);
18378 #if XSubPPtmpAAAI
18379         newXS("Wx::Window::GetDropTarget", XS_Wx__Window_GetDropTarget, file);
18380 #endif
18381 #if XSubPPtmpAAAJ
18382         newXS("Wx::Window::GetDefaultItem", XS_Wx__Window_GetDefaultItem, file);
18383 #endif
18384         newXS("Wx::Window::GetEventHandler", XS_Wx__Window_GetEventHandler, file);
18385         newXS("Wx::Window::GetExtraStyle", XS_Wx__Window_GetExtraStyle, file);
18386         newXS("Wx::Window::GetFont", XS_Wx__Window_GetFont, file);
18387         newXS("Wx::Window::GetForegroundColour", XS_Wx__Window_GetForegroundColour, file);
18388         newXS("Wx::Window::GetGrandParent", XS_Wx__Window_GetGrandParent, file);
18389 #if XSubPPtmpAAAK
18390         newXS("Wx::Window::CreateWindowFromHWND", XS_Wx__Window_CreateWindowFromHWND, file);
18391 #endif
18392 #if XSubPPtmpAAAL
18393         newXS("Wx::Window::GetHandle", XS_Wx__Window_GetHandle, file);
18394 #endif
18395 #if XSubPPtmpAAAM
18396         newXS("Wx::Window::GetHandle", XS_Wx__Window_GetHandle, file);
18397 #endif
18398         newXS("Wx::Window::GetHelpText", XS_Wx__Window_GetHelpText, file);
18399         newXS("Wx::Window::GetId", XS_Wx__Window_GetId, file);
18400         newXS("Wx::Window::GetLabel", XS_Wx__Window_GetLabel, file);
18401         newXS("Wx::Window::GetConstraints", XS_Wx__Window_GetConstraints, file);
18402 #if XSubPPtmpAAAN
18403         newXS("Wx::Window::GetMinSize", XS_Wx__Window_GetMinSize, file);
18404         newXS("Wx::Window::GetMaxSize", XS_Wx__Window_GetMaxSize, file);
18405 #endif
18406         newXS("Wx::Window::GetName", XS_Wx__Window_GetName, file);
18407         newXS("Wx::Window::GetParent", XS_Wx__Window_GetParent, file);
18408         newXS("Wx::Window::GetPosition", XS_Wx__Window_GetPosition, file);
18409         newXS("Wx::Window::GetPositionXY", XS_Wx__Window_GetPositionXY, file);
18410         newXS("Wx::Window::GetRect", XS_Wx__Window_GetRect, file);
18411         newXS("Wx::Window::GetScrollThumb", XS_Wx__Window_GetScrollThumb, file);
18412         newXS("Wx::Window::GetScrollPos", XS_Wx__Window_GetScrollPos, file);
18413         newXS("Wx::Window::GetScrollRange", XS_Wx__Window_GetScrollRange, file);
18414         newXS("Wx::Window::GetSize", XS_Wx__Window_GetSize, file);
18415         newXS("Wx::Window::GetSizer", XS_Wx__Window_GetSizer, file);
18416         newXS("Wx::Window::GetSizeWH", XS_Wx__Window_GetSizeWH, file);
18417         newXS("Wx::Window::GetTextExtent", XS_Wx__Window_GetTextExtent, file);
18418 #if XSubPPtmpAAAO
18419         newXS("Wx::Window::GetTitle", XS_Wx__Window_GetTitle, file);
18420 #endif
18421 #if XSubPPtmpAAAP
18422         newXS("Wx::Window::GetTitle", XS_Wx__Window_GetTitle, file);
18423 #endif
18424 #if XSubPPtmpAAAQ
18425         newXS("Wx::Window::GetToolTip", XS_Wx__Window_GetToolTip, file);
18426 #endif
18427         newXS("Wx::Window::GetUpdateRegion", XS_Wx__Window_GetUpdateRegion, file);
18428         newXS("Wx::Window::GetValidator", XS_Wx__Window_GetValidator, file);
18429         newXS("Wx::Window::GetWindowStyleFlag", XS_Wx__Window_GetWindowStyleFlag, file);
18430 #if XSubPPtmpAAAR
18431         newXS("Wx::Window::GetWindowBorderSize", XS_Wx__Window_GetWindowBorderSize, file);
18432 #endif
18433 #if XSubPPtmpAAAS
18434         newXS("Wx::Window::InvalidateBestSize", XS_Wx__Window_InvalidateBestSize, file);
18435         newXS("Wx::Window::InheritAttributes", XS_Wx__Window_InheritAttributes, file);
18436 #endif
18437         newXS("Wx::Window::IsEnabled", XS_Wx__Window_IsEnabled, file);
18438 #if XSubPPtmpAAAT
18439         newXS("Wx::Window::IsThisEnabled", XS_Wx__Window_IsThisEnabled, file);
18440 #endif
18441         newXS("Wx::Window::IsExposed", XS_Wx__Window_IsExposed, file);
18442         newXS("Wx::Window::IsExposedXYWH", XS_Wx__Window_IsExposedXYWH, file);
18443         newXS("Wx::Window::IsExposedPoint", XS_Wx__Window_IsExposedPoint, file);
18444         newXS("Wx::Window::IsExposedRect", XS_Wx__Window_IsExposedRect, file);
18445         newXS("Wx::Window::IsRetained", XS_Wx__Window_IsRetained, file);
18446         newXS("Wx::Window::IsShown", XS_Wx__Window_IsShown, file);
18447         newXS("Wx::Window::IsTopLevel", XS_Wx__Window_IsTopLevel, file);
18448 #if XSubPPtmpAAAU
18449         newXS("Wx::Window::IsDoubleBuffered", XS_Wx__Window_IsDoubleBuffered, file);
18450         newXS("Wx::Window::IsShownOnScreen", XS_Wx__Window_IsShownOnScreen, file);
18451 #endif
18452         newXS("Wx::Window::Layout", XS_Wx__Window_Layout, file);
18453         newXS("Wx::Window::Lower", XS_Wx__Window_Lower, file);
18454         newXS("Wx::Window::MakeModal", XS_Wx__Window_MakeModal, file);
18455         newXS("Wx::Window::Move", XS_Wx__Window_Move, file);
18456         newXS("Wx::Window::MoveXY", XS_Wx__Window_MoveXY, file);
18457         newXS("Wx::Window::MovePoint", XS_Wx__Window_MovePoint, file);
18458 #if XSubPPtmpAAAV
18459         newXS("Wx::Window::MoveBeforeInTabOrder", XS_Wx__Window_MoveBeforeInTabOrder, file);
18460         newXS("Wx::Window::MoveAfterInTabOrder", XS_Wx__Window_MoveAfterInTabOrder, file);
18461 #endif
18462 #if XSubPPtmpAAAW
18463         newXS("Wx::Window::NavigateIn", XS_Wx__Window_NavigateIn, file);
18464         newXS("Wx::Window::Navigate", XS_Wx__Window_Navigate, file);
18465 #endif
18466         newXS("Wx::Window::PopEventHandler", XS_Wx__Window_PopEventHandler, file);
18467         newXS("Wx::Window::PopupMenu", XS_Wx__Window_PopupMenu, file);
18468         newXS("Wx::Window::PopupMenuPoint", XS_Wx__Window_PopupMenuPoint, file);
18469         newXS("Wx::Window::PopupMenuXY", XS_Wx__Window_PopupMenuXY, file);
18470         newXS("Wx::Window::PushEventHandler", XS_Wx__Window_PushEventHandler, file);
18471         newXS("Wx::Window::Raise", XS_Wx__Window_Raise, file);
18472         newXS("Wx::Window::Refresh", XS_Wx__Window_Refresh, file);
18473         newXS("Wx::Window::ReleaseMouse", XS_Wx__Window_ReleaseMouse, file);
18474         newXS("Wx::Window::RemoveEventHandler", XS_Wx__Window_RemoveEventHandler, file);
18475         newXS("Wx::Window::Reparent", XS_Wx__Window_Reparent, file);
18476         newXS("Wx::Window::ScreenToClient", XS_Wx__Window_ScreenToClient, file);
18477         newXS("Wx::Window::ScreenToClientPoint", XS_Wx__Window_ScreenToClientPoint, file);
18478         newXS("Wx::Window::ScreenToClientXY", XS_Wx__Window_ScreenToClientXY, file);
18479         newXS("Wx::Window::ScrollLines", XS_Wx__Window_ScrollLines, file);
18480         newXS("Wx::Window::ScrollPages", XS_Wx__Window_ScrollPages, file);
18481         newXS("Wx::Window::ScrollWindow", XS_Wx__Window_ScrollWindow, file);
18482         newXS("Wx::Window::SetAcceleratorTable", XS_Wx__Window_SetAcceleratorTable, file);
18483         newXS("Wx::Window::SetAutoLayout", XS_Wx__Window_SetAutoLayout, file);
18484 #if XSubPPtmpAAAX
18485         newXS("Wx::Window::SetThemeEnabled", XS_Wx__Window_SetThemeEnabled, file);
18486 #endif
18487 #if XSubPPtmpAAAY
18488         newXS("Wx::Window::SetBackgroundStyle", XS_Wx__Window_SetBackgroundStyle, file);
18489 #endif
18490 #if XSubPPtmpAAAZ
18491         newXS("Wx::Window::SetBestFittingSize", XS_Wx__Window_SetBestFittingSize, file);
18492 #endif
18493 #if XSubPPtmpAABA
18494         newXS("Wx::Window::SetInitialSize", XS_Wx__Window_SetInitialSize, file);
18495 #endif
18496         newXS("Wx::Window::SetCaret", XS_Wx__Window_SetCaret, file);
18497         newXS("Wx::Window::SetClientSize", XS_Wx__Window_SetClientSize, file);
18498         newXS("Wx::Window::SetClientSizeSize", XS_Wx__Window_SetClientSizeSize, file);
18499         newXS("Wx::Window::SetClientSizeWH", XS_Wx__Window_SetClientSizeWH, file);
18500         newXS("Wx::Window::SetConstraints", XS_Wx__Window_SetConstraints, file);
18501         newXS("Wx::Window::SetContainingSizer", XS_Wx__Window_SetContainingSizer, file);
18502 #if XSubPPtmpAABB
18503         newXS("Wx::Window::SetDefaultItem", XS_Wx__Window_SetDefaultItem, file);
18504 #endif
18505 #if XSubPPtmpAABC
18506         newXS("Wx::Window::SetDropTarget", XS_Wx__Window_SetDropTarget, file);
18507 #endif
18508         newXS("Wx::Window::SetEventHandler", XS_Wx__Window_SetEventHandler, file);
18509         newXS("Wx::Window::SetExtraStyle", XS_Wx__Window_SetExtraStyle, file);
18510         newXS("Wx::Window::SetFocus", XS_Wx__Window_SetFocus, file);
18511         newXS("Wx::Window::SetHelpText", XS_Wx__Window_SetHelpText, file);
18512 #if XSubPPtmpAABD
18513         newXS("Wx::Window::SetHelpTextForId", XS_Wx__Window_SetHelpTextForId, file);
18514 #endif
18515         newXS("Wx::Window::SetId", XS_Wx__Window_SetId, file);
18516         newXS("Wx::Window::SetLabel", XS_Wx__Window_SetLabel, file);
18517         newXS("Wx::Window::SetName", XS_Wx__Window_SetName, file);
18518         newXS("Wx::Window::SetScrollbar", XS_Wx__Window_SetScrollbar, file);
18519         newXS("Wx::Window::SetScrollPos", XS_Wx__Window_SetScrollPos, file);
18520 #if XSubPPtmpAABE
18521         newXS("Wx::Window::SetMinSize", XS_Wx__Window_SetMinSize, file);
18522         newXS("Wx::Window::SetMaxSize", XS_Wx__Window_SetMaxSize, file);
18523 #endif
18524         newXS("Wx::Window::SetSize", XS_Wx__Window_SetSize, file);
18525         newXS("Wx::Window::SetSizeSize", XS_Wx__Window_SetSizeSize, file);
18526         newXS("Wx::Window::SetSizeRect", XS_Wx__Window_SetSizeRect, file);
18527         newXS("Wx::Window::SetSizeWH", XS_Wx__Window_SetSizeWH, file);
18528         newXS("Wx::Window::SetSizeXYWHF", XS_Wx__Window_SetSizeXYWHF, file);
18529         newXS("Wx::Window::SetSizeHints", XS_Wx__Window_SetSizeHints, file);
18530 #if XSubPPtmpAABF
18531         newXS("Wx::Window::SetVirtualSizeHints", XS_Wx__Window_SetVirtualSizeHints, file);
18532 #endif
18533         newXS("Wx::Window::SetVirtualSize", XS_Wx__Window_SetVirtualSize, file);
18534         newXS("Wx::Window::SetVirtualSizeXY", XS_Wx__Window_SetVirtualSizeXY, file);
18535         newXS("Wx::Window::SetVirtualSizeSize", XS_Wx__Window_SetVirtualSizeSize, file);
18536         newXS("Wx::Window::SetSizer", XS_Wx__Window_SetSizer, file);
18537         newXS("Wx::Window::SetSizerAndFit", XS_Wx__Window_SetSizerAndFit, file);
18538 #if XSubPPtmpAABG
18539         newXS("Wx::Window::SetTitle", XS_Wx__Window_SetTitle, file);
18540 #endif
18541 #if XSubPPtmpAABH
18542         newXS("Wx::Window::SetTitle", XS_Wx__Window_SetTitle, file);
18543 #endif
18544 #if XSubPPtmpAABI
18545         newXS("Wx::Window::SetToolTip", XS_Wx__Window_SetToolTip, file);
18546         newXS("Wx::Window::SetToolTipTip", XS_Wx__Window_SetToolTipTip, file);
18547 #endif
18548 #if XSubPPtmpAABJ
18549         newXS("Wx::Window::SetToolTipString", XS_Wx__Window_SetToolTipString, file);
18550 #endif
18551         newXS("Wx::Window::SetValidator", XS_Wx__Window_SetValidator, file);
18552         newXS("Wx::Window::SetWindowStyle", XS_Wx__Window_SetWindowStyle, file);
18553         newXS("Wx::Window::SetWindowStyleFlag", XS_Wx__Window_SetWindowStyleFlag, file);
18554 #if XSubPPtmpAABK
18555         newXS("Wx::Window::ShouldInheritColours", XS_Wx__Window_ShouldInheritColours, file);
18556 #endif
18557         newXS("Wx::Window::Show", XS_Wx__Window_Show, file);
18558 #if XSubPPtmpAABL
18559         newXS("Wx::Window::HasMultiplePages", XS_Wx__Window_HasMultiplePages, file);
18560 #endif
18561         newXS("Wx::Window::Hide", XS_Wx__Window_Hide, file);
18562         newXS("Wx::Window::Thaw", XS_Wx__Window_Thaw, file);
18563         newXS("Wx::Window::TransferDataFromWindow", XS_Wx__Window_TransferDataFromWindow, file);
18564         newXS("Wx::Window::TransferDataToWindow", XS_Wx__Window_TransferDataToWindow, file);
18565         newXS("Wx::Window::Validate", XS_Wx__Window_Validate, file);
18566         newXS("Wx::Window::Update", XS_Wx__Window_Update, file);
18567 #if XSubPPtmpAABM
18568         newXS("Wx::Window::UpdateWindowUI", XS_Wx__Window_UpdateWindowUI, file);
18569 #endif
18570         newXS("Wx::Window::RefreshRect", XS_Wx__Window_RefreshRect, file);
18571         newXS("Wx::Window::WarpPointer", XS_Wx__Window_WarpPointer, file);
18572 #if XSubPPtmpAABN
18573         newXS("Wx::Window::GetLayoutDirection", XS_Wx__Window_GetLayoutDirection, file);
18574         newXS("Wx::Window::SetLayoutDirection", XS_Wx__Window_SetLayoutDirection, file);
18575         newXS("Wx::Window::SetTransparent", XS_Wx__Window_SetTransparent, file);
18576         newXS("Wx::Window::CanSetTransparent", XS_Wx__Window_CanSetTransparent, file);
18577 #endif
18578 #if XSubPPtmpAABO
18579         newXS("Wx::Window::AlwaysShowScrollbars", XS_Wx__Window_AlwaysShowScrollbars, file);
18580 #endif
18581         newXS("Wx::Window::AcceptsFocus", XS_Wx__Window_AcceptsFocus, file);
18582         newXS("Wx::Window::AcceptsFocusFromKeyboard", XS_Wx__Window_AcceptsFocusFromKeyboard, file);
18583         newXS("Wx::Window::DestroyChildren", XS_Wx__Window_DestroyChildren, file);
18584         newXS("Wx::Window::IsBeingDeleted", XS_Wx__Window_IsBeingDeleted, file);
18585 #if XSubPPtmpAABP
18586         newXS("Wx::Window::GetPopupMenuSelectionFromUser", XS_Wx__Window_GetPopupMenuSelectionFromUser, file);
18587         newXS("Wx::Window::GetPopupMenuSelectionFromUserPoint", XS_Wx__Window_GetPopupMenuSelectionFromUserPoint, file);
18588         newXS("Wx::Window::GetPopupMenuSelectionFromUserXY", XS_Wx__Window_GetPopupMenuSelectionFromUserXY, file);
18589 #endif
18590 #if XSubPPtmpAABQ
18591         newXS("Wx::Window::GetAdjustedBestSize", XS_Wx__Window_GetAdjustedBestSize, file);
18592 #endif
18593 #if XSubPPtmpAABR
18594         newXS("Wx::Window::GetEffectiveMinSize", XS_Wx__Window_GetEffectiveMinSize, file);
18595 #endif
18596         newXS("Wx::Window::GetCursor", XS_Wx__Window_GetCursor, file);
18597 #if XSubPPtmpAABS
18598         newXS("Wx::Window::GetPrevSibling", XS_Wx__Window_GetPrevSibling, file);
18599         newXS("Wx::Window::GetNextSibling", XS_Wx__Window_GetNextSibling, file);
18600 #endif
18601         newXS("Wx::Window::GetVirtualSize", XS_Wx__Window_GetVirtualSize, file);
18602         newXS("Wx::Window::GetVirtualSizeWH", XS_Wx__Window_GetVirtualSizeWH, file);
18603 #if XSubPPtmpAABT
18604         newXS("Wx::Window::GetScreenPosition", XS_Wx__Window_GetScreenPosition, file);
18605         newXS("Wx::Window::GetScreenPositionXY", XS_Wx__Window_GetScreenPositionXY, file);
18606         newXS("Wx::Window::GetScreenRect", XS_Wx__Window_GetScreenRect, file);
18607 #endif
18608         newXS("Wx::Window::HasFlag", XS_Wx__Window_HasFlag, file);
18609 #if XSubPPtmpAABU
18610         newXS("Wx::Window::HasExtraStyle", XS_Wx__Window_HasExtraStyle, file);
18611 #endif
18612         newXS("Wx::Window::HasCapture", XS_Wx__Window_HasCapture, file);
18613 #if XSubPPtmpAABV
18614         newXS("Wx::Window::HasTransparentBackground", XS_Wx__Window_HasTransparentBackground, file);
18615 #endif
18616         newXS("Wx::Window::HasScrollbar", XS_Wx__Window_HasScrollbar, file);
18617 #if XSubPPtmpAABW
18618         newXS("Wx::Window::IsScrollbarAlwaysShown", XS_Wx__Window_IsScrollbarAlwaysShown, file);
18619 #endif
18620         newXS("Wx::Window::LineUp", XS_Wx__Window_LineUp, file);
18621         newXS("Wx::Window::LineDown", XS_Wx__Window_LineDown, file);
18622         newXS("Wx::Window::PageUp", XS_Wx__Window_PageUp, file);
18623         newXS("Wx::Window::PageDown", XS_Wx__Window_PageDown, file);
18624         newXS("Wx::Window::SetBackgroundColour", XS_Wx__Window_SetBackgroundColour, file);
18625         newXS("Wx::Window::SetOwnBackgroundColour", XS_Wx__Window_SetOwnBackgroundColour, file);
18626 #if XSubPPtmpAABX
18627         newXS("Wx::Window::SetCanFocus", XS_Wx__Window_SetCanFocus, file);
18628 #endif
18629         newXS("Wx::Window::SetForegroundColour", XS_Wx__Window_SetForegroundColour, file);
18630         newXS("Wx::Window::SetOwnForegroundColour", XS_Wx__Window_SetOwnForegroundColour, file);
18631         newXS("Wx::Window::SetFont", XS_Wx__Window_SetFont, file);
18632         newXS("Wx::Window::SetCursor", XS_Wx__Window_SetCursor, file);
18633         newXS("Wx::Window::SetOwnFont", XS_Wx__Window_SetOwnFont, file);
18634         newXS("Wx::Window::GetWindowVariant", XS_Wx__Window_GetWindowVariant, file);
18635         newXS("Wx::Window::SetWindowVariant", XS_Wx__Window_SetWindowVariant, file);
18636 #if XSubPPtmpAABY
18637         newXS("Wx::Window::ToggleWindowStyle", XS_Wx__Window_ToggleWindowStyle, file);
18638 #endif
18639 #if XSubPPtmpAABZ
18640         newXS("Wx::EventBlocker::new", XS_Wx__EventBlocker_new, file);
18641         newXS("Wx::EventBlocker::CLONE", XS_Wx__EventBlocker_CLONE, file);
18642         newXS("Wx::EventBlocker::DESTROY", XS_Wx__EventBlocker_DESTROY, file);
18643         newXS("Wx::EventBlocker::Block", XS_Wx__EventBlocker_Block, file);
18644 #endif
18645 #if XSubPPtmpAACA
18646         newXS("Wx::WindowUpdateLocker::new", XS_Wx__WindowUpdateLocker_new, file);
18647         newXS("Wx::WindowUpdateLocker::CLONE", XS_Wx__WindowUpdateLocker_CLONE, file);
18648         newXS("Wx::WindowUpdateLocker::DESTROY", XS_Wx__WindowUpdateLocker_DESTROY, file);
18649 #endif
18650         newXS("Wx::AcceleratorEntry::new", XS_Wx__AcceleratorEntry_new, file);
18651 #if XSubPPtmpAACB
18652         newXS("Wx::AcceleratorEntry::Create", XS_Wx__AcceleratorEntry_Create, file);
18653 #endif
18654         newXS("Wx::AcceleratorEntry::CLONE", XS_Wx__AcceleratorEntry_CLONE, file);
18655         newXS("Wx::AcceleratorEntry::DESTROY", XS_Wx__AcceleratorEntry_DESTROY, file);
18656         newXS("Wx::AcceleratorEntry::GetCommand", XS_Wx__AcceleratorEntry_GetCommand, file);
18657         newXS("Wx::AcceleratorEntry::GetFlags", XS_Wx__AcceleratorEntry_GetFlags, file);
18658         newXS("Wx::AcceleratorEntry::GetKeyCode", XS_Wx__AcceleratorEntry_GetKeyCode, file);
18659         newXS("Wx::AcceleratorEntry::Set", XS_Wx__AcceleratorEntry_Set, file);
18660         newXS("Wx::AcceleratorTable::new", XS_Wx__AcceleratorTable_new, file);
18661         newXS("Wx::AcceleratorTable::CLONE", XS_Wx__AcceleratorTable_CLONE, file);
18662         newXS("Wx::AcceleratorTable::DESTROY", XS_Wx__AcceleratorTable_DESTROY, file);
18663         newXS("Wx::AcceleratorTable::Ok", XS_Wx__AcceleratorTable_Ok, file);
18664 #if XSubPPtmpAACC
18665         newXS("Wx::AcceleratorTable::IsOk", XS_Wx__AcceleratorTable_IsOk, file);
18666 #endif
18667         newXS("Wx::PlWindow::newDefault", XS_Wx__PlWindow_newDefault, file);
18668         newXS("Wx::PlWindow::newFull", XS_Wx__PlWindow_newFull, file);
18669         newXS("Wx::PlWindow::Create", XS_Wx__PlWindow_Create, file);
18670         newXS("Wx::PlWindow::DoGetBestSize", XS_Wx__PlWindow_DoGetBestSize, file);
18671         newXS("Wx::PlWindow::DoMoveWindow", XS_Wx__PlWindow_DoMoveWindow, file);
18672         newXS("Wx::PlWindow::Enable", XS_Wx__PlWindow_Enable, file);
18673         newXS("Wx::PlWindow::AcceptsFocus", XS_Wx__PlWindow_AcceptsFocus, file);
18674 #if XSubPPtmpAACD
18675         newXS("Wx::PlWindow::AcceptsFocusRecursively", XS_Wx__PlWindow_AcceptsFocusRecursively, file);
18676 #endif
18677         newXS("Wx::PlWindow::AcceptsFocusFromKeyboard", XS_Wx__PlWindow_AcceptsFocusFromKeyboard, file);
18678 #if XSubPPtmpAACE
18679         newXS("Wx::PlWindow::GetMaxSize", XS_Wx__PlWindow_GetMaxSize, file);
18680         newXS("Wx::PlWindow::GetMinSize", XS_Wx__PlWindow_GetMinSize, file);
18681 #endif
18682         newXS("Wx::PlWindow::new", XS_Wx__PlWindow_new, file);
18683         newXS("Wx::SplitterEvent::new", XS_Wx__SplitterEvent_new, file);
18684         newXS("Wx::SplitterEvent::GetSashPosition", XS_Wx__SplitterEvent_GetSashPosition, file);
18685         newXS("Wx::SplitterEvent::GetX", XS_Wx__SplitterEvent_GetX, file);
18686         newXS("Wx::SplitterEvent::GetY", XS_Wx__SplitterEvent_GetY, file);
18687         newXS("Wx::SplitterEvent::GetWindowBeingRemoved", XS_Wx__SplitterEvent_GetWindowBeingRemoved, file);
18688         newXS("Wx::SplitterEvent::SetSashPosition", XS_Wx__SplitterEvent_SetSashPosition, file);
18689         newXS("Wx::SplitterWindow::newDefault", XS_Wx__SplitterWindow_newDefault, file);
18690         newXS("Wx::SplitterWindow::newFull", XS_Wx__SplitterWindow_newFull, file);
18691         newXS("Wx::SplitterWindow::Create", XS_Wx__SplitterWindow_Create, file);
18692         newXS("Wx::SplitterWindow::GetMinimumPaneSize", XS_Wx__SplitterWindow_GetMinimumPaneSize, file);
18693         newXS("Wx::SplitterWindow::GetSashPosition", XS_Wx__SplitterWindow_GetSashPosition, file);
18694         newXS("Wx::SplitterWindow::GetSplitMode", XS_Wx__SplitterWindow_GetSplitMode, file);
18695         newXS("Wx::SplitterWindow::GetWindow1", XS_Wx__SplitterWindow_GetWindow1, file);
18696         newXS("Wx::SplitterWindow::GetWindow2", XS_Wx__SplitterWindow_GetWindow2, file);
18697         newXS("Wx::SplitterWindow::Initialize", XS_Wx__SplitterWindow_Initialize, file);
18698         newXS("Wx::SplitterWindow::IsSplit", XS_Wx__SplitterWindow_IsSplit, file);
18699         newXS("Wx::SplitterWindow::ReplaceWindow", XS_Wx__SplitterWindow_ReplaceWindow, file);
18700 #if XSubPPtmpAACF
18701         newXS("Wx::SplitterWindow::SetFocusIgnoringChildren", XS_Wx__SplitterWindow_SetFocusIgnoringChildren, file);
18702 #endif
18703         newXS("Wx::SplitterWindow::SetSashPosition", XS_Wx__SplitterWindow_SetSashPosition, file);
18704         newXS("Wx::SplitterWindow::SetMinimumPaneSize", XS_Wx__SplitterWindow_SetMinimumPaneSize, file);
18705         newXS("Wx::SplitterWindow::SetSplitMode", XS_Wx__SplitterWindow_SetSplitMode, file);
18706         newXS("Wx::SplitterWindow::SplitHorizontally", XS_Wx__SplitterWindow_SplitHorizontally, file);
18707         newXS("Wx::SplitterWindow::SplitVertically", XS_Wx__SplitterWindow_SplitVertically, file);
18708         newXS("Wx::SplitterWindow::Unsplit", XS_Wx__SplitterWindow_Unsplit, file);
18709 #if XSubPPtmpAACG
18710         newXS("Wx::SplitterWindow::SetSashGravity", XS_Wx__SplitterWindow_SetSashGravity, file);
18711         newXS("Wx::SplitterWindow::GetSashGravity", XS_Wx__SplitterWindow_GetSashGravity, file);
18712 #endif
18713 #if XSubPPtmpAACH
18714         newXS("Wx::SplitterWindow::GetSashSize", XS_Wx__SplitterWindow_GetSashSize, file);
18715         newXS("Wx::SplitterWindow::SetSashSize", XS_Wx__SplitterWindow_SetSashSize, file);
18716 #endif
18717         newXS("Wx::SplitterWindow::new", XS_Wx__SplitterWindow_new, file);
18718 #if XSubPPtmpAACI
18719         newXS("Wx::HScrolledWindow::Create", XS_Wx__HScrolledWindow_Create, file);
18720         newXS("Wx::HScrolledWindow::EnablePhysicalScrolling", XS_Wx__HScrolledWindow_EnablePhysicalScrolling, file);
18721         newXS("Wx::HScrolledWindow::VirtualHitTest", XS_Wx__HScrolledWindow_VirtualHitTest, file);
18722         newXS("Wx::HScrolledWindow::RefreshAll", XS_Wx__HScrolledWindow_RefreshAll, file);
18723         newXS("Wx::HScrolledWindow::GetVisibleBegin", XS_Wx__HScrolledWindow_GetVisibleBegin, file);
18724         newXS("Wx::HScrolledWindow::GetVisibleEnd", XS_Wx__HScrolledWindow_GetVisibleEnd, file);
18725         newXS("Wx::HScrolledWindow::IsVisible", XS_Wx__HScrolledWindow_IsVisible, file);
18726         newXS("Wx::HScrolledWindow::CalcScrolledPosition", XS_Wx__HScrolledWindow_CalcScrolledPosition, file);
18727         newXS("Wx::HScrolledWindow::CalcUnscrolledPosition", XS_Wx__HScrolledWindow_CalcUnscrolledPosition, file);
18728         newXS("Wx::HScrolledWindow::UpdateScrollbar", XS_Wx__HScrolledWindow_UpdateScrollbar, file);
18729         newXS("Wx::HScrolledWindow::RemoveScrollbar", XS_Wx__HScrolledWindow_RemoveScrollbar, file);
18730         newXS("Wx::HScrolledWindow::SetTargetWindow", XS_Wx__HScrolledWindow_SetTargetWindow, file);
18731         newXS("Wx::HScrolledWindow::GetTargetWindow", XS_Wx__HScrolledWindow_GetTargetWindow, file);
18732         newXS("Wx::HScrolledWindow::SetColumnCount", XS_Wx__HScrolledWindow_SetColumnCount, file);
18733         newXS("Wx::HScrolledWindow::ScrollToColumn", XS_Wx__HScrolledWindow_ScrollToColumn, file);
18734         newXS("Wx::HScrolledWindow::ScrollColumns", XS_Wx__HScrolledWindow_ScrollColumns, file);
18735         newXS("Wx::HScrolledWindow::ScrollColumnPages", XS_Wx__HScrolledWindow_ScrollColumnPages, file);
18736         newXS("Wx::HScrolledWindow::RefreshColumn", XS_Wx__HScrolledWindow_RefreshColumn, file);
18737         newXS("Wx::HScrolledWindow::RefreshColumns", XS_Wx__HScrolledWindow_RefreshColumns, file);
18738         newXS("Wx::HScrolledWindow::GetColumnCount", XS_Wx__HScrolledWindow_GetColumnCount, file);
18739         newXS("Wx::HScrolledWindow::GetVisibleColumnsBegin", XS_Wx__HScrolledWindow_GetVisibleColumnsBegin, file);
18740         newXS("Wx::HScrolledWindow::GetVisibleColumnsEnd", XS_Wx__HScrolledWindow_GetVisibleColumnsEnd, file);
18741         newXS("Wx::HScrolledWindow::IsColumnVisible", XS_Wx__HScrolledWindow_IsColumnVisible, file);
18742 #endif
18743 #if XSubPPtmpAACJ
18744         newXS("Wx::VScrolledWindow::Create", XS_Wx__VScrolledWindow_Create, file);
18745 #if XSubPPtmpAACK
18746         newXS("Wx::VScrolledWindow::SetLineCount", XS_Wx__VScrolledWindow_SetLineCount, file);
18747         newXS("Wx::VScrolledWindow::ScrollToLine", XS_Wx__VScrolledWindow_ScrollToLine, file);
18748         newXS("Wx::VScrolledWindow::RefreshLine", XS_Wx__VScrolledWindow_RefreshLine, file);
18749         newXS("Wx::VScrolledWindow::RefreshLines", XS_Wx__VScrolledWindow_RefreshLines, file);
18750         newXS("Wx::VScrolledWindow::GetLineCount", XS_Wx__VScrolledWindow_GetLineCount, file);
18751         newXS("Wx::VScrolledWindow::GetFirstVisibleLine", XS_Wx__VScrolledWindow_GetFirstVisibleLine, file);
18752         newXS("Wx::VScrolledWindow::GetLastVisibleLine", XS_Wx__VScrolledWindow_GetLastVisibleLine, file);
18753         newXS("Wx::VScrolledWindow::ScrollLines", XS_Wx__VScrolledWindow_ScrollLines, file);
18754         newXS("Wx::VScrolledWindow::ScrollPages", XS_Wx__VScrolledWindow_ScrollPages, file);
18755         newXS("Wx::VScrolledWindow::EnablePhysicalScrolling", XS_Wx__VScrolledWindow_EnablePhysicalScrolling, file);
18756         newXS("Wx::VScrolledWindow::VirtualHitTest", XS_Wx__VScrolledWindow_VirtualHitTest, file);
18757         newXS("Wx::VScrolledWindow::RefreshAll", XS_Wx__VScrolledWindow_RefreshAll, file);
18758         newXS("Wx::VScrolledWindow::GetVisibleBegin", XS_Wx__VScrolledWindow_GetVisibleBegin, file);
18759         newXS("Wx::VScrolledWindow::GetVisibleEnd", XS_Wx__VScrolledWindow_GetVisibleEnd, file);
18760         newXS("Wx::VScrolledWindow::IsVisible", XS_Wx__VScrolledWindow_IsVisible, file);
18761         newXS("Wx::VScrolledWindow::CalcScrolledPosition", XS_Wx__VScrolledWindow_CalcScrolledPosition, file);
18762         newXS("Wx::VScrolledWindow::CalcUnscrolledPosition", XS_Wx__VScrolledWindow_CalcUnscrolledPosition, file);
18763         newXS("Wx::VScrolledWindow::UpdateScrollbar", XS_Wx__VScrolledWindow_UpdateScrollbar, file);
18764         newXS("Wx::VScrolledWindow::RemoveScrollbar", XS_Wx__VScrolledWindow_RemoveScrollbar, file);
18765         newXS("Wx::VScrolledWindow::SetTargetWindow", XS_Wx__VScrolledWindow_SetTargetWindow, file);
18766         newXS("Wx::VScrolledWindow::GetTargetWindow", XS_Wx__VScrolledWindow_GetTargetWindow, file);
18767         newXS("Wx::VScrolledWindow::SetRowCount", XS_Wx__VScrolledWindow_SetRowCount, file);
18768         newXS("Wx::VScrolledWindow::ScrollToRow", XS_Wx__VScrolledWindow_ScrollToRow, file);
18769         newXS("Wx::VScrolledWindow::RefreshRow", XS_Wx__VScrolledWindow_RefreshRow, file);
18770         newXS("Wx::VScrolledWindow::RefreshRows", XS_Wx__VScrolledWindow_RefreshRows, file);
18771         newXS("Wx::VScrolledWindow::GetRowCount", XS_Wx__VScrolledWindow_GetRowCount, file);
18772         newXS("Wx::VScrolledWindow::GetVisibleRowsBegin", XS_Wx__VScrolledWindow_GetVisibleRowsBegin, file);
18773         newXS("Wx::VScrolledWindow::GetVisibleRowsEnd", XS_Wx__VScrolledWindow_GetVisibleRowsEnd, file);
18774         newXS("Wx::VScrolledWindow::ScrollRows", XS_Wx__VScrolledWindow_ScrollRows, file);
18775         newXS("Wx::VScrolledWindow::ScrollRowPages", XS_Wx__VScrolledWindow_ScrollRowPages, file);
18776         newXS("Wx::VScrolledWindow::IsRowVisible", XS_Wx__VScrolledWindow_IsRowVisible, file);
18777 #endif
18778 #if XSubPPtmpAACL
18779         newXS("Wx::VScrolledWindow::SetLineCount", XS_Wx__VScrolledWindow_SetLineCount, file);
18780         newXS("Wx::VScrolledWindow::ScrollToLine", XS_Wx__VScrolledWindow_ScrollToLine, file);
18781         newXS("Wx::VScrolledWindow::RefreshLine", XS_Wx__VScrolledWindow_RefreshLine, file);
18782         newXS("Wx::VScrolledWindow::RefreshLines", XS_Wx__VScrolledWindow_RefreshLines, file);
18783         newXS("Wx::VScrolledWindow::GetLineCount", XS_Wx__VScrolledWindow_GetLineCount, file);
18784         newXS("Wx::VScrolledWindow::GetFirstVisibleLine", XS_Wx__VScrolledWindow_GetFirstVisibleLine, file);
18785         newXS("Wx::VScrolledWindow::GetLastVisibleLine", XS_Wx__VScrolledWindow_GetLastVisibleLine, file);
18786         newXS("Wx::VScrolledWindow::ScrollLines", XS_Wx__VScrolledWindow_ScrollLines, file);
18787         newXS("Wx::VScrolledWindow::ScrollPages", XS_Wx__VScrolledWindow_ScrollPages, file);
18788         newXS("Wx::VScrolledWindow::SetRowCount", XS_Wx__VScrolledWindow_SetRowCount, file);
18789         newXS("Wx::VScrolledWindow::ScrollToRow", XS_Wx__VScrolledWindow_ScrollToRow, file);
18790         newXS("Wx::VScrolledWindow::RefreshRow", XS_Wx__VScrolledWindow_RefreshRow, file);
18791         newXS("Wx::VScrolledWindow::RefreshRows", XS_Wx__VScrolledWindow_RefreshRows, file);
18792         newXS("Wx::VScrolledWindow::GetRowCount", XS_Wx__VScrolledWindow_GetRowCount, file);
18793         newXS("Wx::VScrolledWindow::GetVisibleRowsBegin", XS_Wx__VScrolledWindow_GetVisibleRowsBegin, file);
18794         newXS("Wx::VScrolledWindow::GetVisibleRowsEnd", XS_Wx__VScrolledWindow_GetVisibleRowsEnd, file);
18795         newXS("Wx::VScrolledWindow::ScrollRows", XS_Wx__VScrolledWindow_ScrollRows, file);
18796         newXS("Wx::VScrolledWindow::ScrollRowPages", XS_Wx__VScrolledWindow_ScrollRowPages, file);
18797         newXS("Wx::VScrolledWindow::RefreshAll", XS_Wx__VScrolledWindow_RefreshAll, file);
18798 #if XSubPPtmpAACM
18799         newXS("Wx::VScrolledWindow::GetVisibleBegin", XS_Wx__VScrolledWindow_GetVisibleBegin, file);
18800         newXS("Wx::VScrolledWindow::GetVisibleEnd", XS_Wx__VScrolledWindow_GetVisibleEnd, file);
18801 #endif
18802         newXS("Wx::VScrolledWindow::IsVisible", XS_Wx__VScrolledWindow_IsVisible, file);
18803         newXS("Wx::VScrolledWindow::IsRowVisible", XS_Wx__VScrolledWindow_IsRowVisible, file);
18804 #endif
18805         newXS("Wx::VScrolledWindow::HitTest", XS_Wx__VScrolledWindow_HitTest, file);
18806         newXS("Wx::VScrolledWindow::Layout", XS_Wx__VScrolledWindow_Layout, file);
18807 #if XSubPPtmpAACN
18808         newXS("Wx::HVScrolledWindow::Create", XS_Wx__HVScrolledWindow_Create, file);
18809         newXS("Wx::HVScrolledWindow::SetColumnCount", XS_Wx__HVScrolledWindow_SetColumnCount, file);
18810         newXS("Wx::HVScrolledWindow::ScrollToColumn", XS_Wx__HVScrolledWindow_ScrollToColumn, file);
18811         newXS("Wx::HVScrolledWindow::ScrollColumns", XS_Wx__HVScrolledWindow_ScrollColumns, file);
18812         newXS("Wx::HVScrolledWindow::ScrollColumnPages", XS_Wx__HVScrolledWindow_ScrollColumnPages, file);
18813         newXS("Wx::HVScrolledWindow::RefreshColumn", XS_Wx__HVScrolledWindow_RefreshColumn, file);
18814         newXS("Wx::HVScrolledWindow::RefreshColumns", XS_Wx__HVScrolledWindow_RefreshColumns, file);
18815         newXS("Wx::HVScrolledWindow::GetColumnCount", XS_Wx__HVScrolledWindow_GetColumnCount, file);
18816         newXS("Wx::HVScrolledWindow::GetVisibleColumnsBegin", XS_Wx__HVScrolledWindow_GetVisibleColumnsBegin, file);
18817         newXS("Wx::HVScrolledWindow::GetVisibleColumnsEnd", XS_Wx__HVScrolledWindow_GetVisibleColumnsEnd, file);
18818         newXS("Wx::HVScrolledWindow::IsColumnVisible", XS_Wx__HVScrolledWindow_IsColumnVisible, file);
18819         newXS("Wx::HVScrolledWindow::SetRowCount", XS_Wx__HVScrolledWindow_SetRowCount, file);
18820         newXS("Wx::HVScrolledWindow::ScrollToRow", XS_Wx__HVScrolledWindow_ScrollToRow, file);
18821         newXS("Wx::HVScrolledWindow::RefreshRow", XS_Wx__HVScrolledWindow_RefreshRow, file);
18822         newXS("Wx::HVScrolledWindow::RefreshRows", XS_Wx__HVScrolledWindow_RefreshRows, file);
18823         newXS("Wx::HVScrolledWindow::GetRowCount", XS_Wx__HVScrolledWindow_GetRowCount, file);
18824         newXS("Wx::HVScrolledWindow::GetVisibleRowsBegin", XS_Wx__HVScrolledWindow_GetVisibleRowsBegin, file);
18825         newXS("Wx::HVScrolledWindow::GetVisibleRowsEnd", XS_Wx__HVScrolledWindow_GetVisibleRowsEnd, file);
18826         newXS("Wx::HVScrolledWindow::ScrollRows", XS_Wx__HVScrolledWindow_ScrollRows, file);
18827         newXS("Wx::HVScrolledWindow::ScrollRowPages", XS_Wx__HVScrolledWindow_ScrollRowPages, file);
18828         newXS("Wx::HVScrolledWindow::IsRowVisible", XS_Wx__HVScrolledWindow_IsRowVisible, file);
18829         newXS("Wx::HVScrolledWindow::SetRowColumnCount", XS_Wx__HVScrolledWindow_SetRowColumnCount, file);
18830         newXS("Wx::HVScrolledWindow::EnablePhysicalScrolling", XS_Wx__HVScrolledWindow_EnablePhysicalScrolling, file);
18831         newXS("Wx::HVScrolledWindow::ScrollToRowColumn", XS_Wx__HVScrolledWindow_ScrollToRowColumn, file);
18832         newXS("Wx::HVScrolledWindow::ScrollToRowColumnRC", XS_Wx__HVScrolledWindow_ScrollToRowColumnRC, file);
18833         newXS("Wx::HVScrolledWindow::ScrollToRowColumnPosition", XS_Wx__HVScrolledWindow_ScrollToRowColumnPosition, file);
18834         newXS("Wx::HVScrolledWindow::RefreshRowColumn", XS_Wx__HVScrolledWindow_RefreshRowColumn, file);
18835         newXS("Wx::HVScrolledWindow::RefreshRowColumnRC", XS_Wx__HVScrolledWindow_RefreshRowColumnRC, file);
18836         newXS("Wx::HVScrolledWindow::RefreshRowColumnPosition", XS_Wx__HVScrolledWindow_RefreshRowColumnPosition, file);
18837         newXS("Wx::HVScrolledWindow::RefreshRowsColumns", XS_Wx__HVScrolledWindow_RefreshRowsColumns, file);
18838         newXS("Wx::HVScrolledWindow::RefreshRowsColumnsRC", XS_Wx__HVScrolledWindow_RefreshRowsColumnsRC, file);
18839         newXS("Wx::HVScrolledWindow::RefreshRowsColumnsPosition", XS_Wx__HVScrolledWindow_RefreshRowsColumnsPosition, file);
18840         newXS("Wx::HVScrolledWindow::VirtualHitTest", XS_Wx__HVScrolledWindow_VirtualHitTest, file);
18841         newXS("Wx::HVScrolledWindow::VirtualHitTestXY", XS_Wx__HVScrolledWindow_VirtualHitTestXY, file);
18842         newXS("Wx::HVScrolledWindow::VirtualHitTestPoint", XS_Wx__HVScrolledWindow_VirtualHitTestPoint, file);
18843         newXS("Wx::HVScrolledWindow::GetRowColumnCount", XS_Wx__HVScrolledWindow_GetRowColumnCount, file);
18844         newXS("Wx::HVScrolledWindow::GetVisibleBegin", XS_Wx__HVScrolledWindow_GetVisibleBegin, file);
18845         newXS("Wx::HVScrolledWindow::GetVisibleEnd", XS_Wx__HVScrolledWindow_GetVisibleEnd, file);
18846         newXS("Wx::HVScrolledWindow::IsVisible", XS_Wx__HVScrolledWindow_IsVisible, file);
18847         newXS("Wx::HVScrolledWindow::IsVisibleRC", XS_Wx__HVScrolledWindow_IsVisibleRC, file);
18848         newXS("Wx::HVScrolledWindow::IsVisiblePosition", XS_Wx__HVScrolledWindow_IsVisiblePosition, file);
18849 #endif
18850 #if XSubPPtmpAACO
18851         newXS("Wx::PlHScrolledWindow::new", XS_Wx__PlHScrolledWindow_new, file);
18852         newXS("Wx::PlHScrolledWindow::newDefault", XS_Wx__PlHScrolledWindow_newDefault, file);
18853         newXS("Wx::PlHScrolledWindow::newFull", XS_Wx__PlHScrolledWindow_newFull, file);
18854 #endif
18855         newXS("Wx::PlVScrolledWindow::new", XS_Wx__PlVScrolledWindow_new, file);
18856         newXS("Wx::PlVScrolledWindow::newDefault", XS_Wx__PlVScrolledWindow_newDefault, file);
18857         newXS("Wx::PlVScrolledWindow::newFull", XS_Wx__PlVScrolledWindow_newFull, file);
18858 #if XSubPPtmpAACP
18859         newXS("Wx::PlHVScrolledWindow::new", XS_Wx__PlHVScrolledWindow_new, file);
18860         newXS("Wx::PlHVScrolledWindow::newDefault", XS_Wx__PlHVScrolledWindow_newDefault, file);
18861         newXS("Wx::PlHVScrolledWindow::newFull", XS_Wx__PlHVScrolledWindow_newFull, file);
18862 #endif
18863 #endif
18864         newXS("Wx::IndividualLayoutConstraint::Above", XS_Wx__IndividualLayoutConstraint_Above, file);
18865         newXS("Wx::IndividualLayoutConstraint::Absolute", XS_Wx__IndividualLayoutConstraint_Absolute, file);
18866         newXS("Wx::IndividualLayoutConstraint::AsIs", XS_Wx__IndividualLayoutConstraint_AsIs, file);
18867         newXS("Wx::IndividualLayoutConstraint::Below", XS_Wx__IndividualLayoutConstraint_Below, file);
18868         newXS("Wx::IndividualLayoutConstraint::Unconstrained", XS_Wx__IndividualLayoutConstraint_Unconstrained, file);
18869         newXS("Wx::IndividualLayoutConstraint::LeftOf", XS_Wx__IndividualLayoutConstraint_LeftOf, file);
18870         newXS("Wx::IndividualLayoutConstraint::PercentOf", XS_Wx__IndividualLayoutConstraint_PercentOf, file);
18871         newXS("Wx::IndividualLayoutConstraint::RightOf", XS_Wx__IndividualLayoutConstraint_RightOf, file);
18872         newXS("Wx::IndividualLayoutConstraint::SameAs", XS_Wx__IndividualLayoutConstraint_SameAs, file);
18873         newXS("Wx::IndividualLayoutConstraint::Set", XS_Wx__IndividualLayoutConstraint_Set, file);
18874         newXS("Wx::LayoutConstraints::new", XS_Wx__LayoutConstraints_new, file);
18875         newXS("Wx::LayoutConstraints::bottom", XS_Wx__LayoutConstraints_bottom, file);
18876         newXS("Wx::LayoutConstraints::centreX", XS_Wx__LayoutConstraints_centreX, file);
18877         newXS("Wx::LayoutConstraints::centreY", XS_Wx__LayoutConstraints_centreY, file);
18878         newXS("Wx::LayoutConstraints::height", XS_Wx__LayoutConstraints_height, file);
18879         newXS("Wx::LayoutConstraints::left", XS_Wx__LayoutConstraints_left, file);
18880         newXS("Wx::LayoutConstraints::right", XS_Wx__LayoutConstraints_right, file);
18881         newXS("Wx::LayoutConstraints::top", XS_Wx__LayoutConstraints_top, file);
18882         newXS("Wx::LayoutConstraints::width", XS_Wx__LayoutConstraints_width, file);
18883         newXS("Wx::Validator::GetWindow", XS_Wx__Validator_GetWindow, file);
18884         newXS("Wx::Validator::SetBellOnError", XS_Wx__Validator_SetBellOnError, file);
18885         newXS("Wx::Validator::SetWindow", XS_Wx__Validator_SetWindow, file);
18886         newXS("Wx::PlValidator::new", XS_Wx__PlValidator_new, file);
18887         newXS("Wx::PlValidator::DESTROY", XS_Wx__PlValidator_DESTROY, file);
18888         newXS("Wx::ScrolledWindow::new", XS_Wx__ScrolledWindow_new, file);
18889         newXS("Wx::ScrolledWindow::newDefault", XS_Wx__ScrolledWindow_newDefault, file);
18890         newXS("Wx::ScrolledWindow::newFull", XS_Wx__ScrolledWindow_newFull, file);
18891         newXS("Wx::ScrolledWindow::Create", XS_Wx__ScrolledWindow_Create, file);
18892         newXS("Wx::ScrolledWindow::CalcScrolledPosition", XS_Wx__ScrolledWindow_CalcScrolledPosition, file);
18893         newXS("Wx::ScrolledWindow::CalcUnscrolledPosition", XS_Wx__ScrolledWindow_CalcUnscrolledPosition, file);
18894         newXS("Wx::ScrolledWindow::EnableScrolling", XS_Wx__ScrolledWindow_EnableScrolling, file);
18895         newXS("Wx::ScrolledWindow::GetScrollPixelsPerUnit", XS_Wx__ScrolledWindow_GetScrollPixelsPerUnit, file);
18896         newXS("Wx::ScrolledWindow::GetVirtualSize", XS_Wx__ScrolledWindow_GetVirtualSize, file);
18897         newXS("Wx::ScrolledWindow::IsRetained", XS_Wx__ScrolledWindow_IsRetained, file);
18898         newXS("Wx::ScrolledWindow::PrepareDC", XS_Wx__ScrolledWindow_PrepareDC, file);
18899         newXS("Wx::ScrolledWindow::DoPrepareDC", XS_Wx__ScrolledWindow_DoPrepareDC, file);
18900         newXS("Wx::ScrolledWindow::Scroll", XS_Wx__ScrolledWindow_Scroll, file);
18901         newXS("Wx::ScrolledWindow::SetScrollbars", XS_Wx__ScrolledWindow_SetScrollbars, file);
18902         newXS("Wx::ScrolledWindow::SetScrollRate", XS_Wx__ScrolledWindow_SetScrollRate, file);
18903         newXS("Wx::ScrolledWindow::SetTargetWindow", XS_Wx__ScrolledWindow_SetTargetWindow, file);
18904         newXS("Wx::ScrolledWindow::GetViewStart", XS_Wx__ScrolledWindow_GetViewStart, file);
18905 #if XSubPPtmpAACQ
18906         newXS("Wx::Sizer::AddWindow", XS_Wx__Sizer_AddWindow, file);
18907         newXS("Wx::Sizer::AddSizer", XS_Wx__Sizer_AddSizer, file);
18908         newXS("Wx::Sizer::AddSpace", XS_Wx__Sizer_AddSpace, file);
18909         newXS("Wx::Sizer::PrependWindow", XS_Wx__Sizer_PrependWindow, file);
18910         newXS("Wx::Sizer::PrependSizer", XS_Wx__Sizer_PrependSizer, file);
18911         newXS("Wx::Sizer::PrependSpace", XS_Wx__Sizer_PrependSpace, file);
18912         newXS("Wx::Sizer::InsertWindow", XS_Wx__Sizer_InsertWindow, file);
18913         newXS("Wx::Sizer::InsertSizer", XS_Wx__Sizer_InsertSizer, file);
18914         newXS("Wx::Sizer::InsertSpace", XS_Wx__Sizer_InsertSpace, file);
18915 #endif
18916 #if XSubPPtmpAACR
18917         newXS("Wx::Sizer::AddWindow", XS_Wx__Sizer_AddWindow, file);
18918         newXS("Wx::Sizer::AddSizer", XS_Wx__Sizer_AddSizer, file);
18919         newXS("Wx::Sizer::AddSpace", XS_Wx__Sizer_AddSpace, file);
18920         newXS("Wx::Sizer::PrependWindow", XS_Wx__Sizer_PrependWindow, file);
18921         newXS("Wx::Sizer::PrependSizer", XS_Wx__Sizer_PrependSizer, file);
18922         newXS("Wx::Sizer::PrependSpace", XS_Wx__Sizer_PrependSpace, file);
18923         newXS("Wx::Sizer::InsertWindow", XS_Wx__Sizer_InsertWindow, file);
18924         newXS("Wx::Sizer::InsertSizer", XS_Wx__Sizer_InsertSizer, file);
18925         newXS("Wx::Sizer::InsertSpace", XS_Wx__Sizer_InsertSpace, file);
18926 #endif
18927 #if XSubPPtmpAACS
18928         newXS("Wx::Sizer::GetItemWindow", XS_Wx__Sizer_GetItemWindow, file);
18929         newXS("Wx::Sizer::GetItemSizer", XS_Wx__Sizer_GetItemSizer, file);
18930         newXS("Wx::Sizer::GetItemNth", XS_Wx__Sizer_GetItemNth, file);
18931 #endif
18932 #if XSubPPtmpAACT
18933         newXS("Wx::Sizer::GetItemNth", XS_Wx__Sizer_GetItemNth, file);
18934 #endif
18935 #if XSubPPtmpAACU
18936         newXS("Wx::Sizer::GetItemById", XS_Wx__Sizer_GetItemById, file);
18937 #endif
18938         newXS("Wx::Sizer::HideSizer", XS_Wx__Sizer_HideSizer, file);
18939         newXS("Wx::Sizer::HideWindow", XS_Wx__Sizer_HideWindow, file);
18940         newXS("Wx::Sizer::HideIndex", XS_Wx__Sizer_HideIndex, file);
18941         newXS("Wx::Sizer::Hide", XS_Wx__Sizer_Hide, file);
18942         newXS("Wx::Sizer::IsShownWindow", XS_Wx__Sizer_IsShownWindow, file);
18943         newXS("Wx::Sizer::IsShownSizer", XS_Wx__Sizer_IsShownSizer, file);
18944         newXS("Wx::Sizer::IsShownIndex", XS_Wx__Sizer_IsShownIndex, file);
18945         newXS("Wx::Sizer::IsShown", XS_Wx__Sizer_IsShown, file);
18946 #if XSubPPtmpAACV
18947         newXS("Wx::Sizer::ReplaceWindow", XS_Wx__Sizer_ReplaceWindow, file);
18948         newXS("Wx::Sizer::ReplaceSizer", XS_Wx__Sizer_ReplaceSizer, file);
18949         newXS("Wx::Sizer::ReplaceIndex", XS_Wx__Sizer_ReplaceIndex, file);
18950         newXS("Wx::Sizer::Replace", XS_Wx__Sizer_Replace, file);
18951 #endif
18952         newXS("Wx::Sizer::RecalcSizes", XS_Wx__Sizer_RecalcSizes, file);
18953         newXS("Wx::Sizer::Clear", XS_Wx__Sizer_Clear, file);
18954         newXS("Wx::Sizer::DeleteWindows", XS_Wx__Sizer_DeleteWindows, file);
18955         newXS("Wx::Sizer::CalcMin", XS_Wx__Sizer_CalcMin, file);
18956         newXS("Wx::Sizer::Fit", XS_Wx__Sizer_Fit, file);
18957         newXS("Wx::Sizer::FitInside", XS_Wx__Sizer_FitInside, file);
18958         newXS("Wx::Sizer::GetSize", XS_Wx__Sizer_GetSize, file);
18959         newXS("Wx::Sizer::GetPosition", XS_Wx__Sizer_GetPosition, file);
18960         newXS("Wx::Sizer::GetMinSize", XS_Wx__Sizer_GetMinSize, file);
18961         newXS("Wx::Sizer::Layout", XS_Wx__Sizer_Layout, file);
18962 #if XSubPPtmpAACW
18963         newXS("Wx::Sizer::RemoveWindow", XS_Wx__Sizer_RemoveWindow, file);
18964 #endif
18965         newXS("Wx::Sizer::RemoveSizer", XS_Wx__Sizer_RemoveSizer, file);
18966         newXS("Wx::Sizer::RemoveNth", XS_Wx__Sizer_RemoveNth, file);
18967 #if XSubPPtmpAACX
18968         newXS("Wx::Sizer::DetachWindow", XS_Wx__Sizer_DetachWindow, file);
18969         newXS("Wx::Sizer::DetachSizer", XS_Wx__Sizer_DetachSizer, file);
18970         newXS("Wx::Sizer::DetachNth", XS_Wx__Sizer_DetachNth, file);
18971 #endif
18972 #if XSubPPtmpAACY
18973         newXS("Wx::Sizer::GetContainingWindow", XS_Wx__Sizer_GetContainingWindow, file);
18974         newXS("Wx::Sizer::SetContainingWindow", XS_Wx__Sizer_SetContainingWindow, file);
18975 #endif
18976         newXS("Wx::Sizer::SetDimension", XS_Wx__Sizer_SetDimension, file);
18977         newXS("Wx::Sizer::SetItemMinSizeWindow", XS_Wx__Sizer_SetItemMinSizeWindow, file);
18978         newXS("Wx::Sizer::SetItemMinSizeSizer", XS_Wx__Sizer_SetItemMinSizeSizer, file);
18979         newXS("Wx::Sizer::SetItemMinSizeNth", XS_Wx__Sizer_SetItemMinSizeNth, file);
18980         newXS("Wx::Sizer::SetMinSizeSize", XS_Wx__Sizer_SetMinSizeSize, file);
18981         newXS("Wx::Sizer::SetMinSizeXY", XS_Wx__Sizer_SetMinSizeXY, file);
18982         newXS("Wx::Sizer::SetSizeHints", XS_Wx__Sizer_SetSizeHints, file);
18983 #if XSubPPtmpAACZ
18984         newXS("Wx::Sizer::SetVirtualSizeHints", XS_Wx__Sizer_SetVirtualSizeHints, file);
18985 #endif
18986 #if XSubPPtmpAADA
18987         newXS("Wx::Sizer::ShowWindow", XS_Wx__Sizer_ShowWindow, file);
18988         newXS("Wx::Sizer::ShowSizer", XS_Wx__Sizer_ShowSizer, file);
18989         newXS("Wx::Sizer::ShowIndex", XS_Wx__Sizer_ShowIndex, file);
18990 #endif
18991 #if XSubPPtmpAADB
18992         newXS("Wx::Sizer::ShowWindow", XS_Wx__Sizer_ShowWindow, file);
18993         newXS("Wx::Sizer::ShowSizer", XS_Wx__Sizer_ShowSizer, file);
18994         newXS("Wx::Sizer::ShowIndex", XS_Wx__Sizer_ShowIndex, file);
18995 #endif
18996 #if XSubPPtmpAADC
18997         newXS("Wx::Sizer::ShowWindow", XS_Wx__Sizer_ShowWindow, file);
18998         newXS("Wx::Sizer::ShowSizer", XS_Wx__Sizer_ShowSizer, file);
18999 #endif
19000 #if XSubPPtmpAADD
19001         newXS("Wx::Sizer::AddSpacer", XS_Wx__Sizer_AddSpacer, file);
19002         newXS("Wx::Sizer::AddStretchSpacer", XS_Wx__Sizer_AddStretchSpacer, file);
19003         newXS("Wx::Sizer::InsertSpacer", XS_Wx__Sizer_InsertSpacer, file);
19004         newXS("Wx::Sizer::InsertStretchSpacer", XS_Wx__Sizer_InsertStretchSpacer, file);
19005         newXS("Wx::Sizer::PrependSpacer", XS_Wx__Sizer_PrependSpacer, file);
19006         newXS("Wx::Sizer::PrependStretchSpacer", XS_Wx__Sizer_PrependStretchSpacer, file);
19007 #endif
19008 #if XSubPPtmpAADE
19009         newXS("Wx::Sizer::AddSpacer", XS_Wx__Sizer_AddSpacer, file);
19010         newXS("Wx::Sizer::AddStretchSpacer", XS_Wx__Sizer_AddStretchSpacer, file);
19011         newXS("Wx::Sizer::InsertSpacer", XS_Wx__Sizer_InsertSpacer, file);
19012         newXS("Wx::Sizer::InsertStretchSpacer", XS_Wx__Sizer_InsertStretchSpacer, file);
19013         newXS("Wx::Sizer::PrependSpacer", XS_Wx__Sizer_PrependSpacer, file);
19014         newXS("Wx::Sizer::PrependStretchSpacer", XS_Wx__Sizer_PrependStretchSpacer, file);
19015 #endif
19016 #if XSubPPtmpAADF
19017         newXS("Wx::FlexGridSizer::AddGrowableCol", XS_Wx__FlexGridSizer_AddGrowableCol, file);
19018         newXS("Wx::FlexGridSizer::AddGrowableRow", XS_Wx__FlexGridSizer_AddGrowableRow, file);
19019         newXS("Wx::FlexGridSizer::SetFlexibleDirection", XS_Wx__FlexGridSizer_SetFlexibleDirection, file);
19020         newXS("Wx::FlexGridSizer::GetFlexibleDirection", XS_Wx__FlexGridSizer_GetFlexibleDirection, file);
19021         newXS("Wx::FlexGridSizer::SetNonFlexibleGrowMode", XS_Wx__FlexGridSizer_SetNonFlexibleGrowMode, file);
19022         newXS("Wx::FlexGridSizer::GetNonFlexibleGrowMode", XS_Wx__FlexGridSizer_GetNonFlexibleGrowMode, file);
19023 #endif
19024 #if XSubPPtmpAADG
19025         newXS("Wx::FlexGridSizer::AddGrowableCol", XS_Wx__FlexGridSizer_AddGrowableCol, file);
19026         newXS("Wx::FlexGridSizer::AddGrowableRow", XS_Wx__FlexGridSizer_AddGrowableRow, file);
19027 #endif
19028 #if XSubPPtmpAADH
19029         newXS("Wx::SizerItem::GetOption", XS_Wx__SizerItem_GetOption, file);
19030         newXS("Wx::SizerItem::SetOption", XS_Wx__SizerItem_SetOption, file);
19031         newXS("Wx::SizerItem::GetProportion", XS_Wx__SizerItem_GetProportion, file);
19032         newXS("Wx::SizerItem::SetProportion", XS_Wx__SizerItem_SetProportion, file);
19033 #endif
19034 #if XSubPPtmpAADI
19035         newXS("Wx::SizerItem::GetProportion", XS_Wx__SizerItem_GetProportion, file);
19036         newXS("Wx::SizerItem::SetProportion", XS_Wx__SizerItem_SetProportion, file);
19037         newXS("Wx::SizerItem::GetOption", XS_Wx__SizerItem_GetOption, file);
19038         newXS("Wx::SizerItem::SetOption", XS_Wx__SizerItem_SetOption, file);
19039 #endif
19040 #if XSubPPtmpAADJ
19041         newXS("Wx::SizerItem::SetMinSizeWH", XS_Wx__SizerItem_SetMinSizeWH, file);
19042         newXS("Wx::SizerItem::SetMinSizeSize", XS_Wx__SizerItem_SetMinSizeSize, file);
19043 #endif
19044         newXS("Wx::SizerItem::DeleteWindows", XS_Wx__SizerItem_DeleteWindows, file);
19045         newXS("Wx::SizerItem::DetachSizer", XS_Wx__SizerItem_DetachSizer, file);
19046 #if XSubPPtmpAADK
19047         newXS("Wx::SizerItem::SetId", XS_Wx__SizerItem_SetId, file);
19048         newXS("Wx::SizerItem::GetId", XS_Wx__SizerItem_GetId, file);
19049 #endif
19050 #if XSubPPtmpAADL
19051         newXS("Wx::SizerItem::GetRect", XS_Wx__SizerItem_GetRect, file);
19052 #endif
19053         newXS("Wx::SizerItem::Show", XS_Wx__SizerItem_Show, file);
19054 #if XSubPPtmpAADM
19055         newXS("Wx::SizerItem::AssignSpacer", XS_Wx__SizerItem_AssignSpacer, file);
19056 #endif
19057 #if XSubPPtmpAADN
19058         newXS("Wx::SizerItem::SetSpacer", XS_Wx__SizerItem_SetSpacer, file);
19059 #endif
19060         newXS("Wx::SizerItem::GetSpacer", XS_Wx__SizerItem_GetSpacer, file);
19061 #if XSubPPtmpAADO
19062         newXS("Wx::StdDialogButtonSizer::new", XS_Wx__StdDialogButtonSizer_new, file);
19063         newXS("Wx::StdDialogButtonSizer::AddButton", XS_Wx__StdDialogButtonSizer_AddButton, file);
19064         newXS("Wx::StdDialogButtonSizer::SetAffirmativeButton", XS_Wx__StdDialogButtonSizer_SetAffirmativeButton, file);
19065         newXS("Wx::StdDialogButtonSizer::SetNegativeButton", XS_Wx__StdDialogButtonSizer_SetNegativeButton, file);
19066         newXS("Wx::StdDialogButtonSizer::SetCancelButton", XS_Wx__StdDialogButtonSizer_SetCancelButton, file);
19067         newXS("Wx::StdDialogButtonSizer::Realize", XS_Wx__StdDialogButtonSizer_Realize, file);
19068         newXS("Wx::StdDialogButtonSizer::GetAffirmativeButton", XS_Wx__StdDialogButtonSizer_GetAffirmativeButton, file);
19069         newXS("Wx::StdDialogButtonSizer::GetApplyButton", XS_Wx__StdDialogButtonSizer_GetApplyButton, file);
19070         newXS("Wx::StdDialogButtonSizer::GetNegativeButton", XS_Wx__StdDialogButtonSizer_GetNegativeButton, file);
19071         newXS("Wx::StdDialogButtonSizer::GetCancelButton", XS_Wx__StdDialogButtonSizer_GetCancelButton, file);
19072         newXS("Wx::StdDialogButtonSizer::GetHelpButton", XS_Wx__StdDialogButtonSizer_GetHelpButton, file);
19073 #endif
19074 #if XSubPPtmpAADP
19075         newXS("Wx::WrapSizer::new", XS_Wx__WrapSizer_new, file);
19076         newXS("Wx::WrapSizer::InformFirstDirection", XS_Wx__WrapSizer_InformFirstDirection, file);
19077 #endif
19078         newXS("Wx::Sizer::Show", XS_Wx__Sizer_Show, file);
19079         newXS("Wx::Sizer::Destroy", XS_Wx__Sizer_Destroy, file);
19080         newXS("Wx::Sizer::Add", XS_Wx__Sizer_Add, file);
19081         newXS("Wx::Sizer::GetChildren", XS_Wx__Sizer_GetChildren, file);
19082         newXS("Wx::Sizer::Insert", XS_Wx__Sizer_Insert, file);
19083         newXS("Wx::Sizer::Prepend", XS_Wx__Sizer_Prepend, file);
19084         newXS("Wx::Sizer::Remove", XS_Wx__Sizer_Remove, file);
19085         newXS("Wx::Sizer::Detach", XS_Wx__Sizer_Detach, file);
19086         newXS("Wx::Sizer::GetItem", XS_Wx__Sizer_GetItem, file);
19087         newXS("Wx::Sizer::SetItemMinSize", XS_Wx__Sizer_SetItemMinSize, file);
19088         newXS("Wx::Sizer::SetMinSize", XS_Wx__Sizer_SetMinSize, file);
19089         newXS("Wx::BoxSizer::new", XS_Wx__BoxSizer_new, file);
19090         newXS("Wx::BoxSizer::GetOrientation", XS_Wx__BoxSizer_GetOrientation, file);
19091         newXS("Wx::StaticBoxSizer::new", XS_Wx__StaticBoxSizer_new, file);
19092         newXS("Wx::StaticBoxSizer::GetStaticBox", XS_Wx__StaticBoxSizer_GetStaticBox, file);
19093         newXS("Wx::NotebookSizer::new", XS_Wx__NotebookSizer_new, file);
19094         newXS("Wx::NotebookSizer::GetNotebook", XS_Wx__NotebookSizer_GetNotebook, file);
19095         newXS("Wx::GridSizer::new", XS_Wx__GridSizer_new, file);
19096         newXS("Wx::GridSizer::GetCols", XS_Wx__GridSizer_GetCols, file);
19097         newXS("Wx::GridSizer::GetHGap", XS_Wx__GridSizer_GetHGap, file);
19098         newXS("Wx::GridSizer::GetRows", XS_Wx__GridSizer_GetRows, file);
19099         newXS("Wx::GridSizer::GetVGap", XS_Wx__GridSizer_GetVGap, file);
19100         newXS("Wx::GridSizer::SetCols", XS_Wx__GridSizer_SetCols, file);
19101         newXS("Wx::GridSizer::SetHGap", XS_Wx__GridSizer_SetHGap, file);
19102         newXS("Wx::GridSizer::SetRows", XS_Wx__GridSizer_SetRows, file);
19103         newXS("Wx::GridSizer::SetVGap", XS_Wx__GridSizer_SetVGap, file);
19104         newXS("Wx::FlexGridSizer::new", XS_Wx__FlexGridSizer_new, file);
19105         newXS("Wx::FlexGridSizer::RemoveGrowableCol", XS_Wx__FlexGridSizer_RemoveGrowableCol, file);
19106         newXS("Wx::FlexGridSizer::RemoveGrowableRow", XS_Wx__FlexGridSizer_RemoveGrowableRow, file);
19107         newXS("Wx::SizerItem::GetSize", XS_Wx__SizerItem_GetSize, file);
19108         newXS("Wx::SizerItem::CalcMin", XS_Wx__SizerItem_CalcMin, file);
19109         newXS("Wx::SizerItem::SetDimension", XS_Wx__SizerItem_SetDimension, file);
19110         newXS("Wx::SizerItem::GetMinSize", XS_Wx__SizerItem_GetMinSize, file);
19111         newXS("Wx::SizerItem::SetRatio", XS_Wx__SizerItem_SetRatio, file);
19112         newXS("Wx::SizerItem::SetRatioWH", XS_Wx__SizerItem_SetRatioWH, file);
19113         newXS("Wx::SizerItem::SetRatioSize", XS_Wx__SizerItem_SetRatioSize, file);
19114         newXS("Wx::SizerItem::SetRatioFloat", XS_Wx__SizerItem_SetRatioFloat, file);
19115         newXS("Wx::SizerItem::GetRatio", XS_Wx__SizerItem_GetRatio, file);
19116         newXS("Wx::SizerItem::IsWindow", XS_Wx__SizerItem_IsWindow, file);
19117         newXS("Wx::SizerItem::IsShown", XS_Wx__SizerItem_IsShown, file);
19118         newXS("Wx::SizerItem::IsSizer", XS_Wx__SizerItem_IsSizer, file);
19119         newXS("Wx::SizerItem::IsSpacer", XS_Wx__SizerItem_IsSpacer, file);
19120         newXS("Wx::SizerItem::SetInitSize", XS_Wx__SizerItem_SetInitSize, file);
19121         newXS("Wx::SizerItem::SetFlag", XS_Wx__SizerItem_SetFlag, file);
19122         newXS("Wx::SizerItem::SetBorder", XS_Wx__SizerItem_SetBorder, file);
19123         newXS("Wx::SizerItem::GetWindow", XS_Wx__SizerItem_GetWindow, file);
19124 #if XSubPPtmpAADQ
19125         newXS("Wx::SizerItem::AssignWindow", XS_Wx__SizerItem_AssignWindow, file);
19126 #endif
19127 #if XSubPPtmpAADR
19128         newXS("Wx::SizerItem::SetWindow", XS_Wx__SizerItem_SetWindow, file);
19129 #endif
19130         newXS("Wx::SizerItem::GetSizer", XS_Wx__SizerItem_GetSizer, file);
19131 #if XSubPPtmpAADS
19132         newXS("Wx::SizerItem::AssignSizer", XS_Wx__SizerItem_AssignSizer, file);
19133 #endif
19134 #if XSubPPtmpAADT
19135         newXS("Wx::SizerItem::SetSizer", XS_Wx__SizerItem_SetSizer, file);
19136 #endif
19137         newXS("Wx::SizerItem::GetFlag", XS_Wx__SizerItem_GetFlag, file);
19138         newXS("Wx::SizerItem::GetBorder", XS_Wx__SizerItem_GetBorder, file);
19139         newXS("Wx::SizerItem::GetPosition", XS_Wx__SizerItem_GetPosition, file);
19140         newXS("Wx::SizerItem::GetUserData", XS_Wx__SizerItem_GetUserData, file);
19141 #if XSubPPtmpAADU
19142         newXS("Wx::SizerItem::SetUserData", XS_Wx__SizerItem_SetUserData, file);
19143 #endif
19144         newXS("Wx::SizerItem::SetMinSize", XS_Wx__SizerItem_SetMinSize, file);
19145         newXS("Wx::PlSizer::new", XS_Wx__PlSizer_new, file);
19146 #if XSubPPtmpAADV
19147         newXS("Wx::GBPosition::new", XS_Wx__GBPosition_new, file);
19148         newXS("Wx::GBPosition::GetRow", XS_Wx__GBPosition_GetRow, file);
19149         newXS("Wx::GBPosition::GetCol", XS_Wx__GBPosition_GetCol, file);
19150         newXS("Wx::GBPosition::SetRow", XS_Wx__GBPosition_SetRow, file);
19151         newXS("Wx::GBPosition::SetCol", XS_Wx__GBPosition_SetCol, file);
19152         newXS("Wx::GBSpan::new", XS_Wx__GBSpan_new, file);
19153         newXS("Wx::GBSpan::GetRowspan", XS_Wx__GBSpan_GetRowspan, file);
19154         newXS("Wx::GBSpan::GetColspan", XS_Wx__GBSpan_GetColspan, file);
19155         newXS("Wx::GBSpan::SetRowspan", XS_Wx__GBSpan_SetRowspan, file);
19156         newXS("Wx::GBSpan::SetColspan", XS_Wx__GBSpan_SetColspan, file);
19157         newXS("Wx::GBSizerItem::GetPos", XS_Wx__GBSizerItem_GetPos, file);
19158         newXS("Wx::GBSizerItem::GetPosXY", XS_Wx__GBSizerItem_GetPosXY, file);
19159         newXS("Wx::GBSizerItem::GetSpan", XS_Wx__GBSizerItem_GetSpan, file);
19160         newXS("Wx::GBSizerItem::GetSpanWH", XS_Wx__GBSizerItem_GetSpanWH, file);
19161         newXS("Wx::GBSizerItem::SetPos", XS_Wx__GBSizerItem_SetPos, file);
19162         newXS("Wx::GBSizerItem::SetSpan", XS_Wx__GBSizerItem_SetSpan, file);
19163         newXS("Wx::GBSizerItem::IntersectsItem", XS_Wx__GBSizerItem_IntersectsItem, file);
19164         newXS("Wx::GBSizerItem::IntersectsPosition", XS_Wx__GBSizerItem_IntersectsPosition, file);
19165         newXS("Wx::GBSizerItem::Intersects", XS_Wx__GBSizerItem_Intersects, file);
19166         newXS("Wx::GBSizerItem::GetEndPos", XS_Wx__GBSizerItem_GetEndPos, file);
19167         newXS("Wx::GBSizerItem::GetGBSizer", XS_Wx__GBSizerItem_GetGBSizer, file);
19168         newXS("Wx::GBSizerItem::SetGBSizer", XS_Wx__GBSizerItem_SetGBSizer, file);
19169         newXS("Wx::GridBagSizer::new", XS_Wx__GridBagSizer_new, file);
19170         newXS("Wx::GridBagSizer::AddWindow", XS_Wx__GridBagSizer_AddWindow, file);
19171         newXS("Wx::GridBagSizer::AddSizer", XS_Wx__GridBagSizer_AddSizer, file);
19172         newXS("Wx::GridBagSizer::AddSpace", XS_Wx__GridBagSizer_AddSpace, file);
19173         newXS("Wx::GridBagSizer::AddItem", XS_Wx__GridBagSizer_AddItem, file);
19174         newXS("Wx::GridBagSizer::GetEmptyCellSize", XS_Wx__GridBagSizer_GetEmptyCellSize, file);
19175         newXS("Wx::GridBagSizer::SetEmptyCellSize", XS_Wx__GridBagSizer_SetEmptyCellSize, file);
19176         newXS("Wx::GridBagSizer::GetCellSize", XS_Wx__GridBagSizer_GetCellSize, file);
19177         newXS("Wx::GridBagSizer::GetItemPositionWindow", XS_Wx__GridBagSizer_GetItemPositionWindow, file);
19178         newXS("Wx::GridBagSizer::GetItemPositionSizer", XS_Wx__GridBagSizer_GetItemPositionSizer, file);
19179         newXS("Wx::GridBagSizer::GetItemPositionIndex", XS_Wx__GridBagSizer_GetItemPositionIndex, file);
19180         newXS("Wx::GridBagSizer::GetItemPosition", XS_Wx__GridBagSizer_GetItemPosition, file);
19181         newXS("Wx::GridBagSizer::SetItemPositionWindow", XS_Wx__GridBagSizer_SetItemPositionWindow, file);
19182         newXS("Wx::GridBagSizer::SetItemPositionSizer", XS_Wx__GridBagSizer_SetItemPositionSizer, file);
19183         newXS("Wx::GridBagSizer::SetItemPositionIndex", XS_Wx__GridBagSizer_SetItemPositionIndex, file);
19184         newXS("Wx::GridBagSizer::SetItemPosition", XS_Wx__GridBagSizer_SetItemPosition, file);
19185         newXS("Wx::GridBagSizer::GetItemSpanWindow", XS_Wx__GridBagSizer_GetItemSpanWindow, file);
19186         newXS("Wx::GridBagSizer::GetItemSpanSizer", XS_Wx__GridBagSizer_GetItemSpanSizer, file);
19187         newXS("Wx::GridBagSizer::GetItemSpanIndex", XS_Wx__GridBagSizer_GetItemSpanIndex, file);
19188         newXS("Wx::GridBagSizer::GetItemSpan", XS_Wx__GridBagSizer_GetItemSpan, file);
19189         newXS("Wx::GridBagSizer::SetItemSpanWindow", XS_Wx__GridBagSizer_SetItemSpanWindow, file);
19190         newXS("Wx::GridBagSizer::SetItemSpanSizer", XS_Wx__GridBagSizer_SetItemSpanSizer, file);
19191         newXS("Wx::GridBagSizer::SetItemSpanIndex", XS_Wx__GridBagSizer_SetItemSpanIndex, file);
19192         newXS("Wx::GridBagSizer::SetItemSpan", XS_Wx__GridBagSizer_SetItemSpan, file);
19193         newXS("Wx::GridBagSizer::FindItemWindow", XS_Wx__GridBagSizer_FindItemWindow, file);
19194         newXS("Wx::GridBagSizer::FindItemSizer", XS_Wx__GridBagSizer_FindItemSizer, file);
19195         newXS("Wx::GridBagSizer::FindItem", XS_Wx__GridBagSizer_FindItem, file);
19196         newXS("Wx::GridBagSizer::FindItemAtPosition", XS_Wx__GridBagSizer_FindItemAtPosition, file);
19197         newXS("Wx::GridBagSizer::FindItemAtPoint", XS_Wx__GridBagSizer_FindItemAtPoint, file);
19198         newXS("Wx::GridBagSizer::CheckForIntersectionItem", XS_Wx__GridBagSizer_CheckForIntersectionItem, file);
19199         newXS("Wx::GridBagSizer::CheckForIntersectionPos", XS_Wx__GridBagSizer_CheckForIntersectionPos, file);
19200         newXS("Wx::GridBagSizer::CheckForIntersection", XS_Wx__GridBagSizer_CheckForIntersection, file);
19201         newXS("Wx::GridBagSizer::Add", XS_Wx__GridBagSizer_Add, file);
19202 #endif
19203         newXS("Wx::SashEvent::new", XS_Wx__SashEvent_new, file);
19204         newXS("Wx::SashEvent::GetEdge", XS_Wx__SashEvent_GetEdge, file);
19205         newXS("Wx::SashEvent::GetDragRect", XS_Wx__SashEvent_GetDragRect, file);
19206         newXS("Wx::SashEvent::GetDragStatus", XS_Wx__SashEvent_GetDragStatus, file);
19207         newXS("Wx::SashWindow::new", XS_Wx__SashWindow_new, file);
19208         newXS("Wx::SashWindow::newDefault", XS_Wx__SashWindow_newDefault, file);
19209         newXS("Wx::SashWindow::newFull", XS_Wx__SashWindow_newFull, file);
19210         newXS("Wx::SashWindow::Create", XS_Wx__SashWindow_Create, file);
19211         newXS("Wx::SashWindow::GetSashVisible", XS_Wx__SashWindow_GetSashVisible, file);
19212         newXS("Wx::SashWindow::GetMaximumSizeX", XS_Wx__SashWindow_GetMaximumSizeX, file);
19213         newXS("Wx::SashWindow::GetMaximumSizeY", XS_Wx__SashWindow_GetMaximumSizeY, file);
19214         newXS("Wx::SashWindow::GetMinimumSizeX", XS_Wx__SashWindow_GetMinimumSizeX, file);
19215         newXS("Wx::SashWindow::GetMinimumSizeY", XS_Wx__SashWindow_GetMinimumSizeY, file);
19216 #if XSubPPtmpAADW
19217         newXS("Wx::SashWindow::HasBorder", XS_Wx__SashWindow_HasBorder, file);
19218 #endif
19219         newXS("Wx::SashWindow::SetMaximumSizeX", XS_Wx__SashWindow_SetMaximumSizeX, file);
19220         newXS("Wx::SashWindow::SetMaximumSizeY", XS_Wx__SashWindow_SetMaximumSizeY, file);
19221         newXS("Wx::SashWindow::SetMinimumSizeX", XS_Wx__SashWindow_SetMinimumSizeX, file);
19222         newXS("Wx::SashWindow::SetMinimumSizeY", XS_Wx__SashWindow_SetMinimumSizeY, file);
19223         newXS("Wx::SashWindow::SetSashVisible", XS_Wx__SashWindow_SetSashVisible, file);
19224 #if XSubPPtmpAADX
19225         newXS("Wx::SashWindow::SetSashBorder", XS_Wx__SashWindow_SetSashBorder, file);
19226 #endif
19227
19228     /* Initialisation Section */
19229
19230 #if XSubPPtmpAAAA
19231 #endif
19232 #if XSubPPtmpAAAB
19233 #endif
19234 #if XSubPPtmpAAAC
19235 #endif
19236 #if XSubPPtmpAAAD
19237 #endif
19238 #if XSubPPtmpAAAE
19239 #endif
19240 #if XSubPPtmpAAAF
19241 #endif
19242 #if XSubPPtmpAAAG
19243 #endif
19244 #if XSubPPtmpAAAH
19245 #endif
19246 #if XSubPPtmpAAAI
19247 #endif
19248 #if XSubPPtmpAAAJ
19249 #endif
19250 #if XSubPPtmpAAAK
19251 #endif
19252 #if XSubPPtmpAAAL
19253 #endif
19254 #if XSubPPtmpAAAM
19255 #endif
19256 #if XSubPPtmpAAAN
19257 #endif
19258 #if XSubPPtmpAAAO
19259 #endif
19260 #if XSubPPtmpAAAP
19261 #endif
19262 #if XSubPPtmpAAAQ
19263 #endif
19264 #if XSubPPtmpAAAR
19265 #endif
19266 #if XSubPPtmpAAAS
19267 #endif
19268 #if XSubPPtmpAAAT
19269 #endif
19270 #if XSubPPtmpAAAU
19271 #endif
19272 #if XSubPPtmpAAAV
19273 #endif
19274 #if XSubPPtmpAAAW
19275 #endif
19276 #if XSubPPtmpAAAX
19277 #endif
19278 #if XSubPPtmpAAAY
19279 #endif
19280 #if XSubPPtmpAAAZ
19281 #endif
19282 #if XSubPPtmpAABA
19283 #endif
19284 #if XSubPPtmpAABB
19285 #endif
19286 #if XSubPPtmpAABC
19287 #endif
19288 #if XSubPPtmpAABD
19289 #endif
19290 #if XSubPPtmpAABE
19291 #endif
19292 #if XSubPPtmpAABF
19293 #endif
19294 #if XSubPPtmpAABG
19295 #endif
19296 #if XSubPPtmpAABH
19297 #endif
19298 #if XSubPPtmpAABI
19299 #endif
19300 #if XSubPPtmpAABJ
19301 #endif
19302 #if XSubPPtmpAABK
19303 #endif
19304 #if XSubPPtmpAABL
19305 #endif
19306 #if XSubPPtmpAABM
19307 #endif
19308 #if XSubPPtmpAABN
19309 #endif
19310 #if XSubPPtmpAABO
19311 #endif
19312 #if XSubPPtmpAABP
19313 #endif
19314 #if XSubPPtmpAABQ
19315 #endif
19316 #if XSubPPtmpAABR
19317 #endif
19318 #if XSubPPtmpAABS
19319 #endif
19320 #if XSubPPtmpAABT
19321 #endif
19322 #if XSubPPtmpAABU
19323 #endif
19324 #if XSubPPtmpAABV
19325 #endif
19326 #if XSubPPtmpAABW
19327 #endif
19328 #if XSubPPtmpAABX
19329 #endif
19330 #if XSubPPtmpAABY
19331 #endif
19332 #if XSubPPtmpAABZ
19333 #endif
19334 #if XSubPPtmpAACA
19335 #endif
19336 #if XSubPPtmpAACB
19337 #endif
19338 #if XSubPPtmpAACC
19339 #endif
19340 #if XSubPPtmpAACD
19341 #endif
19342 #if XSubPPtmpAACE
19343 #endif
19344 #if XSubPPtmpAACF
19345 #endif
19346 #if XSubPPtmpAACG
19347 #endif
19348 #if XSubPPtmpAACH
19349 #endif
19350 #if XSubPPtmpAACI
19351 #endif
19352 #if XSubPPtmpAACJ
19353 #if XSubPPtmpAACK
19354 #endif
19355 #if XSubPPtmpAACL
19356 #if XSubPPtmpAACM
19357 #endif
19358 #endif
19359 #if XSubPPtmpAACN
19360 #endif
19361 #if XSubPPtmpAACO
19362 #endif
19363 #if XSubPPtmpAACP
19364 #endif
19365 #endif
19366 #if XSubPPtmpAACQ
19367 #endif
19368 #if XSubPPtmpAACR
19369 #endif
19370 #if XSubPPtmpAACS
19371 #endif
19372 #if XSubPPtmpAACT
19373 #endif
19374 #if XSubPPtmpAACU
19375 #endif
19376 #if XSubPPtmpAACV
19377 #endif
19378 #if XSubPPtmpAACW
19379 #endif
19380 #if XSubPPtmpAACX
19381 #endif
19382 #if XSubPPtmpAACY
19383 #endif
19384 #if XSubPPtmpAACZ
19385 #endif
19386 #if XSubPPtmpAADA
19387 #endif
19388 #if XSubPPtmpAADB
19389 #endif
19390 #if XSubPPtmpAADC
19391 #endif
19392 #if XSubPPtmpAADD
19393 #endif
19394 #if XSubPPtmpAADE
19395 #endif
19396 #if XSubPPtmpAADF
19397 #endif
19398 #if XSubPPtmpAADG
19399 #endif
19400 #if XSubPPtmpAADH
19401 #endif
19402 #if XSubPPtmpAADI
19403 #endif
19404 #if XSubPPtmpAADJ
19405 #endif
19406 #if XSubPPtmpAADK
19407 #endif
19408 #if XSubPPtmpAADL
19409 #endif
19410 #if XSubPPtmpAADM
19411 #endif
19412 #if XSubPPtmpAADN
19413 #endif
19414 #if XSubPPtmpAADO
19415 #endif
19416 #if XSubPPtmpAADP
19417 #endif
19418 #if XSubPPtmpAADQ
19419 #endif
19420 #if XSubPPtmpAADR
19421 #endif
19422 #if XSubPPtmpAADS
19423 #endif
19424 #if XSubPPtmpAADT
19425 #endif
19426 #if XSubPPtmpAADU
19427 #endif
19428 #if XSubPPtmpAADV
19429 #endif
19430 #if XSubPPtmpAADW
19431 #endif
19432 #if XSubPPtmpAADX
19433 #endif
19434
19435     /* End of Initialisation Section */
19436
19437 #if (PERL_REVISION == 5 && PERL_VERSION >= 9)
19438   if (PL_unitcheckav)
19439        call_list(PL_scopestack_ix, PL_unitcheckav);
19440 #endif
19441     XSRETURN_YES;
19442 }
19443