Add libwx-perl
[pkg-perl] / deb-src / libwx-perl / libwx-perl-0.96 / ext / mdi / MDI.c
1 /*
2  * This file was generated automatically by ExtUtils::ParseXS version 2.2202 from the
3  * contents of MDI.xs. Do not edit this file, edit MDI.xs instead.
4  *
5  *      ANY CHANGES MADE HERE WILL BE LOST! 
6  *
7  */
8
9 /////////////////////////////////////////////////////////////////////////////
10 // Name:        ext/mdi/MDI.xs
11 // Purpose:     XS for MDI
12 // Author:      Mattia Barbon
13 // Modified by:
14 // Created:     06/09/2001
15 // RCS-ID:      $Id: MDI.xs 2057 2007-06-18 23:03:00Z mbarbon $
16 // Copyright:   (c) 2001-2002, 2004 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 #undef THIS
26
27 #ifndef PERL_UNUSED_VAR
28 #  define PERL_UNUSED_VAR(var) if (0) var = var
29 #endif
30
31 #ifndef PERL_ARGS_ASSERT_CROAK_XS_USAGE
32 #define PERL_ARGS_ASSERT_CROAK_XS_USAGE assert(cv); assert(params)
33
34 /* prototype to pass -Wmissing-prototypes */
35 STATIC void
36 S_croak_xs_usage(pTHX_ const CV *const cv, const char *const params);
37
38 STATIC void
39 S_croak_xs_usage(pTHX_ const CV *const cv, const char *const params)
40 {
41     const GV *const gv = CvGV(cv);
42
43     PERL_ARGS_ASSERT_CROAK_XS_USAGE;
44
45     if (gv) {
46         const char *const gvname = GvNAME(gv);
47         const HV *const stash = GvSTASH(gv);
48         const char *const hvname = stash ? HvNAME(stash) : NULL;
49
50         if (hvname)
51             Perl_croak(aTHX_ "Usage: %s::%s(%s)", hvname, gvname, params);
52         else
53             Perl_croak(aTHX_ "Usage: %s(%s)", gvname, params);
54     } else {
55         /* Pants. I don't think that it should be possible to get here. */
56         Perl_croak(aTHX_ "Usage: CODE(0x%"UVxf")(%s)", PTR2UV(cv), params);
57     }
58 }
59 #undef  PERL_ARGS_ASSERT_CROAK_XS_USAGE
60
61 #ifdef PERL_IMPLICIT_CONTEXT
62 #define croak_xs_usage(a,b)     S_croak_xs_usage(aTHX_ a,b)
63 #else
64 #define croak_xs_usage          S_croak_xs_usage
65 #endif
66
67 #endif
68
69 /* NOTE: the prototype of newXSproto() is different in versions of perls,
70  * so we define a portable version of newXSproto()
71  */
72 #ifdef newXS_flags
73 #define newXSproto_portable(name, c_impl, file, proto) newXS_flags(name, c_impl, file, proto, 0)
74 #else
75 #define newXSproto_portable(name, c_impl, file, proto) (PL_Sv=(SV*)newXS(name, c_impl, file), sv_setpv(PL_Sv, proto), (CV*)PL_Sv)
76 #endif /* !defined(newXS_flags) */
77
78
79 /* INCLUDE:  Including 'XS/MDIChildFrame.xs' from 'MDI.xs' */
80
81
82 /* INCLUDE:  Including 'XS/MDIParentFrame.xs' from 'XS/MDIChildFrame.xs' */
83
84 #if wxPERL_USE_MDI_ARCHITECTURE
85 #include <wx/menu.h>
86 #include "cpp/mdi.h"
87 #include "cpp/overload.h"
88 #define XSubPPtmpAAAA 1
89
90
91 XS(XS_Wx__MDIParentFrame_new); /* prototype to pass -Wmissing-prototypes */
92 XS(XS_Wx__MDIParentFrame_new)
93 {
94 #ifdef dVAR
95     dVAR; dXSARGS;
96 #else
97     dXSARGS;
98 #endif
99     PERL_UNUSED_VAR(cv); /* -W */
100     PERL_UNUSED_VAR(ax); /* -Wall */
101     SP -= items;
102     {
103     BEGIN_OVERLOAD()
104         MATCH_VOIDM_REDISP( newDefault )
105         MATCH_ANY_REDISP( newFull )
106     END_OVERLOAD( "Wx::MDIParentFrame::new" )
107         PUTBACK;
108         return;
109     }
110 }
111
112
113 XS(XS_Wx__MDIParentFrame_newDefault); /* prototype to pass -Wmissing-prototypes */
114 XS(XS_Wx__MDIParentFrame_newDefault)
115 {
116 #ifdef dVAR
117     dVAR; dXSARGS;
118 #else
119     dXSARGS;
120 #endif
121     if (items != 1)
122        croak_xs_usage(cv,  "CLASS");
123     {
124         PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) );
125         wxMDIParentFrame *      RETVAL;
126     RETVAL = new wxPliMDIParentFrame( CLASS );
127         ST(0) = sv_newmortal();
128     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
129
130     }
131     XSRETURN(1);
132 }
133
134
135 XS(XS_Wx__MDIParentFrame_newFull); /* prototype to pass -Wmissing-prototypes */
136 XS(XS_Wx__MDIParentFrame_newFull)
137 {
138 #ifdef dVAR
139     dVAR; dXSARGS;
140 #else
141     dXSARGS;
142 #endif
143     if (items < 4 || items > 8)
144        croak_xs_usage(cv,  "CLASS, parent, id, title, pos = wxDefaultPosition, size = wxDefaultSize, style = wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL, name = wxFrameNameStr");
145     {
146         PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) );
147         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
148         wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) );
149         wxString        title;
150         wxPoint pos;
151         wxSize  size;
152         long    style;
153         wxString        name;
154         wxMDIParentFrame *      RETVAL;
155
156     WXSTRING_INPUT( title, wxString, ST(3) );
157
158         if (items < 5)
159             pos = wxDefaultPosition;
160         else {
161     pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
162         }
163
164         if (items < 6)
165             size = wxDefaultSize;
166         else {
167     size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
168         }
169
170         if (items < 7)
171             style = wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL;
172         else {
173             style = (long)SvIV(ST(6));
174         }
175
176         if (items < 8)
177             name = wxFrameNameStr;
178         else {
179     WXSTRING_INPUT( name, wxString, ST(7) );
180         }
181     RETVAL = new wxPliMDIParentFrame( CLASS );
182     RETVAL->Create( parent, id, title, pos, size, style, name );
183         ST(0) = sv_newmortal();
184     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
185
186     }
187     XSRETURN(1);
188 }
189
190
191 XS(XS_Wx__MDIParentFrame_Create); /* prototype to pass -Wmissing-prototypes */
192 XS(XS_Wx__MDIParentFrame_Create)
193 {
194 #ifdef dVAR
195     dVAR; dXSARGS;
196 #else
197     dXSARGS;
198 #endif
199     if (items < 4 || items > 8)
200        croak_xs_usage(cv,  "THIS, parent, id, title, pos = wxDefaultPosition, size = wxDefaultSize, style = wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL, name = wxFrameNameStr");
201     {
202         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
203         wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) );
204         wxString        title;
205         wxPoint pos;
206         wxSize  size;
207         long    style;
208         wxString        name;
209         wxMDIParentFrame *    THIS = (wxMDIParentFrame *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MDIParentFrame" );
210         bool    RETVAL;
211
212     WXSTRING_INPUT( title, wxString, ST(3) );
213
214         if (items < 5)
215             pos = wxDefaultPosition;
216         else {
217     pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
218         }
219
220         if (items < 6)
221             size = wxDefaultSize;
222         else {
223     size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
224         }
225
226         if (items < 7)
227             style = wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL;
228         else {
229             style = (long)SvIV(ST(6));
230         }
231
232         if (items < 8)
233             name = wxFrameNameStr;
234         else {
235     WXSTRING_INPUT( name, wxString, ST(7) );
236         }
237
238         RETVAL = THIS->Create(parent, id, title, pos, size, style, name);
239         ST(0) = boolSV(RETVAL);
240         sv_2mortal(ST(0));
241     }
242     XSRETURN(1);
243 }
244
245
246 XS(XS_Wx__MDIParentFrame_ActivateNext); /* prototype to pass -Wmissing-prototypes */
247 XS(XS_Wx__MDIParentFrame_ActivateNext)
248 {
249 #ifdef dVAR
250     dVAR; dXSARGS;
251 #else
252     dXSARGS;
253 #endif
254     if (items != 1)
255        croak_xs_usage(cv,  "THIS");
256     {
257         wxMDIParentFrame *    THIS = (wxMDIParentFrame *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MDIParentFrame" );
258
259         THIS->ActivateNext();
260     }
261     XSRETURN_EMPTY;
262 }
263
264
265 XS(XS_Wx__MDIParentFrame_ActivatePrevious); /* prototype to pass -Wmissing-prototypes */
266 XS(XS_Wx__MDIParentFrame_ActivatePrevious)
267 {
268 #ifdef dVAR
269     dVAR; dXSARGS;
270 #else
271     dXSARGS;
272 #endif
273     if (items != 1)
274        croak_xs_usage(cv,  "THIS");
275     {
276         wxMDIParentFrame *    THIS = (wxMDIParentFrame *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MDIParentFrame" );
277
278         THIS->ActivatePrevious();
279     }
280     XSRETURN_EMPTY;
281 }
282
283
284 XS(XS_Wx__MDIParentFrame_ArrangeIcons); /* prototype to pass -Wmissing-prototypes */
285 XS(XS_Wx__MDIParentFrame_ArrangeIcons)
286 {
287 #ifdef dVAR
288     dVAR; dXSARGS;
289 #else
290     dXSARGS;
291 #endif
292     if (items != 1)
293        croak_xs_usage(cv,  "THIS");
294     {
295         wxMDIParentFrame *    THIS = (wxMDIParentFrame *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MDIParentFrame" );
296
297         THIS->ArrangeIcons();
298     }
299     XSRETURN_EMPTY;
300 }
301
302
303 XS(XS_Wx__MDIParentFrame_Cascade); /* prototype to pass -Wmissing-prototypes */
304 XS(XS_Wx__MDIParentFrame_Cascade)
305 {
306 #ifdef dVAR
307     dVAR; dXSARGS;
308 #else
309     dXSARGS;
310 #endif
311     if (items != 1)
312        croak_xs_usage(cv,  "THIS");
313     {
314         wxMDIParentFrame *    THIS = (wxMDIParentFrame *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MDIParentFrame" );
315
316         THIS->Cascade();
317     }
318     XSRETURN_EMPTY;
319 }
320
321
322 XS(XS_Wx__MDIParentFrame_GetActiveChild); /* prototype to pass -Wmissing-prototypes */
323 XS(XS_Wx__MDIParentFrame_GetActiveChild)
324 {
325 #ifdef dVAR
326     dVAR; dXSARGS;
327 #else
328     dXSARGS;
329 #endif
330     if (items != 1)
331        croak_xs_usage(cv,  "THIS");
332     {
333         wxMDIParentFrame *    THIS = (wxMDIParentFrame *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MDIParentFrame" );
334         wxMDIChildFrame *       RETVAL;
335
336         RETVAL = THIS->GetActiveChild();
337         ST(0) = sv_newmortal();
338     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
339
340     }
341     XSRETURN(1);
342 }
343
344 #ifdef __WXUNIVERSAL__
345 #define XSubPPtmpAAAB 1
346
347
348 XS(XS_Wx__MDIParentFrame_GetClientWindow); /* prototype to pass -Wmissing-prototypes */
349 XS(XS_Wx__MDIParentFrame_GetClientWindow)
350 {
351 #ifdef dVAR
352     dVAR; dXSARGS;
353 #else
354     dXSARGS;
355 #endif
356     if (items != 1)
357        croak_xs_usage(cv,  "THIS");
358     {
359         wxMDIParentFrame *    THIS = (wxMDIParentFrame *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MDIParentFrame" );
360         wxGenericMDIClientWindow *      RETVAL;
361
362         RETVAL = THIS->GetClientWindow();
363         ST(0) = sv_newmortal();
364     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
365
366     }
367     XSRETURN(1);
368 }
369
370 #else
371 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
372 #define XSubPPtmpAAAC 1
373
374
375 XS(XS_Wx__MDIParentFrame_GetClientWindow); /* prototype to pass -Wmissing-prototypes */
376 XS(XS_Wx__MDIParentFrame_GetClientWindow)
377 {
378 #ifdef dVAR
379     dVAR; dXSARGS;
380 #else
381     dXSARGS;
382 #endif
383     if (items != 1)
384        croak_xs_usage(cv,  "THIS");
385     {
386         wxMDIParentFrame *    THIS = (wxMDIParentFrame *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MDIParentFrame" );
387         wxMDIClientWindowBase * RETVAL;
388
389         RETVAL = THIS->GetClientWindow();
390         ST(0) = sv_newmortal();
391     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
392
393     }
394     XSRETURN(1);
395 }
396
397 #else
398 #define XSubPPtmpAAAD 1
399
400
401 XS(XS_Wx__MDIParentFrame_GetClientWindow); /* prototype to pass -Wmissing-prototypes */
402 XS(XS_Wx__MDIParentFrame_GetClientWindow)
403 {
404 #ifdef dVAR
405     dVAR; dXSARGS;
406 #else
407     dXSARGS;
408 #endif
409     if (items != 1)
410        croak_xs_usage(cv,  "THIS");
411     {
412         wxMDIParentFrame *    THIS = (wxMDIParentFrame *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MDIParentFrame" );
413         wxMDIClientWindow *     RETVAL;
414
415         RETVAL = THIS->GetClientWindow();
416         ST(0) = sv_newmortal();
417     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
418
419     }
420     XSRETURN(1);
421 }
422
423 #endif
424 #endif
425 #if ( !defined(__WXGTK__) && !defined(__WXMAC__) && !defined(__WXMOTIF__) ) \
426     || defined(__WXPERL_FORCE__)
427 #define XSubPPtmpAAAE 1
428
429
430 XS(XS_Wx__MDIParentFrame_GetWindowMenu); /* prototype to pass -Wmissing-prototypes */
431 XS(XS_Wx__MDIParentFrame_GetWindowMenu)
432 {
433 #ifdef dVAR
434     dVAR; dXSARGS;
435 #else
436     dXSARGS;
437 #endif
438     if (items != 1)
439        croak_xs_usage(cv,  "THIS");
440     {
441         wxMDIParentFrame *    THIS = (wxMDIParentFrame *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MDIParentFrame" );
442         wxMenu *        RETVAL;
443
444         RETVAL = THIS->GetWindowMenu();
445         ST(0) = sv_newmortal();
446     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
447
448     }
449     XSRETURN(1);
450 }
451
452
453 XS(XS_Wx__MDIParentFrame_SetWindowMenu); /* prototype to pass -Wmissing-prototypes */
454 XS(XS_Wx__MDIParentFrame_SetWindowMenu)
455 {
456 #ifdef dVAR
457     dVAR; dXSARGS;
458 #else
459     dXSARGS;
460 #endif
461     if (items != 2)
462        croak_xs_usage(cv,  "THIS, menu");
463     {
464         wxMenu*    menu = (wxMenu *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Menu" );
465         wxMDIParentFrame *    THIS = (wxMDIParentFrame *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MDIParentFrame" );
466
467         THIS->SetWindowMenu(menu);
468     }
469     XSRETURN_EMPTY;
470 }
471
472 #endif
473 #if WXPERL_W_VERSION_GE( 2, 5, 4 )
474 #define XSubPPtmpAAAF 1
475
476
477 XS(XS_Wx__MDIParentFrame_Tile); /* prototype to pass -Wmissing-prototypes */
478 XS(XS_Wx__MDIParentFrame_Tile)
479 {
480 #ifdef dVAR
481     dVAR; dXSARGS;
482 #else
483     dXSARGS;
484 #endif
485     if (items < 1 || items > 2)
486        croak_xs_usage(cv,  "THIS, orient = wxHORIZONTAL");
487     {
488         wxOrientation   orient;
489         wxMDIParentFrame *    THIS = (wxMDIParentFrame *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MDIParentFrame" );
490
491         if (items < 2)
492             orient = wxHORIZONTAL;
493         else {
494             orient = (wxOrientation)SvIV(ST(1));
495         }
496
497         THIS->Tile(orient);
498     }
499     XSRETURN_EMPTY;
500 }
501
502 #else
503 #define XSubPPtmpAAAG 1
504
505
506 XS(XS_Wx__MDIParentFrame_Tile); /* prototype to pass -Wmissing-prototypes */
507 XS(XS_Wx__MDIParentFrame_Tile)
508 {
509 #ifdef dVAR
510     dVAR; dXSARGS;
511 #else
512     dXSARGS;
513 #endif
514     if (items != 1)
515        croak_xs_usage(cv,  "THIS");
516     {
517         wxMDIParentFrame *    THIS = (wxMDIParentFrame *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MDIParentFrame" );
518
519         THIS->Tile();
520     }
521     XSRETURN_EMPTY;
522 }
523
524 #endif
525 #endif
526
527 /* INCLUDE: Returning to 'XS/MDIChildFrame.xs' from 'XS/MDIParentFrame.xs' */
528
529 #if wxPERL_USE_MDI_ARCHITECTURE
530 #include "cpp/mdi.h"
531 #define XSubPPtmpAAAH 1
532
533
534 XS(XS_Wx__MDIChildFrame_new); /* prototype to pass -Wmissing-prototypes */
535 XS(XS_Wx__MDIChildFrame_new)
536 {
537 #ifdef dVAR
538     dVAR; dXSARGS;
539 #else
540     dXSARGS;
541 #endif
542     if (items < 4 || items > 8)
543        croak_xs_usage(cv,  "CLASS, parent, id, title, pos = wxDefaultPosition, size = wxDefaultSize, style = wxDEFAULT_FRAME_STYLE, name = wxFrameNameStr");
544     {
545         wxMDIParentFrame*    parent = (wxMDIParentFrame *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::MDIParentFrame" );
546         wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) );
547         wxString        title;
548         wxPoint pos;
549         wxSize  size;
550         long    style;
551         wxString        name;
552         char *  CLASS = (char *)SvPV_nolen(ST(0));
553         wxMDIChildFrame *       RETVAL;
554
555     WXSTRING_INPUT( title, wxString, ST(3) );
556
557         if (items < 5)
558             pos = wxDefaultPosition;
559         else {
560     pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
561         }
562
563         if (items < 6)
564             size = wxDefaultSize;
565         else {
566     size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
567         }
568
569         if (items < 7)
570             style = wxDEFAULT_FRAME_STYLE;
571         else {
572             style = (long)SvIV(ST(6));
573         }
574
575         if (items < 8)
576             name = wxFrameNameStr;
577         else {
578     WXSTRING_INPUT( name, wxString, ST(7) );
579         }
580     RETVAL = new wxPliMDIChildFrame( CLASS, parent, id, title, pos, size,
581         style, name );
582         ST(0) = sv_newmortal();
583     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
584
585     }
586     XSRETURN(1);
587 }
588
589
590 XS(XS_Wx__MDIChildFrame_Activate); /* prototype to pass -Wmissing-prototypes */
591 XS(XS_Wx__MDIChildFrame_Activate)
592 {
593 #ifdef dVAR
594     dVAR; dXSARGS;
595 #else
596     dXSARGS;
597 #endif
598     if (items != 1)
599        croak_xs_usage(cv,  "THIS");
600     {
601         wxMDIChildFrame *    THIS = (wxMDIChildFrame *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MDIChildFrame" );
602
603         THIS->Activate();
604     }
605     XSRETURN_EMPTY;
606 }
607
608 #if !defined(__WXGTK__) || defined(__WXPERL_FORCE__)
609 #define XSubPPtmpAAAI 1
610
611
612 XS(XS_Wx__MDIChildFrame_Maximize); /* prototype to pass -Wmissing-prototypes */
613 XS(XS_Wx__MDIChildFrame_Maximize)
614 {
615 #ifdef dVAR
616     dVAR; dXSARGS;
617 #else
618     dXSARGS;
619 #endif
620     if (items != 1)
621        croak_xs_usage(cv,  "THIS");
622     {
623         wxMDIChildFrame *    THIS = (wxMDIChildFrame *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MDIChildFrame" );
624
625         THIS->Maximize();
626     }
627     XSRETURN_EMPTY;
628 }
629
630 #endif
631
632 XS(XS_Wx__MDIChildFrame_Restore); /* prototype to pass -Wmissing-prototypes */
633 XS(XS_Wx__MDIChildFrame_Restore)
634 {
635 #ifdef dVAR
636     dVAR; dXSARGS;
637 #else
638     dXSARGS;
639 #endif
640     if (items != 1)
641        croak_xs_usage(cv,  "THIS");
642     {
643         wxMDIChildFrame *    THIS = (wxMDIChildFrame *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MDIChildFrame" );
644
645         THIS->Restore();
646     }
647     XSRETURN_EMPTY;
648 }
649
650 #endif
651
652 /* INCLUDE: Returning to 'MDI.xs' from 'XS/MDIChildFrame.xs' */
653
654 #if defined(__WXMSW__)
655 #undef XS
656 #define XS( name ) WXXS( name )
657 #endif
658 #ifdef __cplusplus
659 extern "C"
660 #endif
661 XS(boot_Wx__MDI); /* prototype to pass -Wmissing-prototypes */
662 XS(boot_Wx__MDI)
663 {
664 #ifdef dVAR
665     dVAR; dXSARGS;
666 #else
667     dXSARGS;
668 #endif
669 #if (PERL_REVISION == 5 && PERL_VERSION < 9)
670     char* file = __FILE__;
671 #else
672     const char* file = __FILE__;
673 #endif
674
675     PERL_UNUSED_VAR(cv); /* -W */
676     PERL_UNUSED_VAR(items); /* -W */
677     XS_VERSION_BOOTCHECK ;
678
679 #if XSubPPtmpAAAA
680         newXS("Wx::MDIParentFrame::new", XS_Wx__MDIParentFrame_new, file);
681         newXS("Wx::MDIParentFrame::newDefault", XS_Wx__MDIParentFrame_newDefault, file);
682         newXS("Wx::MDIParentFrame::newFull", XS_Wx__MDIParentFrame_newFull, file);
683         newXS("Wx::MDIParentFrame::Create", XS_Wx__MDIParentFrame_Create, file);
684         newXS("Wx::MDIParentFrame::ActivateNext", XS_Wx__MDIParentFrame_ActivateNext, file);
685         newXS("Wx::MDIParentFrame::ActivatePrevious", XS_Wx__MDIParentFrame_ActivatePrevious, file);
686         newXS("Wx::MDIParentFrame::ArrangeIcons", XS_Wx__MDIParentFrame_ArrangeIcons, file);
687         newXS("Wx::MDIParentFrame::Cascade", XS_Wx__MDIParentFrame_Cascade, file);
688         newXS("Wx::MDIParentFrame::GetActiveChild", XS_Wx__MDIParentFrame_GetActiveChild, file);
689 #if XSubPPtmpAAAB
690         newXS("Wx::MDIParentFrame::GetClientWindow", XS_Wx__MDIParentFrame_GetClientWindow, file);
691 #endif
692 #if XSubPPtmpAAAC
693         newXS("Wx::MDIParentFrame::GetClientWindow", XS_Wx__MDIParentFrame_GetClientWindow, file);
694 #endif
695 #if XSubPPtmpAAAD
696         newXS("Wx::MDIParentFrame::GetClientWindow", XS_Wx__MDIParentFrame_GetClientWindow, file);
697 #endif
698 #if XSubPPtmpAAAE
699         newXS("Wx::MDIParentFrame::GetWindowMenu", XS_Wx__MDIParentFrame_GetWindowMenu, file);
700         newXS("Wx::MDIParentFrame::SetWindowMenu", XS_Wx__MDIParentFrame_SetWindowMenu, file);
701 #endif
702 #if XSubPPtmpAAAF
703         newXS("Wx::MDIParentFrame::Tile", XS_Wx__MDIParentFrame_Tile, file);
704 #endif
705 #if XSubPPtmpAAAG
706         newXS("Wx::MDIParentFrame::Tile", XS_Wx__MDIParentFrame_Tile, file);
707 #endif
708 #endif
709 #if XSubPPtmpAAAH
710         newXS("Wx::MDIChildFrame::new", XS_Wx__MDIChildFrame_new, file);
711         newXS("Wx::MDIChildFrame::Activate", XS_Wx__MDIChildFrame_Activate, file);
712 #if XSubPPtmpAAAI
713         newXS("Wx::MDIChildFrame::Maximize", XS_Wx__MDIChildFrame_Maximize, file);
714 #endif
715         newXS("Wx::MDIChildFrame::Restore", XS_Wx__MDIChildFrame_Restore, file);
716 #endif
717
718     /* Initialisation Section */
719
720   INIT_PLI_HELPERS( wx_pli_helpers );
721
722 #if XSubPPtmpAAAA
723 #if XSubPPtmpAAAB
724 #endif
725 #if XSubPPtmpAAAC
726 #endif
727 #if XSubPPtmpAAAD
728 #endif
729 #if XSubPPtmpAAAE
730 #endif
731 #if XSubPPtmpAAAF
732 #endif
733 #if XSubPPtmpAAAG
734 #endif
735 #endif
736 #if XSubPPtmpAAAH
737 #if XSubPPtmpAAAI
738 #endif
739 #endif
740
741     /* End of Initialisation Section */
742
743 #if (PERL_REVISION == 5 && PERL_VERSION >= 9)
744   if (PL_unitcheckav)
745        call_list(PL_scopestack_ix, PL_unitcheckav);
746 #endif
747     XSRETURN_YES;
748 }
749