2 * This file was generated automatically by ExtUtils::ParseXS version 2.2202 from the
3 * contents of XRC.xs. Do not edit this file, edit XRC.xs instead.
5 * ANY CHANGES MADE HERE WILL BE LOST!
9 /////////////////////////////////////////////////////////////////////////////
10 // Name: ext/xrc/XRC.xs
11 // Purpose: XS for wxWidgets XML Resources
12 // Author: Mattia Barbon
14 // Created: 27/07/2001
15 // RCS-ID: $Id: XRC.xs 2700 2009-12-13 11:25:50Z mbarbon $
16 // Copyright: (c) 2001-2004, 2006, 2008-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 /////////////////////////////////////////////////////////////////////////////
21 #define PERL_NO_GET_CONTEXT
23 #include "cpp/wxapi.h"
24 #include "cpp/xr_constants.cpp"
28 #ifndef PERL_UNUSED_VAR
29 # define PERL_UNUSED_VAR(var) if (0) var = var
32 #ifndef PERL_ARGS_ASSERT_CROAK_XS_USAGE
33 #define PERL_ARGS_ASSERT_CROAK_XS_USAGE assert(cv); assert(params)
35 /* prototype to pass -Wmissing-prototypes */
37 S_croak_xs_usage(pTHX_ const CV *const cv, const char *const params);
40 S_croak_xs_usage(pTHX_ const CV *const cv, const char *const params)
42 const GV *const gv = CvGV(cv);
44 PERL_ARGS_ASSERT_CROAK_XS_USAGE;
47 const char *const gvname = GvNAME(gv);
48 const HV *const stash = GvSTASH(gv);
49 const char *const hvname = stash ? HvNAME(stash) : NULL;
52 Perl_croak(aTHX_ "Usage: %s::%s(%s)", hvname, gvname, params);
54 Perl_croak(aTHX_ "Usage: %s(%s)", gvname, params);
56 /* Pants. I don't think that it should be possible to get here. */
57 Perl_croak(aTHX_ "Usage: CODE(0x%"UVxf")(%s)", PTR2UV(cv), params);
60 #undef PERL_ARGS_ASSERT_CROAK_XS_USAGE
62 #ifdef PERL_IMPLICIT_CONTEXT
63 #define croak_xs_usage(a,b) S_croak_xs_usage(aTHX_ a,b)
65 #define croak_xs_usage S_croak_xs_usage
70 /* NOTE: the prototype of newXSproto() is different in versions of perls,
71 * so we define a portable version of newXSproto()
74 #define newXSproto_portable(name, c_impl, file, proto) newXS_flags(name, c_impl, file, proto, 0)
76 #define newXSproto_portable(name, c_impl, file, proto) (PL_Sv=(SV*)newXS(name, c_impl, file), sv_setpv(PL_Sv, proto), (CV*)PL_Sv)
77 #endif /* !defined(newXS_flags) */
80 /* INCLUDE: Including 'XS/XmlResource.xs' from 'XRC.xs' */
82 #include <wx/xrc/xmlres.h>
84 #include <wx/dialog.h>
86 #include <wx/toolbar.h>
88 #include "cpp/overload.h"
89 #if WXPERL_W_VERSION_GE( 2, 7, 1 )
90 #define XSubPPtmpAAAA 1
93 XS(XS_Wx__XmlResource_new); /* prototype to pass -Wmissing-prototypes */
94 XS(XS_Wx__XmlResource_new)
101 if (items < 1 || items > 3)
102 croak_xs_usage(cv, "CLASS, flags = wxXRC_USE_LOCALE, domain = wxEmptyString");
106 char * CLASS = (char *)SvPV_nolen(ST(0));
107 wxXmlResource * RETVAL;
110 flags = wxXRC_USE_LOCALE;
112 flags = (int)SvIV(ST(1));
116 domain = wxEmptyString;
118 WXSTRING_INPUT( domain, wxString, ST(2) );
121 RETVAL = new wxXmlResource(flags, domain);
122 ST(0) = sv_newmortal();
123 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::XmlResource" );
124 wxPli_thread_sv_register( aTHX_ "Wx::XmlResource", RETVAL, ST(0) );
131 #define XSubPPtmpAAAB 1
134 XS(XS_Wx__XmlResource_new); /* prototype to pass -Wmissing-prototypes */
135 XS(XS_Wx__XmlResource_new)
142 if (items < 1 || items > 2)
143 croak_xs_usage(cv, "CLASS, flags = wxXRC_USE_LOCALE");
146 char * CLASS = (char *)SvPV_nolen(ST(0));
147 wxXmlResource * RETVAL;
150 flags = wxXRC_USE_LOCALE;
152 flags = (int)SvIV(ST(1));
155 RETVAL = new wxXmlResource(flags);
156 ST(0) = sv_newmortal();
157 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::XmlResource" );
158 wxPli_thread_sv_register( aTHX_ "Wx::XmlResource", RETVAL, ST(0) );
166 XS(XS_Wx__XmlResource_CLONE); /* prototype to pass -Wmissing-prototypes */
167 XS(XS_Wx__XmlResource_CLONE)
175 croak_xs_usage(cv, "CLASS");
177 char * CLASS = (char *)SvPV_nolen(ST(0));
178 wxPli_thread_sv_clone( aTHX_ CLASS, (wxPliCloneSV)wxPli_detach_object );
184 XS(XS_Wx__XmlResource_DESTROY); /* prototype to pass -Wmissing-prototypes */
185 XS(XS_Wx__XmlResource_DESTROY)
193 croak_xs_usage(cv, "THIS");
195 wxXmlResource * THIS = (wxXmlResource *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlResource" );
196 wxPli_thread_sv_unregister( aTHX_ "Wx::XmlResource", THIS, ST(0) );
203 XS(XS_Wx__XmlResource_Load); /* prototype to pass -Wmissing-prototypes */
204 XS(XS_Wx__XmlResource_Load)
212 croak_xs_usage(cv, "THIS, filemask");
215 wxXmlResource * THIS = (wxXmlResource *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlResource" );
218 WXSTRING_INPUT( filemask, wxString, ST(1) );
220 RETVAL = THIS->Load(filemask);
221 ST(0) = boolSV(RETVAL);
227 #if WXPERL_W_VERSION_GE( 2, 6, 3 )
228 #define XSubPPtmpAAAC 1
231 XS(XS_Wx__XmlResource_Unload); /* prototype to pass -Wmissing-prototypes */
232 XS(XS_Wx__XmlResource_Unload)
240 croak_xs_usage(cv, "THIS, filemask");
243 wxXmlResource * THIS = (wxXmlResource *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlResource" );
246 WXSTRING_INPUT( filemask, wxString, ST(1) );
248 RETVAL = THIS->Unload(filemask);
249 ST(0) = boolSV(RETVAL);
257 XS(XS_Wx__XmlResource_InitAllHandlers); /* prototype to pass -Wmissing-prototypes */
258 XS(XS_Wx__XmlResource_InitAllHandlers)
266 croak_xs_usage(cv, "THIS");
268 wxXmlResource * THIS = (wxXmlResource *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlResource" );
270 THIS->InitAllHandlers();
276 XS(XS_Wx__XmlResource_AddHandler); /* prototype to pass -Wmissing-prototypes */
277 XS(XS_Wx__XmlResource_AddHandler)
285 croak_xs_usage(cv, "THIS, handler");
287 wxXmlResourceHandler* handler = (wxXmlResourceHandler *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::XmlResourceHandler" );
288 wxXmlResource * THIS = (wxXmlResource *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlResource" );
290 THIS->AddHandler(handler);
296 XS(XS_Wx__XmlResource_ClearHandlers); /* prototype to pass -Wmissing-prototypes */
297 XS(XS_Wx__XmlResource_ClearHandlers)
305 croak_xs_usage(cv, "THIS");
307 wxXmlResource * THIS = (wxXmlResource *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlResource" );
309 THIS->ClearHandlers();
315 XS(XS_Wx__XmlResource_LoadMenu); /* prototype to pass -Wmissing-prototypes */
316 XS(XS_Wx__XmlResource_LoadMenu)
324 croak_xs_usage(cv, "THIS, name");
327 wxXmlResource * THIS = (wxXmlResource *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlResource" );
330 WXSTRING_INPUT( name, wxString, ST(1) );
332 RETVAL = THIS->LoadMenu(name);
333 ST(0) = sv_newmortal();
334 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
341 XS(XS_Wx__XmlResource_LoadMenuBar); /* prototype to pass -Wmissing-prototypes */
342 XS(XS_Wx__XmlResource_LoadMenuBar)
350 croak_xs_usage(cv, "THIS, name");
353 wxXmlResource * THIS = (wxXmlResource *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlResource" );
356 WXSTRING_INPUT( name, wxString, ST(1) );
358 RETVAL = THIS->LoadMenuBar(name);
359 ST(0) = sv_newmortal();
360 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
367 XS(XS_Wx__XmlResource_LoadMenuBarOnParent); /* prototype to pass -Wmissing-prototypes */
368 XS(XS_Wx__XmlResource_LoadMenuBarOnParent)
376 croak_xs_usage(cv, "THIS, parent, name");
378 wxWindow* parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
380 wxXmlResource * THIS = (wxXmlResource *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlResource" );
383 WXSTRING_INPUT( name, wxString, ST(2) );
384 RETVAL = THIS->LoadMenuBar( parent, name );
385 ST(0) = sv_newmortal();
386 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
393 XS(XS_Wx__XmlResource_LoadToolBar); /* prototype to pass -Wmissing-prototypes */
394 XS(XS_Wx__XmlResource_LoadToolBar)
402 croak_xs_usage(cv, "THIS, parent, name");
404 wxWindow* parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
406 wxXmlResource * THIS = (wxXmlResource *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlResource" );
409 WXSTRING_INPUT( name, wxString, ST(2) );
411 RETVAL = THIS->LoadToolBar(parent, name);
412 ST(0) = sv_newmortal();
413 wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
420 XS(XS_Wx__XmlResource_LoadDialog); /* prototype to pass -Wmissing-prototypes */
421 XS(XS_Wx__XmlResource_LoadDialog)
429 croak_xs_usage(cv, "THIS, parent, name");
431 wxWindow* parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
433 wxXmlResource * THIS = (wxXmlResource *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlResource" );
436 WXSTRING_INPUT( name, wxString, ST(2) );
438 RETVAL = THIS->LoadDialog(parent, name);
439 ST(0) = sv_newmortal();
440 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
447 XS(XS_Wx__XmlResource_LoadOnDialog); /* prototype to pass -Wmissing-prototypes */
448 XS(XS_Wx__XmlResource_LoadOnDialog)
456 croak_xs_usage(cv, "THIS, dialog, parent, name");
458 wxDialog* dialog = (wxDialog *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Dialog" );
459 wxWindow* parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Window" );
461 wxXmlResource * THIS = (wxXmlResource *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlResource" );
464 WXSTRING_INPUT( name, wxString, ST(3) );
465 RETVAL = THIS->LoadDialog( dialog, parent, name );
466 ST(0) = boolSV(RETVAL);
473 XS(XS_Wx__XmlResource_LoadPanel); /* prototype to pass -Wmissing-prototypes */
474 XS(XS_Wx__XmlResource_LoadPanel)
482 croak_xs_usage(cv, "THIS, parent, name");
484 wxWindow* parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
486 wxXmlResource * THIS = (wxXmlResource *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlResource" );
489 WXSTRING_INPUT( name, wxString, ST(2) );
491 RETVAL = THIS->LoadPanel(parent, name);
492 ST(0) = sv_newmortal();
493 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
500 XS(XS_Wx__XmlResource_LoadOnPanel); /* prototype to pass -Wmissing-prototypes */
501 XS(XS_Wx__XmlResource_LoadOnPanel)
509 croak_xs_usage(cv, "THIS, panel, parent, name");
511 wxPanel* panel = (wxPanel *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Panel" );
512 wxWindow* parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Window" );
514 wxXmlResource * THIS = (wxXmlResource *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlResource" );
517 WXSTRING_INPUT( name, wxString, ST(3) );
518 RETVAL = THIS->LoadPanel( panel, parent, name );
519 ST(0) = boolSV(RETVAL);
526 XS(XS_Wx__XmlResource_LoadFrame); /* prototype to pass -Wmissing-prototypes */
527 XS(XS_Wx__XmlResource_LoadFrame)
535 croak_xs_usage(cv, "THIS, ...");
536 PERL_UNUSED_VAR(ax); /* -Wall */
539 wxXmlResource * THIS = (wxXmlResource *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlResource" );
541 MATCH_REDISP( wxPliOvl_wfrm_wwin_s, LoadOnFrame )
542 MATCH_REDISP( wxPliOvl_wwin_s, LoadFrame2 )
543 END_OVERLOAD( "Wx::XmlResource::LoadFrame" )
550 XS(XS_Wx__XmlResource_LoadFrame2); /* prototype to pass -Wmissing-prototypes */
551 XS(XS_Wx__XmlResource_LoadFrame2)
559 croak_xs_usage(cv, "THIS, parent, name");
561 wxWindow* parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
563 wxXmlResource * THIS = (wxXmlResource *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlResource" );
566 WXSTRING_INPUT( name, wxString, ST(2) );
567 RETVAL = THIS->LoadFrame( parent, name );
568 ST(0) = sv_newmortal();
569 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
576 XS(XS_Wx__XmlResource_LoadOnFrame); /* prototype to pass -Wmissing-prototypes */
577 XS(XS_Wx__XmlResource_LoadOnFrame)
585 croak_xs_usage(cv, "THIS, frame, parent, name");
587 wxFrame* frame = (wxFrame *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Frame" );
588 wxWindow* parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Window" );
590 wxXmlResource * THIS = (wxXmlResource *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlResource" );
593 WXSTRING_INPUT( name, wxString, ST(3) );
594 RETVAL = THIS->LoadFrame( frame, parent, name );
595 ST(0) = boolSV(RETVAL);
602 XS(XS_Wx__XmlResource_LoadBitmap); /* prototype to pass -Wmissing-prototypes */
603 XS(XS_Wx__XmlResource_LoadBitmap)
611 croak_xs_usage(cv, "THIS, name");
614 wxXmlResource * THIS = (wxXmlResource *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlResource" );
617 WXSTRING_INPUT( name, wxString, ST(1) );
618 RETVAL = new wxBitmap( THIS->LoadBitmap( name ) );
619 ST(0) = sv_newmortal();
620 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
621 wxPli_thread_sv_register( aTHX_ "Wx::Bitmap", RETVAL, ST(0) );
628 XS(XS_Wx__XmlResource_LoadIcon); /* prototype to pass -Wmissing-prototypes */
629 XS(XS_Wx__XmlResource_LoadIcon)
637 croak_xs_usage(cv, "THIS, name");
640 wxXmlResource * THIS = (wxXmlResource *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlResource" );
643 WXSTRING_INPUT( name, wxString, ST(1) );
644 RETVAL = new wxIcon( THIS->LoadIcon( name ) );
645 ST(0) = sv_newmortal();
646 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
647 wxPli_thread_sv_register( aTHX_ "Wx::Icon", RETVAL, ST(0) );
654 XS(XS_Wx__XmlResource_AttachUnknownControl); /* prototype to pass -Wmissing-prototypes */
655 XS(XS_Wx__XmlResource_AttachUnknownControl)
662 if (items < 3 || items > 4)
663 croak_xs_usage(cv, "THIS, name, control, parent = 0");
666 wxWindow* control = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Window" );
668 wxXmlResource * THIS = (wxXmlResource *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlResource" );
671 WXSTRING_INPUT( name, wxString, ST(1) );
676 parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::Window" );
679 RETVAL = THIS->AttachUnknownControl(name, control, parent);
680 ST(0) = boolSV(RETVAL);
687 XS(XS_Wx__XmlResource_GetFlags); /* prototype to pass -Wmissing-prototypes */
688 XS(XS_Wx__XmlResource_GetFlags)
696 croak_xs_usage(cv, "THIS");
698 wxXmlResource * THIS = (wxXmlResource *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlResource" );
702 RETVAL = THIS->GetFlags();
703 XSprePUSH; PUSHi((IV)RETVAL);
709 XS(XS_Wx__XmlResource_SetFlags); /* prototype to pass -Wmissing-prototypes */
710 XS(XS_Wx__XmlResource_SetFlags)
718 croak_xs_usage(cv, "THIS, flags");
720 int flags = (int)SvIV(ST(1));
721 wxXmlResource * THIS = (wxXmlResource *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlResource" );
723 THIS->SetFlags(flags);
728 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
729 #define XSubPPtmpAAAD 1
732 XS(XS_Wx__XmlResource_GetXRCID); /* prototype to pass -Wmissing-prototypes */
733 XS(XS_Wx__XmlResource_GetXRCID)
740 if (items < 1 || items > 2)
741 croak_xs_usage(cv, "str_id, value_if_not_found = wxID_NONE");
744 int value_if_not_found;
748 WXCHAR_INPUT( str_id, wxChar*, ST(0) );
751 value_if_not_found = wxID_NONE;
753 value_if_not_found = (int)SvIV(ST(1));
755 RETVAL = wxXmlResource::GetXRCID( str_id, value_if_not_found );
756 XSprePUSH; PUSHi((IV)RETVAL);
762 #define XSubPPtmpAAAE 1
765 XS(XS_Wx__XmlResource_GetXRCID); /* prototype to pass -Wmissing-prototypes */
766 XS(XS_Wx__XmlResource_GetXRCID)
774 croak_xs_usage(cv, "str_id");
780 WXCHAR_INPUT( str_id, wxChar*, ST(0) );
781 RETVAL = wxXmlResource::GetXRCID( str_id );
782 XSprePUSH; PUSHi((IV)RETVAL);
789 XS(XS_Wx__XmlResource_GetVersion); /* prototype to pass -Wmissing-prototypes */
790 XS(XS_Wx__XmlResource_GetVersion)
798 croak_xs_usage(cv, "THIS");
800 wxXmlResource * THIS = (wxXmlResource *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlResource" );
804 RETVAL = THIS->GetVersion();
805 XSprePUSH; PUSHi((IV)RETVAL);
811 XS(XS_Wx__XmlResource_CompareVersion); /* prototype to pass -Wmissing-prototypes */
812 XS(XS_Wx__XmlResource_CompareVersion)
820 croak_xs_usage(cv, "THIS, major, minor, release, revision");
822 int major = (int)SvIV(ST(1));
823 int minor = (int)SvIV(ST(2));
824 int release = (int)SvIV(ST(3));
825 int revision = (int)SvIV(ST(4));
826 wxXmlResource * THIS = (wxXmlResource *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlResource" );
830 RETVAL = THIS->CompareVersion(major, minor, release, revision);
831 XSprePUSH; PUSHi((IV)RETVAL);
837 XS(XS_Wx__XmlResource_AddSubclassFactory); /* prototype to pass -Wmissing-prototypes */
838 XS(XS_Wx__XmlResource_AddSubclassFactory)
846 croak_xs_usage(cv, "factory");
848 wxXmlSubclassFactory * factory = (wxXmlSubclassFactory *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlSubclassFactory" );
849 wxPli_detach_object( aTHX_ ST(0) ); // avoid destructor
850 wxXmlResource::AddSubclassFactory( factory );
855 #if WXPERL_W_VERSION_GE( 2, 7, 1 )
856 #define XSubPPtmpAAAF 1
859 XS(XS_Wx__XmlResource_GetDomain); /* prototype to pass -Wmissing-prototypes */
860 XS(XS_Wx__XmlResource_GetDomain)
868 croak_xs_usage(cv, "THIS");
870 wxXmlResource * THIS = (wxXmlResource *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlResource" );
871 const wxChar * RETVAL;
873 RETVAL = THIS->GetDomain();
874 ST(0) = sv_newmortal();
875 WXCHAR_OUTPUT( RETVAL, ST(0) );
882 XS(XS_Wx__XmlResource_SetDomain); /* prototype to pass -Wmissing-prototypes */
883 XS(XS_Wx__XmlResource_SetDomain)
891 croak_xs_usage(cv, "THIS, domain");
893 wxXmlResource * THIS = (wxXmlResource *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlResource" );
894 const wxChar* domain;
896 WXCHAR_INPUT( domain, wxChar*, ST(1) );
898 THIS->SetDomain(domain);
905 /* INCLUDE: Returning to 'XRC.xs' from 'XS/XmlResource.xs' */
908 /* INCLUDE: Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t ../../typemap.xsp XS/XmlSubclassFactory.xsp |' from 'XRC.xs' */
910 #include "cpp/factory.h"
912 XS(XS_Wx__XmlSubclassFactory_new); /* prototype to pass -Wmissing-prototypes */
913 XS(XS_Wx__XmlSubclassFactory_new)
921 croak_xs_usage(cv, "CLASS");
923 char * CLASS = (char *)SvPV_nolen(ST(0));
924 wxXmlSubclassFactory * RETVAL;
925 RETVAL = new wxPliXmlSubclassFactory( CLASS );
926 ST(0) = sv_newmortal();
927 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::XmlSubclassFactory" );
934 /* INCLUDE: Returning to 'XRC.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t ../../typemap.xsp XS/XmlSubclassFactory.xsp |' */
937 /* INCLUDE: Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t ../../typemap.xsp XS/XmlDocument.xsp |' from 'XRC.xs' */
940 XS(XS_Wx__XmlDocument_IsOk); /* prototype to pass -Wmissing-prototypes */
941 XS(XS_Wx__XmlDocument_IsOk)
949 croak_xs_usage(cv, "THIS");
951 wxXmlDocument * THIS = (wxXmlDocument *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlDocument" );
954 RETVAL = THIS->IsOk();
955 ST(0) = boolSV(RETVAL);
962 XS(XS_Wx__XmlDocument_GetRoot); /* prototype to pass -Wmissing-prototypes */
963 XS(XS_Wx__XmlDocument_GetRoot)
971 croak_xs_usage(cv, "THIS");
973 wxXmlDocument * THIS = (wxXmlDocument *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlDocument" );
976 RETVAL = THIS->GetRoot();
977 ST(0) = sv_newmortal();
978 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::XmlNode" );
985 XS(XS_Wx__XmlDocument_GetVersion); /* prototype to pass -Wmissing-prototypes */
986 XS(XS_Wx__XmlDocument_GetVersion)
994 croak_xs_usage(cv, "THIS");
996 wxXmlDocument * THIS = (wxXmlDocument *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlDocument" );
999 RETVAL = THIS->GetVersion();
1000 ST(0) = sv_newmortal();
1001 WXSTRING_OUTPUT( RETVAL, ST(0) );
1008 XS(XS_Wx__XmlDocument_GetFileEncoding); /* prototype to pass -Wmissing-prototypes */
1009 XS(XS_Wx__XmlDocument_GetFileEncoding)
1017 croak_xs_usage(cv, "THIS");
1019 wxXmlDocument * THIS = (wxXmlDocument *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlDocument" );
1022 RETVAL = THIS->GetFileEncoding();
1023 ST(0) = sv_newmortal();
1024 WXSTRING_OUTPUT( RETVAL, ST(0) );
1031 XS(XS_Wx__XmlDocument_SetRoot); /* prototype to pass -Wmissing-prototypes */
1032 XS(XS_Wx__XmlDocument_SetRoot)
1040 croak_xs_usage(cv, "THIS, node");
1042 wxXmlNode* node = (wxXmlNode *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::XmlNode" );
1043 wxXmlDocument * THIS = (wxXmlDocument *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlDocument" );
1045 THIS->SetRoot(node);
1051 XS(XS_Wx__XmlDocument_SetVersion); /* prototype to pass -Wmissing-prototypes */
1052 XS(XS_Wx__XmlDocument_SetVersion)
1060 croak_xs_usage(cv, "THIS, version");
1063 wxXmlDocument * THIS = (wxXmlDocument *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlDocument" );
1065 WXSTRING_INPUT( version, wxString, ST(1) );
1067 THIS->SetVersion(version);
1073 XS(XS_Wx__XmlDocument_SetFileEncoding); /* prototype to pass -Wmissing-prototypes */
1074 XS(XS_Wx__XmlDocument_SetFileEncoding)
1082 croak_xs_usage(cv, "THIS, encoding");
1085 wxXmlDocument * THIS = (wxXmlDocument *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlDocument" );
1087 WXSTRING_INPUT( encoding, wxString, ST(1) );
1089 THIS->SetFileEncoding(encoding);
1095 #define XSubPPtmpAAAG 1
1098 XS(XS_Wx__XmlDocument_GetEncoding); /* prototype to pass -Wmissing-prototypes */
1099 XS(XS_Wx__XmlDocument_GetEncoding)
1107 croak_xs_usage(cv, "THIS");
1109 wxXmlDocument * THIS = (wxXmlDocument *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlDocument" );
1112 RETVAL = THIS->GetEncoding();
1113 ST(0) = sv_newmortal();
1114 WXSTRING_OUTPUT( RETVAL, ST(0) );
1121 XS(XS_Wx__XmlDocument_SetEncoding); /* prototype to pass -Wmissing-prototypes */
1122 XS(XS_Wx__XmlDocument_SetEncoding)
1130 croak_xs_usage(cv, "THIS, enc");
1133 wxXmlDocument * THIS = (wxXmlDocument *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlDocument" );
1135 WXSTRING_INPUT( enc, wxString, ST(1) );
1137 THIS->SetEncoding(enc);
1144 /* INCLUDE: Returning to 'XRC.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t ../../typemap.xsp XS/XmlDocument.xsp |' */
1147 /* INCLUDE: Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t ../../typemap.xsp XS/XmlNode.xsp |' from 'XRC.xs' */
1149 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
1150 #define XSubPPtmpAAAH 1
1153 XS(XS_Wx__XmlAttribute_new); /* prototype to pass -Wmissing-prototypes */
1154 XS(XS_Wx__XmlAttribute_new)
1161 if (items < 1 || items > 4)
1162 croak_xs_usage(cv, "CLASS, name = wxEmptyString, value = wxEmptyString, next = NULL");
1166 wxXmlAttribute* next;
1167 char * CLASS = (char *)SvPV_nolen(ST(0));
1168 wxXmlAttribute * RETVAL;
1171 name = wxEmptyString;
1173 WXSTRING_INPUT( name, wxString, ST(1) );
1177 value = wxEmptyString;
1179 WXSTRING_INPUT( value, wxString, ST(2) );
1185 next = (wxXmlAttribute *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::XmlAttribute" );
1188 RETVAL = new wxXmlAttribute(name, value, next);
1189 ST(0) = sv_newmortal();
1190 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::XmlAttribute" );
1197 XS(XS_Wx__XmlAttribute_GetName); /* prototype to pass -Wmissing-prototypes */
1198 XS(XS_Wx__XmlAttribute_GetName)
1206 croak_xs_usage(cv, "THIS");
1208 wxXmlAttribute * THIS = (wxXmlAttribute *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlAttribute" );
1211 RETVAL = THIS->GetName();
1212 ST(0) = sv_newmortal();
1213 WXSTRING_OUTPUT( RETVAL, ST(0) );
1220 XS(XS_Wx__XmlAttribute_GetValue); /* prototype to pass -Wmissing-prototypes */
1221 XS(XS_Wx__XmlAttribute_GetValue)
1229 croak_xs_usage(cv, "THIS");
1231 wxXmlAttribute * THIS = (wxXmlAttribute *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlAttribute" );
1234 RETVAL = THIS->GetValue();
1235 ST(0) = sv_newmortal();
1236 WXSTRING_OUTPUT( RETVAL, ST(0) );
1243 XS(XS_Wx__XmlAttribute_GetNext); /* prototype to pass -Wmissing-prototypes */
1244 XS(XS_Wx__XmlAttribute_GetNext)
1252 croak_xs_usage(cv, "THIS");
1254 wxXmlAttribute * THIS = (wxXmlAttribute *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlAttribute" );
1255 wxXmlAttribute * RETVAL;
1257 RETVAL = THIS->GetNext();
1258 ST(0) = sv_newmortal();
1259 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::XmlAttribute" );
1266 XS(XS_Wx__XmlAttribute_SetName); /* prototype to pass -Wmissing-prototypes */
1267 XS(XS_Wx__XmlAttribute_SetName)
1275 croak_xs_usage(cv, "THIS, name");
1278 wxXmlAttribute * THIS = (wxXmlAttribute *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlAttribute" );
1280 WXSTRING_INPUT( name, wxString, ST(1) );
1282 THIS->SetName(name);
1288 XS(XS_Wx__XmlAttribute_SetValue); /* prototype to pass -Wmissing-prototypes */
1289 XS(XS_Wx__XmlAttribute_SetValue)
1297 croak_xs_usage(cv, "THIS, value");
1300 wxXmlAttribute * THIS = (wxXmlAttribute *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlAttribute" );
1302 WXSTRING_INPUT( value, wxString, ST(1) );
1304 THIS->SetValue(value);
1310 XS(XS_Wx__XmlAttribute_SetNext); /* prototype to pass -Wmissing-prototypes */
1311 XS(XS_Wx__XmlAttribute_SetNext)
1319 croak_xs_usage(cv, "THIS, next");
1321 wxXmlAttribute* next = (wxXmlAttribute *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::XmlAttribute" );
1322 wxXmlAttribute * THIS = (wxXmlAttribute *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlAttribute" );
1324 THIS->SetNext(next);
1330 XS(XS_Wx__XmlAttribute_Destroy); /* prototype to pass -Wmissing-prototypes */
1331 XS(XS_Wx__XmlAttribute_Destroy)
1339 croak_xs_usage(cv, "THIS");
1341 wxXmlAttribute * THIS = (wxXmlAttribute *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlAttribute" );
1348 #define XSubPPtmpAAAI 1
1351 XS(XS_Wx__XmlProperty_new); /* prototype to pass -Wmissing-prototypes */
1352 XS(XS_Wx__XmlProperty_new)
1359 if (items < 1 || items > 4)
1360 croak_xs_usage(cv, "CLASS, name = wxEmptyString, value = wxEmptyString, next = NULL");
1364 wxXmlProperty* next;
1365 char * CLASS = (char *)SvPV_nolen(ST(0));
1366 wxXmlProperty * RETVAL;
1369 name = wxEmptyString;
1371 WXSTRING_INPUT( name, wxString, ST(1) );
1375 value = wxEmptyString;
1377 WXSTRING_INPUT( value, wxString, ST(2) );
1383 next = (wxXmlProperty *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::XmlProperty" );
1386 RETVAL = new wxXmlProperty(name, value, next);
1387 ST(0) = sv_newmortal();
1388 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::XmlProperty" );
1395 XS(XS_Wx__XmlProperty_GetName); /* prototype to pass -Wmissing-prototypes */
1396 XS(XS_Wx__XmlProperty_GetName)
1404 croak_xs_usage(cv, "THIS");
1406 wxXmlProperty * THIS = (wxXmlProperty *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlProperty" );
1409 RETVAL = THIS->GetName();
1410 ST(0) = sv_newmortal();
1411 WXSTRING_OUTPUT( RETVAL, ST(0) );
1418 XS(XS_Wx__XmlProperty_GetValue); /* prototype to pass -Wmissing-prototypes */
1419 XS(XS_Wx__XmlProperty_GetValue)
1427 croak_xs_usage(cv, "THIS");
1429 wxXmlProperty * THIS = (wxXmlProperty *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlProperty" );
1432 RETVAL = THIS->GetValue();
1433 ST(0) = sv_newmortal();
1434 WXSTRING_OUTPUT( RETVAL, ST(0) );
1441 XS(XS_Wx__XmlProperty_GetNext); /* prototype to pass -Wmissing-prototypes */
1442 XS(XS_Wx__XmlProperty_GetNext)
1450 croak_xs_usage(cv, "THIS");
1452 wxXmlProperty * THIS = (wxXmlProperty *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlProperty" );
1453 wxXmlProperty * RETVAL;
1455 RETVAL = THIS->GetNext();
1456 ST(0) = sv_newmortal();
1457 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::XmlProperty" );
1464 XS(XS_Wx__XmlProperty_SetName); /* prototype to pass -Wmissing-prototypes */
1465 XS(XS_Wx__XmlProperty_SetName)
1473 croak_xs_usage(cv, "THIS, name");
1476 wxXmlProperty * THIS = (wxXmlProperty *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlProperty" );
1478 WXSTRING_INPUT( name, wxString, ST(1) );
1480 THIS->SetName(name);
1486 XS(XS_Wx__XmlProperty_SetValue); /* prototype to pass -Wmissing-prototypes */
1487 XS(XS_Wx__XmlProperty_SetValue)
1495 croak_xs_usage(cv, "THIS, value");
1498 wxXmlProperty * THIS = (wxXmlProperty *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlProperty" );
1500 WXSTRING_INPUT( value, wxString, ST(1) );
1502 THIS->SetValue(value);
1508 XS(XS_Wx__XmlProperty_SetNext); /* prototype to pass -Wmissing-prototypes */
1509 XS(XS_Wx__XmlProperty_SetNext)
1517 croak_xs_usage(cv, "THIS, next");
1519 wxXmlProperty* next = (wxXmlProperty *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::XmlProperty" );
1520 wxXmlProperty * THIS = (wxXmlProperty *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlProperty" );
1522 THIS->SetNext(next);
1528 XS(XS_Wx__XmlProperty_Destroy); /* prototype to pass -Wmissing-prototypes */
1529 XS(XS_Wx__XmlProperty_Destroy)
1537 croak_xs_usage(cv, "THIS");
1539 wxXmlProperty * THIS = (wxXmlProperty *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlProperty" );
1546 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
1547 #define XSubPPtmpAAAJ 1
1550 XS(XS_Wx__XmlNode_new); /* prototype to pass -Wmissing-prototypes */
1551 XS(XS_Wx__XmlNode_new)
1558 if (items < 1 || items > 7)
1559 croak_xs_usage(cv, "CLASS, parent = NULL, type = wxXmlNodeType(0), name = wxEmptyString, content = wxEmptyString, props = NULL, next = NULL");
1565 wxXmlAttribute* props;
1567 char * CLASS = (char *)SvPV_nolen(ST(0));
1573 parent = (wxXmlNode *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::XmlNode" );
1577 type = wxXmlNodeType(0);
1579 type = (wxXmlNodeType)SvIV(ST(2));
1583 name = wxEmptyString;
1585 WXSTRING_INPUT( name, wxString, ST(3) );
1589 content = wxEmptyString;
1591 WXSTRING_INPUT( content, wxString, ST(4) );
1597 props = (wxXmlAttribute *) wxPli_sv_2_object( aTHX_ ST(5), "Wx::XmlAttribute" );
1603 next = (wxXmlNode *) wxPli_sv_2_object( aTHX_ ST(6), "Wx::XmlNode" );
1606 RETVAL = new wxXmlNode(parent, type, name, content, props, next);
1607 ST(0) = sv_newmortal();
1608 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::XmlNode" );
1615 #define XSubPPtmpAAAK 1
1618 XS(XS_Wx__XmlNode_new); /* prototype to pass -Wmissing-prototypes */
1619 XS(XS_Wx__XmlNode_new)
1626 if (items < 1 || items > 7)
1627 croak_xs_usage(cv, "CLASS, parent = NULL, type = wxXmlNodeType(0), name = wxEmptyString, content = wxEmptyString, props = NULL, next = NULL");
1633 wxXmlProperty* props;
1635 char * CLASS = (char *)SvPV_nolen(ST(0));
1641 parent = (wxXmlNode *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::XmlNode" );
1645 type = wxXmlNodeType(0);
1647 type = (wxXmlNodeType)SvIV(ST(2));
1651 name = wxEmptyString;
1653 WXSTRING_INPUT( name, wxString, ST(3) );
1657 content = wxEmptyString;
1659 WXSTRING_INPUT( content, wxString, ST(4) );
1665 props = (wxXmlProperty *) wxPli_sv_2_object( aTHX_ ST(5), "Wx::XmlProperty" );
1671 next = (wxXmlNode *) wxPli_sv_2_object( aTHX_ ST(6), "Wx::XmlNode" );
1674 RETVAL = new wxXmlNode(parent, type, name, content, props, next);
1675 ST(0) = sv_newmortal();
1676 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::XmlNode" );
1684 XS(XS_Wx__XmlNode_AddChild); /* prototype to pass -Wmissing-prototypes */
1685 XS(XS_Wx__XmlNode_AddChild)
1693 croak_xs_usage(cv, "THIS, child");
1695 wxXmlNode* child = (wxXmlNode *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::XmlNode" );
1696 wxXmlNode * THIS = (wxXmlNode *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlNode" );
1698 THIS->AddChild(child);
1704 XS(XS_Wx__XmlNode_InsertChild); /* prototype to pass -Wmissing-prototypes */
1705 XS(XS_Wx__XmlNode_InsertChild)
1713 croak_xs_usage(cv, "THIS, child, before_node");
1715 wxXmlNode* child = (wxXmlNode *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::XmlNode" );
1716 wxXmlNode* before_node = (wxXmlNode *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::XmlNode" );
1717 wxXmlNode * THIS = (wxXmlNode *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlNode" );
1719 THIS->InsertChild(child, before_node);
1725 XS(XS_Wx__XmlNode_RemoveChild); /* prototype to pass -Wmissing-prototypes */
1726 XS(XS_Wx__XmlNode_RemoveChild)
1734 croak_xs_usage(cv, "THIS, child");
1736 wxXmlNode* child = (wxXmlNode *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::XmlNode" );
1737 wxXmlNode * THIS = (wxXmlNode *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlNode" );
1740 RETVAL = THIS->RemoveChild(child);
1741 ST(0) = boolSV(RETVAL);
1747 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
1748 #define XSubPPtmpAAAL 1
1751 XS(XS_Wx__XmlNode_AddAttribute); /* prototype to pass -Wmissing-prototypes */
1752 XS(XS_Wx__XmlNode_AddAttribute)
1760 croak_xs_usage(cv, "THIS, name, value");
1764 wxXmlNode * THIS = (wxXmlNode *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlNode" );
1766 WXSTRING_INPUT( name, wxString, ST(1) );
1768 WXSTRING_INPUT( value, wxString, ST(2) );
1770 THIS->AddAttribute(name, value);
1776 XS(XS_Wx__XmlNode_DeleteAttribute); /* prototype to pass -Wmissing-prototypes */
1777 XS(XS_Wx__XmlNode_DeleteAttribute)
1785 croak_xs_usage(cv, "THIS, name");
1788 wxXmlNode * THIS = (wxXmlNode *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlNode" );
1791 WXSTRING_INPUT( name, wxString, ST(1) );
1793 RETVAL = THIS->DeleteAttribute(name);
1794 ST(0) = boolSV(RETVAL);
1801 #define XSubPPtmpAAAM 1
1804 XS(XS_Wx__XmlNode_AddProperty); /* prototype to pass -Wmissing-prototypes */
1805 XS(XS_Wx__XmlNode_AddProperty)
1813 croak_xs_usage(cv, "THIS, name, value");
1817 wxXmlNode * THIS = (wxXmlNode *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlNode" );
1819 WXSTRING_INPUT( name, wxString, ST(1) );
1821 WXSTRING_INPUT( value, wxString, ST(2) );
1823 THIS->AddProperty(name, value);
1829 XS(XS_Wx__XmlNode_DeleteProperty); /* prototype to pass -Wmissing-prototypes */
1830 XS(XS_Wx__XmlNode_DeleteProperty)
1838 croak_xs_usage(cv, "THIS, name");
1841 wxXmlNode * THIS = (wxXmlNode *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlNode" );
1844 WXSTRING_INPUT( name, wxString, ST(1) );
1846 RETVAL = THIS->DeleteProperty(name);
1847 ST(0) = boolSV(RETVAL);
1855 XS(XS_Wx__XmlNode_GetType); /* prototype to pass -Wmissing-prototypes */
1856 XS(XS_Wx__XmlNode_GetType)
1864 croak_xs_usage(cv, "THIS");
1866 wxXmlNode * THIS = (wxXmlNode *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlNode" );
1867 wxXmlNodeType RETVAL;
1870 RETVAL = THIS->GetType();
1871 XSprePUSH; PUSHi((IV)RETVAL);
1877 XS(XS_Wx__XmlNode_GetName); /* prototype to pass -Wmissing-prototypes */
1878 XS(XS_Wx__XmlNode_GetName)
1886 croak_xs_usage(cv, "THIS");
1888 wxXmlNode * THIS = (wxXmlNode *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlNode" );
1891 RETVAL = THIS->GetName();
1892 ST(0) = sv_newmortal();
1893 WXSTRING_OUTPUT( RETVAL, ST(0) );
1900 XS(XS_Wx__XmlNode_GetContent); /* prototype to pass -Wmissing-prototypes */
1901 XS(XS_Wx__XmlNode_GetContent)
1909 croak_xs_usage(cv, "THIS");
1911 wxXmlNode * THIS = (wxXmlNode *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlNode" );
1914 RETVAL = THIS->GetContent();
1915 ST(0) = sv_newmortal();
1916 WXSTRING_OUTPUT( RETVAL, ST(0) );
1923 XS(XS_Wx__XmlNode_GetParent); /* prototype to pass -Wmissing-prototypes */
1924 XS(XS_Wx__XmlNode_GetParent)
1932 croak_xs_usage(cv, "THIS");
1934 wxXmlNode * THIS = (wxXmlNode *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlNode" );
1937 RETVAL = THIS->GetParent();
1938 ST(0) = sv_newmortal();
1939 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::XmlNode" );
1946 XS(XS_Wx__XmlNode_GetNext); /* prototype to pass -Wmissing-prototypes */
1947 XS(XS_Wx__XmlNode_GetNext)
1955 croak_xs_usage(cv, "THIS");
1957 wxXmlNode * THIS = (wxXmlNode *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlNode" );
1960 RETVAL = THIS->GetNext();
1961 ST(0) = sv_newmortal();
1962 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::XmlNode" );
1969 XS(XS_Wx__XmlNode_GetChildren); /* prototype to pass -Wmissing-prototypes */
1970 XS(XS_Wx__XmlNode_GetChildren)
1978 croak_xs_usage(cv, "THIS");
1980 wxXmlNode * THIS = (wxXmlNode *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlNode" );
1983 RETVAL = THIS->GetChildren();
1984 ST(0) = sv_newmortal();
1985 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::XmlNode" );
1991 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
1992 #define XSubPPtmpAAAN 1
1995 XS(XS_Wx__XmlNode_GetAttributes); /* prototype to pass -Wmissing-prototypes */
1996 XS(XS_Wx__XmlNode_GetAttributes)
2004 croak_xs_usage(cv, "THIS");
2006 wxXmlNode * THIS = (wxXmlNode *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlNode" );
2007 wxXmlAttribute * RETVAL;
2009 RETVAL = THIS->GetAttributes();
2010 ST(0) = sv_newmortal();
2011 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::XmlAttribute" );
2018 #define XSubPPtmpAAAO 1
2021 XS(XS_Wx__XmlNode_GetProperties); /* prototype to pass -Wmissing-prototypes */
2022 XS(XS_Wx__XmlNode_GetProperties)
2030 croak_xs_usage(cv, "THIS");
2032 wxXmlNode * THIS = (wxXmlNode *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlNode" );
2033 wxXmlProperty * RETVAL;
2035 RETVAL = THIS->GetProperties();
2036 ST(0) = sv_newmortal();
2037 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::XmlProperty" );
2044 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
2045 #define XSubPPtmpAAAP 1
2048 XS(XS_Wx__XmlNode_HasAttribute); /* prototype to pass -Wmissing-prototypes */
2049 XS(XS_Wx__XmlNode_HasAttribute)
2057 croak_xs_usage(cv, "THIS, propName");
2060 wxXmlNode * THIS = (wxXmlNode *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlNode" );
2063 WXSTRING_INPUT( propName, wxString, ST(1) );
2065 RETVAL = THIS->HasAttribute(propName);
2066 ST(0) = boolSV(RETVAL);
2073 #define XSubPPtmpAAAQ 1
2076 XS(XS_Wx__XmlNode_HasProp); /* prototype to pass -Wmissing-prototypes */
2077 XS(XS_Wx__XmlNode_HasProp)
2085 croak_xs_usage(cv, "THIS, propName");
2088 wxXmlNode * THIS = (wxXmlNode *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlNode" );
2091 WXSTRING_INPUT( propName, wxString, ST(1) );
2093 RETVAL = THIS->HasProp(propName);
2094 ST(0) = boolSV(RETVAL);
2102 XS(XS_Wx__XmlNode_SetType); /* prototype to pass -Wmissing-prototypes */
2103 XS(XS_Wx__XmlNode_SetType)
2111 croak_xs_usage(cv, "THIS, type");
2113 wxXmlNodeType type = (wxXmlNodeType)SvIV(ST(1));
2114 wxXmlNode * THIS = (wxXmlNode *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlNode" );
2116 THIS->SetType(type);
2122 XS(XS_Wx__XmlNode_SetName); /* prototype to pass -Wmissing-prototypes */
2123 XS(XS_Wx__XmlNode_SetName)
2131 croak_xs_usage(cv, "THIS, name");
2134 wxXmlNode * THIS = (wxXmlNode *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlNode" );
2136 WXSTRING_INPUT( name, wxString, ST(1) );
2138 THIS->SetName(name);
2144 XS(XS_Wx__XmlNode_SetContent); /* prototype to pass -Wmissing-prototypes */
2145 XS(XS_Wx__XmlNode_SetContent)
2153 croak_xs_usage(cv, "THIS, con");
2156 wxXmlNode * THIS = (wxXmlNode *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlNode" );
2158 WXSTRING_INPUT( con, wxString, ST(1) );
2160 THIS->SetContent(con);
2166 XS(XS_Wx__XmlNode_SetParent); /* prototype to pass -Wmissing-prototypes */
2167 XS(XS_Wx__XmlNode_SetParent)
2175 croak_xs_usage(cv, "THIS, parent");
2177 wxXmlNode* parent = (wxXmlNode *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::XmlNode" );
2178 wxXmlNode * THIS = (wxXmlNode *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlNode" );
2180 THIS->SetParent(parent);
2186 XS(XS_Wx__XmlNode_SetNext); /* prototype to pass -Wmissing-prototypes */
2187 XS(XS_Wx__XmlNode_SetNext)
2195 croak_xs_usage(cv, "THIS, next");
2197 wxXmlNode* next = (wxXmlNode *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::XmlNode" );
2198 wxXmlNode * THIS = (wxXmlNode *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlNode" );
2200 THIS->SetNext(next);
2206 XS(XS_Wx__XmlNode_SetChildren); /* prototype to pass -Wmissing-prototypes */
2207 XS(XS_Wx__XmlNode_SetChildren)
2215 croak_xs_usage(cv, "THIS, child");
2217 wxXmlNode* child = (wxXmlNode *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::XmlNode" );
2218 wxXmlNode * THIS = (wxXmlNode *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlNode" );
2220 THIS->SetChildren(child);
2225 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
2226 #define XSubPPtmpAAAR 1
2229 XS(XS_Wx__XmlNode_SetAttributes); /* prototype to pass -Wmissing-prototypes */
2230 XS(XS_Wx__XmlNode_SetAttributes)
2238 croak_xs_usage(cv, "THIS, prop");
2240 wxXmlAttribute* prop = (wxXmlAttribute *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::XmlAttribute" );
2241 wxXmlNode * THIS = (wxXmlNode *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlNode" );
2243 THIS->SetAttributes(prop);
2249 #define XSubPPtmpAAAS 1
2252 XS(XS_Wx__XmlNode_SetProperties); /* prototype to pass -Wmissing-prototypes */
2253 XS(XS_Wx__XmlNode_SetProperties)
2261 croak_xs_usage(cv, "THIS, prop");
2263 wxXmlProperty* prop = (wxXmlProperty *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::XmlProperty" );
2264 wxXmlNode * THIS = (wxXmlNode *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlNode" );
2266 THIS->SetProperties(prop);
2273 XS(XS_Wx__XmlNode_Destroy); /* prototype to pass -Wmissing-prototypes */
2274 XS(XS_Wx__XmlNode_Destroy)
2282 croak_xs_usage(cv, "THIS");
2284 wxXmlNode * THIS = (wxXmlNode *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlNode" );
2290 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
2291 #define XSubPPtmpAAAT 1
2294 XS(XS_Wx__XmlNode_GetAttribute); /* prototype to pass -Wmissing-prototypes */
2295 XS(XS_Wx__XmlNode_GetAttribute)
2302 if (items < 2 || items > 3)
2303 croak_xs_usage(cv, "THIS, name, value = &PL_sv_undef");
2307 wxXmlNode * THIS = (wxXmlNode *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlNode" );
2310 WXSTRING_INPUT( name, wxString, ST(1) );
2313 value = &PL_sv_undef;
2318 bool ok = THIS->GetAttribute(name, &tmp);
2320 RETVAL = wxPli_wxString_2_sv( aTHX_ tmp, NEWSV(0, 0) );
2322 RETVAL = SvREFCNT_inc( value );
2330 #define XSubPPtmpAAAU 1
2333 XS(XS_Wx__XmlNode_GetPropVal); /* prototype to pass -Wmissing-prototypes */
2334 XS(XS_Wx__XmlNode_GetPropVal)
2341 if (items < 2 || items > 3)
2342 croak_xs_usage(cv, "THIS, name, value = &PL_sv_undef");
2346 wxXmlNode * THIS = (wxXmlNode *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::XmlNode" );
2349 WXSTRING_INPUT( name, wxString, ST(1) );
2352 value = &PL_sv_undef;
2357 bool ok = THIS->GetPropVal(name, &tmp);
2359 RETVAL = wxPli_wxString_2_sv( aTHX_ tmp, NEWSV(0, 0) );
2361 RETVAL = SvREFCNT_inc( value );
2370 /* INCLUDE: Returning to 'XRC.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t ../../typemap.xsp XS/XmlNode.xsp |' */
2373 /* INCLUDE: Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t ../../typemap.xsp XS/XmlResourceHandler.xsp |' from 'XRC.xs' */
2375 #include "wx/window.h"
2376 #include "cpp/reshnd.h"
2378 XS(XS_Wx__PlXmlResourceHandler_new); /* prototype to pass -Wmissing-prototypes */
2379 XS(XS_Wx__PlXmlResourceHandler_new)
2387 croak_xs_usage(cv, "CLASS");
2389 char * CLASS = (char *)SvPV_nolen(ST(0));
2390 wxPlXmlResourceHandler * RETVAL;
2391 RETVAL = new wxPlXmlResourceHandler( CLASS );
2392 ST(0) = sv_newmortal();
2393 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
2400 XS(XS_Wx__XmlResourceHandler_GetResource); /* prototype to pass -Wmissing-prototypes */
2401 XS(XS_Wx__XmlResourceHandler_GetResource)
2409 croak_xs_usage(cv, "THIS");
2411 wxPlXmlResourceHandler * THIS = (wxPlXmlResourceHandler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlXmlResourceHandler" );
2412 wxXmlResource * RETVAL;
2414 RETVAL = THIS->GetResource();
2415 ST(0) = sv_newmortal();
2416 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::XmlResource" );
2417 wxPli_thread_sv_register( aTHX_ "Wx::XmlResource", RETVAL, ST(0) );
2424 XS(XS_Wx__XmlResourceHandler_GetNode); /* prototype to pass -Wmissing-prototypes */
2425 XS(XS_Wx__XmlResourceHandler_GetNode)
2433 croak_xs_usage(cv, "THIS");
2435 wxPlXmlResourceHandler * THIS = (wxPlXmlResourceHandler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlXmlResourceHandler" );
2438 RETVAL = THIS->GetNode();
2439 ST(0) = sv_newmortal();
2440 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::XmlNode" );
2447 XS(XS_Wx__XmlResourceHandler_GetClass); /* prototype to pass -Wmissing-prototypes */
2448 XS(XS_Wx__XmlResourceHandler_GetClass)
2456 croak_xs_usage(cv, "THIS");
2458 wxPlXmlResourceHandler * THIS = (wxPlXmlResourceHandler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlXmlResourceHandler" );
2461 RETVAL = THIS->GetClass();
2462 ST(0) = sv_newmortal();
2463 WXSTRING_OUTPUT( RETVAL, ST(0) );
2470 XS(XS_Wx__XmlResourceHandler_GetParent); /* prototype to pass -Wmissing-prototypes */
2471 XS(XS_Wx__XmlResourceHandler_GetParent)
2479 croak_xs_usage(cv, "THIS");
2481 wxPlXmlResourceHandler * THIS = (wxPlXmlResourceHandler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlXmlResourceHandler" );
2484 RETVAL = THIS->GetParent();
2485 ST(0) = sv_newmortal();
2486 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
2493 XS(XS_Wx__XmlResourceHandler_GetInstance); /* prototype to pass -Wmissing-prototypes */
2494 XS(XS_Wx__XmlResourceHandler_GetInstance)
2502 croak_xs_usage(cv, "THIS");
2504 wxPlXmlResourceHandler * THIS = (wxPlXmlResourceHandler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlXmlResourceHandler" );
2507 RETVAL = THIS->GetInstance();
2508 ST(0) = sv_newmortal();
2509 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
2516 XS(XS_Wx__XmlResourceHandler_GetParentAsWindow); /* prototype to pass -Wmissing-prototypes */
2517 XS(XS_Wx__XmlResourceHandler_GetParentAsWindow)
2525 croak_xs_usage(cv, "THIS");
2527 wxPlXmlResourceHandler * THIS = (wxPlXmlResourceHandler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlXmlResourceHandler" );
2530 RETVAL = THIS->GetParentAsWindow();
2531 ST(0) = sv_newmortal();
2532 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
2538 #if WXPERL_W_VERSION_LE( 2, 5, 2 )
2539 #define XSubPPtmpAAAV 1
2542 XS(XS_Wx__XmlResourceHandler_GetInstanceAsWindow); /* prototype to pass -Wmissing-prototypes */
2543 XS(XS_Wx__XmlResourceHandler_GetInstanceAsWindow)
2551 croak_xs_usage(cv, "THIS");
2553 wxPlXmlResourceHandler * THIS = (wxPlXmlResourceHandler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlXmlResourceHandler" );
2556 RETVAL = THIS->GetInstanceAsWindow();
2557 ST(0) = sv_newmortal();
2558 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
2566 XS(XS_Wx__XmlResourceHandler_IsOfClass); /* prototype to pass -Wmissing-prototypes */
2567 XS(XS_Wx__XmlResourceHandler_IsOfClass)
2575 croak_xs_usage(cv, "THIS, node, className");
2577 wxXmlNode* node = (wxXmlNode *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::XmlNode" );
2579 wxPlXmlResourceHandler * THIS = (wxPlXmlResourceHandler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlXmlResourceHandler" );
2582 WXSTRING_INPUT( className, wxString, ST(2) );
2584 RETVAL = THIS->IsOfClass(node, className);
2585 ST(0) = boolSV(RETVAL);
2592 XS(XS_Wx__XmlResourceHandler_GetNodeContent); /* prototype to pass -Wmissing-prototypes */
2593 XS(XS_Wx__XmlResourceHandler_GetNodeContent)
2601 croak_xs_usage(cv, "THIS, node");
2603 wxXmlNode* node = (wxXmlNode *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::XmlNode" );
2604 wxPlXmlResourceHandler * THIS = (wxPlXmlResourceHandler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlXmlResourceHandler" );
2607 RETVAL = THIS->GetNodeContent(node);
2608 ST(0) = sv_newmortal();
2609 WXSTRING_OUTPUT( RETVAL, ST(0) );
2616 XS(XS_Wx__XmlResourceHandler_HasParam); /* prototype to pass -Wmissing-prototypes */
2617 XS(XS_Wx__XmlResourceHandler_HasParam)
2625 croak_xs_usage(cv, "THIS, param");
2628 wxPlXmlResourceHandler * THIS = (wxPlXmlResourceHandler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlXmlResourceHandler" );
2631 WXSTRING_INPUT( param, wxString, ST(1) );
2633 RETVAL = THIS->HasParam(param);
2634 ST(0) = boolSV(RETVAL);
2641 XS(XS_Wx__XmlResourceHandler_GetParamNode); /* prototype to pass -Wmissing-prototypes */
2642 XS(XS_Wx__XmlResourceHandler_GetParamNode)
2650 croak_xs_usage(cv, "THIS, param");
2653 wxPlXmlResourceHandler * THIS = (wxPlXmlResourceHandler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlXmlResourceHandler" );
2656 WXSTRING_INPUT( param, wxString, ST(1) );
2658 RETVAL = THIS->GetParamNode(param);
2659 ST(0) = sv_newmortal();
2660 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::XmlNode" );
2667 XS(XS_Wx__XmlResourceHandler_GetParamValue); /* prototype to pass -Wmissing-prototypes */
2668 XS(XS_Wx__XmlResourceHandler_GetParamValue)
2676 croak_xs_usage(cv, "THIS, param");
2679 wxPlXmlResourceHandler * THIS = (wxPlXmlResourceHandler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlXmlResourceHandler" );
2682 WXSTRING_INPUT( param, wxString, ST(1) );
2684 RETVAL = THIS->GetParamValue(param);
2685 ST(0) = sv_newmortal();
2686 WXSTRING_OUTPUT( RETVAL, ST(0) );
2693 XS(XS_Wx__XmlResourceHandler_AddStyle); /* prototype to pass -Wmissing-prototypes */
2694 XS(XS_Wx__XmlResourceHandler_AddStyle)
2702 croak_xs_usage(cv, "THIS, name, value");
2705 int value = (int)SvIV(ST(2));
2706 wxPlXmlResourceHandler * THIS = (wxPlXmlResourceHandler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlXmlResourceHandler" );
2708 WXSTRING_INPUT( name, wxString, ST(1) );
2710 THIS->AddStyle(name, value);
2716 XS(XS_Wx__XmlResourceHandler_AddWindowStyles); /* prototype to pass -Wmissing-prototypes */
2717 XS(XS_Wx__XmlResourceHandler_AddWindowStyles)
2725 croak_xs_usage(cv, "THIS");
2727 wxPlXmlResourceHandler * THIS = (wxPlXmlResourceHandler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlXmlResourceHandler" );
2729 THIS->AddWindowStyles();
2735 XS(XS_Wx__XmlResourceHandler_GetStyle); /* prototype to pass -Wmissing-prototypes */
2736 XS(XS_Wx__XmlResourceHandler_GetStyle)
2743 if (items < 1 || items > 3)
2744 croak_xs_usage(cv, "THIS, param = wxT(\"style\"), defaults = 0");
2748 wxPlXmlResourceHandler * THIS = (wxPlXmlResourceHandler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlXmlResourceHandler" );
2753 param = wxT("style");
2755 WXSTRING_INPUT( param, wxString, ST(1) );
2761 defaults = (int)SvIV(ST(2));
2764 RETVAL = THIS->GetStyle(param, defaults);
2765 XSprePUSH; PUSHi((IV)RETVAL);
2771 XS(XS_Wx__XmlResourceHandler_GetText); /* prototype to pass -Wmissing-prototypes */
2772 XS(XS_Wx__XmlResourceHandler_GetText)
2779 if (items < 2 || items > 3)
2780 croak_xs_usage(cv, "THIS, param, translate = true");
2784 wxPlXmlResourceHandler * THIS = (wxPlXmlResourceHandler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlXmlResourceHandler" );
2787 WXSTRING_INPUT( param, wxString, ST(1) );
2792 translate = (bool)SvTRUE(ST(2));
2795 RETVAL = THIS->GetText(param, translate);
2796 ST(0) = sv_newmortal();
2797 WXSTRING_OUTPUT( RETVAL, ST(0) );
2804 XS(XS_Wx__XmlResourceHandler_GetID); /* prototype to pass -Wmissing-prototypes */
2805 XS(XS_Wx__XmlResourceHandler_GetID)
2813 croak_xs_usage(cv, "THIS");
2815 wxPlXmlResourceHandler * THIS = (wxPlXmlResourceHandler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlXmlResourceHandler" );
2819 RETVAL = THIS->GetID();
2820 XSprePUSH; PUSHi((IV)RETVAL);
2826 XS(XS_Wx__XmlResourceHandler_GetName); /* prototype to pass -Wmissing-prototypes */
2827 XS(XS_Wx__XmlResourceHandler_GetName)
2835 croak_xs_usage(cv, "THIS");
2837 wxPlXmlResourceHandler * THIS = (wxPlXmlResourceHandler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlXmlResourceHandler" );
2840 RETVAL = THIS->GetName();
2841 ST(0) = sv_newmortal();
2842 WXSTRING_OUTPUT( RETVAL, ST(0) );
2849 XS(XS_Wx__XmlResourceHandler_GetBool); /* prototype to pass -Wmissing-prototypes */
2850 XS(XS_Wx__XmlResourceHandler_GetBool)
2857 if (items < 2 || items > 3)
2858 croak_xs_usage(cv, "THIS, param, defaultv = false");
2862 wxPlXmlResourceHandler * THIS = (wxPlXmlResourceHandler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlXmlResourceHandler" );
2865 WXSTRING_INPUT( param, wxString, ST(1) );
2870 defaultv = (bool)SvTRUE(ST(2));
2873 RETVAL = THIS->GetBool(param, defaultv);
2874 ST(0) = boolSV(RETVAL);
2881 XS(XS_Wx__XmlResourceHandler_GetLong); /* prototype to pass -Wmissing-prototypes */
2882 XS(XS_Wx__XmlResourceHandler_GetLong)
2889 if (items < 2 || items > 3)
2890 croak_xs_usage(cv, "THIS, param, defaultv = 0");
2894 wxPlXmlResourceHandler * THIS = (wxPlXmlResourceHandler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlXmlResourceHandler" );
2898 WXSTRING_INPUT( param, wxString, ST(1) );
2903 defaultv = (long)SvIV(ST(2));
2906 RETVAL = THIS->GetLong(param, defaultv);
2907 XSprePUSH; PUSHi((IV)RETVAL);
2913 XS(XS_Wx__XmlResourceHandler_GetColour); /* prototype to pass -Wmissing-prototypes */
2914 XS(XS_Wx__XmlResourceHandler_GetColour)
2922 croak_xs_usage(cv, "THIS, param");
2925 wxPlXmlResourceHandler * THIS = (wxPlXmlResourceHandler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlXmlResourceHandler" );
2928 WXSTRING_INPUT( param, wxString, ST(1) );
2929 RETVAL = new wxColour( THIS->GetColour( param ) );
2930 ST(0) = sv_newmortal();
2931 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Colour" );
2932 wxPli_thread_sv_register( aTHX_ "Wx::Colour", RETVAL, ST(0) );
2939 XS(XS_Wx__XmlResourceHandler_GetSize); /* prototype to pass -Wmissing-prototypes */
2940 XS(XS_Wx__XmlResourceHandler_GetSize)
2947 if (items < 1 || items > 2)
2948 croak_xs_usage(cv, "THIS, param = wxT(\"size\")");
2951 wxPlXmlResourceHandler * THIS = (wxPlXmlResourceHandler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlXmlResourceHandler" );
2955 param = wxT("size");
2957 WXSTRING_INPUT( param, wxString, ST(1) );
2960 RETVAL = THIS->GetSize(param);
2961 ST(0) = sv_newmortal();
2962 wxPli_non_object_2_sv( aTHX_ ST(0), new wxSize(RETVAL), "Wx::Size" );
2969 XS(XS_Wx__XmlResourceHandler_GetPosition); /* prototype to pass -Wmissing-prototypes */
2970 XS(XS_Wx__XmlResourceHandler_GetPosition)
2977 if (items < 1 || items > 2)
2978 croak_xs_usage(cv, "THIS, param = wxT(\"pos\")");
2981 wxPlXmlResourceHandler * THIS = (wxPlXmlResourceHandler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlXmlResourceHandler" );
2987 WXSTRING_INPUT( param, wxString, ST(1) );
2990 RETVAL = THIS->GetPosition(param);
2991 ST(0) = sv_newmortal();
2992 wxPli_non_object_2_sv( aTHX_ ST(0), new wxPoint(RETVAL), "Wx::Point" );
2999 XS(XS_Wx__XmlResourceHandler_GetDimension); /* prototype to pass -Wmissing-prototypes */
3000 XS(XS_Wx__XmlResourceHandler_GetDimension)
3007 if (items < 2 || items > 3)
3008 croak_xs_usage(cv, "THIS, param, defaultv = 0");
3012 wxPlXmlResourceHandler * THIS = (wxPlXmlResourceHandler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlXmlResourceHandler" );
3016 WXSTRING_INPUT( param, wxString, ST(1) );
3021 defaultv = (wxCoord)SvIV(ST(2));
3024 RETVAL = THIS->GetDimension(param, defaultv);
3025 XSprePUSH; PUSHi((IV)RETVAL);
3031 XS(XS_Wx__XmlResourceHandler_GetBitmap); /* prototype to pass -Wmissing-prototypes */
3032 XS(XS_Wx__XmlResourceHandler_GetBitmap)
3039 if (items < 1 || items > 4)
3040 croak_xs_usage(cv, "THIS, param = wxT(\"bitmap\"), defaultArtClient = wxART_OTHER, size = wxDefaultSize");
3043 wxString defaultArtClient;
3045 wxPlXmlResourceHandler * THIS = (wxPlXmlResourceHandler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlXmlResourceHandler" );
3049 param = wxT("bitmap");
3051 WXSTRING_INPUT( param, wxString, ST(1) );
3055 defaultArtClient = wxART_OTHER;
3057 WXSTRING_INPUT( defaultArtClient, wxString, ST(2) );
3061 size = wxDefaultSize;
3063 size = wxPli_sv_2_wxsize( aTHX_ ST(3) );
3065 RETVAL = new wxBitmap( THIS->GetBitmap( param, defaultArtClient, size ) );
3066 ST(0) = sv_newmortal();
3067 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
3068 wxPli_thread_sv_register( aTHX_ "Wx::Bitmap", RETVAL, ST(0) );
3075 XS(XS_Wx__XmlResourceHandler_GetIcon); /* prototype to pass -Wmissing-prototypes */
3076 XS(XS_Wx__XmlResourceHandler_GetIcon)
3083 if (items < 1 || items > 4)
3084 croak_xs_usage(cv, "THIS, param = wxT(\"icon\"), defaultArtClient = wxART_OTHER, size = wxDefaultSize");
3087 wxString defaultArtClient;
3089 wxPlXmlResourceHandler * THIS = (wxPlXmlResourceHandler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlXmlResourceHandler" );
3093 param = wxT("icon");
3095 WXSTRING_INPUT( param, wxString, ST(1) );
3099 defaultArtClient = wxART_OTHER;
3101 WXSTRING_INPUT( defaultArtClient, wxString, ST(2) );
3105 size = wxDefaultSize;
3107 size = wxPli_sv_2_wxsize( aTHX_ ST(3) );
3109 RETVAL = new wxIcon( THIS->GetIcon( param, defaultArtClient, size ) );
3110 ST(0) = sv_newmortal();
3111 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
3112 wxPli_thread_sv_register( aTHX_ "Wx::Icon", RETVAL, ST(0) );
3119 XS(XS_Wx__XmlResourceHandler_GetFont); /* prototype to pass -Wmissing-prototypes */
3120 XS(XS_Wx__XmlResourceHandler_GetFont)
3127 if (items < 1 || items > 2)
3128 croak_xs_usage(cv, "THIS, param = wxT(\"font\")");
3131 wxPlXmlResourceHandler * THIS = (wxPlXmlResourceHandler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlXmlResourceHandler" );
3135 param = wxT("font");
3137 WXSTRING_INPUT( param, wxString, ST(1) );
3139 RETVAL = new wxFont( THIS->GetFont( param ) );
3140 ST(0) = sv_newmortal();
3141 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
3142 wxPli_thread_sv_register( aTHX_ "Wx::Font", RETVAL, ST(0) );
3149 XS(XS_Wx__XmlResourceHandler_SetupWindow); /* prototype to pass -Wmissing-prototypes */
3150 XS(XS_Wx__XmlResourceHandler_SetupWindow)
3158 croak_xs_usage(cv, "THIS, wnd");
3160 wxWindow* wnd = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
3161 wxPlXmlResourceHandler * THIS = (wxPlXmlResourceHandler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlXmlResourceHandler" );
3163 THIS->SetupWindow(wnd);
3169 XS(XS_Wx__XmlResourceHandler_CreateChildren); /* prototype to pass -Wmissing-prototypes */
3170 XS(XS_Wx__XmlResourceHandler_CreateChildren)
3177 if (items < 2 || items > 3)
3178 croak_xs_usage(cv, "THIS, parent, this_hnd_only = false");
3180 wxObject* parent = (wxObject *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Object" );
3182 wxPlXmlResourceHandler * THIS = (wxPlXmlResourceHandler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlXmlResourceHandler" );
3185 this_hnd_only = false;
3187 this_hnd_only = (bool)SvTRUE(ST(2));
3190 THIS->CreateChildren(parent, this_hnd_only);
3196 XS(XS_Wx__XmlResourceHandler_CreateChildrenPrivately); /* prototype to pass -Wmissing-prototypes */
3197 XS(XS_Wx__XmlResourceHandler_CreateChildrenPrivately)
3204 if (items < 2 || items > 3)
3205 croak_xs_usage(cv, "THIS, parent, rootnode = NULL");
3207 wxObject* parent = (wxObject *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Object" );
3208 wxXmlNode* rootnode;
3209 wxPlXmlResourceHandler * THIS = (wxPlXmlResourceHandler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlXmlResourceHandler" );
3214 rootnode = (wxXmlNode *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::XmlNode" );
3217 THIS->CreateChildrenPrivately(parent, rootnode);
3223 XS(XS_Wx__XmlResourceHandler_CreateResFromNode); /* prototype to pass -Wmissing-prototypes */
3224 XS(XS_Wx__XmlResourceHandler_CreateResFromNode)
3231 if (items < 3 || items > 4)
3232 croak_xs_usage(cv, "THIS, node, parent, instance = NULL");
3234 wxXmlNode* node = (wxXmlNode *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::XmlNode" );
3235 wxObject* parent = (wxObject *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Object" );
3237 wxPlXmlResourceHandler * THIS = (wxPlXmlResourceHandler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlXmlResourceHandler" );
3243 instance = (wxObject *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::Object" );
3246 RETVAL = THIS->CreateResFromNode(node, parent, instance);
3247 ST(0) = sv_newmortal();
3248 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
3255 /* INCLUDE: Returning to 'XRC.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t ../../typemap.xsp XS/XmlResourceHandler.xsp |' */
3258 XS(XS_Wx_XmlInitXmlModule); /* prototype to pass -Wmissing-prototypes */
3259 XS(XS_Wx_XmlInitXmlModule)
3267 croak_xs_usage(cv, "");
3275 XS(XS_Wx_XmlInitResourceModule); /* prototype to pass -Wmissing-prototypes */
3276 XS(XS_Wx_XmlInitResourceModule)
3284 croak_xs_usage(cv, "");
3287 wxXmlInitResourceModule();
3292 #include "cpp/overload.h"
3293 #include "cpp/ovl_const.cpp"
3294 #if defined(__WXMSW__)
3296 #define XS( name ) WXXS( name )
3301 XS(boot_Wx__XRC); /* prototype to pass -Wmissing-prototypes */
3309 #if (PERL_REVISION == 5 && PERL_VERSION < 9)
3310 char* file = __FILE__;
3312 const char* file = __FILE__;
3315 PERL_UNUSED_VAR(cv); /* -W */
3316 PERL_UNUSED_VAR(items); /* -W */
3317 XS_VERSION_BOOTCHECK ;
3320 newXS("Wx::XmlResource::new", XS_Wx__XmlResource_new, file);
3323 newXS("Wx::XmlResource::new", XS_Wx__XmlResource_new, file);
3325 newXS("Wx::XmlResource::CLONE", XS_Wx__XmlResource_CLONE, file);
3326 newXS("Wx::XmlResource::DESTROY", XS_Wx__XmlResource_DESTROY, file);
3327 newXS("Wx::XmlResource::Load", XS_Wx__XmlResource_Load, file);
3329 newXS("Wx::XmlResource::Unload", XS_Wx__XmlResource_Unload, file);
3331 newXS("Wx::XmlResource::InitAllHandlers", XS_Wx__XmlResource_InitAllHandlers, file);
3332 newXS("Wx::XmlResource::AddHandler", XS_Wx__XmlResource_AddHandler, file);
3333 newXS("Wx::XmlResource::ClearHandlers", XS_Wx__XmlResource_ClearHandlers, file);
3334 newXS("Wx::XmlResource::LoadMenu", XS_Wx__XmlResource_LoadMenu, file);
3335 newXS("Wx::XmlResource::LoadMenuBar", XS_Wx__XmlResource_LoadMenuBar, file);
3336 newXS("Wx::XmlResource::LoadMenuBarOnParent", XS_Wx__XmlResource_LoadMenuBarOnParent, file);
3337 newXS("Wx::XmlResource::LoadToolBar", XS_Wx__XmlResource_LoadToolBar, file);
3338 newXS("Wx::XmlResource::LoadDialog", XS_Wx__XmlResource_LoadDialog, file);
3339 newXS("Wx::XmlResource::LoadOnDialog", XS_Wx__XmlResource_LoadOnDialog, file);
3340 newXS("Wx::XmlResource::LoadPanel", XS_Wx__XmlResource_LoadPanel, file);
3341 newXS("Wx::XmlResource::LoadOnPanel", XS_Wx__XmlResource_LoadOnPanel, file);
3342 newXS("Wx::XmlResource::LoadFrame", XS_Wx__XmlResource_LoadFrame, file);
3343 newXS("Wx::XmlResource::LoadFrame2", XS_Wx__XmlResource_LoadFrame2, file);
3344 newXS("Wx::XmlResource::LoadOnFrame", XS_Wx__XmlResource_LoadOnFrame, file);
3345 newXS("Wx::XmlResource::LoadBitmap", XS_Wx__XmlResource_LoadBitmap, file);
3346 newXS("Wx::XmlResource::LoadIcon", XS_Wx__XmlResource_LoadIcon, file);
3347 newXS("Wx::XmlResource::AttachUnknownControl", XS_Wx__XmlResource_AttachUnknownControl, file);
3348 newXS("Wx::XmlResource::GetFlags", XS_Wx__XmlResource_GetFlags, file);
3349 newXS("Wx::XmlResource::SetFlags", XS_Wx__XmlResource_SetFlags, file);
3351 newXS("Wx::XmlResource::GetXRCID", XS_Wx__XmlResource_GetXRCID, file);
3354 newXS("Wx::XmlResource::GetXRCID", XS_Wx__XmlResource_GetXRCID, file);
3356 newXS("Wx::XmlResource::GetVersion", XS_Wx__XmlResource_GetVersion, file);
3357 newXS("Wx::XmlResource::CompareVersion", XS_Wx__XmlResource_CompareVersion, file);
3358 newXS("Wx::XmlResource::AddSubclassFactory", XS_Wx__XmlResource_AddSubclassFactory, file);
3360 newXS("Wx::XmlResource::GetDomain", XS_Wx__XmlResource_GetDomain, file);
3361 newXS("Wx::XmlResource::SetDomain", XS_Wx__XmlResource_SetDomain, file);
3363 newXS("Wx::XmlSubclassFactory::new", XS_Wx__XmlSubclassFactory_new, file);
3364 newXS("Wx::XmlDocument::IsOk", XS_Wx__XmlDocument_IsOk, file);
3365 newXS("Wx::XmlDocument::GetRoot", XS_Wx__XmlDocument_GetRoot, file);
3366 newXS("Wx::XmlDocument::GetVersion", XS_Wx__XmlDocument_GetVersion, file);
3367 newXS("Wx::XmlDocument::GetFileEncoding", XS_Wx__XmlDocument_GetFileEncoding, file);
3368 newXS("Wx::XmlDocument::SetRoot", XS_Wx__XmlDocument_SetRoot, file);
3369 newXS("Wx::XmlDocument::SetVersion", XS_Wx__XmlDocument_SetVersion, file);
3370 newXS("Wx::XmlDocument::SetFileEncoding", XS_Wx__XmlDocument_SetFileEncoding, file);
3372 newXS("Wx::XmlDocument::GetEncoding", XS_Wx__XmlDocument_GetEncoding, file);
3373 newXS("Wx::XmlDocument::SetEncoding", XS_Wx__XmlDocument_SetEncoding, file);
3376 newXS("Wx::XmlAttribute::new", XS_Wx__XmlAttribute_new, file);
3377 newXS("Wx::XmlAttribute::GetName", XS_Wx__XmlAttribute_GetName, file);
3378 newXS("Wx::XmlAttribute::GetValue", XS_Wx__XmlAttribute_GetValue, file);
3379 newXS("Wx::XmlAttribute::GetNext", XS_Wx__XmlAttribute_GetNext, file);
3380 newXS("Wx::XmlAttribute::SetName", XS_Wx__XmlAttribute_SetName, file);
3381 newXS("Wx::XmlAttribute::SetValue", XS_Wx__XmlAttribute_SetValue, file);
3382 newXS("Wx::XmlAttribute::SetNext", XS_Wx__XmlAttribute_SetNext, file);
3383 newXS("Wx::XmlAttribute::Destroy", XS_Wx__XmlAttribute_Destroy, file);
3386 newXS("Wx::XmlProperty::new", XS_Wx__XmlProperty_new, file);
3387 newXS("Wx::XmlProperty::GetName", XS_Wx__XmlProperty_GetName, file);
3388 newXS("Wx::XmlProperty::GetValue", XS_Wx__XmlProperty_GetValue, file);
3389 newXS("Wx::XmlProperty::GetNext", XS_Wx__XmlProperty_GetNext, file);
3390 newXS("Wx::XmlProperty::SetName", XS_Wx__XmlProperty_SetName, file);
3391 newXS("Wx::XmlProperty::SetValue", XS_Wx__XmlProperty_SetValue, file);
3392 newXS("Wx::XmlProperty::SetNext", XS_Wx__XmlProperty_SetNext, file);
3393 newXS("Wx::XmlProperty::Destroy", XS_Wx__XmlProperty_Destroy, file);
3396 newXS("Wx::XmlNode::new", XS_Wx__XmlNode_new, file);
3399 newXS("Wx::XmlNode::new", XS_Wx__XmlNode_new, file);
3401 newXS("Wx::XmlNode::AddChild", XS_Wx__XmlNode_AddChild, file);
3402 newXS("Wx::XmlNode::InsertChild", XS_Wx__XmlNode_InsertChild, file);
3403 newXS("Wx::XmlNode::RemoveChild", XS_Wx__XmlNode_RemoveChild, file);
3405 newXS("Wx::XmlNode::AddAttribute", XS_Wx__XmlNode_AddAttribute, file);
3406 newXS("Wx::XmlNode::DeleteAttribute", XS_Wx__XmlNode_DeleteAttribute, file);
3409 newXS("Wx::XmlNode::AddProperty", XS_Wx__XmlNode_AddProperty, file);
3410 newXS("Wx::XmlNode::DeleteProperty", XS_Wx__XmlNode_DeleteProperty, file);
3412 newXS("Wx::XmlNode::GetType", XS_Wx__XmlNode_GetType, file);
3413 newXS("Wx::XmlNode::GetName", XS_Wx__XmlNode_GetName, file);
3414 newXS("Wx::XmlNode::GetContent", XS_Wx__XmlNode_GetContent, file);
3415 newXS("Wx::XmlNode::GetParent", XS_Wx__XmlNode_GetParent, file);
3416 newXS("Wx::XmlNode::GetNext", XS_Wx__XmlNode_GetNext, file);
3417 newXS("Wx::XmlNode::GetChildren", XS_Wx__XmlNode_GetChildren, file);
3419 newXS("Wx::XmlNode::GetAttributes", XS_Wx__XmlNode_GetAttributes, file);
3422 newXS("Wx::XmlNode::GetProperties", XS_Wx__XmlNode_GetProperties, file);
3425 newXS("Wx::XmlNode::HasAttribute", XS_Wx__XmlNode_HasAttribute, file);
3428 newXS("Wx::XmlNode::HasProp", XS_Wx__XmlNode_HasProp, file);
3430 newXS("Wx::XmlNode::SetType", XS_Wx__XmlNode_SetType, file);
3431 newXS("Wx::XmlNode::SetName", XS_Wx__XmlNode_SetName, file);
3432 newXS("Wx::XmlNode::SetContent", XS_Wx__XmlNode_SetContent, file);
3433 newXS("Wx::XmlNode::SetParent", XS_Wx__XmlNode_SetParent, file);
3434 newXS("Wx::XmlNode::SetNext", XS_Wx__XmlNode_SetNext, file);
3435 newXS("Wx::XmlNode::SetChildren", XS_Wx__XmlNode_SetChildren, file);
3437 newXS("Wx::XmlNode::SetAttributes", XS_Wx__XmlNode_SetAttributes, file);
3440 newXS("Wx::XmlNode::SetProperties", XS_Wx__XmlNode_SetProperties, file);
3442 newXS("Wx::XmlNode::Destroy", XS_Wx__XmlNode_Destroy, file);
3444 newXS("Wx::XmlNode::GetAttribute", XS_Wx__XmlNode_GetAttribute, file);
3447 newXS("Wx::XmlNode::GetPropVal", XS_Wx__XmlNode_GetPropVal, file);
3449 newXS("Wx::PlXmlResourceHandler::new", XS_Wx__PlXmlResourceHandler_new, file);
3450 newXS("Wx::XmlResourceHandler::GetResource", XS_Wx__XmlResourceHandler_GetResource, file);
3451 newXS("Wx::XmlResourceHandler::GetNode", XS_Wx__XmlResourceHandler_GetNode, file);
3452 newXS("Wx::XmlResourceHandler::GetClass", XS_Wx__XmlResourceHandler_GetClass, file);
3453 newXS("Wx::XmlResourceHandler::GetParent", XS_Wx__XmlResourceHandler_GetParent, file);
3454 newXS("Wx::XmlResourceHandler::GetInstance", XS_Wx__XmlResourceHandler_GetInstance, file);
3455 newXS("Wx::XmlResourceHandler::GetParentAsWindow", XS_Wx__XmlResourceHandler_GetParentAsWindow, file);
3457 newXS("Wx::XmlResourceHandler::GetInstanceAsWindow", XS_Wx__XmlResourceHandler_GetInstanceAsWindow, file);
3459 newXS("Wx::XmlResourceHandler::IsOfClass", XS_Wx__XmlResourceHandler_IsOfClass, file);
3460 newXS("Wx::XmlResourceHandler::GetNodeContent", XS_Wx__XmlResourceHandler_GetNodeContent, file);
3461 newXS("Wx::XmlResourceHandler::HasParam", XS_Wx__XmlResourceHandler_HasParam, file);
3462 newXS("Wx::XmlResourceHandler::GetParamNode", XS_Wx__XmlResourceHandler_GetParamNode, file);
3463 newXS("Wx::XmlResourceHandler::GetParamValue", XS_Wx__XmlResourceHandler_GetParamValue, file);
3464 newXS("Wx::XmlResourceHandler::AddStyle", XS_Wx__XmlResourceHandler_AddStyle, file);
3465 newXS("Wx::XmlResourceHandler::AddWindowStyles", XS_Wx__XmlResourceHandler_AddWindowStyles, file);
3466 newXS("Wx::XmlResourceHandler::GetStyle", XS_Wx__XmlResourceHandler_GetStyle, file);
3467 newXS("Wx::XmlResourceHandler::GetText", XS_Wx__XmlResourceHandler_GetText, file);
3468 newXS("Wx::XmlResourceHandler::GetID", XS_Wx__XmlResourceHandler_GetID, file);
3469 newXS("Wx::XmlResourceHandler::GetName", XS_Wx__XmlResourceHandler_GetName, file);
3470 newXS("Wx::XmlResourceHandler::GetBool", XS_Wx__XmlResourceHandler_GetBool, file);
3471 newXS("Wx::XmlResourceHandler::GetLong", XS_Wx__XmlResourceHandler_GetLong, file);
3472 newXS("Wx::XmlResourceHandler::GetColour", XS_Wx__XmlResourceHandler_GetColour, file);
3473 newXS("Wx::XmlResourceHandler::GetSize", XS_Wx__XmlResourceHandler_GetSize, file);
3474 newXS("Wx::XmlResourceHandler::GetPosition", XS_Wx__XmlResourceHandler_GetPosition, file);
3475 newXS("Wx::XmlResourceHandler::GetDimension", XS_Wx__XmlResourceHandler_GetDimension, file);
3476 newXS("Wx::XmlResourceHandler::GetBitmap", XS_Wx__XmlResourceHandler_GetBitmap, file);
3477 newXS("Wx::XmlResourceHandler::GetIcon", XS_Wx__XmlResourceHandler_GetIcon, file);
3478 newXS("Wx::XmlResourceHandler::GetFont", XS_Wx__XmlResourceHandler_GetFont, file);
3479 newXS("Wx::XmlResourceHandler::SetupWindow", XS_Wx__XmlResourceHandler_SetupWindow, file);
3480 newXS("Wx::XmlResourceHandler::CreateChildren", XS_Wx__XmlResourceHandler_CreateChildren, file);
3481 newXS("Wx::XmlResourceHandler::CreateChildrenPrivately", XS_Wx__XmlResourceHandler_CreateChildrenPrivately, file);
3482 newXS("Wx::XmlResourceHandler::CreateResFromNode", XS_Wx__XmlResourceHandler_CreateResFromNode, file);
3483 newXS("Wx::XmlInitXmlModule", XS_Wx_XmlInitXmlModule, file);
3484 newXS("Wx::XmlInitResourceModule", XS_Wx_XmlInitResourceModule, file);
3486 /* Initialisation Section */
3488 INIT_PLI_HELPERS( wx_pli_helpers );
3535 /* End of Initialisation Section */
3537 #if (PERL_REVISION == 5 && PERL_VERSION >= 9)
3539 call_list(PL_scopestack_ix, PL_unitcheckav);