/*
 * This file was generated automatically by ExtUtils::ParseXS version 3.24 from the
 * contents of Controls.xs. Do not edit this file, edit Controls.xs instead.
 *
 *    ANY CHANGES MADE HERE WILL BE LOST!
 *
 */

/////////////////////////////////////////////////////////////////////////////
// Name:        Controls.xs
// Purpose:     XS for Wx::Control and derived classes
// Author:      Mattia Barbon
// Modified by:
// Created:     29/10/2000
// RCS-ID:      $Id: Controls.xs 3478 2013-04-16 10:31:53Z mdootson $
// Copyright:   (c) 2000-2013 Mattia Barbon
// Licence:     This program is free software; you can redistribute it and/or
//              modify it under the same terms as Perl itself
/////////////////////////////////////////////////////////////////////////////

#define PERL_NO_GET_CONTEXT

#include "cpp/wxapi.h"

#include <wx/defs.h>

#include <wx/imaglist.h>
#include <wx/event.h>
#include <wx/colour.h>
#include <wx/listctrl.h>
#include <wx/treectrl.h>
#include <wx/ctrlsub.h>

// re-include for client data
#include "cpp/helpers.h"

#define wxDefaultValidatorPtr (wxValidator*)&wxDefaultValidator
#define wxBLACKPtr (wxColour*)wxBLACK
#define wxNORMAL_FONTPtr (wxFont*)wxNORMAL_FONT
#define wxNullBitmapPtr (wxBitmap*) &wxNullBitmap
#define wxNullAnimationPtr (wxAnimation*) &wxNullAnimation
#define wxNullColourPtr (wxColour*)&wxNullColour

#undef THIS

#include "cpp/v_cback.h"

#include "cpp/controls.h"
#include "cpp/controls.cpp"
#include "cpp/overload.h"

WXPLI_BOOT_ONCE(Wx_Ctrl);
#define boot_Wx_Ctrl wxPli_boot_Wx_Ctrl

#ifndef PERL_UNUSED_VAR
#  define PERL_UNUSED_VAR(var) if (0) var = var
#endif

#ifndef dVAR
#  define dVAR		dNOOP
#endif


/* This stuff is not part of the API! You have been warned. */
#ifndef PERL_VERSION_DECIMAL
#  define PERL_VERSION_DECIMAL(r,v,s) (r*1000000 + v*1000 + s)
#endif
#ifndef PERL_DECIMAL_VERSION
#  define PERL_DECIMAL_VERSION \
	  PERL_VERSION_DECIMAL(PERL_REVISION,PERL_VERSION,PERL_SUBVERSION)
#endif
#ifndef PERL_VERSION_GE
#  define PERL_VERSION_GE(r,v,s) \
	  (PERL_DECIMAL_VERSION >= PERL_VERSION_DECIMAL(r,v,s))
#endif
#ifndef PERL_VERSION_LE
#  define PERL_VERSION_LE(r,v,s) \
	  (PERL_DECIMAL_VERSION <= PERL_VERSION_DECIMAL(r,v,s))
#endif

/* XS_INTERNAL is the explicit static-linkage variant of the default
 * XS macro.
 *
 * XS_EXTERNAL is the same as XS_INTERNAL except it does not include
 * "STATIC", ie. it exports XSUB symbols. You probably don't want that
 * for anything but the BOOT XSUB.
 *
 * See XSUB.h in core!
 */


/* TODO: This might be compatible further back than 5.10.0. */
#if PERL_VERSION_GE(5, 10, 0) && PERL_VERSION_LE(5, 15, 1)
#  undef XS_EXTERNAL
#  undef XS_INTERNAL
#  if defined(__CYGWIN__) && defined(USE_DYNAMIC_LOADING)
#    define XS_EXTERNAL(name) __declspec(dllexport) XSPROTO(name)
#    define XS_INTERNAL(name) STATIC XSPROTO(name)
#  endif
#  if defined(__SYMBIAN32__)
#    define XS_EXTERNAL(name) EXPORT_C XSPROTO(name)
#    define XS_INTERNAL(name) EXPORT_C STATIC XSPROTO(name)
#  endif
#  ifndef XS_EXTERNAL
#    if defined(HASATTRIBUTE_UNUSED) && !defined(__cplusplus)
#      define XS_EXTERNAL(name) void name(pTHX_ CV* cv __attribute__unused__)
#      define XS_INTERNAL(name) STATIC void name(pTHX_ CV* cv __attribute__unused__)
#    else
#      ifdef __cplusplus
#        define XS_EXTERNAL(name) extern "C" XSPROTO(name)
#        define XS_INTERNAL(name) static XSPROTO(name)
#      else
#        define XS_EXTERNAL(name) XSPROTO(name)
#        define XS_INTERNAL(name) STATIC XSPROTO(name)
#      endif
#    endif
#  endif
#endif

/* perl >= 5.10.0 && perl <= 5.15.1 */


/* The XS_EXTERNAL macro is used for functions that must not be static
 * like the boot XSUB of a module. If perl didn't have an XS_EXTERNAL
 * macro defined, the best we can do is assume XS is the same.
 * Dito for XS_INTERNAL.
 */
#ifndef XS_EXTERNAL
#  define XS_EXTERNAL(name) XS(name)
#endif
#ifndef XS_INTERNAL
#  define XS_INTERNAL(name) XS(name)
#endif

/* Now, finally, after all this mess, we want an ExtUtils::ParseXS
 * internal macro that we're free to redefine for varying linkage due
 * to the EXPORT_XSUB_SYMBOLS XS keyword. This is internal, use
 * XS_EXTERNAL(name) or XS_INTERNAL(name) in your code if you need to!
 */

#undef XS_EUPXS
#if defined(PERL_EUPXS_ALWAYS_EXPORT)
#  define XS_EUPXS(name) XS_EXTERNAL(name)
#else
   /* default to internal */
#  define XS_EUPXS(name) XS_INTERNAL(name)
#endif

#ifndef PERL_ARGS_ASSERT_CROAK_XS_USAGE
#define PERL_ARGS_ASSERT_CROAK_XS_USAGE assert(cv); assert(params)

/* prototype to pass -Wmissing-prototypes */
STATIC void
S_croak_xs_usage(pTHX_ const CV *const cv, const char *const params);

STATIC void
S_croak_xs_usage(pTHX_ const CV *const cv, const char *const params)
{
    const GV *const gv = CvGV(cv);

    PERL_ARGS_ASSERT_CROAK_XS_USAGE;

    if (gv) {
        const char *const gvname = GvNAME(gv);
        const HV *const stash = GvSTASH(gv);
        const char *const hvname = stash ? HvNAME(stash) : NULL;

        if (hvname)
            Perl_croak(aTHX_ "Usage: %s::%s(%s)", hvname, gvname, params);
        else
            Perl_croak(aTHX_ "Usage: %s(%s)", gvname, params);
    } else {
        /* Pants. I don't think that it should be possible to get here. */
        Perl_croak(aTHX_ "Usage: CODE(0x%"UVxf")(%s)", PTR2UV(cv), params);
    }
}
#undef  PERL_ARGS_ASSERT_CROAK_XS_USAGE

#ifdef PERL_IMPLICIT_CONTEXT
#define croak_xs_usage(a,b)    S_croak_xs_usage(aTHX_ a,b)
#else
#define croak_xs_usage        S_croak_xs_usage
#endif

#endif

/* NOTE: the prototype of newXSproto() is different in versions of perls,
 * so we define a portable version of newXSproto()
 */
#ifdef newXS_flags
#define newXSproto_portable(name, c_impl, file, proto) newXS_flags(name, c_impl, file, proto, 0)
#else
#define newXSproto_portable(name, c_impl, file, proto) (PL_Sv=(SV*)newXS(name, c_impl, file), sv_setpv(PL_Sv, proto), (CV*)PL_Sv)
#endif /* !defined(newXS_flags) */


XS_EUPXS(XS_Wx__Control_Command); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Control_Command)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, event");
    {
	wxCommandEvent*    event = (wxCommandEvent *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::CommandEvent" )
;
	wxControl *    THIS = (wxControl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Control" )
;
    THIS->Command( *event );
    }
    XSRETURN_EMPTY;
}

#if WXPERL_W_VERSION_GE( 2, 7, 2 )
#define XSubPPtmpAAAA 1


XS_EUPXS(XS_Wx__Control_GetLabelText); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Control_GetLabelText)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxControl *    THIS = (wxControl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Control" )
;
	wxString	RETVAL;

	RETVAL = THIS->GetLabelText();
	ST(0) = sv_newmortal();
    WXSTRING_OUTPUT( RETVAL, ST(0) );
    }
    XSRETURN(1);
}

#endif

/* INCLUDE_COMMAND:  Including output of '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/ControlWithItems.xsp' from 'Controls.xs' */

#include <exception>

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)

/* INCLUDE_COMMAND:  Including output of '/usr/bin/perl -pe "s/ItemContainerImmutable/ControlWithItems/g" XS/ItemContainerImmutable.xs' from '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/ControlWithItems.xsp' */

#include <exception>

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)

XS_EUPXS(XS_Wx__ControlWithItems_GetCount); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ControlWithItems_GetCount)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxControlWithItems *    THIS = (wxControlWithItems *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ControlWithItems" )
;
	unsigned int	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetCount();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHu((UV)RETVAL );
    }
    XSRETURN(1);
}

#if !defined(WXPERL_IN_COMBOBOX) || WXPERL_W_VERSION_LE( 2, 9, 2 )
#define XSpp_f9ce292b_092569
#define XSubPPtmpAAAB 1


XS_EUPXS(XS_Wx__ControlWithItems_IsEmpty); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ControlWithItems_IsEmpty)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxControlWithItems *    THIS = (wxControlWithItems *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ControlWithItems" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->IsEmpty();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}

#endif

XS_EUPXS(XS_Wx__ControlWithItems_GetString); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ControlWithItems_GetString)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, n");
    {
	wxControlWithItems *    THIS = (wxControlWithItems *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ControlWithItems" )
;
	wxString	RETVAL;
	unsigned int    n = (unsigned int)SvUV( ST(1) )
;
    try {
      RETVAL = THIS->GetString( n );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    WXSTRING_OUTPUT( RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ControlWithItems_GetStrings); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ControlWithItems_GetStrings)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	wxControlWithItems *    THIS = (wxControlWithItems *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ControlWithItems" )
;
    PUTBACK;
    wxPli_stringarray_push( aTHX_ THIS->GetStrings() );
    SPAGAIN;
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__ControlWithItems_SetString); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ControlWithItems_SetString)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, n, s");
    {
	wxControlWithItems *    THIS = (wxControlWithItems *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ControlWithItems" )
;
	unsigned int    n = (unsigned int)SvUV( ST(1) )
;
	wxString	s;

    WXSTRING_INPUT( s, wxString, ST(2) )
;
    try {
      THIS->SetString( n, s );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ControlWithItems_FindString); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ControlWithItems_FindString)
{
    dVAR; dXSARGS;
    if (items < 1)
       croak_xs_usage(cv,  "THIS, ...");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	wxControlWithItems *    THIS = (wxControlWithItems *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ControlWithItems" )
;
	int	RETVAL;
	dXSTARG;
    BEGIN_OVERLOAD()
#if WXPERL_W_VERSION_GE( 2, 7, 2 )
        MATCH_REDISP( wxPliOvl_s_b, FindStringCase )
#endif
        MATCH_REDISP( wxPliOvl_s, FindStringNoCase )
    END_OVERLOAD( Wx::ControlWithItems::FindString )
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__ControlWithItems_FindStringNoCase); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ControlWithItems_FindStringNoCase)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, s");
    {
	wxControlWithItems *    THIS = (wxControlWithItems *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ControlWithItems" )
;
	int	RETVAL;
	dXSTARG;
	wxString	s;

    WXSTRING_INPUT( s, wxString, ST(1) )
;
    try {
      RETVAL = THIS->FindString( s );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}

#if WXPERL_W_VERSION_GE( 2, 7, 2 )
#define XSpp_f9ce292b_042485
#define XSubPPtmpAAAC 1


XS_EUPXS(XS_Wx__ControlWithItems_FindStringCase); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ControlWithItems_FindStringCase)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 3)
       croak_xs_usage(cv,  "THIS, s, bCase= false");
    {
	wxControlWithItems *    THIS = (wxControlWithItems *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ControlWithItems" )
;
	int	RETVAL;
	dXSTARG;
	wxString	s;
	bool	bCase;

    WXSTRING_INPUT( s, wxString, ST(1) )
;

	if (items < 3)
	    bCase = false;
	else {
	    bCase = (bool)SvTRUE(ST(2))
;
	}
    try {
      RETVAL = THIS->FindString( s, bCase );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}

#endif
#if !defined(WXPERL_IN_COMBOBOX)
#define XSpp_f9ce292b_066387
#define XSubPPtmpAAAD 1


XS_EUPXS(XS_Wx__ControlWithItems_SetSelection); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ControlWithItems_SetSelection)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, n");
    {
	wxControlWithItems *    THIS = (wxControlWithItems *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ControlWithItems" )
;
	int	n = (int)SvIV(ST(1))
;
    try {
      THIS->SetSelection( n );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ControlWithItems_GetSelection); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ControlWithItems_GetSelection)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxControlWithItems *    THIS = (wxControlWithItems *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ControlWithItems" )
;
	int	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetSelection();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}

#endif

XS_EUPXS(XS_Wx__ControlWithItems_SetStringSelection); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ControlWithItems_SetStringSelection)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, s");
    {
	wxControlWithItems *    THIS = (wxControlWithItems *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ControlWithItems" )
;
	bool	RETVAL;
	wxString	s;

    WXSTRING_INPUT( s, wxString, ST(1) )
;
    try {
      RETVAL = THIS->SetStringSelection( s );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ControlWithItems_GetStringSelection); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ControlWithItems_GetStringSelection)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxControlWithItems *    THIS = (wxControlWithItems *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ControlWithItems" )
;
	wxString	RETVAL;
    try {
      RETVAL = THIS->GetStringSelection();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    WXSTRING_OUTPUT( RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ControlWithItems_Select); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ControlWithItems_Select)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, n");
    {
	wxControlWithItems *    THIS = (wxControlWithItems *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ControlWithItems" )
;
	int	n = (int)SvIV(ST(1))
;
    try {
      THIS->Select( n );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


/* INCLUDE: Returning to '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/ControlWithItems.xsp' from '/usr/bin/perl -pe "s/ItemContainerImmutable/ControlWithItems/g" XS/ItemContainerImmutable.xs' */


/* INCLUDE_COMMAND:  Including output of '/usr/bin/perl -pe "s/ItemContainer/ControlWithItems/g" XS/ItemContainer.xs' from '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/ControlWithItems.xsp' */

#include <exception>

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)

XS_EUPXS(XS_Wx__ControlWithItems_Append); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ControlWithItems_Append)
{
    dVAR; dXSARGS;
    if (items < 1)
       croak_xs_usage(cv,  "THIS, ...");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	wxControlWithItems *    THIS = (wxControlWithItems *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ControlWithItems" )
;
    BEGIN_OVERLOAD()
        MATCH_REDISP( wxPliOvl_arr_arr, AppendItemsData )
        MATCH_REDISP( wxPliOvl_arr, AppendItems )
        MATCH_REDISP( wxPliOvl_s_s, AppendData )
        MATCH_REDISP( wxPliOvl_s, AppendString )
    END_OVERLOAD( Wx::ControlWithItems::Append )
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__ControlWithItems_AppendString); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ControlWithItems_AppendString)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	wxControlWithItems *    THIS = (wxControlWithItems *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ControlWithItems" )
;
	wxString	item;

    WXSTRING_INPUT( item, wxString, ST(1) )
;
    try {
      THIS->Append( item );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ControlWithItems_AppendData); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ControlWithItems_AppendData)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, item, data");
    {
	wxControlWithItems *    THIS = (wxControlWithItems *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ControlWithItems" )
;
	wxString	item;
	wxPliUserDataCD*	data;

    WXSTRING_INPUT( item, wxString, ST(1) )
;

    if( SvOK( ST(2) ) )
    {
        data = new wxPliUserDataCD( ST(2) );
    }
    else
        data = 0
;
    try {
      THIS->Append( item, data );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ControlWithItems_AppendItems); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ControlWithItems_AppendItems)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, items");
    {
	wxControlWithItems *    THIS = (wxControlWithItems *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ControlWithItems" )
;
	wxArrayString	items;

    wxPli_av_2_arraystring( aTHX_ ST(1), & items )
;
    try {
      THIS->Append( items );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}

#if WXPERL_W_VERSION_GE( 2, 9, 0 )
#define XSpp_a2ea7434_002741
#define XSubPPtmpAAAE 1


XS_EUPXS(XS_Wx__ControlWithItems_AppendItemsData); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ControlWithItems_AppendItemsData)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, items, data");
    {
	wxControlWithItems *    THIS = (wxControlWithItems *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ControlWithItems" )
;
	wxArrayString	items;
	wxPliUserDataCD**	data;

    wxPli_av_2_arraystring( aTHX_ ST(1), & items )
;

    wxPli_av_2_userdatacdarray( aTHX_ ST(2), & data );
    wxPliArrayGuard<wxPliUserDataCD*> guard_data = data
;
     THIS->Append( items, (wxClientData**)data ); 
    }
    XSRETURN_EMPTY;
}

#endif

XS_EUPXS(XS_Wx__ControlWithItems_Insert); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ControlWithItems_Insert)
{
    dVAR; dXSARGS;
    if (items < 1)
       croak_xs_usage(cv,  "THIS, ...");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	wxControlWithItems *    THIS = (wxControlWithItems *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ControlWithItems" )
;
    BEGIN_OVERLOAD()
        MATCH_REDISP( wxPliOvl_arr_n_arr, InsertItemsData )
        MATCH_REDISP( wxPliOvl_arr_n, InsertItems )
        MATCH_REDISP( wxPliOvl_s_n_s, InsertData )
        MATCH_REDISP( wxPliOvl_s_n, InsertString )
    END_OVERLOAD( Wx::ControlWithItems::Insert )
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__ControlWithItems_InsertString); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ControlWithItems_InsertString)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, item, pos");
    {
	wxControlWithItems *    THIS = (wxControlWithItems *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ControlWithItems" )
;
	wxString	item;
	unsigned int    pos = (unsigned int)SvUV( ST(2) )
;

    WXSTRING_INPUT( item, wxString, ST(1) )
;
    try {
      THIS->Insert( item, pos );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ControlWithItems_InsertData); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ControlWithItems_InsertData)
{
    dVAR; dXSARGS;
    if (items != 4)
       croak_xs_usage(cv,  "THIS, item, pos, data");
    {
	wxControlWithItems *    THIS = (wxControlWithItems *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ControlWithItems" )
;
	wxString	item;
	unsigned int    pos = (unsigned int)SvUV( ST(2) )
;
	wxPliUserDataCD*	data;

    WXSTRING_INPUT( item, wxString, ST(1) )
;

    if( SvOK( ST(3) ) )
    {
        data = new wxPliUserDataCD( ST(3) );
    }
    else
        data = 0
;
    try {
      THIS->Insert( item, pos, data );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}

#if WXPERL_W_VERSION_GE( 2, 9, 0 )
#define XSpp_a2ea7434_092796
#define XSubPPtmpAAAF 1


XS_EUPXS(XS_Wx__ControlWithItems_InsertItems); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ControlWithItems_InsertItems)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, items, pos");
    {
	wxControlWithItems *    THIS = (wxControlWithItems *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ControlWithItems" )
;
	wxArrayString	items;
	unsigned int    pos = (unsigned int)SvUV( ST(2) )
;

    wxPli_av_2_arraystring( aTHX_ ST(1), & items )
;
    try {
      THIS->Insert( items, pos );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ControlWithItems_InsertItemsData); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ControlWithItems_InsertItemsData)
{
    dVAR; dXSARGS;
    if (items != 4)
       croak_xs_usage(cv,  "THIS, items, pos, data");
    {
	wxControlWithItems *    THIS = (wxControlWithItems *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ControlWithItems" )
;
	wxArrayString	items;
	unsigned int    pos = (unsigned int)SvUV( ST(2) )
;
	wxPliUserDataCD**	data;

    wxPli_av_2_arraystring( aTHX_ ST(1), & items )
;

    wxPli_av_2_userdatacdarray( aTHX_ ST(3), & data );
    wxPliArrayGuard<wxPliUserDataCD*> guard_data = data
;
     THIS->Insert( items, pos, (wxClientData**)data ); 
    }
    XSRETURN_EMPTY;
}

#endif
#if WXPERL_W_VERSION_GE( 2, 9, 0 )
#define XSpp_a2ea7434_072405
#define XSubPPtmpAAAG 1


XS_EUPXS(XS_Wx__ControlWithItems_Set); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ControlWithItems_Set)
{
    dVAR; dXSARGS;
    if (items < 1)
       croak_xs_usage(cv,  "THIS, ...");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	wxControlWithItems *    THIS = (wxControlWithItems *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ControlWithItems" )
;
    BEGIN_OVERLOAD()
        MATCH_REDISP( wxPliOvl_arr_arr, SetItemsData )
        MATCH_REDISP( wxPliOvl_arr, SetItems )
    END_OVERLOAD( Wx::ControlWithItems::Set )
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__ControlWithItems_SetItems); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ControlWithItems_SetItems)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, items");
    {
	wxControlWithItems *    THIS = (wxControlWithItems *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ControlWithItems" )
;
	wxArrayString	items;

    wxPli_av_2_arraystring( aTHX_ ST(1), & items )
;
    try {
      THIS->Set( items );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ControlWithItems_SetItemsData); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ControlWithItems_SetItemsData)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, items, data");
    {
	wxControlWithItems *    THIS = (wxControlWithItems *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ControlWithItems" )
;
	wxArrayString	items;
	wxPliUserDataCD**	data;

    wxPli_av_2_arraystring( aTHX_ ST(1), & items )
;

    wxPli_av_2_userdatacdarray( aTHX_ ST(2), & data );
    wxPliArrayGuard<wxPliUserDataCD*> guard_data = data
;
     THIS->Set( items, (wxClientData**)data ); 
    }
    XSRETURN_EMPTY;
}

#endif

XS_EUPXS(XS_Wx__ControlWithItems_Clear); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ControlWithItems_Clear)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxControlWithItems *    THIS = (wxControlWithItems *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ControlWithItems" )
;
    try {
      THIS->Clear();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ControlWithItems_Delete); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ControlWithItems_Delete)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, n");
    {
	wxControlWithItems *    THIS = (wxControlWithItems *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ControlWithItems" )
;
	int	n = (int)SvIV(ST(1))
;
    try {
      THIS->Delete( n );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ControlWithItems_GetClientData); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ControlWithItems_GetClientData)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, n");
    {
	wxControlWithItems *    THIS = (wxControlWithItems *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ControlWithItems" )
;
	wxPliUserDataCD *	RETVAL;
	int	n = (int)SvIV(ST(1))
;
     RETVAL = (wxPliUserDataCD*) THIS->GetClientObject( n ); 
    ST(0) = ( RETVAL == 0 ) ? &PL_sv_undef : RETVAL->GetData();
    SvREFCNT_inc( ST(0) ); // xsubpp mortalizes it...
	sv_2mortal(ST(0));
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ControlWithItems_SetClientData); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ControlWithItems_SetClientData)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, n, data");
    {
	wxControlWithItems *    THIS = (wxControlWithItems *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ControlWithItems" )
;
	int	n = (int)SvIV(ST(1))
;
	wxPliUserDataCD*	data;

    if( SvOK( ST(2) ) )
    {
        data = new wxPliUserDataCD( ST(2) );
    }
    else
        data = 0
;
    try {
      THIS->SetClientObject( n, data );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}

#if WXPERL_W_VERSION_GE( 2, 9, 0 )
#define XSpp_a2ea7434_090936
#endif

/* INCLUDE: Returning to '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/ControlWithItems.xsp' from '/usr/bin/perl -pe "s/ItemContainer/ControlWithItems/g" XS/ItemContainer.xs' */


/* INCLUDE: Returning to 'Controls.xs' from '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/ControlWithItems.xsp' */


/* INCLUDE_COMMAND:  Including output of '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp interface/wx/bmpbuttn.h' from 'Controls.xs' */


/* INCLUDE_COMMAND:  Including output of '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/AnimationCtrl.xsp' from '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp interface/wx/bmpbuttn.h' */

#include <exception>

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#if WXPERL_W_VERSION_GE( 2, 7, 2 )
#define XSpp_29145de4_096481
#include <wx/animate.h>
#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)
#define XSubPPtmpAAAH 1


XS_EUPXS(XS_Wx__AnimationCtrl_newDefault); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__AnimationCtrl_newDefault)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "CLASS");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxAnimationCtrl *	RETVAL;
     RETVAL = new wxAnimationCtrl();
                wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)

XS_EUPXS(XS_Wx__AnimationCtrl_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__AnimationCtrl_new)
{
    dVAR; dXSARGS;
    if (items < 3 || items > 8)
       croak_xs_usage(cv,  "CLASS, parent, id, anim= wxNullAnimationPtr, pos= wxDefaultPosition, size= wxDefaultSize, style= wxAC_DEFAULT_STYLE, name= wxAnimationCtrlNameStr");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxAnimationCtrl *	RETVAL;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	wxAnimation*	anim;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxString	name;

	if (items < 4)
	    anim = wxNullAnimationPtr;
	else {
    anim = (wxAnimation *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::Animation" )
;
	}

	if (items < 5)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(5) )
;
	}

	if (items < 7)
	    style = wxAC_DEFAULT_STYLE;
	else {
	    style = (long)SvIV(ST(6))
;
	}

	if (items < 8)
	    name = wxAnimationCtrlNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(7) )
;
	}
     RETVAL = new wxAnimationCtrl( parent, id, *anim, pos, size,
                                              style, name );
                wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)

XS_EUPXS(XS_Wx__AnimationCtrl_Create); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__AnimationCtrl_Create)
{
    dVAR; dXSARGS;
    if (items < 3 || items > 8)
       croak_xs_usage(cv,  "THIS, parent, id, anim= wxNullAnimationPtr, pos= wxDefaultPosition, size= wxDefaultSize, style= wxAC_DEFAULT_STYLE, name= wxAnimationCtrlNameStr");
    {
	wxAnimationCtrl *    THIS = (wxAnimationCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::AnimationCtrl" )
;
	bool	RETVAL;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	wxAnimation*	anim;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxString	name;

	if (items < 4)
	    anim = wxNullAnimationPtr;
	else {
    anim = (wxAnimation *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::Animation" )
;
	}

	if (items < 5)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(5) )
;
	}

	if (items < 7)
	    style = wxAC_DEFAULT_STYLE;
	else {
	    style = (long)SvIV(ST(6))
;
	}

	if (items < 8)
	    name = wxAnimationCtrlNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(7) )
;
	}
    try {
      RETVAL = THIS->Create( parent, id, *( anim ), pos, size, style, name );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__AnimationCtrl_LoadFile); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__AnimationCtrl_LoadFile)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 3)
       croak_xs_usage(cv,  "THIS, filename, type= wxANIMATION_TYPE_ANY");
    {
	wxAnimationCtrl *    THIS = (wxAnimationCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::AnimationCtrl" )
;
	bool	RETVAL;
	wxString	filename;
	wxAnimationType	type;

    WXSTRING_INPUT( filename, wxString, ST(1) )
;

	if (items < 3)
	    type = wxANIMATION_TYPE_ANY;
	else {
	    type = (wxAnimationType)SvIV(ST(2))
;
	}
    try {
      RETVAL = THIS->LoadFile( filename, type );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__AnimationCtrl_SetAnimation); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__AnimationCtrl_SetAnimation)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, anim");
    {
	wxAnimationCtrl *    THIS = (wxAnimationCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::AnimationCtrl" )
;
	wxAnimation*    anim = (wxAnimation *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Animation" )
;
    try {
      THIS->SetAnimation( *( anim ) );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__AnimationCtrl_GetAnimation); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__AnimationCtrl_GetAnimation)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxAnimationCtrl *    THIS = (wxAnimationCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::AnimationCtrl" )
;
	wxAnimation *	RETVAL;
    try {
      RETVAL = new wxAnimation( THIS->GetAnimation() );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    wxPli_thread_sv_register( aTHX_ "Wx::Animation", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__AnimationCtrl_Play); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__AnimationCtrl_Play)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxAnimationCtrl *    THIS = (wxAnimationCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::AnimationCtrl" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->Play();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__AnimationCtrl_Stop); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__AnimationCtrl_Stop)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxAnimationCtrl *    THIS = (wxAnimationCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::AnimationCtrl" )
;
    try {
      THIS->Stop();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__AnimationCtrl_IsPlaying); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__AnimationCtrl_IsPlaying)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxAnimationCtrl *    THIS = (wxAnimationCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::AnimationCtrl" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->IsPlaying();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__AnimationCtrl_SetInactiveBitmap); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__AnimationCtrl_SetInactiveBitmap)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, bmp");
    {
	wxAnimationCtrl *    THIS = (wxAnimationCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::AnimationCtrl" )
;
	wxBitmap*    bmp = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Bitmap" )
;
    try {
      THIS->SetInactiveBitmap( *( bmp ) );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__AnimationCtrl_GetInactiveBitmap); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__AnimationCtrl_GetInactiveBitmap)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxAnimationCtrl *    THIS = (wxAnimationCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::AnimationCtrl" )
;
	wxBitmap *	RETVAL;
    try {
      RETVAL = new wxBitmap( THIS->GetInactiveBitmap() );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    wxPli_thread_sv_register( aTHX_ "Wx::Bitmap", RETVAL, ST(0) );
    }
    XSRETURN(1);
}

#endif

/* INCLUDE: Returning to '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp interface/wx/bmpbuttn.h' from '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/AnimationCtrl.xsp' */

#include <exception>

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#include <wx/bmpbuttn.h>
#if WXPERL_W_VERSION_GE( 2, 9, 5 )
#define XSpp_359dd586_097651
#define XSubPPtmpAAAI 1


XS_EUPXS(XS_Wx__BitmapButton_NewCloseButton); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BitmapButton_NewCloseButton)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "parent, winid");
    {
	wxBitmapButton *	RETVAL;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" )
;
	wxWindowID    winid = wxPli_get_wxwindowid( aTHX_ ST(1) )
;
    try {
      RETVAL = wxBitmapButton::NewCloseButton( parent, winid );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#endif    
#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)

XS_EUPXS(XS_Wx__BitmapButton_newDefault); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BitmapButton_newDefault)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "CLASS");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxBitmapButton *	RETVAL;
    try {
      RETVAL = new wxBitmapButton();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
     wxPli_create_evthandler( aTHX_ RETVAL, CLASS ); 
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)

XS_EUPXS(XS_Wx__BitmapButton_newFull); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BitmapButton_newFull)
{
    dVAR; dXSARGS;
    if (items < 4 || items > 9)
       croak_xs_usage(cv,  "CLASS, parent, id, bitmap, pos= wxDefaultPosition, size= wxDefaultSize, style= wxBU_AUTODRAW, validator= wxDefaultValidatorPtr, name= wxButtonNameStr");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxBitmapButton *	RETVAL;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	wxBitmap*    bitmap = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::Bitmap" )
;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxValidator*	validator;
	wxString	name;

	if (items < 5)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(5) )
;
	}

	if (items < 7)
	    style = wxBU_AUTODRAW;
	else {
	    style = (long)SvIV(ST(6))
;
	}

	if (items < 8)
	    validator = wxDefaultValidatorPtr;
	else {
    validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" )
;
	}

	if (items < 9)
	    name = wxButtonNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(8) )
;
	}
    try {
      RETVAL = new wxBitmapButton( parent, id, *( bitmap ), pos, size, style, *( validator ), name );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
     wxPli_create_evthandler( aTHX_ RETVAL, CLASS ); 
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)

XS_EUPXS(XS_Wx__BitmapButton_Create); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BitmapButton_Create)
{
    dVAR; dXSARGS;
    if (items < 4 || items > 9)
       croak_xs_usage(cv,  "THIS, parent, id, bitmap, pos= wxDefaultPosition, size= wxDefaultSize, style= wxBU_AUTODRAW, validator= wxDefaultValidatorPtr, name= wxButtonNameStr");
    {
	wxBitmapButton *    THIS = (wxBitmapButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BitmapButton" )
;
	bool	RETVAL;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	wxBitmap*    bitmap = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::Bitmap" )
;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxValidator*	validator;
	wxString	name;

	if (items < 5)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(5) )
;
	}

	if (items < 7)
	    style = wxBU_AUTODRAW;
	else {
	    style = (long)SvIV(ST(6))
;
	}

	if (items < 8)
	    validator = wxDefaultValidatorPtr;
	else {
    validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" )
;
	}

	if (items < 9)
	    name = wxButtonNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(8) )
;
	}
    try {
      RETVAL = THIS->Create( parent, id, *( bitmap ), pos, size, style, *( validator ), name );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__BitmapButton_GetBitmapDisabled); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BitmapButton_GetBitmapDisabled)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxBitmapButton *    THIS = (wxBitmapButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BitmapButton" )
;
	wxBitmap *	RETVAL;
    try {
      RETVAL = new wxBitmap( THIS->GetBitmapDisabled() );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    wxPli_thread_sv_register( aTHX_ "Wx::Bitmap", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__BitmapButton_GetBitmapFocus); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BitmapButton_GetBitmapFocus)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxBitmapButton *    THIS = (wxBitmapButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BitmapButton" )
;
	wxBitmap *	RETVAL;
    try {
      RETVAL = new wxBitmap( THIS->GetBitmapFocus() );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    wxPli_thread_sv_register( aTHX_ "Wx::Bitmap", RETVAL, ST(0) );
    }
    XSRETURN(1);
}

#if WXPERL_W_VERSION_GE( 2, 7, 0 )
#define XSpp_359dd586_017614
#define XSubPPtmpAAAJ 1


XS_EUPXS(XS_Wx__BitmapButton_GetBitmapHover); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BitmapButton_GetBitmapHover)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxBitmapButton *    THIS = (wxBitmapButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BitmapButton" )
;
	wxBitmap *	RETVAL;
    try {
      RETVAL = new wxBitmap( THIS->GetBitmapHover() );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    wxPli_thread_sv_register( aTHX_ "Wx::Bitmap", RETVAL, ST(0) );
    }
    XSRETURN(1);
}

#endif

XS_EUPXS(XS_Wx__BitmapButton_GetBitmapLabel); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BitmapButton_GetBitmapLabel)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxBitmapButton *    THIS = (wxBitmapButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BitmapButton" )
;
	wxBitmap *	RETVAL;
    try {
      RETVAL = new wxBitmap( THIS->GetBitmapLabel() );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    wxPli_thread_sv_register( aTHX_ "Wx::Bitmap", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__BitmapButton_GetBitmapSelected); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BitmapButton_GetBitmapSelected)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxBitmapButton *    THIS = (wxBitmapButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BitmapButton" )
;
	wxBitmap *	RETVAL;
    try {
      RETVAL = new wxBitmap( THIS->GetBitmapSelected() );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    wxPli_thread_sv_register( aTHX_ "Wx::Bitmap", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__BitmapButton_SetBitmapDisabled); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BitmapButton_SetBitmapDisabled)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, bitmap");
    {
	wxBitmapButton *    THIS = (wxBitmapButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BitmapButton" )
;
	wxBitmap*    bitmap = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Bitmap" )
;
    try {
      THIS->SetBitmapDisabled( *( bitmap ) );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__BitmapButton_SetBitmapFocus); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BitmapButton_SetBitmapFocus)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, bitmap");
    {
	wxBitmapButton *    THIS = (wxBitmapButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BitmapButton" )
;
	wxBitmap*    bitmap = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Bitmap" )
;
    try {
      THIS->SetBitmapFocus( *( bitmap ) );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}

#if WXPERL_W_VERSION_GE( 2, 7, 0 )
#define XSpp_359dd586_030713
#define XSubPPtmpAAAK 1


XS_EUPXS(XS_Wx__BitmapButton_SetBitmapHover); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BitmapButton_SetBitmapHover)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, bitmap");
    {
	wxBitmapButton *    THIS = (wxBitmapButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BitmapButton" )
;
	wxBitmap*    bitmap = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Bitmap" )
;
    try {
      THIS->SetBitmapHover( *( bitmap ) );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}

#endif

XS_EUPXS(XS_Wx__BitmapButton_SetBitmapLabel); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BitmapButton_SetBitmapLabel)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, bitmap");
    {
	wxBitmapButton *    THIS = (wxBitmapButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BitmapButton" )
;
	wxBitmap*    bitmap = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Bitmap" )
;
    try {
      THIS->SetBitmapLabel( *( bitmap ) );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__BitmapButton_SetBitmapSelected); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BitmapButton_SetBitmapSelected)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, bitmap");
    {
	wxBitmapButton *    THIS = (wxBitmapButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BitmapButton" )
;
	wxBitmap*    bitmap = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Bitmap" )
;
    try {
      THIS->SetBitmapSelected( *( bitmap ) );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}

#include "cpp/overload.h"
#if 1
#define XSubPPtmpAAAL 1


XS_EUPXS(XS_Wx__BitmapButton_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BitmapButton_new)
{
    dVAR; dXSARGS;
    if (items < 1)
       croak_xs_usage(cv,  "CLASS, ...");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
#if 1
    static wxPliPrototype void_proto( NULL, 0 );
#endif // 1
    static wxPliPrototype *wxPliOvl_all_prototypes[] = {
#if 1
        &void_proto,
#endif // 1
        NULL };
    BEGIN_OVERLOAD()
#if 1
        MATCH_VOIDM_REDISP( newDefault )
#endif // 1
#if 1
        MATCH_ANY_REDISP( newFull )
#endif // 1
    END_OVERLOAD_MESSAGE( Wx::BitmapButton::new, wxPliOvl_all_prototypes )
	PUTBACK;
	return;
    }
}

#endif // 1

/* INCLUDE: Returning to 'Controls.xs' from '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp interface/wx/bmpbuttn.h' */


/* INCLUDE_COMMAND:  Including output of '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/EditableListBox.xsp' from 'Controls.xs' */

#include <exception>

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#if WXPERL_W_VERSION_GE( 2, 9, 0 )
#define XSpp_03826871_061565
#include <wx/editlbox.h>
#define XSubPPtmpAAAM 1


XS_EUPXS(XS_Wx__EditableListBox_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__EditableListBox_new)
{
    dVAR; dXSARGS;
    PERL_UNUSED_VAR(cv); /* -W */
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
    BEGIN_OVERLOAD()
        MATCH_VOIDM_REDISP( newDefault )
        MATCH_ANY_REDISP( newFull )
    END_OVERLOAD( "Wx::EditableListBox::new" )
	PUTBACK;
	return;
    }
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)

XS_EUPXS(XS_Wx__EditableListBox_newDefault); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__EditableListBox_newDefault)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "CLASS");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxEditableListBox *	RETVAL;
     RETVAL = new wxEditableListBox();
                wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)

XS_EUPXS(XS_Wx__EditableListBox_newFull); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__EditableListBox_newFull)
{
    dVAR; dXSARGS;
    if (items < 4 || items > 8)
       croak_xs_usage(cv,  "CLASS, parent, id, label, pos= wxDefaultPosition, size= wxDefaultSize, style= wxEL_DEFAULT_STYLE, name= wxEditableListBoxNameStr");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxEditableListBox *	RETVAL;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	wxString	label;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxString	name;

    WXSTRING_INPUT( label, wxString, ST(3) )
;

	if (items < 5)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(5) )
;
	}

	if (items < 7)
	    style = wxEL_DEFAULT_STYLE;
	else {
	    style = (long)SvIV(ST(6))
;
	}

	if (items < 8)
	    name = wxEditableListBoxNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(7) )
;
	}
     RETVAL = new wxEditableListBox( parent, id, label, pos, size,
                                                style, name );
                wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)

XS_EUPXS(XS_Wx__EditableListBox_Create); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__EditableListBox_Create)
{
    dVAR; dXSARGS;
    if (items < 4 || items > 8)
       croak_xs_usage(cv,  "THIS, parent, id, label, pos= wxDefaultPosition, size= wxDefaultSize, style= wxEL_DEFAULT_STYLE, name= wxEditableListBoxNameStr");
    {
	wxEditableListBox *    THIS = (wxEditableListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::EditableListBox" )
;
	bool	RETVAL;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	wxString	label;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxString	name;

    WXSTRING_INPUT( label, wxString, ST(3) )
;

	if (items < 5)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(5) )
;
	}

	if (items < 7)
	    style = wxEL_DEFAULT_STYLE;
	else {
	    style = (long)SvIV(ST(6))
;
	}

	if (items < 8)
	    name = wxEditableListBoxNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(7) )
;
	}
    try {
      RETVAL = THIS->Create( parent, id, label, pos, size, style, name );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__EditableListBox_SetStrings); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__EditableListBox_SetStrings)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, strings");
    {
	wxEditableListBox *    THIS = (wxEditableListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::EditableListBox" )
;
	wxArrayString	strings;

    wxPli_av_2_arraystring( aTHX_ ST(1), & strings )
;
    try {
      THIS->SetStrings( strings );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__EditableListBox_GetStrings); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__EditableListBox_GetStrings)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	wxEditableListBox *    THIS = (wxEditableListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::EditableListBox" )
;
    wxArrayString strings;
    THIS->GetStrings( strings );
    PUTBACK;
    wxPli_stringarray_push( aTHX_ strings );
    SPAGAIN;
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__EditableListBox_GetListCtrl); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__EditableListBox_GetListCtrl)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxEditableListBox *    THIS = (wxEditableListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::EditableListBox" )
;
	wxListCtrl *	RETVAL;
    try {
      RETVAL = THIS->GetListCtrl();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__EditableListBox_GetDelButton); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__EditableListBox_GetDelButton)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxEditableListBox *    THIS = (wxEditableListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::EditableListBox" )
;
	wxBitmapButton *	RETVAL;
    try {
      RETVAL = THIS->GetDelButton();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__EditableListBox_GetNewButton); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__EditableListBox_GetNewButton)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxEditableListBox *    THIS = (wxEditableListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::EditableListBox" )
;
	wxBitmapButton *	RETVAL;
    try {
      RETVAL = THIS->GetNewButton();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__EditableListBox_GetUpButton); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__EditableListBox_GetUpButton)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxEditableListBox *    THIS = (wxEditableListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::EditableListBox" )
;
	wxBitmapButton *	RETVAL;
    try {
      RETVAL = THIS->GetUpButton();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__EditableListBox_GetDownButton); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__EditableListBox_GetDownButton)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxEditableListBox *    THIS = (wxEditableListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::EditableListBox" )
;
	wxBitmapButton *	RETVAL;
    try {
      RETVAL = THIS->GetDownButton();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__EditableListBox_GetEditButton); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__EditableListBox_GetEditButton)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxEditableListBox *    THIS = (wxEditableListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::EditableListBox" )
;
	wxBitmapButton *	RETVAL;
    try {
      RETVAL = THIS->GetEditButton();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#endif

/* INCLUDE: Returning to 'Controls.xs' from '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/EditableListBox.xsp' */


/* INCLUDE_COMMAND:  Including output of '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/BookCtrl.xsp' from 'Controls.xs' */

#include <exception>

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#if WXPERL_W_VERSION_GE( 2, 5, 1 )
#include <wx/bookctrl.h>
#include <wx/sizer.h>
#define XSubPPtmpAAAN 1


XS_EUPXS(XS_Wx__BookCtrl_GetPageCount); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BookCtrl_GetPageCount)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxBookCtrl *    THIS = (wxBookCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BookCtrl" )
;
	size_t	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetPageCount();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHu((UV)RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__BookCtrl_GetPage); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BookCtrl_GetPage)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, n");
    {
	wxBookCtrl *    THIS = (wxBookCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BookCtrl" )
;
	wxWindow *	RETVAL;
	size_t    n = (size_t)SvUV( ST(1) )
;
    try {
      RETVAL = THIS->GetPage( n );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__BookCtrl_GetSelection); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BookCtrl_GetSelection)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxBookCtrl *    THIS = (wxBookCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BookCtrl" )
;
	int	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetSelection();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__BookCtrl_SetPageText); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BookCtrl_SetPageText)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, n, strText");
    {
	wxBookCtrl *    THIS = (wxBookCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BookCtrl" )
;
	bool	RETVAL;
	size_t    n = (size_t)SvUV( ST(1) )
;
	wxString	strText;

    WXSTRING_INPUT( strText, wxString, ST(2) )
;
    try {
      RETVAL = THIS->SetPageText( n, strText );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__BookCtrl_GetPageText); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BookCtrl_GetPageText)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, n");
    {
	wxBookCtrl *    THIS = (wxBookCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BookCtrl" )
;
	wxString	RETVAL;
	size_t    n = (size_t)SvUV( ST(1) )
;
    try {
      RETVAL = THIS->GetPageText( n );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    WXSTRING_OUTPUT( RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__BookCtrl_SetImageList); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BookCtrl_SetImageList)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, imageList");
    {
	wxBookCtrl *    THIS = (wxBookCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BookCtrl" )
;
	wxImageList*    imageList = (wxImageList *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::ImageList" )
;
    try {
      THIS->SetImageList( imageList );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__BookCtrl_GetPageImage); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BookCtrl_GetPageImage)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, n");
    {
	wxBookCtrl *    THIS = (wxBookCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BookCtrl" )
;
	int	RETVAL;
	dXSTARG;
	size_t    n = (size_t)SvUV( ST(1) )
;
    try {
      RETVAL = THIS->GetPageImage( n );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__BookCtrl_SetPageImage); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BookCtrl_SetPageImage)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, n, imageId");
    {
	wxBookCtrl *    THIS = (wxBookCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BookCtrl" )
;
	bool	RETVAL;
	size_t    n = (size_t)SvUV( ST(1) )
;
	int	imageId = (int)SvIV(ST(2))
;
    try {
      RETVAL = THIS->SetPageImage( n, imageId );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__BookCtrl_SetPageSize); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BookCtrl_SetPageSize)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, size");
    {
	wxBookCtrl *    THIS = (wxBookCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BookCtrl" )
;
	wxSize    size = wxPli_sv_2_wxsize( aTHX_ ST(1) )
;
    try {
      THIS->SetPageSize( size );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__BookCtrl_CalcSizeFromPage); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BookCtrl_CalcSizeFromPage)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, sizePage");
    {
	wxBookCtrl *    THIS = (wxBookCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BookCtrl" )
;
	wxSize	RETVAL;
	wxSize    sizePage = wxPli_sv_2_wxsize( aTHX_ ST(1) )
;
    try {
      RETVAL = THIS->CalcSizeFromPage( sizePage );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), new wxSize(RETVAL), "Wx::Size" );
    }
    XSRETURN(1);
}

#if WXPERL_W_VERSION_GE( 2, 7, 0 )
#define XSpp_8f34ba62_085475
#define XSubPPtmpAAAO 1


XS_EUPXS(XS_Wx__BookCtrl_GetInternalBorder); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BookCtrl_GetInternalBorder)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxBookCtrl *    THIS = (wxBookCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BookCtrl" )
;
	unsigned int	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetInternalBorder();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHu((UV)RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__BookCtrl_SetInternalBorder); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BookCtrl_SetInternalBorder)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, border");
    {
	wxBookCtrl *    THIS = (wxBookCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BookCtrl" )
;
	unsigned int    border = (unsigned int)SvUV( ST(1) )
;
    try {
      THIS->SetInternalBorder( border );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__BookCtrl_IsVertical); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BookCtrl_IsVertical)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxBookCtrl *    THIS = (wxBookCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BookCtrl" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->IsVertical();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__BookCtrl_SetFitToCurrentPage); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BookCtrl_SetFitToCurrentPage)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, fit");
    {
	wxBookCtrl *    THIS = (wxBookCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BookCtrl" )
;
	bool	fit = (bool)SvTRUE(ST(1))
;
    try {
      THIS->SetFitToCurrentPage( fit );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__BookCtrl_GetFitToCurrentPage); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BookCtrl_GetFitToCurrentPage)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxBookCtrl *    THIS = (wxBookCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BookCtrl" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->GetFitToCurrentPage();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__BookCtrl_GetControlSizer); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BookCtrl_GetControlSizer)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxBookCtrl *    THIS = (wxBookCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BookCtrl" )
;
	wxSizer *	RETVAL;
    try {
      RETVAL = THIS->GetControlSizer();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#endif

XS_EUPXS(XS_Wx__BookCtrl_DeletePage); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BookCtrl_DeletePage)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, n");
    {
	wxBookCtrl *    THIS = (wxBookCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BookCtrl" )
;
	bool	RETVAL;
	size_t    n = (size_t)SvUV( ST(1) )
;
    try {
      RETVAL = THIS->DeletePage( n );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__BookCtrl_RemovePage); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BookCtrl_RemovePage)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, n");
    {
	wxBookCtrl *    THIS = (wxBookCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BookCtrl" )
;
	bool	RETVAL;
	size_t    n = (size_t)SvUV( ST(1) )
;
    try {
      RETVAL = THIS->RemovePage( n );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__BookCtrl_DeleteAllPages); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BookCtrl_DeleteAllPages)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxBookCtrl *    THIS = (wxBookCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BookCtrl" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->DeleteAllPages();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__BookCtrl_AddPage); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BookCtrl_AddPage)
{
    dVAR; dXSARGS;
    if (items < 3 || items > 5)
       croak_xs_usage(cv,  "THIS, page, text, bSelect= false, imageId= -1");
    {
	wxBookCtrl *    THIS = (wxBookCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BookCtrl" )
;
	bool	RETVAL;
	wxWindow*    page = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxString	text;
	bool	bSelect;
	int	imageId;

    WXSTRING_INPUT( text, wxString, ST(2) )
;

	if (items < 4)
	    bSelect = false;
	else {
	    bSelect = (bool)SvTRUE(ST(3))
;
	}

	if (items < 5)
	    imageId = -1;
	else {
	    imageId = (int)SvIV(ST(4))
;
	}
    try {
      RETVAL = THIS->AddPage( page, text, bSelect, imageId );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__BookCtrl_InsertPage); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BookCtrl_InsertPage)
{
    dVAR; dXSARGS;
    if (items < 4 || items > 6)
       croak_xs_usage(cv,  "THIS, n, page, text, bSelect= false, imageId= -1");
    {
	wxBookCtrl *    THIS = (wxBookCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BookCtrl" )
;
	bool	RETVAL;
	size_t    n = (size_t)SvUV( ST(1) )
;
	wxWindow*    page = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Window" )
;
	wxString	text;
	bool	bSelect;
	int	imageId;

    WXSTRING_INPUT( text, wxString, ST(3) )
;

	if (items < 5)
	    bSelect = false;
	else {
	    bSelect = (bool)SvTRUE(ST(4))
;
	}

	if (items < 6)
	    imageId = -1;
	else {
	    imageId = (int)SvIV(ST(5))
;
	}
    try {
      RETVAL = THIS->InsertPage( n, page, text, bSelect, imageId );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__BookCtrl_SetSelection); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BookCtrl_SetSelection)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, n");
    {
	wxBookCtrl *    THIS = (wxBookCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BookCtrl" )
;
	int	RETVAL;
	dXSTARG;
	size_t    n = (size_t)SvUV( ST(1) )
;
    try {
      RETVAL = THIS->SetSelection( n );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__BookCtrl_AdvanceSelection); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BookCtrl_AdvanceSelection)
{
    dVAR; dXSARGS;
    if (items < 1 || items > 2)
       croak_xs_usage(cv,  "THIS, forward= true");
    {
	wxBookCtrl *    THIS = (wxBookCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BookCtrl" )
;
	bool	forward;

	if (items < 2)
	    forward = true;
	else {
	    forward = (bool)SvTRUE(ST(1))
;
	}
    try {
      THIS->AdvanceSelection( forward );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}

#if WXPERL_W_VERSION_GE( 2, 7, 2 )
#define XSpp_8f34ba62_071813
#define XSubPPtmpAAAP 1


XS_EUPXS(XS_Wx__BookCtrl_ChangeSelection); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BookCtrl_ChangeSelection)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, n");
    {
	wxBookCtrl *    THIS = (wxBookCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BookCtrl" )
;
	int	RETVAL;
	dXSTARG;
	size_t    n = (size_t)SvUV( ST(1) )
;
    try {
      RETVAL = THIS->ChangeSelection( n );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}

#endif
#if WXPERL_W_VERSION_GE( 2, 6, 0 )
#define XSpp_8f34ba62_021535
#define XSubPPtmpAAAQ 1


XS_EUPXS(XS_Wx__BookCtrl_GetCurrentPage); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BookCtrl_GetCurrentPage)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxBookCtrl *    THIS = (wxBookCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BookCtrl" )
;
	wxWindow *	RETVAL;
    try {
      RETVAL = THIS->GetCurrentPage();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#endif

XS_EUPXS(XS_Wx__BookCtrl_AssignImageList); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BookCtrl_AssignImageList)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, imagelist");
    {
	wxImageList*    imagelist = (wxImageList *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::ImageList" )
;
	wxBookCtrl *    THIS = (wxBookCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BookCtrl" )
;
    wxPli_object_set_deleteable( aTHX_ ST(1), false );
    THIS->AssignImageList( imagelist );
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__BookCtrl_GetImageList); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BookCtrl_GetImageList)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxBookCtrl *    THIS = (wxBookCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BookCtrl" )
;
	wxImageList *	RETVAL;

	RETVAL = THIS->GetImageList();
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    wxPli_thread_sv_register( aTHX_ "Wx::ImageList", RETVAL, ST(0) );
    wxPli_object_set_deleteable( aTHX_ ST(0), false );
    }
    XSRETURN(1);
}

#if WXPERL_W_VERSION_GE( 2, 7, 0 )
#define XSubPPtmpAAAR 1


XS_EUPXS(XS_Wx__BookCtrl_HitTest); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BookCtrl_HitTest)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, point");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	wxPoint    point = wxPli_sv_2_wxpoint( aTHX_ ST(1) )
;
    long flags;
    int item;
	wxBookCtrl *    THIS = (wxBookCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BookCtrl" )
;
    item = THIS->HitTest( point, &flags );
    EXTEND( SP, 2 );
    PUSHs( sv_2mortal( newSViv( item ) ) );
    PUSHs( sv_2mortal( newSViv( flags ) ) );
	PUTBACK;
	return;
    }
}

#endif

XS_EUPXS(XS_Wx__BookCtrlEvent_GetSelection); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BookCtrlEvent_GetSelection)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxBookCtrlEvent *    THIS = (wxBookCtrlEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BookCtrlEvent" )
;
	int	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetSelection();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__BookCtrlEvent_SetSelection); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BookCtrlEvent_SetSelection)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, nSel");
    {
	wxBookCtrlEvent *    THIS = (wxBookCtrlEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BookCtrlEvent" )
;
	int	nSel = (int)SvIV(ST(1))
;
    try {
      THIS->SetSelection( nSel );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__BookCtrlEvent_GetOldSelection); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BookCtrlEvent_GetOldSelection)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxBookCtrlEvent *    THIS = (wxBookCtrlEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BookCtrlEvent" )
;
	int	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetOldSelection();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__BookCtrlEvent_SetOldSelection); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BookCtrlEvent_SetOldSelection)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, nOldSel");
    {
	wxBookCtrlEvent *    THIS = (wxBookCtrlEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BookCtrlEvent" )
;
	int	nOldSel = (int)SvIV(ST(1))
;
    try {
      THIS->SetOldSelection( nOldSel );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}

#endif

/* INCLUDE: Returning to 'Controls.xs' from '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/BookCtrl.xsp' */


/* INCLUDE_COMMAND:  Including output of '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/Listbook.xsp' from 'Controls.xs' */

#include <exception>

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#if WXPERL_W_VERSION_GE( 2, 5, 1 )
#include <wx/listbook.h>
#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)
#define XSubPPtmpAAAS 1


XS_EUPXS(XS_Wx__Listbook_newDefault); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Listbook_newDefault)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "CLASS");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxListbook *	RETVAL;
     RETVAL = new wxListbook();
                wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)

XS_EUPXS(XS_Wx__Listbook_newFull); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Listbook_newFull)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 7)
       croak_xs_usage(cv,  "CLASS, parent, id= wxID_ANY, pos= wxDefaultPosition, size= wxDefaultSize, style= 0, name= wxEmptyString");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxListbook *	RETVAL;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID	id;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxString	name;

	if (items < 3)
	    id = wxID_ANY;
	else {
    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	}

	if (items < 4)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) )
;
	}

	if (items < 5)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    style = 0;
	else {
	    style = (long)SvIV(ST(5))
;
	}

	if (items < 7)
	    name = wxEmptyString;
	else {
    WXSTRING_INPUT( name, wxString, ST(6) )
;
	}
     RETVAL = new wxListbook( parent, id, pos, size, style, name );
                wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)

XS_EUPXS(XS_Wx__Listbook_Create); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Listbook_Create)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 7)
       croak_xs_usage(cv,  "THIS, parent, id= wxID_ANY, pos= wxDefaultPosition, size= wxDefaultSize, style= 0, name= wxEmptyString");
    {
	wxListbook *    THIS = (wxListbook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Listbook" )
;
	bool	RETVAL;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID	id;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxString	name;

	if (items < 3)
	    id = wxID_ANY;
	else {
    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	}

	if (items < 4)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) )
;
	}

	if (items < 5)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    style = 0;
	else {
	    style = (long)SvIV(ST(5))
;
	}

	if (items < 7)
	    name = wxEmptyString;
	else {
    WXSTRING_INPUT( name, wxString, ST(6) )
;
	}
    try {
      RETVAL = THIS->Create( parent, id, pos, size, style, name );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}

#if WXPERL_W_VERSION_GE( 2, 5, 3 )
#define XSpp_1a1a5341_031269
#define XSubPPtmpAAAT 1


XS_EUPXS(XS_Wx__Listbook_GetListView); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Listbook_GetListView)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxListbook *    THIS = (wxListbook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Listbook" )
;
	wxListView *	RETVAL;
    try {
      RETVAL = THIS->GetListView();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#endif

XS_EUPXS(XS_Wx__Listbook_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Listbook_new)
{
    dVAR; dXSARGS;
    PERL_UNUSED_VAR(cv); /* -W */
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
    BEGIN_OVERLOAD()
        MATCH_VOIDM_REDISP( newDefault )
        MATCH_ANY_REDISP( newFull )
    END_OVERLOAD( "Wx::Listbook::new" )
	PUTBACK;
	return;
    }
}

#endif

/* INCLUDE: Returning to 'Controls.xs' from '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/Listbook.xsp' */


/* INCLUDE_COMMAND:  Including output of '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/Choicebook.xsp' from 'Controls.xs' */

#include <exception>

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#if WXPERL_W_VERSION_GE( 2, 5, 3 )
#include <wx/choice.h>
#include <wx/choicebk.h>
#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)
#define XSubPPtmpAAAU 1


XS_EUPXS(XS_Wx__Choicebook_newDefault); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Choicebook_newDefault)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "CLASS");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxChoicebook *	RETVAL;
     RETVAL = new wxChoicebook();
                wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)

XS_EUPXS(XS_Wx__Choicebook_newFull); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Choicebook_newFull)
{
    dVAR; dXSARGS;
    if (items < 3 || items > 7)
       croak_xs_usage(cv,  "CLASS, parent, id, pos= wxDefaultPosition, size= wxDefaultSize, style= 0, name= wxEmptyString");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxChoicebook *	RETVAL;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxString	name;

	if (items < 4)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) )
;
	}

	if (items < 5)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    style = 0;
	else {
	    style = (long)SvIV(ST(5))
;
	}

	if (items < 7)
	    name = wxEmptyString;
	else {
    WXSTRING_INPUT( name, wxString, ST(6) )
;
	}
     RETVAL = new wxChoicebook( parent, id, pos, size, style, name );
                wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)

XS_EUPXS(XS_Wx__Choicebook_Create); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Choicebook_Create)
{
    dVAR; dXSARGS;
    if (items < 3 || items > 7)
       croak_xs_usage(cv,  "THIS, parent, id, pos= wxDefaultPosition, size= wxDefaultSize, style= 0, name= wxEmptyString");
    {
	wxChoicebook *    THIS = (wxChoicebook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Choicebook" )
;
	bool	RETVAL;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxString	name;

	if (items < 4)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) )
;
	}

	if (items < 5)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    style = 0;
	else {
	    style = (long)SvIV(ST(5))
;
	}

	if (items < 7)
	    name = wxEmptyString;
	else {
    WXSTRING_INPUT( name, wxString, ST(6) )
;
	}
    try {
      RETVAL = THIS->Create( parent, id, pos, size, style, name );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__Choicebook_IsVertical); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Choicebook_IsVertical)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxChoicebook *    THIS = (wxChoicebook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Choicebook" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->IsVertical();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}

#if WXPERL_W_VERSION_GE( 2, 6, 0 )
#define XSpp_a863ef1b_096082
#define XSubPPtmpAAAV 1


XS_EUPXS(XS_Wx__Choicebook_GetChoiceCtrl); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Choicebook_GetChoiceCtrl)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxChoicebook *    THIS = (wxChoicebook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Choicebook" )
;
	wxChoice *	RETVAL;
    try {
      RETVAL = THIS->GetChoiceCtrl();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#endif

XS_EUPXS(XS_Wx__Choicebook_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Choicebook_new)
{
    dVAR; dXSARGS;
    PERL_UNUSED_VAR(cv); /* -W */
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
    BEGIN_OVERLOAD()
        MATCH_VOIDM_REDISP( newDefault )
        MATCH_ANY_REDISP( newFull )
    END_OVERLOAD( "Wx::Choicebook::new" )
	PUTBACK;
	return;
    }
}

#endif

/* INCLUDE: Returning to 'Controls.xs' from '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/Choicebook.xsp' */


/* INCLUDE_COMMAND:  Including output of '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/Toolbook.xsp' from 'Controls.xs' */

#include <exception>

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#if WXPERL_W_VERSION_GE( 2, 7, 0 )
#include <wx/toolbar.h>
#include <wx/toolbook.h>
#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)
#define XSubPPtmpAAAW 1


XS_EUPXS(XS_Wx__Toolbook_newDefault); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Toolbook_newDefault)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "CLASS");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxToolbook *	RETVAL;
     RETVAL = new wxToolbook();
                wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)

XS_EUPXS(XS_Wx__Toolbook_newFull); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Toolbook_newFull)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 7)
       croak_xs_usage(cv,  "CLASS, parent, id= wxID_ANY, pos= wxDefaultPosition, size= wxDefaultSize, style= 0, name= wxEmptyString");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxToolbook *	RETVAL;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID	id;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxString	name;

	if (items < 3)
	    id = wxID_ANY;
	else {
    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	}

	if (items < 4)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) )
;
	}

	if (items < 5)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    style = 0;
	else {
	    style = (long)SvIV(ST(5))
;
	}

	if (items < 7)
	    name = wxEmptyString;
	else {
    WXSTRING_INPUT( name, wxString, ST(6) )
;
	}
     RETVAL = new wxToolbook( parent, id, pos, size, style, name );
                wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)

XS_EUPXS(XS_Wx__Toolbook_Create); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Toolbook_Create)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 7)
       croak_xs_usage(cv,  "THIS, parent, id= wxID_ANY, pos= wxDefaultPosition, size= wxDefaultSize, style= 0, name= wxEmptyString");
    {
	wxToolbook *    THIS = (wxToolbook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Toolbook" )
;
	bool	RETVAL;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID	id;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxString	name;

	if (items < 3)
	    id = wxID_ANY;
	else {
    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	}

	if (items < 4)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) )
;
	}

	if (items < 5)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    style = 0;
	else {
	    style = (long)SvIV(ST(5))
;
	}

	if (items < 7)
	    name = wxEmptyString;
	else {
    WXSTRING_INPUT( name, wxString, ST(6) )
;
	}
    try {
      RETVAL = THIS->Create( parent, id, pos, size, style, name );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__Toolbook_GetToolBar); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Toolbook_GetToolBar)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxToolbook *    THIS = (wxToolbook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Toolbook" )
;
	wxToolBarBase *	RETVAL;
    try {
      RETVAL = THIS->GetToolBar();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__Toolbook_Realize); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Toolbook_Realize)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxToolbook *    THIS = (wxToolbook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Toolbook" )
;
    try {
      THIS->Realize();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__Toolbook_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Toolbook_new)
{
    dVAR; dXSARGS;
    PERL_UNUSED_VAR(cv); /* -W */
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
    BEGIN_OVERLOAD()
        MATCH_VOIDM_REDISP( newDefault )
        MATCH_ANY_REDISP( newFull )
    END_OVERLOAD( "Wx::Toolbook::new" )
	PUTBACK;
	return;
    }
}

#endif

/* INCLUDE: Returning to 'Controls.xs' from '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/Toolbook.xsp' */


/* INCLUDE_COMMAND:  Including output of '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/Treebook.xsp' from 'Controls.xs' */

#include <exception>

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#if WXPERL_W_VERSION_GE( 2, 7, 0 )
#define XSpp_c46ff287_034203
#include <wx/treebook.h>
#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)
#define XSubPPtmpAAAX 1


XS_EUPXS(XS_Wx__TreebookEvent_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreebookEvent_new)
{
    dVAR; dXSARGS;
    if (items < 1 || items > 5)
       croak_xs_usage(cv,  "CLASS, commandType= wxEVT_NULL, id= 0, nSel= wxNOT_FOUND, nOldSel= wxNOT_FOUND");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxTreebookEvent *	RETVAL;
	wxEventType	commandType;
	int	id;
	int	nSel;
	int	nOldSel;

	if (items < 2)
	    commandType = wxEVT_NULL;
	else {
	    commandType = (wxEventType)SvIV(ST(1))
;
	}

	if (items < 3)
	    id = 0;
	else {
	    id = (int)SvIV(ST(2))
;
	}

	if (items < 4)
	    nSel = wxNOT_FOUND;
	else {
	    nSel = (int)SvIV(ST(3))
;
	}

	if (items < 5)
	    nOldSel = wxNOT_FOUND;
	else {
	    nOldSel = (int)SvIV(ST(4))
;
	}
    try {
      RETVAL = new wxTreebookEvent( commandType, id, nSel, nOldSel );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    wxPli_thread_sv_register( aTHX_ "Wx::TreebookEvent", RETVAL, ST(0) );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)

XS_EUPXS(XS_Wx__TreebookEvent_GetOldSelection); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreebookEvent_GetOldSelection)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTreebookEvent *    THIS = (wxTreebookEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreebookEvent" )
;
	int	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetOldSelection();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreebookEvent_GetSelection); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreebookEvent_GetSelection)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTreebookEvent *    THIS = (wxTreebookEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreebookEvent" )
;
	int	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetSelection();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)

XS_EUPXS(XS_Wx__Treebook_newDefault); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Treebook_newDefault)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "CLASS");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxTreebook *	RETVAL;
     RETVAL = new wxTreebook();
                wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)

XS_EUPXS(XS_Wx__Treebook_newFull); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Treebook_newFull)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 7)
       croak_xs_usage(cv,  "CLASS, parent, id= wxID_ANY, pos= wxDefaultPosition, size= wxDefaultSize, style= 0, name= wxEmptyString");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxTreebook *	RETVAL;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID	id;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxString	name;

	if (items < 3)
	    id = wxID_ANY;
	else {
    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	}

	if (items < 4)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) )
;
	}

	if (items < 5)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    style = 0;
	else {
	    style = (long)SvIV(ST(5))
;
	}

	if (items < 7)
	    name = wxEmptyString;
	else {
    WXSTRING_INPUT( name, wxString, ST(6) )
;
	}
     RETVAL = new wxTreebook( parent, id, pos, size, style, name );
                wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)

XS_EUPXS(XS_Wx__Treebook_Create); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Treebook_Create)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 7)
       croak_xs_usage(cv,  "THIS, parent, id= wxID_ANY, pos= wxDefaultPosition, size= wxDefaultSize, style= 0, name= wxEmptyString");
    {
	wxTreebook *    THIS = (wxTreebook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Treebook" )
;
	bool	RETVAL;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID	id;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxString	name;

	if (items < 3)
	    id = wxID_ANY;
	else {
    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	}

	if (items < 4)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) )
;
	}

	if (items < 5)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    style = 0;
	else {
	    style = (long)SvIV(ST(5))
;
	}

	if (items < 7)
	    name = wxEmptyString;
	else {
    WXSTRING_INPUT( name, wxString, ST(6) )
;
	}
    try {
      RETVAL = THIS->Create( parent, id, pos, size, style, name );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__Treebook_InsertSubPage); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Treebook_InsertSubPage)
{
    dVAR; dXSARGS;
    if (items < 4 || items > 6)
       croak_xs_usage(cv,  "THIS, pos, page, text, bSelect= false, imageId= wxNOT_FOUND");
    {
	wxTreebook *    THIS = (wxTreebook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Treebook" )
;
	bool	RETVAL;
	size_t    pos = (size_t)SvUV( ST(1) )
;
	wxWindow*    page = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Window" )
;
	wxString	text;
	bool	bSelect;
	int	imageId;

    WXSTRING_INPUT( text, wxString, ST(3) )
;

	if (items < 5)
	    bSelect = false;
	else {
	    bSelect = (bool)SvTRUE(ST(4))
;
	}

	if (items < 6)
	    imageId = wxNOT_FOUND;
	else {
	    imageId = (int)SvIV(ST(5))
;
	}
    try {
      RETVAL = THIS->InsertSubPage( pos, page, text, bSelect, imageId );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__Treebook_AddSubPage); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Treebook_AddSubPage)
{
    dVAR; dXSARGS;
    if (items < 3 || items > 5)
       croak_xs_usage(cv,  "THIS, page, text, bSelect= false, imageId= wxNOT_FOUND");
    {
	wxTreebook *    THIS = (wxTreebook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Treebook" )
;
	bool	RETVAL;
	wxWindow*    page = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxString	text;
	bool	bSelect;
	int	imageId;

    WXSTRING_INPUT( text, wxString, ST(2) )
;

	if (items < 4)
	    bSelect = false;
	else {
	    bSelect = (bool)SvTRUE(ST(3))
;
	}

	if (items < 5)
	    imageId = wxNOT_FOUND;
	else {
	    imageId = (int)SvIV(ST(4))
;
	}
    try {
      RETVAL = THIS->AddSubPage( page, text, bSelect, imageId );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__Treebook_IsNodeExpanded); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Treebook_IsNodeExpanded)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, pos");
    {
	wxTreebook *    THIS = (wxTreebook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Treebook" )
;
	bool	RETVAL;
	size_t    pos = (size_t)SvUV( ST(1) )
;
    try {
      RETVAL = THIS->IsNodeExpanded( pos );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__Treebook_ExpandNode); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Treebook_ExpandNode)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 3)
       croak_xs_usage(cv,  "THIS, pos, expand= true");
    {
	wxTreebook *    THIS = (wxTreebook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Treebook" )
;
	bool	RETVAL;
	size_t    pos = (size_t)SvUV( ST(1) )
;
	bool	expand;

	if (items < 3)
	    expand = true;
	else {
	    expand = (bool)SvTRUE(ST(2))
;
	}
    try {
      RETVAL = THIS->ExpandNode( pos, expand );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__Treebook_CollapseNode); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Treebook_CollapseNode)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, pos");
    {
	wxTreebook *    THIS = (wxTreebook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Treebook" )
;
	bool	RETVAL;
	size_t    pos = (size_t)SvUV( ST(1) )
;
    try {
      RETVAL = THIS->CollapseNode( pos );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__Treebook_GetPageParent); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Treebook_GetPageParent)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, pos");
    {
	wxTreebook *    THIS = (wxTreebook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Treebook" )
;
	int	RETVAL;
	dXSTARG;
	size_t    pos = (size_t)SvUV( ST(1) )
;
    try {
      RETVAL = THIS->GetPageParent( pos );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__Treebook_GetTreeCtrl); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Treebook_GetTreeCtrl)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTreebook *    THIS = (wxTreebook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Treebook" )
;
	wxTreeCtrl *	RETVAL;
    try {
      RETVAL = THIS->GetTreeCtrl();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__Treebook_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Treebook_new)
{
    dVAR; dXSARGS;
    PERL_UNUSED_VAR(cv); /* -W */
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
    BEGIN_OVERLOAD()
        MATCH_VOIDM_REDISP( newDefault )
        MATCH_ANY_REDISP( newFull )
    END_OVERLOAD( "Wx::Treebook::new" )
	PUTBACK;
	return;
    }
}

#endif

/* INCLUDE: Returning to 'Controls.xs' from '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/Treebook.xsp' */


/* INCLUDE_COMMAND:  Including output of '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/HyperlinkCtrl.xsp' from 'Controls.xs' */

#include <exception>

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#if WXPERL_W_VERSION_GE( 2, 7, 0 )
#include <wx/hyperlink.h>
#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)
#define XSubPPtmpAAAY 1


XS_EUPXS(XS_Wx__HyperlinkCtrl_newDefault); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HyperlinkCtrl_newDefault)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "CLASS");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxHyperlinkCtrl *	RETVAL;
     RETVAL = new wxHyperlinkCtrl();
                wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)

XS_EUPXS(XS_Wx__HyperlinkCtrl_newFull); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HyperlinkCtrl_newFull)
{
    dVAR; dXSARGS;
    if (items < 5 || items > 9)
       croak_xs_usage(cv,  "CLASS, parent, id, label, url, pos= wxDefaultPosition, size= wxDefaultSize, style= 0, name= wxHyperlinkCtrlNameStr");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxHyperlinkCtrl *	RETVAL;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	wxString	label;
	wxString	url;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxString	name;

    WXSTRING_INPUT( label, wxString, ST(3) )
;

    WXSTRING_INPUT( url, wxString, ST(4) )
;

	if (items < 6)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(5) )
;
	}

	if (items < 7)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(6) )
;
	}

	if (items < 8)
	    style = 0;
	else {
	    style = (long)SvIV(ST(7))
;
	}

	if (items < 9)
	    name = wxHyperlinkCtrlNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(8) )
;
	}
     RETVAL = new wxHyperlinkCtrl( parent, id, label, url,
                                              pos, size, style, name );
                wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)

XS_EUPXS(XS_Wx__HyperlinkCtrl_Create); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HyperlinkCtrl_Create)
{
    dVAR; dXSARGS;
    if (items < 5 || items > 9)
       croak_xs_usage(cv,  "THIS, parent, id, label, url, pos= wxDefaultPosition, size= wxDefaultSize, style= 0, name= wxHyperlinkCtrlNameStr");
    {
	wxHyperlinkCtrl *    THIS = (wxHyperlinkCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HyperlinkCtrl" )
;
	bool	RETVAL;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	wxString	label;
	wxString	url;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxString	name;

    WXSTRING_INPUT( label, wxString, ST(3) )
;

    WXSTRING_INPUT( url, wxString, ST(4) )
;

	if (items < 6)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(5) )
;
	}

	if (items < 7)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(6) )
;
	}

	if (items < 8)
	    style = 0;
	else {
	    style = (long)SvIV(ST(7))
;
	}

	if (items < 9)
	    name = wxHyperlinkCtrlNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(8) )
;
	}
    try {
      RETVAL = THIS->Create( parent, id, label, url, pos, size, style, name );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__HyperlinkCtrl_GetHoverColour); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HyperlinkCtrl_GetHoverColour)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxHyperlinkCtrl *    THIS = (wxHyperlinkCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HyperlinkCtrl" )
;
	wxColour *	RETVAL;
    try {
      RETVAL = new wxColour( THIS->GetHoverColour() );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Colour" );
    wxPli_thread_sv_register( aTHX_ "Wx::Colour", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__HyperlinkCtrl_SetHoverColour); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HyperlinkCtrl_SetHoverColour)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, colour");
    {
	wxHyperlinkCtrl *    THIS = (wxHyperlinkCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HyperlinkCtrl" )
;
	wxColour*    colour = (wxColour *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Colour" )
;
    try {
      THIS->SetHoverColour( *( colour ) );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__HyperlinkCtrl_GetNormalColour); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HyperlinkCtrl_GetNormalColour)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxHyperlinkCtrl *    THIS = (wxHyperlinkCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HyperlinkCtrl" )
;
	wxColour *	RETVAL;
    try {
      RETVAL = new wxColour( THIS->GetNormalColour() );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Colour" );
    wxPli_thread_sv_register( aTHX_ "Wx::Colour", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__HyperlinkCtrl_SetNormalColour); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HyperlinkCtrl_SetNormalColour)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, colour");
    {
	wxHyperlinkCtrl *    THIS = (wxHyperlinkCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HyperlinkCtrl" )
;
	wxColour*    colour = (wxColour *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Colour" )
;
    try {
      THIS->SetNormalColour( *( colour ) );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__HyperlinkCtrl_GetVisitedColour); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HyperlinkCtrl_GetVisitedColour)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxHyperlinkCtrl *    THIS = (wxHyperlinkCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HyperlinkCtrl" )
;
	wxColour *	RETVAL;
    try {
      RETVAL = new wxColour( THIS->GetVisitedColour() );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Colour" );
    wxPli_thread_sv_register( aTHX_ "Wx::Colour", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__HyperlinkCtrl_SetVisitedColour); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HyperlinkCtrl_SetVisitedColour)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, colour");
    {
	wxHyperlinkCtrl *    THIS = (wxHyperlinkCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HyperlinkCtrl" )
;
	wxColour*    colour = (wxColour *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Colour" )
;
    try {
      THIS->SetVisitedColour( *( colour ) );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__HyperlinkCtrl_GetURL); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HyperlinkCtrl_GetURL)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxHyperlinkCtrl *    THIS = (wxHyperlinkCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HyperlinkCtrl" )
;
	wxString	RETVAL;
    try {
      RETVAL = THIS->GetURL();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    WXSTRING_OUTPUT( RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__HyperlinkCtrl_SetURL); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HyperlinkCtrl_SetURL)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, url");
    {
	wxHyperlinkCtrl *    THIS = (wxHyperlinkCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HyperlinkCtrl" )
;
	wxString	url;

    WXSTRING_INPUT( url, wxString, ST(1) )
;
    try {
      THIS->SetURL( url );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__HyperlinkCtrl_SetVisited); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HyperlinkCtrl_SetVisited)
{
    dVAR; dXSARGS;
    if (items < 1 || items > 2)
       croak_xs_usage(cv,  "THIS, visited= true");
    {
	wxHyperlinkCtrl *    THIS = (wxHyperlinkCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HyperlinkCtrl" )
;
	bool	visited;

	if (items < 2)
	    visited = true;
	else {
	    visited = (bool)SvTRUE(ST(1))
;
	}
    try {
      THIS->SetVisited( visited );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__HyperlinkCtrl_GetVisited); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HyperlinkCtrl_GetVisited)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxHyperlinkCtrl *    THIS = (wxHyperlinkCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HyperlinkCtrl" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->GetVisited();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__HyperlinkEvent_GetURL); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HyperlinkEvent_GetURL)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxHyperlinkEvent *    THIS = (wxHyperlinkEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HyperlinkEvent" )
;
	wxString	RETVAL;
    try {
      RETVAL = THIS->GetURL();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    WXSTRING_OUTPUT( RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__HyperlinkEvent_SetURL); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HyperlinkEvent_SetURL)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, url");
    {
	wxHyperlinkEvent *    THIS = (wxHyperlinkEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HyperlinkEvent" )
;
	wxString	url;

    WXSTRING_INPUT( url, wxString, ST(1) )
;
    try {
      THIS->SetURL( url );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__HyperlinkEvent_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HyperlinkEvent_new)
{
    dVAR; dXSARGS;
    PERL_UNUSED_VAR(cv); /* -W */
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
    BEGIN_OVERLOAD()
        MATCH_VOIDM_REDISP( newDefault )
        MATCH_ANY_REDISP( newFull )
    END_OVERLOAD( "Wx::HyperlinkCtrl::new" )
	PUTBACK;
	return;
    }
}

#endif

/* INCLUDE: Returning to 'Controls.xs' from '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/HyperlinkCtrl.xsp' */


/* INCLUDE_COMMAND:  Including output of '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/VListBox.xsp' from 'Controls.xs' */

#include <exception>

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#if WXPERL_W_VERSION_GE( 2, 5, 0 )
#define XSpp_88ac6f59_086969
#include <wx/vlbox.h>
#define XSubPPtmpAAAZ 1


XS_EUPXS(XS_Wx__VListBox_Create); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__VListBox_Create)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 7)
       croak_xs_usage(cv,  "THIS, parent, id= wxID_ANY, pos= wxDefaultPosition, size= wxDefaultSize, style= 0, name= wxVListBoxNameStr");
    {
	wxVListBox *    THIS = (wxVListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VListBox" )
;
	bool	RETVAL;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID	id;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxString	name;

	if (items < 3)
	    id = wxID_ANY;
	else {
    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	}

	if (items < 4)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) )
;
	}

	if (items < 5)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    style = 0;
	else {
	    style = (long)SvIV(ST(5))
;
	}

	if (items < 7)
	    name = wxVListBoxNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(6) )
;
	}
    try {
      RETVAL = THIS->Create( parent, id, pos, size, style, name );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__VListBox_GetItemCount); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__VListBox_GetItemCount)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxVListBox *    THIS = (wxVListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VListBox" )
;
	size_t	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetItemCount();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHu((UV)RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__VListBox_HasMultipleSelection); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__VListBox_HasMultipleSelection)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxVListBox *    THIS = (wxVListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VListBox" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->HasMultipleSelection();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__VListBox_IsCurrent); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__VListBox_IsCurrent)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	wxVListBox *    THIS = (wxVListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VListBox" )
;
	bool	RETVAL;
	size_t    item = (size_t)SvUV( ST(1) )
;
    try {
      RETVAL = THIS->IsCurrent( item );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__VListBox_IsSelected); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__VListBox_IsSelected)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	wxVListBox *    THIS = (wxVListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VListBox" )
;
	bool	RETVAL;
	size_t    item = (size_t)SvUV( ST(1) )
;
    try {
      RETVAL = THIS->IsSelected( item );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__VListBox_GetSelectedCount); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__VListBox_GetSelectedCount)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxVListBox *    THIS = (wxVListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VListBox" )
;
	size_t	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetSelectedCount();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHu((UV)RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__VListBox_GetMargins); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__VListBox_GetMargins)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxVListBox *    THIS = (wxVListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VListBox" )
;
	wxPoint	RETVAL;
    try {
      RETVAL = THIS->GetMargins();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), new wxPoint(RETVAL), "Wx::Point" );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__VListBox_GetSelectionBackground); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__VListBox_GetSelectionBackground)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxVListBox *    THIS = (wxVListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VListBox" )
;
	wxColour *	RETVAL;
    try {
      RETVAL = new wxColour( THIS->GetSelectionBackground() );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Colour" );
    wxPli_thread_sv_register( aTHX_ "Wx::Colour", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__VListBox_SetItemCount); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__VListBox_SetItemCount)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, count");
    {
	wxVListBox *    THIS = (wxVListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VListBox" )
;
	size_t    count = (size_t)SvUV( ST(1) )
;
    try {
      THIS->SetItemCount( count );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__VListBox_Clear); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__VListBox_Clear)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxVListBox *    THIS = (wxVListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VListBox" )
;
    try {
      THIS->Clear();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__VListBox_GetSelection); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__VListBox_GetSelection)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxVListBox *    THIS = (wxVListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VListBox" )
;
	int	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetSelection();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__VListBox_SetSelection); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__VListBox_SetSelection)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, selection");
    {
	wxVListBox *    THIS = (wxVListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VListBox" )
;
	int	selection = (int)SvIV(ST(1))
;
    try {
      THIS->SetSelection( selection );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__VListBox_Select); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__VListBox_Select)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 3)
       croak_xs_usage(cv,  "THIS, item, select= true");
    {
	wxVListBox *    THIS = (wxVListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VListBox" )
;
	bool	RETVAL;
	size_t    item = (size_t)SvUV( ST(1) )
;
	bool	select;

	if (items < 3)
	    select = true;
	else {
	    select = (bool)SvTRUE(ST(2))
;
	}
    try {
      RETVAL = THIS->Select( item, select );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__VListBox_SelectRange); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__VListBox_SelectRange)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, from, to");
    {
	wxVListBox *    THIS = (wxVListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VListBox" )
;
	bool	RETVAL;
	size_t    from = (size_t)SvUV( ST(1) )
;
	size_t    to = (size_t)SvUV( ST(2) )
;
    try {
      RETVAL = THIS->SelectRange( from, to );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__VListBox_Toggle); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__VListBox_Toggle)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	wxVListBox *    THIS = (wxVListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VListBox" )
;
	size_t    item = (size_t)SvUV( ST(1) )
;
    try {
      THIS->Toggle( item );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__VListBox_SelectAll); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__VListBox_SelectAll)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxVListBox *    THIS = (wxVListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VListBox" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->SelectAll();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__VListBox_DeselectAll); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__VListBox_DeselectAll)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxVListBox *    THIS = (wxVListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VListBox" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->DeselectAll();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__VListBox_SetMargins); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__VListBox_SetMargins)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, x, y");
    {
	wxVListBox *    THIS = (wxVListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VListBox" )
;
	wxCoord	x = (wxCoord)SvIV(ST(1))
;
	wxCoord	y = (wxCoord)SvIV(ST(2))
;
    try {
      THIS->SetMargins( x, y );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__VListBox_SetSelectionBackground); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__VListBox_SetSelectionBackground)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, col");
    {
	wxVListBox *    THIS = (wxVListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VListBox" )
;
	wxColour*    col = (wxColour *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Colour" )
;
    try {
      THIS->SetSelectionBackground( *( col ) );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__VListBox_GetFirstSelected); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__VListBox_GetFirstSelected)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	wxVListBox *    THIS = (wxVListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VListBox" )
;
    unsigned long cookie;
    int ret = THIS->GetFirstSelected( cookie );
    EXTEND( SP, 2 );
    PUSHs( sv_2mortal( newSViv( ret ) ) );
    PUSHs( sv_2mortal( newSViv( cookie ) ) );
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__VListBox_GetNextSelected); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__VListBox_GetNextSelected)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, cookie");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	wxVListBox *    THIS = (wxVListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VListBox" )
;
	unsigned long    cookie = (unsigned long)SvUV( ST(1) )
;
    int ret = THIS->GetNextSelected( cookie );
    EXTEND( SP, 2 );
    PUSHs( sv_2mortal( newSViv( ret ) ) );
    PUSHs( sv_2mortal( newSViv( cookie ) ) );
	PUTBACK;
	return;
    }
}

#include "cpp/overload.h"
#include "xspp/vlbox.h"

XS_EUPXS(XS_Wx__PlVListBox_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__PlVListBox_new)
{
    dVAR; dXSARGS;
    PERL_UNUSED_VAR(cv); /* -W */
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
    BEGIN_OVERLOAD()
        MATCH_VOIDM_REDISP( newDefault )
        MATCH_ANY_REDISP( newFull )
    END_OVERLOAD( "Wx::PlVListBox::new" )
	PUTBACK;
	return;
    }
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)

XS_EUPXS(XS_Wx__PlVListBox_newDefault); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__PlVListBox_newDefault)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "CLASS");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxPlVListBox *	RETVAL;
     RETVAL = new wxPlVListBox( CLASS ); 
                wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)

XS_EUPXS(XS_Wx__PlVListBox_newFull); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__PlVListBox_newFull)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 7)
       croak_xs_usage(cv,  "CLASS, parent, id= wxID_ANY, pos= wxDefaultPosition, size= wxDefaultSize, style= 0, name= wxVListBoxNameStr");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxPlVListBox *	RETVAL;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID	id;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxString	name;

	if (items < 3)
	    id = wxID_ANY;
	else {
    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	}

	if (items < 4)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) )
;
	}

	if (items < 5)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    style = 0;
	else {
	    style = (long)SvIV(ST(5))
;
	}

	if (items < 7)
	    name = wxVListBoxNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(6) )
;
	}
     RETVAL = new wxPlVListBox( CLASS, parent, id, pos, size,
                                           style, name );
                wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#endif

/* INCLUDE: Returning to 'Controls.xs' from '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/VListBox.xsp' */


/* INCLUDE_COMMAND:  Including output of '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/SearchCtrl.xsp' from 'Controls.xs' */

#include <exception>

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#if WXPERL_W_VERSION_GE( 2, 8, 3 )
#define XSpp_61b6cb38_034736
#include <wx/srchctrl.h>
#include <wx/menu.h>
#define XSubPPtmpAABA 1


XS_EUPXS(XS_Wx__SearchCtrl_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_new)
{
    dVAR; dXSARGS;
    PERL_UNUSED_VAR(cv); /* -W */
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
    BEGIN_OVERLOAD()
        MATCH_VOIDM_REDISP( newDefault )
        MATCH_ANY_REDISP( newFull )
    END_OVERLOAD( "Wx::SearchCtrl::new" )
	PUTBACK;
	return;
    }
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)

XS_EUPXS(XS_Wx__SearchCtrl_newDefault); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_newDefault)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "CLASS");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxSearchCtrl *	RETVAL;
     RETVAL = new wxSearchCtrl();
                wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)

XS_EUPXS(XS_Wx__SearchCtrl_newFull); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_newFull)
{
    dVAR; dXSARGS;
    if (items < 3 || items > 9)
       croak_xs_usage(cv,  "CLASS, parent, id, label= wxEmptyString, pos= wxDefaultPosition, size= wxDefaultSize, style= 0, validator= wxDefaultValidatorPtr, name= wxSearchCtrlNameStr");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxSearchCtrl *	RETVAL;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	wxString	label;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxValidator*	validator;
	wxString	name;

	if (items < 4)
	    label = wxEmptyString;
	else {
    WXSTRING_INPUT( label, wxString, ST(3) )
;
	}

	if (items < 5)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(5) )
;
	}

	if (items < 7)
	    style = 0;
	else {
	    style = (long)SvIV(ST(6))
;
	}

	if (items < 8)
	    validator = wxDefaultValidatorPtr;
	else {
    validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" )
;
	}

	if (items < 9)
	    name = wxSearchCtrlNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(8) )
;
	}
     RETVAL = new wxSearchCtrl( parent, id, label, pos, size,
                                                style, *validator, name );
                wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)

XS_EUPXS(XS_Wx__SearchCtrl_Create); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_Create)
{
    dVAR; dXSARGS;
    if (items < 3 || items > 9)
       croak_xs_usage(cv,  "THIS, parent, id, value= wxEmptyString, pos= wxDefaultPosition, size= wxDefaultSize, style= 0, validator= wxDefaultValidatorPtr, name= wxSearchCtrlNameStr");
    {
	wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" )
;
	bool	RETVAL;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	wxString	value;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxValidator*	validator;
	wxString	name;

	if (items < 4)
	    value = wxEmptyString;
	else {
    WXSTRING_INPUT( value, wxString, ST(3) )
;
	}

	if (items < 5)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(5) )
;
	}

	if (items < 7)
	    style = 0;
	else {
	    style = (long)SvIV(ST(6))
;
	}

	if (items < 8)
	    validator = wxDefaultValidatorPtr;
	else {
    validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" )
;
	}

	if (items < 9)
	    name = wxSearchCtrlNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(8) )
;
	}
    try {
      RETVAL = THIS->Create( parent, id, value, pos, size, style, *( validator ), name );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__SearchCtrl_SetMenu); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_SetMenu)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, menu");
    {
	wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" )
;
	wxMenu*    menu = (wxMenu *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Menu" )
;
    try {
      THIS->SetMenu( menu );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__SearchCtrl_GetMenu); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_GetMenu)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" )
;
	wxMenu *	RETVAL;
    try {
      RETVAL = THIS->GetMenu();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__SearchCtrl_ShowSearchButton); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_ShowSearchButton)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, show");
    {
	wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" )
;
	bool	show = (bool)SvTRUE(ST(1))
;
    try {
      THIS->ShowSearchButton( show );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__SearchCtrl_IsSearchButtonVisible); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_IsSearchButtonVisible)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->IsSearchButtonVisible();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__SearchCtrl_ShowCancelButton); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_ShowCancelButton)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, show");
    {
	wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" )
;
	bool	show = (bool)SvTRUE(ST(1))
;
    try {
      THIS->ShowCancelButton( show );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__SearchCtrl_IsCancelButtonVisible); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_IsCancelButtonVisible)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->IsCancelButtonVisible();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__SearchCtrl_SetDescriptiveText); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_SetDescriptiveText)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, text");
    {
	wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" )
;
	wxString	text;

    WXSTRING_INPUT( text, wxString, ST(1) )
;
    try {
      THIS->SetDescriptiveText( text );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__SearchCtrl_GetDescriptiveText); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_GetDescriptiveText)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" )
;
	wxString	RETVAL;
    try {
      RETVAL = THIS->GetDescriptiveText();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    WXSTRING_OUTPUT( RETVAL, ST(0) );
    }
    XSRETURN(1);
}

#if WXPERL_W_VERSION_GE( 2, 9, 2 ) && !defined(__WXMAC__)
#define XSpp_61b6cb38_011557
#define WXPERL_IN_SEARCHCTRL
#define XSubPPtmpAABB 1


/* INCLUDE_COMMAND:  Including output of '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/TextCtrlIface.xsp' from '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/SearchCtrl.xsp' */

#include <exception>

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)

/* INCLUDE: Returning to '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/SearchCtrl.xsp' from '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/TextCtrlIface.xsp' */


/* INCLUDE_COMMAND:  Including output of '/usr/bin/perl -pe "s/TextCtrlIface/SearchCtrl/g" xspp/TextCtrlIface.h' from '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/SearchCtrl.xsp' */

#include <exception>

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#if WXPERL_W_VERSION_GE( 2, 9, 2 )
#define XSpp_9c486bef_072777
#define XSubPPtmpAABC 1


XS_EUPXS(XS_Wx__SearchCtrl_GetValue); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_GetValue)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" )
;
	wxString	RETVAL;
    try {
      RETVAL = THIS->GetValue();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    WXSTRING_OUTPUT( RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__SearchCtrl_SetValue); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_SetValue)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, value");
    {
	wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" )
;
	wxString	value;

    WXSTRING_INPUT( value, wxString, ST(1) )
;
    try {
      THIS->SetValue( value );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__SearchCtrl_ChangeValue); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_ChangeValue)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, value");
    {
	wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" )
;
	wxString	value;

    WXSTRING_INPUT( value, wxString, ST(1) )
;
    try {
      THIS->ChangeValue( value );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__SearchCtrl_GetRange); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_GetRange)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, from, to");
    {
	wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" )
;
	wxString	RETVAL;
	long	from = (long)SvIV(ST(1))
;
	long	to = (long)SvIV(ST(2))
;
    try {
      RETVAL = THIS->GetRange( from, to );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    WXSTRING_OUTPUT( RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__SearchCtrl_WriteText); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_WriteText)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, text");
    {
	wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" )
;
	wxString	text;

    WXSTRING_INPUT( text, wxString, ST(1) )
;
    try {
      THIS->WriteText( text );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__SearchCtrl_AppendText); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_AppendText)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, text");
    {
	wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" )
;
	wxString	text;

    WXSTRING_INPUT( text, wxString, ST(1) )
;
    try {
      THIS->AppendText( text );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__SearchCtrl_IsEmpty); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_IsEmpty)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->IsEmpty();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__SearchCtrl_Clear); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_Clear)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" )
;
    try {
      THIS->Clear();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__SearchCtrl_Replace); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_Replace)
{
    dVAR; dXSARGS;
    if (items != 4)
       croak_xs_usage(cv,  "THIS, from, to, value");
    {
	wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" )
;
	long	from = (long)SvIV(ST(1))
;
	long	to = (long)SvIV(ST(2))
;
	wxString	value;

    WXSTRING_INPUT( value, wxString, ST(3) )
;
    try {
      THIS->Replace( from, to, value );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__SearchCtrl_Remove); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_Remove)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, from, to");
    {
	wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" )
;
	long	from = (long)SvIV(ST(1))
;
	long	to = (long)SvIV(ST(2))
;
    try {
      THIS->Remove( from, to );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__SearchCtrl_RemoveSelection); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_RemoveSelection)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" )
;
    try {
      THIS->RemoveSelection();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__SearchCtrl_Copy); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_Copy)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" )
;
    try {
      THIS->Copy();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__SearchCtrl_Cut); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_Cut)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" )
;
    try {
      THIS->Cut();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__SearchCtrl_Paste); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_Paste)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" )
;
    try {
      THIS->Paste();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__SearchCtrl_CanCopy); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_CanCopy)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->CanCopy();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__SearchCtrl_CanCut); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_CanCut)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->CanCut();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__SearchCtrl_CanPaste); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_CanPaste)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->CanPaste();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__SearchCtrl_Undo); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_Undo)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" )
;
    try {
      THIS->Undo();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__SearchCtrl_Redo); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_Redo)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" )
;
    try {
      THIS->Redo();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__SearchCtrl_CanUndo); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_CanUndo)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->CanUndo();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__SearchCtrl_CanRedo); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_CanRedo)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->CanRedo();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__SearchCtrl_SetInsertionPoint); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_SetInsertionPoint)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, pos");
    {
	wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" )
;
	long	pos = (long)SvIV(ST(1))
;
    try {
      THIS->SetInsertionPoint( pos );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__SearchCtrl_SetInsertionPointEnd); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_SetInsertionPointEnd)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" )
;
    try {
      THIS->SetInsertionPointEnd();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__SearchCtrl_GetInsertionPoint); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_GetInsertionPoint)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" )
;
	long	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetInsertionPoint();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__SearchCtrl_GetLastPosition); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_GetLastPosition)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" )
;
	long	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetLastPosition();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__SearchCtrl_SetSelection); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_SetSelection)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, from, to");
    {
	wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" )
;
	long	from = (long)SvIV(ST(1))
;
	long	to = (long)SvIV(ST(2))
;
    try {
      THIS->SetSelection( from, to );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__SearchCtrl_SelectAll); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_SelectAll)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" )
;
    try {
      THIS->SelectAll();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__SearchCtrl_HasSelection); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_HasSelection)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->HasSelection();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__SearchCtrl_GetStringSelection); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_GetStringSelection)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" )
;
	wxString	RETVAL;
    try {
      RETVAL = THIS->GetStringSelection();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    WXSTRING_OUTPUT( RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__SearchCtrl_AutoCompleteFileNames); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_AutoCompleteFileNames)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->AutoCompleteFileNames();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__SearchCtrl_AutoComplete); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_AutoComplete)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, choices");
    {
	wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" )
;
	bool	RETVAL;
	wxArrayString	choices;

    wxPli_av_2_arraystring( aTHX_ ST(1), & choices )
;
    try {
      RETVAL = THIS->AutoComplete( choices );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__SearchCtrl_IsEditable); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_IsEditable)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->IsEditable();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__SearchCtrl_SetEditable); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_SetEditable)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, editable");
    {
	wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" )
;
	bool	editable = (bool)SvTRUE(ST(1))
;
    try {
      THIS->SetEditable( editable );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__SearchCtrl_SetMaxLength); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_SetMaxLength)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, len");
    {
	wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" )
;
	unsigned long    len = (unsigned long)SvUV( ST(1) )
;
    try {
      THIS->SetMaxLength( len );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__SearchCtrl_SetHint); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_SetHint)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, hint");
    {
	wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" )
;
	bool	RETVAL;
	wxString	hint;

    WXSTRING_INPUT( hint, wxString, ST(1) )
;
    try {
      RETVAL = THIS->SetHint( hint );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__SearchCtrl_GetHint); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_GetHint)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" )
;
	wxString	RETVAL;
    try {
      RETVAL = THIS->GetHint();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    WXSTRING_OUTPUT( RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__SearchCtrl_SetMargins); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_SetMargins)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, pt");
    {
	wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" )
;
	bool	RETVAL;
	wxPoint    pt = wxPli_sv_2_wxpoint( aTHX_ ST(1) )
;
    try {
      RETVAL = THIS->SetMargins( pt );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__SearchCtrl_GetMargins); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_GetMargins)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" )
;
	wxPoint	RETVAL;
    try {
      RETVAL = THIS->GetMargins();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), new wxPoint(RETVAL), "Wx::Point" );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__SearchCtrl_GetLineLength); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_GetLineLength)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, lineNo");
    {
	wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" )
;
	int	RETVAL;
	dXSTARG;
	long	lineNo = (long)SvIV(ST(1))
;
    try {
      RETVAL = THIS->GetLineLength( lineNo );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__SearchCtrl_GetLineText); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_GetLineText)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, lineNo");
    {
	wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" )
;
	wxString	RETVAL;
	long	lineNo = (long)SvIV(ST(1))
;
    try {
      RETVAL = THIS->GetLineText( lineNo );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    WXSTRING_OUTPUT( RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__SearchCtrl_GetNumberOfLines); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_GetNumberOfLines)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" )
;
	int	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetNumberOfLines();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}

#if defined(WXPERL_IN_RICHTEXTCTRL)
#define XSpp_9c486bef_031154
#define XSubPPtmpAABD 1


XS_EUPXS(XS_Wx__SearchCtrl_LoadFile); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_LoadFile)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 3)
       croak_xs_usage(cv,  "THIS, file, fileType= wxTEXT_TYPE_ANY");
    {
	wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" )
;
	bool	RETVAL;
	wxString	file;
	int	fileType;

    WXSTRING_INPUT( file, wxString, ST(1) )
;

	if (items < 3)
	    fileType = wxTEXT_TYPE_ANY;
	else {
	    fileType = (int)SvIV(ST(2))
;
	}
    try {
      RETVAL = THIS->LoadFile( file, fileType );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__SearchCtrl_SaveFile); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_SaveFile)
{
    dVAR; dXSARGS;
    if (items < 1 || items > 3)
       croak_xs_usage(cv,  "THIS, file= wxEmptyString, fileType= wxTEXT_TYPE_ANY");
    {
	wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" )
;
	bool	RETVAL;
	wxString	file;
	int	fileType;

	if (items < 2)
	    file = wxEmptyString;
	else {
    WXSTRING_INPUT( file, wxString, ST(1) )
;
	}

	if (items < 3)
	    fileType = wxTEXT_TYPE_ANY;
	else {
	    fileType = (int)SvIV(ST(2))
;
	}
    try {
      RETVAL = THIS->SaveFile( file, fileType );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}

#endif

XS_EUPXS(XS_Wx__SearchCtrl_IsModified); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_IsModified)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->IsModified();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__SearchCtrl_MarkDirty); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_MarkDirty)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" )
;
    try {
      THIS->MarkDirty();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__SearchCtrl_DiscardEdits); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_DiscardEdits)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" )
;
    try {
      THIS->DiscardEdits();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__SearchCtrl_SetModified); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_SetModified)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, modified");
    {
	wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" )
;
	bool	modified = (bool)SvTRUE(ST(1))
;
    try {
      THIS->SetModified( modified );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}

#if defined(WXPERL_IN_SEARCHCTRL)
#define XSpp_9c486bef_074941
#define XSubPPtmpAABE 1


XS_EUPXS(XS_Wx__SearchCtrl_SetStyle); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_SetStyle)
{
    dVAR; dXSARGS;
    if (items != 4)
       croak_xs_usage(cv,  "THIS, start, end, style");
    {
	wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" )
;
	bool	RETVAL;
	long	start = (long)SvIV(ST(1))
;
	long	end = (long)SvIV(ST(2))
;
	wxTextAttr*    style = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::TextAttr" )
;
    try {
      RETVAL = THIS->SetStyle( start, end, *( style ) );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}

#endif
#if !defined(WXPERL_IN_RICHTEXTCTRL)
#define XSpp_9c486bef_040544
#define XSubPPtmpAABF 1


XS_EUPXS(XS_Wx__SearchCtrl_SetDefaultStyle); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_SetDefaultStyle)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, style");
    {
	wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" )
;
	bool	RETVAL;
	wxTextAttr*    style = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TextAttr" )
;
    try {
      RETVAL = THIS->SetDefaultStyle( *( style ) );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}

#endif

XS_EUPXS(XS_Wx__SearchCtrl_GetDefaultStyle); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_GetDefaultStyle)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" )
;
	wxTextAttr *	RETVAL;
    try {
      RETVAL = new wxTextAttr( THIS->GetDefaultStyle() );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TextAttr" );
    wxPli_thread_sv_register( aTHX_ "Wx::TextAttr", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__SearchCtrl_XYToPosition); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_XYToPosition)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, x, y");
    {
	wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" )
;
	long	RETVAL;
	dXSTARG;
	long	x = (long)SvIV(ST(1))
;
	long	y = (long)SvIV(ST(2))
;
    try {
      RETVAL = THIS->XYToPosition( x, y );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__SearchCtrl_ShowPosition); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_ShowPosition)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, pos");
    {
	wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" )
;
	long	pos = (long)SvIV(ST(1))
;
    try {
      THIS->ShowPosition( pos );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__SearchCtrl_GetSelection); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_GetSelection)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
    long from;
    long to;
	wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" )
;
    THIS->GetSelection( &from, &to );
    EXTEND( SP, 2 );
    PUSHs( sv_2mortal( newSViv( from ) ) );
    PUSHs( sv_2mortal( newSViv( to ) ) );
	PUTBACK;
	return;
    }
}

#if defined(WXPERL_IN_SEARCHCTRL)
#define XSpp_9c486bef_013264
#define XSubPPtmpAABG 1


XS_EUPXS(XS_Wx__SearchCtrl_GetStyle); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_GetStyle)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, position");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	long	position = (long)SvIV(ST(1))
;
	wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" )
;
    wxTextAttr attr;
    bool retval = THIS->GetStyle( position, attr );
    EXTEND( SP, 2 );
    PUSHs( newSViv( retval ) );
    PUSHs( retval ? wxPli_non_object_2_sv( aTHX_ sv_newmortal(),
                                           new wxTextAttr( attr ),
                                           "Wx::TextAttr" ) :
                    &PL_sv_undef );
	PUTBACK;
	return;
    }
}

#endif

XS_EUPXS(XS_Wx__SearchCtrl_PositionToXY); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_PositionToXY)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, pos");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	long	pos = (long)SvIV(ST(1))
;
    long x;
    long y;
	wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" )
;
    THIS->PositionToXY( pos, &x, &y );
    EXTEND( SP, 2 );
    PUSHs( sv_2mortal( newSViv( x ) ) );
    PUSHs( sv_2mortal( newSViv( y ) ) );
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__SearchCtrl_HitTest); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SearchCtrl_HitTest)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, pt");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	wxPoint    pt = wxPli_sv_2_wxpoint( aTHX_ ST(1) )
;
	wxSearchCtrl *    THIS = (wxSearchCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SearchCtrl" )
;
    long col, row;
    wxTextCtrlHitTestResult res = THIS->HitTest( pt, &col, &row );

    EXTEND( SP, 3 );
    PUSHs( sv_2mortal( newSViv( res ) ) );
    PUSHs( sv_2mortal( newSViv( col ) ) );
    PUSHs( sv_2mortal( newSViv( row ) ) );
	PUTBACK;
	return;
    }
}

#endif

/* INCLUDE: Returning to '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/SearchCtrl.xsp' from '/usr/bin/perl -pe "s/TextCtrlIface/SearchCtrl/g" xspp/TextCtrlIface.h' */

#undef WXPERL_IN_SEARCHCTRL
#endif
#endif

/* INCLUDE: Returning to 'Controls.xs' from '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/SearchCtrl.xsp' */


/* INCLUDE_COMMAND:  Including output of '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/ComboPopup.xsp' from 'Controls.xs' */

#include <exception>

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#if WXPERL_W_VERSION_GE( 2, 7, 2 )
#define XSpp_7608ce22_063569
#include "xspp/combopopup.h"
#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)
#define XSubPPtmpAABH 1


XS_EUPXS(XS_Wx__ComboPopup_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboPopup_new)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "CLASS");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxPlComboPopup *	RETVAL;
     RETVAL = new wxPlComboPopup( CLASS ); 
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::PlComboPopup" );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)

XS_EUPXS(XS_Wx__ComboPopup_OnPopup); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboPopup_OnPopup)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxPlComboPopup *    THIS = (wxPlComboPopup *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlComboPopup" )
;
    try {
      THIS->base_OnPopup();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ComboPopup_OnDismiss); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboPopup_OnDismiss)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxPlComboPopup *    THIS = (wxPlComboPopup *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlComboPopup" )
;
    try {
      THIS->base_OnDismiss();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ComboPopup_SetStringValue); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboPopup_SetStringValue)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, value");
    {
	wxPlComboPopup *    THIS = (wxPlComboPopup *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlComboPopup" )
;
	wxString	value;

    WXSTRING_INPUT( value, wxString, ST(1) )
;
    try {
      THIS->base_SetStringValue( value );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ComboPopup_PaintComboControl); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboPopup_PaintComboControl)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, dc, rect");
    {
	wxPlComboPopup *    THIS = (wxPlComboPopup *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlComboPopup" )
;
	wxDC*    dc = (wxDC *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::DC" )
;
	wxRect*    rect = (wxRect *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Rect" )
;
    try {
      THIS->base_PaintComboControl( *( dc ), *( rect ) );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ComboPopup_OnComboKeyEvent); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboPopup_OnComboKeyEvent)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, event");
    {
	wxPlComboPopup *    THIS = (wxPlComboPopup *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlComboPopup" )
;
	wxKeyEvent*    event = (wxKeyEvent *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::KeyEvent" )
;
    try {
      THIS->base_OnComboKeyEvent( *( event ) );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ComboPopup_OnComboDoubleClick); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboPopup_OnComboDoubleClick)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxPlComboPopup *    THIS = (wxPlComboPopup *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlComboPopup" )
;
    try {
      THIS->base_OnComboDoubleClick();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ComboPopup_GetAdjustedSize); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboPopup_GetAdjustedSize)
{
    dVAR; dXSARGS;
    if (items != 4)
       croak_xs_usage(cv,  "THIS, minWidth, prefHeight, maxHeight");
    {
	wxPlComboPopup *    THIS = (wxPlComboPopup *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlComboPopup" )
;
	wxSize	RETVAL;
	int	minWidth = (int)SvIV(ST(1))
;
	int	prefHeight = (int)SvIV(ST(2))
;
	int	maxHeight = (int)SvIV(ST(3))
;
    try {
      RETVAL = THIS->base_GetAdjustedSize( minWidth, prefHeight, maxHeight );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), new wxSize(RETVAL), "Wx::Size" );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ComboPopup_LazyCreate); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboPopup_LazyCreate)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxPlComboPopup *    THIS = (wxPlComboPopup *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlComboPopup" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->base_LazyCreate();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ComboPopup_Dismiss); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboPopup_Dismiss)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxPlComboPopup *    THIS = (wxPlComboPopup *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlComboPopup" )
;
    try {
      THIS->Dismiss();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ComboPopup_IsCreated); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboPopup_IsCreated)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxPlComboPopup *    THIS = (wxPlComboPopup *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlComboPopup" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->IsCreated();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ComboPopup_GetComboCtrl); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboPopup_GetComboCtrl)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxPlComboPopup *    THIS = (wxPlComboPopup *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlComboPopup" )
;
	wxComboCtrlBase *	RETVAL;
    try {
      RETVAL = THIS->GetComboCtrl();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#endif

/* INCLUDE: Returning to 'Controls.xs' from '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/ComboPopup.xsp' */


/* INCLUDE_COMMAND:  Including output of '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/ComboCtrl.xsp' from 'Controls.xs' */

#include <exception>

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#if WXPERL_W_VERSION_GE( 2, 7, 2 )
#define XSpp_9e985890_093875
#include <wx/combo.h>
#define XSubPPtmpAABI 1


XS_EUPXS(XS_Wx__ComboCtrl_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboCtrl_new)
{
    dVAR; dXSARGS;
    PERL_UNUSED_VAR(cv); /* -W */
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
    BEGIN_OVERLOAD()
        MATCH_VOIDM_REDISP( newDefault )
        MATCH_ANY_REDISP( newFull )
    END_OVERLOAD( "Wx::ComboCtrl::new" )
	PUTBACK;
	return;
    }
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)

XS_EUPXS(XS_Wx__ComboCtrl_newDefault); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboCtrl_newDefault)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "CLASS");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxComboCtrl *	RETVAL;
     RETVAL = new wxComboCtrl();
                wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)

XS_EUPXS(XS_Wx__ComboCtrl_newFull); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboCtrl_newFull)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 9)
       croak_xs_usage(cv,  "CLASS, parent, id= wxID_ANY, value= wxEmptyString, pos= wxDefaultPosition, size= wxDefaultSize, style= 0, validator= wxDefaultValidatorPtr, name= wxEmptyString");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxComboCtrl *	RETVAL;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID	id;
	wxString	value;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxValidator*	validator;
	wxString	name;

	if (items < 3)
	    id = wxID_ANY;
	else {
    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	}

	if (items < 4)
	    value = wxEmptyString;
	else {
    WXSTRING_INPUT( value, wxString, ST(3) )
;
	}

	if (items < 5)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(5) )
;
	}

	if (items < 7)
	    style = 0;
	else {
	    style = (long)SvIV(ST(6))
;
	}

	if (items < 8)
	    validator = wxDefaultValidatorPtr;
	else {
    validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" )
;
	}

	if (items < 9)
	    name = wxEmptyString;
	else {
    WXSTRING_INPUT( name, wxString, ST(8) )
;
	}
     RETVAL = new wxComboCtrl( parent, id, value, pos, size,
                                          style, *validator, name );
                wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)

XS_EUPXS(XS_Wx__ComboCtrl_Create); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboCtrl_Create)
{
    dVAR; dXSARGS;
    if (items < 3 || items > 9)
       croak_xs_usage(cv,  "THIS, parent, id, value= wxEmptyString, pos= wxDefaultPosition, size= wxDefaultSize, style= 0, validator= wxDefaultValidatorPtr, name= wxEmptyString");
    {
	wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" )
;
	bool	RETVAL;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	wxString	value;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxValidator*	validator;
	wxString	name;

	if (items < 4)
	    value = wxEmptyString;
	else {
    WXSTRING_INPUT( value, wxString, ST(3) )
;
	}

	if (items < 5)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(5) )
;
	}

	if (items < 7)
	    style = 0;
	else {
	    style = (long)SvIV(ST(6))
;
	}

	if (items < 8)
	    validator = wxDefaultValidatorPtr;
	else {
    validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" )
;
	}

	if (items < 9)
	    name = wxEmptyString;
	else {
    WXSTRING_INPUT( name, wxString, ST(8) )
;
	}
    try {
      RETVAL = THIS->Create( parent, id, value, pos, size, style, *( validator ), name );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ComboCtrl_ShowPopup); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboCtrl_ShowPopup)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" )
;
    try {
      THIS->ShowPopup();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ComboCtrl_HidePopup); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboCtrl_HidePopup)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" )
;
    try {
      THIS->HidePopup();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ComboCtrl_IsPopupShown); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboCtrl_IsPopupShown)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->IsPopupShown();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ComboCtrl_SetPopupControl); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboCtrl_SetPopupControl)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, popup");
    {
	wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" )
;
	wxComboPopup*    popup = (wxComboPopup *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::ComboPopup" )
;
    try {
      THIS->SetPopupControl( popup );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ComboCtrl_GetPopupControl); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboCtrl_GetPopupControl)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" )
;
	wxComboPopup *	RETVAL;
    try {
      RETVAL = THIS->GetPopupControl();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::ComboPopup" );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ComboCtrl_GetPopupWindow); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboCtrl_GetPopupWindow)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" )
;
	wxWindow *	RETVAL;
    try {
      RETVAL = THIS->GetPopupWindow();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ComboCtrl_GetTextCtrl); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboCtrl_GetTextCtrl)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" )
;
	wxTextCtrl *	RETVAL;
    try {
      RETVAL = THIS->GetTextCtrl();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ComboCtrl_GetButton); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboCtrl_GetButton)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" )
;
	wxWindow *	RETVAL;
    try {
      RETVAL = THIS->GetButton();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ComboCtrl_GetValue); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboCtrl_GetValue)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" )
;
	wxString	RETVAL;
    try {
      RETVAL = THIS->GetValue();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    WXSTRING_OUTPUT( RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ComboCtrl_SetValue); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboCtrl_SetValue)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, value");
    {
	wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" )
;
	wxString	value;

    WXSTRING_INPUT( value, wxString, ST(1) )
;
    try {
      THIS->SetValue( value );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ComboCtrl_Copy); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboCtrl_Copy)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" )
;
    try {
      THIS->Copy();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ComboCtrl_Cut); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboCtrl_Cut)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" )
;
    try {
      THIS->Cut();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ComboCtrl_Paste); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboCtrl_Paste)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" )
;
    try {
      THIS->Paste();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ComboCtrl_SetInsertionPoint); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboCtrl_SetInsertionPoint)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, pos");
    {
	wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" )
;
	long	pos = (long)SvIV(ST(1))
;
    try {
      THIS->SetInsertionPoint( pos );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ComboCtrl_SetInsertionPointEnd); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboCtrl_SetInsertionPointEnd)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" )
;
    try {
      THIS->SetInsertionPointEnd();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ComboCtrl_GetInsertionPoint); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboCtrl_GetInsertionPoint)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" )
;
	long	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetInsertionPoint();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ComboCtrl_GetLastPosition); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboCtrl_GetLastPosition)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" )
;
	long	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetLastPosition();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ComboCtrl_Replace); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboCtrl_Replace)
{
    dVAR; dXSARGS;
    if (items != 4)
       croak_xs_usage(cv,  "THIS, from, to, value");
    {
	wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" )
;
	long	from = (long)SvIV(ST(1))
;
	long	to = (long)SvIV(ST(2))
;
	wxString	value;

    WXSTRING_INPUT( value, wxString, ST(3) )
;
    try {
      THIS->Replace( from, to, value );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ComboCtrl_Remove); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboCtrl_Remove)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, from, to");
    {
	wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" )
;
	long	from = (long)SvIV(ST(1))
;
	long	to = (long)SvIV(ST(2))
;
    try {
      THIS->Remove( from, to );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ComboCtrl_SetSelection); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboCtrl_SetSelection)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, from, to");
    {
	wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" )
;
	long	from = (long)SvIV(ST(1))
;
	long	to = (long)SvIV(ST(2))
;
    try {
      THIS->SetSelection( from, to );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ComboCtrl_Undo); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboCtrl_Undo)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" )
;
    try {
      THIS->Undo();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ComboCtrl_SetText); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboCtrl_SetText)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, value");
    {
	wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" )
;
	wxString	value;

    WXSTRING_INPUT( value, wxString, ST(1) )
;
    try {
      THIS->SetText( value );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ComboCtrl_SetPopupMinWidth); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboCtrl_SetPopupMinWidth)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, width");
    {
	wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" )
;
	int	width = (int)SvIV(ST(1))
;
    try {
      THIS->SetPopupMinWidth( width );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ComboCtrl_SetPopupMaxHeight); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboCtrl_SetPopupMaxHeight)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, height");
    {
	wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" )
;
	int	height = (int)SvIV(ST(1))
;
    try {
      THIS->SetPopupMaxHeight( height );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ComboCtrl_SetPopupExtents); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboCtrl_SetPopupExtents)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, extLeft, extRight");
    {
	wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" )
;
	int	extLeft = (int)SvIV(ST(1))
;
	int	extRight = (int)SvIV(ST(2))
;
    try {
      THIS->SetPopupExtents( extLeft, extRight );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ComboCtrl_SetCustomPaintWidth); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboCtrl_SetCustomPaintWidth)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, width");
    {
	wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" )
;
	int	width = (int)SvIV(ST(1))
;
    try {
      THIS->SetCustomPaintWidth( width );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ComboCtrl_GetCustomPaintWidth); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboCtrl_GetCustomPaintWidth)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" )
;
	int	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetCustomPaintWidth();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ComboCtrl_SetPopupAnchor); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboCtrl_SetPopupAnchor)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, anchorSide");
    {
	wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" )
;
	int	anchorSide = (int)SvIV(ST(1))
;
    try {
      THIS->SetPopupAnchor( anchorSide );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ComboCtrl_SetButtonPosition); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboCtrl_SetButtonPosition)
{
    dVAR; dXSARGS;
    if (items < 1 || items > 5)
       croak_xs_usage(cv,  "THIS, width= -1, height= -1, side= wxRIGHT, spacingX= 0");
    {
	wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" )
;
	int	width;
	int	height;
	int	side;
	int	spacingX;

	if (items < 2)
	    width = -1;
	else {
	    width = (int)SvIV(ST(1))
;
	}

	if (items < 3)
	    height = -1;
	else {
	    height = (int)SvIV(ST(2))
;
	}

	if (items < 4)
	    side = wxRIGHT;
	else {
	    side = (int)SvIV(ST(3))
;
	}

	if (items < 5)
	    spacingX = 0;
	else {
	    spacingX = (int)SvIV(ST(4))
;
	}
    try {
      THIS->SetButtonPosition( width, height, side, spacingX );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ComboCtrl_GetButtonSize); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboCtrl_GetButtonSize)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" )
;
	wxSize	RETVAL;
    try {
      RETVAL = THIS->GetButtonSize();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), new wxSize(RETVAL), "Wx::Size" );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ComboCtrl_SetButtonBitmaps); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboCtrl_SetButtonBitmaps)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 6)
       croak_xs_usage(cv,  "THIS, bmpNormal, pushButtonBg= false, bmpPressed= wxNullBitmapPtr, bmpHover= wxNullBitmapPtr, bmpDisabled= wxNullBitmapPtr");
    {
	wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" )
;
	wxBitmap*    bmpNormal = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Bitmap" )
;
	bool	pushButtonBg;
	wxBitmap*	bmpPressed;
	wxBitmap*	bmpHover;
	wxBitmap*	bmpDisabled;

	if (items < 3)
	    pushButtonBg = false;
	else {
	    pushButtonBg = (bool)SvTRUE(ST(2))
;
	}

	if (items < 4)
	    bmpPressed = wxNullBitmapPtr;
	else {
    bmpPressed = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::Bitmap" )
;
	}

	if (items < 5)
	    bmpHover = wxNullBitmapPtr;
	else {
    bmpHover = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(4), "Wx::Bitmap" )
;
	}

	if (items < 6)
	    bmpDisabled = wxNullBitmapPtr;
	else {
    bmpDisabled = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(5), "Wx::Bitmap" )
;
	}
    try {
      THIS->SetButtonBitmaps( *( bmpNormal ), pushButtonBg, *( bmpPressed ), *( bmpHover ), *( bmpDisabled ) );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}

#if WXPERL_W_VERSION_LT( 2, 7, 0 ) || WXWIN_COMPATIBILITY_2_6
#define XSpp_9e985890_037680
#define XSubPPtmpAABJ 1


XS_EUPXS(XS_Wx__ComboCtrl_SetTextIndent); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboCtrl_SetTextIndent)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, indent");
    {
	wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" )
;
	int	indent = (int)SvIV(ST(1))
;
    try {
      THIS->SetTextIndent( indent );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ComboCtrl_GetTextIndent); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboCtrl_GetTextIndent)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" )
;
	wxCoord	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetTextIndent();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}

#endif

XS_EUPXS(XS_Wx__ComboCtrl_GetTextRect); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboCtrl_GetTextRect)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" )
;
	wxRect *	RETVAL;
    try {
      RETVAL = new wxRect( THIS->GetTextRect() );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Rect" );
    wxPli_thread_sv_register( aTHX_ "Wx::Rect", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ComboCtrl_UseAltPopupWindow); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboCtrl_UseAltPopupWindow)
{
    dVAR; dXSARGS;
    if (items < 1 || items > 2)
       croak_xs_usage(cv,  "THIS, enable= true");
    {
	wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" )
;
	bool	enable;

	if (items < 2)
	    enable = true;
	else {
	    enable = (bool)SvTRUE(ST(1))
;
	}
    try {
      THIS->UseAltPopupWindow( enable );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ComboCtrl_EnablePopupAnimation); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboCtrl_EnablePopupAnimation)
{
    dVAR; dXSARGS;
    if (items < 1 || items > 2)
       croak_xs_usage(cv,  "THIS, enable= true");
    {
	wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" )
;
	bool	enable;

	if (items < 2)
	    enable = true;
	else {
	    enable = (bool)SvTRUE(ST(1))
;
	}
    try {
      THIS->EnablePopupAnimation( enable );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ComboCtrl_GetBitmapNormal); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboCtrl_GetBitmapNormal)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" )
;
	wxBitmap *	RETVAL;
    try {
      RETVAL = new wxBitmap( THIS->GetBitmapNormal() );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    wxPli_thread_sv_register( aTHX_ "Wx::Bitmap", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ComboCtrl_GetBitmapPressed); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboCtrl_GetBitmapPressed)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" )
;
	wxBitmap *	RETVAL;
    try {
      RETVAL = new wxBitmap( THIS->GetBitmapPressed() );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    wxPli_thread_sv_register( aTHX_ "Wx::Bitmap", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ComboCtrl_GetBitmapHover); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboCtrl_GetBitmapHover)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" )
;
	wxBitmap *	RETVAL;
    try {
      RETVAL = new wxBitmap( THIS->GetBitmapHover() );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    wxPli_thread_sv_register( aTHX_ "Wx::Bitmap", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ComboCtrl_GetBitmapDisabled); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboCtrl_GetBitmapDisabled)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxComboCtrl *    THIS = (wxComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboCtrl" )
;
	wxBitmap *	RETVAL;
    try {
      RETVAL = new wxBitmap( THIS->GetBitmapDisabled() );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    wxPli_thread_sv_register( aTHX_ "Wx::Bitmap", RETVAL, ST(0) );
    }
    XSRETURN(1);
}

#endif

/* INCLUDE: Returning to 'Controls.xs' from '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/ComboCtrl.xsp' */


/* INCLUDE_COMMAND:  Including output of '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/OwnerDrawnComboBox.xsp' from 'Controls.xs' */

#include <exception>

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#if WXPERL_W_VERSION_GE( 2, 7, 2 )
#define XSpp_6f06a6f0_025812
#include <wx/odcombo.h>
#define XSubPPtmpAABK 1


XS_EUPXS(XS_Wx__OwnerDrawnComboBox_GetWidestItemWidth); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__OwnerDrawnComboBox_GetWidestItemWidth)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxOwnerDrawnComboBox *    THIS = (wxOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OwnerDrawnComboBox" )
;
	int	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetWidestItemWidth();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__OwnerDrawnComboBox_GetWidestItem); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__OwnerDrawnComboBox_GetWidestItem)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxOwnerDrawnComboBox *    THIS = (wxOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OwnerDrawnComboBox" )
;
	int	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetWidestItem();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


/* INCLUDE_COMMAND:  Including output of '/usr/bin/perl -pe "s/ItemContainerImmutable/OwnerDrawnComboBox/g;s/->(?=IsEmpty|GetStringSelection)/->wxItemContainerImmutable::/" XS/ItemContainerImmutable.xs' from '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/OwnerDrawnComboBox.xsp' */

#include <exception>

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)

XS_EUPXS(XS_Wx__OwnerDrawnComboBox_GetCount); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__OwnerDrawnComboBox_GetCount)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxOwnerDrawnComboBox *    THIS = (wxOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OwnerDrawnComboBox" )
;
	unsigned int	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetCount();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHu((UV)RETVAL );
    }
    XSRETURN(1);
}

#if !defined(WXPERL_IN_COMBOBOX) || WXPERL_W_VERSION_LE( 2, 9, 2 )
#define XSpp_f9ce292b_092569
#define XSubPPtmpAABL 1


XS_EUPXS(XS_Wx__OwnerDrawnComboBox_IsEmpty); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__OwnerDrawnComboBox_IsEmpty)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxOwnerDrawnComboBox *    THIS = (wxOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OwnerDrawnComboBox" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->wxItemContainerImmutable::IsEmpty();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}

#endif

XS_EUPXS(XS_Wx__OwnerDrawnComboBox_GetString); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__OwnerDrawnComboBox_GetString)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, n");
    {
	wxOwnerDrawnComboBox *    THIS = (wxOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OwnerDrawnComboBox" )
;
	wxString	RETVAL;
	unsigned int    n = (unsigned int)SvUV( ST(1) )
;
    try {
      RETVAL = THIS->GetString( n );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    WXSTRING_OUTPUT( RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__OwnerDrawnComboBox_GetStrings); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__OwnerDrawnComboBox_GetStrings)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	wxOwnerDrawnComboBox *    THIS = (wxOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OwnerDrawnComboBox" )
;
    PUTBACK;
    wxPli_stringarray_push( aTHX_ THIS->GetStrings() );
    SPAGAIN;
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__OwnerDrawnComboBox_SetString); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__OwnerDrawnComboBox_SetString)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, n, s");
    {
	wxOwnerDrawnComboBox *    THIS = (wxOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OwnerDrawnComboBox" )
;
	unsigned int    n = (unsigned int)SvUV( ST(1) )
;
	wxString	s;

    WXSTRING_INPUT( s, wxString, ST(2) )
;
    try {
      THIS->SetString( n, s );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__OwnerDrawnComboBox_FindString); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__OwnerDrawnComboBox_FindString)
{
    dVAR; dXSARGS;
    if (items < 1)
       croak_xs_usage(cv,  "THIS, ...");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	wxOwnerDrawnComboBox *    THIS = (wxOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OwnerDrawnComboBox" )
;
	int	RETVAL;
	dXSTARG;
    BEGIN_OVERLOAD()
#if WXPERL_W_VERSION_GE( 2, 7, 2 )
        MATCH_REDISP( wxPliOvl_s_b, FindStringCase )
#endif
        MATCH_REDISP( wxPliOvl_s, FindStringNoCase )
    END_OVERLOAD( Wx::OwnerDrawnComboBox::FindString )
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__OwnerDrawnComboBox_FindStringNoCase); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__OwnerDrawnComboBox_FindStringNoCase)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, s");
    {
	wxOwnerDrawnComboBox *    THIS = (wxOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OwnerDrawnComboBox" )
;
	int	RETVAL;
	dXSTARG;
	wxString	s;

    WXSTRING_INPUT( s, wxString, ST(1) )
;
    try {
      RETVAL = THIS->FindString( s );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}

#if WXPERL_W_VERSION_GE( 2, 7, 2 )
#define XSpp_f9ce292b_042485
#define XSubPPtmpAABM 1


XS_EUPXS(XS_Wx__OwnerDrawnComboBox_FindStringCase); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__OwnerDrawnComboBox_FindStringCase)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 3)
       croak_xs_usage(cv,  "THIS, s, bCase= false");
    {
	wxOwnerDrawnComboBox *    THIS = (wxOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OwnerDrawnComboBox" )
;
	int	RETVAL;
	dXSTARG;
	wxString	s;
	bool	bCase;

    WXSTRING_INPUT( s, wxString, ST(1) )
;

	if (items < 3)
	    bCase = false;
	else {
	    bCase = (bool)SvTRUE(ST(2))
;
	}
    try {
      RETVAL = THIS->FindString( s, bCase );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}

#endif
#if !defined(WXPERL_IN_COMBOBOX)
#define XSpp_f9ce292b_066387
#define XSubPPtmpAABN 1


XS_EUPXS(XS_Wx__OwnerDrawnComboBox_SetSelection); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__OwnerDrawnComboBox_SetSelection)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, n");
    {
	wxOwnerDrawnComboBox *    THIS = (wxOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OwnerDrawnComboBox" )
;
	int	n = (int)SvIV(ST(1))
;
    try {
      THIS->SetSelection( n );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__OwnerDrawnComboBox_GetSelection); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__OwnerDrawnComboBox_GetSelection)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxOwnerDrawnComboBox *    THIS = (wxOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OwnerDrawnComboBox" )
;
	int	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetSelection();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}

#endif

XS_EUPXS(XS_Wx__OwnerDrawnComboBox_SetStringSelection); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__OwnerDrawnComboBox_SetStringSelection)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, s");
    {
	wxOwnerDrawnComboBox *    THIS = (wxOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OwnerDrawnComboBox" )
;
	bool	RETVAL;
	wxString	s;

    WXSTRING_INPUT( s, wxString, ST(1) )
;
    try {
      RETVAL = THIS->SetStringSelection( s );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__OwnerDrawnComboBox_GetStringSelection); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__OwnerDrawnComboBox_GetStringSelection)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxOwnerDrawnComboBox *    THIS = (wxOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OwnerDrawnComboBox" )
;
	wxString	RETVAL;
    try {
      RETVAL = THIS->wxItemContainerImmutable::GetStringSelection();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    WXSTRING_OUTPUT( RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__OwnerDrawnComboBox_Select); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__OwnerDrawnComboBox_Select)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, n");
    {
	wxOwnerDrawnComboBox *    THIS = (wxOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OwnerDrawnComboBox" )
;
	int	n = (int)SvIV(ST(1))
;
    try {
      THIS->Select( n );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


/* INCLUDE: Returning to '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/OwnerDrawnComboBox.xsp' from '/usr/bin/perl -pe "s/ItemContainerImmutable/OwnerDrawnComboBox/g;s/->(?=IsEmpty|GetStringSelection)/->wxItemContainerImmutable::/" XS/ItemContainerImmutable.xs' */


/* INCLUDE_COMMAND:  Including output of '/usr/bin/perl -pe "s/ItemContainer/OwnerDrawnComboBox/g" XS/ItemContainer.xs' from '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/OwnerDrawnComboBox.xsp' */

#include <exception>

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)

XS_EUPXS(XS_Wx__OwnerDrawnComboBox_Append); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__OwnerDrawnComboBox_Append)
{
    dVAR; dXSARGS;
    if (items < 1)
       croak_xs_usage(cv,  "THIS, ...");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	wxOwnerDrawnComboBox *    THIS = (wxOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OwnerDrawnComboBox" )
;
    BEGIN_OVERLOAD()
        MATCH_REDISP( wxPliOvl_arr_arr, AppendItemsData )
        MATCH_REDISP( wxPliOvl_arr, AppendItems )
        MATCH_REDISP( wxPliOvl_s_s, AppendData )
        MATCH_REDISP( wxPliOvl_s, AppendString )
    END_OVERLOAD( Wx::OwnerDrawnComboBox::Append )
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__OwnerDrawnComboBox_AppendString); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__OwnerDrawnComboBox_AppendString)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	wxOwnerDrawnComboBox *    THIS = (wxOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OwnerDrawnComboBox" )
;
	wxString	item;

    WXSTRING_INPUT( item, wxString, ST(1) )
;
    try {
      THIS->Append( item );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__OwnerDrawnComboBox_AppendData); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__OwnerDrawnComboBox_AppendData)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, item, data");
    {
	wxOwnerDrawnComboBox *    THIS = (wxOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OwnerDrawnComboBox" )
;
	wxString	item;
	wxPliUserDataCD*	data;

    WXSTRING_INPUT( item, wxString, ST(1) )
;

    if( SvOK( ST(2) ) )
    {
        data = new wxPliUserDataCD( ST(2) );
    }
    else
        data = 0
;
    try {
      THIS->Append( item, data );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__OwnerDrawnComboBox_AppendItems); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__OwnerDrawnComboBox_AppendItems)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, items");
    {
	wxOwnerDrawnComboBox *    THIS = (wxOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OwnerDrawnComboBox" )
;
	wxArrayString	items;

    wxPli_av_2_arraystring( aTHX_ ST(1), & items )
;
    try {
      THIS->Append( items );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}

#if WXPERL_W_VERSION_GE( 2, 9, 0 )
#define XSpp_a2ea7434_002741
#define XSubPPtmpAABO 1


XS_EUPXS(XS_Wx__OwnerDrawnComboBox_AppendItemsData); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__OwnerDrawnComboBox_AppendItemsData)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, items, data");
    {
	wxOwnerDrawnComboBox *    THIS = (wxOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OwnerDrawnComboBox" )
;
	wxArrayString	items;
	wxPliUserDataCD**	data;

    wxPli_av_2_arraystring( aTHX_ ST(1), & items )
;

    wxPli_av_2_userdatacdarray( aTHX_ ST(2), & data );
    wxPliArrayGuard<wxPliUserDataCD*> guard_data = data
;
     THIS->Append( items, (wxClientData**)data ); 
    }
    XSRETURN_EMPTY;
}

#endif

XS_EUPXS(XS_Wx__OwnerDrawnComboBox_Insert); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__OwnerDrawnComboBox_Insert)
{
    dVAR; dXSARGS;
    if (items < 1)
       croak_xs_usage(cv,  "THIS, ...");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	wxOwnerDrawnComboBox *    THIS = (wxOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OwnerDrawnComboBox" )
;
    BEGIN_OVERLOAD()
        MATCH_REDISP( wxPliOvl_arr_n_arr, InsertItemsData )
        MATCH_REDISP( wxPliOvl_arr_n, InsertItems )
        MATCH_REDISP( wxPliOvl_s_n_s, InsertData )
        MATCH_REDISP( wxPliOvl_s_n, InsertString )
    END_OVERLOAD( Wx::OwnerDrawnComboBox::Insert )
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__OwnerDrawnComboBox_InsertString); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__OwnerDrawnComboBox_InsertString)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, item, pos");
    {
	wxOwnerDrawnComboBox *    THIS = (wxOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OwnerDrawnComboBox" )
;
	wxString	item;
	unsigned int    pos = (unsigned int)SvUV( ST(2) )
;

    WXSTRING_INPUT( item, wxString, ST(1) )
;
    try {
      THIS->Insert( item, pos );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__OwnerDrawnComboBox_InsertData); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__OwnerDrawnComboBox_InsertData)
{
    dVAR; dXSARGS;
    if (items != 4)
       croak_xs_usage(cv,  "THIS, item, pos, data");
    {
	wxOwnerDrawnComboBox *    THIS = (wxOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OwnerDrawnComboBox" )
;
	wxString	item;
	unsigned int    pos = (unsigned int)SvUV( ST(2) )
;
	wxPliUserDataCD*	data;

    WXSTRING_INPUT( item, wxString, ST(1) )
;

    if( SvOK( ST(3) ) )
    {
        data = new wxPliUserDataCD( ST(3) );
    }
    else
        data = 0
;
    try {
      THIS->Insert( item, pos, data );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}

#if WXPERL_W_VERSION_GE( 2, 9, 0 )
#define XSpp_a2ea7434_092796
#define XSubPPtmpAABP 1


XS_EUPXS(XS_Wx__OwnerDrawnComboBox_InsertItems); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__OwnerDrawnComboBox_InsertItems)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, items, pos");
    {
	wxOwnerDrawnComboBox *    THIS = (wxOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OwnerDrawnComboBox" )
;
	wxArrayString	items;
	unsigned int    pos = (unsigned int)SvUV( ST(2) )
;

    wxPli_av_2_arraystring( aTHX_ ST(1), & items )
;
    try {
      THIS->Insert( items, pos );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__OwnerDrawnComboBox_InsertItemsData); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__OwnerDrawnComboBox_InsertItemsData)
{
    dVAR; dXSARGS;
    if (items != 4)
       croak_xs_usage(cv,  "THIS, items, pos, data");
    {
	wxOwnerDrawnComboBox *    THIS = (wxOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OwnerDrawnComboBox" )
;
	wxArrayString	items;
	unsigned int    pos = (unsigned int)SvUV( ST(2) )
;
	wxPliUserDataCD**	data;

    wxPli_av_2_arraystring( aTHX_ ST(1), & items )
;

    wxPli_av_2_userdatacdarray( aTHX_ ST(3), & data );
    wxPliArrayGuard<wxPliUserDataCD*> guard_data = data
;
     THIS->Insert( items, pos, (wxClientData**)data ); 
    }
    XSRETURN_EMPTY;
}

#endif
#if WXPERL_W_VERSION_GE( 2, 9, 0 )
#define XSpp_a2ea7434_072405
#define XSubPPtmpAABQ 1


XS_EUPXS(XS_Wx__OwnerDrawnComboBox_Set); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__OwnerDrawnComboBox_Set)
{
    dVAR; dXSARGS;
    if (items < 1)
       croak_xs_usage(cv,  "THIS, ...");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	wxOwnerDrawnComboBox *    THIS = (wxOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OwnerDrawnComboBox" )
;
    BEGIN_OVERLOAD()
        MATCH_REDISP( wxPliOvl_arr_arr, SetItemsData )
        MATCH_REDISP( wxPliOvl_arr, SetItems )
    END_OVERLOAD( Wx::OwnerDrawnComboBox::Set )
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__OwnerDrawnComboBox_SetItems); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__OwnerDrawnComboBox_SetItems)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, items");
    {
	wxOwnerDrawnComboBox *    THIS = (wxOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OwnerDrawnComboBox" )
;
	wxArrayString	items;

    wxPli_av_2_arraystring( aTHX_ ST(1), & items )
;
    try {
      THIS->Set( items );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__OwnerDrawnComboBox_SetItemsData); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__OwnerDrawnComboBox_SetItemsData)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, items, data");
    {
	wxOwnerDrawnComboBox *    THIS = (wxOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OwnerDrawnComboBox" )
;
	wxArrayString	items;
	wxPliUserDataCD**	data;

    wxPli_av_2_arraystring( aTHX_ ST(1), & items )
;

    wxPli_av_2_userdatacdarray( aTHX_ ST(2), & data );
    wxPliArrayGuard<wxPliUserDataCD*> guard_data = data
;
     THIS->Set( items, (wxClientData**)data ); 
    }
    XSRETURN_EMPTY;
}

#endif

XS_EUPXS(XS_Wx__OwnerDrawnComboBox_Clear); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__OwnerDrawnComboBox_Clear)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxOwnerDrawnComboBox *    THIS = (wxOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OwnerDrawnComboBox" )
;
    try {
      THIS->Clear();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__OwnerDrawnComboBox_Delete); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__OwnerDrawnComboBox_Delete)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, n");
    {
	wxOwnerDrawnComboBox *    THIS = (wxOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OwnerDrawnComboBox" )
;
	int	n = (int)SvIV(ST(1))
;
    try {
      THIS->Delete( n );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__OwnerDrawnComboBox_GetClientData); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__OwnerDrawnComboBox_GetClientData)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, n");
    {
	wxOwnerDrawnComboBox *    THIS = (wxOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OwnerDrawnComboBox" )
;
	wxPliUserDataCD *	RETVAL;
	int	n = (int)SvIV(ST(1))
;
     RETVAL = (wxPliUserDataCD*) THIS->GetClientObject( n ); 
    ST(0) = ( RETVAL == 0 ) ? &PL_sv_undef : RETVAL->GetData();
    SvREFCNT_inc( ST(0) ); // xsubpp mortalizes it...
	sv_2mortal(ST(0));
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__OwnerDrawnComboBox_SetClientData); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__OwnerDrawnComboBox_SetClientData)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, n, data");
    {
	wxOwnerDrawnComboBox *    THIS = (wxOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OwnerDrawnComboBox" )
;
	int	n = (int)SvIV(ST(1))
;
	wxPliUserDataCD*	data;

    if( SvOK( ST(2) ) )
    {
        data = new wxPliUserDataCD( ST(2) );
    }
    else
        data = 0
;
    try {
      THIS->SetClientObject( n, data );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}

#if WXPERL_W_VERSION_GE( 2, 9, 0 )
#define XSpp_a2ea7434_090936
#endif

/* INCLUDE: Returning to '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/OwnerDrawnComboBox.xsp' from '/usr/bin/perl -pe "s/ItemContainer/OwnerDrawnComboBox/g" XS/ItemContainer.xs' */

#include "xspp/odcombo.h"

XS_EUPXS(XS_Wx__PlOwnerDrawnComboBox_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__PlOwnerDrawnComboBox_new)
{
    dVAR; dXSARGS;
    PERL_UNUSED_VAR(cv); /* -W */
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
    BEGIN_OVERLOAD()
        MATCH_VOIDM_REDISP( newDefault )
        MATCH_ANY_REDISP( newFull )
    END_OVERLOAD( "Wx::PlOwnerDrawnComboBox::new" )
	PUTBACK;
	return;
    }
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)

XS_EUPXS(XS_Wx__PlOwnerDrawnComboBox_newDefault); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__PlOwnerDrawnComboBox_newDefault)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "CLASS");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxPlOwnerDrawnComboBox *	RETVAL;
     RETVAL = new wxPlOwnerDrawnComboBox( CLASS );
                wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)

XS_EUPXS(XS_Wx__PlOwnerDrawnComboBox_newFull); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__PlOwnerDrawnComboBox_newFull)
{
    dVAR; dXSARGS;
    if (items < 7 || items > 10)
       croak_xs_usage(cv,  "CLASS, parent, id, value, pos, size, choices, style= 0, validator= wxDefaultValidatorPtr, name= wxEmptyString");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxPlOwnerDrawnComboBox *	RETVAL;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	wxString	value;
	wxPoint    pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) )
;
	wxSize    size = wxPli_sv_2_wxsize( aTHX_ ST(5) )
;
	wxArrayString	choices;
	long	style;
	wxValidator*	validator;
	wxString	name;

    WXSTRING_INPUT( value, wxString, ST(3) )
;

    wxPli_av_2_arraystring( aTHX_ ST(6), & choices )
;

	if (items < 8)
	    style = 0;
	else {
	    style = (long)SvIV(ST(7))
;
	}

	if (items < 9)
	    validator = wxDefaultValidatorPtr;
	else {
    validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(8), "Wx::Validator" )
;
	}

	if (items < 10)
	    name = wxEmptyString;
	else {
    WXSTRING_INPUT( name, wxString, ST(9) )
;
	}
     RETVAL = new wxPlOwnerDrawnComboBox( CLASS, parent, id, value,
                                                     pos, size, choices, style,
                                                     *validator, name );
                wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)

XS_EUPXS(XS_Wx__PlOwnerDrawnComboBox_Create); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__PlOwnerDrawnComboBox_Create)
{
    dVAR; dXSARGS;
    if (items < 4 || items > 10)
       croak_xs_usage(cv,  "THIS, parent, id, value= wxEmptyString, pos= wxDefaultPosition, size= wxDefaultSize, choices, style= 0, validator= wxDefaultValidatorPtr, name= wxEmptyString");
    {
	wxPlOwnerDrawnComboBox *    THIS = (wxPlOwnerDrawnComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlOwnerDrawnComboBox" )
;
	bool	RETVAL;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	wxString	value;
	wxPoint	pos;
	wxSize	size;
	wxArrayString	choices;
	long	style;
	wxValidator*	validator;
	wxString	name;

	if (items < 4)
	    value = wxEmptyString;
	else {
    WXSTRING_INPUT( value, wxString, ST(3) )
;
	}

	if (items < 5)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(5) )
;
	}

    wxPli_av_2_arraystring( aTHX_ ST(6), & choices )
;

	if (items < 8)
	    style = 0;
	else {
	    style = (long)SvIV(ST(7))
;
	}

	if (items < 9)
	    validator = wxDefaultValidatorPtr;
	else {
    validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(8), "Wx::Validator" )
;
	}

	if (items < 10)
	    name = wxEmptyString;
	else {
    WXSTRING_INPUT( name, wxString, ST(9) )
;
	}
    try {
      RETVAL = THIS->Create( parent, id, value, pos, size, choices, style, *( validator ), name );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}

#endif

/* INCLUDE: Returning to 'Controls.xs' from '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/OwnerDrawnComboBox.xsp' */


/* INCLUDE_COMMAND:  Including output of '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/CollapsiblePane.xsp' from 'Controls.xs' */

#include <exception>

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#if WXPERL_W_VERSION_GE( 2, 7, 2 )
#define XSpp_e76ebb63_009704
#include <wx/collpane.h>
#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)
#define XSubPPtmpAABR 1


XS_EUPXS(XS_Wx__CollapsiblePaneEvent_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__CollapsiblePaneEvent_new)
{
    dVAR; dXSARGS;
    if (items != 4)
       croak_xs_usage(cv,  "CLASS, generator, id, collapsed");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxCollapsiblePaneEvent *	RETVAL;
	wxObject*    generator = (wxObject *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Object" )
;
	int	id = (int)SvIV(ST(2))
;
	bool	collapsed = (bool)SvTRUE(ST(3))
;
    try {
      RETVAL = new wxCollapsiblePaneEvent( generator, id, collapsed );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    wxPli_thread_sv_register( aTHX_ "Wx::CollapsiblePaneEvent", RETVAL, ST(0) );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)

XS_EUPXS(XS_Wx__CollapsiblePaneEvent_GetCollapsed); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__CollapsiblePaneEvent_GetCollapsed)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxCollapsiblePaneEvent *    THIS = (wxCollapsiblePaneEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::CollapsiblePaneEvent" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->GetCollapsed();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__CollapsiblePaneEvent_SetCollapsed); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__CollapsiblePaneEvent_SetCollapsed)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, c");
    {
	wxCollapsiblePaneEvent *    THIS = (wxCollapsiblePaneEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::CollapsiblePaneEvent" )
;
	bool	c = (bool)SvTRUE(ST(1))
;
    try {
      THIS->SetCollapsed( c );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__CollapsiblePane_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__CollapsiblePane_new)
{
    dVAR; dXSARGS;
    PERL_UNUSED_VAR(cv); /* -W */
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
    BEGIN_OVERLOAD()
        MATCH_VOIDM_REDISP( newDefault )
        MATCH_ANY_REDISP( newFull )
    END_OVERLOAD( "Wx::CollapsiblePane::new" )
	PUTBACK;
	return;
    }
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)

XS_EUPXS(XS_Wx__CollapsiblePane_newDefault); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__CollapsiblePane_newDefault)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "CLASS");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxCollapsiblePane *	RETVAL;
     RETVAL = new wxCollapsiblePane();
                wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)

XS_EUPXS(XS_Wx__CollapsiblePane_newFull); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__CollapsiblePane_newFull)
{
    dVAR; dXSARGS;
    if (items < 4 || items > 9)
       croak_xs_usage(cv,  "CLASS, parent, id, label, pos= wxDefaultPosition, size= wxDefaultSize, style= wxCP_DEFAULT_STYLE, val= wxDefaultValidatorPtr, name= wxCollapsiblePaneNameStr");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxCollapsiblePane *	RETVAL;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	wxString	label;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxValidator*	val;
	wxString	name;

    WXSTRING_INPUT( label, wxString, ST(3) )
;

	if (items < 5)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(5) )
;
	}

	if (items < 7)
	    style = wxCP_DEFAULT_STYLE;
	else {
	    style = (long)SvIV(ST(6))
;
	}

	if (items < 8)
	    val = wxDefaultValidatorPtr;
	else {
    val = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" )
;
	}

	if (items < 9)
	    name = wxCollapsiblePaneNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(8) )
;
	}
     RETVAL = new wxCollapsiblePane( parent, id, label, pos, size,
                                                style, *val, name );
                wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)

XS_EUPXS(XS_Wx__CollapsiblePane_Create); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__CollapsiblePane_Create)
{
    dVAR; dXSARGS;
    if (items < 4 || items > 9)
       croak_xs_usage(cv,  "THIS, parent, id, label, pos= wxDefaultPosition, size= wxDefaultSize, style= wxCP_DEFAULT_STYLE, val= wxDefaultValidatorPtr, name= wxCollapsiblePaneNameStr");
    {
	wxCollapsiblePane *    THIS = (wxCollapsiblePane *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::CollapsiblePane" )
;
	bool	RETVAL;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	wxString	label;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxValidator*	val;
	wxString	name;

    WXSTRING_INPUT( label, wxString, ST(3) )
;

	if (items < 5)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(5) )
;
	}

	if (items < 7)
	    style = wxCP_DEFAULT_STYLE;
	else {
	    style = (long)SvIV(ST(6))
;
	}

	if (items < 8)
	    val = wxDefaultValidatorPtr;
	else {
    val = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" )
;
	}

	if (items < 9)
	    name = wxCollapsiblePaneNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(8) )
;
	}
    try {
      RETVAL = THIS->Create( parent, id, label, pos, size, style, *( val ), name );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__CollapsiblePane_Collapse); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__CollapsiblePane_Collapse)
{
    dVAR; dXSARGS;
    if (items < 1 || items > 2)
       croak_xs_usage(cv,  "THIS, collapse= true");
    {
	wxCollapsiblePane *    THIS = (wxCollapsiblePane *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::CollapsiblePane" )
;
	bool	collapse;

	if (items < 2)
	    collapse = true;
	else {
	    collapse = (bool)SvTRUE(ST(1))
;
	}
    try {
      THIS->Collapse( collapse );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__CollapsiblePane_Expand); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__CollapsiblePane_Expand)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxCollapsiblePane *    THIS = (wxCollapsiblePane *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::CollapsiblePane" )
;
    try {
      THIS->Expand();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__CollapsiblePane_IsCollapsed); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__CollapsiblePane_IsCollapsed)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxCollapsiblePane *    THIS = (wxCollapsiblePane *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::CollapsiblePane" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->IsCollapsed();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__CollapsiblePane_IsExpanded); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__CollapsiblePane_IsExpanded)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxCollapsiblePane *    THIS = (wxCollapsiblePane *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::CollapsiblePane" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->IsExpanded();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__CollapsiblePane_GetPane); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__CollapsiblePane_GetPane)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxCollapsiblePane *    THIS = (wxCollapsiblePane *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::CollapsiblePane" )
;
	wxWindow *	RETVAL;
    try {
      RETVAL = THIS->GetPane();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#endif

/* INCLUDE: Returning to 'Controls.xs' from '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/CollapsiblePane.xsp' */


/* INCLUDE_COMMAND:  Including output of '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/BitmapComboBox.xsp' from 'Controls.xs' */

#include <exception>

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#if WXPERL_W_VERSION_GE( 2, 7, 2 )
#define XSpp_b3adac27_045760
#include <wx/bmpcbox.h>
#define XSubPPtmpAABS 1


XS_EUPXS(XS_Wx__BitmapComboBox_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BitmapComboBox_new)
{
    dVAR; dXSARGS;
    PERL_UNUSED_VAR(cv); /* -W */
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
    BEGIN_OVERLOAD()
        MATCH_VOIDM_REDISP( newDefault )
        MATCH_ANY_REDISP( newFull )
    END_OVERLOAD( "Wx::BitmapComboBox::new" )
	PUTBACK;
	return;
    }
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)

XS_EUPXS(XS_Wx__BitmapComboBox_newDefault); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BitmapComboBox_newDefault)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "CLASS");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxBitmapComboBox *	RETVAL;
     RETVAL = new wxBitmapComboBox();
                wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)

XS_EUPXS(XS_Wx__BitmapComboBox_newFull); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BitmapComboBox_newFull)
{
    dVAR; dXSARGS;
    if (items < 5 || items > 10)
       croak_xs_usage(cv,  "CLASS, parent, id, value, pos= wxDefaultPosition, size= wxDefaultSize, choices, style= 0, val= wxDefaultValidatorPtr, name= wxBitmapComboBoxNameStr");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxBitmapComboBox *	RETVAL;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	wxString	value;
	wxPoint	pos;
	wxSize	size;
	wxArrayString	choices;
	long	style;
	wxValidator*	val;
	wxString	name;

    WXSTRING_INPUT( value, wxString, ST(3) )
;

	if (items < 5)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(5) )
;
	}

    wxPli_av_2_arraystring( aTHX_ ST(6), & choices )
;

	if (items < 8)
	    style = 0;
	else {
	    style = (long)SvIV(ST(7))
;
	}

	if (items < 9)
	    val = wxDefaultValidatorPtr;
	else {
    val = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(8), "Wx::Validator" )
;
	}

	if (items < 10)
	    name = wxBitmapComboBoxNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(9) )
;
	}
     RETVAL = new wxBitmapComboBox( parent, id, value, pos, size,
                                                choices, style, *val, name );
                wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)

XS_EUPXS(XS_Wx__BitmapComboBox_Create); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BitmapComboBox_Create)
{
    dVAR; dXSARGS;
    if (items < 5 || items > 10)
       croak_xs_usage(cv,  "THIS, parent, id, value, pos= wxDefaultPosition, size= wxDefaultSize, choices, style= 0, val= wxDefaultValidatorPtr, name= wxBitmapComboBoxNameStr");
    {
	wxBitmapComboBox *    THIS = (wxBitmapComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BitmapComboBox" )
;
	bool	RETVAL;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	wxString	value;
	wxPoint	pos;
	wxSize	size;
	wxArrayString	choices;
	long	style;
	wxValidator*	val;
	wxString	name;

    WXSTRING_INPUT( value, wxString, ST(3) )
;

	if (items < 5)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(5) )
;
	}

    wxPli_av_2_arraystring( aTHX_ ST(6), & choices )
;

	if (items < 8)
	    style = 0;
	else {
	    style = (long)SvIV(ST(7))
;
	}

	if (items < 9)
	    val = wxDefaultValidatorPtr;
	else {
    val = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(8), "Wx::Validator" )
;
	}

	if (items < 10)
	    name = wxBitmapComboBoxNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(9) )
;
	}
    try {
      RETVAL = THIS->Create( parent, id, value, pos, size, choices, style, *( val ), name );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__BitmapComboBox_Append); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BitmapComboBox_Append)
{
    dVAR; dXSARGS;
    if (items < 1)
       croak_xs_usage(cv,  "THIS, ...");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	wxBitmapComboBox *    THIS = (wxBitmapComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BitmapComboBox" )
;
    BEGIN_OVERLOAD()
        MATCH_REDISP( wxPliOvl_s_wbmp_s, AppendData )
        MATCH_REDISP( wxPliOvl_s_wbmp, AppendString )
    END_OVERLOAD( Wx::BitmapComboBox::Append )
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__BitmapComboBox_AppendString); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BitmapComboBox_AppendString)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 3)
       croak_xs_usage(cv,  "THIS, item, bitmap= wxNullBitmapPtr");
    {
	wxBitmapComboBox *    THIS = (wxBitmapComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BitmapComboBox" )
;
	wxString	item;
	wxBitmap*	bitmap;

    WXSTRING_INPUT( item, wxString, ST(1) )
;

	if (items < 3)
	    bitmap = wxNullBitmapPtr;
	else {
    bitmap = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Bitmap" )
;
	}
    try {
      THIS->Append( item, *( bitmap ) );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__BitmapComboBox_AppendData); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BitmapComboBox_AppendData)
{
    dVAR; dXSARGS;
    if (items != 4)
       croak_xs_usage(cv,  "THIS, item, bitmap, data");
    {
	wxBitmapComboBox *    THIS = (wxBitmapComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BitmapComboBox" )
;
	wxString	item;
	wxBitmap*    bitmap = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Bitmap" )
;
	wxPliUserDataCD*	data;

    WXSTRING_INPUT( item, wxString, ST(1) )
;

    if( SvOK( ST(3) ) )
    {
        data = new wxPliUserDataCD( ST(3) );
    }
    else
        data = 0
;
    try {
      THIS->Append( item, *( bitmap ), data );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__BitmapComboBox_Insert); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BitmapComboBox_Insert)
{
    dVAR; dXSARGS;
    if (items < 1)
       croak_xs_usage(cv,  "THIS, ...");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	wxBitmapComboBox *    THIS = (wxBitmapComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BitmapComboBox" )
;
    BEGIN_OVERLOAD()
        MATCH_REDISP( wxPliOvl_s_wbmp_n_s, InsertData )
        MATCH_REDISP( wxPliOvl_s_wbmp_n, InsertString )
    END_OVERLOAD( Wx::BitmapComboBox::Insert )
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__BitmapComboBox_InsertString); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BitmapComboBox_InsertString)
{
    dVAR; dXSARGS;
    if (items != 4)
       croak_xs_usage(cv,  "THIS, item, bitmap, pos");
    {
	wxBitmapComboBox *    THIS = (wxBitmapComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BitmapComboBox" )
;
	wxString	item;
	wxBitmap*    bitmap = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Bitmap" )
;
	unsigned int    pos = (unsigned int)SvUV( ST(3) )
;

    WXSTRING_INPUT( item, wxString, ST(1) )
;
    try {
      THIS->Insert( item, *( bitmap ), pos );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__BitmapComboBox_InsertData); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BitmapComboBox_InsertData)
{
    dVAR; dXSARGS;
    if (items != 5)
       croak_xs_usage(cv,  "THIS, item, bitmap, pos, data");
    {
	wxBitmapComboBox *    THIS = (wxBitmapComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BitmapComboBox" )
;
	wxString	item;
	wxBitmap*    bitmap = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Bitmap" )
;
	unsigned int    pos = (unsigned int)SvUV( ST(3) )
;
	wxPliUserDataCD*	data;

    WXSTRING_INPUT( item, wxString, ST(1) )
;

    if( SvOK( ST(4) ) )
    {
        data = new wxPliUserDataCD( ST(4) );
    }
    else
        data = 0
;
    try {
      THIS->Insert( item, *( bitmap ), pos, data );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__BitmapComboBox_GetItemBitmap); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BitmapComboBox_GetItemBitmap)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, n");
    {
	wxBitmapComboBox *    THIS = (wxBitmapComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BitmapComboBox" )
;
	wxBitmap *	RETVAL;
	unsigned int    n = (unsigned int)SvUV( ST(1) )
;
    try {
      RETVAL = new wxBitmap( THIS->GetItemBitmap( n ) );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    wxPli_thread_sv_register( aTHX_ "Wx::Bitmap", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__BitmapComboBox_SetItemBitmap); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BitmapComboBox_SetItemBitmap)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, n, bitmap");
    {
	wxBitmapComboBox *    THIS = (wxBitmapComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BitmapComboBox" )
;
	unsigned int    n = (unsigned int)SvUV( ST(1) )
;
	wxBitmap*    bitmap = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Bitmap" )
;
    try {
      THIS->SetItemBitmap( n, *( bitmap ) );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__BitmapComboBox_GetBitmapSize); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BitmapComboBox_GetBitmapSize)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxBitmapComboBox *    THIS = (wxBitmapComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BitmapComboBox" )
;
	wxSize	RETVAL;
    try {
      RETVAL = THIS->GetBitmapSize();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), new wxSize(RETVAL), "Wx::Size" );
    }
    XSRETURN(1);
}

#endif

/* INCLUDE: Returning to 'Controls.xs' from '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/BitmapComboBox.xsp' */


/* INCLUDE_COMMAND:  Including output of '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/DirCtrl.xsp' from 'Controls.xs' */

#include <exception>

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#include <wx/dirctrl.h>
#define wxPLI_DEFAULT_DIRCTRL_STYLE wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER

XS_EUPXS(XS_Wx__GenericDirCtrl_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__GenericDirCtrl_new)
{
    dVAR; dXSARGS;
    PERL_UNUSED_VAR(cv); /* -W */
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
    BEGIN_OVERLOAD()
        MATCH_VOIDM_REDISP( newDefault )
        MATCH_ANY_REDISP( newFull )
    END_OVERLOAD( "Wx::GenericDirCtrl::new" )
	PUTBACK;
	return;
    }
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)

XS_EUPXS(XS_Wx__GenericDirCtrl_newDefault); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__GenericDirCtrl_newDefault)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "CLASS");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxGenericDirCtrl *	RETVAL;
     RETVAL = new wxGenericDirCtrl();
                wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)

XS_EUPXS(XS_Wx__GenericDirCtrl_newFull); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__GenericDirCtrl_newFull)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 10)
       croak_xs_usage(cv,  "CLASS, parent, id= wxID_ANY, dir= wxDirDialogDefaultFolderStr, pos= wxDefaultPosition, size= wxDefaultSize, style= wxPLI_DEFAULT_DIRCTRL_STYLE, filter= wxEmptyString, defaultFilter= 0, name= wxTreeCtrlNameStr");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxGenericDirCtrl *	RETVAL;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID	id;
	wxString	dir;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxString	filter;
	int	defaultFilter;
	wxString	name;

	if (items < 3)
	    id = wxID_ANY;
	else {
    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	}

	if (items < 4)
	    dir = wxDirDialogDefaultFolderStr;
	else {
    WXSTRING_INPUT( dir, wxString, ST(3) )
;
	}

	if (items < 5)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(5) )
;
	}

	if (items < 7)
	    style = wxPLI_DEFAULT_DIRCTRL_STYLE;
	else {
	    style = (long)SvIV(ST(6))
;
	}

	if (items < 8)
	    filter = wxEmptyString;
	else {
    WXSTRING_INPUT( filter, wxString, ST(7) )
;
	}

	if (items < 9)
	    defaultFilter = 0;
	else {
	    defaultFilter = (int)SvIV(ST(8))
;
	}

	if (items < 10)
	    name = wxTreeCtrlNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(9) )
;
	}
     RETVAL = new wxGenericDirCtrl( parent, id, dir, pos, size,
                                               style, filter, defaultFilter,
                                               name );
                wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)

XS_EUPXS(XS_Wx__GenericDirCtrl_Create); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__GenericDirCtrl_Create)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 10)
       croak_xs_usage(cv,  "THIS, parent, id= wxID_ANY, dir= wxDirDialogDefaultFolderStr, pos= wxDefaultPosition, size= wxDefaultSize, style= wxPLI_DEFAULT_DIRCTRL_STYLE, filter= wxEmptyString, defaultFilter= 0, name= wxTreeCtrlNameStr");
    {
	wxGenericDirCtrl *    THIS = (wxGenericDirCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GenericDirCtrl" )
;
	bool	RETVAL;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID	id;
	wxString	dir;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxString	filter;
	int	defaultFilter;
	wxString	name;

	if (items < 3)
	    id = wxID_ANY;
	else {
    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	}

	if (items < 4)
	    dir = wxDirDialogDefaultFolderStr;
	else {
    WXSTRING_INPUT( dir, wxString, ST(3) )
;
	}

	if (items < 5)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(5) )
;
	}

	if (items < 7)
	    style = wxPLI_DEFAULT_DIRCTRL_STYLE;
	else {
	    style = (long)SvIV(ST(6))
;
	}

	if (items < 8)
	    filter = wxEmptyString;
	else {
    WXSTRING_INPUT( filter, wxString, ST(7) )
;
	}

	if (items < 9)
	    defaultFilter = 0;
	else {
	    defaultFilter = (int)SvIV(ST(8))
;
	}

	if (items < 10)
	    name = wxTreeCtrlNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(9) )
;
	}
    try {
      RETVAL = THIS->Create( parent, id, dir, pos, size, style, filter, defaultFilter, name );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__GenericDirCtrl_ExpandPath); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__GenericDirCtrl_ExpandPath)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, path");
    {
	wxGenericDirCtrl *    THIS = (wxGenericDirCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GenericDirCtrl" )
;
	bool	RETVAL;
	wxString	path;

    WXSTRING_INPUT( path, wxString, ST(1) )
;
    try {
      RETVAL = THIS->ExpandPath( path );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}

#if WXPERL_W_VERSION_GE( 2, 9, 0 )
#define XSpp_9e399684_061993
#define XSubPPtmpAABT 1


XS_EUPXS(XS_Wx__GenericDirCtrl_CollapsePath); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__GenericDirCtrl_CollapsePath)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, path");
    {
	wxGenericDirCtrl *    THIS = (wxGenericDirCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GenericDirCtrl" )
;
	bool	RETVAL;
	wxString	path;

    WXSTRING_INPUT( path, wxString, ST(1) )
;
    try {
      RETVAL = THIS->CollapsePath( path );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}

#endif

XS_EUPXS(XS_Wx__GenericDirCtrl_GetDefaultPath); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__GenericDirCtrl_GetDefaultPath)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxGenericDirCtrl *    THIS = (wxGenericDirCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GenericDirCtrl" )
;
	wxString	RETVAL;
    try {
      RETVAL = THIS->GetDefaultPath();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    WXSTRING_OUTPUT( RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__GenericDirCtrl_SetDefaultPath); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__GenericDirCtrl_SetDefaultPath)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, path");
    {
	wxGenericDirCtrl *    THIS = (wxGenericDirCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GenericDirCtrl" )
;
	wxString	path;

    WXSTRING_INPUT( path, wxString, ST(1) )
;
    try {
      THIS->SetDefaultPath( path );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__GenericDirCtrl_GetPath); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__GenericDirCtrl_GetPath)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxGenericDirCtrl *    THIS = (wxGenericDirCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GenericDirCtrl" )
;
	wxString	RETVAL;
    try {
      RETVAL = THIS->GetPath();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    WXSTRING_OUTPUT( RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__GenericDirCtrl_GetFilePath); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__GenericDirCtrl_GetFilePath)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxGenericDirCtrl *    THIS = (wxGenericDirCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GenericDirCtrl" )
;
	wxString	RETVAL;
    try {
      RETVAL = THIS->GetFilePath();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    WXSTRING_OUTPUT( RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__GenericDirCtrl_SetPath); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__GenericDirCtrl_SetPath)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, path");
    {
	wxGenericDirCtrl *    THIS = (wxGenericDirCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GenericDirCtrl" )
;
	wxString	path;

    WXSTRING_INPUT( path, wxString, ST(1) )
;
    try {
      THIS->SetPath( path );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__GenericDirCtrl_ShowHidden); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__GenericDirCtrl_ShowHidden)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, show");
    {
	wxGenericDirCtrl *    THIS = (wxGenericDirCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GenericDirCtrl" )
;
	bool	show = (bool)SvTRUE(ST(1))
;
    try {
      THIS->ShowHidden( show );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__GenericDirCtrl_GetShowHidden); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__GenericDirCtrl_GetShowHidden)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxGenericDirCtrl *    THIS = (wxGenericDirCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GenericDirCtrl" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->GetShowHidden();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__GenericDirCtrl_GetFilter); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__GenericDirCtrl_GetFilter)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxGenericDirCtrl *    THIS = (wxGenericDirCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GenericDirCtrl" )
;
	wxString	RETVAL;
    try {
      RETVAL = THIS->GetFilter();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    WXSTRING_OUTPUT( RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__GenericDirCtrl_SetFilter); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__GenericDirCtrl_SetFilter)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, filter");
    {
	wxGenericDirCtrl *    THIS = (wxGenericDirCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GenericDirCtrl" )
;
	wxString	filter;

    WXSTRING_INPUT( filter, wxString, ST(1) )
;
    try {
      THIS->SetFilter( filter );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__GenericDirCtrl_GetFilterIndex); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__GenericDirCtrl_GetFilterIndex)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxGenericDirCtrl *    THIS = (wxGenericDirCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GenericDirCtrl" )
;
	int	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetFilterIndex();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__GenericDirCtrl_SetFilterIndex); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__GenericDirCtrl_SetFilterIndex)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, n");
    {
	wxGenericDirCtrl *    THIS = (wxGenericDirCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GenericDirCtrl" )
;
	int	n = (int)SvIV(ST(1))
;
    try {
      THIS->SetFilterIndex( n );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__GenericDirCtrl_GetRootId); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__GenericDirCtrl_GetRootId)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxGenericDirCtrl *    THIS = (wxGenericDirCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GenericDirCtrl" )
;
	wxTreeItemId *	RETVAL;
    try {
      RETVAL = new wxTreeItemId( THIS->GetRootId() );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TreeItemId" );
    wxPli_thread_sv_register( aTHX_ "Wx::TreeItemId", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__GenericDirCtrl_GetTreeCtrl); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__GenericDirCtrl_GetTreeCtrl)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxGenericDirCtrl *    THIS = (wxGenericDirCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GenericDirCtrl" )
;
	wxTreeCtrl *	RETVAL;
    try {
      RETVAL = THIS->GetTreeCtrl();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__GenericDirCtrl_GetFilterListCtrl); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__GenericDirCtrl_GetFilterListCtrl)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxGenericDirCtrl *    THIS = (wxGenericDirCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GenericDirCtrl" )
;
	wxDirFilterListCtrl *	RETVAL;
    try {
      RETVAL = THIS->GetFilterListCtrl();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__GenericDirCtrl_ReCreateTree); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__GenericDirCtrl_ReCreateTree)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxGenericDirCtrl *    THIS = (wxGenericDirCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GenericDirCtrl" )
;
    try {
      THIS->ReCreateTree();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}

#if WXPERL_W_VERSION_GE( 2, 6, 0 )
#define XSpp_9e399684_078150
#define XSubPPtmpAABU 1


XS_EUPXS(XS_Wx__GenericDirCtrl_CollapseTree); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__GenericDirCtrl_CollapseTree)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxGenericDirCtrl *    THIS = (wxGenericDirCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::GenericDirCtrl" )
;
    try {
      THIS->CollapseTree();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}

#endif

/* INCLUDE: Returning to 'Controls.xs' from '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/DirCtrl.xsp' */


/* INCLUDE_COMMAND:  Including output of '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/FileCtrl.xsp' from 'Controls.xs' */

#include <exception>

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#if WXPERL_W_VERSION_GE( 2, 9, 0 )
#define XSpp_db4a2361_029113
#include <wx/filectrl.h>
#define XSubPPtmpAABV 1


XS_EUPXS(XS_Wx__FileCtrl_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__FileCtrl_new)
{
    dVAR; dXSARGS;
    PERL_UNUSED_VAR(cv); /* -W */
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
    BEGIN_OVERLOAD()
        MATCH_VOIDM_REDISP( newDefault )
        MATCH_ANY_REDISP( newFull )
    END_OVERLOAD( "Wx::FileCtrl::new" )
	PUTBACK;
	return;
    }
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)

XS_EUPXS(XS_Wx__FileCtrl_newDefault); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__FileCtrl_newDefault)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "CLASS");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxFileCtrl *	RETVAL;
     RETVAL = new wxFileCtrl();
                wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)

XS_EUPXS(XS_Wx__FileCtrl_newFull); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__FileCtrl_newFull)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 10)
       croak_xs_usage(cv,  "CLASS, parent, id= wxID_ANY, defaultDirectory= wxEmptyString, defaultFilename= wxEmptyString, wildCard= wxFileSelectorDefaultWildcardStr, style= wxFC_DEFAULT_STYLE, pos= wxDefaultPosition, size= wxDefaultSize, name= wxFileCtrlNameStr");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxFileCtrl *	RETVAL;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID	id;
	wxString	defaultDirectory;
	wxString	defaultFilename;
	wxString	wildCard;
	long	style;
	wxPoint	pos;
	wxSize	size;
	wxString	name;

	if (items < 3)
	    id = wxID_ANY;
	else {
    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	}

	if (items < 4)
	    defaultDirectory = wxEmptyString;
	else {
    WXSTRING_INPUT( defaultDirectory, wxString, ST(3) )
;
	}

	if (items < 5)
	    defaultFilename = wxEmptyString;
	else {
    WXSTRING_INPUT( defaultFilename, wxString, ST(4) )
;
	}

	if (items < 6)
	    wildCard = wxFileSelectorDefaultWildcardStr;
	else {
    WXSTRING_INPUT( wildCard, wxString, ST(5) )
;
	}

	if (items < 7)
	    style = wxFC_DEFAULT_STYLE;
	else {
	    style = (long)SvIV(ST(6))
;
	}

	if (items < 8)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(7) )
;
	}

	if (items < 9)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(8) )
;
	}

	if (items < 10)
	    name = wxFileCtrlNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(9) )
;
	}
     RETVAL = new wxFileCtrl( parent, id, defaultDirectory,
                                         defaultFilename, wildCard, style,
                                         pos, size, name );
                wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)

XS_EUPXS(XS_Wx__FileCtrl_Create); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__FileCtrl_Create)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 10)
       croak_xs_usage(cv,  "THIS, parent, id= wxID_ANY, defaultDirectory= wxEmptyString, defaultFilename= wxEmptyString, wildCard= wxFileSelectorDefaultWildcardStr, style= wxFC_DEFAULT_STYLE, pos= wxDefaultPosition, size= wxDefaultSize, name= wxFileCtrlNameStr");
    {
	wxFileCtrl *    THIS = (wxFileCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileCtrl" )
;
	bool	RETVAL;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID	id;
	wxString	defaultDirectory;
	wxString	defaultFilename;
	wxString	wildCard;
	long	style;
	wxPoint	pos;
	wxSize	size;
	wxString	name;

	if (items < 3)
	    id = wxID_ANY;
	else {
    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	}

	if (items < 4)
	    defaultDirectory = wxEmptyString;
	else {
    WXSTRING_INPUT( defaultDirectory, wxString, ST(3) )
;
	}

	if (items < 5)
	    defaultFilename = wxEmptyString;
	else {
    WXSTRING_INPUT( defaultFilename, wxString, ST(4) )
;
	}

	if (items < 6)
	    wildCard = wxFileSelectorDefaultWildcardStr;
	else {
    WXSTRING_INPUT( wildCard, wxString, ST(5) )
;
	}

	if (items < 7)
	    style = wxFC_DEFAULT_STYLE;
	else {
	    style = (long)SvIV(ST(6))
;
	}

	if (items < 8)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(7) )
;
	}

	if (items < 9)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(8) )
;
	}

	if (items < 10)
	    name = wxFileCtrlNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(9) )
;
	}
    try {
      RETVAL = THIS->Create( parent, id, defaultDirectory, defaultFilename, wildCard, style, pos, size, name );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__FileCtrl_SetWildcard); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__FileCtrl_SetWildcard)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, wildCard");
    {
	wxFileCtrl *    THIS = (wxFileCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileCtrl" )
;
	wxString	wildCard;

    WXSTRING_INPUT( wildCard, wxString, ST(1) )
;
    try {
      THIS->SetWildcard( wildCard );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__FileCtrl_SetFilterIndex); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__FileCtrl_SetFilterIndex)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, filterindex");
    {
	wxFileCtrl *    THIS = (wxFileCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileCtrl" )
;
	int	filterindex = (int)SvIV(ST(1))
;
    try {
      THIS->SetFilterIndex( filterindex );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__FileCtrl_SetDirectory); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__FileCtrl_SetDirectory)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, dir");
    {
	wxFileCtrl *    THIS = (wxFileCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileCtrl" )
;
	bool	RETVAL;
	wxString	dir;

    WXSTRING_INPUT( dir, wxString, ST(1) )
;
    try {
      RETVAL = THIS->SetDirectory( dir );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__FileCtrl_SetFilename); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__FileCtrl_SetFilename)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, name");
    {
	wxFileCtrl *    THIS = (wxFileCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileCtrl" )
;
	bool	RETVAL;
	wxString	name;

    WXSTRING_INPUT( name, wxString, ST(1) )
;
    try {
      RETVAL = THIS->SetFilename( name );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__FileCtrl_SetPath); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__FileCtrl_SetPath)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, path");
    {
	wxFileCtrl *    THIS = (wxFileCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileCtrl" )
;
	bool	RETVAL;
	wxString	path;

    WXSTRING_INPUT( path, wxString, ST(1) )
;
    try {
      RETVAL = THIS->SetPath( path );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__FileCtrl_GetFilename); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__FileCtrl_GetFilename)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxFileCtrl *    THIS = (wxFileCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileCtrl" )
;
	wxString	RETVAL;
    try {
      RETVAL = THIS->GetFilename();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    WXSTRING_OUTPUT( RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__FileCtrl_GetDirectory); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__FileCtrl_GetDirectory)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxFileCtrl *    THIS = (wxFileCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileCtrl" )
;
	wxString	RETVAL;
    try {
      RETVAL = THIS->GetDirectory();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    WXSTRING_OUTPUT( RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__FileCtrl_GetWildcard); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__FileCtrl_GetWildcard)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxFileCtrl *    THIS = (wxFileCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileCtrl" )
;
	wxString	RETVAL;
    try {
      RETVAL = THIS->GetWildcard();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    WXSTRING_OUTPUT( RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__FileCtrl_GetPath); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__FileCtrl_GetPath)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxFileCtrl *    THIS = (wxFileCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileCtrl" )
;
	wxString	RETVAL;
    try {
      RETVAL = THIS->GetPath();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    WXSTRING_OUTPUT( RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__FileCtrl_GetPaths); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__FileCtrl_GetPaths)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	wxFileCtrl *    THIS = (wxFileCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileCtrl" )
;
    PUTBACK;
    wxArrayString ret;
    THIS->GetPaths( ret );
    wxPli_stringarray_push( aTHX_ ret );
    SPAGAIN;
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__FileCtrl_GetFilenames); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__FileCtrl_GetFilenames)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	wxFileCtrl *    THIS = (wxFileCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileCtrl" )
;
    PUTBACK;
    wxArrayString ret;
    THIS->GetFilenames( ret );
    wxPli_stringarray_push( aTHX_ ret );
    SPAGAIN;
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__FileCtrl_GetFilterIndex); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__FileCtrl_GetFilterIndex)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxFileCtrl *    THIS = (wxFileCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileCtrl" )
;
	int	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetFilterIndex();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__FileCtrl_HasMultipleFileSelection); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__FileCtrl_HasMultipleFileSelection)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxFileCtrl *    THIS = (wxFileCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileCtrl" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->HasMultipleFileSelection();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__FileCtrl_ShowHidden); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__FileCtrl_ShowHidden)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, show");
    {
	wxFileCtrl *    THIS = (wxFileCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileCtrl" )
;
	bool	show = (bool)SvTRUE(ST(1))
;
    try {
      THIS->ShowHidden( show );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__FileCtrlEvent_SetFiles); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__FileCtrlEvent_SetFiles)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, files");
    {
	wxFileCtrlEvent *    THIS = (wxFileCtrlEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileCtrlEvent" )
;
	wxArrayString	files;

    wxPli_av_2_arraystring( aTHX_ ST(1), & files )
;
    try {
      THIS->SetFiles( files );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__FileCtrlEvent_SetDirectory); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__FileCtrlEvent_SetDirectory)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, directory");
    {
	wxFileCtrlEvent *    THIS = (wxFileCtrlEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileCtrlEvent" )
;
	wxString	directory;

    WXSTRING_INPUT( directory, wxString, ST(1) )
;
    try {
      THIS->SetDirectory( directory );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__FileCtrlEvent_GetFiles); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__FileCtrlEvent_GetFiles)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	wxFileCtrlEvent *    THIS = (wxFileCtrlEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileCtrlEvent" )
;
    PUTBACK;
    wxPli_stringarray_push( aTHX_ THIS->GetFiles() );
    SPAGAIN;
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__FileCtrlEvent_GetDirectory); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__FileCtrlEvent_GetDirectory)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxFileCtrlEvent *    THIS = (wxFileCtrlEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileCtrlEvent" )
;
	wxString	RETVAL;
    try {
      RETVAL = THIS->GetDirectory();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    WXSTRING_OUTPUT( RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__FileCtrlEvent_GetFile); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__FileCtrlEvent_GetFile)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxFileCtrlEvent *    THIS = (wxFileCtrlEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileCtrlEvent" )
;
	wxString	RETVAL;
    try {
      RETVAL = THIS->GetFile();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    WXSTRING_OUTPUT( RETVAL, ST(0) );
    }
    XSRETURN(1);
}

#endif

/* INCLUDE: Returning to 'Controls.xs' from '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/FileCtrl.xsp' */


/* INCLUDE_COMMAND:  Including output of '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp interface/wx/generic/spinctrg.h' from 'Controls.xs' */

#include <exception>

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#if WXPERL_W_VERSION_GE( 2, 9, 0 )
#define XSpp_bf682a9f_086821
#include <wx/spinctrl.h>
#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)
#define XSubPPtmpAABW 1


XS_EUPXS(XS_Wx__SpinCtrlDouble_wxSpinCtrlDouble0); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SpinCtrlDouble_wxSpinCtrlDouble0)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "CLASS");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxSpinCtrlDouble *	RETVAL;
    try {
      RETVAL = new wxSpinCtrlDouble();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
     wxPli_create_evthandler( aTHX_ RETVAL, CLASS ); 
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)

XS_EUPXS(XS_Wx__SpinCtrlDouble_wxSpinCtrlDouble1); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SpinCtrlDouble_wxSpinCtrlDouble1)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 12)
       croak_xs_usage(cv,  "CLASS, parent, id= -1, value= wxEmptyString, pos= wxDefaultPosition, size= wxDefaultSize, style= wxSP_ARROW_KEYS, min= 0, max= 100, initial= 0, inc= 1, name= _T(\"wxSpinCtrlDouble\")");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxSpinCtrlDouble *	RETVAL;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID	id;
	wxString	value;
	wxPoint	pos;
	wxSize	size;
	long	style;
	double	min;
	double	max;
	double	initial;
	double	inc;
	wxString	name;

	if (items < 3)
	    id = -1;
	else {
    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	}

	if (items < 4)
	    value = wxEmptyString;
	else {
    WXSTRING_INPUT( value, wxString, ST(3) )
;
	}

	if (items < 5)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(5) )
;
	}

	if (items < 7)
	    style = wxSP_ARROW_KEYS;
	else {
	    style = (long)SvIV(ST(6))
;
	}

	if (items < 8)
	    min = 0;
	else {
	    min = (double)SvNV(ST(7))
;
	}

	if (items < 9)
	    max = 100;
	else {
	    max = (double)SvNV(ST(8))
;
	}

	if (items < 10)
	    initial = 0;
	else {
	    initial = (double)SvNV(ST(9))
;
	}

	if (items < 11)
	    inc = 1;
	else {
	    inc = (double)SvNV(ST(10))
;
	}

	if (items < 12)
	    name = _T("wxSpinCtrlDouble");
	else {
    WXSTRING_INPUT( name, wxString, ST(11) )
;
	}
    try {
      RETVAL = new wxSpinCtrlDouble( parent, id, value, pos, size, style, min, max, initial, inc, name );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
     wxPli_create_evthandler( aTHX_ RETVAL, CLASS ); 
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)

XS_EUPXS(XS_Wx__SpinCtrlDouble_Create); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SpinCtrlDouble_Create)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 12)
       croak_xs_usage(cv,  "THIS, parent, id= wxID_ANY, value= wxEmptyString, pos= wxDefaultPosition, size= wxDefaultSize, style= wxSP_ARROW_KEYS, min= 0, max= 100, initial= 0, inc= 1, name= \"wxSpinCtrlDouble\"");
    {
	wxSpinCtrlDouble *    THIS = (wxSpinCtrlDouble *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SpinCtrlDouble" )
;
	bool	RETVAL;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID	id;
	wxString	value;
	wxPoint	pos;
	wxSize	size;
	long	style;
	double	min;
	double	max;
	double	initial;
	double	inc;
	wxString	name;

	if (items < 3)
	    id = wxID_ANY;
	else {
    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	}

	if (items < 4)
	    value = wxEmptyString;
	else {
    WXSTRING_INPUT( value, wxString, ST(3) )
;
	}

	if (items < 5)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(5) )
;
	}

	if (items < 7)
	    style = wxSP_ARROW_KEYS;
	else {
	    style = (long)SvIV(ST(6))
;
	}

	if (items < 8)
	    min = 0;
	else {
	    min = (double)SvNV(ST(7))
;
	}

	if (items < 9)
	    max = 100;
	else {
	    max = (double)SvNV(ST(8))
;
	}

	if (items < 10)
	    initial = 0;
	else {
	    initial = (double)SvNV(ST(9))
;
	}

	if (items < 11)
	    inc = 1;
	else {
	    inc = (double)SvNV(ST(10))
;
	}

	if (items < 12)
	    name = "wxSpinCtrlDouble";
	else {
    WXSTRING_INPUT( name, wxString, ST(11) )
;
	}
    try {
      RETVAL = THIS->Create( parent, id, value, pos, size, style, min, max, initial, inc, name );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__SpinCtrlDouble_GetDigits); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SpinCtrlDouble_GetDigits)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxSpinCtrlDouble *    THIS = (wxSpinCtrlDouble *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SpinCtrlDouble" )
;
	unsigned int	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetDigits();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHu((UV)RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__SpinCtrlDouble_GetIncrement); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SpinCtrlDouble_GetIncrement)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxSpinCtrlDouble *    THIS = (wxSpinCtrlDouble *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SpinCtrlDouble" )
;
	double	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetIncrement();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHn((double)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__SpinCtrlDouble_GetMax); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SpinCtrlDouble_GetMax)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxSpinCtrlDouble *    THIS = (wxSpinCtrlDouble *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SpinCtrlDouble" )
;
	double	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetMax();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHn((double)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__SpinCtrlDouble_GetMin); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SpinCtrlDouble_GetMin)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxSpinCtrlDouble *    THIS = (wxSpinCtrlDouble *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SpinCtrlDouble" )
;
	double	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetMin();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHn((double)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__SpinCtrlDouble_GetValue); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SpinCtrlDouble_GetValue)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxSpinCtrlDouble *    THIS = (wxSpinCtrlDouble *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SpinCtrlDouble" )
;
	double	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetValue();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHn((double)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__SpinCtrlDouble_SetDigits); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SpinCtrlDouble_SetDigits)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, digits");
    {
	wxSpinCtrlDouble *    THIS = (wxSpinCtrlDouble *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SpinCtrlDouble" )
;
	unsigned int    digits = (unsigned int)SvUV( ST(1) )
;
    try {
      THIS->SetDigits( digits );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__SpinCtrlDouble_SetIncrement); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SpinCtrlDouble_SetIncrement)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, inc");
    {
	wxSpinCtrlDouble *    THIS = (wxSpinCtrlDouble *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SpinCtrlDouble" )
;
	double	inc = (double)SvNV(ST(1))
;
    try {
      THIS->SetIncrement( inc );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__SpinCtrlDouble_SetRange); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SpinCtrlDouble_SetRange)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, minVal, maxVal");
    {
	wxSpinCtrlDouble *    THIS = (wxSpinCtrlDouble *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SpinCtrlDouble" )
;
	double	minVal = (double)SvNV(ST(1))
;
	double	maxVal = (double)SvNV(ST(2))
;
    try {
      THIS->SetRange( minVal, maxVal );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__SpinCtrlDouble_SetValue0); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SpinCtrlDouble_SetValue0)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, text");
    {
	wxSpinCtrlDouble *    THIS = (wxSpinCtrlDouble *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SpinCtrlDouble" )
;
	wxString	text;

    WXSTRING_INPUT( text, wxString, ST(1) )
;
    try {
      THIS->SetValue( text );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__SpinCtrlDouble_SetValue1); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SpinCtrlDouble_SetValue1)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, value");
    {
	wxSpinCtrlDouble *    THIS = (wxSpinCtrlDouble *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SpinCtrlDouble" )
;
	double	value = (double)SvNV(ST(1))
;
    try {
      THIS->SetValue( value );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}

#include "cpp/overload.h"
#if defined( XSpp_bf682a9f_086821 )
#define XSubPPtmpAABX 1


XS_EUPXS(XS_Wx__SpinCtrlDouble_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SpinCtrlDouble_new)
{
    dVAR; dXSARGS;
    if (items < 1)
       croak_xs_usage(cv,  "CLASS, ...");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
#if defined( XSpp_bf682a9f_086821 )
    static wxPliPrototype void_proto( NULL, 0 );
#endif // defined( XSpp_bf682a9f_086821 )
    static wxPliPrototype *wxPliOvl_all_prototypes[] = {
#if defined( XSpp_bf682a9f_086821 )
        &void_proto,
#endif // defined( XSpp_bf682a9f_086821 )
        NULL };
    BEGIN_OVERLOAD()
#if defined( XSpp_bf682a9f_086821 )
        MATCH_VOIDM_REDISP( wxSpinCtrlDouble0 )
#endif // defined( XSpp_bf682a9f_086821 )
#if defined( XSpp_bf682a9f_086821 )
        MATCH_ANY_REDISP( wxSpinCtrlDouble1 )
#endif // defined( XSpp_bf682a9f_086821 )
    END_OVERLOAD_MESSAGE( Wx::SpinCtrlDouble::new, wxPliOvl_all_prototypes )
	PUTBACK;
	return;
    }
}

#endif // defined( XSpp_bf682a9f_086821 )
#if defined( XSpp_bf682a9f_086821 )
#define XSubPPtmpAABY 1


XS_EUPXS(XS_Wx__SpinCtrlDouble_SetValue); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SpinCtrlDouble_SetValue)
{
    dVAR; dXSARGS;
    if (items < 1)
       croak_xs_usage(cv,  "THIS, ...");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	wxSpinCtrlDouble *    THIS = (wxSpinCtrlDouble *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SpinCtrlDouble" )
;
#if defined( XSpp_bf682a9f_086821 )
    static const char *SetValue0_types[] = { wxPliOvlstr };
    static wxPliPrototype SetValue0_proto( SetValue0_types, sizeof( SetValue0_types ) / sizeof( SetValue0_types[0] ) );
#endif // defined( XSpp_bf682a9f_086821 )
#if defined( XSpp_bf682a9f_086821 )
    static const char *SetValue1_types[] = { wxPliOvlnum };
    static wxPliPrototype SetValue1_proto( SetValue1_types, sizeof( SetValue1_types ) / sizeof( SetValue1_types[0] ) );
#endif // defined( XSpp_bf682a9f_086821 )
    static wxPliPrototype *wxPliOvl_all_prototypes[] = {
#if defined( XSpp_bf682a9f_086821 )
        &SetValue0_proto,
#endif // defined( XSpp_bf682a9f_086821 )
#if defined( XSpp_bf682a9f_086821 )
        &SetValue1_proto,
#endif // defined( XSpp_bf682a9f_086821 )
        NULL };
    BEGIN_OVERLOAD()
#if defined( XSpp_bf682a9f_086821 )
        MATCH_REDISP_COUNT( SetValue0_proto, SetValue0, 1 )
#endif // defined( XSpp_bf682a9f_086821 )
#if defined( XSpp_bf682a9f_086821 )
        MATCH_REDISP_COUNT( SetValue1_proto, SetValue1, 1 )
#endif // defined( XSpp_bf682a9f_086821 )
    END_OVERLOAD_MESSAGE( Wx::SpinCtrlDouble::SetValue, wxPliOvl_all_prototypes )
	PUTBACK;
	return;
    }
}

#endif // defined( XSpp_bf682a9f_086821 )
#endif

/* INCLUDE: Returning to 'Controls.xs' from '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp interface/wx/generic/spinctrg.h' */


/* INCLUDE_COMMAND:  Including output of '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp interface/wx/infobar.h' from 'Controls.xs' */

#include <exception>

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#if WXPERL_W_VERSION_GE( 2, 9, 1 )
#define XSpp_622a4aee_098414
#include <wx/infobar.h>
#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)
#define XSubPPtmpAABZ 1


XS_EUPXS(XS_Wx__InfoBar_wxInfoBar0); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__InfoBar_wxInfoBar0)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "CLASS");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxInfoBar *	RETVAL;
    try {
      RETVAL = new wxInfoBar();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
     wxPli_create_evthandler( aTHX_ RETVAL, CLASS ); 
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)

XS_EUPXS(XS_Wx__InfoBar_wxInfoBar1); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__InfoBar_wxInfoBar1)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 3)
       croak_xs_usage(cv,  "CLASS, parent, winid= wxID_ANY");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxInfoBar *	RETVAL;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID	winid;

	if (items < 3)
	    winid = wxID_ANY;
	else {
    winid = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	}
    try {
      RETVAL = new wxInfoBar( parent, winid );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
     wxPli_create_evthandler( aTHX_ RETVAL, CLASS ); 
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)

XS_EUPXS(XS_Wx__InfoBar_Create); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__InfoBar_Create)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 3)
       croak_xs_usage(cv,  "THIS, parent, winid= wxID_ANY");
    {
	wxInfoBar *    THIS = (wxInfoBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::InfoBar" )
;
	bool	RETVAL;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID	winid;

	if (items < 3)
	    winid = wxID_ANY;
	else {
    winid = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	}
    try {
      RETVAL = THIS->Create( parent, winid );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__InfoBar_AddButton); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__InfoBar_AddButton)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 3)
       croak_xs_usage(cv,  "THIS, btnid, label= wxString()");
    {
	wxInfoBar *    THIS = (wxInfoBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::InfoBar" )
;
	wxWindowID    btnid = wxPli_get_wxwindowid( aTHX_ ST(1) )
;
	wxString	label;

	if (items < 3)
	    label = wxString();
	else {
    WXSTRING_INPUT( label, wxString, ST(2) )
;
	}
    try {
      THIS->AddButton( btnid, label );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__InfoBar_Dismiss); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__InfoBar_Dismiss)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxInfoBar *    THIS = (wxInfoBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::InfoBar" )
;
    try {
      THIS->Dismiss();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__InfoBar_RemoveButton); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__InfoBar_RemoveButton)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, btnid");
    {
	wxInfoBar *    THIS = (wxInfoBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::InfoBar" )
;
	wxWindowID    btnid = wxPli_get_wxwindowid( aTHX_ ST(1) )
;
    try {
      THIS->RemoveButton( btnid );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__InfoBar_ShowMessage); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__InfoBar_ShowMessage)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 3)
       croak_xs_usage(cv,  "THIS, msg, flags= wxICON_NONE");
    {
	wxInfoBar *    THIS = (wxInfoBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::InfoBar" )
;
	wxString	msg;
	int	flags;

    WXSTRING_INPUT( msg, wxString, ST(1) )
;

	if (items < 3)
	    flags = wxICON_NONE;
	else {
	    flags = (int)SvIV(ST(2))
;
	}
    try {
      THIS->ShowMessage( msg, flags );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__InfoBar_SetShowHideEffects); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__InfoBar_SetShowHideEffects)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, showEffect, hideEffect");
    {
	wxInfoBar *    THIS = (wxInfoBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::InfoBar" )
;
	wxShowEffect	showEffect = (wxShowEffect)SvIV(ST(1))
;
	wxShowEffect	hideEffect = (wxShowEffect)SvIV(ST(2))
;
    try {
      THIS->SetShowHideEffects( showEffect, hideEffect );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__InfoBar_GetShowEffect); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__InfoBar_GetShowEffect)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxInfoBar *    THIS = (wxInfoBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::InfoBar" )
;
	wxShowEffect	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetShowEffect();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__InfoBar_GetHideEffect); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__InfoBar_GetHideEffect)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxInfoBar *    THIS = (wxInfoBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::InfoBar" )
;
	wxShowEffect	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetHideEffect();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__InfoBar_SetEffectDuration); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__InfoBar_SetEffectDuration)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, duration");
    {
	wxInfoBar *    THIS = (wxInfoBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::InfoBar" )
;
	int	duration = (int)SvIV(ST(1))
;
    try {
      THIS->SetEffectDuration( duration );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__InfoBar_GetEffectDuration); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__InfoBar_GetEffectDuration)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxInfoBar *    THIS = (wxInfoBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::InfoBar" )
;
	int	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetEffectDuration();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__InfoBar_SetFont); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__InfoBar_SetFont)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, font");
    {
	wxInfoBar *    THIS = (wxInfoBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::InfoBar" )
;
	bool	RETVAL;
	wxFont*    font = (wxFont *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Font" )
;
    try {
      RETVAL = THIS->SetFont( *( font ) );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}

#include "cpp/overload.h"
#if defined( XSpp_622a4aee_098414 )
#define XSubPPtmpAACA 1


XS_EUPXS(XS_Wx__InfoBar_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__InfoBar_new)
{
    dVAR; dXSARGS;
    if (items < 1)
       croak_xs_usage(cv,  "CLASS, ...");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
#if defined( XSpp_622a4aee_098414 )
    static wxPliPrototype void_proto( NULL, 0 );
#endif // defined( XSpp_622a4aee_098414 )
    static wxPliPrototype *wxPliOvl_all_prototypes[] = {
#if defined( XSpp_622a4aee_098414 )
        &void_proto,
#endif // defined( XSpp_622a4aee_098414 )
        NULL };
    BEGIN_OVERLOAD()
#if defined( XSpp_622a4aee_098414 )
        MATCH_VOIDM_REDISP( wxInfoBar0 )
#endif // defined( XSpp_622a4aee_098414 )
#if defined( XSpp_622a4aee_098414 )
        MATCH_ANY_REDISP( wxInfoBar1 )
#endif // defined( XSpp_622a4aee_098414 )
    END_OVERLOAD_MESSAGE( Wx::InfoBar::new, wxPliOvl_all_prototypes )
	PUTBACK;
	return;
    }
}

#endif // defined( XSpp_622a4aee_098414 )
#endif

/* INCLUDE: Returning to 'Controls.xs' from '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp interface/wx/infobar.h' */


/* INCLUDE_COMMAND:  Including output of '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp interface/wx/headerctrl.h' from 'Controls.xs' */

#include <exception>

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#if WXPERL_W_VERSION_GE( 2, 9, 1 )
#define XSpp_11434cd6_068798
#include <wx/headerctrl.h>
#include "xspp/wxplheaderctrl.h"
#define XSubPPtmpAACB 1


XS_EUPXS(XS_Wx__HeaderCtrl_Create); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HeaderCtrl_Create)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 7)
       croak_xs_usage(cv,  "THIS, parent, winid= wxID_ANY, pos= wxDefaultPosition, size= wxDefaultSize, style= wxHD_DEFAULT_STYLE, name= wxHeaderCtrlNameStr");
    {
	wxHeaderCtrl *    THIS = (wxHeaderCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HeaderCtrl" )
;
	bool	RETVAL;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID	winid;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxString	name;

	if (items < 3)
	    winid = wxID_ANY;
	else {
    winid = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	}

	if (items < 4)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) )
;
	}

	if (items < 5)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    style = wxHD_DEFAULT_STYLE;
	else {
	    style = (long)SvIV(ST(5))
;
	}

	if (items < 7)
	    name = wxHeaderCtrlNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(6) )
;
	}
    try {
      RETVAL = THIS->Create( parent, winid, pos, size, style, name );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__HeaderCtrl_SetColumnCount); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HeaderCtrl_SetColumnCount)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, count");
    {
	wxHeaderCtrl *    THIS = (wxHeaderCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HeaderCtrl" )
;
	unsigned int    count = (unsigned int)SvUV( ST(1) )
;
    try {
      THIS->SetColumnCount( count );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__HeaderCtrl_GetColumnCount); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HeaderCtrl_GetColumnCount)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxHeaderCtrl *    THIS = (wxHeaderCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HeaderCtrl" )
;
	unsigned int	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetColumnCount();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHu((UV)RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__HeaderCtrl_IsEmpty); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HeaderCtrl_IsEmpty)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxHeaderCtrl *    THIS = (wxHeaderCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HeaderCtrl" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->IsEmpty();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__HeaderCtrl_UpdateColumn); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HeaderCtrl_UpdateColumn)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, idx");
    {
	wxHeaderCtrl *    THIS = (wxHeaderCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HeaderCtrl" )
;
	unsigned int    idx = (unsigned int)SvUV( ST(1) )
;
    try {
      THIS->UpdateColumn( idx );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__HeaderCtrl_SetColumnsOrder); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HeaderCtrl_SetColumnsOrder)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, order");
    {
	wxHeaderCtrl *    THIS = (wxHeaderCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HeaderCtrl" )
;
	wxArrayInt	order;

    wxPli_av_2_arrayint( aTHX_ ST(1), & order )
;
    try {
      THIS->SetColumnsOrder( order );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__HeaderCtrl_GetColumnsOrder); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HeaderCtrl_GetColumnsOrder)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	wxHeaderCtrl *    THIS = (wxHeaderCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HeaderCtrl" )
;
	wxArrayInt	RETVAL;
    try {
      RETVAL = THIS->GetColumnsOrder();
    PUTBACK;
    wxPli_intarray_push( aTHX_ RETVAL );
    SPAGAIN;
  ;
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__HeaderCtrl_GetColumnAt); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HeaderCtrl_GetColumnAt)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, pos");
    {
	wxHeaderCtrl *    THIS = (wxHeaderCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HeaderCtrl" )
;
	unsigned int	RETVAL;
	dXSTARG;
	unsigned int    pos = (unsigned int)SvUV( ST(1) )
;
    try {
      RETVAL = THIS->GetColumnAt( pos );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHu((UV)RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__HeaderCtrl_GetColumnPos); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HeaderCtrl_GetColumnPos)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, idx");
    {
	wxHeaderCtrl *    THIS = (wxHeaderCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HeaderCtrl" )
;
	unsigned int	RETVAL;
	dXSTARG;
	unsigned int    idx = (unsigned int)SvUV( ST(1) )
;
    try {
      RETVAL = THIS->GetColumnPos( idx );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHu((UV)RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__HeaderCtrl_ResetColumnsOrder); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HeaderCtrl_ResetColumnsOrder)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxHeaderCtrl *    THIS = (wxHeaderCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HeaderCtrl" )
;
    try {
      THIS->ResetColumnsOrder();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__HeaderCtrl_MoveColumnInOrderArray); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HeaderCtrl_MoveColumnInOrderArray)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "order, idx, pos");
    {
	wxArrayInt	order;
	unsigned int    idx = (unsigned int)SvUV( ST(1) )
;
	unsigned int    pos = (unsigned int)SvUV( ST(2) )
;

    wxPli_av_2_arrayint( aTHX_ ST(0), & order )
;
    try {
      wxHeaderCtrl::MoveColumnInOrderArray( order, idx, pos );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__HeaderCtrl_ShowColumnsMenu); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HeaderCtrl_ShowColumnsMenu)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 3)
       croak_xs_usage(cv,  "THIS, pt, title= wxString()");
    {
	wxHeaderCtrl *    THIS = (wxHeaderCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HeaderCtrl" )
;
	bool	RETVAL;
	wxPoint    pt = wxPli_sv_2_wxpoint( aTHX_ ST(1) )
;
	wxString	title;

	if (items < 3)
	    title = wxString();
	else {
    WXSTRING_INPUT( title, wxString, ST(2) )
;
	}
    try {
      RETVAL = THIS->ShowColumnsMenu( pt, title );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__HeaderCtrl_AddColumnsItems); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HeaderCtrl_AddColumnsItems)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 3)
       croak_xs_usage(cv,  "THIS, menu, idColumnsBase= 0");
    {
	wxHeaderCtrl *    THIS = (wxHeaderCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HeaderCtrl" )
;
	wxMenu*    menu = (wxMenu *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Menu" )
;
	int	idColumnsBase;

	if (items < 3)
	    idColumnsBase = 0;
	else {
	    idColumnsBase = (int)SvIV(ST(2))
;
	}
    try {
      THIS->AddColumnsItems( *( menu ), idColumnsBase );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__HeaderCtrl_ShowCustomizeDialog); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HeaderCtrl_ShowCustomizeDialog)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxHeaderCtrl *    THIS = (wxHeaderCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HeaderCtrl" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->ShowCustomizeDialog();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}

#include "cpp/overload.h"
#if defined( XSpp_11434cd6_068798 )
#define XSubPPtmpAACC 1


XS_EUPXS(XS_Wx__HeaderCtrl_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HeaderCtrl_new)
{
    dVAR; dXSARGS;
    if (items < 1)
       croak_xs_usage(cv,  "CLASS, ...");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
#if defined( XSpp_11434cd6_068798 )
    static wxPliPrototype void_proto( NULL, 0 );
#endif // defined( XSpp_11434cd6_068798 )
    static wxPliPrototype *wxPliOvl_all_prototypes[] = {
#if defined( XSpp_11434cd6_068798 )
        &void_proto,
#endif // defined( XSpp_11434cd6_068798 )
        NULL };
    BEGIN_OVERLOAD()
#if defined( XSpp_11434cd6_068798 )
        MATCH_ANY_REDISP( wxHeaderCtrl1 )
#endif // defined( XSpp_11434cd6_068798 )
#if defined( XSpp_11434cd6_068798 )
        MATCH_VOIDM_REDISP( wxHeaderCtrl0 )
#endif // defined( XSpp_11434cd6_068798 )
    END_OVERLOAD_MESSAGE( Wx::HeaderCtrl::new, wxPliOvl_all_prototypes )
	PUTBACK;
	return;
    }
}

#endif // defined( XSpp_11434cd6_068798 )
#include "xspp/wxplheaderctrlsimple.h"

XS_EUPXS(XS_Wx__HeaderCtrlSimple_InsertColumn); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HeaderCtrlSimple_InsertColumn)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, col, idx");
    {
	wxHeaderCtrlSimple *    THIS = (wxHeaderCtrlSimple *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HeaderCtrlSimple" )
;
	wxHeaderColumnSimple*    col = (wxHeaderColumnSimple *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::HeaderColumnSimple" )
;
	unsigned int    idx = (unsigned int)SvUV( ST(2) )
;
    try {
      THIS->InsertColumn( *( col ), idx );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__HeaderCtrlSimple_AppendColumn); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HeaderCtrlSimple_AppendColumn)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, col");
    {
	wxHeaderCtrlSimple *    THIS = (wxHeaderCtrlSimple *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HeaderCtrlSimple" )
;
	wxHeaderColumnSimple*    col = (wxHeaderColumnSimple *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::HeaderColumnSimple" )
;
    try {
      THIS->AppendColumn( *( col ) );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__HeaderCtrlSimple_DeleteColumn); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HeaderCtrlSimple_DeleteColumn)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, idx");
    {
	wxHeaderCtrlSimple *    THIS = (wxHeaderCtrlSimple *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HeaderCtrlSimple" )
;
	unsigned int    idx = (unsigned int)SvUV( ST(1) )
;
    try {
      THIS->DeleteColumn( idx );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__HeaderCtrlSimple_ShowColumn); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HeaderCtrlSimple_ShowColumn)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 3)
       croak_xs_usage(cv,  "THIS, idx, show= true");
    {
	wxHeaderCtrlSimple *    THIS = (wxHeaderCtrlSimple *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HeaderCtrlSimple" )
;
	unsigned int    idx = (unsigned int)SvUV( ST(1) )
;
	bool	show;

	if (items < 3)
	    show = true;
	else {
	    show = (bool)SvTRUE(ST(2))
;
	}
    try {
      THIS->ShowColumn( idx, show );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__HeaderCtrlSimple_HideColumn); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HeaderCtrlSimple_HideColumn)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, idx");
    {
	wxHeaderCtrlSimple *    THIS = (wxHeaderCtrlSimple *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HeaderCtrlSimple" )
;
	unsigned int    idx = (unsigned int)SvUV( ST(1) )
;
    try {
      THIS->HideColumn( idx );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__HeaderCtrlSimple_ShowSortIndicator); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HeaderCtrlSimple_ShowSortIndicator)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 3)
       croak_xs_usage(cv,  "THIS, idx, sortOrder= true");
    {
	wxHeaderCtrlSimple *    THIS = (wxHeaderCtrlSimple *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HeaderCtrlSimple" )
;
	unsigned int    idx = (unsigned int)SvUV( ST(1) )
;
	bool	sortOrder;

	if (items < 3)
	    sortOrder = true;
	else {
	    sortOrder = (bool)SvTRUE(ST(2))
;
	}
    try {
      THIS->ShowSortIndicator( idx, sortOrder );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__HeaderCtrlSimple_RemoveSortIndicator); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HeaderCtrlSimple_RemoveSortIndicator)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxHeaderCtrlSimple *    THIS = (wxHeaderCtrlSimple *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HeaderCtrlSimple" )
;
    try {
      THIS->RemoveSortIndicator();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}

#include "cpp/overload.h"
#if defined( XSpp_11434cd6_068798 )
#define XSubPPtmpAACD 1


XS_EUPXS(XS_Wx__HeaderCtrlSimple_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HeaderCtrlSimple_new)
{
    dVAR; dXSARGS;
    if (items < 1)
       croak_xs_usage(cv,  "CLASS, ...");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
#if defined( XSpp_11434cd6_068798 )
    static wxPliPrototype void_proto( NULL, 0 );
#endif // defined( XSpp_11434cd6_068798 )
    static wxPliPrototype *wxPliOvl_all_prototypes[] = {
#if defined( XSpp_11434cd6_068798 )
        &void_proto,
#endif // defined( XSpp_11434cd6_068798 )
        NULL };
    BEGIN_OVERLOAD()
#if defined( XSpp_11434cd6_068798 )
        MATCH_VOIDM_REDISP( wxHeaderCtrlSimple0 )
#endif // defined( XSpp_11434cd6_068798 )
#if defined( XSpp_11434cd6_068798 )
        MATCH_ANY_REDISP( wxHeaderCtrlSimple1 )
#endif // defined( XSpp_11434cd6_068798 )
    END_OVERLOAD_MESSAGE( Wx::HeaderCtrlSimple::new, wxPliOvl_all_prototypes )
	PUTBACK;
	return;
    }
}

#endif // defined( XSpp_11434cd6_068798 )
#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)

XS_EUPXS(XS_Wx__HeaderCtrlSimple_wxHeaderCtrlSimple0); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HeaderCtrlSimple_wxHeaderCtrlSimple0)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "CLASS");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxHeaderCtrlSimple *	RETVAL;
    RETVAL = new wxPlHeaderCtrlSimple( CLASS   );
     wxPli_create_evthandler( aTHX_ RETVAL, CLASS ); 
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)

XS_EUPXS(XS_Wx__HeaderCtrlSimple_wxHeaderCtrlSimple1); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HeaderCtrlSimple_wxHeaderCtrlSimple1)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 7)
       croak_xs_usage(cv,  "CLASS, parent, winid= wxID_ANY, pos= wxDefaultPosition, size= wxDefaultSize, style= wxHD_DEFAULT_STYLE, name= wxHeaderCtrlNameStr");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxHeaderCtrlSimple *	RETVAL;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID	winid;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxString	name;

	if (items < 3)
	    winid = wxID_ANY;
	else {
    winid = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	}

	if (items < 4)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) )
;
	}

	if (items < 5)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    style = wxHD_DEFAULT_STYLE;
	else {
	    style = (long)SvIV(ST(5))
;
	}

	if (items < 7)
	    name = wxHeaderCtrlNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(6) )
;
	}
    RETVAL = new wxPlHeaderCtrlSimple( CLASS , parent, winid, pos, size, style, name );
     wxPli_create_evthandler( aTHX_ RETVAL, CLASS ); 
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)

XS_EUPXS(XS_Wx__HeaderCtrlEvent_GetColumn); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HeaderCtrlEvent_GetColumn)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxHeaderCtrlEvent *    THIS = (wxHeaderCtrlEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HeaderCtrlEvent" )
;
	int	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetColumn();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__HeaderCtrlEvent_GetWidth); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HeaderCtrlEvent_GetWidth)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxHeaderCtrlEvent *    THIS = (wxHeaderCtrlEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HeaderCtrlEvent" )
;
	int	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetWidth();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__HeaderCtrlEvent_GetNewOrder); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HeaderCtrlEvent_GetNewOrder)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxHeaderCtrlEvent *    THIS = (wxHeaderCtrlEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HeaderCtrlEvent" )
;
	unsigned int	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetNewOrder();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHu((UV)RETVAL );
    }
    XSRETURN(1);
}

#endif
#if defined( XSpp_11434cd6_068798 )
#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)
#define XSubPPtmpAACE 1


XS_EUPXS(XS_Wx__PlHeaderCtrl_wxHeaderCtrl0); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__PlHeaderCtrl_wxHeaderCtrl0)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "CLASS");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxPlHeaderCtrl *	RETVAL;
    RETVAL = new wxPlHeaderCtrl( CLASS   );
     wxPli_create_evthandler( aTHX_ RETVAL, CLASS ); 
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)

XS_EUPXS(XS_Wx__PlHeaderCtrl_wxHeaderCtrl1); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__PlHeaderCtrl_wxHeaderCtrl1)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 7)
       croak_xs_usage(cv,  "CLASS, parent, winid= wxID_ANY, pos= wxDefaultPosition, size= wxDefaultSize, style= wxHD_DEFAULT_STYLE, name= wxHeaderCtrlNameStr");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxPlHeaderCtrl *	RETVAL;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID	winid;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxString	name;

	if (items < 3)
	    winid = wxID_ANY;
	else {
    winid = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	}

	if (items < 4)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) )
;
	}

	if (items < 5)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    style = wxHD_DEFAULT_STYLE;
	else {
	    style = (long)SvIV(ST(5))
;
	}

	if (items < 7)
	    name = wxHeaderCtrlNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(6) )
;
	}
    RETVAL = new wxPlHeaderCtrl( CLASS , parent, winid, pos, size, style, name );
     wxPli_create_evthandler( aTHX_ RETVAL, CLASS ); 
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#endif // defined( XSpp_11434cd6_068798 )
#if defined( XSpp_11434cd6_068798 )
#if defined( XSpp_11434cd6_068798 )
#define XSubPPtmpAACF 1


XS_EUPXS(XS_Wx__HeaderCtrlSimple_GetBestFittingWidth); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HeaderCtrlSimple_GetBestFittingWidth)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, idx");
    {
	wxPlHeaderCtrlSimple *    THIS = (wxPlHeaderCtrlSimple *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlHeaderCtrlSimple" )
;
	unsigned int    idx = (unsigned int)SvUV( ST(1) )
;
    try {
      THIS->base_GetBestFittingWidth( idx );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}

#endif // defined( XSpp_11434cd6_068798 )
#endif // defined( XSpp_11434cd6_068798 )
#include "xspp/const_headerctrl_h.h"
#include "xspp/evt_headerctrl_h.h"
#if 1 && defined( XSpp_11434cd6_068798 )
#define XSubPPtmpAACG 1

#endif // 1 && defined( XSpp_11434cd6_068798 )

/* INCLUDE: Returning to 'Controls.xs' from '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp interface/wx/headerctrl.h' */


/* INCLUDE_COMMAND:  Including output of '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp interface/wx/headercol.h' from 'Controls.xs' */

#include <exception>

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#if WXPERL_W_VERSION_GE( 2, 9, 1 )
#define XSpp_512ff718_006379
#include <wx/headerctrl.h>
#include <wx/dataview.h> // wxDVC_DEFAULT_WIDTH
#include "xspp/wxplheadercolumn.h"
#define XSubPPtmpAACH 1


XS_EUPXS(XS_Wx__HeaderColumn_GetTitle); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HeaderColumn_GetTitle)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxHeaderColumn *    THIS = (wxHeaderColumn *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HeaderColumn" )
;
	wxString	RETVAL;
    try {
      RETVAL = THIS->GetTitle();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    WXSTRING_OUTPUT( RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__HeaderColumn_GetBitmap); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HeaderColumn_GetBitmap)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxHeaderColumn *    THIS = (wxHeaderColumn *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HeaderColumn" )
;
	wxBitmap *	RETVAL;
    try {
      RETVAL = new wxBitmap( THIS->GetBitmap() );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    wxPli_thread_sv_register( aTHX_ "Wx::Bitmap", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__HeaderColumn_GetWidth); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HeaderColumn_GetWidth)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxHeaderColumn *    THIS = (wxHeaderColumn *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HeaderColumn" )
;
	int	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetWidth();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__HeaderColumn_GetMinWidth); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HeaderColumn_GetMinWidth)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxHeaderColumn *    THIS = (wxHeaderColumn *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HeaderColumn" )
;
	int	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetMinWidth();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__HeaderColumn_GetAlignment); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HeaderColumn_GetAlignment)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxHeaderColumn *    THIS = (wxHeaderColumn *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HeaderColumn" )
;
	wxAlignment	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetAlignment();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__HeaderColumn_GetFlags); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HeaderColumn_GetFlags)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxHeaderColumn *    THIS = (wxHeaderColumn *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HeaderColumn" )
;
	int	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetFlags();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__HeaderColumn_HasFlag); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HeaderColumn_HasFlag)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, flag");
    {
	wxHeaderColumn *    THIS = (wxHeaderColumn *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HeaderColumn" )
;
	bool	RETVAL;
	int	flag = (int)SvIV(ST(1))
;
    try {
      RETVAL = THIS->HasFlag( flag );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__HeaderColumn_IsResizeable); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HeaderColumn_IsResizeable)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxHeaderColumn *    THIS = (wxHeaderColumn *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HeaderColumn" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->IsResizeable();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__HeaderColumn_IsSortable); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HeaderColumn_IsSortable)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxHeaderColumn *    THIS = (wxHeaderColumn *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HeaderColumn" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->IsSortable();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__HeaderColumn_IsReorderable); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HeaderColumn_IsReorderable)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxHeaderColumn *    THIS = (wxHeaderColumn *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HeaderColumn" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->IsReorderable();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__HeaderColumn_IsHidden); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HeaderColumn_IsHidden)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxHeaderColumn *    THIS = (wxHeaderColumn *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HeaderColumn" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->IsHidden();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__HeaderColumn_IsShown); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HeaderColumn_IsShown)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxHeaderColumn *    THIS = (wxHeaderColumn *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HeaderColumn" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->IsShown();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__HeaderColumn_IsSortKey); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HeaderColumn_IsSortKey)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxHeaderColumn *    THIS = (wxHeaderColumn *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HeaderColumn" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->IsSortKey();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__HeaderColumn_IsSortOrderAscending); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HeaderColumn_IsSortOrderAscending)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxHeaderColumn *    THIS = (wxHeaderColumn *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HeaderColumn" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->IsSortOrderAscending();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}

#if WXPERL_W_VERSION_LE( 2, 9, 2 )
#define XSpp_512ff718_097491
#endif
#include "xspp/wxplsettableheadercolumn.h"

XS_EUPXS(XS_Wx__SettableHeaderColumn_SetTitle); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SettableHeaderColumn_SetTitle)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, title");
    {
	wxSettableHeaderColumn *    THIS = (wxSettableHeaderColumn *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SettableHeaderColumn" )
;
	wxString	title;

    WXSTRING_INPUT( title, wxString, ST(1) )
;
    try {
      THIS->SetTitle( title );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__SettableHeaderColumn_SetBitmap); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SettableHeaderColumn_SetBitmap)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, bitmap");
    {
	wxSettableHeaderColumn *    THIS = (wxSettableHeaderColumn *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SettableHeaderColumn" )
;
	wxBitmap*    bitmap = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Bitmap" )
;
    try {
      THIS->SetBitmap( *( bitmap ) );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__SettableHeaderColumn_SetWidth); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SettableHeaderColumn_SetWidth)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, width");
    {
	wxSettableHeaderColumn *    THIS = (wxSettableHeaderColumn *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SettableHeaderColumn" )
;
	int	width = (int)SvIV(ST(1))
;
    try {
      THIS->SetWidth( width );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__SettableHeaderColumn_SetMinWidth); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SettableHeaderColumn_SetMinWidth)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, minWidth");
    {
	wxSettableHeaderColumn *    THIS = (wxSettableHeaderColumn *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SettableHeaderColumn" )
;
	int	minWidth = (int)SvIV(ST(1))
;
    try {
      THIS->SetMinWidth( minWidth );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__SettableHeaderColumn_SetAlignment); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SettableHeaderColumn_SetAlignment)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, align");
    {
	wxSettableHeaderColumn *    THIS = (wxSettableHeaderColumn *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SettableHeaderColumn" )
;
	wxAlignment	align = (wxAlignment)SvIV(ST(1))
;
    try {
      THIS->SetAlignment( align );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__SettableHeaderColumn_SetFlags); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SettableHeaderColumn_SetFlags)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, flags");
    {
	wxSettableHeaderColumn *    THIS = (wxSettableHeaderColumn *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SettableHeaderColumn" )
;
	int	flags = (int)SvIV(ST(1))
;
    try {
      THIS->SetFlags( flags );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__SettableHeaderColumn_ChangeFlag); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SettableHeaderColumn_ChangeFlag)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, flag, set");
    {
	wxSettableHeaderColumn *    THIS = (wxSettableHeaderColumn *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SettableHeaderColumn" )
;
	int	flag = (int)SvIV(ST(1))
;
	bool	set = (bool)SvTRUE(ST(2))
;
    try {
      THIS->ChangeFlag( flag, set );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__SettableHeaderColumn_SetFlag); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SettableHeaderColumn_SetFlag)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, flag");
    {
	wxSettableHeaderColumn *    THIS = (wxSettableHeaderColumn *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SettableHeaderColumn" )
;
	int	flag = (int)SvIV(ST(1))
;
    try {
      THIS->SetFlag( flag );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__SettableHeaderColumn_ClearFlag); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SettableHeaderColumn_ClearFlag)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, flag");
    {
	wxSettableHeaderColumn *    THIS = (wxSettableHeaderColumn *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SettableHeaderColumn" )
;
	int	flag = (int)SvIV(ST(1))
;
    try {
      THIS->ClearFlag( flag );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__SettableHeaderColumn_ToggleFlag); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SettableHeaderColumn_ToggleFlag)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, flag");
    {
	wxSettableHeaderColumn *    THIS = (wxSettableHeaderColumn *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SettableHeaderColumn" )
;
	int	flag = (int)SvIV(ST(1))
;
    try {
      THIS->ToggleFlag( flag );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__SettableHeaderColumn_SetResizeable); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SettableHeaderColumn_SetResizeable)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, resizeable");
    {
	wxSettableHeaderColumn *    THIS = (wxSettableHeaderColumn *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SettableHeaderColumn" )
;
	bool	resizeable = (bool)SvTRUE(ST(1))
;
    try {
      THIS->SetResizeable( resizeable );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__SettableHeaderColumn_SetSortable); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SettableHeaderColumn_SetSortable)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, sortable");
    {
	wxSettableHeaderColumn *    THIS = (wxSettableHeaderColumn *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SettableHeaderColumn" )
;
	bool	sortable = (bool)SvTRUE(ST(1))
;
    try {
      THIS->SetSortable( sortable );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__SettableHeaderColumn_SetReorderable); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SettableHeaderColumn_SetReorderable)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, reorderable");
    {
	wxSettableHeaderColumn *    THIS = (wxSettableHeaderColumn *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SettableHeaderColumn" )
;
	bool	reorderable = (bool)SvTRUE(ST(1))
;
    try {
      THIS->SetReorderable( reorderable );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__SettableHeaderColumn_SetHidden); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SettableHeaderColumn_SetHidden)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, hidden");
    {
	wxSettableHeaderColumn *    THIS = (wxSettableHeaderColumn *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SettableHeaderColumn" )
;
	bool	hidden = (bool)SvTRUE(ST(1))
;
    try {
      THIS->SetHidden( hidden );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}

#if WXPERL_W_VERSION_LE( 2, 9, 2 )
#define XSpp_512ff718_097491
#define XSubPPtmpAACI 1


XS_EUPXS(XS_Wx__SettableHeaderColumn_SetAsSortKey); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SettableHeaderColumn_SetAsSortKey)
{
    dVAR; dXSARGS;
    if (items < 1 || items > 2)
       croak_xs_usage(cv,  "THIS, sort= true");
    {
	wxSettableHeaderColumn *    THIS = (wxSettableHeaderColumn *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SettableHeaderColumn" )
;
	bool	sort;

	if (items < 2)
	    sort = true;
	else {
	    sort = (bool)SvTRUE(ST(1))
;
	}
    try {
      THIS->SetAsSortKey( sort );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}

#endif

XS_EUPXS(XS_Wx__SettableHeaderColumn_UnsetAsSortKey); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SettableHeaderColumn_UnsetAsSortKey)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxSettableHeaderColumn *    THIS = (wxSettableHeaderColumn *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SettableHeaderColumn" )
;
    try {
      THIS->UnsetAsSortKey();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__SettableHeaderColumn_SetSortOrder); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SettableHeaderColumn_SetSortOrder)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, ascending");
    {
	wxSettableHeaderColumn *    THIS = (wxSettableHeaderColumn *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SettableHeaderColumn" )
;
	bool	ascending = (bool)SvTRUE(ST(1))
;
    try {
      THIS->SetSortOrder( ascending );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__SettableHeaderColumn_ToggleSortOrder); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SettableHeaderColumn_ToggleSortOrder)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxSettableHeaderColumn *    THIS = (wxSettableHeaderColumn *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SettableHeaderColumn" )
;
    try {
      THIS->ToggleSortOrder();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)

XS_EUPXS(XS_Wx__HeaderColumnSimple_wxHeaderColumnSimple0); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HeaderColumnSimple_wxHeaderColumnSimple0)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 5)
       croak_xs_usage(cv,  "CLASS, title, width= wxCOL_WIDTH_DEFAULT, align= wxALIGN_NOT, flags= wxCOL_DEFAULT_FLAGS");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxHeaderColumnSimple *	RETVAL;
	wxString	title;
	int	width;
	wxAlignment	align;
	int	flags;

    WXSTRING_INPUT( title, wxString, ST(1) )
;

	if (items < 3)
	    width = wxCOL_WIDTH_DEFAULT;
	else {
	    width = (int)SvIV(ST(2))
;
	}

	if (items < 4)
	    align = wxALIGN_NOT;
	else {
	    align = (wxAlignment)SvIV(ST(3))
;
	}

	if (items < 5)
	    flags = wxCOL_DEFAULT_FLAGS;
	else {
	    flags = (int)SvIV(ST(4))
;
	}
    try {
      RETVAL = new wxHeaderColumnSimple( title, width, align, flags );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::HeaderColumnSimple" );
    wxPli_thread_sv_register( aTHX_ "Wx::HeaderColumnSimple", RETVAL, ST(0) );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)

XS_EUPXS(XS_Wx__HeaderColumnSimple_wxHeaderColumnSimple1); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HeaderColumnSimple_wxHeaderColumnSimple1)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 5)
       croak_xs_usage(cv,  "CLASS, bitmap, width= wxDVC_DEFAULT_WIDTH, align= wxALIGN_CENTER, flags= wxCOL_DEFAULT_FLAGS");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxHeaderColumnSimple *	RETVAL;
	wxBitmap*    bitmap = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Bitmap" )
;
	int	width;
	wxAlignment	align;
	int	flags;

	if (items < 3)
	    width = wxDVC_DEFAULT_WIDTH;
	else {
	    width = (int)SvIV(ST(2))
;
	}

	if (items < 4)
	    align = wxALIGN_CENTER;
	else {
	    align = (wxAlignment)SvIV(ST(3))
;
	}

	if (items < 5)
	    flags = wxCOL_DEFAULT_FLAGS;
	else {
	    flags = (int)SvIV(ST(4))
;
	}
    try {
      RETVAL = new wxHeaderColumnSimple( *( bitmap ), width, align, flags );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::HeaderColumnSimple" );
    wxPli_thread_sv_register( aTHX_ "Wx::HeaderColumnSimple", RETVAL, ST(0) );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)

XS_EUPXS(XS_Wx__HeaderColumnSimple_SetTitle); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HeaderColumnSimple_SetTitle)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, title");
    {
	wxHeaderColumnSimple *    THIS = (wxHeaderColumnSimple *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HeaderColumnSimple" )
;
	wxString	title;

    WXSTRING_INPUT( title, wxString, ST(1) )
;
    try {
      THIS->SetTitle( title );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__HeaderColumnSimple_GetTitle); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HeaderColumnSimple_GetTitle)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxHeaderColumnSimple *    THIS = (wxHeaderColumnSimple *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HeaderColumnSimple" )
;
	wxString	RETVAL;
    try {
      RETVAL = THIS->GetTitle();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    WXSTRING_OUTPUT( RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__HeaderColumnSimple_SetBitmap); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HeaderColumnSimple_SetBitmap)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, bitmap");
    {
	wxHeaderColumnSimple *    THIS = (wxHeaderColumnSimple *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HeaderColumnSimple" )
;
	wxBitmap*    bitmap = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Bitmap" )
;
    try {
      THIS->SetBitmap( *( bitmap ) );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__HeaderColumnSimple_GetBitmap); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HeaderColumnSimple_GetBitmap)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxHeaderColumnSimple *    THIS = (wxHeaderColumnSimple *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HeaderColumnSimple" )
;
	wxBitmap *	RETVAL;
    try {
      RETVAL = new wxBitmap( THIS->GetBitmap() );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    wxPli_thread_sv_register( aTHX_ "Wx::Bitmap", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__HeaderColumnSimple_SetWidth); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HeaderColumnSimple_SetWidth)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, width");
    {
	wxHeaderColumnSimple *    THIS = (wxHeaderColumnSimple *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HeaderColumnSimple" )
;
	int	width = (int)SvIV(ST(1))
;
    try {
      THIS->SetWidth( width );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__HeaderColumnSimple_GetWidth); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HeaderColumnSimple_GetWidth)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxHeaderColumnSimple *    THIS = (wxHeaderColumnSimple *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HeaderColumnSimple" )
;
	int	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetWidth();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__HeaderColumnSimple_SetMinWidth); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HeaderColumnSimple_SetMinWidth)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, minWidth");
    {
	wxHeaderColumnSimple *    THIS = (wxHeaderColumnSimple *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HeaderColumnSimple" )
;
	int	minWidth = (int)SvIV(ST(1))
;
    try {
      THIS->SetMinWidth( minWidth );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__HeaderColumnSimple_GetMinWidth); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HeaderColumnSimple_GetMinWidth)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxHeaderColumnSimple *    THIS = (wxHeaderColumnSimple *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HeaderColumnSimple" )
;
	int	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetMinWidth();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__HeaderColumnSimple_SetAlignment); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HeaderColumnSimple_SetAlignment)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, align");
    {
	wxHeaderColumnSimple *    THIS = (wxHeaderColumnSimple *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HeaderColumnSimple" )
;
	wxAlignment	align = (wxAlignment)SvIV(ST(1))
;
    try {
      THIS->SetAlignment( align );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__HeaderColumnSimple_GetAlignment); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HeaderColumnSimple_GetAlignment)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxHeaderColumnSimple *    THIS = (wxHeaderColumnSimple *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HeaderColumnSimple" )
;
	wxAlignment	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetAlignment();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__HeaderColumnSimple_SetFlags); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HeaderColumnSimple_SetFlags)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, flags");
    {
	wxHeaderColumnSimple *    THIS = (wxHeaderColumnSimple *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HeaderColumnSimple" )
;
	int	flags = (int)SvIV(ST(1))
;
    try {
      THIS->SetFlags( flags );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__HeaderColumnSimple_GetFlags); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HeaderColumnSimple_GetFlags)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxHeaderColumnSimple *    THIS = (wxHeaderColumnSimple *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HeaderColumnSimple" )
;
	int	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetFlags();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}

#if WXPERL_W_VERSION_LE( 2, 9, 2 )
#define XSpp_512ff718_020415
#define XSubPPtmpAACJ 1


XS_EUPXS(XS_Wx__HeaderColumnSimple_SetAsSortKey); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HeaderColumnSimple_SetAsSortKey)
{
    dVAR; dXSARGS;
    if (items < 1 || items > 2)
       croak_xs_usage(cv,  "THIS, sort= true");
    {
	wxHeaderColumnSimple *    THIS = (wxHeaderColumnSimple *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HeaderColumnSimple" )
;
	bool	sort;

	if (items < 2)
	    sort = true;
	else {
	    sort = (bool)SvTRUE(ST(1))
;
	}
    try {
      THIS->SetAsSortKey( sort );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}

#endif

XS_EUPXS(XS_Wx__HeaderColumnSimple_IsSortKey); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HeaderColumnSimple_IsSortKey)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxHeaderColumnSimple *    THIS = (wxHeaderColumnSimple *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HeaderColumnSimple" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->IsSortKey();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__HeaderColumnSimple_SetSortOrder); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HeaderColumnSimple_SetSortOrder)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, ascending");
    {
	wxHeaderColumnSimple *    THIS = (wxHeaderColumnSimple *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HeaderColumnSimple" )
;
	bool	ascending = (bool)SvTRUE(ST(1))
;
    try {
      THIS->SetSortOrder( ascending );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__HeaderColumnSimple_IsSortOrderAscending); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HeaderColumnSimple_IsSortOrderAscending)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxHeaderColumnSimple *    THIS = (wxHeaderColumnSimple *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HeaderColumnSimple" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->IsSortOrderAscending();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}

#include "cpp/overload.h"
#if defined( XSpp_512ff718_006379 )
#define XSubPPtmpAACK 1


XS_EUPXS(XS_Wx__HeaderColumnSimple_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__HeaderColumnSimple_new)
{
    dVAR; dXSARGS;
    if (items < 1)
       croak_xs_usage(cv,  "CLASS, ...");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
#if defined( XSpp_512ff718_006379 )
    static const char *wxHeaderColumnSimple0_types[] = { wxPliOvlstr, wxPliOvlnum, wxPliOvlnum, wxPliOvlnum };
    static wxPliPrototype wxHeaderColumnSimple0_proto( wxHeaderColumnSimple0_types, sizeof( wxHeaderColumnSimple0_types ) / sizeof( wxHeaderColumnSimple0_types[0] ) );
#endif // defined( XSpp_512ff718_006379 )
#if defined( XSpp_512ff718_006379 )
    static const char *wxHeaderColumnSimple1_types[] = { "Wx::Bitmap", wxPliOvlnum, wxPliOvlnum, wxPliOvlnum };
    static wxPliPrototype wxHeaderColumnSimple1_proto( wxHeaderColumnSimple1_types, sizeof( wxHeaderColumnSimple1_types ) / sizeof( wxHeaderColumnSimple1_types[0] ) );
#endif // defined( XSpp_512ff718_006379 )
    static wxPliPrototype *wxPliOvl_all_prototypes[] = {
#if defined( XSpp_512ff718_006379 )
        &wxHeaderColumnSimple0_proto,
#endif // defined( XSpp_512ff718_006379 )
#if defined( XSpp_512ff718_006379 )
        &wxHeaderColumnSimple1_proto,
#endif // defined( XSpp_512ff718_006379 )
        NULL };
    BEGIN_OVERLOAD()
#if defined( XSpp_512ff718_006379 )
        MATCH_REDISP_COUNT_ALLOWMORE( wxHeaderColumnSimple0_proto, wxHeaderColumnSimple0, 1 )
#endif // defined( XSpp_512ff718_006379 )
#if defined( XSpp_512ff718_006379 )
        MATCH_REDISP_COUNT_ALLOWMORE( wxHeaderColumnSimple1_proto, wxHeaderColumnSimple1, 1 )
#endif // defined( XSpp_512ff718_006379 )
    END_OVERLOAD_MESSAGE( Wx::HeaderColumnSimple::new, wxPliOvl_all_prototypes )
	PUTBACK;
	return;
    }
}

#endif // defined( XSpp_512ff718_006379 )
#endif
#if defined( XSpp_512ff718_006379 )
#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)
#define XSubPPtmpAACL 1


XS_EUPXS(XS_Wx__PlHeaderColumn_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__PlHeaderColumn_new)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "CLASS");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxPlHeaderColumn *	RETVAL;
    RETVAL = new wxPlHeaderColumn( CLASS   );
    ST(0) = ( RETVAL == 0 ) ? &PL_sv_undef : RETVAL->GetSelf();
    SvREFCNT_inc( ST(0) ); // xsubpp mortalizes it...
	sv_2mortal(ST(0));
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#endif // defined( XSpp_512ff718_006379 )
#if defined( XSpp_512ff718_006379 )
#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)
#define XSubPPtmpAACM 1


XS_EUPXS(XS_Wx__PlSettableHeaderColumn_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__PlSettableHeaderColumn_new)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "CLASS");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxPlSettableHeaderColumn *	RETVAL;
    RETVAL = new wxPlSettableHeaderColumn( CLASS   );
    ST(0) = ( RETVAL == 0 ) ? &PL_sv_undef : RETVAL->GetSelf();
    SvREFCNT_inc( ST(0) ); // xsubpp mortalizes it...
	sv_2mortal(ST(0));
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#endif // defined( XSpp_512ff718_006379 )
#include "xspp/const_headercol_h.h"

/* INCLUDE: Returning to 'Controls.xs' from '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp interface/wx/headercol.h' */


/* INCLUDE_COMMAND:  Including output of '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp interface/wx/button.h' from 'Controls.xs' */

#include <exception>

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#include <wx/button.h>
#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)

XS_EUPXS(XS_Wx__Button_newDefault); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Button_newDefault)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "CLASS");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxButton *	RETVAL;
    try {
      RETVAL = new wxButton();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
     wxPli_create_evthandler( aTHX_ RETVAL, CLASS ); 
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)

XS_EUPXS(XS_Wx__Button_newFull); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Button_newFull)
{
    dVAR; dXSARGS;
    if (items < 3 || items > 9)
       croak_xs_usage(cv,  "CLASS, parent, id, label= wxEmptyString, pos= wxDefaultPosition, size= wxDefaultSize, style= 0, validator= wxDefaultValidatorPtr, name= wxButtonNameStr");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxButton *	RETVAL;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	wxString	label;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxValidator*	validator;
	wxString	name;

	if (items < 4)
	    label = wxEmptyString;
	else {
    WXSTRING_INPUT( label, wxString, ST(3) )
;
	}

	if (items < 5)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(5) )
;
	}

	if (items < 7)
	    style = 0;
	else {
	    style = (long)SvIV(ST(6))
;
	}

	if (items < 8)
	    validator = wxDefaultValidatorPtr;
	else {
    validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" )
;
	}

	if (items < 9)
	    name = wxButtonNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(8) )
;
	}
    try {
      RETVAL = new wxButton( parent, id, label, pos, size, style, *( validator ), name );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
     wxPli_create_evthandler( aTHX_ RETVAL, CLASS ); 
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)

XS_EUPXS(XS_Wx__Button_Create); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Button_Create)
{
    dVAR; dXSARGS;
    if (items < 3 || items > 9)
       croak_xs_usage(cv,  "THIS, parent, id, label= wxEmptyString, pos= wxDefaultPosition, size= wxDefaultSize, style= 0, validator= wxDefaultValidatorPtr, name= wxButtonNameStr");
    {
	wxButton *    THIS = (wxButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Button" )
;
	bool	RETVAL;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	wxString	label;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxValidator*	validator;
	wxString	name;

	if (items < 4)
	    label = wxEmptyString;
	else {
    WXSTRING_INPUT( label, wxString, ST(3) )
;
	}

	if (items < 5)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(5) )
;
	}

	if (items < 7)
	    style = 0;
	else {
	    style = (long)SvIV(ST(6))
;
	}

	if (items < 8)
	    validator = wxDefaultValidatorPtr;
	else {
    validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" )
;
	}

	if (items < 9)
	    name = wxButtonNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(8) )
;
	}
    try {
      RETVAL = THIS->Create( parent, id, label, pos, size, style, *( validator ), name );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}

#if WXPERL_W_VERSION_GE( 2, 9, 1 )
#define XSpp_238eacc7_091207
#define XSubPPtmpAACN 1


XS_EUPXS(XS_Wx__Button_GetAuthNeeded); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Button_GetAuthNeeded)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxButton *    THIS = (wxButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Button" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->GetAuthNeeded();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__Button_GetBitmap); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Button_GetBitmap)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxButton *    THIS = (wxButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Button" )
;
	wxBitmap *	RETVAL;
    try {
      RETVAL = new wxBitmap( THIS->GetBitmap() );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    wxPli_thread_sv_register( aTHX_ "Wx::Bitmap", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__Button_GetBitmapCurrent); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Button_GetBitmapCurrent)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxButton *    THIS = (wxButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Button" )
;
	wxBitmap *	RETVAL;
    try {
      RETVAL = new wxBitmap( THIS->GetBitmapCurrent() );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    wxPli_thread_sv_register( aTHX_ "Wx::Bitmap", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__Button_GetBitmapDisabled); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Button_GetBitmapDisabled)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxButton *    THIS = (wxButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Button" )
;
	wxBitmap *	RETVAL;
    try {
      RETVAL = new wxBitmap( THIS->GetBitmapDisabled() );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    wxPli_thread_sv_register( aTHX_ "Wx::Bitmap", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__Button_GetBitmapFocus); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Button_GetBitmapFocus)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxButton *    THIS = (wxButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Button" )
;
	wxBitmap *	RETVAL;
    try {
      RETVAL = new wxBitmap( THIS->GetBitmapFocus() );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    wxPli_thread_sv_register( aTHX_ "Wx::Bitmap", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__Button_GetBitmapLabel); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Button_GetBitmapLabel)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxButton *    THIS = (wxButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Button" )
;
	wxBitmap *	RETVAL;
    try {
      RETVAL = new wxBitmap( THIS->GetBitmapLabel() );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    wxPli_thread_sv_register( aTHX_ "Wx::Bitmap", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__Button_GetBitmapPressed); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Button_GetBitmapPressed)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxButton *    THIS = (wxButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Button" )
;
	wxBitmap *	RETVAL;
    try {
      RETVAL = new wxBitmap( THIS->GetBitmapPressed() );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    wxPli_thread_sv_register( aTHX_ "Wx::Bitmap", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__Button_GetBitmapMargins); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Button_GetBitmapMargins)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxButton *    THIS = (wxButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Button" )
;
	wxSize	RETVAL;
    try {
      RETVAL = THIS->GetBitmapMargins();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), new wxSize(RETVAL), "Wx::Size" );
    }
    XSRETURN(1);
}

#endif

XS_EUPXS(XS_Wx__Button_GetDefaultSize); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Button_GetDefaultSize)
{
    dVAR; dXSARGS;
    if (items != 0)
       croak_xs_usage(cv,  "");
    {
	wxSize	RETVAL;
    try {
      RETVAL = wxButton::GetDefaultSize();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), new wxSize(RETVAL), "Wx::Size" );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__Button_GetLabel); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Button_GetLabel)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxButton *    THIS = (wxButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Button" )
;
	wxString	RETVAL;
    try {
      RETVAL = THIS->GetLabel();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    WXSTRING_OUTPUT( RETVAL, ST(0) );
    }
    XSRETURN(1);
}

#if WXPERL_W_VERSION_GE( 2, 9, 1 )
#define XSpp_238eacc7_078400
#define XSubPPtmpAACO 1


XS_EUPXS(XS_Wx__Button_SetAuthNeeded); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Button_SetAuthNeeded)
{
    dVAR; dXSARGS;
    if (items < 1 || items > 2)
       croak_xs_usage(cv,  "THIS, needed= true");
    {
	wxButton *    THIS = (wxButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Button" )
;
	bool	needed;

	if (items < 2)
	    needed = true;
	else {
	    needed = (bool)SvTRUE(ST(1))
;
	}
    try {
      THIS->SetAuthNeeded( needed );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__Button_SetBitmap); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Button_SetBitmap)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 3)
       croak_xs_usage(cv,  "THIS, bitmap, dir= wxLEFT");
    {
	wxButton *    THIS = (wxButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Button" )
;
	wxBitmap*    bitmap = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Bitmap" )
;
	wxDirection	dir;

	if (items < 3)
	    dir = wxLEFT;
	else {
	    dir = (wxDirection)SvIV(ST(2))
;
	}
    try {
      THIS->SetBitmap( *( bitmap ), dir );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__Button_SetBitmapCurrent); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Button_SetBitmapCurrent)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, bitmap");
    {
	wxButton *    THIS = (wxButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Button" )
;
	wxBitmap*    bitmap = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Bitmap" )
;
    try {
      THIS->SetBitmapCurrent( *( bitmap ) );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__Button_SetBitmapDisabled); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Button_SetBitmapDisabled)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, bitmap");
    {
	wxButton *    THIS = (wxButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Button" )
;
	wxBitmap*    bitmap = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Bitmap" )
;
    try {
      THIS->SetBitmapDisabled( *( bitmap ) );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__Button_SetBitmapFocus); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Button_SetBitmapFocus)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, bitmap");
    {
	wxButton *    THIS = (wxButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Button" )
;
	wxBitmap*    bitmap = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Bitmap" )
;
    try {
      THIS->SetBitmapFocus( *( bitmap ) );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__Button_SetBitmapLabel); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Button_SetBitmapLabel)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, bitmap");
    {
	wxButton *    THIS = (wxButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Button" )
;
	wxBitmap*    bitmap = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Bitmap" )
;
    try {
      THIS->SetBitmapLabel( *( bitmap ) );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__Button_SetBitmapPressed); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Button_SetBitmapPressed)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, bitmap");
    {
	wxButton *    THIS = (wxButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Button" )
;
	wxBitmap*    bitmap = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Bitmap" )
;
    try {
      THIS->SetBitmapPressed( *( bitmap ) );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__Button_SetBitmapMargins0); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Button_SetBitmapMargins0)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, x, y");
    {
	wxButton *    THIS = (wxButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Button" )
;
	wxCoord	x = (wxCoord)SvIV(ST(1))
;
	wxCoord	y = (wxCoord)SvIV(ST(2))
;
    try {
      THIS->SetBitmapMargins( x, y );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__Button_SetBitmapMargins1); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Button_SetBitmapMargins1)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, sz");
    {
	wxButton *    THIS = (wxButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Button" )
;
	wxSize    sz = wxPli_sv_2_wxsize( aTHX_ ST(1) )
;
    try {
      THIS->SetBitmapMargins( sz );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__Button_SetBitmapPosition); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Button_SetBitmapPosition)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, dir");
    {
	wxButton *    THIS = (wxButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Button" )
;
	wxDirection	dir = (wxDirection)SvIV(ST(1))
;
    try {
      THIS->SetBitmapPosition( dir );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}

#endif
#if WXPERL_W_VERSION_GE( 2, 9, 1 )
#define XSpp_238eacc7_034806
#define XSubPPtmpAACP 1


XS_EUPXS(XS_Wx__Button_SetDefault0); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Button_SetDefault0)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxButton *    THIS = (wxButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Button" )
;
	wxWindow *	RETVAL;
    try {
      RETVAL = THIS->SetDefault();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#else
#define XSpp_238eacc7_071719
#define XSubPPtmpAACQ 1


XS_EUPXS(XS_Wx__Button_SetDefault1); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Button_SetDefault1)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxButton *    THIS = (wxButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Button" )
;
    try {
      THIS->SetDefault();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}

#endif

XS_EUPXS(XS_Wx__Button_SetLabel); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Button_SetLabel)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, label");
    {
	wxButton *    THIS = (wxButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Button" )
;
	wxString	label;

    WXSTRING_INPUT( label, wxString, ST(1) )
;
    try {
      THIS->SetLabel( label );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}

#include "cpp/overload.h"
#if 1
#define XSubPPtmpAACR 1


XS_EUPXS(XS_Wx__Button_SetDefault); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Button_SetDefault)
{
    dVAR; dXSARGS;
    if (items < 1)
       croak_xs_usage(cv,  "THIS, ...");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	wxButton *    THIS = (wxButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Button" )
;
#if defined( XSpp_238eacc7_034806 )
    static wxPliPrototype void_proto( NULL, 0 );
#endif // defined( XSpp_238eacc7_034806 )
#if defined( XSpp_238eacc7_071719 )
    static wxPliPrototype void_proto( NULL, 0 );
#endif // defined( XSpp_238eacc7_071719 )
    static wxPliPrototype *wxPliOvl_all_prototypes[] = {
#if defined( XSpp_238eacc7_034806 )
        &void_proto,
#endif // defined( XSpp_238eacc7_034806 )
#if defined( XSpp_238eacc7_071719 )
        &void_proto,
#endif // defined( XSpp_238eacc7_071719 )
        NULL };
    BEGIN_OVERLOAD()
#if defined( XSpp_238eacc7_034806 )
        MATCH_VOIDM_REDISP( SetDefault0 )
#endif // defined( XSpp_238eacc7_034806 )
#if defined( XSpp_238eacc7_071719 )
        MATCH_VOIDM_REDISP( SetDefault1 )
#endif // defined( XSpp_238eacc7_071719 )
    END_OVERLOAD_MESSAGE( Wx::Button::SetDefault, wxPliOvl_all_prototypes )
	PUTBACK;
	return;
    }
}

#endif // 1
#if 1
#define XSubPPtmpAACS 1


XS_EUPXS(XS_Wx__Button_SetBitmapMargins); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Button_SetBitmapMargins)
{
    dVAR; dXSARGS;
    if (items < 1)
       croak_xs_usage(cv,  "THIS, ...");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	wxButton *    THIS = (wxButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Button" )
;
#if defined( XSpp_238eacc7_078400 )
    static const char *SetBitmapMargins0_types[] = { wxPliOvlnum, wxPliOvlnum };
    static wxPliPrototype SetBitmapMargins0_proto( SetBitmapMargins0_types, sizeof( SetBitmapMargins0_types ) / sizeof( SetBitmapMargins0_types[0] ) );
#endif // defined( XSpp_238eacc7_078400 )
#if defined( XSpp_238eacc7_078400 )
    static const char *SetBitmapMargins1_types[] = { wxPliOvlwsiz };
    static wxPliPrototype SetBitmapMargins1_proto( SetBitmapMargins1_types, sizeof( SetBitmapMargins1_types ) / sizeof( SetBitmapMargins1_types[0] ) );
#endif // defined( XSpp_238eacc7_078400 )
    static wxPliPrototype *wxPliOvl_all_prototypes[] = {
#if defined( XSpp_238eacc7_078400 )
        &SetBitmapMargins0_proto,
#endif // defined( XSpp_238eacc7_078400 )
#if defined( XSpp_238eacc7_078400 )
        &SetBitmapMargins1_proto,
#endif // defined( XSpp_238eacc7_078400 )
        NULL };
    BEGIN_OVERLOAD()
#if defined( XSpp_238eacc7_078400 )
        MATCH_REDISP_COUNT( SetBitmapMargins0_proto, SetBitmapMargins0, 2 )
#endif // defined( XSpp_238eacc7_078400 )
#if defined( XSpp_238eacc7_078400 )
        MATCH_REDISP_COUNT( SetBitmapMargins1_proto, SetBitmapMargins1, 1 )
#endif // defined( XSpp_238eacc7_078400 )
    END_OVERLOAD_MESSAGE( Wx::Button::SetBitmapMargins, wxPliOvl_all_prototypes )
	PUTBACK;
	return;
    }
}

#endif // 1
#if 1
#define XSubPPtmpAACT 1


XS_EUPXS(XS_Wx__Button_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Button_new)
{
    dVAR; dXSARGS;
    if (items < 1)
       croak_xs_usage(cv,  "CLASS, ...");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
#if 1
    static wxPliPrototype void_proto( NULL, 0 );
#endif // 1
    static wxPliPrototype *wxPliOvl_all_prototypes[] = {
#if 1
        &void_proto,
#endif // 1
        NULL };
    BEGIN_OVERLOAD()
#if 1
        MATCH_VOIDM_REDISP( newDefault )
#endif // 1
#if 1
        MATCH_ANY_REDISP( newFull )
#endif // 1
    END_OVERLOAD_MESSAGE( Wx::Button::new, wxPliOvl_all_prototypes )
	PUTBACK;
	return;
    }
}

#endif // 1

/* INCLUDE: Returning to 'Controls.xs' from '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp interface/wx/button.h' */


/* INCLUDE_COMMAND:  Including output of '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp interface/wx/commandlinkbutton.h' from 'Controls.xs' */

#include <exception>

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#if WXPERL_W_VERSION_GE( 2, 9, 2 )
#define XSpp_14221074_047370
#include <wx/commandlinkbutton.h>
#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)
#define XSubPPtmpAACU 1


XS_EUPXS(XS_Wx__CommandLinkButton_newDefault); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__CommandLinkButton_newDefault)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "CLASS");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxCommandLinkButton *	RETVAL;
    try {
      RETVAL = new wxCommandLinkButton();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
     wxPli_create_evthandler( aTHX_ RETVAL, CLASS ); 
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)

XS_EUPXS(XS_Wx__CommandLinkButton_newFull); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__CommandLinkButton_newFull)
{
    dVAR; dXSARGS;
    if (items < 3 || items > 10)
       croak_xs_usage(cv,  "CLASS, parent, id, mainLabel= wxEmptyString, note= wxEmptyString, pos= wxDefaultPosition, size= wxDefaultSize, style= 0, validator= wxDefaultValidatorPtr, name= wxButtonNameStr");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxCommandLinkButton *	RETVAL;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	wxString	mainLabel;
	wxString	note;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxValidator*	validator;
	wxString	name;

	if (items < 4)
	    mainLabel = wxEmptyString;
	else {
    WXSTRING_INPUT( mainLabel, wxString, ST(3) )
;
	}

	if (items < 5)
	    note = wxEmptyString;
	else {
    WXSTRING_INPUT( note, wxString, ST(4) )
;
	}

	if (items < 6)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(5) )
;
	}

	if (items < 7)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(6) )
;
	}

	if (items < 8)
	    style = 0;
	else {
	    style = (long)SvIV(ST(7))
;
	}

	if (items < 9)
	    validator = wxDefaultValidatorPtr;
	else {
    validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(8), "Wx::Validator" )
;
	}

	if (items < 10)
	    name = wxButtonNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(9) )
;
	}
    try {
      RETVAL = new wxCommandLinkButton( parent, id, mainLabel, note, pos, size, style, *( validator ), name );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
     wxPli_create_evthandler( aTHX_ RETVAL, CLASS ); 
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)

XS_EUPXS(XS_Wx__CommandLinkButton_Create); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__CommandLinkButton_Create)
{
    dVAR; dXSARGS;
    if (items < 3 || items > 10)
       croak_xs_usage(cv,  "THIS, parent, id, mainLabel= wxEmptyString, note= wxEmptyString, pos= wxDefaultPosition, size= wxDefaultSize, style= 0, validator= wxDefaultValidatorPtr, name= wxButtonNameStr");
    {
	wxCommandLinkButton *    THIS = (wxCommandLinkButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::CommandLinkButton" )
;
	bool	RETVAL;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	wxString	mainLabel;
	wxString	note;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxValidator*	validator;
	wxString	name;

	if (items < 4)
	    mainLabel = wxEmptyString;
	else {
    WXSTRING_INPUT( mainLabel, wxString, ST(3) )
;
	}

	if (items < 5)
	    note = wxEmptyString;
	else {
    WXSTRING_INPUT( note, wxString, ST(4) )
;
	}

	if (items < 6)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(5) )
;
	}

	if (items < 7)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(6) )
;
	}

	if (items < 8)
	    style = 0;
	else {
	    style = (long)SvIV(ST(7))
;
	}

	if (items < 9)
	    validator = wxDefaultValidatorPtr;
	else {
    validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(8), "Wx::Validator" )
;
	}

	if (items < 10)
	    name = wxButtonNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(9) )
;
	}
    try {
      RETVAL = THIS->Create( parent, id, mainLabel, note, pos, size, style, *( validator ), name );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__CommandLinkButton_SetMainLabelAndNote); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__CommandLinkButton_SetMainLabelAndNote)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, mainLabel, note");
    {
	wxCommandLinkButton *    THIS = (wxCommandLinkButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::CommandLinkButton" )
;
	wxString	mainLabel;
	wxString	note;

    WXSTRING_INPUT( mainLabel, wxString, ST(1) )
;

    WXSTRING_INPUT( note, wxString, ST(2) )
;
    try {
      THIS->SetMainLabelAndNote( mainLabel, note );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__CommandLinkButton_SetLabel); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__CommandLinkButton_SetLabel)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, label");
    {
	wxCommandLinkButton *    THIS = (wxCommandLinkButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::CommandLinkButton" )
;
	wxString	label;

    WXSTRING_INPUT( label, wxString, ST(1) )
;
    try {
      THIS->SetLabel( label );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__CommandLinkButton_GetLabel); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__CommandLinkButton_GetLabel)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxCommandLinkButton *    THIS = (wxCommandLinkButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::CommandLinkButton" )
;
	wxString	RETVAL;
    try {
      RETVAL = THIS->GetLabel();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    WXSTRING_OUTPUT( RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__CommandLinkButton_SetMainLabel); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__CommandLinkButton_SetMainLabel)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, mainLabel");
    {
	wxCommandLinkButton *    THIS = (wxCommandLinkButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::CommandLinkButton" )
;
	wxString	mainLabel;

    WXSTRING_INPUT( mainLabel, wxString, ST(1) )
;
    try {
      THIS->SetMainLabel( mainLabel );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__CommandLinkButton_SetNote); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__CommandLinkButton_SetNote)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, note");
    {
	wxCommandLinkButton *    THIS = (wxCommandLinkButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::CommandLinkButton" )
;
	wxString	note;

    WXSTRING_INPUT( note, wxString, ST(1) )
;
    try {
      THIS->SetNote( note );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__CommandLinkButton_GetMainLabel); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__CommandLinkButton_GetMainLabel)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxCommandLinkButton *    THIS = (wxCommandLinkButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::CommandLinkButton" )
;
	wxString	RETVAL;
    try {
      RETVAL = THIS->GetMainLabel();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    WXSTRING_OUTPUT( RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__CommandLinkButton_GetNote); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__CommandLinkButton_GetNote)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxCommandLinkButton *    THIS = (wxCommandLinkButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::CommandLinkButton" )
;
	wxString	RETVAL;
    try {
      RETVAL = THIS->GetNote();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    WXSTRING_OUTPUT( RETVAL, ST(0) );
    }
    XSRETURN(1);
}

#include "cpp/overload.h"
#if defined( XSpp_14221074_047370 )
#define XSubPPtmpAACV 1


XS_EUPXS(XS_Wx__CommandLinkButton_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__CommandLinkButton_new)
{
    dVAR; dXSARGS;
    if (items < 1)
       croak_xs_usage(cv,  "CLASS, ...");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
#if defined( XSpp_14221074_047370 )
    static wxPliPrototype void_proto( NULL, 0 );
#endif // defined( XSpp_14221074_047370 )
    static wxPliPrototype *wxPliOvl_all_prototypes[] = {
#if defined( XSpp_14221074_047370 )
        &void_proto,
#endif // defined( XSpp_14221074_047370 )
        NULL };
    BEGIN_OVERLOAD()
#if defined( XSpp_14221074_047370 )
        MATCH_VOIDM_REDISP( newDefault )
#endif // defined( XSpp_14221074_047370 )
#if defined( XSpp_14221074_047370 )
        MATCH_ANY_REDISP( newFull )
#endif // defined( XSpp_14221074_047370 )
    END_OVERLOAD_MESSAGE( Wx::CommandLinkButton::new, wxPliOvl_all_prototypes )
	PUTBACK;
	return;
    }
}

#endif // defined( XSpp_14221074_047370 )
#endif

/* INCLUDE: Returning to 'Controls.xs' from '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp interface/wx/commandlinkbutton.h' */


/* INCLUDE_COMMAND:  Including output of '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp interface/wx/treelist.h' from 'Controls.xs' */

#include <exception>

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#if WXPERL_W_VERSION_GE( 2, 9, 3 )
#define XSpp_9e3a6f40_075533
#include <wx/treelist.h>
#define XSubPPtmpAACW 1


XS_EUPXS(XS_Wx__TreeListItem_CLONE); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeListItem_CLONE)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "CLASS");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
    wxPli_thread_sv_clone( aTHX_ CLASS, (wxPliCloneSV)wxPli_detach_object );
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TreeListItem_DESTROY); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeListItem_DESTROY)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTreeListItem *    THIS = (wxTreeListItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeListItem" )
;
      wxPli_thread_sv_unregister( aTHX_ "Wx::TreeListItem", THIS, ST(0) ); 
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TreeListItem_IsOk); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeListItem_IsOk)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTreeListItem *    THIS = (wxTreeListItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeListItem" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->IsOk();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}

#include "xspp/wxpltreelistitemcomparator.h"

XS_EUPXS(XS_Wx__TreeListItemComparator_Compare); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeListItemComparator_Compare)
{
    dVAR; dXSARGS;
    if (items != 5)
       croak_xs_usage(cv,  "THIS, treelist, column, first, second");
    {
	wxTreeListItemComparator *    THIS = (wxTreeListItemComparator *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeListItemComparator" )
;
	int	RETVAL;
	dXSTARG;
	wxTreeListCtrl*    treelist = (wxTreeListCtrl *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeListCtrl" )
;
	unsigned int    column = (unsigned int)SvUV( ST(2) )
;
	wxTreeListItem*    first = (wxTreeListItem *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::TreeListItem" )
;
	wxTreeListItem*    second = (wxTreeListItem *) wxPli_sv_2_object( aTHX_ ST(4), "Wx::TreeListItem" )
;
    try {
      RETVAL = THIS->Compare( treelist, column, *( first ), *( second ) );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)

XS_EUPXS(XS_Wx__TreeListCtrl_newDefault); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeListCtrl_newDefault)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "CLASS");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxTreeListCtrl *	RETVAL;
    try {
      RETVAL = new wxTreeListCtrl();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
     wxPli_create_evthandler( aTHX_ RETVAL, CLASS ); 
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)

XS_EUPXS(XS_Wx__TreeListCtrl_newFull); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeListCtrl_newFull)
{
    dVAR; dXSARGS;
    if (items < 3 || items > 7)
       croak_xs_usage(cv,  "CLASS, parent, id, pos= wxDefaultPosition, size= wxDefaultSize, style= wxTL_DEFAULT_STYLE, name= wxTreeListCtrlNameStr");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxTreeListCtrl *	RETVAL;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxString	name;

	if (items < 4)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) )
;
	}

	if (items < 5)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    style = wxTL_DEFAULT_STYLE;
	else {
	    style = (long)SvIV(ST(5))
;
	}

	if (items < 7)
	    name = wxTreeListCtrlNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(6) )
;
	}
    try {
      RETVAL = new wxTreeListCtrl( parent, id, pos, size, style, name );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
     wxPli_create_evthandler( aTHX_ RETVAL, CLASS ); 
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)

XS_EUPXS(XS_Wx__TreeListCtrl_Create); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeListCtrl_Create)
{
    dVAR; dXSARGS;
    if (items < 3 || items > 7)
       croak_xs_usage(cv,  "THIS, parent, id, pos= wxDefaultPosition, size= wxDefaultSize, style= wxTL_DEFAULT_STYLE, name= wxTreeListCtrlNameStr");
    {
	wxTreeListCtrl *    THIS = (wxTreeListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeListCtrl" )
;
	bool	RETVAL;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxString	name;

	if (items < 4)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) )
;
	}

	if (items < 5)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    style = wxTL_DEFAULT_STYLE;
	else {
	    style = (long)SvIV(ST(5))
;
	}

	if (items < 7)
	    name = wxTreeListCtrlNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(6) )
;
	}
    try {
      RETVAL = THIS->Create( parent, id, pos, size, style, name );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeListCtrl_AssignImageList); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeListCtrl_AssignImageList)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, imagelist");
    {
	wxImageList*    imagelist = (wxImageList *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::ImageList" )
;
	wxTreeListCtrl *    THIS = (wxTreeListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeListCtrl" )
;
    wxPli_object_set_deleteable( aTHX_ ST(1), false );
    THIS->AssignImageList( imagelist );
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TreeListCtrl_GetImageList); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeListCtrl_GetImageList)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTreeListCtrl *    THIS = (wxTreeListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeListCtrl" )
;
	wxImageList *	RETVAL;

	RETVAL = THIS->GetImageList();
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    wxPli_thread_sv_register( aTHX_ "Wx::ImageList", RETVAL, ST(0) );
    wxPli_object_set_deleteable( aTHX_ ST(0), false );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeListCtrl_SetImageList); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeListCtrl_SetImageList)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, imageList");
    {
	wxTreeListCtrl *    THIS = (wxTreeListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeListCtrl" )
;
	wxImageList*    imageList = (wxImageList *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::ImageList" )
;
    try {
      THIS->SetImageList( imageList );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TreeListCtrl_AppendColumn); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeListCtrl_AppendColumn)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 5)
       croak_xs_usage(cv,  "THIS, title, width= wxCOL_WIDTH_AUTOSIZE, align= wxALIGN_LEFT, flags= wxCOL_RESIZABLE");
    {
	wxTreeListCtrl *    THIS = (wxTreeListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeListCtrl" )
;
	int	RETVAL;
	dXSTARG;
	wxString	title;
	int	width;
	wxAlignment	align;
	int	flags;

    WXSTRING_INPUT( title, wxString, ST(1) )
;

	if (items < 3)
	    width = wxCOL_WIDTH_AUTOSIZE;
	else {
	    width = (int)SvIV(ST(2))
;
	}

	if (items < 4)
	    align = wxALIGN_LEFT;
	else {
	    align = (wxAlignment)SvIV(ST(3))
;
	}

	if (items < 5)
	    flags = wxCOL_RESIZABLE;
	else {
	    flags = (int)SvIV(ST(4))
;
	}
    try {
      RETVAL = THIS->AppendColumn( title, width, align, flags );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeListCtrl_GetColumnCount); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeListCtrl_GetColumnCount)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTreeListCtrl *    THIS = (wxTreeListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeListCtrl" )
;
	unsigned int	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetColumnCount();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHu((UV)RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeListCtrl_DeleteColumn); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeListCtrl_DeleteColumn)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, col");
    {
	wxTreeListCtrl *    THIS = (wxTreeListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeListCtrl" )
;
	bool	RETVAL;
	unsigned int    col = (unsigned int)SvUV( ST(1) )
;
    try {
      RETVAL = THIS->DeleteColumn( col );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeListCtrl_ClearColumns); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeListCtrl_ClearColumns)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTreeListCtrl *    THIS = (wxTreeListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeListCtrl" )
;
    try {
      THIS->ClearColumns();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TreeListCtrl_SetColumnWidth); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeListCtrl_SetColumnWidth)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, col, width");
    {
	wxTreeListCtrl *    THIS = (wxTreeListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeListCtrl" )
;
	unsigned int    col = (unsigned int)SvUV( ST(1) )
;
	int	width = (int)SvIV(ST(2))
;
    try {
      THIS->SetColumnWidth( col, width );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TreeListCtrl_GetColumnWidth); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeListCtrl_GetColumnWidth)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, col");
    {
	wxTreeListCtrl *    THIS = (wxTreeListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeListCtrl" )
;
	int	RETVAL;
	dXSTARG;
	unsigned int    col = (unsigned int)SvUV( ST(1) )
;
    try {
      RETVAL = THIS->GetColumnWidth( col );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeListCtrl_WidthFor); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeListCtrl_WidthFor)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, text");
    {
	wxTreeListCtrl *    THIS = (wxTreeListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeListCtrl" )
;
	int	RETVAL;
	dXSTARG;
	wxString	text;

    WXSTRING_INPUT( text, wxString, ST(1) )
;
    try {
      RETVAL = THIS->WidthFor( text );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeListCtrl_AppendItem); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeListCtrl_AppendItem)
{
    dVAR; dXSARGS;
    if (items < 3 || items > 6)
       croak_xs_usage(cv,  "THIS, parent, text, imageClosed= -1, imageOpened= -1, data= NULL");
    {
	wxTreeListCtrl *    THIS = (wxTreeListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeListCtrl" )
;
	wxTreeListItem *	RETVAL;
	wxTreeListItem*    parent = (wxTreeListItem *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeListItem" )
;
	wxString	text;
	int	imageClosed;
	int	imageOpened;
	wxPliUserDataCD*	data;

    WXSTRING_INPUT( text, wxString, ST(2) )
;

	if (items < 4)
	    imageClosed = -1;
	else {
	    imageClosed = (int)SvIV(ST(3))
;
	}

	if (items < 5)
	    imageOpened = -1;
	else {
	    imageOpened = (int)SvIV(ST(4))
;
	}

	if (items < 6)
	    data = NULL;
	else {
    if( SvOK( ST(5) ) )
    {
	data = new wxPliUserDataCD( ST(5) );
    }
    else
	data = 0
;
	}
    try {
      RETVAL = new wxTreeListItem( THIS->AppendItem( *( parent ), text, imageClosed, imageOpened, data ) );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TreeListItem" );
    wxPli_thread_sv_register( aTHX_ "Wx::TreeListItem", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeListCtrl_InsertItem); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeListCtrl_InsertItem)
{
    dVAR; dXSARGS;
    if (items < 4 || items > 7)
       croak_xs_usage(cv,  "THIS, parent, previous, text, imageClosed= -1, imageOpened= -1, data= NULL");
    {
	wxTreeListCtrl *    THIS = (wxTreeListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeListCtrl" )
;
	wxTreeListItem *	RETVAL;
	wxTreeListItem*    parent = (wxTreeListItem *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeListItem" )
;
	wxTreeListItem*    previous = (wxTreeListItem *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::TreeListItem" )
;
	wxString	text;
	int	imageClosed;
	int	imageOpened;
	wxPliUserDataCD*	data;

    WXSTRING_INPUT( text, wxString, ST(3) )
;

	if (items < 5)
	    imageClosed = -1;
	else {
	    imageClosed = (int)SvIV(ST(4))
;
	}

	if (items < 6)
	    imageOpened = -1;
	else {
	    imageOpened = (int)SvIV(ST(5))
;
	}

	if (items < 7)
	    data = NULL;
	else {
    if( SvOK( ST(6) ) )
    {
	data = new wxPliUserDataCD( ST(6) );
    }
    else
	data = 0
;
	}
    try {
      RETVAL = new wxTreeListItem( THIS->InsertItem( *( parent ), *( previous ), text, imageClosed, imageOpened, data ) );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TreeListItem" );
    wxPli_thread_sv_register( aTHX_ "Wx::TreeListItem", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeListCtrl_PrependItem); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeListCtrl_PrependItem)
{
    dVAR; dXSARGS;
    if (items < 3 || items > 6)
       croak_xs_usage(cv,  "THIS, parent, text, imageClosed= -1, imageOpened= -1, data= NULL");
    {
	wxTreeListCtrl *    THIS = (wxTreeListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeListCtrl" )
;
	wxTreeListItem *	RETVAL;
	wxTreeListItem*    parent = (wxTreeListItem *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeListItem" )
;
	wxString	text;
	int	imageClosed;
	int	imageOpened;
	wxPliUserDataCD*	data;

    WXSTRING_INPUT( text, wxString, ST(2) )
;

	if (items < 4)
	    imageClosed = -1;
	else {
	    imageClosed = (int)SvIV(ST(3))
;
	}

	if (items < 5)
	    imageOpened = -1;
	else {
	    imageOpened = (int)SvIV(ST(4))
;
	}

	if (items < 6)
	    data = NULL;
	else {
    if( SvOK( ST(5) ) )
    {
	data = new wxPliUserDataCD( ST(5) );
    }
    else
	data = 0
;
	}
    try {
      RETVAL = new wxTreeListItem( THIS->PrependItem( *( parent ), text, imageClosed, imageOpened, data ) );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TreeListItem" );
    wxPli_thread_sv_register( aTHX_ "Wx::TreeListItem", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeListCtrl_DeleteItem); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeListCtrl_DeleteItem)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	wxTreeListCtrl *    THIS = (wxTreeListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeListCtrl" )
;
	wxTreeListItem*    item = (wxTreeListItem *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeListItem" )
;
    try {
      THIS->DeleteItem( *( item ) );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TreeListCtrl_DeleteAllItems); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeListCtrl_DeleteAllItems)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTreeListCtrl *    THIS = (wxTreeListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeListCtrl" )
;
    try {
      THIS->DeleteAllItems();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TreeListCtrl_GetRootItem); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeListCtrl_GetRootItem)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTreeListCtrl *    THIS = (wxTreeListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeListCtrl" )
;
	wxTreeListItem *	RETVAL;
    try {
      RETVAL = new wxTreeListItem( THIS->GetRootItem() );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TreeListItem" );
    wxPli_thread_sv_register( aTHX_ "Wx::TreeListItem", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeListCtrl_GetItemParent); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeListCtrl_GetItemParent)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	wxTreeListCtrl *    THIS = (wxTreeListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeListCtrl" )
;
	wxTreeListItem *	RETVAL;
	wxTreeListItem*    item = (wxTreeListItem *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeListItem" )
;
    try {
      RETVAL = new wxTreeListItem( THIS->GetItemParent( *( item ) ) );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TreeListItem" );
    wxPli_thread_sv_register( aTHX_ "Wx::TreeListItem", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeListCtrl_GetFirstChild); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeListCtrl_GetFirstChild)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	wxTreeListCtrl *    THIS = (wxTreeListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeListCtrl" )
;
	wxTreeListItem *	RETVAL;
	wxTreeListItem*    item = (wxTreeListItem *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeListItem" )
;
    try {
      RETVAL = new wxTreeListItem( THIS->GetFirstChild( *( item ) ) );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TreeListItem" );
    wxPli_thread_sv_register( aTHX_ "Wx::TreeListItem", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeListCtrl_GetNextSibling); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeListCtrl_GetNextSibling)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	wxTreeListCtrl *    THIS = (wxTreeListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeListCtrl" )
;
	wxTreeListItem *	RETVAL;
	wxTreeListItem*    item = (wxTreeListItem *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeListItem" )
;
    try {
      RETVAL = new wxTreeListItem( THIS->GetNextSibling( *( item ) ) );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TreeListItem" );
    wxPli_thread_sv_register( aTHX_ "Wx::TreeListItem", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeListCtrl_GetFirstItem); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeListCtrl_GetFirstItem)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTreeListCtrl *    THIS = (wxTreeListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeListCtrl" )
;
	wxTreeListItem *	RETVAL;
    try {
      RETVAL = new wxTreeListItem( THIS->GetFirstItem() );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TreeListItem" );
    wxPli_thread_sv_register( aTHX_ "Wx::TreeListItem", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeListCtrl_GetNextItem); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeListCtrl_GetNextItem)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	wxTreeListCtrl *    THIS = (wxTreeListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeListCtrl" )
;
	wxTreeListItem *	RETVAL;
	wxTreeListItem*    item = (wxTreeListItem *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeListItem" )
;
    try {
      RETVAL = new wxTreeListItem( THIS->GetNextItem( *( item ) ) );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TreeListItem" );
    wxPli_thread_sv_register( aTHX_ "Wx::TreeListItem", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeListCtrl_GetItemText); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeListCtrl_GetItemText)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 3)
       croak_xs_usage(cv,  "THIS, item, col= 0");
    {
	wxTreeListCtrl *    THIS = (wxTreeListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeListCtrl" )
;
	wxString	RETVAL;
	wxTreeListItem*    item = (wxTreeListItem *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeListItem" )
;
	unsigned int	col;

	if (items < 3)
	    col = 0;
	else {
    col = (unsigned int)SvUV( ST(2) )
;
	}
    try {
      RETVAL = THIS->GetItemText( *( item ), col );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    WXSTRING_OUTPUT( RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeListCtrl_SetItemText0); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeListCtrl_SetItemText0)
{
    dVAR; dXSARGS;
    if (items != 4)
       croak_xs_usage(cv,  "THIS, item, col, text");
    {
	wxTreeListCtrl *    THIS = (wxTreeListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeListCtrl" )
;
	wxTreeListItem*    item = (wxTreeListItem *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeListItem" )
;
	unsigned int    col = (unsigned int)SvUV( ST(2) )
;
	wxString	text;

    WXSTRING_INPUT( text, wxString, ST(3) )
;
    try {
      THIS->SetItemText( *( item ), col, text );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TreeListCtrl_SetItemText1); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeListCtrl_SetItemText1)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, item, text");
    {
	wxTreeListCtrl *    THIS = (wxTreeListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeListCtrl" )
;
	wxTreeListItem*    item = (wxTreeListItem *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeListItem" )
;
	wxString	text;

    WXSTRING_INPUT( text, wxString, ST(2) )
;
    try {
      THIS->SetItemText( *( item ), text );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TreeListCtrl_SetItemImage); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeListCtrl_SetItemImage)
{
    dVAR; dXSARGS;
    if (items < 3 || items > 4)
       croak_xs_usage(cv,  "THIS, item, closed, opened= -1");
    {
	wxTreeListCtrl *    THIS = (wxTreeListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeListCtrl" )
;
	wxTreeListItem*    item = (wxTreeListItem *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeListItem" )
;
	int	closed = (int)SvIV(ST(2))
;
	int	opened;

	if (items < 4)
	    opened = -1;
	else {
	    opened = (int)SvIV(ST(3))
;
	}
    try {
      THIS->SetItemImage( *( item ), closed, opened );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TreeListCtrl_GetItemData); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeListCtrl_GetItemData)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	wxTreeListCtrl *    THIS = (wxTreeListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeListCtrl" )
;
	wxPliUserDataCD *	RETVAL;
	wxTreeListItem*    item = (wxTreeListItem *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeListItem" )
;
     RETVAL = (wxPliUserDataCD*) THIS->GetItemData( *item ); 
    ST(0) = ( RETVAL == 0 ) ? &PL_sv_undef : RETVAL->GetData();
    SvREFCNT_inc( ST(0) ); // xsubpp mortalizes it...
	sv_2mortal(ST(0));
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeListCtrl_SetItemData); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeListCtrl_SetItemData)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, item, data");
    {
	wxTreeListCtrl *    THIS = (wxTreeListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeListCtrl" )
;
	wxTreeListItem*    item = (wxTreeListItem *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeListItem" )
;
	wxPliUserDataCD*	data;

    if( SvOK( ST(2) ) )
    {
        data = new wxPliUserDataCD( ST(2) );
    }
    else
        data = 0
;
    try {
      THIS->SetItemData( *( item ), data );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TreeListCtrl_Expand); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeListCtrl_Expand)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	wxTreeListCtrl *    THIS = (wxTreeListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeListCtrl" )
;
	wxTreeListItem*    item = (wxTreeListItem *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeListItem" )
;
    try {
      THIS->Expand( *( item ) );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TreeListCtrl_Collapse); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeListCtrl_Collapse)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	wxTreeListCtrl *    THIS = (wxTreeListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeListCtrl" )
;
	wxTreeListItem*    item = (wxTreeListItem *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeListItem" )
;
    try {
      THIS->Collapse( *( item ) );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TreeListCtrl_IsExpanded); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeListCtrl_IsExpanded)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	wxTreeListCtrl *    THIS = (wxTreeListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeListCtrl" )
;
	bool	RETVAL;
	wxTreeListItem*    item = (wxTreeListItem *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeListItem" )
;
    try {
      RETVAL = THIS->IsExpanded( *( item ) );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeListCtrl_GetSelection); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeListCtrl_GetSelection)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTreeListCtrl *    THIS = (wxTreeListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeListCtrl" )
;
	wxTreeListItem *	RETVAL;
    try {
      RETVAL = new wxTreeListItem( THIS->GetSelection() );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TreeListItem" );
    wxPli_thread_sv_register( aTHX_ "Wx::TreeListItem", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeListCtrl_GetSelections); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeListCtrl_GetSelections)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
    wxTreeListItems selections;
	wxTreeListCtrl *    THIS = (wxTreeListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeListCtrl" )
;
    size_t num = THIS->GetSelections( selections );
    EXTEND( SP, (IV)num );
    for( size_t i = 0; i < num; ++i )
    {
        PUSHs( wxPli_non_object_2_sv( aTHX_ sv_newmortal(),
                                      new wxTreeListItem( selections[i] ),
                                      "Wx::TreeListItem" ) );
    }    
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__TreeListCtrl_Select); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeListCtrl_Select)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	wxTreeListCtrl *    THIS = (wxTreeListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeListCtrl" )
;
	wxTreeListItem*    item = (wxTreeListItem *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeListItem" )
;
    try {
      THIS->Select( *( item ) );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TreeListCtrl_Unselect); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeListCtrl_Unselect)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	wxTreeListCtrl *    THIS = (wxTreeListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeListCtrl" )
;
	wxTreeListItem*    item = (wxTreeListItem *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeListItem" )
;
    try {
      THIS->Unselect( *( item ) );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TreeListCtrl_IsSelected); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeListCtrl_IsSelected)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	wxTreeListCtrl *    THIS = (wxTreeListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeListCtrl" )
;
	bool	RETVAL;
	wxTreeListItem*    item = (wxTreeListItem *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeListItem" )
;
    try {
      RETVAL = THIS->IsSelected( *( item ) );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeListCtrl_SelectAll); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeListCtrl_SelectAll)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTreeListCtrl *    THIS = (wxTreeListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeListCtrl" )
;
    try {
      THIS->SelectAll();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TreeListCtrl_UnselectAll); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeListCtrl_UnselectAll)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTreeListCtrl *    THIS = (wxTreeListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeListCtrl" )
;
    try {
      THIS->UnselectAll();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TreeListCtrl_CheckItem); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeListCtrl_CheckItem)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 3)
       croak_xs_usage(cv,  "THIS, item, state= wxCHK_CHECKED");
    {
	wxTreeListCtrl *    THIS = (wxTreeListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeListCtrl" )
;
	wxTreeListItem*    item = (wxTreeListItem *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeListItem" )
;
	wxCheckBoxState	state;

	if (items < 3)
	    state = wxCHK_CHECKED;
	else {
	    state = (wxCheckBoxState)SvIV(ST(2))
;
	}
    try {
      THIS->CheckItem( *( item ), state );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TreeListCtrl_CheckItemRecursively); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeListCtrl_CheckItemRecursively)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 3)
       croak_xs_usage(cv,  "THIS, item, state= wxCHK_CHECKED");
    {
	wxTreeListCtrl *    THIS = (wxTreeListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeListCtrl" )
;
	wxTreeListItem*    item = (wxTreeListItem *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeListItem" )
;
	wxCheckBoxState	state;

	if (items < 3)
	    state = wxCHK_CHECKED;
	else {
	    state = (wxCheckBoxState)SvIV(ST(2))
;
	}
    try {
      THIS->CheckItemRecursively( *( item ), state );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TreeListCtrl_UncheckItem); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeListCtrl_UncheckItem)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	wxTreeListCtrl *    THIS = (wxTreeListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeListCtrl" )
;
	wxTreeListItem*    item = (wxTreeListItem *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeListItem" )
;
    try {
      THIS->UncheckItem( *( item ) );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TreeListCtrl_UpdateItemParentStateRecursively); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeListCtrl_UpdateItemParentStateRecursively)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	wxTreeListCtrl *    THIS = (wxTreeListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeListCtrl" )
;
	wxTreeListItem*    item = (wxTreeListItem *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeListItem" )
;
    try {
      THIS->UpdateItemParentStateRecursively( *( item ) );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TreeListCtrl_GetCheckedState); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeListCtrl_GetCheckedState)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	wxTreeListCtrl *    THIS = (wxTreeListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeListCtrl" )
;
	wxCheckBoxState	RETVAL;
	dXSTARG;
	wxTreeListItem*    item = (wxTreeListItem *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeListItem" )
;
    try {
      RETVAL = THIS->GetCheckedState( *( item ) );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeListCtrl_AreAllChildrenInState); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeListCtrl_AreAllChildrenInState)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, item, state");
    {
	wxTreeListCtrl *    THIS = (wxTreeListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeListCtrl" )
;
	bool	RETVAL;
	wxTreeListItem*    item = (wxTreeListItem *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeListItem" )
;
	wxCheckBoxState	state = (wxCheckBoxState)SvIV(ST(2))
;
    try {
      RETVAL = THIS->AreAllChildrenInState( *( item ), state );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeListCtrl_SetSortColumn); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeListCtrl_SetSortColumn)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 3)
       croak_xs_usage(cv,  "THIS, col, ascendingOrder= true");
    {
	wxTreeListCtrl *    THIS = (wxTreeListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeListCtrl" )
;
	unsigned int    col = (unsigned int)SvUV( ST(1) )
;
	bool	ascendingOrder;

	if (items < 3)
	    ascendingOrder = true;
	else {
	    ascendingOrder = (bool)SvTRUE(ST(2))
;
	}
    try {
      THIS->SetSortColumn( col, ascendingOrder );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TreeListCtrl_GetSortColumn); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeListCtrl_GetSortColumn)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
    unsigned col;
    bool ascendingOrder;
    bool issorted;
	wxTreeListCtrl *    THIS = (wxTreeListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeListCtrl" )
;
    issorted = THIS->GetSortColumn( &col, &ascendingOrder );
    EXTEND( SP, 2 );
    if( issorted )
    {
        PUSHs( sv_2mortal( newSVuv( col ) ) );
        PUSHs( sv_2mortal( newSViv( ascendingOrder ) ) );
    }
    else {
        PUSHs( sv_newmortal() );
        PUSHs( sv_newmortal() );
    }
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__TreeListCtrl_SetItemComparator); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeListCtrl_SetItemComparator)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, comparator");
    {
	wxTreeListCtrl *    THIS = (wxTreeListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeListCtrl" )
;
	wxTreeListItemComparator*    comparator = (wxTreeListItemComparator *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeListItemComparator" )
;
    try {
      THIS->SetItemComparator( comparator );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TreeListCtrl_GetView); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeListCtrl_GetView)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTreeListCtrl *    THIS = (wxTreeListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeListCtrl" )
;
	wxWindow *	RETVAL;
    try {
      RETVAL = THIS->GetView();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#include "cpp/overload.h"
#if defined( XSpp_9e3a6f40_075533 )
#define XSubPPtmpAACX 1


XS_EUPXS(XS_Wx__TreeListCtrl_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeListCtrl_new)
{
    dVAR; dXSARGS;
    if (items < 1)
       croak_xs_usage(cv,  "CLASS, ...");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
#if defined( XSpp_9e3a6f40_075533 )
    static wxPliPrototype void_proto( NULL, 0 );
#endif // defined( XSpp_9e3a6f40_075533 )
    static wxPliPrototype *wxPliOvl_all_prototypes[] = {
#if defined( XSpp_9e3a6f40_075533 )
        &void_proto,
#endif // defined( XSpp_9e3a6f40_075533 )
        NULL };
    BEGIN_OVERLOAD()
#if defined( XSpp_9e3a6f40_075533 )
        MATCH_VOIDM_REDISP( newDefault )
#endif // defined( XSpp_9e3a6f40_075533 )
#if defined( XSpp_9e3a6f40_075533 )
        MATCH_ANY_REDISP( newFull )
#endif // defined( XSpp_9e3a6f40_075533 )
    END_OVERLOAD_MESSAGE( Wx::TreeListCtrl::new, wxPliOvl_all_prototypes )
	PUTBACK;
	return;
    }
}

#endif // defined( XSpp_9e3a6f40_075533 )
#if defined( XSpp_9e3a6f40_075533 )
#define XSubPPtmpAACY 1


XS_EUPXS(XS_Wx__TreeListCtrl_SetItemText); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeListCtrl_SetItemText)
{
    dVAR; dXSARGS;
    if (items < 1)
       croak_xs_usage(cv,  "THIS, ...");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	wxTreeListCtrl *    THIS = (wxTreeListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeListCtrl" )
;
#if defined( XSpp_9e3a6f40_075533 )
    static const char *SetItemText0_types[] = { "Wx::TreeListItem", wxPliOvlnum, wxPliOvlstr };
    static wxPliPrototype SetItemText0_proto( SetItemText0_types, sizeof( SetItemText0_types ) / sizeof( SetItemText0_types[0] ) );
#endif // defined( XSpp_9e3a6f40_075533 )
#if defined( XSpp_9e3a6f40_075533 )
    static const char *SetItemText1_types[] = { "Wx::TreeListItem", wxPliOvlstr };
    static wxPliPrototype SetItemText1_proto( SetItemText1_types, sizeof( SetItemText1_types ) / sizeof( SetItemText1_types[0] ) );
#endif // defined( XSpp_9e3a6f40_075533 )
    static wxPliPrototype *wxPliOvl_all_prototypes[] = {
#if defined( XSpp_9e3a6f40_075533 )
        &SetItemText0_proto,
#endif // defined( XSpp_9e3a6f40_075533 )
#if defined( XSpp_9e3a6f40_075533 )
        &SetItemText1_proto,
#endif // defined( XSpp_9e3a6f40_075533 )
        NULL };
    BEGIN_OVERLOAD()
#if defined( XSpp_9e3a6f40_075533 )
        MATCH_REDISP_COUNT( SetItemText0_proto, SetItemText0, 3 )
#endif // defined( XSpp_9e3a6f40_075533 )
#if defined( XSpp_9e3a6f40_075533 )
        MATCH_REDISP_COUNT( SetItemText1_proto, SetItemText1, 2 )
#endif // defined( XSpp_9e3a6f40_075533 )
    END_OVERLOAD_MESSAGE( Wx::TreeListCtrl::SetItemText, wxPliOvl_all_prototypes )
	PUTBACK;
	return;
    }
}

#endif // defined( XSpp_9e3a6f40_075533 )

XS_EUPXS(XS_Wx__TreeListEvent_GetItem); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeListEvent_GetItem)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTreeListEvent *    THIS = (wxTreeListEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeListEvent" )
;
	wxTreeListItem *	RETVAL;
    try {
      RETVAL = new wxTreeListItem( THIS->GetItem() );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TreeListItem" );
    wxPli_thread_sv_register( aTHX_ "Wx::TreeListItem", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeListEvent_GetOldCheckedState); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeListEvent_GetOldCheckedState)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTreeListEvent *    THIS = (wxTreeListEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeListEvent" )
;
	wxCheckBoxState	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetOldCheckedState();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeListEvent_GetColumn); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeListEvent_GetColumn)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTreeListEvent *    THIS = (wxTreeListEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeListEvent" )
;
	unsigned int	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetColumn();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHu((UV)RETVAL );
    }
    XSRETURN(1);
}

#endif
#if defined( XSpp_9e3a6f40_075533 )
#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)
#define XSubPPtmpAACZ 1


XS_EUPXS(XS_Wx__PlTreeListItemComparator_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__PlTreeListItemComparator_new)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "CLASS");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxPlTreeListItemComparator *	RETVAL;
    RETVAL = new wxPlTreeListItemComparator( CLASS   );
    ST(0) = ( RETVAL == 0 ) ? &PL_sv_undef : RETVAL->GetSelf();
    SvREFCNT_inc( ST(0) ); // xsubpp mortalizes it...
	sv_2mortal(ST(0));
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#endif // defined( XSpp_9e3a6f40_075533 )
#include "xspp/const_treelist_h.h"
#include "xspp/evt_treelist_h.h"
#if 1 && defined( XSpp_9e3a6f40_075533 )
#define XSubPPtmpAADA 1

#endif // 1 && defined( XSpp_9e3a6f40_075533 )

/* INCLUDE: Returning to 'Controls.xs' from '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp interface/wx/treelist.h' */


/* INCLUDE_COMMAND:  Including output of '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp interface/wx/richtooltip.h' from 'Controls.xs' */

#include <exception>

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#if WXPERL_W_VERSION_GE( 2, 9, 3 )
#define XSpp_1921ac58_018761
#include <wx/richtooltip.h>
#define XSubPPtmpAADB 1


XS_EUPXS(XS_Wx__RichToolTip_CLONE); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__RichToolTip_CLONE)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "CLASS");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
    wxPli_thread_sv_clone( aTHX_ CLASS, (wxPliCloneSV)wxPli_detach_object );
    }
    XSRETURN_EMPTY;
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)

XS_EUPXS(XS_Wx__RichToolTip_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__RichToolTip_new)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "CLASS, title, message");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxRichToolTip *	RETVAL;
	wxString	title;
	wxString	message;

    WXSTRING_INPUT( title, wxString, ST(1) )
;

    WXSTRING_INPUT( message, wxString, ST(2) )
;
    try {
      RETVAL = new wxRichToolTip( title, message );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::RichToolTip" );
    wxPli_thread_sv_register( aTHX_ "Wx::RichToolTip", RETVAL, ST(0) );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)

XS_EUPXS(XS_Wx__RichToolTip_SetBackgroundColour); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__RichToolTip_SetBackgroundColour)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 3)
       croak_xs_usage(cv,  "THIS, col, colEnd= wxNullColourPtr");
    {
	wxRichToolTip *    THIS = (wxRichToolTip *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichToolTip" )
;
	wxColour*    col = (wxColour *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Colour" )
;
	wxColour*	colEnd;

	if (items < 3)
	    colEnd = wxNullColourPtr;
	else {
    colEnd = (wxColour *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Colour" )
;
	}
    try {
      THIS->SetBackgroundColour( *( col ), *( colEnd ) );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__RichToolTip_SetIconId); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__RichToolTip_SetIconId)
{
    dVAR; dXSARGS;
    if (items < 1 || items > 2)
       croak_xs_usage(cv,  "THIS, icon= wxICON_INFORMATION");
    {
	wxRichToolTip *    THIS = (wxRichToolTip *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichToolTip" )
;
	int	icon;

	if (items < 2)
	    icon = wxICON_INFORMATION;
	else {
	    icon = (int)SvIV(ST(1))
;
	}
    try {
      THIS->SetIcon( icon );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__RichToolTip_SetIconIcon); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__RichToolTip_SetIconIcon)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, icon");
    {
	wxRichToolTip *    THIS = (wxRichToolTip *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichToolTip" )
;
	wxIcon*    icon = (wxIcon *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Icon" )
;
    try {
      THIS->SetIcon( *( icon ) );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__RichToolTip_SetTimeout); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__RichToolTip_SetTimeout)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, milliseconds");
    {
	wxRichToolTip *    THIS = (wxRichToolTip *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichToolTip" )
;
	unsigned int    milliseconds = (unsigned int)SvUV( ST(1) )
;
    try {
      THIS->SetTimeout( milliseconds );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__RichToolTip_SetTipKind); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__RichToolTip_SetTipKind)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, tipKind");
    {
	wxRichToolTip *    THIS = (wxRichToolTip *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichToolTip" )
;
	wxTipKind	tipKind = (wxTipKind)SvIV(ST(1))
;
    try {
      THIS->SetTipKind( tipKind );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__RichToolTip_ShowFor); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__RichToolTip_ShowFor)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, win");
    {
	wxRichToolTip *    THIS = (wxRichToolTip *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichToolTip" )
;
	wxWindow*    win = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
    try {
      THIS->ShowFor( win );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__RichToolTip_DESTROY); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__RichToolTip_DESTROY)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxRichToolTip *    THIS = (wxRichToolTip *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichToolTip" )
;
      wxPli_thread_sv_unregister( aTHX_ "Wx::RichToolTip", THIS, ST(0) );
                 delete THIS;
    }
    XSRETURN_EMPTY;
}

#include "cpp/overload.h"
#if defined( XSpp_1921ac58_018761 )
#define XSubPPtmpAADC 1


XS_EUPXS(XS_Wx__RichToolTip_SetIcon); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__RichToolTip_SetIcon)
{
    dVAR; dXSARGS;
    if (items < 1)
       croak_xs_usage(cv,  "THIS, ...");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	wxRichToolTip *    THIS = (wxRichToolTip *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichToolTip" )
;
#if defined( XSpp_1921ac58_018761 )
    static const char *SetIconId_types[] = { wxPliOvlnum };
    static wxPliPrototype SetIconId_proto( SetIconId_types, sizeof( SetIconId_types ) / sizeof( SetIconId_types[0] ) );
#endif // defined( XSpp_1921ac58_018761 )
#if defined( XSpp_1921ac58_018761 )
    static const char *SetIconIcon_types[] = { "Wx::Icon" };
    static wxPliPrototype SetIconIcon_proto( SetIconIcon_types, sizeof( SetIconIcon_types ) / sizeof( SetIconIcon_types[0] ) );
#endif // defined( XSpp_1921ac58_018761 )
    static wxPliPrototype *wxPliOvl_all_prototypes[] = {
#if defined( XSpp_1921ac58_018761 )
        &SetIconId_proto,
#endif // defined( XSpp_1921ac58_018761 )
#if defined( XSpp_1921ac58_018761 )
        &SetIconIcon_proto,
#endif // defined( XSpp_1921ac58_018761 )
        NULL };
    BEGIN_OVERLOAD()
#if defined( XSpp_1921ac58_018761 )
        MATCH_REDISP_COUNT_ALLOWMORE( SetIconId_proto, SetIconId, 0 )
#endif // defined( XSpp_1921ac58_018761 )
#if defined( XSpp_1921ac58_018761 )
        MATCH_REDISP_COUNT( SetIconIcon_proto, SetIconIcon, 1 )
#endif // defined( XSpp_1921ac58_018761 )
    END_OVERLOAD_MESSAGE( Wx::RichToolTip::SetIcon, wxPliOvl_all_prototypes )
	PUTBACK;
	return;
    }
}

#endif // defined( XSpp_1921ac58_018761 )
#endif
#include "xspp/const_richtooltip_h.h"

/* INCLUDE: Returning to 'Controls.xs' from '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp interface/wx/richtooltip.h' */


/* INCLUDE_COMMAND:  Including output of '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp interface/wx/bannerwindow.h' from 'Controls.xs' */

#include <exception>

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#if WXPERL_W_VERSION_GE( 2, 9, 3 )
#define XSpp_7efdd844_007167
#include <wx/bannerwindow.h>
#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)
#define XSubPPtmpAADD 1


XS_EUPXS(XS_Wx__BannerWindow_newDefault); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BannerWindow_newDefault)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "CLASS");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxBannerWindow *	RETVAL;
    try {
      RETVAL = new wxBannerWindow();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
     wxPli_create_evthandler( aTHX_ RETVAL, CLASS ); 
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)

XS_EUPXS(XS_Wx__BannerWindow_newShort); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BannerWindow_newShort)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 3)
       croak_xs_usage(cv,  "CLASS, parent, dir= wxLEFT");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxBannerWindow *	RETVAL;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxDirection	dir;

	if (items < 3)
	    dir = wxLEFT;
	else {
	    dir = (wxDirection)SvIV(ST(2))
;
	}
    try {
      RETVAL = new wxBannerWindow( parent, dir );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
     wxPli_create_evthandler( aTHX_ RETVAL, CLASS ); 
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)

XS_EUPXS(XS_Wx__BannerWindow_newFull); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BannerWindow_newFull)
{
    dVAR; dXSARGS;
    if (items < 4 || items > 8)
       croak_xs_usage(cv,  "CLASS, parent, winid, dir, pos= wxDefaultPosition, size= wxDefaultSize, style= 0, name= wxBannerWindowNameStr");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxBannerWindow *	RETVAL;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID    winid = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	wxDirection	dir = (wxDirection)SvIV(ST(3))
;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxString	name;

	if (items < 5)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(5) )
;
	}

	if (items < 7)
	    style = 0;
	else {
	    style = (long)SvIV(ST(6))
;
	}

	if (items < 8)
	    name = wxBannerWindowNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(7) )
;
	}
    try {
      RETVAL = new wxBannerWindow( parent, winid, dir, pos, size, style, name );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
     wxPli_create_evthandler( aTHX_ RETVAL, CLASS ); 
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)

XS_EUPXS(XS_Wx__BannerWindow_Create); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BannerWindow_Create)
{
    dVAR; dXSARGS;
    if (items < 3 || items > 8)
       croak_xs_usage(cv,  "THIS, parent, winid, dir= wxLEFT, pos= wxDefaultPosition, size= wxDefaultSize, style= 0, name= wxBannerWindowNameStr");
    {
	wxBannerWindow *    THIS = (wxBannerWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BannerWindow" )
;
	bool	RETVAL;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID    winid = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	wxDirection	dir;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxString	name;

	if (items < 4)
	    dir = wxLEFT;
	else {
	    dir = (wxDirection)SvIV(ST(3))
;
	}

	if (items < 5)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(5) )
;
	}

	if (items < 7)
	    style = 0;
	else {
	    style = (long)SvIV(ST(6))
;
	}

	if (items < 8)
	    name = wxBannerWindowNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(7) )
;
	}
    try {
      RETVAL = THIS->Create( parent, winid, dir, pos, size, style, name );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__BannerWindow_SetBitmap); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BannerWindow_SetBitmap)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, bmp");
    {
	wxBannerWindow *    THIS = (wxBannerWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BannerWindow" )
;
	wxBitmap*    bmp = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Bitmap" )
;
    try {
      THIS->SetBitmap( *( bmp ) );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__BannerWindow_SetText); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BannerWindow_SetText)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, title, message");
    {
	wxBannerWindow *    THIS = (wxBannerWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BannerWindow" )
;
	wxString	title;
	wxString	message;

    WXSTRING_INPUT( title, wxString, ST(1) )
;

    WXSTRING_INPUT( message, wxString, ST(2) )
;
    try {
      THIS->SetText( title, message );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__BannerWindow_SetGradient); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BannerWindow_SetGradient)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, start, end");
    {
	wxBannerWindow *    THIS = (wxBannerWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BannerWindow" )
;
	wxColour*    start = (wxColour *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Colour" )
;
	wxColour*    end = (wxColour *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Colour" )
;
    try {
      THIS->SetGradient( *( start ), *( end ) );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}

#include "cpp/overload.h"
#if defined( XSpp_7efdd844_007167 )
#define XSubPPtmpAADE 1


XS_EUPXS(XS_Wx__BannerWindow_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BannerWindow_new)
{
    dVAR; dXSARGS;
    if (items < 1)
       croak_xs_usage(cv,  "CLASS, ...");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
#if defined( XSpp_7efdd844_007167 )
    static wxPliPrototype void_proto( NULL, 0 );
#endif // defined( XSpp_7efdd844_007167 )
#if defined( XSpp_7efdd844_007167 )
    static const char *newShort_types[] = { "Wx::Window", wxPliOvlnum };
    static wxPliPrototype newShort_proto( newShort_types, sizeof( newShort_types ) / sizeof( newShort_types[0] ) );
#endif // defined( XSpp_7efdd844_007167 )
#if defined( XSpp_7efdd844_007167 )
    static const char *newFull_types[] = { "Wx::Window", "Wx::WindowID", wxPliOvlnum, wxPliOvlwpoi, wxPliOvlwsiz, wxPliOvlnum, wxPliOvlstr };
    static wxPliPrototype newFull_proto( newFull_types, sizeof( newFull_types ) / sizeof( newFull_types[0] ) );
#endif // defined( XSpp_7efdd844_007167 )
    static wxPliPrototype *wxPliOvl_all_prototypes[] = {
#if defined( XSpp_7efdd844_007167 )
        &void_proto,
#endif // defined( XSpp_7efdd844_007167 )
#if defined( XSpp_7efdd844_007167 )
        &newShort_proto,
#endif // defined( XSpp_7efdd844_007167 )
#if defined( XSpp_7efdd844_007167 )
        &newFull_proto,
#endif // defined( XSpp_7efdd844_007167 )
        NULL };
    BEGIN_OVERLOAD()
#if defined( XSpp_7efdd844_007167 )
        MATCH_VOIDM_REDISP( newDefault )
#endif // defined( XSpp_7efdd844_007167 )
#if defined( XSpp_7efdd844_007167 )
        MATCH_REDISP_COUNT_ALLOWMORE( newShort_proto, newShort, 1 )
#endif // defined( XSpp_7efdd844_007167 )
#if defined( XSpp_7efdd844_007167 )
        MATCH_REDISP_COUNT_ALLOWMORE( newFull_proto, newFull, 3 )
#endif // defined( XSpp_7efdd844_007167 )
    END_OVERLOAD_MESSAGE( Wx::BannerWindow::new, wxPliOvl_all_prototypes )
	PUTBACK;
	return;
    }
}

#endif // defined( XSpp_7efdd844_007167 )
#endif

/* INCLUDE: Returning to 'Controls.xs' from '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp interface/wx/bannerwindow.h' */


/* INCLUDE_COMMAND:  Including output of '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp interface/wx/rearrangectrl.h' from 'Controls.xs' */

#include <exception>

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#if WXPERL_W_VERSION_GE( 2, 9, 3 )
#define XSpp_270e2145_053794
#include <wx/rearrangectrl.h>
#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)
#define XSubPPtmpAADF 1


XS_EUPXS(XS_Wx__RearrangeList_newDefault); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__RearrangeList_newDefault)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "CLASS");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxRearrangeList *	RETVAL;
    try {
      RETVAL = new wxRearrangeList();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
     wxPli_create_evthandler( aTHX_ RETVAL, CLASS ); 
	ST(0) = sv_newmortal();
    wxPli_namedobject_2_sv( aTHX_ ST(0), RETVAL, "Wx::RearrangeList" );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)

XS_EUPXS(XS_Wx__RearrangeList_newFull); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__RearrangeList_newFull)
{
    dVAR; dXSARGS;
    if (items < 7 || items > 10)
       croak_xs_usage(cv,  "CLASS, parent, id, pos, size, order, strings, style= 0, validator= wxDefaultValidatorPtr, name= wxRearrangeListNameStr");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxRearrangeList *	RETVAL;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	wxPoint    pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) )
;
	wxSize    size = wxPli_sv_2_wxsize( aTHX_ ST(4) )
;
	wxArrayInt	order;
	wxArrayString	strings;
	long	style;
	wxValidator*	validator;
	wxString	name;

    wxPli_av_2_arrayint( aTHX_ ST(5), & order )
;

    wxPli_av_2_arraystring( aTHX_ ST(6), & strings )
;

	if (items < 8)
	    style = 0;
	else {
	    style = (long)SvIV(ST(7))
;
	}

	if (items < 9)
	    validator = wxDefaultValidatorPtr;
	else {
    validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(8), "Wx::Validator" )
;
	}

	if (items < 10)
	    name = wxRearrangeListNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(9) )
;
	}
    try {
      RETVAL = new wxRearrangeList( parent, id, pos, size, order, strings, style, *( validator ), name );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
     wxPli_create_evthandler( aTHX_ RETVAL, CLASS ); 
	ST(0) = sv_newmortal();
    wxPli_namedobject_2_sv( aTHX_ ST(0), RETVAL, "Wx::RearrangeList" );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)

XS_EUPXS(XS_Wx__RearrangeList_Create); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__RearrangeList_Create)
{
    dVAR; dXSARGS;
    if (items < 7 || items > 10)
       croak_xs_usage(cv,  "THIS, parent, id, pos, size, order, strings, style= 0, validator= wxDefaultValidatorPtr, name= wxRearrangeListNameStr");
    {
	wxRearrangeList *    THIS = (wxRearrangeList *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RearrangeList" )
;
	bool	RETVAL;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	wxPoint    pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) )
;
	wxSize    size = wxPli_sv_2_wxsize( aTHX_ ST(4) )
;
	wxArrayInt	order;
	wxArrayString	strings;
	long	style;
	wxValidator*	validator;
	wxString	name;

    wxPli_av_2_arrayint( aTHX_ ST(5), & order )
;

    wxPli_av_2_arraystring( aTHX_ ST(6), & strings )
;

	if (items < 8)
	    style = 0;
	else {
	    style = (long)SvIV(ST(7))
;
	}

	if (items < 9)
	    validator = wxDefaultValidatorPtr;
	else {
    validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(8), "Wx::Validator" )
;
	}

	if (items < 10)
	    name = wxRearrangeListNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(9) )
;
	}
    try {
      RETVAL = THIS->Create( parent, id, pos, size, order, strings, style, *( validator ), name );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__RearrangeList_GetCurrentOrder); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__RearrangeList_GetCurrentOrder)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	wxRearrangeList *    THIS = (wxRearrangeList *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RearrangeList" )
;
	wxArrayInt	RETVAL;
    try {
      RETVAL = THIS->GetCurrentOrder();
    PUTBACK;
    wxPli_intarray_push( aTHX_ RETVAL );
    SPAGAIN;
  ;
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__RearrangeList_CanMoveCurrentUp); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__RearrangeList_CanMoveCurrentUp)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxRearrangeList *    THIS = (wxRearrangeList *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RearrangeList" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->CanMoveCurrentUp();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__RearrangeList_CanMoveCurrentDown); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__RearrangeList_CanMoveCurrentDown)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxRearrangeList *    THIS = (wxRearrangeList *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RearrangeList" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->CanMoveCurrentDown();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__RearrangeList_MoveCurrentUp); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__RearrangeList_MoveCurrentUp)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxRearrangeList *    THIS = (wxRearrangeList *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RearrangeList" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->MoveCurrentUp();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__RearrangeList_MoveCurrentDown); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__RearrangeList_MoveCurrentDown)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxRearrangeList *    THIS = (wxRearrangeList *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RearrangeList" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->MoveCurrentDown();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}

#include "cpp/overload.h"
#if defined( XSpp_270e2145_053794 )
#define XSubPPtmpAADG 1


XS_EUPXS(XS_Wx__RearrangeList_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__RearrangeList_new)
{
    dVAR; dXSARGS;
    if (items < 1)
       croak_xs_usage(cv,  "CLASS, ...");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
#if defined( XSpp_270e2145_053794 )
    static wxPliPrototype void_proto( NULL, 0 );
#endif // defined( XSpp_270e2145_053794 )
    static wxPliPrototype *wxPliOvl_all_prototypes[] = {
#if defined( XSpp_270e2145_053794 )
        &void_proto,
#endif // defined( XSpp_270e2145_053794 )
        NULL };
    BEGIN_OVERLOAD()
#if defined( XSpp_270e2145_053794 )
        MATCH_VOIDM_REDISP( newDefault )
#endif // defined( XSpp_270e2145_053794 )
#if defined( XSpp_270e2145_053794 )
        MATCH_ANY_REDISP( newFull )
#endif // defined( XSpp_270e2145_053794 )
    END_OVERLOAD_MESSAGE( Wx::RearrangeList::new, wxPliOvl_all_prototypes )
	PUTBACK;
	return;
    }
}

#endif // defined( XSpp_270e2145_053794 )
#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)

XS_EUPXS(XS_Wx__RearrangeCtrl_newDefault); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__RearrangeCtrl_newDefault)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "CLASS");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxRearrangeCtrl *	RETVAL;
    try {
      RETVAL = new wxRearrangeCtrl();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
     wxPli_create_evthandler( aTHX_ RETVAL, CLASS ); 
	ST(0) = sv_newmortal();
    wxPli_namedobject_2_sv( aTHX_ ST(0), RETVAL, "Wx::RearrangeCtrl" );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)

XS_EUPXS(XS_Wx__RearrangeCtrl_newFull); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__RearrangeCtrl_newFull)
{
    dVAR; dXSARGS;
    if (items < 7 || items > 10)
       croak_xs_usage(cv,  "CLASS, parent, id, pos, size, order, strings, style= 0, validator= wxDefaultValidatorPtr, name= wxRearrangeListNameStr");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxRearrangeCtrl *	RETVAL;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	wxPoint    pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) )
;
	wxSize    size = wxPli_sv_2_wxsize( aTHX_ ST(4) )
;
	wxArrayInt	order;
	wxArrayString	strings;
	long	style;
	wxValidator*	validator;
	wxString	name;

    wxPli_av_2_arrayint( aTHX_ ST(5), & order )
;

    wxPli_av_2_arraystring( aTHX_ ST(6), & strings )
;

	if (items < 8)
	    style = 0;
	else {
	    style = (long)SvIV(ST(7))
;
	}

	if (items < 9)
	    validator = wxDefaultValidatorPtr;
	else {
    validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(8), "Wx::Validator" )
;
	}

	if (items < 10)
	    name = wxRearrangeListNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(9) )
;
	}
    try {
      RETVAL = new wxRearrangeCtrl( parent, id, pos, size, order, strings, style, *( validator ), name );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
     wxPli_create_evthandler( aTHX_ RETVAL, CLASS ); 
	ST(0) = sv_newmortal();
    wxPli_namedobject_2_sv( aTHX_ ST(0), RETVAL, "Wx::RearrangeCtrl" );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)

XS_EUPXS(XS_Wx__RearrangeCtrl_Create); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__RearrangeCtrl_Create)
{
    dVAR; dXSARGS;
    if (items < 7 || items > 10)
       croak_xs_usage(cv,  "THIS, parent, id, pos, size, order, strings, style= 0, validator= wxDefaultValidatorPtr, name= wxRearrangeListNameStr");
    {
	wxRearrangeCtrl *    THIS = (wxRearrangeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RearrangeCtrl" )
;
	bool	RETVAL;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	wxPoint    pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) )
;
	wxSize    size = wxPli_sv_2_wxsize( aTHX_ ST(4) )
;
	wxArrayInt	order;
	wxArrayString	strings;
	long	style;
	wxValidator*	validator;
	wxString	name;

    wxPli_av_2_arrayint( aTHX_ ST(5), & order )
;

    wxPli_av_2_arraystring( aTHX_ ST(6), & strings )
;

	if (items < 8)
	    style = 0;
	else {
	    style = (long)SvIV(ST(7))
;
	}

	if (items < 9)
	    validator = wxDefaultValidatorPtr;
	else {
    validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(8), "Wx::Validator" )
;
	}

	if (items < 10)
	    name = wxRearrangeListNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(9) )
;
	}
    try {
      RETVAL = THIS->Create( parent, id, pos, size, order, strings, style, *( validator ), name );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__RearrangeCtrl_GetList); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__RearrangeCtrl_GetList)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxRearrangeCtrl *    THIS = (wxRearrangeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RearrangeCtrl" )
;
	wxRearrangeList *	RETVAL;
    try {
      RETVAL = THIS->GetList();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_namedobject_2_sv( aTHX_ ST(0), RETVAL, "Wx::RearrangeList" );
    }
    XSRETURN(1);
}

#include "cpp/overload.h"
#if defined( XSpp_270e2145_053794 )
#define XSubPPtmpAADH 1


XS_EUPXS(XS_Wx__RearrangeCtrl_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__RearrangeCtrl_new)
{
    dVAR; dXSARGS;
    if (items < 1)
       croak_xs_usage(cv,  "CLASS, ...");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
#if defined( XSpp_270e2145_053794 )
    static wxPliPrototype void_proto( NULL, 0 );
#endif // defined( XSpp_270e2145_053794 )
    static wxPliPrototype *wxPliOvl_all_prototypes[] = {
#if defined( XSpp_270e2145_053794 )
        &void_proto,
#endif // defined( XSpp_270e2145_053794 )
        NULL };
    BEGIN_OVERLOAD()
#if defined( XSpp_270e2145_053794 )
        MATCH_VOIDM_REDISP( newDefault )
#endif // defined( XSpp_270e2145_053794 )
#if defined( XSpp_270e2145_053794 )
        MATCH_ANY_REDISP( newFull )
#endif // defined( XSpp_270e2145_053794 )
    END_OVERLOAD_MESSAGE( Wx::RearrangeCtrl::new, wxPliOvl_all_prototypes )
	PUTBACK;
	return;
    }
}

#endif // defined( XSpp_270e2145_053794 )
#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)

XS_EUPXS(XS_Wx__RearrangeDialog_newDefault); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__RearrangeDialog_newDefault)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "CLASS");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxRearrangeDialog *	RETVAL;
    try {
      RETVAL = new wxRearrangeDialog();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_namedobject_2_sv( aTHX_ ST(0), RETVAL, "Wx::RearrangeDialog" );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)

XS_EUPXS(XS_Wx__RearrangeDialog_newFull); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__RearrangeDialog_newFull)
{
    dVAR; dXSARGS;
    if (items < 6 || items > 8)
       croak_xs_usage(cv,  "CLASS, parent, message, title, order, strings, pos= wxDefaultPosition, name= wxRearrangeDialogNameStr");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxRearrangeDialog *	RETVAL;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxString	message;
	wxString	title;
	wxArrayInt	order;
	wxArrayString	strings;
	wxPoint	pos;
	wxString	name;

    WXSTRING_INPUT( message, wxString, ST(2) )
;

    WXSTRING_INPUT( title, wxString, ST(3) )
;

    wxPli_av_2_arrayint( aTHX_ ST(4), & order )
;

    wxPli_av_2_arraystring( aTHX_ ST(5), & strings )
;

	if (items < 7)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(6) )
;
	}

	if (items < 8)
	    name = wxRearrangeDialogNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(7) )
;
	}
    try {
      RETVAL = new wxRearrangeDialog( parent, message, title, order, strings, pos, name );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_namedobject_2_sv( aTHX_ ST(0), RETVAL, "Wx::RearrangeDialog" );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)

XS_EUPXS(XS_Wx__RearrangeDialog_Create); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__RearrangeDialog_Create)
{
    dVAR; dXSARGS;
    if (items < 6 || items > 8)
       croak_xs_usage(cv,  "THIS, parent, message, title, order, strings, pos= wxDefaultPosition, name= wxRearrangeDialogNameStr");
    {
	wxRearrangeDialog *    THIS = (wxRearrangeDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RearrangeDialog" )
;
	bool	RETVAL;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxString	message;
	wxString	title;
	wxArrayInt	order;
	wxArrayString	strings;
	wxPoint	pos;
	wxString	name;

    WXSTRING_INPUT( message, wxString, ST(2) )
;

    WXSTRING_INPUT( title, wxString, ST(3) )
;

    wxPli_av_2_arrayint( aTHX_ ST(4), & order )
;

    wxPli_av_2_arraystring( aTHX_ ST(5), & strings )
;

	if (items < 7)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(6) )
;
	}

	if (items < 8)
	    name = wxRearrangeDialogNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(7) )
;
	}
    try {
      RETVAL = THIS->Create( parent, message, title, order, strings, pos, name );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__RearrangeDialog_AddExtraControls); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__RearrangeDialog_AddExtraControls)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, win");
    {
	wxRearrangeDialog *    THIS = (wxRearrangeDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RearrangeDialog" )
;
	wxWindow*    win = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
    try {
      THIS->AddExtraControls( win );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__RearrangeDialog_GetList); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__RearrangeDialog_GetList)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxRearrangeDialog *    THIS = (wxRearrangeDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RearrangeDialog" )
;
	wxRearrangeList *	RETVAL;
    try {
      RETVAL = THIS->GetList();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_namedobject_2_sv( aTHX_ ST(0), RETVAL, "Wx::RearrangeList" );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__RearrangeDialog_GetOrder); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__RearrangeDialog_GetOrder)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	wxRearrangeDialog *    THIS = (wxRearrangeDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RearrangeDialog" )
;
	wxArrayInt	RETVAL;
    try {
      RETVAL = THIS->GetOrder();
    PUTBACK;
    wxPli_intarray_push( aTHX_ RETVAL );
    SPAGAIN;
  ;
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	PUTBACK;
	return;
    }
}

#include "cpp/overload.h"
#if defined( XSpp_270e2145_053794 )
#define XSubPPtmpAADI 1


XS_EUPXS(XS_Wx__RearrangeDialog_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__RearrangeDialog_new)
{
    dVAR; dXSARGS;
    if (items < 1)
       croak_xs_usage(cv,  "CLASS, ...");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
#if defined( XSpp_270e2145_053794 )
    static wxPliPrototype void_proto( NULL, 0 );
#endif // defined( XSpp_270e2145_053794 )
    static wxPliPrototype *wxPliOvl_all_prototypes[] = {
#if defined( XSpp_270e2145_053794 )
        &void_proto,
#endif // defined( XSpp_270e2145_053794 )
        NULL };
    BEGIN_OVERLOAD()
#if defined( XSpp_270e2145_053794 )
        MATCH_VOIDM_REDISP( newDefault )
#endif // defined( XSpp_270e2145_053794 )
#if defined( XSpp_270e2145_053794 )
        MATCH_ANY_REDISP( newFull )
#endif // defined( XSpp_270e2145_053794 )
    END_OVERLOAD_MESSAGE( Wx::RearrangeDialog::new, wxPliOvl_all_prototypes )
	PUTBACK;
	return;
    }
}

#endif // defined( XSpp_270e2145_053794 )
#endif

/* INCLUDE: Returning to 'Controls.xs' from '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp interface/wx/rearrangectrl.h' */


/* INCLUDE:  Including 'XS/CheckBox.xs' from 'Controls.xs' */


/* INCLUDE:  Including 'XS/CheckListBox.xs' from 'XS/CheckBox.xs' */


/* INCLUDE:  Including 'XS/Choice.xs' from 'XS/CheckListBox.xs' */


/* INCLUDE:  Including 'XS/ComboBox.xs' from 'XS/Choice.xs' */


/* INCLUDE:  Including 'XS/Gauge.xs' from 'XS/ComboBox.xs' */


/* INCLUDE:  Including 'XS/ListBox.xs' from 'XS/Gauge.xs' */


/* INCLUDE:  Including 'XS/ListCtrl.xs' from 'XS/ListBox.xs' */


/* INCLUDE:  Including 'XS/Notebook.xs' from 'XS/ListCtrl.xs' */


/* INCLUDE:  Including 'XS/RadioBox.xs' from 'XS/Notebook.xs' */


/* INCLUDE:  Including 'XS/RadioButton.xs' from 'XS/RadioBox.xs' */


/* INCLUDE:  Including 'XS/ScrollBar.xs' from 'XS/RadioButton.xs' */


/* INCLUDE:  Including 'XS/Slider.xs' from 'XS/ScrollBar.xs' */


/* INCLUDE:  Including 'XS/SpinButton.xs' from 'XS/Slider.xs' */


/* INCLUDE:  Including 'XS/SpinCtrl.xs' from 'XS/SpinButton.xs' */


/* INCLUDE:  Including 'XS/StaticBitmap.xs' from 'XS/SpinCtrl.xs' */


/* INCLUDE:  Including 'XS/StaticBox.xs' from 'XS/StaticBitmap.xs' */


/* INCLUDE:  Including 'XS/StaticLine.xs' from 'XS/StaticBox.xs' */


/* INCLUDE:  Including 'XS/StaticText.xs' from 'XS/StaticLine.xs' */


/* INCLUDE:  Including 'XS/ToggleButton.xs' from 'XS/StaticText.xs' */


/* INCLUDE:  Including 'XS/TreeCtrl.xs' from 'XS/ToggleButton.xs' */

#include <wx/treectrl.h>
#include "cpp/overload.h"

XS_EUPXS(XS_Wx__TreeItemData_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeItemData_new)
{
    dVAR; dXSARGS;
    if (items < 1 || items > 2)
       croak_xs_usage(cv,  "CLASS, data = 0");
    {
	SV_null*	data;
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxTreeItemData *	RETVAL;

	if (items < 2)
	    data = 0;
	else {
    data = SvOK( ST(1) ) ? ST(1) : 0
;
	}
    RETVAL = new wxPliTreeItemData( data );
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TreeItemData" );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeItemData_Destroy); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeItemData_Destroy)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTreeItemData *    THIS = (wxTreeItemData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeItemData" )
;
    delete THIS;
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TreeItemData_GetData); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeItemData_GetData)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTreeItemData *    THIS = (wxTreeItemData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeItemData" )
;
	SV_null *	RETVAL;
    RETVAL = ((wxPliTreeItemData*)THIS)->m_data;
    ST(0) = ( RETVAL == 0 ) ? &PL_sv_undef : RETVAL;
    SvREFCNT_inc( ST(0) ); // xsubpp mortalizes it...
	sv_2mortal(ST(0));
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeItemData_SetData); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeItemData_SetData)
{
    dVAR; dXSARGS;
    if (items < 1 || items > 2)
       croak_xs_usage(cv,  "THIS, data = 0");
    {
	SV_null*	data;
	wxTreeItemData *    THIS = (wxTreeItemData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeItemData" )
;

	if (items < 2)
	    data = 0;
	else {
    data = SvOK( ST(1) ) ? ST(1) : 0
;
	}
    ((wxPliTreeItemData*)THIS)->SetData( data );
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TreeItemData_GetId); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeItemData_GetId)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTreeItemData *    THIS = (wxTreeItemData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeItemData" )
;
	wxTreeItemId *	RETVAL;
    RETVAL = new wxTreeItemId( THIS->GetId() );
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TreeItemId" );
    wxPli_thread_sv_register( aTHX_ "Wx::TreeItemId", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeItemData_SetId); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeItemData_SetId)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, id");
    {
	wxTreeItemId*    id = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" )
;
	wxTreeItemData *    THIS = (wxTreeItemData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeItemData" )
;

	THIS->SetId(*id);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TreeItemId_CLONE); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeItemId_CLONE)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "CLASS");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
    wxPli_thread_sv_clone( aTHX_ CLASS, (wxPliCloneSV)wxPli_detach_object );
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TreeItemId_DESTROY); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeItemId_DESTROY)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTreeItemId *    THIS = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeItemId" )
;
    wxPli_thread_sv_unregister( aTHX_ "Wx::TreeItemId", THIS, ST(0) );
    delete THIS;
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TreeItemId_IsOk); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeItemId_IsOk)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTreeItemId *    THIS = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeItemId" )
;
	bool	RETVAL;

	RETVAL = THIS->IsOk();
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeItemId_tiid_spaceship); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeItemId_tiid_spaceship)
{
    dVAR; dXSARGS;
    if (items < 2)
       croak_xs_usage(cv,  "tid1, tid2, ...");
    {
	SV*	tid1 = ST(0)
;
	SV*	tid2 = ST(1)
;
	int	RETVAL;
	dXSTARG;
    // this is not a proper spaceship method
    // it just allows autogeneration of != and ==
    // anyway, comparing ids is useless
    RETVAL = -1;
    if( SvROK( tid1 ) && SvROK( tid2 ) &&
        sv_derived_from( tid1, CHAR_P "Wx::TreeItemId" ) &&
        sv_derived_from( tid2, CHAR_P "Wx::TreeItemId" ) )
    {
        wxTreeItemId* id1 = (wxTreeItemId*)
            wxPli_sv_2_object( aTHX_ tid1, "Wx::TreeItemId" );
        wxTreeItemId* id2 = (wxTreeItemId*)
            wxPli_sv_2_object( aTHX_ tid2, "Wx::TreeItemId" );

        RETVAL = *id1 == *id2 ? 0 : 1;
    } else
      RETVAL = 1;
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeEvent_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeEvent_new)
{
    dVAR; dXSARGS;
    if (items < 1 || items > 3)
       croak_xs_usage(cv,  "CLASS, commandType = wxEVT_NULL, id = 0");
    {
	wxEventType	commandType;
	int	id;
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxTreeEvent *	RETVAL;

	if (items < 2)
	    commandType = wxEVT_NULL;
	else {
	    commandType = (wxEventType)SvIV(ST(1))
;
	}

	if (items < 3)
	    id = 0;
	else {
	    id = (int)SvIV(ST(2))
;
	}

	RETVAL = new wxTreeEvent(commandType, id);
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    wxPli_thread_sv_register( aTHX_ "Wx::TreeEvent", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeEvent_GetItem); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeEvent_GetItem)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTreeEvent *    THIS = (wxTreeEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeEvent" )
;
	wxTreeItemId *	RETVAL;
    RETVAL = new wxTreeItemId( THIS->GetItem() );
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TreeItemId" );
    wxPli_thread_sv_register( aTHX_ "Wx::TreeItemId", RETVAL, ST(0) );
    }
    XSRETURN(1);
}

#if WXPERL_W_VERSION_GE( 2, 7, 2 )
#define XSubPPtmpAADJ 1


XS_EUPXS(XS_Wx__TreeEvent_SetQuickBestSize); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeEvent_SetQuickBestSize)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, q");
    {
	bool	q = (bool)SvTRUE(ST(1))
;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;

	THIS->SetQuickBestSize(q);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TreeEvent_GetQuickBestSize); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeEvent_GetQuickBestSize)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;
	bool	RETVAL;

	RETVAL = THIS->GetQuickBestSize();
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}

#endif

XS_EUPXS(XS_Wx__TreeEvent_GetKeyCode); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeEvent_GetKeyCode)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTreeEvent *    THIS = (wxTreeEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeEvent" )
;
	int	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetKeyCode();
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeEvent_GetKeyEvent); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeEvent_GetKeyEvent)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTreeEvent *    THIS = (wxTreeEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeEvent" )
;
	wxKeyEvent *	RETVAL;
    RETVAL = new wxKeyEvent ( THIS->GetKeyEvent() );
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    wxPli_thread_sv_register( aTHX_ "Wx::KeyEvent", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeEvent_GetOldItem); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeEvent_GetOldItem)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTreeEvent *    THIS = (wxTreeEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeEvent" )
;
	wxTreeItemId *	RETVAL;
    RETVAL = new wxTreeItemId( THIS->GetOldItem() );
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TreeItemId" );
    wxPli_thread_sv_register( aTHX_ "Wx::TreeItemId", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeEvent_GetPoint); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeEvent_GetPoint)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTreeEvent *    THIS = (wxTreeEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeEvent" )
;
	wxPoint *	RETVAL;
    RETVAL = new wxPoint( THIS->GetPoint() );
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Point" );
    wxPli_thread_sv_register( aTHX_ "Wx::Point", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeEvent_IsEditCancelled); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeEvent_IsEditCancelled)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTreeEvent *    THIS = (wxTreeEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeEvent" )
;
	bool	RETVAL;

	RETVAL = THIS->IsEditCancelled();
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeEvent_GetLabel); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeEvent_GetLabel)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTreeEvent *    THIS = (wxTreeEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeEvent" )
;
	wxString	RETVAL;

	RETVAL = THIS->GetLabel();
	ST(0) = sv_newmortal();
    WXSTRING_OUTPUT( RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeEvent_SetToolTip); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeEvent_SetToolTip)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, tooltip");
    {
	wxString	tooltip;
	wxTreeEvent *    THIS = (wxTreeEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeEvent" )
;

    WXSTRING_INPUT( tooltip, wxString, ST(1) )
;

	THIS->SetToolTip(tooltip);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TreeCtrl_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_new)
{
    dVAR; dXSARGS;
    PERL_UNUSED_VAR(cv); /* -W */
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
    BEGIN_OVERLOAD()
        MATCH_VOIDM_REDISP( newDefault )
        MATCH_ANY_REDISP( newFull )
    END_OVERLOAD( "Wx::TreeCtrl::new" )
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__TreeCtrl_newDefault); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_newDefault)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "CLASS");
    {
	PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) )
;
	wxTreeCtrl *	RETVAL;
    RETVAL = new wxPliTreeCtrl( CLASS );
    wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeCtrl_newFull); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_newFull)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 8)
       croak_xs_usage(cv,  "CLASS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = wxTR_HAS_BUTTONS, validator = (wxValidator*)&wxDefaultValidator, name = wxTreeCtrlNameStr");
    {
	PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) )
;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID	id;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxValidator*	validator;
	wxString	name;
	wxTreeCtrl *	RETVAL;

	if (items < 3)
	    id = wxID_ANY;
	else {
    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	}

	if (items < 4)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) )
;
	}

	if (items < 5)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    style = wxTR_HAS_BUTTONS;
	else {
	    style = (long)SvIV(ST(5))
;
	}

	if (items < 7)
	    validator = (wxValidator*)&wxDefaultValidator;
	else {
    validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(6), "Wx::Validator" )
;
	}

	if (items < 8)
	    name = wxTreeCtrlNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(7) )
;
	}
    RETVAL = new wxPliTreeCtrl( CLASS, parent, id, pos, size,
        style, *validator, name );
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeCtrl_Create); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_Create)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 8)
       croak_xs_usage(cv,  "THIS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = wxTR_HAS_BUTTONS, validator = (wxValidator*)&wxDefaultValidator, name = wxTreeCtrlNameStr");
    {
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID	id;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxValidator*	validator;
	wxString	name;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;
	bool	RETVAL;

	if (items < 3)
	    id = wxID_ANY;
	else {
    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	}

	if (items < 4)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) )
;
	}

	if (items < 5)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    style = wxTR_HAS_BUTTONS;
	else {
	    style = (long)SvIV(ST(5))
;
	}

	if (items < 7)
	    validator = (wxValidator*)&wxDefaultValidator;
	else {
    validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(6), "Wx::Validator" )
;
	}

	if (items < 8)
	    name = wxTreeCtrlNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(7) )
;
	}

	RETVAL = THIS->Create(parent, id, pos, size, style, *validator, name);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeCtrl_AddRoot); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_AddRoot)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 5)
       croak_xs_usage(cv,  "THIS, text, image = -1, selImage = -1, data = 0");
    {
	wxString	text;
	int	image;
	int	selImage;
	wxTreeItemData*	data;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;
	wxTreeItemId *	RETVAL;

    WXSTRING_INPUT( text, wxString, ST(1) )
;

	if (items < 3)
	    image = -1;
	else {
	    image = (int)SvIV(ST(2))
;
	}

	if (items < 4)
	    selImage = -1;
	else {
	    selImage = (int)SvIV(ST(3))
;
	}

	if (items < 5)
	    data = 0;
	else {
    data = (wxTreeItemData *) wxPli_sv_2_object( aTHX_ ST(4), "Wx::TreeItemData" )
;
	}
    RETVAL = new wxTreeItemId( THIS->AddRoot( text, image, selImage, data ) );
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TreeItemId" );
    wxPli_thread_sv_register( aTHX_ "Wx::TreeItemId", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeCtrl_AppendItem); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_AppendItem)
{
    dVAR; dXSARGS;
    if (items < 3 || items > 6)
       croak_xs_usage(cv,  "THIS, parent, text, image = -1, selImage = -1, data = 0");
    {
	wxTreeItemId*    parent = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" )
;
	wxString	text;
	int	image;
	int	selImage;
	wxTreeItemData*	data;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;
	wxTreeItemId *	RETVAL;

    WXSTRING_INPUT( text, wxString, ST(2) )
;

	if (items < 4)
	    image = -1;
	else {
	    image = (int)SvIV(ST(3))
;
	}

	if (items < 5)
	    selImage = -1;
	else {
	    selImage = (int)SvIV(ST(4))
;
	}

	if (items < 6)
	    data = 0;
	else {
    data = (wxTreeItemData *) wxPli_sv_2_object( aTHX_ ST(5), "Wx::TreeItemData" )
;
	}
    RETVAL = new wxTreeItemId( THIS->AppendItem( *parent, text, image,
        selImage, data ) );
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TreeItemId" );
    wxPli_thread_sv_register( aTHX_ "Wx::TreeItemId", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeCtrl_Collapse); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_Collapse)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" )
;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;
    THIS->Collapse( *item );
    }
    XSRETURN_EMPTY;
}

#if WXPERL_W_VERSION_GE( 2, 8, 3 )
#define XSubPPtmpAADK 1


XS_EUPXS(XS_Wx__TreeCtrl_CollapseAll); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_CollapseAll)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;

	THIS->CollapseAll();
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TreeCtrl_CollapseAllChildren); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_CollapseAllChildren)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" )
;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;

	THIS->CollapseAllChildren(*item);
    }
    XSRETURN_EMPTY;
}

#endif

XS_EUPXS(XS_Wx__TreeCtrl_CollapseAndReset); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_CollapseAndReset)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" )
;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;

	THIS->CollapseAndReset(*item);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TreeCtrl_Delete); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_Delete)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" )
;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;

	THIS->Delete(*item);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TreeCtrl_DeleteChildren); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_DeleteChildren)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" )
;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;

	THIS->DeleteChildren(*item);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TreeCtrl_DeleteAllItems); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_DeleteAllItems)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;

	THIS->DeleteAllItems();
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TreeCtrl_EditLabel); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_EditLabel)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" )
;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;
    THIS->EditLabel( *item );
    }
    XSRETURN_EMPTY;
}

#if defined( __WXMSW__ )
#if WXPERL_W_VERSION_GE( 2, 5, 3 )
#define XSubPPtmpAADL 1


XS_EUPXS(XS_Wx__TreeCtrl_EndEditLabel); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_EndEditLabel)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 3)
       croak_xs_usage(cv,  "THIS, item, discardChanges = false");
    {
	wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" )
;
	bool	discardChanges;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;

	if (items < 3)
	    discardChanges = false;
	else {
	    discardChanges = (bool)SvTRUE(ST(2))
;
	}

	THIS->EndEditLabel(*item, discardChanges);
    }
    XSRETURN_EMPTY;
}

#else
#define XSubPPtmpAADM 1


XS_EUPXS(XS_Wx__TreeCtrl_EndEditLabel); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_EndEditLabel)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, cancelEdit");
    {
	bool	cancelEdit = (bool)SvTRUE(ST(1))
;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;

	THIS->EndEditLabel(cancelEdit);
    }
    XSRETURN_EMPTY;
}

#endif
#endif

XS_EUPXS(XS_Wx__TreeCtrl_EnsureVisible); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_EnsureVisible)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" )
;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;

	THIS->EnsureVisible(*item);
    }
    XSRETURN_EMPTY;
}

#if WXPERL_W_VERSION_GE( 2, 7, 2 )
#define XSubPPtmpAADN 1


XS_EUPXS(XS_Wx__TreeCtrl_ExpandAll); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_ExpandAll)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;

	THIS->ExpandAll();
    }
    XSRETURN_EMPTY;
}

#endif

XS_EUPXS(XS_Wx__TreeCtrl_Expand); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_Expand)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" )
;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;

	THIS->Expand(*item);
    }
    XSRETURN_EMPTY;
}

#if WXPERL_W_VERSION_GE( 2, 7, 0 )
#define XSubPPtmpAADO 1


XS_EUPXS(XS_Wx__TreeCtrl_ExpandAllChildren); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_ExpandAllChildren)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" )
;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;

	THIS->ExpandAllChildren(*item);
    }
    XSRETURN_EMPTY;
}

#endif

XS_EUPXS(XS_Wx__TreeCtrl_GetBoundingRect); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_GetBoundingRect)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 3)
       croak_xs_usage(cv,  "THIS, item, textOnly = false");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" )
;
	bool	textOnly;
    wxRect rect;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;

	if (items < 3)
	    textOnly = false;
	else {
	    textOnly = (bool)SvTRUE(ST(2))
;
	}
    bool ret = THIS->GetBoundingRect( *item, rect, textOnly );
    if( ret )
    {
        SV* ret = sv_newmortal();
        wxPli_non_object_2_sv( aTHX_ ret, new wxRect( rect ), "Wx::Rect" );
        XPUSHs( ret );
    }
    else
    {
        XSRETURN_UNDEF;
    }
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__TreeCtrl_GetChildrenCount); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_GetChildrenCount)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 3)
       croak_xs_usage(cv,  "THIS, item, recursively = true");
    {
	wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" )
;
	bool	recursively;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;
	size_t	RETVAL;
	dXSTARG;

	if (items < 3)
	    recursively = true;
	else {
	    recursively = (bool)SvTRUE(ST(2))
;
	}

	RETVAL = THIS->GetChildrenCount(*item, recursively);
	XSprePUSH; PUSHu((UV)RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeCtrl_GetCount); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_GetCount)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;
	int	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetCount();
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeCtrl_GetItemData); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_GetItemData)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" )
;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;
	wxTreeItemData *	RETVAL;
    RETVAL = (wxPliTreeItemData*) THIS->GetItemData( *item );
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TreeItemData" );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeCtrl_GetPlData); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_GetPlData)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" )
;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;
	SV_null *	RETVAL;
    wxPliTreeItemData* data = (wxPliTreeItemData*) THIS->GetItemData( *item );
    RETVAL = data ? data->m_data : 0;
    ST(0) = ( RETVAL == 0 ) ? &PL_sv_undef : RETVAL;
    SvREFCNT_inc( ST(0) ); // xsubpp mortalizes it...
	sv_2mortal(ST(0));
    }
    XSRETURN(1);
}

#if defined( __WXMSW__ ) || defined( __WXPERL_FORCE__ )
#define XSubPPtmpAADP 1


XS_EUPXS(XS_Wx__TreeCtrl_GetEditControl); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_GetEditControl)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;
	wxTextCtrl *	RETVAL;

	RETVAL = THIS->GetEditControl();
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#endif

XS_EUPXS(XS_Wx__TreeCtrl_GetFirstChild); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_GetFirstChild)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" )
;
#if WXPERL_W_VERSION_GE( 2, 5, 1 )
    void* cookie;
#else
    long cookie;
#endif
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;
    wxTreeItemId ret = THIS->GetFirstChild( *item, cookie );
#if WXPERL_W_VERSION_LT( 2, 5, 1 )
    if( !ret.IsOk() ) cookie = -1;
#endif
    EXTEND( SP, 2 );
    PUSHs( wxPli_non_object_2_sv( aTHX_ sv_newmortal(),
                                  new wxTreeItemId( ret ),
                                  "Wx::TreeItemId" ) );
#if WXPERL_W_VERSION_GE( 2, 5, 1 )
    PUSHs( sv_2mortal( newSViv( PTR2IV( cookie ) ) ) );
#else
    PUSHs( sv_2mortal( newSViv( cookie ) ) );
#endif
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__TreeCtrl_GetFirstVisibleItem); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_GetFirstVisibleItem)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;
	wxTreeItemId *	RETVAL;
    RETVAL = new wxTreeItemId( THIS->GetFirstVisibleItem() );
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TreeItemId" );
    wxPli_thread_sv_register( aTHX_ "Wx::TreeItemId", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeCtrl_GetImageList); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_GetImageList)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;
	wxImageList *	RETVAL;

	RETVAL = THIS->GetImageList();
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    wxPli_thread_sv_register( aTHX_ "Wx::ImageList", RETVAL, ST(0) );
    wxPli_object_set_deleteable( aTHX_ ST(0), false );
    }
    XSRETURN(1);
}

#if !defined( __WXMSW__ )
#define XSubPPtmpAADQ 1


XS_EUPXS(XS_Wx__TreeCtrl_GetButtonsImageList); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_GetButtonsImageList)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;
	wxImageList *	RETVAL;

	RETVAL = THIS->GetButtonsImageList();
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    wxPli_thread_sv_register( aTHX_ "Wx::ImageList", RETVAL, ST(0) );
    wxPli_object_set_deleteable( aTHX_ ST(0), false );
    }
    XSRETURN(1);
}

#endif    

XS_EUPXS(XS_Wx__TreeCtrl_GetIndent); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_GetIndent)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;
	int	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetIndent();
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeCtrl_GetItemImage); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_GetItemImage)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 3)
       croak_xs_usage(cv,  "THIS, item, which = wxTreeItemIcon_Normal");
    {
	wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" )
;
	wxTreeItemIcon	which;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;
	int	RETVAL;
	dXSTARG;

	if (items < 3)
	    which = wxTreeItemIcon_Normal;
	else {
    which = (wxTreeItemIcon)SvUV( ST(2) )
;
	}

	RETVAL = THIS->GetItemImage(*item, which);
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeCtrl_GetItemText); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_GetItemText)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" )
;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;
	wxString	RETVAL;

	RETVAL = THIS->GetItemText(*item);
	ST(0) = sv_newmortal();
    WXSTRING_OUTPUT( RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeCtrl_GetItemBackgroundColour); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_GetItemBackgroundColour)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" )
;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;
	wxColour *	RETVAL;
    RETVAL = new wxColour( THIS->GetItemBackgroundColour( *item ) );
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Colour" );
    wxPli_thread_sv_register( aTHX_ "Wx::Colour", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeCtrl_GetItemTextColour); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_GetItemTextColour)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" )
;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;
	wxColour *	RETVAL;
    RETVAL = new wxColour( THIS->GetItemTextColour( *item ) );
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Colour" );
    wxPli_thread_sv_register( aTHX_ "Wx::Colour", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeCtrl_GetItemFont); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_GetItemFont)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" )
;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;
	wxFont *	RETVAL;
    RETVAL = new wxFont( THIS->GetItemFont( *item ) );
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    wxPli_thread_sv_register( aTHX_ "Wx::Font", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeCtrl_GetLastChild); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_GetLastChild)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" )
;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;
	wxTreeItemId *	RETVAL;
    RETVAL = new wxTreeItemId( THIS->GetLastChild( *item ) );
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TreeItemId" );
    wxPli_thread_sv_register( aTHX_ "Wx::TreeItemId", RETVAL, ST(0) );
    }
    XSRETURN(1);
}

#if WXPERL_W_VERSION_GE( 2, 5, 1 )
#define XSubPPtmpAADR 1


XS_EUPXS(XS_Wx__TreeCtrl_GetNextChild); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_GetNextChild)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, item, cookie");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" )
;
	IV	cookie = (IV)SvIV(ST(2))
;
    void* realcookie = INT2PTR( void*, cookie );
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;
    wxTreeItemId ret = THIS->GetNextChild( *item, realcookie );
    EXTEND( SP, 2 );
    PUSHs( wxPli_non_object_2_sv( aTHX_ sv_newmortal(),
                                  new wxTreeItemId( ret ),
                                  "Wx::TreeItemId" ) );
    PUSHs( sv_2mortal( newSViv( PTR2IV( realcookie ) ) ) );
	PUTBACK;
	return;
    }
}

#else
#define XSubPPtmpAADS 1


XS_EUPXS(XS_Wx__TreeCtrl_GetNextChild); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_GetNextChild)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, item, cookie");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" )
;
	long	cookie = (long)SvIV(ST(2))
;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;
    wxTreeItemId ret = THIS->GetNextChild( *item, cookie );
    EXTEND( SP, 2 );
    PUSHs( wxPli_non_object_2_sv( aTHX_ sv_newmortal(),
                                  new wxTreeItemId( ret ),
                                  "Wx::TreeItemId" ) );
    PUSHs( sv_2mortal( newSViv( cookie ) ) );
	PUTBACK;
	return;
    }
}

#endif

XS_EUPXS(XS_Wx__TreeCtrl_GetNextSibling); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_GetNextSibling)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" )
;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;
	wxTreeItemId *	RETVAL;
    RETVAL = new wxTreeItemId( THIS->GetNextSibling( *item ) );
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TreeItemId" );
    wxPli_thread_sv_register( aTHX_ "Wx::TreeItemId", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeCtrl_GetNextVisible); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_GetNextVisible)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" )
;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;
	wxTreeItemId *	RETVAL;
    RETVAL = new wxTreeItemId( THIS->GetNextVisible( *item ) );
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TreeItemId" );
    wxPli_thread_sv_register( aTHX_ "Wx::TreeItemId", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeCtrl_GetParent); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_GetParent)
{
    dVAR; dXSARGS;
    if (items < 1)
       croak_xs_usage(cv,  "THIS, ...");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;
    BEGIN_OVERLOAD()
        MATCH_VOIDM_REDISP( Wx::Window::GetParent )
        MATCH_REDISP( wxPliOvl_wtid, GetItemParent )
    END_OVERLOAD( Wx::TreeCtrl::GetParent )
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__TreeCtrl_GetItemParent); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_GetItemParent)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" )
;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;
	wxTreeItemId *	RETVAL;
    RETVAL = new wxTreeItemId( 
       THIS->GetItemParent( *item )
     );
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TreeItemId" );
    wxPli_thread_sv_register( aTHX_ "Wx::TreeItemId", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeCtrl_GetPrevSibling); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_GetPrevSibling)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" )
;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;
	wxTreeItemId *	RETVAL;
    RETVAL = new wxTreeItemId( THIS->GetPrevSibling( *item ) );
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TreeItemId" );
    wxPli_thread_sv_register( aTHX_ "Wx::TreeItemId", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeCtrl_GetPrevVisible); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_GetPrevVisible)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" )
;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;
	wxTreeItemId *	RETVAL;
    RETVAL = new wxTreeItemId( THIS->GetPrevVisible( *item ) );
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TreeItemId" );
    wxPli_thread_sv_register( aTHX_ "Wx::TreeItemId", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeCtrl_GetRootItem); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_GetRootItem)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;
	wxTreeItemId *	RETVAL;
    RETVAL = new wxTreeItemId( THIS->GetRootItem() );
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TreeItemId" );
    wxPli_thread_sv_register( aTHX_ "Wx::TreeItemId", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeCtrl_GetSelection); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_GetSelection)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;
	wxTreeItemId *	RETVAL;
    RETVAL = new wxTreeItemId( THIS->GetSelection() );
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TreeItemId" );
    wxPli_thread_sv_register( aTHX_ "Wx::TreeItemId", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeCtrl_GetSelections); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_GetSelections)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
    wxArrayTreeItemIds selections;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;
    size_t num = THIS->GetSelections( selections );
    EXTEND( SP, (IV)num );
    for( size_t i = 0; i < num; ++i )
    {
        PUSHs( wxPli_non_object_2_sv( aTHX_ sv_newmortal(),
                                      new wxTreeItemId( selections[i] ),
                                      "Wx::TreeItemId" ) );
    }
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__TreeCtrl_GetStateImageList); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_GetStateImageList)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;
	wxImageList *	RETVAL;

	RETVAL = THIS->GetStateImageList();
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    wxPli_thread_sv_register( aTHX_ "Wx::ImageList", RETVAL, ST(0) );
    wxPli_object_set_deleteable( aTHX_ ST(0), false );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeCtrl_HitTest); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_HitTest)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, point");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	wxPoint    point = wxPli_sv_2_wxpoint( aTHX_ ST(1) )
;
    int flags;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;
    wxTreeItemId ret = THIS->HitTest( point, flags );
    EXTEND( SP, 2 );
    PUSHs( wxPli_non_object_2_sv( aTHX_ sv_newmortal(),
                                  new wxTreeItemId( ret ),
                                  "Wx::TreeItemId" ) );
    PUSHs( sv_2mortal( newSViv( flags ) ) );
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__TreeCtrl_InsertItem); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_InsertItem)
{
    dVAR; dXSARGS;
    if (items < 1)
       croak_xs_usage(cv,  "THIS, ...");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;
    BEGIN_OVERLOAD()
        MATCH_REDISP_COUNT_ALLOWMORE( wxPliOvl_wtid_wtid_s_n_n, InsertItemPrev, 3 )
        MATCH_REDISP_COUNT_ALLOWMORE( wxPliOvl_wtid_n_s_n_n, InsertItemBef, 3 )
    END_OVERLOAD( Wx::TreeCtrl::InsertItem )
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__TreeCtrl_InsertItemPrev); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_InsertItemPrev)
{
    dVAR; dXSARGS;
    if (items < 4 || items > 7)
       croak_xs_usage(cv,  "THIS, parent, previous, text, image = -1, selImage = -1, data = 0");
    {
	wxTreeItemId*    parent = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" )
;
	wxTreeItemId*    previous = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::TreeItemId" )
;
	wxString	text;
	int	image;
	int	selImage;
	wxTreeItemData*	data;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;
	wxTreeItemId *	RETVAL;

    WXSTRING_INPUT( text, wxString, ST(3) )
;

	if (items < 5)
	    image = -1;
	else {
	    image = (int)SvIV(ST(4))
;
	}

	if (items < 6)
	    selImage = -1;
	else {
	    selImage = (int)SvIV(ST(5))
;
	}

	if (items < 7)
	    data = 0;
	else {
    data = (wxTreeItemData *) wxPli_sv_2_object( aTHX_ ST(6), "Wx::TreeItemData" )
;
	}
    RETVAL = new wxTreeItemId( THIS->InsertItem( *parent, *previous, text,
                image, selImage, data ) );
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TreeItemId" );
    wxPli_thread_sv_register( aTHX_ "Wx::TreeItemId", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeCtrl_InsertItemBef); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_InsertItemBef)
{
    dVAR; dXSARGS;
    if (items < 4 || items > 7)
       croak_xs_usage(cv,  "THIS, parent, before, text, image = -1, selImage = -1, data = 0");
    {
	wxTreeItemId*    parent = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" )
;
	size_t    before = (size_t)SvUV( ST(2) )
;
	wxString	text;
	int	image;
	int	selImage;
	wxTreeItemData*	data;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;
	wxTreeItemId *	RETVAL;

    WXSTRING_INPUT( text, wxString, ST(3) )
;

	if (items < 5)
	    image = -1;
	else {
	    image = (int)SvIV(ST(4))
;
	}

	if (items < 6)
	    selImage = -1;
	else {
	    selImage = (int)SvIV(ST(5))
;
	}

	if (items < 7)
	    data = 0;
	else {
    data = (wxTreeItemData *) wxPli_sv_2_object( aTHX_ ST(6), "Wx::TreeItemData" )
;
	}
    RETVAL = new wxTreeItemId( THIS->InsertItem( *parent, before, text,
                image, selImage, data ) );
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TreeItemId" );
    wxPli_thread_sv_register( aTHX_ "Wx::TreeItemId", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeCtrl_IsBold); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_IsBold)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" )
;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;
	bool	RETVAL;

	RETVAL = THIS->IsBold(*item);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeCtrl_IsExpanded); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_IsExpanded)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" )
;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;
	bool	RETVAL;

	RETVAL = THIS->IsExpanded(*item);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeCtrl_IsSelected); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_IsSelected)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" )
;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;
	bool	RETVAL;

	RETVAL = THIS->IsSelected(*item);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeCtrl_IsVisible); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_IsVisible)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" )
;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;
	bool	RETVAL;

	RETVAL = THIS->IsVisible(*item);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}

#if WXPERL_W_VERSION_GE( 2, 8, 3 )
#define XSubPPtmpAADT 1


XS_EUPXS(XS_Wx__TreeCtrl_IsEmpty); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_IsEmpty)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;
	bool	RETVAL;

	RETVAL = THIS->IsEmpty();
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}

#endif

XS_EUPXS(XS_Wx__TreeCtrl_ItemHasChildren); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_ItemHasChildren)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" )
;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;
	bool	RETVAL;

	RETVAL = THIS->ItemHasChildren(*item);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeCtrl_OnCompareItems); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_OnCompareItems)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, item1, item2");
    {
	wxTreeItemId*    item1 = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" )
;
	wxTreeItemId*    item2 = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::TreeItemId" )
;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;
	int	RETVAL;
	dXSTARG;
    RETVAL = THIS->wxTreeCtrl::OnCompareItems( *item1, *item2 );
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeCtrl_PrependItem); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_PrependItem)
{
    dVAR; dXSARGS;
    if (items < 3 || items > 6)
       croak_xs_usage(cv,  "THIS, parent, text, image = -1, selImage = -1, data = 0");
    {
	wxTreeItemId*    parent = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" )
;
	wxString	text;
	int	image;
	int	selImage;
	wxTreeItemData*	data;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;
	wxTreeItemId *	RETVAL;

    WXSTRING_INPUT( text, wxString, ST(2) )
;

	if (items < 4)
	    image = -1;
	else {
	    image = (int)SvIV(ST(3))
;
	}

	if (items < 5)
	    selImage = -1;
	else {
	    selImage = (int)SvIV(ST(4))
;
	}

	if (items < 6)
	    data = 0;
	else {
    data = (wxTreeItemData *) wxPli_sv_2_object( aTHX_ ST(5), "Wx::TreeItemData" )
;
	}
    RETVAL = new wxTreeItemId( THIS->PrependItem( *parent, text, image,
         selImage, data ) );
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TreeItemId" );
    wxPli_thread_sv_register( aTHX_ "Wx::TreeItemId", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TreeCtrl_ScrollTo); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_ScrollTo)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" )
;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;

	THIS->ScrollTo(*item);
    }
    XSRETURN_EMPTY;
}

#if WXPERL_W_VERSION_GE( 2, 5, 2 )
#define XSubPPtmpAADU 1


XS_EUPXS(XS_Wx__TreeCtrl_SelectItem); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_SelectItem)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 3)
       croak_xs_usage(cv,  "THIS, item, select = true");
    {
	wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" )
;
	bool	select;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;

	if (items < 3)
	    select = true;
	else {
	    select = (bool)SvTRUE(ST(2))
;
	}

	THIS->SelectItem(*item, select);
    }
    XSRETURN_EMPTY;
}

#else
#define XSubPPtmpAADV 1


XS_EUPXS(XS_Wx__TreeCtrl_SelectItem); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_SelectItem)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" )
;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;

	THIS->SelectItem(*item);
    }
    XSRETURN_EMPTY;
}

#endif

XS_EUPXS(XS_Wx__TreeCtrl_SetIndent); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_SetIndent)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, indent");
    {
	int	indent = (int)SvIV(ST(1))
;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;

	THIS->SetIndent(indent);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TreeCtrl_SetImageList); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_SetImageList)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, list");
    {
	wxImageList*    list = (wxImageList *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::ImageList" )
;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;

	THIS->SetImageList(list);
    }
    XSRETURN_EMPTY;
}

#if !defined( __WXMSW__ )
#define XSubPPtmpAADW 1


XS_EUPXS(XS_Wx__TreeCtrl_SetButtonsImageList); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_SetButtonsImageList)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, list");
    {
	wxImageList*    list = (wxImageList *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::ImageList" )
;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;

	THIS->SetButtonsImageList(list);
    }
    XSRETURN_EMPTY;
}

#endif    

XS_EUPXS(XS_Wx__TreeCtrl_SetStateImageList); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_SetStateImageList)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, list");
    {
	wxImageList*    list = (wxImageList *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::ImageList" )
;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;

	THIS->SetStateImageList(list);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TreeCtrl_AssignImageList); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_AssignImageList)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, list");
    {
	wxImageList*    list = (wxImageList *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::ImageList" )
;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;
    wxPli_object_set_deleteable( aTHX_ ST(1), false );
    THIS->AssignImageList( list );
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TreeCtrl_AssignButtonsImageList); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_AssignButtonsImageList)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, list");
    {
	wxImageList*    list = (wxImageList *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::ImageList" )
;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;
    wxPli_object_set_deleteable( aTHX_ ST(1), false );
    THIS->AssignStateImageList( list );
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TreeCtrl_AssignStateImageList); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_AssignStateImageList)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, list");
    {
	wxImageList*    list = (wxImageList *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::ImageList" )
;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;
    wxPli_object_set_deleteable( aTHX_ ST(1), false );
    THIS->AssignStateImageList( list );
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TreeCtrl_SetItemBackgroundColour); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_SetItemBackgroundColour)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, item, col");
    {
	wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" )
;
	wxColour    col = *(wxColour *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Colour" )
;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;

	THIS->SetItemBackgroundColour(*item, col);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TreeCtrl_SetItemBold); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_SetItemBold)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 3)
       croak_xs_usage(cv,  "THIS, item, bold = true");
    {
	wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" )
;
	bool	bold;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;

	if (items < 3)
	    bold = true;
	else {
	    bold = (bool)SvTRUE(ST(2))
;
	}

	THIS->SetItemBold(*item, bold);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TreeCtrl_SetItemData); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_SetItemData)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, item, data");
    {
	wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" )
;
	wxTreeItemData*    data = (wxTreeItemData *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::TreeItemData" )
;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;
    wxTreeItemData* tid = THIS->GetItemData( *item );
    if( tid ) delete tid;
    THIS->SetItemData( *item, data );
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TreeCtrl_SetPlData); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_SetPlData)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, item, data");
    {
	wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" )
;
	SV_null*    data = SvOK( ST(2) ) ? ST(2) : 0
;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;
    wxTreeItemData* tid = THIS->GetItemData( *item );
    if( tid ) delete tid;
    THIS->SetItemData( *item, data ? new wxPliTreeItemData( data ) : 0 );
    }
    XSRETURN_EMPTY;
}

#if defined( __WXMSW__ )
#define XSubPPtmpAADX 1


XS_EUPXS(XS_Wx__TreeCtrl_SetItemDropHighlight); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_SetItemDropHighlight)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 3)
       croak_xs_usage(cv,  "THIS, item, highlight = true");
    {
	wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" )
;
	bool	highlight;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;

	if (items < 3)
	    highlight = true;
	else {
	    highlight = (bool)SvTRUE(ST(2))
;
	}

	THIS->SetItemDropHighlight(*item, highlight);
    }
    XSRETURN_EMPTY;
}

#endif

XS_EUPXS(XS_Wx__TreeCtrl_SetItemFont); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_SetItemFont)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, item, font");
    {
	wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" )
;
	wxFont*    font = (wxFont *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Font" )
;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;

	THIS->SetItemFont(*item, *font);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TreeCtrl_SetItemHasChildren); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_SetItemHasChildren)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 3)
       croak_xs_usage(cv,  "THIS, item, hasChildren = true");
    {
	wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" )
;
	bool	hasChildren;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;

	if (items < 3)
	    hasChildren = true;
	else {
	    hasChildren = (bool)SvTRUE(ST(2))
;
	}

	THIS->SetItemHasChildren(*item, hasChildren);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TreeCtrl_SetItemImage); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_SetItemImage)
{
    dVAR; dXSARGS;
    if (items < 3 || items > 4)
       croak_xs_usage(cv,  "THIS, item, image, which = wxTreeItemIcon_Normal");
    {
	wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" )
;
	int	image = (int)SvIV(ST(2))
;
	wxTreeItemIcon	which;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;

	if (items < 4)
	    which = wxTreeItemIcon_Normal;
	else {
    which = (wxTreeItemIcon)SvUV( ST(3) )
;
	}

	THIS->SetItemImage(*item, image, which);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TreeCtrl_SetItemText); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_SetItemText)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, item, text");
    {
	wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" )
;
	wxString	text;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;

    WXSTRING_INPUT( text, wxString, ST(2) )
;

	THIS->SetItemText(*item, text);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TreeCtrl_SetItemTextColour); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_SetItemTextColour)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, item, col");
    {
	wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" )
;
	wxColour    col = *(wxColour *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Colour" )
;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;

	THIS->SetItemTextColour(*item, col);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TreeCtrl_SortChildren); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_SortChildren)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" )
;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;

	THIS->SortChildren(*item);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TreeCtrl_Toggle); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_Toggle)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" )
;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;

	THIS->Toggle(*item);
    }
    XSRETURN_EMPTY;
}

#if WXPERL_W_VERSION_GE( 2, 5, 3 )
#define XSubPPtmpAADY 1


XS_EUPXS(XS_Wx__TreeCtrl_UnselectItem); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_UnselectItem)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" )
;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;

	THIS->UnselectItem(*item);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TreeCtrl_ToggleItemSelection); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_ToggleItemSelection)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	wxTreeItemId*    item = (wxTreeItemId *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TreeItemId" )
;
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;

	THIS->ToggleItemSelection(*item);
    }
    XSRETURN_EMPTY;
}

#endif

XS_EUPXS(XS_Wx__TreeCtrl_Unselect); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_Unselect)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;

	THIS->Unselect();
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TreeCtrl_UnselectAll); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TreeCtrl_UnselectAll)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTreeCtrl *    THIS = (wxTreeCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TreeCtrl" )
;

	THIS->UnselectAll();
    }
    XSRETURN_EMPTY;
}


/* INCLUDE: Returning to 'XS/ToggleButton.xs' from 'XS/TreeCtrl.xs' */

#if wxPERL_USE_TOGGLEBTN
#include <wx/tglbtn.h>
#define XSubPPtmpAADZ 1


XS_EUPXS(XS_Wx__ToggleButton_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ToggleButton_new)
{
    dVAR; dXSARGS;
    PERL_UNUSED_VAR(cv); /* -W */
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
    BEGIN_OVERLOAD()
        MATCH_VOIDM_REDISP( newDefault )
        MATCH_ANY_REDISP( newFull )
    END_OVERLOAD( "Wx::ToggleButton::new" )
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__ToggleButton_newDefault); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ToggleButton_newDefault)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "CLASS");
    {
	PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) )
;
	wxToggleButton *	RETVAL;
    RETVAL = new wxToggleButton();
    wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ToggleButton_newFull); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ToggleButton_newFull)
{
    dVAR; dXSARGS;
    if (items < 4 || items > 9)
       croak_xs_usage(cv,  "CLASS, parent, id, label, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, validator = (wxValidator*)&wxDefaultValidator, name = wxCheckBoxNameStr");
    {
	PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) )
;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	wxString	label;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxValidator*	validator;
	wxString	name;
	wxToggleButton *	RETVAL;

    WXSTRING_INPUT( label, wxString, ST(3) )
;

	if (items < 5)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(5) )
;
	}

	if (items < 7)
	    style = 0;
	else {
	    style = (long)SvIV(ST(6))
;
	}

	if (items < 8)
	    validator = (wxValidator*)&wxDefaultValidator;
	else {
    validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" )
;
	}

	if (items < 9)
	    name = wxCheckBoxNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(8) )
;
	}
    RETVAL = new wxToggleButton( parent, id, label, pos, size, 
        style, *validator, name );
    wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ToggleButton_Create); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ToggleButton_Create)
{
    dVAR; dXSARGS;
    if (items < 4 || items > 9)
       croak_xs_usage(cv,  "THIS, parent, id, label, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, validator = (wxValidator*)&wxDefaultValidator, name = wxCheckBoxNameStr");
    {
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	wxString	label;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxValidator*	validator;
	wxString	name;
	wxToggleButton *    THIS = (wxToggleButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToggleButton" )
;
	bool	RETVAL;

    WXSTRING_INPUT( label, wxString, ST(3) )
;

	if (items < 5)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(5) )
;
	}

	if (items < 7)
	    style = 0;
	else {
	    style = (long)SvIV(ST(6))
;
	}

	if (items < 8)
	    validator = (wxValidator*)&wxDefaultValidator;
	else {
    validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" )
;
	}

	if (items < 9)
	    name = wxCheckBoxNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(8) )
;
	}

	RETVAL = THIS->Create(parent, id, label, pos, size, style, *validator, name);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ToggleButton_GetValue); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ToggleButton_GetValue)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxToggleButton *    THIS = (wxToggleButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToggleButton" )
;
	bool	RETVAL;

	RETVAL = THIS->GetValue();
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ToggleButton_SetValue); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ToggleButton_SetValue)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, value");
    {
	bool	value = (bool)SvTRUE(ST(1))
;
	wxToggleButton *    THIS = (wxToggleButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToggleButton" )
;

	THIS->SetValue(value);
    }
    XSRETURN_EMPTY;
}

#if WXPERL_W_VERSION_GE( 2, 9, 0 ) && !defined(__WXMSW__)
#define XSubPPtmpAAEA 1


XS_EUPXS(XS_Wx__BitmapToggleButton_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BitmapToggleButton_new)
{
    dVAR; dXSARGS;
    PERL_UNUSED_VAR(cv); /* -W */
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
    BEGIN_OVERLOAD()
        MATCH_VOIDM_REDISP( newDefault )
        MATCH_ANY_REDISP( newFull )
    END_OVERLOAD( "Wx::BitmapToggleButton::new" )
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__BitmapToggleButton_newDefault); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BitmapToggleButton_newDefault)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "CLASS");
    {
	PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) )
;
	wxBitmapToggleButton *	RETVAL;
    RETVAL = new wxBitmapToggleButton();
    wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__BitmapToggleButton_newFull); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BitmapToggleButton_newFull)
{
    dVAR; dXSARGS;
    if (items < 4 || items > 9)
       croak_xs_usage(cv,  "CLASS, parent, id, label, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, validator = (wxValidator*)&wxDefaultValidator, name = wxCheckBoxNameStr");
    {
	PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) )
;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	wxBitmap*    label = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::Bitmap" )
;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxValidator*	validator;
	wxString	name;
	wxBitmapToggleButton *	RETVAL;

	if (items < 5)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(5) )
;
	}

	if (items < 7)
	    style = 0;
	else {
	    style = (long)SvIV(ST(6))
;
	}

	if (items < 8)
	    validator = (wxValidator*)&wxDefaultValidator;
	else {
    validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" )
;
	}

	if (items < 9)
	    name = wxCheckBoxNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(8) )
;
	}
    RETVAL = new wxBitmapToggleButton( parent, id, *label, pos, size, 
                                       style, *validator, name );
    wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__BitmapToggleButton_Create); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BitmapToggleButton_Create)
{
    dVAR; dXSARGS;
    if (items < 4 || items > 9)
       croak_xs_usage(cv,  "THIS, parent, id, label, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, validator = (wxValidator*)&wxDefaultValidator, name = wxCheckBoxNameStr");
    {
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	wxBitmap*    label = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::Bitmap" )
;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxValidator*	validator;
	wxString	name;
	wxBitmapToggleButton *    THIS = (wxBitmapToggleButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BitmapToggleButton" )
;
	bool	RETVAL;

	if (items < 5)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(5) )
;
	}

	if (items < 7)
	    style = 0;
	else {
	    style = (long)SvIV(ST(6))
;
	}

	if (items < 8)
	    validator = (wxValidator*)&wxDefaultValidator;
	else {
    validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" )
;
	}

	if (items < 9)
	    name = wxCheckBoxNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(8) )
;
	}

	RETVAL = THIS->Create(parent, id, *label, pos, size, style, *validator, name);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__BitmapToggleButton_GetValue); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BitmapToggleButton_GetValue)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxBitmapToggleButton *    THIS = (wxBitmapToggleButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BitmapToggleButton" )
;
	bool	RETVAL;

	RETVAL = THIS->GetValue();
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__BitmapToggleButton_SetValue); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__BitmapToggleButton_SetValue)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, value");
    {
	bool	value = (bool)SvTRUE(ST(1))
;
	wxBitmapToggleButton *    THIS = (wxBitmapToggleButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BitmapToggleButton" )
;

	THIS->SetValue(value);
    }
    XSRETURN_EMPTY;
}

#endif
#endif

/* INCLUDE: Returning to 'XS/StaticText.xs' from 'XS/ToggleButton.xs' */

#include <wx/stattext.h>

XS_EUPXS(XS_Wx__StaticText_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__StaticText_new)
{
    dVAR; dXSARGS;
    if (items < 4 || items > 8)
       croak_xs_usage(cv,  "CLASS, parent, id, label, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, name = wxStaticTextNameStr");
    {
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	wxString	label;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxString	name;
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxStaticText *	RETVAL;

    WXSTRING_INPUT( label, wxString, ST(3) )
;

	if (items < 5)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(5) )
;
	}

	if (items < 7)
	    style = 0;
	else {
	    style = (long)SvIV(ST(6))
;
	}

	if (items < 8)
	    name = wxStaticTextNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(7) )
;
	}
    RETVAL = new wxStaticText( parent, id, label,
        pos, size, style, name );
    wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__StaticText_Create); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__StaticText_Create)
{
    dVAR; dXSARGS;
    if (items < 4 || items > 8)
       croak_xs_usage(cv,  "THIS, parent, id, label, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, name = wxStaticTextNameStr");
    {
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	wxString	label;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxString	name;
	wxStaticText *    THIS = (wxStaticText *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::StaticText" )
;
	bool	RETVAL;

    WXSTRING_INPUT( label, wxString, ST(3) )
;

	if (items < 5)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(5) )
;
	}

	if (items < 7)
	    style = 0;
	else {
	    style = (long)SvIV(ST(6))
;
	}

	if (items < 8)
	    name = wxStaticTextNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(7) )
;
	}

	RETVAL = THIS->Create(parent, id, label, pos, size, style, name);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}

#if WXPERL_W_VERSION_GE( 2, 6, 3 )
#define XSubPPtmpAAEB 1


XS_EUPXS(XS_Wx__StaticText_Wrap); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__StaticText_Wrap)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, width");
    {
	int	width = (int)SvIV(ST(1))
;
	wxStaticText *    THIS = (wxStaticText *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::StaticText" )
;

	THIS->Wrap(width);
    }
    XSRETURN_EMPTY;
}

#endif

/* INCLUDE: Returning to 'XS/StaticLine.xs' from 'XS/StaticText.xs' */

#include <wx/statline.h>

XS_EUPXS(XS_Wx__StaticLine_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__StaticLine_new)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 7)
       croak_xs_usage(cv,  "CLASS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = wxLI_HORIZONTAL, name = wxStaticTextNameStr");
    {
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID	id;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxString	name;
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxStaticLine *	RETVAL;

	if (items < 3)
	    id = wxID_ANY;
	else {
    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	}

	if (items < 4)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) )
;
	}

	if (items < 5)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    style = wxLI_HORIZONTAL;
	else {
	    style = (long)SvIV(ST(5))
;
	}

	if (items < 7)
	    name = wxStaticTextNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(6) )
;
	}
    RETVAL = new wxStaticLine( parent, id, pos, size, style, name );
    wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__StaticLine_Create); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__StaticLine_Create)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 7)
       croak_xs_usage(cv,  "THIS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = wxLI_HORIZONTAL, name = wxStaticTextNameStr");
    {
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID	id;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxString	name;
	wxStaticLine *    THIS = (wxStaticLine *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::StaticLine" )
;
	bool	RETVAL;

	if (items < 3)
	    id = wxID_ANY;
	else {
    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	}

	if (items < 4)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) )
;
	}

	if (items < 5)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    style = wxLI_HORIZONTAL;
	else {
	    style = (long)SvIV(ST(5))
;
	}

	if (items < 7)
	    name = wxStaticTextNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(6) )
;
	}

	RETVAL = THIS->Create(parent, id, pos, size, style, name);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__StaticLine_IsVertical); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__StaticLine_IsVertical)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxStaticLine *    THIS = (wxStaticLine *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::StaticLine" )
;
	bool	RETVAL;

	RETVAL = THIS->IsVertical();
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__StaticLine_GetDefaultSize); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__StaticLine_GetDefaultSize)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxStaticLine *    THIS = (wxStaticLine *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::StaticLine" )
;
	int	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetDefaultSize();
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


/* INCLUDE: Returning to 'XS/StaticBox.xs' from 'XS/StaticLine.xs' */

#include <wx/statbox.h>

XS_EUPXS(XS_Wx__StaticBox_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__StaticBox_new)
{
    dVAR; dXSARGS;
    if (items < 4 || items > 8)
       croak_xs_usage(cv,  "CLASS, parent, id, label, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, name = wxStaticBoxNameStr");
    {
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	wxString	label;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxString	name;
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxStaticBox *	RETVAL;

    WXSTRING_INPUT( label, wxString, ST(3) )
;

	if (items < 5)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(5) )
;
	}

	if (items < 7)
	    style = 0;
	else {
	    style = (long)SvIV(ST(6))
;
	}

	if (items < 8)
	    name = wxStaticBoxNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(7) )
;
	}
    RETVAL = new wxStaticBox( parent, id, label, pos, 
        size, style, name );
    wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__StaticBox_Create); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__StaticBox_Create)
{
    dVAR; dXSARGS;
    if (items < 4 || items > 8)
       croak_xs_usage(cv,  "THIS, parent, id, label, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, name = wxStaticBoxNameStr");
    {
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	wxString	label;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxString	name;
	wxStaticBox *    THIS = (wxStaticBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::StaticBox" )
;
	bool	RETVAL;

    WXSTRING_INPUT( label, wxString, ST(3) )
;

	if (items < 5)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(5) )
;
	}

	if (items < 7)
	    style = 0;
	else {
	    style = (long)SvIV(ST(6))
;
	}

	if (items < 8)
	    name = wxStaticBoxNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(7) )
;
	}

	RETVAL = THIS->Create(parent, id, label, pos, size, style, name);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


/* INCLUDE: Returning to 'XS/StaticBitmap.xs' from 'XS/StaticBox.xs' */

#include "cpp/overload.h"
#include <wx/statbmp.h>

XS_EUPXS(XS_Wx__StaticBitmap_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__StaticBitmap_new)
{
    dVAR; dXSARGS;
    if (items < 1)
       croak_xs_usage(cv,  "CLASS, ...");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
    BEGIN_OVERLOAD()
        MATCH_REDISP( wxPliOvl_wwin_n_wico, newIcon )
        MATCH_REDISP( wxPliOvl_wwin_n_wbmp, newBitmap )
    END_OVERLOAD( Wx::StaticBitmap::new )
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__StaticBitmap_newBitmap); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__StaticBitmap_newBitmap)
{
    dVAR; dXSARGS;
    if (items < 4 || items > 8)
       croak_xs_usage(cv,  "cls, parent, id, bitmap, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, name = wxStaticBitmapNameStr");
    {
	SV*	cls = ST(0)
;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	wxBitmap*    bitmap = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::Bitmap" )
;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxString	name;
    const char* CLASS = wxPli_get_class( aTHX_ cls );
	wxStaticBitmap *	RETVAL;

	if (items < 5)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(5) )
;
	}

	if (items < 7)
	    style = 0;
	else {
	    style = (long)SvIV(ST(6))
;
	}

	if (items < 8)
	    name = wxStaticBitmapNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(7) )
;
	}
    RETVAL = new wxStaticBitmap( parent, id, *bitmap, pos, size,
         style, name );
    wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#if !defined(__WXUNIVERSAL__) || defined(__WXPERL_FORCE__)
#define XSubPPtmpAAEC 1


XS_EUPXS(XS_Wx__StaticBitmap_newIcon); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__StaticBitmap_newIcon)
{
    dVAR; dXSARGS;
    if (items < 4 || items > 8)
       croak_xs_usage(cv,  "cls, parent, id, icon, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, name = wxStaticBitmapNameStr");
    {
	SV*	cls = ST(0)
;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	wxIcon*    icon = (wxIcon *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::Icon" )
;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxString	name;
    const char* CLASS = wxPli_get_class( aTHX_ cls );
	wxStaticBitmap *	RETVAL;

	if (items < 5)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(5) )
;
	}

	if (items < 7)
	    style = 0;
	else {
	    style = (long)SvIV(ST(6))
;
	}

	if (items < 8)
	    name = wxStaticBitmapNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(7) )
;
	}
    RETVAL = new wxStaticBitmap( parent, id, *icon, pos, size,
         style, name );
    wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#endif

XS_EUPXS(XS_Wx__StaticBitmap_GetBitmap); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__StaticBitmap_GetBitmap)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxStaticBitmap *    THIS = (wxStaticBitmap *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::StaticBitmap" )
;
	wxBitmap *	RETVAL;
    RETVAL = new wxBitmap( THIS->GetBitmap() );
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    wxPli_thread_sv_register( aTHX_ "Wx::Bitmap", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__StaticBitmap_SetBitmap); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__StaticBitmap_SetBitmap)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, bitmap");
    {
	wxBitmap*    bitmap = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Bitmap" )
;
	wxStaticBitmap *    THIS = (wxStaticBitmap *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::StaticBitmap" )
;

	THIS->SetBitmap(*bitmap);
    }
    XSRETURN_EMPTY;
}

#if !defined(__WXUNIVERSAL__) || defined(__WXPERL_FORCE__)
#define XSubPPtmpAAED 1


XS_EUPXS(XS_Wx__StaticBitmap_GetIcon); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__StaticBitmap_GetIcon)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxStaticBitmap *    THIS = (wxStaticBitmap *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::StaticBitmap" )
;
	wxIcon *	RETVAL;
    RETVAL = new wxIcon( THIS->GetIcon() );
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    wxPli_thread_sv_register( aTHX_ "Wx::Icon", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__StaticBitmap_SetIcon); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__StaticBitmap_SetIcon)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, icon");
    {
	wxIcon*    icon = (wxIcon *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Icon" )
;
	wxStaticBitmap *    THIS = (wxStaticBitmap *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::StaticBitmap" )
;

	THIS->SetIcon(*icon);
    }
    XSRETURN_EMPTY;
}

#endif

/* INCLUDE: Returning to 'XS/SpinCtrl.xs' from 'XS/StaticBitmap.xs' */

#include <wx/spinctrl.h>

XS_EUPXS(XS_Wx__SpinCtrl_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SpinCtrl_new)
{
    dVAR; dXSARGS;
    PERL_UNUSED_VAR(cv); /* -W */
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
    BEGIN_OVERLOAD()
        MATCH_VOIDM_REDISP( newDefault )
        MATCH_ANY_REDISP( newFull )
    END_OVERLOAD( "Wx::SpinCtrl::new" )
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__SpinCtrl_newDefault); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SpinCtrl_newDefault)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "CLASS");
    {
	PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) )
;
	wxSpinCtrl *	RETVAL;
    RETVAL = new wxSpinCtrl();
    wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__SpinCtrl_newFull); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SpinCtrl_newFull)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 11)
       croak_xs_usage(cv,  "CLASS, parent, id = wxID_ANY, value = wxEmptyString, pos = wxDefaultPosition, size = wxDefaultSize, style = wxSP_ARROW_KEYS, min = 0, max = 100, initial = 0, name = wxT(\"spinCtrl\")");
    {
	PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) )
;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID	id;
	wxString	value;
	wxPoint	pos;
	wxSize	size;
	long	style;
	int	min;
	int	max;
	int	initial;
	wxString	name;
	wxSpinCtrl *	RETVAL;

	if (items < 3)
	    id = wxID_ANY;
	else {
    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	}

	if (items < 4)
	    value = wxEmptyString;
	else {
    WXSTRING_INPUT( value, wxString, ST(3) )
;
	}

	if (items < 5)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(5) )
;
	}

	if (items < 7)
	    style = wxSP_ARROW_KEYS;
	else {
	    style = (long)SvIV(ST(6))
;
	}

	if (items < 8)
	    min = 0;
	else {
	    min = (int)SvIV(ST(7))
;
	}

	if (items < 9)
	    max = 100;
	else {
	    max = (int)SvIV(ST(8))
;
	}

	if (items < 10)
	    initial = 0;
	else {
	    initial = (int)SvIV(ST(9))
;
	}

	if (items < 11)
	    name = wxT("spinCtrl");
	else {
    WXSTRING_INPUT( name, wxString, ST(10) )
;
	}
    RETVAL = new wxSpinCtrl( parent, id, value, pos, size,
        style, min, max, initial, name );
    wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__SpinCtrl_Create); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SpinCtrl_Create)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 11)
       croak_xs_usage(cv,  "THIS, parent, id = wxID_ANY, value = wxEmptyString, pos = wxDefaultPosition, size = wxDefaultSize, style = wxSP_ARROW_KEYS, min = 0, max = 100, initial = 0, name = wxT(\"spinCtrl\")");
    {
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID	id;
	wxString	value;
	wxPoint	pos;
	wxSize	size;
	long	style;
	int	min;
	int	max;
	int	initial;
	wxString	name;
	wxSpinCtrl *    THIS = (wxSpinCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SpinCtrl" )
;
	bool	RETVAL;

	if (items < 3)
	    id = wxID_ANY;
	else {
    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	}

	if (items < 4)
	    value = wxEmptyString;
	else {
    WXSTRING_INPUT( value, wxString, ST(3) )
;
	}

	if (items < 5)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(5) )
;
	}

	if (items < 7)
	    style = wxSP_ARROW_KEYS;
	else {
	    style = (long)SvIV(ST(6))
;
	}

	if (items < 8)
	    min = 0;
	else {
	    min = (int)SvIV(ST(7))
;
	}

	if (items < 9)
	    max = 100;
	else {
	    max = (int)SvIV(ST(8))
;
	}

	if (items < 10)
	    initial = 0;
	else {
	    initial = (int)SvIV(ST(9))
;
	}

	if (items < 11)
	    name = wxT("spinCtrl");
	else {
    WXSTRING_INPUT( name, wxString, ST(10) )
;
	}

	RETVAL = THIS->Create(parent, id, value, pos, size, style, min, max, initial, name);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__SpinCtrl_GetMin); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SpinCtrl_GetMin)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxSpinCtrl *    THIS = (wxSpinCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SpinCtrl" )
;
	int	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetMin();
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__SpinCtrl_GetMax); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SpinCtrl_GetMax)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxSpinCtrl *    THIS = (wxSpinCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SpinCtrl" )
;
	int	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetMax();
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__SpinCtrl_GetValue); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SpinCtrl_GetValue)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxSpinCtrl *    THIS = (wxSpinCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SpinCtrl" )
;
	int	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetValue();
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__SpinCtrl_SetRange); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SpinCtrl_SetRange)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, min, max");
    {
	int	min = (int)SvIV(ST(1))
;
	int	max = (int)SvIV(ST(2))
;
	wxSpinCtrl *    THIS = (wxSpinCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SpinCtrl" )
;

	THIS->SetRange(min, max);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__SpinCtrl_SetValue); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SpinCtrl_SetValue)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, text");
    {
	wxString	text;
	wxSpinCtrl *    THIS = (wxSpinCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SpinCtrl" )
;

    WXSTRING_INPUT( text, wxString, ST(1) )
;

	THIS->SetValue(text);
    }
    XSRETURN_EMPTY;
}

#if !defined(__WXGTK__)
#define XSubPPtmpAAEE 1


XS_EUPXS(XS_Wx__SpinCtrl_SetSelection); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SpinCtrl_SetSelection)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, from, to");
    {
	long	from = (long)SvIV(ST(1))
;
	long	to = (long)SvIV(ST(2))
;
	wxSpinCtrl *    THIS = (wxSpinCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SpinCtrl" )
;

	THIS->SetSelection(from, to);
    }
    XSRETURN_EMPTY;
}

#endif

/* INCLUDE: Returning to 'XS/SpinButton.xs' from 'XS/SpinCtrl.xs' */

#include <wx/spinctrl.h>
#include <wx/spinbutt.h>

XS_EUPXS(XS_Wx__SpinEvent_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SpinEvent_new)
{
    dVAR; dXSARGS;
    if (items < 1 || items > 3)
       croak_xs_usage(cv,  "CLASS, commandType = wxEVT_NULL, id = 0");
    {
	wxEventType	commandType;
	int	id;
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxSpinEvent *	RETVAL;

	if (items < 2)
	    commandType = wxEVT_NULL;
	else {
	    commandType = (wxEventType)SvIV(ST(1))
;
	}

	if (items < 3)
	    id = 0;
	else {
	    id = (int)SvIV(ST(2))
;
	}

	RETVAL = new wxSpinEvent(commandType, id);
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    wxPli_thread_sv_register( aTHX_ "Wx::SpinEvent", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__SpinEvent_GetPosition); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SpinEvent_GetPosition)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxSpinEvent *    THIS = (wxSpinEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SpinEvent" )
;
	int	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetPosition();
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__SpinEvent_SetPosition); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SpinEvent_SetPosition)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, pos");
    {
	int	pos = (int)SvIV(ST(1))
;
	wxSpinEvent *    THIS = (wxSpinEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SpinEvent" )
;

	THIS->SetPosition(pos);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__SpinButton_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SpinButton_new)
{
    dVAR; dXSARGS;
    PERL_UNUSED_VAR(cv); /* -W */
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
    BEGIN_OVERLOAD()
        MATCH_VOIDM_REDISP( newDefault )
        MATCH_ANY_REDISP( newFull )
    END_OVERLOAD( "Wx::SpinButton::new" )
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__SpinButton_newDefault); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SpinButton_newDefault)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "CLASS");
    {
	PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) )
;
	wxSpinButton *	RETVAL;
    RETVAL = new wxSpinButton();
    wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__SpinButton_newFull); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SpinButton_newFull)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 7)
       croak_xs_usage(cv,  "CLASS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = wxSP_HORIZONTAL, name = wxSPIN_BUTTON_NAME");
    {
	PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) )
;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID	id;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxString	name;
	wxSpinButton *	RETVAL;

	if (items < 3)
	    id = wxID_ANY;
	else {
    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	}

	if (items < 4)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) )
;
	}

	if (items < 5)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    style = wxSP_HORIZONTAL;
	else {
	    style = (long)SvIV(ST(5))
;
	}

	if (items < 7)
	    name = wxSPIN_BUTTON_NAME;
	else {
    WXSTRING_INPUT( name, wxString, ST(6) )
;
	}
    RETVAL = new wxSpinButton( parent, id, pos, size, style, name );
    wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__SpinButton_Create); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SpinButton_Create)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 7)
       croak_xs_usage(cv,  "THIS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = wxSP_HORIZONTAL, name = wxSPIN_BUTTON_NAME");
    {
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID	id;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxString	name;
	wxSpinButton *    THIS = (wxSpinButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SpinButton" )
;
	bool	RETVAL;

	if (items < 3)
	    id = wxID_ANY;
	else {
    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	}

	if (items < 4)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) )
;
	}

	if (items < 5)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    style = wxSP_HORIZONTAL;
	else {
	    style = (long)SvIV(ST(5))
;
	}

	if (items < 7)
	    name = wxSPIN_BUTTON_NAME;
	else {
    WXSTRING_INPUT( name, wxString, ST(6) )
;
	}

	RETVAL = THIS->Create(parent, id, pos, size, style, name);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__SpinButton_GetMax); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SpinButton_GetMax)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxSpinButton *    THIS = (wxSpinButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SpinButton" )
;
	int	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetMax();
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__SpinButton_GetMin); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SpinButton_GetMin)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxSpinButton *    THIS = (wxSpinButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SpinButton" )
;
	int	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetMin();
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__SpinButton_GetValue); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SpinButton_GetValue)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxSpinButton *    THIS = (wxSpinButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SpinButton" )
;
	int	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetValue();
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__SpinButton_SetRange); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SpinButton_SetRange)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, min, max");
    {
	int	min = (int)SvIV(ST(1))
;
	int	max = (int)SvIV(ST(2))
;
	wxSpinButton *    THIS = (wxSpinButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SpinButton" )
;

	THIS->SetRange(min, max);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__SpinButton_SetValue); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__SpinButton_SetValue)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, value");
    {
	int	value = (int)SvIV(ST(1))
;
	wxSpinButton *    THIS = (wxSpinButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SpinButton" )
;

	THIS->SetValue(value);
    }
    XSRETURN_EMPTY;
}


/* INCLUDE: Returning to 'XS/Slider.xs' from 'XS/SpinButton.xs' */

#include <wx/slider.h>

XS_EUPXS(XS_Wx__Slider_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Slider_new)
{
    dVAR; dXSARGS;
    PERL_UNUSED_VAR(cv); /* -W */
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
    BEGIN_OVERLOAD()
        MATCH_VOIDM_REDISP( newDefault )
        MATCH_ANY_REDISP( newFull )
    END_OVERLOAD( "Wx::Slider::new" )
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__Slider_newDefault); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Slider_newDefault)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "CLASS");
    {
	PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) )
;
	wxSlider *	RETVAL;
    RETVAL = new wxSlider();
    wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__Slider_newFull); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Slider_newFull)
{
    dVAR; dXSARGS;
    if (items < 6 || items > 11)
       croak_xs_usage(cv,  "CLASS, parent, id, value, minValue, maxValue, pos = wxDefaultPosition, size = wxDefaultSize, style = wxSL_HORIZONTAL, validator = (wxValidator*)&wxDefaultValidator, name = wxSliderNameStr");
    {
	PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) )
;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	int	value = (int)SvIV(ST(3))
;
	int	minValue = (int)SvIV(ST(4))
;
	int	maxValue = (int)SvIV(ST(5))
;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxValidator*	validator;
	wxString	name;
	wxSlider *	RETVAL;

	if (items < 7)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(6) )
;
	}

	if (items < 8)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(7) )
;
	}

	if (items < 9)
	    style = wxSL_HORIZONTAL;
	else {
	    style = (long)SvIV(ST(8))
;
	}

	if (items < 10)
	    validator = (wxValidator*)&wxDefaultValidator;
	else {
    validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(9), "Wx::Validator" )
;
	}

	if (items < 11)
	    name = wxSliderNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(10) )
;
	}
    RETVAL = new wxSlider( parent, id, value, minValue, maxValue,
        pos, size, style, *validator, name );
    wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__Slider_Create); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Slider_Create)
{
    dVAR; dXSARGS;
    if (items < 6 || items > 11)
       croak_xs_usage(cv,  "THIS, parent, id, value, minValue, maxValue, pos = wxDefaultPosition, size = wxDefaultSize, style = wxSL_HORIZONTAL, validator = (wxValidator*)&wxDefaultValidator, name = wxSliderNameStr");
    {
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	int	value = (int)SvIV(ST(3))
;
	int	minValue = (int)SvIV(ST(4))
;
	int	maxValue = (int)SvIV(ST(5))
;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxValidator*	validator;
	wxString	name;
	wxSlider *    THIS = (wxSlider *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Slider" )
;
	bool	RETVAL;

	if (items < 7)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(6) )
;
	}

	if (items < 8)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(7) )
;
	}

	if (items < 9)
	    style = wxSL_HORIZONTAL;
	else {
	    style = (long)SvIV(ST(8))
;
	}

	if (items < 10)
	    validator = (wxValidator*)&wxDefaultValidator;
	else {
    validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(9), "Wx::Validator" )
;
	}

	if (items < 11)
	    name = wxSliderNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(10) )
;
	}

	RETVAL = THIS->Create(parent, id, value, minValue, maxValue, pos, size, style, *validator, name);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}

#if defined( __WXMSW__ ) || defined( __WXPERL_FORCE__ )
#define XSubPPtmpAAEF 1


XS_EUPXS(XS_Wx__Slider_ClearSel); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Slider_ClearSel)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxSlider *    THIS = (wxSlider *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Slider" )
;

	THIS->ClearSel();
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__Slider_ClearTicks); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Slider_ClearTicks)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxSlider *    THIS = (wxSlider *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Slider" )
;

	THIS->ClearTicks();
    }
    XSRETURN_EMPTY;
}

#endif

XS_EUPXS(XS_Wx__Slider_GetLineSize); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Slider_GetLineSize)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxSlider *    THIS = (wxSlider *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Slider" )
;
	int	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetLineSize();
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__Slider_GetMax); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Slider_GetMax)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxSlider *    THIS = (wxSlider *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Slider" )
;
	int	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetMax();
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__Slider_GetMin); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Slider_GetMin)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxSlider *    THIS = (wxSlider *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Slider" )
;
	int	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetMin();
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__Slider_GetPageSize); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Slider_GetPageSize)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxSlider *    THIS = (wxSlider *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Slider" )
;
	int	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetPageSize();
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}

#if defined( __WXMSW__ ) || defined( __WXPERL_FORCE__ )
#define XSubPPtmpAAEG 1


XS_EUPXS(XS_Wx__Slider_GetSelEnd); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Slider_GetSelEnd)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxSlider *    THIS = (wxSlider *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Slider" )
;
	int	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetSelEnd();
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__Slider_GetSelStart); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Slider_GetSelStart)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxSlider *    THIS = (wxSlider *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Slider" )
;
	int	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetSelStart();
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__Slider_GetThumbLength); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Slider_GetThumbLength)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxSlider *    THIS = (wxSlider *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Slider" )
;
	int	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetThumbLength();
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__Slider_GetTickFreq); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Slider_GetTickFreq)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxSlider *    THIS = (wxSlider *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Slider" )
;
	int	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetTickFreq();
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}

#endif

XS_EUPXS(XS_Wx__Slider_GetValue); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Slider_GetValue)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxSlider *    THIS = (wxSlider *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Slider" )
;
	int	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetValue();
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__Slider_SetRange); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Slider_SetRange)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, minValue, maxValue");
    {
	int	minValue = (int)SvIV(ST(1))
;
	int	maxValue = (int)SvIV(ST(2))
;
	wxSlider *    THIS = (wxSlider *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Slider" )
;

	THIS->SetRange(minValue, maxValue);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__Slider_SetTickFreq); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Slider_SetTickFreq)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, n, pos");
    {
	int	n = (int)SvIV(ST(1))
;
	int	pos = (int)SvIV(ST(2))
;
	wxSlider *    THIS = (wxSlider *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Slider" )
;

	THIS->SetTickFreq(n, pos);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__Slider_SetLineSize); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Slider_SetLineSize)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, lineSize");
    {
	int	lineSize = (int)SvIV(ST(1))
;
	wxSlider *    THIS = (wxSlider *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Slider" )
;

	THIS->SetLineSize(lineSize);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__Slider_SetPageSize); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Slider_SetPageSize)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, pageSize");
    {
	int	pageSize = (int)SvIV(ST(1))
;
	wxSlider *    THIS = (wxSlider *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Slider" )
;

	THIS->SetPageSize(pageSize);
    }
    XSRETURN_EMPTY;
}

#if defined( __WXPERL_FORCE__ )
#define XSubPPtmpAAEH 1


XS_EUPXS(XS_Wx__Slider_StartSelection); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Slider_StartSelection)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, startPos, endPos");
    {
	int	startPos = (int)SvIV(ST(1))
;
	int	endPos = (int)SvIV(ST(2))
;
	wxSlider *    THIS = (wxSlider *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Slider" )
;

	THIS->StartSelection(startPos, endPos);
    }
    XSRETURN_EMPTY;
}

#endif
#if defined( __WXMSW__ ) || defined( __WXPERL_FORCE__ )
#define XSubPPtmpAAEI 1


XS_EUPXS(XS_Wx__Slider_SetThumbLength); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Slider_SetThumbLength)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, len");
    {
	int	len = (int)SvIV(ST(1))
;
	wxSlider *    THIS = (wxSlider *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Slider" )
;

	THIS->SetThumbLength(len);
    }
    XSRETURN_EMPTY;
}

#endif

XS_EUPXS(XS_Wx__Slider_SetValue); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Slider_SetValue)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, value");
    {
	int	value = (int)SvIV(ST(1))
;
	wxSlider *    THIS = (wxSlider *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Slider" )
;

	THIS->SetValue(value);
    }
    XSRETURN_EMPTY;
}


/* INCLUDE: Returning to 'XS/ScrollBar.xs' from 'XS/Slider.xs' */

#include <wx/scrolbar.h>

XS_EUPXS(XS_Wx__ScrollBar_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ScrollBar_new)
{
    dVAR; dXSARGS;
    PERL_UNUSED_VAR(cv); /* -W */
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
    BEGIN_OVERLOAD()
        MATCH_VOIDM_REDISP( newDefault )
        MATCH_ANY_REDISP( newFull )
    END_OVERLOAD( "Wx::ScrollBar::new" )
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__ScrollBar_newDefault); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ScrollBar_newDefault)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "CLASS");
    {
	PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) )
;
	wxScrollBar *	RETVAL;
    RETVAL = new wxScrollBar();
    wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ScrollBar_newFull); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ScrollBar_newFull)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 8)
       croak_xs_usage(cv,  "CLASS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = wxSB_HORIZONTAL, validator = (wxValidator*)&wxDefaultValidator, name = wxScrollBarNameStr");
    {
	PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) )
;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID	id;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxValidator*	validator;
	wxString	name;
	wxScrollBar *	RETVAL;

	if (items < 3)
	    id = wxID_ANY;
	else {
    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	}

	if (items < 4)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) )
;
	}

	if (items < 5)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    style = wxSB_HORIZONTAL;
	else {
	    style = (long)SvIV(ST(5))
;
	}

	if (items < 7)
	    validator = (wxValidator*)&wxDefaultValidator;
	else {
    validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(6), "Wx::Validator" )
;
	}

	if (items < 8)
	    name = wxScrollBarNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(7) )
;
	}
    RETVAL = new wxScrollBar( parent, id, pos, size, style, 
        *validator, name );
    wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ScrollBar_Create); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ScrollBar_Create)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 8)
       croak_xs_usage(cv,  "THIS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = wxSB_HORIZONTAL, validator = (wxValidator*)&wxDefaultValidator, name = wxScrollBarNameStr");
    {
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID	id;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxValidator*	validator;
	wxString	name;
	wxScrollBar *    THIS = (wxScrollBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ScrollBar" )
;
	bool	RETVAL;

	if (items < 3)
	    id = wxID_ANY;
	else {
    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	}

	if (items < 4)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) )
;
	}

	if (items < 5)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    style = wxSB_HORIZONTAL;
	else {
	    style = (long)SvIV(ST(5))
;
	}

	if (items < 7)
	    validator = (wxValidator*)&wxDefaultValidator;
	else {
    validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(6), "Wx::Validator" )
;
	}

	if (items < 8)
	    name = wxScrollBarNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(7) )
;
	}

	RETVAL = THIS->Create(parent, id, pos, size, style, *validator, name);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ScrollBar_GetRange); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ScrollBar_GetRange)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxScrollBar *    THIS = (wxScrollBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ScrollBar" )
;
	int	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetRange();
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ScrollBar_GetPageSize); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ScrollBar_GetPageSize)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxScrollBar *    THIS = (wxScrollBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ScrollBar" )
;
	int	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetPageSize();
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ScrollBar_GetThumbPosition); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ScrollBar_GetThumbPosition)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxScrollBar *    THIS = (wxScrollBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ScrollBar" )
;
	int	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetThumbPosition();
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ScrollBar_GetThumbSize); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ScrollBar_GetThumbSize)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxScrollBar *    THIS = (wxScrollBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ScrollBar" )
;
	int	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetThumbSize();
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ScrollBar_SetThumbPosition); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ScrollBar_SetThumbPosition)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, viewStart");
    {
	int	viewStart = (int)SvIV(ST(1))
;
	wxScrollBar *    THIS = (wxScrollBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ScrollBar" )
;

	THIS->SetThumbPosition(viewStart);
    }
    XSRETURN_EMPTY;
}

#if !defined(__WXMAC__) && !defined(__WXMOTIF__)
#define XSubPPtmpAAEJ 1


XS_EUPXS(XS_Wx__ScrollBar_SetPageSize); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ScrollBar_SetPageSize)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, size");
    {
	int	size = (int)SvIV(ST(1))
;
	wxScrollBar *    THIS = (wxScrollBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ScrollBar" )
;

	THIS->SetPageSize(size);
    }
    XSRETURN_EMPTY;
}

#endif

XS_EUPXS(XS_Wx__ScrollBar_SetScrollbar); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ScrollBar_SetScrollbar)
{
    dVAR; dXSARGS;
    if (items < 5 || items > 6)
       croak_xs_usage(cv,  "THIS, position, thumbSize, range, pageSize, refresh = true");
    {
	int	position = (int)SvIV(ST(1))
;
	int	thumbSize = (int)SvIV(ST(2))
;
	int	range = (int)SvIV(ST(3))
;
	int	pageSize = (int)SvIV(ST(4))
;
	bool	refresh;
	wxScrollBar *    THIS = (wxScrollBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ScrollBar" )
;

	if (items < 6)
	    refresh = true;
	else {
	    refresh = (bool)SvTRUE(ST(5))
;
	}

	THIS->SetScrollbar(position, thumbSize, range, pageSize, refresh);
    }
    XSRETURN_EMPTY;
}


/* INCLUDE: Returning to 'XS/RadioButton.xs' from 'XS/ScrollBar.xs' */

#include <wx/radiobut.h>

XS_EUPXS(XS_Wx__RadioButton_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__RadioButton_new)
{
    dVAR; dXSARGS;
    PERL_UNUSED_VAR(cv); /* -W */
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
    BEGIN_OVERLOAD()
        MATCH_VOIDM_REDISP( newDefault )
        MATCH_ANY_REDISP( newFull )
    END_OVERLOAD( "Wx::RadioButton::new" )
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__RadioButton_newDefault); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__RadioButton_newDefault)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "CLASS");
    {
	PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) )
;
	wxRadioButton *	RETVAL;
    RETVAL = new wxRadioButton();
    wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__RadioButton_newFull); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__RadioButton_newFull)
{
    dVAR; dXSARGS;
    if (items < 4 || items > 9)
       croak_xs_usage(cv,  "CLASS, parent, id, label, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, validator = (wxValidator*)&wxDefaultValidator, name = wxRadioButtonNameStr");
    {
	PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) )
;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	wxString	label;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxValidator*	validator;
	wxString	name;
	wxRadioButton *	RETVAL;

    WXSTRING_INPUT( label, wxString, ST(3) )
;

	if (items < 5)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(5) )
;
	}

	if (items < 7)
	    style = 0;
	else {
	    style = (long)SvIV(ST(6))
;
	}

	if (items < 8)
	    validator = (wxValidator*)&wxDefaultValidator;
	else {
    validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" )
;
	}

	if (items < 9)
	    name = wxRadioButtonNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(8) )
;
	}
    RETVAL = new wxRadioButton( parent, id, label, pos, size, 
        style, *validator, name );
    wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__RadioButton_Create); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__RadioButton_Create)
{
    dVAR; dXSARGS;
    if (items < 4 || items > 9)
       croak_xs_usage(cv,  "THIS, parent, id, label, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, validator = (wxValidator*)&wxDefaultValidator, name = wxRadioButtonNameStr");
    {
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	wxString	label;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxValidator*	validator;
	wxString	name;
	wxRadioButton *    THIS = (wxRadioButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RadioButton" )
;
	bool	RETVAL;

    WXSTRING_INPUT( label, wxString, ST(3) )
;

	if (items < 5)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(5) )
;
	}

	if (items < 7)
	    style = 0;
	else {
	    style = (long)SvIV(ST(6))
;
	}

	if (items < 8)
	    validator = (wxValidator*)&wxDefaultValidator;
	else {
    validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" )
;
	}

	if (items < 9)
	    name = wxRadioButtonNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(8) )
;
	}

	RETVAL = THIS->Create(parent, id, label, pos, size, style, *validator, name);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__RadioButton_GetValue); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__RadioButton_GetValue)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxRadioButton *    THIS = (wxRadioButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RadioButton" )
;
	bool	RETVAL;

	RETVAL = THIS->GetValue();
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__RadioButton_SetValue); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__RadioButton_SetValue)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, value");
    {
	bool	value = (bool)SvTRUE(ST(1))
;
	wxRadioButton *    THIS = (wxRadioButton *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RadioButton" )
;

	THIS->SetValue(value);
    }
    XSRETURN_EMPTY;
}


/* INCLUDE: Returning to 'XS/RadioBox.xs' from 'XS/RadioButton.xs' */

#include <wx/radiobox.h>
#include <wx/tooltip.h>

XS_EUPXS(XS_Wx__RadioBox_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__RadioBox_new)
{
    dVAR; dXSARGS;
    PERL_UNUSED_VAR(cv); /* -W */
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
    BEGIN_OVERLOAD()
        MATCH_VOIDM_REDISP( newDefault )
        MATCH_ANY_REDISP( newFull )
    END_OVERLOAD( "Wx::RadioBox::new" )
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__RadioBox_newDefault); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__RadioBox_newDefault)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "CLASS");
    {
	PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) )
;
	wxRadioBox *	RETVAL;
    RETVAL = new wxRadioBox();
    wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__RadioBox_newFull); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__RadioBox_newFull)
{
    dVAR; dXSARGS;
    if (items < 4 || items > 11)
       croak_xs_usage(cv,  "CLASS, parent, id, label, point = wxDefaultPosition, size = wxDefaultSize, choices = 0, majorDimension = 0, style = wxRA_SPECIFY_COLS, validator = (wxValidator*)&wxDefaultValidator, name = wxRadioBoxNameStr");
    {
	PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) )
;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	wxString	label;
	wxPoint	point;
	wxSize	size;
	SV*	choices;
	int	majorDimension;
	long	style;
	wxValidator*	validator;
	wxString	name;
    int n;
    wxString* chs;
	wxRadioBox *	RETVAL;

    WXSTRING_INPUT( label, wxString, ST(3) )
;

	if (items < 5)
	    point = wxDefaultPosition;
	else {
    point = wxPli_sv_2_wxpoint( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(5) )
;
	}

	if (items < 7)
	    choices = 0;
	else {
	    choices = ST(6)
;
	}

	if (items < 8)
	    majorDimension = 0;
	else {
	    majorDimension = (int)SvIV(ST(7))
;
	}

	if (items < 9)
	    style = wxRA_SPECIFY_COLS;
	else {
	    style = (long)SvIV(ST(8))
;
	}

	if (items < 10)
	    validator = (wxValidator*)&wxDefaultValidator;
	else {
    validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(9), "Wx::Validator" )
;
	}

	if (items < 11)
	    name = wxRadioBoxNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(10) )
;
	}
    if( choices )
        n = wxPli_av_2_stringarray( aTHX_ choices, &chs );
    else {
        n = 0;
        chs = 0;
    }

    RETVAL = new wxRadioBox( parent, id, label, point, size,
        n, chs, majorDimension, style, *validator, name );
    wxPli_create_evthandler( aTHX_ RETVAL, CLASS );

    delete[] chs;
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__RadioBox_Create); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__RadioBox_Create)
{
    dVAR; dXSARGS;
    if (items < 4 || items > 11)
       croak_xs_usage(cv,  "THIS, parent, id, label, point = wxDefaultPosition, size = wxDefaultSize, choices = 0, majorDimension = 0, style = wxRA_SPECIFY_COLS, validator = (wxValidator*)&wxDefaultValidator, name = wxRadioBoxNameStr");
    {
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	wxString	label;
	wxPoint	point;
	wxSize	size;
	SV*	choices;
	int	majorDimension;
	long	style;
	wxValidator*	validator;
	wxString	name;
    int n;
    wxString* chs;
	wxRadioBox *    THIS = (wxRadioBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RadioBox" )
;
	bool	RETVAL;

    WXSTRING_INPUT( label, wxString, ST(3) )
;

	if (items < 5)
	    point = wxDefaultPosition;
	else {
    point = wxPli_sv_2_wxpoint( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(5) )
;
	}

	if (items < 7)
	    choices = 0;
	else {
	    choices = ST(6)
;
	}

	if (items < 8)
	    majorDimension = 0;
	else {
	    majorDimension = (int)SvIV(ST(7))
;
	}

	if (items < 9)
	    style = wxRA_SPECIFY_COLS;
	else {
	    style = (long)SvIV(ST(8))
;
	}

	if (items < 10)
	    validator = (wxValidator*)&wxDefaultValidator;
	else {
    validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(9), "Wx::Validator" )
;
	}

	if (items < 11)
	    name = wxRadioBoxNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(10) )
;
	}
    if( choices )
        n = wxPli_av_2_stringarray( aTHX_ choices, &chs );
    else {
        n = 0;
        chs = 0;
    }

    RETVAL = THIS->Create( parent, id, label, point, size,
        n, chs, majorDimension, style, *validator, name );

    delete[] chs;
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__RadioBox_EnableItem); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__RadioBox_EnableItem)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, n, enable");
    {
	int	n = (int)SvIV(ST(1))
;
	bool	enable = (bool)SvTRUE(ST(2))
;
	wxRadioBox *    THIS = (wxRadioBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RadioBox" )
;
    THIS->Enable( n, enable );
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__RadioBox_FindString); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__RadioBox_FindString)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, string");
    {
	wxString	string;
	wxRadioBox *    THIS = (wxRadioBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RadioBox" )
;
	int	RETVAL;
	dXSTARG;

    WXSTRING_INPUT( string, wxString, ST(1) )
;

	RETVAL = THIS->FindString(string);
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}

#if WXPERL_W_VERSION_GE( 2, 7, 2 )
#define XSubPPtmpAAEK 1


XS_EUPXS(XS_Wx__RadioBox_GetColumnCount); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__RadioBox_GetColumnCount)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxRadioBox *    THIS = (wxRadioBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RadioBox" )
;
	unsigned int	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetColumnCount();
	XSprePUSH; PUSHu((UV)RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__RadioBox_GetRowCount); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__RadioBox_GetRowCount)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxRadioBox *    THIS = (wxRadioBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RadioBox" )
;
	unsigned int	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetRowCount();
	XSprePUSH; PUSHu((UV)RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__RadioBox_GetItemFromPoint); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__RadioBox_GetItemFromPoint)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, pt");
    {
	wxPoint    pt = wxPli_sv_2_wxpoint( aTHX_ ST(1) )
;
	wxRadioBox *    THIS = (wxRadioBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RadioBox" )
;
	int	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetItemFromPoint(pt);
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}

#endif

XS_EUPXS(XS_Wx__RadioBox_GetString); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__RadioBox_GetString)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, n");
    {
	int	n = (int)SvIV(ST(1))
;
	wxRadioBox *    THIS = (wxRadioBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RadioBox" )
;
	wxString	RETVAL;

	RETVAL = THIS->GetString(n);
	ST(0) = sv_newmortal();
    WXSTRING_OUTPUT( RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__RadioBox_GetItemLabel); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__RadioBox_GetItemLabel)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, n");
    {
	int	n = (int)SvIV(ST(1))
;
	wxRadioBox *    THIS = (wxRadioBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RadioBox" )
;
	wxString	RETVAL;
    RETVAL = THIS->GetString( n );
	ST(0) = sv_newmortal();
    WXSTRING_OUTPUT( RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__RadioBox_GetSelection); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__RadioBox_GetSelection)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxRadioBox *    THIS = (wxRadioBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RadioBox" )
;
	int	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetSelection();
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__RadioBox_GetStringSelection); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__RadioBox_GetStringSelection)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxRadioBox *    THIS = (wxRadioBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RadioBox" )
;
	wxString	RETVAL;

	RETVAL = THIS->GetStringSelection();
	ST(0) = sv_newmortal();
    WXSTRING_OUTPUT( RETVAL, ST(0) );
    }
    XSRETURN(1);
}

#if WXPERL_W_VERSION_GE( 2, 7, 0 )
#define XSubPPtmpAAEL 1


XS_EUPXS(XS_Wx__RadioBox_IsItemEnabled); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__RadioBox_IsItemEnabled)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	wxRadioBox *    THIS = (wxRadioBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RadioBox" )
;
	bool	RETVAL;
	unsigned int    item = (unsigned int)SvUV( ST(1) )
;

	RETVAL = THIS->IsItemEnabled(item);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__RadioBox_IsItemShown); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__RadioBox_IsItemShown)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	wxRadioBox *    THIS = (wxRadioBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RadioBox" )
;
	bool	RETVAL;
	unsigned int    item = (unsigned int)SvUV( ST(1) )
;

	RETVAL = THIS->IsItemShown(item);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}

#endif

XS_EUPXS(XS_Wx__RadioBox_SetString); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__RadioBox_SetString)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, n, label");
    {
	int	n = (int)SvIV(ST(1))
;
	wxString	label;
	wxRadioBox *    THIS = (wxRadioBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RadioBox" )
;

    WXSTRING_INPUT( label, wxString, ST(2) )
;

	THIS->SetString(n, label);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__RadioBox_SetItemLabel); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__RadioBox_SetItemLabel)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, n, label");
    {
	int	n = (int)SvIV(ST(1))
;
	wxString	label;
	wxRadioBox *    THIS = (wxRadioBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RadioBox" )
;

    WXSTRING_INPUT( label, wxString, ST(2) )
;
    THIS->SetString( n, label );
    }
    XSRETURN_EMPTY;
}

#if wxPERL_USE_TOOLTIPS && WXPERL_W_VERSION_GE( 2, 7, 0 )
#define XSubPPtmpAAEM 1


XS_EUPXS(XS_Wx__RadioBox_SetItemToolTip); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__RadioBox_SetItemToolTip)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, item, text");
    {
	unsigned int    item = (unsigned int)SvUV( ST(1) )
;
	wxString	text;
	wxRadioBox *    THIS = (wxRadioBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RadioBox" )
;

    WXSTRING_INPUT( text, wxString, ST(2) )
;

	THIS->SetItemToolTip(item, text);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__RadioBox_GetItemToolTip); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__RadioBox_GetItemToolTip)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	unsigned int    item = (unsigned int)SvUV( ST(1) )
;
	wxRadioBox *    THIS = (wxRadioBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RadioBox" )
;
	wxToolTip *	RETVAL;

	RETVAL = THIS->GetItemToolTip(item);
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#endif
#if wxPERL_USE_HELP && WXPERL_W_VERSION_GE( 2, 7, 0 )
#define XSubPPtmpAAEN 1


XS_EUPXS(XS_Wx__RadioBox_SetItemHelpText); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__RadioBox_SetItemHelpText)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, item, text");
    {
	unsigned int    item = (unsigned int)SvUV( ST(1) )
;
	wxString	text;
	wxRadioBox *    THIS = (wxRadioBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RadioBox" )
;

    WXSTRING_INPUT( text, wxString, ST(2) )
;

	THIS->SetItemHelpText(item, text);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__RadioBox_GetItemHelpText); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__RadioBox_GetItemHelpText)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	unsigned int    item = (unsigned int)SvUV( ST(1) )
;
	wxRadioBox *    THIS = (wxRadioBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RadioBox" )
;
	wxString	RETVAL;

	RETVAL = THIS->GetItemHelpText(item);
	ST(0) = sv_newmortal();
    WXSTRING_OUTPUT( RETVAL, ST(0) );
    }
    XSRETURN(1);
}

#endif

XS_EUPXS(XS_Wx__RadioBox_SetSelection); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__RadioBox_SetSelection)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, n");
    {
	int	n = (int)SvIV(ST(1))
;
	wxRadioBox *    THIS = (wxRadioBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RadioBox" )
;

	THIS->SetSelection(n);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__RadioBox_SetStringSelection); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__RadioBox_SetStringSelection)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, string");
    {
	wxString	string;
	wxRadioBox *    THIS = (wxRadioBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RadioBox" )
;

    WXSTRING_INPUT( string, wxString, ST(1) )
;

	THIS->SetStringSelection(string);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__RadioBox_ShowItem); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__RadioBox_ShowItem)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, n, show");
    {
	int	n = (int)SvIV(ST(1))
;
	bool	show = (bool)SvTRUE(ST(2))
;
	wxRadioBox *    THIS = (wxRadioBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RadioBox" )
;
    THIS->Show( n, show );
    }
    XSRETURN_EMPTY;
}


/* INCLUDE: Returning to 'XS/Notebook.xs' from 'XS/RadioBox.xs' */

#include <wx/notebook.h>
#if WXPERL_W_VERSION_LT( 2, 6, 0 )
#define wxNotebookNameStr wxT("notebook")
#endif

XS_EUPXS(XS_Wx__NotebookEvent_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__NotebookEvent_new)
{
    dVAR; dXSARGS;
    if (items < 1 || items > 5)
       croak_xs_usage(cv,  "CLASS, eventType = wxEVT_NULL, id = 0, sel = -1, oldSel = -1");
    {
	wxEventType	eventType;
	int	id;
	int	sel;
	int	oldSel;
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxNotebookEvent *	RETVAL;

	if (items < 2)
	    eventType = wxEVT_NULL;
	else {
	    eventType = (wxEventType)SvIV(ST(1))
;
	}

	if (items < 3)
	    id = 0;
	else {
	    id = (int)SvIV(ST(2))
;
	}

	if (items < 4)
	    sel = -1;
	else {
	    sel = (int)SvIV(ST(3))
;
	}

	if (items < 5)
	    oldSel = -1;
	else {
	    oldSel = (int)SvIV(ST(4))
;
	}

	RETVAL = new wxNotebookEvent(eventType, id, sel, oldSel);
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    wxPli_thread_sv_register( aTHX_ "Wx::NotebookEvent", RETVAL, ST(0) );
    }
    XSRETURN(1);
}

#if WXPERL_W_VERSION_LE( 2, 5, 1 )
#define XSubPPtmpAAEO 1


XS_EUPXS(XS_Wx__NotebookEvent_GetOldSelection); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__NotebookEvent_GetOldSelection)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxNotebookEvent *    THIS = (wxNotebookEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::NotebookEvent" )
;
	int	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetOldSelection();
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__NotebookEvent_GetSelection); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__NotebookEvent_GetSelection)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxNotebookEvent *    THIS = (wxNotebookEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::NotebookEvent" )
;
	int	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetSelection();
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__NotebookEvent_SetOldSelection); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__NotebookEvent_SetOldSelection)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, sel");
    {
	int	sel = (int)SvIV(ST(1))
;
	wxNotebookEvent *    THIS = (wxNotebookEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::NotebookEvent" )
;

	THIS->SetOldSelection(sel);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__NotebookEvent_SetSelection); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__NotebookEvent_SetSelection)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, oldSel");
    {
	int	oldSel = (int)SvIV(ST(1))
;
	wxNotebookEvent *    THIS = (wxNotebookEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::NotebookEvent" )
;

	THIS->SetSelection(oldSel);
    }
    XSRETURN_EMPTY;
}

#endif

XS_EUPXS(XS_Wx__Notebook_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Notebook_new)
{
    dVAR; dXSARGS;
    PERL_UNUSED_VAR(cv); /* -W */
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
    BEGIN_OVERLOAD()
        MATCH_VOIDM_REDISP( newDefault )
        MATCH_ANY_REDISP( newFull )
    END_OVERLOAD( "Wx::Notebook::new" )
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__Notebook_newDefault); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Notebook_newDefault)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "CLASS");
    {
	PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) )
;
	wxNotebook *	RETVAL;
    RETVAL = new wxNotebook();
    wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__Notebook_newFull); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Notebook_newFull)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 7)
       croak_xs_usage(cv,  "CLASS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, name = wxNotebookNameStr");
    {
	PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) )
;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID	id;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxString	name;
	wxNotebook *	RETVAL;

	if (items < 3)
	    id = wxID_ANY;
	else {
    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	}

	if (items < 4)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) )
;
	}

	if (items < 5)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    style = 0;
	else {
	    style = (long)SvIV(ST(5))
;
	}

	if (items < 7)
	    name = wxNotebookNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(6) )
;
	}
    RETVAL = new wxNotebook( parent, id, pos, size, style, name );
    wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__Notebook_Create); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Notebook_Create)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 7)
       croak_xs_usage(cv,  "THIS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, name = wxNotebookNameStr");
    {
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID	id;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxString	name;
	wxNotebook *    THIS = (wxNotebook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Notebook" )
;
	bool	RETVAL;

	if (items < 3)
	    id = wxID_ANY;
	else {
    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	}

	if (items < 4)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) )
;
	}

	if (items < 5)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    style = 0;
	else {
	    style = (long)SvIV(ST(5))
;
	}

	if (items < 7)
	    name = wxNotebookNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(6) )
;
	}

	RETVAL = THIS->Create(parent, id, pos, size, style, name);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}

#if WXPERL_W_VERSION_LE( 2, 5, 1 )
#define XSubPPtmpAAEP 1


XS_EUPXS(XS_Wx__Notebook_AddPage); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Notebook_AddPage)
{
    dVAR; dXSARGS;
    if (items < 3 || items > 5)
       croak_xs_usage(cv,  "THIS, page, text, select = false, imageId = -1");
    {
	wxWindow*    page = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxString	text;
	bool	select;
	int	imageId;
	wxNotebook *    THIS = (wxNotebook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Notebook" )
;
	bool	RETVAL;

    WXSTRING_INPUT( text, wxString, ST(2) )
;

	if (items < 4)
	    select = false;
	else {
	    select = (bool)SvTRUE(ST(3))
;
	}

	if (items < 5)
	    imageId = -1;
	else {
	    imageId = (int)SvIV(ST(4))
;
	}

	RETVAL = THIS->AddPage(page, text, select, imageId);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__Notebook_AdvanceSelection); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Notebook_AdvanceSelection)
{
    dVAR; dXSARGS;
    if (items < 1 || items > 2)
       croak_xs_usage(cv,  "THIS, forward = true");
    {
	bool	forward;
	wxNotebook *    THIS = (wxNotebook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Notebook" )
;

	if (items < 2)
	    forward = true;
	else {
	    forward = (bool)SvTRUE(ST(1))
;
	}

	THIS->AdvanceSelection(forward);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__Notebook_DeleteAllPages); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Notebook_DeleteAllPages)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxNotebook *    THIS = (wxNotebook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Notebook" )
;
	bool	RETVAL;

	RETVAL = THIS->DeleteAllPages();
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__Notebook_DeletePage); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Notebook_DeletePage)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, page");
    {
	int	page = (int)SvIV(ST(1))
;
	wxNotebook *    THIS = (wxNotebook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Notebook" )
;
	bool	RETVAL;

	RETVAL = THIS->DeletePage(page);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__Notebook_GetImageList); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Notebook_GetImageList)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxNotebook *    THIS = (wxNotebook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Notebook" )
;
	wxImageList *	RETVAL;

	RETVAL = THIS->GetImageList();
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    wxPli_thread_sv_register( aTHX_ "Wx::ImageList", RETVAL, ST(0) );
    wxPli_object_set_deleteable( aTHX_ ST(0), false );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__Notebook_GetPage); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Notebook_GetPage)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, page");
    {
	int	page = (int)SvIV(ST(1))
;
	wxNotebook *    THIS = (wxNotebook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Notebook" )
;
	wxWindow *	RETVAL;

	RETVAL = THIS->GetPage(page);
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__Notebook_GetPageCount); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Notebook_GetPageCount)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxNotebook *    THIS = (wxNotebook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Notebook" )
;
	int	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetPageCount();
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__Notebook_GetPageImage); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Notebook_GetPageImage)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, page");
    {
	int	page = (int)SvIV(ST(1))
;
	wxNotebook *    THIS = (wxNotebook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Notebook" )
;
	int	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetPageImage(page);
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__Notebook_GetPageText); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Notebook_GetPageText)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, page");
    {
	int	page = (int)SvIV(ST(1))
;
	wxNotebook *    THIS = (wxNotebook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Notebook" )
;
	wxString	RETVAL;

	RETVAL = THIS->GetPageText(page);
	ST(0) = sv_newmortal();
    WXSTRING_OUTPUT( RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__Notebook_GetSelection); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Notebook_GetSelection)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxNotebook *    THIS = (wxNotebook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Notebook" )
;
	int	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetSelection();
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__Notebook_InsertPage); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Notebook_InsertPage)
{
    dVAR; dXSARGS;
    if (items < 4 || items > 6)
       croak_xs_usage(cv,  "THIS, index, page, text, select = false, imageId = -1");
    {
	int	index = (int)SvIV(ST(1))
;
	wxWindow*    page = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Window" )
;
	wxString	text;
	bool	select;
	int	imageId;
	wxNotebook *    THIS = (wxNotebook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Notebook" )
;
	bool	RETVAL;

    WXSTRING_INPUT( text, wxString, ST(3) )
;

	if (items < 5)
	    select = false;
	else {
	    select = (bool)SvTRUE(ST(4))
;
	}

	if (items < 6)
	    imageId = -1;
	else {
	    imageId = (int)SvIV(ST(5))
;
	}

	RETVAL = THIS->InsertPage(index, page, text, select, imageId);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__Notebook_RemovePage); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Notebook_RemovePage)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, page");
    {
	int	page = (int)SvIV(ST(1))
;
	wxNotebook *    THIS = (wxNotebook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Notebook" )
;
	bool	RETVAL;

	RETVAL = THIS->RemovePage(page);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__Notebook_SetImageList); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Notebook_SetImageList)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, imagelist");
    {
	wxImageList*    imagelist = (wxImageList *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::ImageList" )
;
	wxNotebook *    THIS = (wxNotebook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Notebook" )
;

	THIS->SetImageList(imagelist);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__Notebook_SetPageImage); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Notebook_SetPageImage)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, page, image");
    {
	int	page = (int)SvIV(ST(1))
;
	int	image = (int)SvIV(ST(2))
;
	wxNotebook *    THIS = (wxNotebook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Notebook" )
;
	bool	RETVAL;

	RETVAL = THIS->SetPageImage(page, image);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__Notebook_SetPageText); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Notebook_SetPageText)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, page, text");
    {
	int	page = (int)SvIV(ST(1))
;
	wxString	text;
	wxNotebook *    THIS = (wxNotebook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Notebook" )
;
	bool	RETVAL;

    WXSTRING_INPUT( text, wxString, ST(2) )
;

	RETVAL = THIS->SetPageText(page, text);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__Notebook_SetSelection); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Notebook_SetSelection)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, page");
    {
	int	page = (int)SvIV(ST(1))
;
	wxNotebook *    THIS = (wxNotebook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Notebook" )
;
	int	RETVAL;
	dXSTARG;

	RETVAL = THIS->SetSelection(page);
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}

#endif
#if WXPERL_W_VERSION_GE( 2, 5, 2 ) && WXPERL_W_VERSION_LT( 2, 7, 0 )
#define XSubPPtmpAAEQ 1


XS_EUPXS(XS_Wx__Notebook_HitTest); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Notebook_HitTest)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, point");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	wxPoint    point = wxPli_sv_2_wxpoint( aTHX_ ST(1) )
;
    long flags;
    int item;
	wxNotebook *    THIS = (wxNotebook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Notebook" )
;
    item = THIS->HitTest( point, &flags );
    EXTEND( SP, 2 );
    PUSHs( sv_2mortal( newSViv( item ) ) );
    PUSHs( sv_2mortal( newSViv( flags ) ) );
	PUTBACK;
	return;
    }
}

#endif

XS_EUPXS(XS_Wx__Notebook_GetRowCount); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Notebook_GetRowCount)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxNotebook *    THIS = (wxNotebook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Notebook" )
;
	int	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetRowCount();
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}

#if !defined( __WXMOTIF__ ) && !defined( __WXGTK__ ) || \
  defined( __WXPERL_FORCE__ )
#define XSubPPtmpAAER 1


XS_EUPXS(XS_Wx__Notebook_SetPadding); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Notebook_SetPadding)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, padding");
    {
	wxSize    padding = wxPli_sv_2_wxsize( aTHX_ ST(1) )
;
	wxNotebook *    THIS = (wxNotebook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Notebook" )
;

	THIS->SetPadding(padding);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__Notebook_SetPageSize); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Notebook_SetPageSize)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, padding");
    {
	wxSize    padding = wxPli_sv_2_wxsize( aTHX_ ST(1) )
;
	wxNotebook *    THIS = (wxNotebook *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Notebook" )
;

	THIS->SetPageSize(padding);
    }
    XSRETURN_EMPTY;
}

#endif

/* INCLUDE: Returning to 'XS/ListCtrl.xs' from 'XS/Notebook.xs' */

#include <wx/colour.h>
#include <wx/listctrl.h>
#if WXPERL_W_VERSION_LT( 2, 6, 0 )
#define wxListCtrlNameStr wxT("listCtrl")
#endif

XS_EUPXS(XS_Wx__ListEvent_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListEvent_new)
{
    dVAR; dXSARGS;
    if (items < 1 || items > 3)
       croak_xs_usage(cv,  "CLASS, eventType = wxEVT_NULL, id = 0");
    {
	wxEventType	eventType;
	int	id;
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxListEvent *	RETVAL;

	if (items < 2)
	    eventType = wxEVT_NULL;
	else {
	    eventType = (wxEventType)SvIV(ST(1))
;
	}

	if (items < 3)
	    id = 0;
	else {
	    id = (int)SvIV(ST(2))
;
	}

	RETVAL = new wxListEvent(eventType, id);
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    wxPli_thread_sv_register( aTHX_ "Wx::ListEvent", RETVAL, ST(0) );
    }
    XSRETURN(1);
}

#if WXPERL_W_VERSION_GE( 2, 5, 1 )
#define XSubPPtmpAAES 1


XS_EUPXS(XS_Wx__ListEvent_IsEditCancelled); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListEvent_IsEditCancelled)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxListEvent *    THIS = (wxListEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListEvent" )
;
	bool	RETVAL;

	RETVAL = THIS->IsEditCancelled();
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}

#endif

XS_EUPXS(XS_Wx__ListEvent_GetCacheFrom); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListEvent_GetCacheFrom)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxListEvent *    THIS = (wxListEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListEvent" )
;
	long	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetCacheFrom();
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListEvent_GetCacheTo); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListEvent_GetCacheTo)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxListEvent *    THIS = (wxListEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListEvent" )
;
	long	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetCacheTo();
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListEvent_GetIndex); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListEvent_GetIndex)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxListEvent *    THIS = (wxListEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListEvent" )
;
	long	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetIndex();
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListEvent_GetColumn); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListEvent_GetColumn)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxListEvent *    THIS = (wxListEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListEvent" )
;
	int	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetColumn();
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListEvent_GetKeyCode); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListEvent_GetKeyCode)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxListEvent *    THIS = (wxListEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListEvent" )
;
	int	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetKeyCode();
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListEvent_GetPoint); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListEvent_GetPoint)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxListEvent *    THIS = (wxListEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListEvent" )
;
	wxPoint *	RETVAL;
    RETVAL = new wxPoint( THIS->GetPoint() );
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Point" );
    wxPli_thread_sv_register( aTHX_ "Wx::Point", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListEvent_GetLabel); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListEvent_GetLabel)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxListEvent *    THIS = (wxListEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListEvent" )
;
	wxString	RETVAL;

	RETVAL = THIS->GetLabel();
	ST(0) = sv_newmortal();
    WXSTRING_OUTPUT( RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListEvent_GetText); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListEvent_GetText)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxListEvent *    THIS = (wxListEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListEvent" )
;
	wxString	RETVAL;

	RETVAL = THIS->GetText();
	ST(0) = sv_newmortal();
    WXSTRING_OUTPUT( RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListEvent_GetImage); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListEvent_GetImage)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxListEvent *    THIS = (wxListEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListEvent" )
;
	int	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetImage();
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListEvent_GetData); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListEvent_GetData)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxListEvent *    THIS = (wxListEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListEvent" )
;
	long	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetData();
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListEvent_GetMask); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListEvent_GetMask)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxListEvent *    THIS = (wxListEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListEvent" )
;
	long	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetMask();
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListEvent_GetItem); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListEvent_GetItem)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxListEvent *    THIS = (wxListEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListEvent" )
;
	wxListItem *	RETVAL;
    RETVAL = new wxListItem( THIS->GetItem() );
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::ListItem" );
    wxPli_thread_sv_register( aTHX_ "Wx::ListItem", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListItem_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListItem_new)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "CLASS");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxListItem *	RETVAL;

	RETVAL = new wxListItem();
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::ListItem" );
    wxPli_thread_sv_register( aTHX_ "Wx::ListItem", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListItem_CLONE); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListItem_CLONE)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "CLASS");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
    wxPli_thread_sv_clone( aTHX_ CLASS, (wxPliCloneSV)wxPli_detach_object );
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ListItem_DESTROY); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListItem_DESTROY)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxListItem *    THIS = (wxListItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItem" )
;
    wxPli_thread_sv_unregister( aTHX_ "Wx::ListItem", THIS, ST(0) );
    delete THIS;
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ListItem_Clear); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListItem_Clear)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxListItem *    THIS = (wxListItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItem" )
;

	THIS->Clear();
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ListItem_ClearAttributes); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListItem_ClearAttributes)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxListItem *    THIS = (wxListItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItem" )
;

	THIS->ClearAttributes();
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ListItem_SetMask); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListItem_SetMask)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, mask");
    {
	long	mask = (long)SvIV(ST(1))
;
	wxListItem *    THIS = (wxListItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItem" )
;

	THIS->SetMask(mask);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ListItem_SetId); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListItem_SetId)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, id");
    {
	long	id = (long)SvIV(ST(1))
;
	wxListItem *    THIS = (wxListItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItem" )
;

	THIS->SetId(id);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ListItem_SetColumn); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListItem_SetColumn)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, column");
    {
	int	column = (int)SvIV(ST(1))
;
	wxListItem *    THIS = (wxListItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItem" )
;

	THIS->SetColumn(column);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ListItem_SetState); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListItem_SetState)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, state");
    {
	long	state = (long)SvIV(ST(1))
;
	wxListItem *    THIS = (wxListItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItem" )
;

	THIS->SetState(state);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ListItem_SetStateMask); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListItem_SetStateMask)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, stateMask");
    {
	long	stateMask = (long)SvIV(ST(1))
;
	wxListItem *    THIS = (wxListItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItem" )
;

	THIS->SetStateMask(stateMask);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ListItem_SetText); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListItem_SetText)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, text");
    {
	wxString	text;
	wxListItem *    THIS = (wxListItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItem" )
;

    WXSTRING_INPUT( text, wxString, ST(1) )
;

	THIS->SetText(text);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ListItem_SetImage); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListItem_SetImage)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, image");
    {
	int	image = (int)SvIV(ST(1))
;
	wxListItem *    THIS = (wxListItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItem" )
;

	THIS->SetImage(image);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ListItem_SetData); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListItem_SetData)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, data");
    {
	long	data = (long)SvIV(ST(1))
;
	wxListItem *    THIS = (wxListItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItem" )
;

	THIS->SetData(data);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ListItem_SetWidth); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListItem_SetWidth)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, width");
    {
	int	width = (int)SvIV(ST(1))
;
	wxListItem *    THIS = (wxListItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItem" )
;

	THIS->SetWidth(width);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ListItem_SetAlign); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListItem_SetAlign)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, align");
    {
	wxListColumnFormat	align = (wxListColumnFormat)SvIV(ST(1))
;
	wxListItem *    THIS = (wxListItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItem" )
;

	THIS->SetAlign(align);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ListItem_SetTextColour); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListItem_SetTextColour)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, colour");
    {
	wxColour    colour = *(wxColour *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Colour" )
;
	wxListItem *    THIS = (wxListItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItem" )
;

	THIS->SetTextColour(colour);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ListItem_SetBackgroundColour); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListItem_SetBackgroundColour)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, colour");
    {
	wxColour    colour = *(wxColour *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Colour" )
;
	wxListItem *    THIS = (wxListItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItem" )
;

	THIS->SetBackgroundColour(colour);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ListItem_SetFont); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListItem_SetFont)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, font");
    {
	wxFont*    font = (wxFont *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Font" )
;
	wxListItem *    THIS = (wxListItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItem" )
;

	THIS->SetFont(*font);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ListItem_GetMask); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListItem_GetMask)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxListItem *    THIS = (wxListItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItem" )
;
	long	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetMask();
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListItem_GetId); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListItem_GetId)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxListItem *    THIS = (wxListItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItem" )
;
	long	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetId();
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListItem_GetColumn); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListItem_GetColumn)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxListItem *    THIS = (wxListItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItem" )
;
	int	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetColumn();
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListItem_GetState); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListItem_GetState)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxListItem *    THIS = (wxListItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItem" )
;
	long	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetState();
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListItem_GetText); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListItem_GetText)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxListItem *    THIS = (wxListItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItem" )
;
	wxString	RETVAL;

	RETVAL = THIS->GetText();
	ST(0) = sv_newmortal();
    WXSTRING_OUTPUT( RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListItem_GetImage); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListItem_GetImage)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxListItem *    THIS = (wxListItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItem" )
;
	int	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetImage();
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListItem_GetData); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListItem_GetData)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxListItem *    THIS = (wxListItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItem" )
;
	long	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetData();
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListItem_GetWidth); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListItem_GetWidth)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxListItem *    THIS = (wxListItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItem" )
;
	int	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetWidth();
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListItem_GetAlign); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListItem_GetAlign)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxListItem *    THIS = (wxListItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItem" )
;
	wxListColumnFormat	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetAlign();
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListItem_GetTextColour); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListItem_GetTextColour)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxListItem *    THIS = (wxListItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItem" )
;
	wxColour *	RETVAL;
    RETVAL = new wxColour( THIS->GetTextColour() );
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Colour" );
    wxPli_thread_sv_register( aTHX_ "Wx::Colour", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListItem_GetBackgroundColour); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListItem_GetBackgroundColour)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxListItem *    THIS = (wxListItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItem" )
;
	wxColour *	RETVAL;
    RETVAL = new wxColour( THIS->GetBackgroundColour() );
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Colour" );
    wxPli_thread_sv_register( aTHX_ "Wx::Colour", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListItem_GetFont); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListItem_GetFont)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxListItem *    THIS = (wxListItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItem" )
;
	wxFont *	RETVAL;
    RETVAL = new wxFont( THIS->GetFont() );
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    wxPli_thread_sv_register( aTHX_ "Wx::Font", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListItemAttr_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListItemAttr_new)
{
    dVAR; dXSARGS;
    if (items < 1)
       croak_xs_usage(cv,  "CLASS, ...");
    if (items == 1)
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxListItemAttr *	RETVAL;
      RETVAL = new wxListItemAttr();
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::ListItemAttr" );
    wxPli_thread_sv_register( aTHX_ "Wx::ListItemAttr", RETVAL, ST(0) );
    }
    else if (items == 4)
    {
	wxColour	text;
	wxColour	back;
	wxFont*	font;
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxListItemAttr *	RETVAL;
      text = *(wxColour *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Colour" );
      back = *(wxColour *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Colour" );
      font = (wxFont *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::Font" );
      RETVAL = new wxListItemAttr( text, back, *font );
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::ListItemAttr" );
    wxPli_thread_sv_register( aTHX_ "Wx::ListItemAttr", RETVAL, ST(0) );
    }
    else
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxListItemAttr *	RETVAL;
      croak( "Usage: Wx::ListItemAttr::new(THIS [, text, back, font ] )" );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListItemAttr_CLONE); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListItemAttr_CLONE)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "CLASS");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
    wxPli_thread_sv_clone( aTHX_ CLASS, (wxPliCloneSV)wxPli_detach_object );
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ListItemAttr_DESTROY); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListItemAttr_DESTROY)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxListItemAttr *    THIS = (wxListItemAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItemAttr" )
;
    wxPli_thread_sv_unregister( aTHX_ "Wx::ListItemAttr", THIS, ST(0) );
    delete THIS;
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ListItemAttr_SetTextColour); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListItemAttr_SetTextColour)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, text");
    {
	wxColour    text = *(wxColour *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Colour" )
;
	wxListItemAttr *    THIS = (wxListItemAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItemAttr" )
;

	THIS->SetTextColour(text);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ListItemAttr_SetBackgroundColour); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListItemAttr_SetBackgroundColour)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, back");
    {
	wxColour    back = *(wxColour *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Colour" )
;
	wxListItemAttr *    THIS = (wxListItemAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItemAttr" )
;

	THIS->SetBackgroundColour(back);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ListItemAttr_SetFont); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListItemAttr_SetFont)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, font");
    {
	wxFont*    font = (wxFont *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Font" )
;
	wxListItemAttr *    THIS = (wxListItemAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItemAttr" )
;
    THIS->SetFont( *font );
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ListItemAttr_HasTextColour); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListItemAttr_HasTextColour)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxListItemAttr *    THIS = (wxListItemAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItemAttr" )
;
	bool	RETVAL;

	RETVAL = THIS->HasTextColour();
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListItemAttr_HasBackgroundColour); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListItemAttr_HasBackgroundColour)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxListItemAttr *    THIS = (wxListItemAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItemAttr" )
;
	bool	RETVAL;

	RETVAL = THIS->HasBackgroundColour();
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListItemAttr_HasFont); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListItemAttr_HasFont)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxListItemAttr *    THIS = (wxListItemAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItemAttr" )
;
	bool	RETVAL;

	RETVAL = THIS->HasFont();
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListItemAttr_GetTextColour); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListItemAttr_GetTextColour)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxListItemAttr *    THIS = (wxListItemAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItemAttr" )
;
	wxColour *	RETVAL;
    RETVAL = new wxColour( THIS->GetTextColour() );
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Colour" );
    wxPli_thread_sv_register( aTHX_ "Wx::Colour", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListItemAttr_GetBackgroundColour); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListItemAttr_GetBackgroundColour)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxListItemAttr *    THIS = (wxListItemAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItemAttr" )
;
	wxColour *	RETVAL;
    RETVAL = new wxColour( THIS->GetBackgroundColour() );
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Colour" );
    wxPli_thread_sv_register( aTHX_ "Wx::Colour", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListItemAttr_GetFont); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListItemAttr_GetFont)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxListItemAttr *    THIS = (wxListItemAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListItemAttr" )
;
	wxFont *	RETVAL;
    RETVAL = new wxFont( THIS->GetFont() );
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    wxPli_thread_sv_register( aTHX_ "Wx::Font", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListCtrl_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_new)
{
    dVAR; dXSARGS;
    PERL_UNUSED_VAR(cv); /* -W */
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
    BEGIN_OVERLOAD()
        MATCH_VOIDM_REDISP( newDefault )
        MATCH_ANY_REDISP( newFull )
    END_OVERLOAD( "Wx::ListCtrl::new" )
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__ListCtrl_newDefault); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_newDefault)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "CLASS");
    {
	PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) )
;
	wxListCtrl *	RETVAL;
    RETVAL = new wxPliListCtrl( CLASS );
    wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListCtrl_newFull); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_newFull)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 8)
       croak_xs_usage(cv,  "CLASS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = wxLC_ICON, validator = (wxValidator*)&wxDefaultValidator, name = wxListCtrlNameStr");
    {
	PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) )
;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID	id;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxValidator*	validator;
	wxString	name;
	wxListCtrl *	RETVAL;

	if (items < 3)
	    id = wxID_ANY;
	else {
    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	}

	if (items < 4)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) )
;
	}

	if (items < 5)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    style = wxLC_ICON;
	else {
	    style = (long)SvIV(ST(5))
;
	}

	if (items < 7)
	    validator = (wxValidator*)&wxDefaultValidator;
	else {
    validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(6), "Wx::Validator" )
;
	}

	if (items < 8)
	    name = wxListCtrlNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(7) )
;
	}
    RETVAL = new wxPliListCtrl( CLASS, parent, id, pos, size, style,
        *validator, name );
    wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListCtrl_Create); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_Create)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 8)
       croak_xs_usage(cv,  "THIS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = wxLC_ICON, validator = (wxValidator*)&wxDefaultValidator, name = wxListCtrlNameStr");
    {
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID	id;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxValidator*	validator;
	wxString	name;
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;
	bool	RETVAL;

	if (items < 3)
	    id = wxID_ANY;
	else {
    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	}

	if (items < 4)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) )
;
	}

	if (items < 5)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    style = wxLC_ICON;
	else {
	    style = (long)SvIV(ST(5))
;
	}

	if (items < 7)
	    validator = (wxValidator*)&wxDefaultValidator;
	else {
    validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(6), "Wx::Validator" )
;
	}

	if (items < 8)
	    name = wxListCtrlNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(7) )
;
	}

	RETVAL = THIS->Create(parent, id, pos, size, style, *validator, name);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListCtrl_Arrange); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_Arrange)
{
    dVAR; dXSARGS;
    if (items < 1 || items > 2)
       croak_xs_usage(cv,  "THIS, flag = wxLIST_ALIGN_DEFAULT");
    {
	int	flag;
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;
	bool	RETVAL;

	if (items < 2)
	    flag = wxLIST_ALIGN_DEFAULT;
	else {
	    flag = (int)SvIV(ST(1))
;
	}

	RETVAL = THIS->Arrange(flag);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListCtrl_AssignImageList); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_AssignImageList)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, imagelist, which");
    {
	wxImageList*    imagelist = (wxImageList *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::ImageList" )
;
	int	which = (int)SvIV(ST(2))
;
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;
    wxPli_object_set_deleteable( aTHX_ ST(1), false );
    THIS->AssignImageList( imagelist, which );
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ListCtrl_ClearAll); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_ClearAll)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;

	THIS->ClearAll();
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ListCtrl_DeleteItem); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_DeleteItem)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	long	item = (long)SvIV(ST(1))
;
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;
	bool	RETVAL;

	RETVAL = THIS->DeleteItem(item);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListCtrl_DeleteAllItems); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_DeleteAllItems)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;
	bool	RETVAL;

	RETVAL = THIS->DeleteAllItems();
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListCtrl_DeleteColumn); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_DeleteColumn)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, col");
    {
	int	col = (int)SvIV(ST(1))
;
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;
	bool	RETVAL;

	RETVAL = THIS->DeleteColumn(col);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListCtrl_EditLabel); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_EditLabel)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	long	item = (long)SvIV(ST(1))
;
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;

	THIS->EditLabel(item);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ListCtrl_EnsureVisible); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_EnsureVisible)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	long	item = (long)SvIV(ST(1))
;
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;
	bool	RETVAL;

	RETVAL = THIS->EnsureVisible(item);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListCtrl_FindItem); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_FindItem)
{
    dVAR; dXSARGS;
    if (items < 3 || items > 4)
       croak_xs_usage(cv,  "THIS, start, str, partial = false");
    {
	long	start = (long)SvIV(ST(1))
;
	wxString	str;
	bool	partial;
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;
	long	RETVAL;
	dXSTARG;

    WXSTRING_INPUT( str, wxString, ST(2) )
;

	if (items < 4)
	    partial = false;
	else {
	    partial = (bool)SvTRUE(ST(3))
;
	}
    RETVAL = THIS->FindItem( start, str, partial );
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListCtrl_FindItemData); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_FindItemData)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, start, data");
    {
	long	start = (long)SvIV(ST(1))
;
	wxUIntPtr    data = (wxUIntPtr)SvUV( ST(2) )
;
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;
	long	RETVAL;
	dXSTARG;
    RETVAL = THIS->FindItem( start, data );
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListCtrl_FindItemAtPos); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_FindItemAtPos)
{
    dVAR; dXSARGS;
    if (items != 4)
       croak_xs_usage(cv,  "THIS, start, pt, direction");
    {
	long	start = (long)SvIV(ST(1))
;
	wxPoint    pt = wxPli_sv_2_wxpoint( aTHX_ ST(2) )
;
	int	direction = (int)SvIV(ST(3))
;
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;
	long	RETVAL;
	dXSTARG;
    RETVAL = THIS->FindItem( start, pt, direction );
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListCtrl_GetColumn); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_GetColumn)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, col");
    {
	int	col = (int)SvIV(ST(1))
;
    wxListItem item;
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;
	wxListItem *	RETVAL;
    item.SetMask( wxLIST_MASK_TEXT|wxLIST_MASK_IMAGE|wxLIST_MASK_FORMAT );
    if( THIS->GetColumn( col, item ) )
    {
      RETVAL = new wxListItem( item );
    }
    else
    {
      RETVAL = 0;
    }
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::ListItem" );
    wxPli_thread_sv_register( aTHX_ "Wx::ListItem", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListCtrl_GetColumnCount); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_GetColumnCount)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;
	int	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetColumnCount();
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListCtrl_GetColumnWidth); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_GetColumnWidth)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, col");
    {
	int	col = (int)SvIV(ST(1))
;
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;
	int	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetColumnWidth(col);
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListCtrl_GetCountPerPage); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_GetCountPerPage)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;
	int	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetCountPerPage();
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}

#if defined( __WXMSW__ ) || defined( __WXPERL_FORCE__ )
#define XSubPPtmpAAET 1


XS_EUPXS(XS_Wx__ListCtrl_GetEditControl); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_GetEditControl)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;
	wxTextCtrl *	RETVAL;

	RETVAL = THIS->GetEditControl();
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#endif

XS_EUPXS(XS_Wx__ListCtrl_GetImageList); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_GetImageList)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, which");
    {
	int	which = (int)SvIV(ST(1))
;
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;
	wxImageList *	RETVAL;
    RETVAL = (wxImageList*)THIS->GetImageList( which );
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    wxPli_thread_sv_register( aTHX_ "Wx::ImageList", RETVAL, ST(0) );
    wxPli_object_set_deleteable( aTHX_ ST(0), false );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListCtrl_GetItem); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_GetItem)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 3)
       croak_xs_usage(cv,  "THIS, id, col = -1");
    {
	long	id = (long)SvIV(ST(1))
;
	int	col;
    wxListItem item;
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;
	wxListItem *	RETVAL;

	if (items < 3)
	    col = -1;
	else {
	    col = (int)SvIV(ST(2))
;
	}
    item.SetId( id );
    if( col != -1 ) { item.SetColumn( col ); }
    item.SetMask( wxLIST_MASK_TEXT|wxLIST_MASK_DATA|wxLIST_MASK_IMAGE|
        wxLIST_MASK_STATE );
    if( THIS->GetItem( item ) )
    {
      RETVAL = new wxListItem( item );
    }
    else
    {
      RETVAL = 0;
    }
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::ListItem" );
    wxPli_thread_sv_register( aTHX_ "Wx::ListItem", RETVAL, ST(0) );
    }
    XSRETURN(1);
}

#if WXPERL_W_VERSION_GE( 2, 8, 4 )
#define XSubPPtmpAAEU 1


XS_EUPXS(XS_Wx__ListCtrl_GetItemData); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_GetItemData)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	long	item = (long)SvIV(ST(1))
;
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;
	wxUIntPtr	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetItemData(item);
	XSprePUSH; PUSHu((UV)RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListCtrl_SetItemPtrData); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_SetItemPtrData)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, item, data");
    {
	long	item = (long)SvIV(ST(1))
;
	wxUIntPtr    data = (wxUIntPtr)SvUV( ST(2) )
;
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;
	bool	RETVAL;

	RETVAL = THIS->SetItemPtrData(item, data);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListCtrl_SetItemData); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_SetItemData)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, item, data");
    {
	long	item = (long)SvIV(ST(1))
;
	wxUIntPtr    data = (wxUIntPtr)SvUV( ST(2) )
;
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;
	bool	RETVAL;
    RETVAL = THIS->SetItemPtrData( item, data);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}

#else
#define XSubPPtmpAAEV 1


XS_EUPXS(XS_Wx__ListCtrl_GetItemData); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_GetItemData)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	long	item = (long)SvIV(ST(1))
;
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;
	long	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetItemData(item);
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListCtrl_SetItemData); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_SetItemData)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, item, data");
    {
	long	item = (long)SvIV(ST(1))
;
	long	data = (long)SvIV(ST(2))
;
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;
	bool	RETVAL;

	RETVAL = THIS->SetItemData(item, data);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}

#endif

XS_EUPXS(XS_Wx__ListCtrl_GetItemPosition); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_GetItemPosition)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	long	item = (long)SvIV(ST(1))
;
    wxPoint point;
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;
	wxPoint *	RETVAL;
    if( THIS->GetItemPosition( item, point ) )
    {
      RETVAL = new wxPoint( point );
    }
    else
    {
      RETVAL = 0;
    }
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Point" );
    wxPli_thread_sv_register( aTHX_ "Wx::Point", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListCtrl_GetItemRect); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_GetItemRect)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 3)
       croak_xs_usage(cv,  "THIS, item, code = wxLIST_RECT_BOUNDS");
    {
	long	item = (long)SvIV(ST(1))
;
	int	code;
    wxRect rect;
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;
	wxRect *	RETVAL;

	if (items < 3)
	    code = wxLIST_RECT_BOUNDS;
	else {
	    code = (int)SvIV(ST(2))
;
	}
    if( THIS->GetItemRect( item, rect, code ) )
    {
        RETVAL = new wxRect( rect );
    }
    else
    {
        RETVAL = 0;
    }
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Rect" );
    wxPli_thread_sv_register( aTHX_ "Wx::Rect", RETVAL, ST(0) );
    }
    XSRETURN(1);
}

#if WXPERL_W_VERSION_GE( 2, 7, 2 ) && defined(__WXMSW__)
#define XSubPPtmpAAEW 1


XS_EUPXS(XS_Wx__ListCtrl_GetSubItemRect); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_GetSubItemRect)
{
    dVAR; dXSARGS;
    if (items < 3 || items > 4)
       croak_xs_usage(cv,  "THIS, item, subItem, code = wxLIST_RECT_BOUNDS");
    {
	long	item = (long)SvIV(ST(1))
;
	long	subItem = (long)SvIV(ST(2))
;
	int	code;
    wxRect rect;
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;
	wxRect *	RETVAL;

	if (items < 4)
	    code = wxLIST_RECT_BOUNDS;
	else {
	    code = (int)SvIV(ST(3))
;
	}
    if( THIS->GetSubItemRect( item, subItem, rect, code ) )
    {
        RETVAL = new wxRect( rect );
    }
    else
    {
        RETVAL = 0;
    }
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Rect" );
    wxPli_thread_sv_register( aTHX_ "Wx::Rect", RETVAL, ST(0) );
    }
    XSRETURN(1);
}

#endif

XS_EUPXS(XS_Wx__ListCtrl_GetItemState); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_GetItemState)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, item, stateMask");
    {
	long	item = (long)SvIV(ST(1))
;
	long	stateMask = (long)SvIV(ST(2))
;
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;
	int	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetItemState(item, stateMask);
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListCtrl_GetItemCount); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_GetItemCount)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;
	int	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetItemCount();
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}

#if WXPERL_W_VERSION_LE( 2, 5, 1 )
#define XSubPPtmpAAEX 1


XS_EUPXS(XS_Wx__ListCtrl_GetItemSpacing); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_GetItemSpacing)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, isSmall");
    {
	bool	isSmall = (bool)SvTRUE(ST(1))
;
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;
	int	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetItemSpacing(isSmall);
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}

#else
#define XSubPPtmpAAEY 1


XS_EUPXS(XS_Wx__ListCtrl_GetItemSpacing); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_GetItemSpacing)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;
	wxSize *	RETVAL;
    RETVAL = new wxSize( THIS->GetItemSpacing() );
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Size" );
    wxPli_thread_sv_register( aTHX_ "Wx::Size", RETVAL, ST(0) );
    }
    XSRETURN(1);
}

#endif

XS_EUPXS(XS_Wx__ListCtrl_GetItemText); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_GetItemText)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	long	item = (long)SvIV(ST(1))
;
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;
	wxString	RETVAL;

	RETVAL = THIS->GetItemText(item);
	ST(0) = sv_newmortal();
    WXSTRING_OUTPUT( RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListCtrl_GetItemFont); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_GetItemFont)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	long	item = (long)SvIV(ST(1))
;
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;
	wxFont *	RETVAL;
    RETVAL = new wxFont( THIS->GetItemFont( item ) );
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    wxPli_thread_sv_register( aTHX_ "Wx::Font", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListCtrl_GetItemTextColour); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_GetItemTextColour)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	long	item = (long)SvIV(ST(1))
;
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;
	wxColour *	RETVAL;
    RETVAL = new wxColour( THIS->GetItemTextColour( item ) );
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Colour" );
    wxPli_thread_sv_register( aTHX_ "Wx::Colour", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListCtrl_GetItemBackgroundColour); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_GetItemBackgroundColour)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	long	item = (long)SvIV(ST(1))
;
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;
	wxColour *	RETVAL;
    RETVAL = new wxColour( THIS->GetItemBackgroundColour( item ) );
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Colour" );
    wxPli_thread_sv_register( aTHX_ "Wx::Colour", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListCtrl_SetItemTextColour); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_SetItemTextColour)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, item, colour");
    {
	long	item = (long)SvIV(ST(1))
;
	wxColour*    colour = (wxColour *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Colour" )
;
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;
    THIS->SetItemTextColour( item, *colour );
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ListCtrl_SetItemBackgroundColour); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_SetItemBackgroundColour)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, item, colour");
    {
	long	item = (long)SvIV(ST(1))
;
	wxColour*    colour = (wxColour *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Colour" )
;
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;
    THIS->SetItemBackgroundColour( item, *colour );
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ListCtrl_GetNextItem); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_GetNextItem)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 4)
       croak_xs_usage(cv,  "THIS, item, geometry = wxLIST_NEXT_ALL, state = wxLIST_STATE_DONTCARE");
    {
	long	item = (long)SvIV(ST(1))
;
	int	geometry;
	int	state;
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;
	long	RETVAL;
	dXSTARG;

	if (items < 3)
	    geometry = wxLIST_NEXT_ALL;
	else {
	    geometry = (int)SvIV(ST(2))
;
	}

	if (items < 4)
	    state = wxLIST_STATE_DONTCARE;
	else {
	    state = (int)SvIV(ST(3))
;
	}

	RETVAL = THIS->GetNextItem(item, geometry, state);
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListCtrl_GetSelectedItemCount); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_GetSelectedItemCount)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;
	int	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetSelectedItemCount();
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListCtrl_GetTextColour); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_GetTextColour)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;
	wxColour *	RETVAL;
    RETVAL = new wxColour( THIS->GetTextColour() );
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Colour" );
    wxPli_thread_sv_register( aTHX_ "Wx::Colour", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListCtrl_GetTopItem); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_GetTopItem)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;
	long	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetTopItem();
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}

#if WXPERL_W_VERSION_GE( 2, 5, 1 )
#define XSubPPtmpAAEZ 1


XS_EUPXS(XS_Wx__ListCtrl_GetViewRect); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_GetViewRect)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;
	wxRect *	RETVAL;
    RETVAL = new wxRect( THIS->GetViewRect() );
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Rect" );
    wxPli_thread_sv_register( aTHX_ "Wx::Rect", RETVAL, ST(0) );
    }
    XSRETURN(1);
}

#endif

XS_EUPXS(XS_Wx__ListCtrl_HitTest); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_HitTest)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, point");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	wxPoint    point = wxPli_sv_2_wxpoint( aTHX_ ST(1) )
;
    int flags;
    long item;
#if WXPERL_W_VERSION_GE( 2, 7, 2 )
    long subitem;
#endif
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;
#if WXPERL_W_VERSION_GE( 2, 7, 2 )
    item = THIS->HitTest( point, flags, &subitem );
#else
    item = THIS->HitTest( point, flags );
#endif
    EXTEND( SP, 3 );
    PUSHs( sv_2mortal( newSViv( item ) ) );
    PUSHs( sv_2mortal( newSViv( flags ) ) );
#if WXPERL_W_VERSION_GE( 2, 7, 2 )
    PUSHs( sv_2mortal( newSViv( subitem ) ) );
#endif
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__ListCtrl_InsertColumn); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_InsertColumn)
{
    dVAR; dXSARGS;
    if (items < 1)
       croak_xs_usage(cv,  "THIS, ...");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;
    BEGIN_OVERLOAD()
        MATCH_REDISP( wxPliOvl_n_wlci, InsertColumnInfo )
        MATCH_REDISP_COUNT_ALLOWMORE( wxPliOvl_n_s_n_n, InsertColumnString, 2 )
    END_OVERLOAD( Wx::ListCtrl::InsertColumn )
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__ListCtrl_InsertColumnInfo); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_InsertColumnInfo)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, col, info");
    {
	int	col = (int)SvIV(ST(1))
;
	wxListItem*    info = (wxListItem *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::ListItem" )
;
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;
	long	RETVAL;
	dXSTARG;
    RETVAL = THIS->InsertColumn( col, *info );
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListCtrl_InsertColumnString); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_InsertColumnString)
{
    dVAR; dXSARGS;
    if (items < 3 || items > 5)
       croak_xs_usage(cv,  "THIS, col, heading, format = wxLIST_FORMAT_LEFT, width = -1");
    {
	int	col = (int)SvIV(ST(1))
;
	wxString	heading;
	int	format;
	int	width;
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;
	long	RETVAL;
	dXSTARG;

    WXSTRING_INPUT( heading, wxString, ST(2) )
;

	if (items < 4)
	    format = wxLIST_FORMAT_LEFT;
	else {
	    format = (int)SvIV(ST(3))
;
	}

	if (items < 5)
	    width = -1;
	else {
	    width = (int)SvIV(ST(4))
;
	}
    RETVAL = THIS->InsertColumn( col, heading, format, width );
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListCtrl_InsertItem); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_InsertItem)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, info");
    {
	wxListItem*    info = (wxListItem *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::ListItem" )
;
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;
	long	RETVAL;
	dXSTARG;
    RETVAL = THIS->InsertItem( *info );
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListCtrl_InsertStringItem); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_InsertStringItem)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, index, label");
    {
	long	index = (long)SvIV(ST(1))
;
	wxString	label;
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;
	long	RETVAL;
	dXSTARG;

    WXSTRING_INPUT( label, wxString, ST(2) )
;
    RETVAL = THIS->InsertItem( index, label );
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListCtrl_InsertImageItem); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_InsertImageItem)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, index, image");
    {
	long	index = (long)SvIV(ST(1))
;
	int	image = (int)SvIV(ST(2))
;
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;
	long	RETVAL;
	dXSTARG;
    RETVAL = THIS->InsertItem( index, image );
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListCtrl_InsertImageStringItem); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_InsertImageStringItem)
{
    dVAR; dXSARGS;
    if (items != 4)
       croak_xs_usage(cv,  "THIS, index, label, image");
    {
	long	index = (long)SvIV(ST(1))
;
	wxString	label;
	int	image = (int)SvIV(ST(3))
;
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;
	long	RETVAL;
	dXSTARG;

    WXSTRING_INPUT( label, wxString, ST(2) )
;
    RETVAL = THIS->InsertItem( index, label, image );
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListCtrl_IsVirtual); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_IsVirtual)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;
	bool	RETVAL;

	RETVAL = THIS->IsVirtual();
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListCtrl_RefreshItem); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_RefreshItem)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	long	item = (long)SvIV(ST(1))
;
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;

	THIS->RefreshItem(item);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ListCtrl_RefreshItems); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_RefreshItems)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, itemFrom, itemTo");
    {
	long	itemFrom = (long)SvIV(ST(1))
;
	long	itemTo = (long)SvIV(ST(2))
;
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;

	THIS->RefreshItems(itemFrom, itemTo);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ListCtrl_ScrollList); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_ScrollList)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, dx, dy");
    {
	int	dx = (int)SvIV(ST(1))
;
	int	dy = (int)SvIV(ST(2))
;
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;
	bool	RETVAL;

	RETVAL = THIS->ScrollList(dx, dy);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListCtrl_SetColumn); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_SetColumn)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, col, item");
    {
	int	col = (int)SvIV(ST(1))
;
	wxListItem*    item = (wxListItem *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::ListItem" )
;
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;
	bool	RETVAL;
    RETVAL = THIS->SetColumn( col, *item );
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListCtrl_SetColumnWidth); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_SetColumnWidth)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, col, width");
    {
	int	col = (int)SvIV(ST(1))
;
	int	width = (int)SvIV(ST(2))
;
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;
	bool	RETVAL;

	RETVAL = THIS->SetColumnWidth(col, width);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListCtrl_SetImageList); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_SetImageList)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, imagelist, which");
    {
	wxImageList*    imagelist = (wxImageList *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::ImageList" )
;
	int	which = (int)SvIV(ST(2))
;
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;

	THIS->SetImageList(imagelist, which);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ListCtrl_SetItemCount); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_SetItemCount)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, count");
    {
	long	count = (long)SvIV(ST(1))
;
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;

	THIS->SetItemCount(count);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ListCtrl_SetItem); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_SetItem)
{
    dVAR; dXSARGS;
    if (items < 1)
       croak_xs_usage(cv,  "THIS, ...");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;
    BEGIN_OVERLOAD()
        MATCH_REDISP( wxPliOvl_wlci, SetItemInfo )
        MATCH_REDISP_COUNT_ALLOWMORE( wxPliOvl_n_n_s_n, SetItemString, 3 )
    END_OVERLOAD( Wx::ListCtrl::SetItem )
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__ListCtrl_SetItemInfo); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_SetItemInfo)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, info");
    {
	wxListItem*    info = (wxListItem *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::ListItem" )
;
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;
	bool	RETVAL;
    RETVAL = THIS->SetItem( *info );
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListCtrl_SetItemString); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_SetItemString)
{
    dVAR; dXSARGS;
    if (items < 4 || items > 5)
       croak_xs_usage(cv,  "THIS, index, col, label, image = -1");
    {
	long	index = (long)SvIV(ST(1))
;
	int	col = (int)SvIV(ST(2))
;
	wxString	label;
	int	image;
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;
	bool	RETVAL;

    WXSTRING_INPUT( label, wxString, ST(3) )
;

	if (items < 5)
	    image = -1;
	else {
	    image = (int)SvIV(ST(4))
;
	}
    RETVAL = THIS->SetItem( index, col, label, image );
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListCtrl_SetItemImage); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_SetItemImage)
{
    dVAR; dXSARGS;
    if (items != 4)
       croak_xs_usage(cv,  "THIS, item, image, selImage");
    {
	long	item = (long)SvIV(ST(1))
;
	int	image = (int)SvIV(ST(2))
;
	int	selImage = (int)SvIV(ST(3))
;
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;
	bool	RETVAL;

	RETVAL = THIS->SetItemImage(item, image, selImage);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}

#if WXPERL_W_VERSION_GE( 2, 7, 2 )
#define XSubPPtmpAAFA 1


XS_EUPXS(XS_Wx__ListCtrl_SetItemColumnImage); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_SetItemColumnImage)
{
    dVAR; dXSARGS;
    if (items != 4)
       croak_xs_usage(cv,  "THIS, item, column, image");
    {
	long	item = (long)SvIV(ST(1))
;
	long	column = (long)SvIV(ST(2))
;
	int	image = (int)SvIV(ST(3))
;
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;
	bool	RETVAL;

	RETVAL = THIS->SetItemColumnImage(item, column, image);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}

#endif

XS_EUPXS(XS_Wx__ListCtrl_SetItemPosition); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_SetItemPosition)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, item, pos");
    {
	long	item = (long)SvIV(ST(1))
;
	wxPoint    pos = wxPli_sv_2_wxpoint( aTHX_ ST(2) )
;
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;
	bool	RETVAL;

	RETVAL = THIS->SetItemPosition(item, pos);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListCtrl_SetItemState); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_SetItemState)
{
    dVAR; dXSARGS;
    if (items != 4)
       croak_xs_usage(cv,  "THIS, item, state, stateMask");
    {
	long	item = (long)SvIV(ST(1))
;
	long	state = (long)SvIV(ST(2))
;
	long	stateMask = (long)SvIV(ST(3))
;
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;
	bool	RETVAL;

	RETVAL = THIS->SetItemState(item, state, stateMask);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListCtrl_SetItemText); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_SetItemText)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, item, text");
    {
	long	item = (long)SvIV(ST(1))
;
	wxString	text;
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;

    WXSTRING_INPUT( text, wxString, ST(2) )
;

	THIS->SetItemText(item, text);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ListCtrl_SetItemFont); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_SetItemFont)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, item, font");
    {
	long	item = (long)SvIV(ST(1))
;
	wxFont*    font = (wxFont *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Font" )
;
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;
    THIS->SetItemFont( item, *font );
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ListCtrl_SetSingleStyle); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_SetSingleStyle)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 3)
       croak_xs_usage(cv,  "THIS, style, add = true");
    {
	long	style = (long)SvIV(ST(1))
;
	bool	add;
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;

	if (items < 3)
	    add = true;
	else {
	    add = (bool)SvTRUE(ST(2))
;
	}

	THIS->SetSingleStyle(style, add);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ListCtrl_SetTextColour); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_SetTextColour)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, colour");
    {
	wxColour    colour = *(wxColour *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Colour" )
;
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;

	THIS->SetTextColour(colour);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ListCtrl_SetWindowStyleFlag); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_SetWindowStyleFlag)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, style");
    {
	long	style = (long)SvIV(ST(1))
;
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;

	THIS->SetWindowStyleFlag(style);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ListCtrl_SortItems); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListCtrl_SortItems)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, function");
    {
	SV*	function = ST(1)
;
	wxListCtrl *    THIS = (wxListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListCtrl" )
;
	bool	RETVAL;
    RETVAL = THIS->SortItems( (wxListCtrlCompare)&ListCtrlCompareFn,
                              PTR2IV( function ) );
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListView_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListView_new)
{
    dVAR; dXSARGS;
    PERL_UNUSED_VAR(cv); /* -W */
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
    BEGIN_OVERLOAD()
        MATCH_VOIDM_REDISP( newDefault )
        MATCH_ANY_REDISP( newFull )
    END_OVERLOAD( "Wx::ListView::new" )
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__ListView_newDefault); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListView_newDefault)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "CLASS");
    {
	PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) )
;
	wxListView *	RETVAL;
    RETVAL = new wxPliListView( CLASS );
    wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListView_newFull); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListView_newFull)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 8)
       croak_xs_usage(cv,  "CLASS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = wxLC_REPORT, validator = (wxValidator*)&wxDefaultValidator, name = wxListCtrlNameStr");
    {
	PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) )
;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID	id;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxValidator*	validator;
	wxString	name;
	wxListView *	RETVAL;

	if (items < 3)
	    id = wxID_ANY;
	else {
    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	}

	if (items < 4)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) )
;
	}

	if (items < 5)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    style = wxLC_REPORT;
	else {
	    style = (long)SvIV(ST(5))
;
	}

	if (items < 7)
	    validator = (wxValidator*)&wxDefaultValidator;
	else {
    validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(6), "Wx::Validator" )
;
	}

	if (items < 8)
	    name = wxListCtrlNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(7) )
;
	}
    RETVAL = new wxPliListView( CLASS, parent, id, pos, size, style,
        *validator, name );
    wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListView_Create); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListView_Create)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 8)
       croak_xs_usage(cv,  "THIS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = wxLC_REPORT, validator = (wxValidator*)&wxDefaultValidator, name = wxListCtrlNameStr");
    {
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID	id;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxValidator*	validator;
	wxString	name;
	wxListView *    THIS = (wxListView *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListView" )
;
	bool	RETVAL;

	if (items < 3)
	    id = wxID_ANY;
	else {
    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	}

	if (items < 4)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) )
;
	}

	if (items < 5)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    style = wxLC_REPORT;
	else {
	    style = (long)SvIV(ST(5))
;
	}

	if (items < 7)
	    validator = (wxValidator*)&wxDefaultValidator;
	else {
    validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(6), "Wx::Validator" )
;
	}

	if (items < 8)
	    name = wxListCtrlNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(7) )
;
	}

	RETVAL = THIS->Create(parent, id, pos, size, style, *validator, name);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListView_Select); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListView_Select)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, n, on");
    {
	long	n = (long)SvIV(ST(1))
;
	bool	on = (bool)SvTRUE(ST(2))
;
	wxListView *    THIS = (wxListView *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListView" )
;

	THIS->Select(n, on);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ListView_SetColumnImage); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListView_SetColumnImage)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, col, image");
    {
	int	col = (int)SvIV(ST(1))
;
	int	image = (int)SvIV(ST(2))
;
	wxListView *    THIS = (wxListView *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListView" )
;

	THIS->SetColumnImage(col, image);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ListView_ClearColumnImage); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListView_ClearColumnImage)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, col");
    {
	int	col = (int)SvIV(ST(1))
;
	wxListView *    THIS = (wxListView *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListView" )
;

	THIS->ClearColumnImage(col);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ListView_Focus); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListView_Focus)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, index");
    {
	long	index = (long)SvIV(ST(1))
;
	wxListView *    THIS = (wxListView *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListView" )
;

	THIS->Focus(index);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ListView_GetFocusedItem); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListView_GetFocusedItem)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxListView *    THIS = (wxListView *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListView" )
;
	long	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetFocusedItem();
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListView_GetFirstSelected); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListView_GetFirstSelected)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxListView *    THIS = (wxListView *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListView" )
;
	long	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetFirstSelected();
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListView_GetNextSelected); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListView_GetNextSelected)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	long	item = (long)SvIV(ST(1))
;
	wxListView *    THIS = (wxListView *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListView" )
;
	long	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetNextSelected(item);
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListView_IsSelected); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListView_IsSelected)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, index");
    {
	long	index = (long)SvIV(ST(1))
;
	wxListView *    THIS = (wxListView *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListView" )
;
	bool	RETVAL;

	RETVAL = THIS->IsSelected(index);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


/* INCLUDE: Returning to 'XS/ListBox.xs' from 'XS/ListCtrl.xs' */

#include <wx/listbox.h>

XS_EUPXS(XS_Wx__ListBox_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListBox_new)
{
    dVAR; dXSARGS;
    PERL_UNUSED_VAR(cv); /* -W */
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
    BEGIN_OVERLOAD()
        MATCH_VOIDM_REDISP( newDefault )
        MATCH_ANY_REDISP( newFull )
    END_OVERLOAD( "Wx::ListBox::new" )
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__ListBox_newDefault); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListBox_newDefault)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "CLASS");
    {
	PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) )
;
	wxListBox *	RETVAL;
    RETVAL = new wxListBox();
    wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListBox_newFull); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListBox_newFull)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 9)
       croak_xs_usage(cv,  "CLASS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, choices = 0, style = 0, validator = (wxValidator*)&wxDefaultValidator, name = wxListBoxNameStr");
    {
	PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) )
;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID	id;
	wxPoint	pos;
	wxSize	size;
	SV*	choices;
	long	style;
	wxValidator*	validator;
	wxString	name;
    wxString* chs;
    int n;
	wxListBox *	RETVAL;

	if (items < 3)
	    id = wxID_ANY;
	else {
    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	}

	if (items < 4)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) )
;
	}

	if (items < 5)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    choices = 0;
	else {
	    choices = ST(5)
;
	}

	if (items < 7)
	    style = 0;
	else {
	    style = (long)SvIV(ST(6))
;
	}

	if (items < 8)
	    validator = (wxValidator*)&wxDefaultValidator;
	else {
    validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" )
;
	}

	if (items < 9)
	    name = wxListBoxNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(8) )
;
	}
    if( choices ) 
        n = wxPli_av_2_stringarray( aTHX_ choices, &chs );
    else
    {
        n = 0;
        chs = 0;
    }

    RETVAL = new wxListBox( parent, id, pos, size, n, chs, 
        style, *validator, name );
    wxPli_create_evthandler( aTHX_ RETVAL, CLASS );

    delete[] chs;
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListBox_Create); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListBox_Create)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 9)
       croak_xs_usage(cv,  "THIS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, choices = 0, style = 0, validator = (wxValidator*)&wxDefaultValidator, name = wxListBoxNameStr");
    {
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID	id;
	wxPoint	pos;
	wxSize	size;
	SV*	choices;
	long	style;
	wxValidator*	validator;
	wxString	name;
    wxString* chs;
    int n;
	wxListBox *    THIS = (wxListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListBox" )
;
	bool	RETVAL;

	if (items < 3)
	    id = wxID_ANY;
	else {
    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	}

	if (items < 4)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) )
;
	}

	if (items < 5)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    choices = 0;
	else {
	    choices = ST(5)
;
	}

	if (items < 7)
	    style = 0;
	else {
	    style = (long)SvIV(ST(6))
;
	}

	if (items < 8)
	    validator = (wxValidator*)&wxDefaultValidator;
	else {
    validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" )
;
	}

	if (items < 9)
	    name = wxListBoxNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(8) )
;
	}
    if( choices ) 
        n = wxPli_av_2_stringarray( aTHX_ choices, &chs );
    else
    {
        n = 0;
        chs = 0;
    }

    RETVAL = THIS->Create( parent, id, pos, size, n, chs, 
        style, *validator, name );

    delete[] chs;
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListBox_Deselect); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListBox_Deselect)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, n");
    {
	int	n = (int)SvIV(ST(1))
;
	wxListBox *    THIS = (wxListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListBox" )
;

	THIS->Deselect(n);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ListBox_GetSelections); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListBox_GetSelections)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
    wxArrayInt selections;
	wxListBox *    THIS = (wxListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListBox" )
;
    THIS->GetSelections( selections );
    PUTBACK;
    wxPli_intarray_push( aTHX_ selections );
    SPAGAIN;
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__ListBox_HitTest); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListBox_HitTest)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, point");
    {
	wxPoint    point = wxPli_sv_2_wxpoint( aTHX_ ST(1) )
;
	wxListBox *    THIS = (wxListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListBox" )
;
	int	RETVAL;
	dXSTARG;

	RETVAL = THIS->HitTest(point);
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}

#if WXPERL_W_VERSION_LT( 2, 9, 0 )
#define XSubPPtmpAAFB 1


XS_EUPXS(XS_Wx__ListBox_InsertItems); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListBox_InsertItems)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, items, pos");
    {
	wxArrayString	items;
	int	pos = (int)SvIV(ST(2))
;
	wxListBox *    THIS = (wxListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListBox" )
;

    wxPli_av_2_arraystring( aTHX_ ST(1), & items )
;

	THIS->InsertItems(items, pos);
    }
    XSRETURN_EMPTY;
}

#endif

XS_EUPXS(XS_Wx__ListBox_IsSelected); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListBox_IsSelected)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, n");
    {
	int	n = (int)SvIV(ST(1))
;
	wxListBox *    THIS = (wxListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListBox" )
;
	bool	RETVAL;

	RETVAL = THIS->IsSelected(n);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ListBox_SetSelection); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListBox_SetSelection)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 3)
       croak_xs_usage(cv,  "THIS, n, select = true");
    {
	int	n = (int)SvIV(ST(1))
;
	bool	select;
	wxListBox *    THIS = (wxListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListBox" )
;

	if (items < 3)
	    select = true;
	else {
	    select = (bool)SvTRUE(ST(2))
;
	}

	THIS->SetSelection(n, select);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ListBox_SetStringSelection); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListBox_SetStringSelection)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 3)
       croak_xs_usage(cv,  "THIS, string, select = true");
    {
	wxString	string;
	bool	select;
	wxListBox *    THIS = (wxListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListBox" )
;

    WXSTRING_INPUT( string, wxString, ST(1) )
;

	if (items < 3)
	    select = true;
	else {
	    select = (bool)SvTRUE(ST(2))
;
	}

	THIS->SetStringSelection(string, select);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ListBox_SetFirstItem); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListBox_SetFirstItem)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, n");
    {
	int	n = (int)SvIV(ST(1))
;
	wxListBox *    THIS = (wxListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListBox" )
;

	THIS->SetFirstItem(n);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ListBox_SetFirstItemString); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListBox_SetFirstItemString)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, str");
    {
	wxString	str;
	wxListBox *    THIS = (wxListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListBox" )
;

    WXSTRING_INPUT( str, wxString, ST(1) )
;
    THIS->SetFirstItem( str );
    }
    XSRETURN_EMPTY;
}

#if WXPERL_W_VERSION_LT( 2, 9, 0 )
#define XSubPPtmpAAFC 1


XS_EUPXS(XS_Wx__ListBox_Set); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ListBox_Set)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, choices");
    {
	wxArrayString	choices;
	wxListBox *    THIS = (wxListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ListBox" )
;

    wxPli_av_2_arraystring( aTHX_ ST(1), & choices )
;

	THIS->Set(choices);
    }
    XSRETURN_EMPTY;
}

#endif

/* INCLUDE: Returning to 'XS/Gauge.xs' from 'XS/ListBox.xs' */

#include <wx/gauge.h>

XS_EUPXS(XS_Wx__Gauge_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Gauge_new)
{
    dVAR; dXSARGS;
    PERL_UNUSED_VAR(cv); /* -W */
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
    BEGIN_OVERLOAD()
        MATCH_VOIDM_REDISP( newDefault )
        MATCH_ANY_REDISP( newFull )
    END_OVERLOAD( "Wx::Gauge::new" )
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__Gauge_newDefault); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Gauge_newDefault)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "CLASS");
    {
	PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) )
;
	wxGauge *	RETVAL;
    RETVAL = new wxGauge();
    wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__Gauge_newFull); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Gauge_newFull)
{
    dVAR; dXSARGS;
    if (items < 4 || items > 9)
       croak_xs_usage(cv,  "CLASS, parent, id, range, pos = wxDefaultPosition, size = wxDefaultSize, style = wxGA_HORIZONTAL, validator = (wxValidator*)&wxDefaultValidator, name = wxGaugeNameStr");
    {
	PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) )
;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	int	range = (int)SvIV(ST(3))
;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxValidator*	validator;
	wxString	name;
	wxGauge *	RETVAL;

	if (items < 5)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(5) )
;
	}

	if (items < 7)
	    style = wxGA_HORIZONTAL;
	else {
	    style = (long)SvIV(ST(6))
;
	}

	if (items < 8)
	    validator = (wxValidator*)&wxDefaultValidator;
	else {
    validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" )
;
	}

	if (items < 9)
	    name = wxGaugeNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(8) )
;
	}
    RETVAL = new wxGauge( parent, id, range, pos, size,
        style, *validator, name );
    wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__Gauge_Create); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Gauge_Create)
{
    dVAR; dXSARGS;
    if (items < 4 || items > 9)
       croak_xs_usage(cv,  "THIS, parent, id, range, pos = wxDefaultPosition, size = wxDefaultSize, style = wxGA_HORIZONTAL, validator = (wxValidator*)&wxDefaultValidator, name = wxGaugeNameStr");
    {
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	int	range = (int)SvIV(ST(3))
;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxValidator*	validator;
	wxString	name;
	wxGauge *    THIS = (wxGauge *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Gauge" )
;
	bool	RETVAL;

	if (items < 5)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(5) )
;
	}

	if (items < 7)
	    style = wxGA_HORIZONTAL;
	else {
	    style = (long)SvIV(ST(6))
;
	}

	if (items < 8)
	    validator = (wxValidator*)&wxDefaultValidator;
	else {
    validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" )
;
	}

	if (items < 9)
	    name = wxGaugeNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(8) )
;
	}

	RETVAL = THIS->Create(parent, id, range, pos, size, style, *validator, name);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}

#if defined( __WXMSW__ ) || defined( __WXPERL_FORCE__ )
#define XSubPPtmpAAFD 1


XS_EUPXS(XS_Wx__Gauge_GetBezelFace); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Gauge_GetBezelFace)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxGauge *    THIS = (wxGauge *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Gauge" )
;
	int	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetBezelFace();
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}

#endif

XS_EUPXS(XS_Wx__Gauge_GetRange); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Gauge_GetRange)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxGauge *    THIS = (wxGauge *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Gauge" )
;
	int	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetRange();
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}

#if defined( __WXMSW__ ) || defined( __WXPERL_FORCE__ )
#define XSubPPtmpAAFE 1


XS_EUPXS(XS_Wx__Gauge_GetShadowWidth); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Gauge_GetShadowWidth)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxGauge *    THIS = (wxGauge *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Gauge" )
;
	int	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetShadowWidth();
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}

#endif

XS_EUPXS(XS_Wx__Gauge_GetValue); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Gauge_GetValue)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxGauge *    THIS = (wxGauge *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Gauge" )
;
	int	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetValue();
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}

#if defined( __WXMSW__ ) || defined( __WXPERL_FORCE__ )
#define XSubPPtmpAAFF 1


XS_EUPXS(XS_Wx__Gauge_SetBezelFace); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Gauge_SetBezelFace)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, width");
    {
	int	width = (int)SvIV(ST(1))
;
	wxGauge *    THIS = (wxGauge *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Gauge" )
;

	THIS->SetBezelFace(width);
    }
    XSRETURN_EMPTY;
}

#endif

XS_EUPXS(XS_Wx__Gauge_SetRange); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Gauge_SetRange)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, range");
    {
	int	range = (int)SvIV(ST(1))
;
	wxGauge *    THIS = (wxGauge *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Gauge" )
;

	THIS->SetRange(range);
    }
    XSRETURN_EMPTY;
}

#if defined( __WXMSW__ ) || defined( __WXPERL_FORCE__ )
#define XSubPPtmpAAFG 1


XS_EUPXS(XS_Wx__Gauge_SetShadowWidth); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Gauge_SetShadowWidth)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, width");
    {
	int	width = (int)SvIV(ST(1))
;
	wxGauge *    THIS = (wxGauge *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Gauge" )
;

	THIS->SetShadowWidth(width);
    }
    XSRETURN_EMPTY;
}

#endif

XS_EUPXS(XS_Wx__Gauge_SetValue); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Gauge_SetValue)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, pos");
    {
	int	pos = (int)SvIV(ST(1))
;
	wxGauge *    THIS = (wxGauge *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Gauge" )
;

	THIS->SetValue(pos);
    }
    XSRETURN_EMPTY;
}

#if WXPERL_W_VERSION_GE( 2, 5, 1 )
#define XSubPPtmpAAFH 1


XS_EUPXS(XS_Wx__Gauge_IsVertical); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Gauge_IsVertical)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxGauge *    THIS = (wxGauge *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Gauge" )
;
	bool	RETVAL;

	RETVAL = THIS->IsVertical();
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}

#endif
#if WXPERL_W_VERSION_GE( 2, 7, 1 )
#define XSubPPtmpAAFI 1


XS_EUPXS(XS_Wx__Gauge_Pulse); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Gauge_Pulse)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxGauge *    THIS = (wxGauge *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Gauge" )
;

	THIS->Pulse();
    }
    XSRETURN_EMPTY;
}

#endif

/* INCLUDE: Returning to 'XS/ComboBox.xs' from 'XS/Gauge.xs' */

#include <wx/combobox.h>
#include <wx/textctrl.h>
#include "cpp/overload.h"

XS_EUPXS(XS_Wx__ComboBox_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_new)
{
    dVAR; dXSARGS;
    PERL_UNUSED_VAR(cv); /* -W */
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
    BEGIN_OVERLOAD()
        MATCH_VOIDM_REDISP( newDefault )
        MATCH_ANY_REDISP( newFull )
    END_OVERLOAD( "Wx::ComboBox::new" )
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__ComboBox_newDefault); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_newDefault)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "CLASS");
    {
	PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) )
;
	wxComboBox *	RETVAL;
    RETVAL = new wxComboBox();
    wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ComboBox_newFull); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_newFull)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 10)
       croak_xs_usage(cv,  "CLASS, parent, id = wxID_ANY, value = wxEmptyString, pos = wxDefaultPosition, size = wxDefaultSize, choices = 0, style = 0, validator = (wxValidator*)&wxDefaultValidator, name = wxComboBoxNameStr");
    {
	PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) )
;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID	id;
	wxString	value;
	wxPoint	pos;
	wxSize	size;
	SV*	choices;
	long	style;
	wxValidator*	validator;
	wxString	name;
    wxString* chs = 0;
    int n = 0;
	wxComboBox *	RETVAL;

	if (items < 3)
	    id = wxID_ANY;
	else {
    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	}

	if (items < 4)
	    value = wxEmptyString;
	else {
    WXSTRING_INPUT( value, wxString, ST(3) )
;
	}

	if (items < 5)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(5) )
;
	}

	if (items < 7)
	    choices = 0;
	else {
	    choices = ST(6)
;
	}

	if (items < 8)
	    style = 0;
	else {
	    style = (long)SvIV(ST(7))
;
	}

	if (items < 9)
	    validator = (wxValidator*)&wxDefaultValidator;
	else {
    validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(8), "Wx::Validator" )
;
	}

	if (items < 10)
	    name = wxComboBoxNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(9) )
;
	}
    if( choices != 0 )
        n = wxPli_av_2_stringarray( aTHX_ choices, &chs );
    RETVAL = new wxComboBox( parent, id, value, pos, size, n, chs, 
        style, *validator, name );
    wxPli_create_evthandler( aTHX_ RETVAL, CLASS );

    delete[] chs;
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ComboBox_Create); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_Create)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 10)
       croak_xs_usage(cv,  "THIS, parent, id = wxID_ANY, value = wxEmptyString, pos = wxDefaultPosition, size = wxDefaultSize, choices = 0, style = 0, validator = (wxValidator*)&wxDefaultValidator, name = wxComboBoxNameStr");
    {
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID	id;
	wxString	value;
	wxPoint	pos;
	wxSize	size;
	SV*	choices;
	long	style;
	wxValidator*	validator;
	wxString	name;
    wxString* chs = 0;
    int n = 0;
	wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" )
;
	bool	RETVAL;

	if (items < 3)
	    id = wxID_ANY;
	else {
    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	}

	if (items < 4)
	    value = wxEmptyString;
	else {
    WXSTRING_INPUT( value, wxString, ST(3) )
;
	}

	if (items < 5)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(5) )
;
	}

	if (items < 7)
	    choices = 0;
	else {
	    choices = ST(6)
;
	}

	if (items < 8)
	    style = 0;
	else {
	    style = (long)SvIV(ST(7))
;
	}

	if (items < 9)
	    validator = (wxValidator*)&wxDefaultValidator;
	else {
    validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(8), "Wx::Validator" )
;
	}

	if (items < 10)
	    name = wxComboBoxNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(9) )
;
	}
    if( choices != 0 )
        n = wxPli_av_2_stringarray( aTHX_ choices, &chs );
    RETVAL = THIS->Create( parent, id, value, pos, size, n, chs, 
        style, *validator, name );

    delete[] chs;
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}

#if defined( __WXMAC__ ) || ( defined( __WXGTK__ ) && WXPERL_W_VERSION_LT( 2, 9, 0 ) )
#define WXPERL_IN_COMBOBOX
#define XSubPPtmpAAFJ 1


/* INCLUDE_COMMAND:  Including output of '/usr/bin/perl -pe "s/ItemContainerImmutable/ComboBox/g" XS/ItemContainerImmutable.xs' from 'XS/ComboBox.xs' */

#include <exception>

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)

XS_EUPXS(XS_Wx__ComboBox_GetCount); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_GetCount)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" )
;
	unsigned int	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetCount();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHu((UV)RETVAL );
    }
    XSRETURN(1);
}

#if !defined(WXPERL_IN_COMBOBOX) || WXPERL_W_VERSION_LE( 2, 9, 2 )
#define XSpp_f9ce292b_092569
#define XSubPPtmpAAFK 1


XS_EUPXS(XS_Wx__ComboBox_IsEmpty); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_IsEmpty)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->IsEmpty();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}

#endif

XS_EUPXS(XS_Wx__ComboBox_GetString); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_GetString)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, n");
    {
	wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" )
;
	wxString	RETVAL;
	unsigned int    n = (unsigned int)SvUV( ST(1) )
;
    try {
      RETVAL = THIS->GetString( n );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    WXSTRING_OUTPUT( RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ComboBox_GetStrings); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_GetStrings)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" )
;
    PUTBACK;
    wxPli_stringarray_push( aTHX_ THIS->GetStrings() );
    SPAGAIN;
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__ComboBox_SetString); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_SetString)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, n, s");
    {
	wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" )
;
	unsigned int    n = (unsigned int)SvUV( ST(1) )
;
	wxString	s;

    WXSTRING_INPUT( s, wxString, ST(2) )
;
    try {
      THIS->SetString( n, s );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ComboBox_FindString); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_FindString)
{
    dVAR; dXSARGS;
    if (items < 1)
       croak_xs_usage(cv,  "THIS, ...");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" )
;
	int	RETVAL;
	dXSTARG;
    BEGIN_OVERLOAD()
#if WXPERL_W_VERSION_GE( 2, 7, 2 )
        MATCH_REDISP( wxPliOvl_s_b, FindStringCase )
#endif
        MATCH_REDISP( wxPliOvl_s, FindStringNoCase )
    END_OVERLOAD( Wx::ComboBox::FindString )
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__ComboBox_FindStringNoCase); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_FindStringNoCase)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, s");
    {
	wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" )
;
	int	RETVAL;
	dXSTARG;
	wxString	s;

    WXSTRING_INPUT( s, wxString, ST(1) )
;
    try {
      RETVAL = THIS->FindString( s );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}

#if WXPERL_W_VERSION_GE( 2, 7, 2 )
#define XSpp_f9ce292b_042485
#define XSubPPtmpAAFL 1


XS_EUPXS(XS_Wx__ComboBox_FindStringCase); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_FindStringCase)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 3)
       croak_xs_usage(cv,  "THIS, s, bCase= false");
    {
	wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" )
;
	int	RETVAL;
	dXSTARG;
	wxString	s;
	bool	bCase;

    WXSTRING_INPUT( s, wxString, ST(1) )
;

	if (items < 3)
	    bCase = false;
	else {
	    bCase = (bool)SvTRUE(ST(2))
;
	}
    try {
      RETVAL = THIS->FindString( s, bCase );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}

#endif
#if !defined(WXPERL_IN_COMBOBOX)
#define XSpp_f9ce292b_066387
#define XSubPPtmpAAFM 1


XS_EUPXS(XS_Wx__ComboBox_SetSelection); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_SetSelection)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, n");
    {
	wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" )
;
	int	n = (int)SvIV(ST(1))
;
    try {
      THIS->SetSelection( n );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ComboBox_GetSelection); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_GetSelection)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" )
;
	int	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetSelection();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}

#endif

XS_EUPXS(XS_Wx__ComboBox_SetStringSelection); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_SetStringSelection)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, s");
    {
	wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" )
;
	bool	RETVAL;
	wxString	s;

    WXSTRING_INPUT( s, wxString, ST(1) )
;
    try {
      RETVAL = THIS->SetStringSelection( s );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ComboBox_GetStringSelection); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_GetStringSelection)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" )
;
	wxString	RETVAL;
    try {
      RETVAL = THIS->GetStringSelection();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    WXSTRING_OUTPUT( RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ComboBox_Select); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_Select)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, n");
    {
	wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" )
;
	int	n = (int)SvIV(ST(1))
;
    try {
      THIS->Select( n );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


/* INCLUDE: Returning to 'XS/ComboBox.xs' from '/usr/bin/perl -pe "s/ItemContainerImmutable/ComboBox/g" XS/ItemContainerImmutable.xs' */


/* INCLUDE_COMMAND:  Including output of '/usr/bin/perl -pe "s/ItemContainer/ComboBox/g;s/->(?=[SG]etClientObject)/->wxItemContainer::/" XS/ItemContainer.xs' from 'XS/ComboBox.xs' */

#include <exception>

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)

XS_EUPXS(XS_Wx__ComboBox_Append); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_Append)
{
    dVAR; dXSARGS;
    if (items < 1)
       croak_xs_usage(cv,  "THIS, ...");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" )
;
    BEGIN_OVERLOAD()
        MATCH_REDISP( wxPliOvl_arr_arr, AppendItemsData )
        MATCH_REDISP( wxPliOvl_arr, AppendItems )
        MATCH_REDISP( wxPliOvl_s_s, AppendData )
        MATCH_REDISP( wxPliOvl_s, AppendString )
    END_OVERLOAD( Wx::ComboBox::Append )
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__ComboBox_AppendString); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_AppendString)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" )
;
	wxString	item;

    WXSTRING_INPUT( item, wxString, ST(1) )
;
    try {
      THIS->Append( item );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ComboBox_AppendData); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_AppendData)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, item, data");
    {
	wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" )
;
	wxString	item;
	wxPliUserDataCD*	data;

    WXSTRING_INPUT( item, wxString, ST(1) )
;

    if( SvOK( ST(2) ) )
    {
        data = new wxPliUserDataCD( ST(2) );
    }
    else
        data = 0
;
    try {
      THIS->Append( item, data );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ComboBox_AppendItems); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_AppendItems)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, items");
    {
	wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" )
;
	wxArrayString	items;

    wxPli_av_2_arraystring( aTHX_ ST(1), & items )
;
    try {
      THIS->Append( items );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}

#if WXPERL_W_VERSION_GE( 2, 9, 0 )
#define XSpp_a2ea7434_002741
#define XSubPPtmpAAFN 1


XS_EUPXS(XS_Wx__ComboBox_AppendItemsData); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_AppendItemsData)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, items, data");
    {
	wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" )
;
	wxArrayString	items;
	wxPliUserDataCD**	data;

    wxPli_av_2_arraystring( aTHX_ ST(1), & items )
;

    wxPli_av_2_userdatacdarray( aTHX_ ST(2), & data );
    wxPliArrayGuard<wxPliUserDataCD*> guard_data = data
;
     THIS->Append( items, (wxClientData**)data ); 
    }
    XSRETURN_EMPTY;
}

#endif

XS_EUPXS(XS_Wx__ComboBox_Insert); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_Insert)
{
    dVAR; dXSARGS;
    if (items < 1)
       croak_xs_usage(cv,  "THIS, ...");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" )
;
    BEGIN_OVERLOAD()
        MATCH_REDISP( wxPliOvl_arr_n_arr, InsertItemsData )
        MATCH_REDISP( wxPliOvl_arr_n, InsertItems )
        MATCH_REDISP( wxPliOvl_s_n_s, InsertData )
        MATCH_REDISP( wxPliOvl_s_n, InsertString )
    END_OVERLOAD( Wx::ComboBox::Insert )
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__ComboBox_InsertString); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_InsertString)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, item, pos");
    {
	wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" )
;
	wxString	item;
	unsigned int    pos = (unsigned int)SvUV( ST(2) )
;

    WXSTRING_INPUT( item, wxString, ST(1) )
;
    try {
      THIS->Insert( item, pos );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ComboBox_InsertData); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_InsertData)
{
    dVAR; dXSARGS;
    if (items != 4)
       croak_xs_usage(cv,  "THIS, item, pos, data");
    {
	wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" )
;
	wxString	item;
	unsigned int    pos = (unsigned int)SvUV( ST(2) )
;
	wxPliUserDataCD*	data;

    WXSTRING_INPUT( item, wxString, ST(1) )
;

    if( SvOK( ST(3) ) )
    {
        data = new wxPliUserDataCD( ST(3) );
    }
    else
        data = 0
;
    try {
      THIS->Insert( item, pos, data );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}

#if WXPERL_W_VERSION_GE( 2, 9, 0 )
#define XSpp_a2ea7434_092796
#define XSubPPtmpAAFO 1


XS_EUPXS(XS_Wx__ComboBox_InsertItems); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_InsertItems)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, items, pos");
    {
	wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" )
;
	wxArrayString	items;
	unsigned int    pos = (unsigned int)SvUV( ST(2) )
;

    wxPli_av_2_arraystring( aTHX_ ST(1), & items )
;
    try {
      THIS->Insert( items, pos );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ComboBox_InsertItemsData); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_InsertItemsData)
{
    dVAR; dXSARGS;
    if (items != 4)
       croak_xs_usage(cv,  "THIS, items, pos, data");
    {
	wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" )
;
	wxArrayString	items;
	unsigned int    pos = (unsigned int)SvUV( ST(2) )
;
	wxPliUserDataCD**	data;

    wxPli_av_2_arraystring( aTHX_ ST(1), & items )
;

    wxPli_av_2_userdatacdarray( aTHX_ ST(3), & data );
    wxPliArrayGuard<wxPliUserDataCD*> guard_data = data
;
     THIS->Insert( items, pos, (wxClientData**)data ); 
    }
    XSRETURN_EMPTY;
}

#endif
#if WXPERL_W_VERSION_GE( 2, 9, 0 )
#define XSpp_a2ea7434_072405
#define XSubPPtmpAAFP 1


XS_EUPXS(XS_Wx__ComboBox_Set); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_Set)
{
    dVAR; dXSARGS;
    if (items < 1)
       croak_xs_usage(cv,  "THIS, ...");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" )
;
    BEGIN_OVERLOAD()
        MATCH_REDISP( wxPliOvl_arr_arr, SetItemsData )
        MATCH_REDISP( wxPliOvl_arr, SetItems )
    END_OVERLOAD( Wx::ComboBox::Set )
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__ComboBox_SetItems); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_SetItems)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, items");
    {
	wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" )
;
	wxArrayString	items;

    wxPli_av_2_arraystring( aTHX_ ST(1), & items )
;
    try {
      THIS->Set( items );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ComboBox_SetItemsData); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_SetItemsData)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, items, data");
    {
	wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" )
;
	wxArrayString	items;
	wxPliUserDataCD**	data;

    wxPli_av_2_arraystring( aTHX_ ST(1), & items )
;

    wxPli_av_2_userdatacdarray( aTHX_ ST(2), & data );
    wxPliArrayGuard<wxPliUserDataCD*> guard_data = data
;
     THIS->Set( items, (wxClientData**)data ); 
    }
    XSRETURN_EMPTY;
}

#endif

XS_EUPXS(XS_Wx__ComboBox_Clear); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_Clear)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" )
;
    try {
      THIS->Clear();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ComboBox_Delete); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_Delete)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, n");
    {
	wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" )
;
	int	n = (int)SvIV(ST(1))
;
    try {
      THIS->Delete( n );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ComboBox_GetClientData); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_GetClientData)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, n");
    {
	wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" )
;
	wxPliUserDataCD *	RETVAL;
	int	n = (int)SvIV(ST(1))
;
     RETVAL = (wxPliUserDataCD*) THIS->wxItemContainer::GetClientObject( n ); 
    ST(0) = ( RETVAL == 0 ) ? &PL_sv_undef : RETVAL->GetData();
    SvREFCNT_inc( ST(0) ); // xsubpp mortalizes it...
	sv_2mortal(ST(0));
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ComboBox_SetClientData); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_SetClientData)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, n, data");
    {
	wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" )
;
	int	n = (int)SvIV(ST(1))
;
	wxPliUserDataCD*	data;

    if( SvOK( ST(2) ) )
    {
        data = new wxPliUserDataCD( ST(2) );
    }
    else
        data = 0
;
    try {
      THIS->wxItemContainer::SetClientObject( n, data );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}

#if WXPERL_W_VERSION_GE( 2, 9, 0 )
#define XSpp_a2ea7434_090936
#endif

/* INCLUDE: Returning to 'XS/ComboBox.xs' from '/usr/bin/perl -pe "s/ItemContainer/ComboBox/g;s/->(?=[SG]etClientObject)/->wxItemContainer::/" XS/ItemContainer.xs' */

#undef WXPERL_IN_COMBOBOX

XS_EUPXS(XS_Wx__ComboBox_GetCurrentSelection); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_GetCurrentSelection)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" )
;
	int	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetCurrentSelection();
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}

#endif

XS_EUPXS(XS_Wx__ComboBox_SetEditable); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_SetEditable)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, editable");
    {
	wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" )
;
	bool	editable = (bool)SvTRUE(ST(1))
;

	THIS->SetEditable(editable);
    }
    XSRETURN_EMPTY;
}

#if WXPERL_W_VERSION_GE( 2, 9, 3 )
#define XSubPPtmpAAFQ 1


XS_EUPXS(XS_Wx__ComboBox_IsListEmpty); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_IsListEmpty)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" )
;
	bool	RETVAL;

	RETVAL = THIS->IsListEmpty();
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ComboBox_IsTextEmpty); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_IsTextEmpty)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" )
;
	bool	RETVAL;

	RETVAL = THIS->IsTextEmpty();
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}

#endif

XS_EUPXS(XS_Wx__ComboBox_Copy); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_Copy)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" )
;

	THIS->Copy();
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ComboBox_Cut); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_Cut)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" )
;

	THIS->Cut();
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ComboBox_CanCopy); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_CanCopy)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" )
;
	bool	RETVAL;

	RETVAL = THIS->CanCopy();
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ComboBox_CanCut); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_CanCut)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" )
;
	bool	RETVAL;

	RETVAL = THIS->CanCut();
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ComboBox_CanPaste); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_CanPaste)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" )
;
	bool	RETVAL;

	RETVAL = THIS->CanPaste();
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ComboBox_Undo); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_Undo)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" )
;

	THIS->Undo();
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ComboBox_Redo); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_Redo)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" )
;

	THIS->Redo();
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ComboBox_CanUndo); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_CanUndo)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" )
;
	bool	RETVAL;

	RETVAL = THIS->CanUndo();
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ComboBox_CanRedo); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_CanRedo)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" )
;
	bool	RETVAL;

	RETVAL = THIS->CanRedo();
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ComboBox_GetInsertionPoint); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_GetInsertionPoint)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" )
;
	long	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetInsertionPoint();
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ComboBox_GetLastPosition); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_GetLastPosition)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" )
;
	wxTextPos	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetLastPosition();
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ComboBox_GetValue); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_GetValue)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" )
;
	wxString	RETVAL;

	RETVAL = THIS->GetValue();
	ST(0) = sv_newmortal();
    WXSTRING_OUTPUT( RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ComboBox_Paste); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_Paste)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" )
;

	THIS->Paste();
    }
    XSRETURN_EMPTY;
}

#if WXPERL_W_VERSION_GE( 2, 9, 1 )
#define XSubPPtmpAAFR 1


XS_EUPXS(XS_Wx__ComboBox_Popup); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_Popup)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" )
;

	THIS->Popup();
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ComboBox_Dismiss); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_Dismiss)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" )
;

	THIS->Dismiss();
    }
    XSRETURN_EMPTY;
}

#endif

XS_EUPXS(XS_Wx__ComboBox_Replace); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_Replace)
{
    dVAR; dXSARGS;
    if (items != 4)
       croak_xs_usage(cv,  "THIS, from, to, text");
    {
	long	from = (long)SvIV(ST(1))
;
	long	to = (long)SvIV(ST(2))
;
	wxString	text;
	wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" )
;

    WXSTRING_INPUT( text, wxString, ST(3) )
;

	THIS->Replace(from, to, text);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ComboBox_Remove); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_Remove)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, from, to");
    {
	long	from = (long)SvIV(ST(1))
;
	long	to = (long)SvIV(ST(2))
;
	wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" )
;

	THIS->Remove(from, to);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ComboBox_SetInsertionPoint); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_SetInsertionPoint)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, pos");
    {
	long	pos = (long)SvIV(ST(1))
;
	wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" )
;

	THIS->SetInsertionPoint(pos);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ComboBox_SetInsertionPointEnd); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_SetInsertionPointEnd)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" )
;

	THIS->SetInsertionPointEnd();
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ComboBox_GetSelection); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_GetSelection)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
    long from;
    long to;
    int  selindex;
	wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" )
;
    if( GIMME_V == G_ARRAY ) {
        THIS->GetSelection( &from, &to );
        EXTEND( SP, 2 );
        PUSHs( sv_2mortal( newSViv( from ) ) );
        PUSHs( sv_2mortal( newSViv( to ) ) );
    } else {
	selindex = THIS->GetSelection();
	EXTEND( SP, 1 );
        PUSHs( sv_2mortal( newSViv( selindex ) ) );
    }
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__ComboBox_SetSelection); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_SetSelection)
{
    dVAR; dXSARGS;
    if (items < 1)
       croak_xs_usage(cv,  "THIS, ...");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" )
;
    BEGIN_OVERLOAD()
        MATCH_REDISP( wxPliOvl_n_n, SetMark )
        MATCH_REDISP( wxPliOvl_n, SetSelectionN )
    END_OVERLOAD( Wx::ComboBox::SetSelection )
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__ComboBox_SetSelectionN); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_SetSelectionN)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, n");
    {
	int	n = (int)SvIV(ST(1))
;
	wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" )
;
    THIS->SetSelection( n );
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ComboBox_SetMark); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_SetMark)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, from, to");
    {
	long	from = (long)SvIV(ST(1))
;
	long	to = (long)SvIV(ST(2))
;
	wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" )
;
    THIS->SetSelection( from, to );
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ComboBox_SetValue); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_SetValue)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, string");
    {
	wxString	string;
	wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" )
;

    WXSTRING_INPUT( string, wxString, ST(1) )
;

	THIS->SetValue(string);
    }
    XSRETURN_EMPTY;
}

#if WXPERL_W_VERSION_GE( 2, 9, 2 )
#define XSubPPtmpAAFS 1


XS_EUPXS(XS_Wx__ComboBox_RemoveSelection); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_RemoveSelection)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" )
;

	THIS->RemoveSelection();
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ComboBox_ChangeValue); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_ChangeValue)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, string");
    {
	wxString	string;
	wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" )
;

    WXSTRING_INPUT( string, wxString, ST(1) )
;

	THIS->ChangeValue(string);
    }
    XSRETURN_EMPTY;
}

#endif
#if WXPERL_W_VERSION_GE( 2, 9, 3 )
#define XSubPPtmpAAFT 1


XS_EUPXS(XS_Wx__ComboBox_AutoComplete); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_AutoComplete)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, choices");
    {
	wxArrayString	choices;
	wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" )
;
	bool	RETVAL;

    wxPli_av_2_arraystring( aTHX_ ST(1), & choices )
;

	RETVAL = THIS->AutoComplete(choices);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ComboBox_AutoCompleteFileNames); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_AutoCompleteFileNames)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" )
;
	bool	RETVAL;

	RETVAL = THIS->AutoCompleteFileNames();
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ComboBox_AutoCompleteDirectories); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ComboBox_AutoCompleteDirectories)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxComboBox *    THIS = (wxComboBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ComboBox" )
;
	bool	RETVAL;

	RETVAL = THIS->AutoCompleteDirectories();
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}

#endif

/* INCLUDE: Returning to 'XS/Choice.xs' from 'XS/ComboBox.xs' */

#include <wx/choice.h>

XS_EUPXS(XS_Wx__Choice_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Choice_new)
{
    dVAR; dXSARGS;
    PERL_UNUSED_VAR(cv); /* -W */
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
    BEGIN_OVERLOAD()
        MATCH_VOIDM_REDISP( newDefault )
        MATCH_ANY_REDISP( newFull )
    END_OVERLOAD( "Wx::Choice::new" )
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__Choice_newDefault); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Choice_newDefault)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "CLASS");
    {
	PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) )
;
	wxChoice *	RETVAL;
    RETVAL = new wxChoice();
    wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__Choice_newFull); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Choice_newFull)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 9)
       croak_xs_usage(cv,  "CLASS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, choices = 0, style = 0, validator = (wxValidator*)&wxDefaultValidator, name = wxChoiceNameStr");
    {
	PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) )
;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID	id;
	wxPoint	pos;
	wxSize	size;
	SV*	choices;
	long	style;
	wxValidator*	validator;
	wxString	name;
    int n = 0;
    wxString *chs = 0;
	wxChoice *	RETVAL;

	if (items < 3)
	    id = wxID_ANY;
	else {
    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	}

	if (items < 4)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) )
;
	}

	if (items < 5)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    choices = 0;
	else {
	    choices = ST(5)
;
	}

	if (items < 7)
	    style = 0;
	else {
	    style = (long)SvIV(ST(6))
;
	}

	if (items < 8)
	    validator = (wxValidator*)&wxDefaultValidator;
	else {
    validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" )
;
	}

	if (items < 9)
	    name = wxChoiceNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(8) )
;
	}
    if( choices )
        n = wxPli_av_2_stringarray( aTHX_ choices, &chs );

    RETVAL = new wxChoice( parent, id, pos, size, n, chs, style, 
        *validator, name );
    wxPli_create_evthandler( aTHX_ RETVAL, CLASS );

    delete[] chs;
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__Choice_Create); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Choice_Create)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 9)
       croak_xs_usage(cv,  "THIS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, choices = 0, style = 0, validator = (wxValidator*)&wxDefaultValidator, name = wxChoiceNameStr");
    {
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID	id;
	wxPoint	pos;
	wxSize	size;
	SV*	choices;
	long	style;
	wxValidator*	validator;
	wxString	name;
    int n = 0;
    wxString *chs = 0;
	wxChoice *    THIS = (wxChoice *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Choice" )
;
	bool	RETVAL;

	if (items < 3)
	    id = wxID_ANY;
	else {
    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	}

	if (items < 4)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) )
;
	}

	if (items < 5)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    choices = 0;
	else {
	    choices = ST(5)
;
	}

	if (items < 7)
	    style = 0;
	else {
	    style = (long)SvIV(ST(6))
;
	}

	if (items < 8)
	    validator = (wxValidator*)&wxDefaultValidator;
	else {
    validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" )
;
	}

	if (items < 9)
	    name = wxChoiceNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(8) )
;
	}
    if( choices )
        n = wxPli_av_2_stringarray( aTHX_ choices, &chs );

    RETVAL = THIS->Create( parent, id, pos, size, n, chs, style, 
        *validator, name );

    delete[] chs;
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__Choice_Clear); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Choice_Clear)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxChoice *    THIS = (wxChoice *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Choice" )
;

	THIS->Clear();
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__Choice_Delete); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Choice_Delete)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, n");
    {
	int	n = (int)SvIV(ST(1))
;
	wxChoice *    THIS = (wxChoice *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Choice" )
;

	THIS->Delete(n);
    }
    XSRETURN_EMPTY;
}

#if !defined(__WXUNIVERSAL__)
#define XSubPPtmpAAFU 1


XS_EUPXS(XS_Wx__Choice_GetColumns); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Choice_GetColumns)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxChoice *    THIS = (wxChoice *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Choice" )
;
	int	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetColumns();
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__Choice_SetColumns); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Choice_SetColumns)
{
    dVAR; dXSARGS;
    if (items < 1 || items > 2)
       croak_xs_usage(cv,  "THIS, n = 1");
    {
	int	n;
	wxChoice *    THIS = (wxChoice *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Choice" )
;

	if (items < 2)
	    n = 1;
	else {
	    n = (int)SvIV(ST(1))
;
	}

	THIS->SetColumns(n);
    }
    XSRETURN_EMPTY;
}

#endif
#if WXPERL_W_VERSION_GE( 2, 7, 2 )
#define XSubPPtmpAAFV 1


XS_EUPXS(XS_Wx__Choice_GetCurrentSelection); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Choice_GetCurrentSelection)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxChoice *    THIS = (wxChoice *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Choice" )
;
	int	RETVAL;
	dXSTARG;

	RETVAL = THIS->GetCurrentSelection();
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}

#endif

XS_EUPXS(XS_Wx__Choice_SetSelection); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Choice_SetSelection)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, n");
    {
	int	n = (int)SvIV(ST(1))
;
	wxChoice *    THIS = (wxChoice *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Choice" )
;

	THIS->SetSelection(n);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__Choice_SetStringSelection); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__Choice_SetStringSelection)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, string");
    {
	wxString	string;
	wxChoice *    THIS = (wxChoice *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Choice" )
;

    WXSTRING_INPUT( string, wxString, ST(1) )
;

	THIS->SetStringSelection(string);
    }
    XSRETURN_EMPTY;
}


/* INCLUDE: Returning to 'XS/CheckListBox.xs' from 'XS/Choice.xs' */

#include <wx/checklst.h>

XS_EUPXS(XS_Wx__CheckListBox_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__CheckListBox_new)
{
    dVAR; dXSARGS;
    PERL_UNUSED_VAR(cv); /* -W */
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
    BEGIN_OVERLOAD()
        MATCH_VOIDM_REDISP( newDefault )
        MATCH_ANY_REDISP( newFull )
    END_OVERLOAD( "Wx::CheckListBox::new" )
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__CheckListBox_newDefault); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__CheckListBox_newDefault)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "CLASS");
    {
	PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) )
;
	wxCheckListBox *	RETVAL;
    RETVAL = new wxCheckListBox();
    wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__CheckListBox_newFull); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__CheckListBox_newFull)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 9)
       croak_xs_usage(cv,  "CLASS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, choices = 0, style = 0, validator = (wxValidator*)&wxDefaultValidator, name = wxListBoxNameStr");
    {
	PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) )
;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID	id;
	wxPoint	pos;
	wxSize	size;
	SV*	choices;
	long	style;
	wxValidator*	validator;
	wxString	name;
    wxString* chs;
    int n;
	wxCheckListBox *	RETVAL;

	if (items < 3)
	    id = wxID_ANY;
	else {
    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	}

	if (items < 4)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) )
;
	}

	if (items < 5)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    choices = 0;
	else {
	    choices = ST(5)
;
	}

	if (items < 7)
	    style = 0;
	else {
	    style = (long)SvIV(ST(6))
;
	}

	if (items < 8)
	    validator = (wxValidator*)&wxDefaultValidator;
	else {
    validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" )
;
	}

	if (items < 9)
	    name = wxListBoxNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(8) )
;
	}
    if( choices ) 
        n = wxPli_av_2_stringarray( aTHX_ choices, &chs );
    else
    {
        n = 0;
        chs = 0;
    }

    RETVAL = new wxCheckListBox( parent, id, pos, size, n, chs, 
        style|wxLB_OWNERDRAW, *validator, name );
    wxPli_create_evthandler( aTHX_ RETVAL, CLASS );

    delete[] chs;
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__CheckListBox_Create); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__CheckListBox_Create)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 9)
       croak_xs_usage(cv,  "THIS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, choices = 0, style = 0, validator = (wxValidator*)&wxDefaultValidator, name = wxListBoxNameStr");
    {
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID	id;
	wxPoint	pos;
	wxSize	size;
	SV*	choices;
	long	style;
	wxValidator*	validator;
	wxString	name;
    wxString* chs;
    int n;
	wxCheckListBox *    THIS = (wxCheckListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::CheckListBox" )
;
	bool	RETVAL;

	if (items < 3)
	    id = wxID_ANY;
	else {
    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	}

	if (items < 4)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) )
;
	}

	if (items < 5)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    choices = 0;
	else {
	    choices = ST(5)
;
	}

	if (items < 7)
	    style = 0;
	else {
	    style = (long)SvIV(ST(6))
;
	}

	if (items < 8)
	    validator = (wxValidator*)&wxDefaultValidator;
	else {
    validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" )
;
	}

	if (items < 9)
	    name = wxListBoxNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(8) )
;
	}
    if( choices ) 
        n = wxPli_av_2_stringarray( aTHX_ choices, &chs );
    else
    {
        n = 0;
        chs = 0;
    }

    RETVAL = THIS->Create( parent, id, pos, size, n, chs, 
        style|wxLB_OWNERDRAW, *validator, name );

    delete[] chs;
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__CheckListBox_Check); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__CheckListBox_Check)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 3)
       croak_xs_usage(cv,  "THIS, item, check = false");
    {
	int	item = (int)SvIV(ST(1))
;
	bool	check;
	wxCheckListBox *    THIS = (wxCheckListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::CheckListBox" )
;

	if (items < 3)
	    check = false;
	else {
	    check = (bool)SvTRUE(ST(2))
;
	}

	THIS->Check(item, check);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__CheckListBox_IsChecked); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__CheckListBox_IsChecked)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, item");
    {
	int	item = (int)SvIV(ST(1))
;
	wxCheckListBox *    THIS = (wxCheckListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::CheckListBox" )
;
	bool	RETVAL;

	RETVAL = THIS->IsChecked(item);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


/* INCLUDE: Returning to 'XS/CheckBox.xs' from 'XS/CheckListBox.xs' */

#include <wx/checkbox.h>

XS_EUPXS(XS_Wx__CheckBox_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__CheckBox_new)
{
    dVAR; dXSARGS;
    PERL_UNUSED_VAR(cv); /* -W */
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
    BEGIN_OVERLOAD()
        MATCH_VOIDM_REDISP( newDefault )
        MATCH_ANY_REDISP( newFull )
    END_OVERLOAD( "Wx::CheckBox::new" )
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__CheckBox_newDefault); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__CheckBox_newDefault)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "CLASS");
    {
	PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) )
;
	wxCheckBox *	RETVAL;
    RETVAL = new wxCheckBox();
    wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__CheckBox_newFull); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__CheckBox_newFull)
{
    dVAR; dXSARGS;
    if (items < 4 || items > 9)
       croak_xs_usage(cv,  "CLASS, parent, id, label, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, validator = (wxValidator*)&wxDefaultValidator, name = wxCheckBoxNameStr");
    {
	PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) )
;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	wxString	label;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxValidator*	validator;
	wxString	name;
	wxCheckBox *	RETVAL;

    WXSTRING_INPUT( label, wxString, ST(3) )
;

	if (items < 5)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(5) )
;
	}

	if (items < 7)
	    style = 0;
	else {
	    style = (long)SvIV(ST(6))
;
	}

	if (items < 8)
	    validator = (wxValidator*)&wxDefaultValidator;
	else {
    validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" )
;
	}

	if (items < 9)
	    name = wxCheckBoxNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(8) )
;
	}
    RETVAL = new wxCheckBox( parent, id, label, pos, size, 
        style, *validator, name );
    wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__CheckBox_Create); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__CheckBox_Create)
{
    dVAR; dXSARGS;
    if (items < 4 || items > 9)
       croak_xs_usage(cv,  "THIS, parent, id, label, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, validator = (wxValidator*)&wxDefaultValidator, name = wxCheckBoxNameStr");
    {
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	wxString	label;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxValidator*	validator;
	wxString	name;
	wxCheckBox *    THIS = (wxCheckBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::CheckBox" )
;
	bool	RETVAL;

    WXSTRING_INPUT( label, wxString, ST(3) )
;

	if (items < 5)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(5) )
;
	}

	if (items < 7)
	    style = 0;
	else {
	    style = (long)SvIV(ST(6))
;
	}

	if (items < 8)
	    validator = (wxValidator*)&wxDefaultValidator;
	else {
    validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" )
;
	}

	if (items < 9)
	    name = wxCheckBoxNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(8) )
;
	}

	RETVAL = THIS->Create(parent, id, label, pos, size, style, *validator, name);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__CheckBox_GetValue); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__CheckBox_GetValue)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxCheckBox *    THIS = (wxCheckBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::CheckBox" )
;
	bool	RETVAL;

	RETVAL = THIS->GetValue();
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}

#if WXPERL_W_VERSION_GE( 2, 5, 1 )
#define XSubPPtmpAAFW 1


XS_EUPXS(XS_Wx__CheckBox_Get3StateValue); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__CheckBox_Get3StateValue)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxCheckBox *    THIS = (wxCheckBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::CheckBox" )
;
	wxCheckBoxState	RETVAL;
	dXSTARG;

	RETVAL = THIS->Get3StateValue();
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__CheckBox_Set3StateValue); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__CheckBox_Set3StateValue)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, state");
    {
	wxCheckBoxState	state = (wxCheckBoxState)SvIV(ST(1))
;
	wxCheckBox *    THIS = (wxCheckBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::CheckBox" )
;

	THIS->Set3StateValue(state);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__CheckBox_Is3State); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__CheckBox_Is3State)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxCheckBox *    THIS = (wxCheckBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::CheckBox" )
;
	bool	RETVAL;

	RETVAL = THIS->Is3State();
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__CheckBox_Is3rdStateAllowedForUser); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__CheckBox_Is3rdStateAllowedForUser)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxCheckBox *    THIS = (wxCheckBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::CheckBox" )
;
	bool	RETVAL;

	RETVAL = THIS->Is3rdStateAllowedForUser();
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}

#endif

XS_EUPXS(XS_Wx__CheckBox_SetValue); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__CheckBox_SetValue)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, state");
    {
	bool	state = (bool)SvTRUE(ST(1))
;
	wxCheckBox *    THIS = (wxCheckBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::CheckBox" )
;

	THIS->SetValue(state);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__CheckBox_IsChecked); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__CheckBox_IsChecked)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxCheckBox *    THIS = (wxCheckBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::CheckBox" )
;
	bool	RETVAL;

	RETVAL = THIS->IsChecked();
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


/* INCLUDE: Returning to 'Controls.xs' from 'XS/CheckBox.xs' */


/* INCLUDE_COMMAND:  Including output of '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/TextAttr.xsp' from 'Controls.xs' */

#include <exception>

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#include <wx/textctrl.h>

XS_EUPXS(XS_Wx__TextAttr_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_new)
{
    dVAR; dXSARGS;
    if (items < 1 || items > 4)
       croak_xs_usage(cv,  "CLASS, colText = wxNullColour, colBack = wxNullColour, font = (wxFont*)&wxNullFont");
    {
	wxColour	colText;
	wxColour	colBack;
	wxFont*	font;
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxTextAttr *	RETVAL;

	if (items < 2)
	    colText = wxNullColour;
	else {
    colText = *(wxColour *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Colour" )
;
	}

	if (items < 3)
	    colBack = wxNullColour;
	else {
    colBack = *(wxColour *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Colour" )
;
	}

	if (items < 4)
	    font = (wxFont*)&wxNullFont;
	else {
    font = (wxFont *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::Font" )
;
	}
    if( items == 1 )
        RETVAL = new wxTextAttr();
    else
        RETVAL = new wxTextAttr( colText, colBack, *font );
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TextAttr" );
    wxPli_thread_sv_register( aTHX_ "Wx::TextAttr", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextAttr_DESTROY); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_DESTROY)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
    wxPli_thread_sv_unregister( aTHX_ "Wx::TextAttr", THIS, ST(0) );
    delete THIS;
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TextAttr_CLONE); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_CLONE)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "CLASS");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
    wxPli_thread_sv_clone( aTHX_ CLASS, (wxPliCloneSV)wxPli_detach_object );
    }
    XSRETURN_EMPTY;
}

#if WXPERL_W_VERSION_GE( 2, 9, 0 )
#define XSpp_44769b6a_047317
#define XSubPPtmpAAFX 1


XS_EUPXS(XS_Wx__TextAttr_Apply); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_Apply)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 3)
       croak_xs_usage(cv,  "THIS, style, compareWith= NULL");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	bool	RETVAL;
	wxTextAttr*    style = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TextAttr" )
;
	wxTextAttr*	compareWith;

	if (items < 3)
	    compareWith = NULL;
	else {
    compareWith = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::TextAttr" )
;
	}
    try {
      RETVAL = THIS->Apply( *( style ), compareWith );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}

#endif
#if WXPERL_W_VERSION_GE( 2, 7, 0 )
#define XSpp_44769b6a_078295
#define XSubPPtmpAAFY 1


XS_EUPXS(XS_Wx__TextAttr_Merge); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_Merge)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, overlay");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	wxTextAttr*    overlay = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TextAttr" )
;
    try {
      THIS->Merge( *( overlay ) );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}

#endif

XS_EUPXS(XS_Wx__TextAttr_SetTextColour); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_SetTextColour)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, colText");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	wxColour*    colText = (wxColour *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Colour" )
;
    try {
      THIS->SetTextColour( *( colText ) );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TextAttr_SetBackgroundColour); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_SetBackgroundColour)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, colBack");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	wxColour*    colBack = (wxColour *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Colour" )
;
    try {
      THIS->SetBackgroundColour( *( colBack ) );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TextAttr_SetFont); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_SetFont)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 3)
       croak_xs_usage(cv,  "THIS, font, flags= wxTEXT_ATTR_FONT");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	wxFont*    font = (wxFont *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Font" )
;
	long	flags;

	if (items < 3)
	    flags = wxTEXT_ATTR_FONT;
	else {
	    flags = (long)SvIV(ST(2))
;
	}
    try {
      THIS->SetFont( *( font ), flags );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TextAttr_SetAlignment); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_SetAlignment)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, alignment");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	wxTextAttrAlignment	alignment = (wxTextAttrAlignment)SvIV(ST(1))
;
    try {
      THIS->SetAlignment( alignment );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TextAttr_SetTabs); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_SetTabs)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, tabs");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	wxArrayInt	tabs;

    wxPli_av_2_arrayint( aTHX_ ST(1), & tabs )
;
    try {
      THIS->SetTabs( tabs );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TextAttr_SetLeftIndent); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_SetLeftIndent)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 3)
       croak_xs_usage(cv,  "THIS, indent, subIndent= 0");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	int	indent = (int)SvIV(ST(1))
;
	int	subIndent;

	if (items < 3)
	    subIndent = 0;
	else {
	    subIndent = (int)SvIV(ST(2))
;
	}
    try {
      THIS->SetLeftIndent( indent, subIndent );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TextAttr_SetRightIndent); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_SetRightIndent)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, indent");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	int	indent = (int)SvIV(ST(1))
;
    try {
      THIS->SetRightIndent( indent );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TextAttr_SetFlags); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_SetFlags)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, flags");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	long	flags = (long)SvIV(ST(1))
;
    try {
      THIS->SetFlags( flags );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TextAttr_HasTextColour); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_HasTextColour)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->HasTextColour();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextAttr_HasBackgroundColour); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_HasBackgroundColour)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->HasBackgroundColour();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextAttr_HasFont); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_HasFont)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->HasFont();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextAttr_HasAlignment); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_HasAlignment)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->HasAlignment();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextAttr_HasTabs); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_HasTabs)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->HasTabs();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextAttr_HasLeftIndent); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_HasLeftIndent)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->HasLeftIndent();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextAttr_HasRightIndent); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_HasRightIndent)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->HasRightIndent();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextAttr_HasFlag); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_HasFlag)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, flag");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	bool	RETVAL;
	long	flag = (long)SvIV(ST(1))
;
    try {
      RETVAL = THIS->HasFlag( flag );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextAttr_GetTextColour); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_GetTextColour)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	wxColour *	RETVAL;
    try {
      RETVAL = new wxColour( THIS->GetTextColour() );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Colour" );
    wxPli_thread_sv_register( aTHX_ "Wx::Colour", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextAttr_GetBackgroundColour); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_GetBackgroundColour)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	wxColour *	RETVAL;
    try {
      RETVAL = new wxColour( THIS->GetBackgroundColour() );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Colour" );
    wxPli_thread_sv_register( aTHX_ "Wx::Colour", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextAttr_GetFont); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_GetFont)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	wxFont *	RETVAL;
    try {
      RETVAL = new wxFont( THIS->GetFont() );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    wxPli_thread_sv_register( aTHX_ "Wx::Font", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextAttr_GetAlignment); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_GetAlignment)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	wxTextAttrAlignment	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetAlignment();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextAttr_GetLeftIndent); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_GetLeftIndent)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	long	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetLeftIndent();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextAttr_GetLeftSubIndent); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_GetLeftSubIndent)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	long	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetLeftSubIndent();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextAttr_GetRightIndent); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_GetRightIndent)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	long	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetRightIndent();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextAttr_GetFlags); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_GetFlags)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	long	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetFlags();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextAttr_IsDefault); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_IsDefault)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->IsDefault();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextAttr_GetTabs); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_GetTabs)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
    const wxArrayInt& tabs = THIS->GetTabs();
    PUTBACK;
    wxPli_intarray_push( aTHX_ tabs );
    SPAGAIN;
	PUTBACK;
	return;
    }
}

#if WXPERL_W_VERSION_GE( 2, 9, 0 )
#define XSpp_44769b6a_043250
#define XSubPPtmpAAFZ 1


XS_EUPXS(XS_Wx__TextAttr_GetFontEncoding); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_GetFontEncoding)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	wxFontEncoding	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetFontEncoding();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextAttr_HasFontEncoding); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_HasFontEncoding)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->HasFontEncoding();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextAttr_SetFontEncoding); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_SetFontEncoding)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, encoding");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	wxFontEncoding	encoding = (wxFontEncoding)SvIV(ST(1))
;
    try {
      THIS->SetFontEncoding( encoding );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TextAttr_GetOutlineLevel); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_GetOutlineLevel)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	int	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetOutlineLevel();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextAttr_HasOutlineLevel); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_HasOutlineLevel)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->HasOutlineLevel();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextAttr_SetOutlineLevel); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_SetOutlineLevel)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, level");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	int	level = (int)SvIV(ST(1))
;
    try {
      THIS->SetOutlineLevel( level );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TextAttr_GetTextEffects); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_GetTextEffects)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	int	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetTextEffects();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextAttr_HasTextEffects); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_HasTextEffects)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->HasTextEffects();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextAttr_SetTextEffects); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_SetTextEffects)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, effects");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	int	effects = (int)SvIV(ST(1))
;
    try {
      THIS->SetTextEffects( effects );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TextAttr_GetTextEffectFlags); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_GetTextEffectFlags)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	int	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetTextEffectFlags();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextAttr_HasTextEffect); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_HasTextEffect)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, effect");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	bool	RETVAL;
	int	effect = (int)SvIV(ST(1))
;
    try {
      RETVAL = THIS->HasTextEffect( effect );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextAttr_SetTextEffectFlags); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_SetTextEffectFlags)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, effects");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	int	effects = (int)SvIV(ST(1))
;
    try {
      THIS->SetTextEffectFlags( effects );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}

#endif
#if WXPERL_W_VERSION_GE( 2, 9, 0 )
#define XSpp_44769b6a_041755
#define XSubPPtmpAAGA 1


XS_EUPXS(XS_Wx__TextAttr_SetCharacterStyleName); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_SetCharacterStyleName)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, name");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	wxString	name;

    WXSTRING_INPUT( name, wxString, ST(1) )
;
    try {
      THIS->SetCharacterStyleName( name );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TextAttr_SetParagraphStyleName); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_SetParagraphStyleName)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, name");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	wxString	name;

    WXSTRING_INPUT( name, wxString, ST(1) )
;
    try {
      THIS->SetParagraphStyleName( name );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TextAttr_SetListStyleName); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_SetListStyleName)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, name");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	wxString	name;

    WXSTRING_INPUT( name, wxString, ST(1) )
;
    try {
      THIS->SetListStyleName( name );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TextAttr_SetParagraphSpacingAfter); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_SetParagraphSpacingAfter)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, spacing");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	int	spacing = (int)SvIV(ST(1))
;
    try {
      THIS->SetParagraphSpacingAfter( spacing );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TextAttr_SetParagraphSpacingBefore); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_SetParagraphSpacingBefore)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, spacing");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	int	spacing = (int)SvIV(ST(1))
;
    try {
      THIS->SetParagraphSpacingBefore( spacing );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TextAttr_SetLineSpacing); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_SetLineSpacing)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, spacing");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	int	spacing = (int)SvIV(ST(1))
;
    try {
      THIS->SetLineSpacing( spacing );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TextAttr_SetBulletStyle); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_SetBulletStyle)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, style");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	int	style = (int)SvIV(ST(1))
;
    try {
      THIS->SetBulletStyle( style );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TextAttr_SetBulletNumber); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_SetBulletNumber)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, n");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	int	n = (int)SvIV(ST(1))
;
    try {
      THIS->SetBulletNumber( n );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TextAttr_SetBulletText); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_SetBulletText)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, text");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	wxString	text;

    WXSTRING_INPUT( text, wxString, ST(1) )
;
    try {
      THIS->SetBulletText( text );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TextAttr_SetBulletName); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_SetBulletName)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, name");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	wxString	name;

    WXSTRING_INPUT( name, wxString, ST(1) )
;
    try {
      THIS->SetBulletName( name );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TextAttr_SetBulletFont); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_SetBulletFont)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, bulletFont");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	wxString	bulletFont;

    WXSTRING_INPUT( bulletFont, wxString, ST(1) )
;
    try {
      THIS->SetBulletFont( bulletFont );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TextAttr_SetURL); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_SetURL)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, url");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	wxString	url;

    WXSTRING_INPUT( url, wxString, ST(1) )
;
    try {
      THIS->SetURL( url );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TextAttr_SetPageBreak); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_SetPageBreak)
{
    dVAR; dXSARGS;
    if (items < 1 || items > 2)
       croak_xs_usage(cv,  "THIS, pageBreak= true");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	bool	pageBreak;

	if (items < 2)
	    pageBreak = true;
	else {
	    pageBreak = (bool)SvTRUE(ST(1))
;
	}
    try {
      THIS->SetPageBreak( pageBreak );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TextAttr_GetCharacterStyleName); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_GetCharacterStyleName)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	wxString	RETVAL;
    try {
      RETVAL = THIS->GetCharacterStyleName();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    WXSTRING_OUTPUT( RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextAttr_GetParagraphStyleName); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_GetParagraphStyleName)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	wxString	RETVAL;
    try {
      RETVAL = THIS->GetParagraphStyleName();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    WXSTRING_OUTPUT( RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextAttr_GetListStyleName); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_GetListStyleName)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	wxString	RETVAL;
    try {
      RETVAL = THIS->GetListStyleName();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    WXSTRING_OUTPUT( RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextAttr_GetParagraphSpacingAfter); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_GetParagraphSpacingAfter)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	int	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetParagraphSpacingAfter();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextAttr_GetParagraphSpacingBefore); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_GetParagraphSpacingBefore)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	int	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetParagraphSpacingBefore();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextAttr_GetLineSpacing); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_GetLineSpacing)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	int	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetLineSpacing();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextAttr_GetBulletStyle); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_GetBulletStyle)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	int	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetBulletStyle();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextAttr_GetBulletNumber); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_GetBulletNumber)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	int	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetBulletNumber();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextAttr_GetBulletText); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_GetBulletText)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	wxString	RETVAL;
    try {
      RETVAL = THIS->GetBulletText();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    WXSTRING_OUTPUT( RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextAttr_GetBulletName); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_GetBulletName)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	wxString	RETVAL;
    try {
      RETVAL = THIS->GetBulletName();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    WXSTRING_OUTPUT( RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextAttr_GetBulletFont); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_GetBulletFont)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	wxString	RETVAL;
    try {
      RETVAL = THIS->GetBulletFont();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    WXSTRING_OUTPUT( RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextAttr_GetURL); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_GetURL)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	wxString	RETVAL;
    try {
      RETVAL = THIS->GetURL();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    WXSTRING_OUTPUT( RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextAttr_HasParagraphSpacingAfter); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_HasParagraphSpacingAfter)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->HasParagraphSpacingAfter();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextAttr_HasParagraphSpacingBefore); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_HasParagraphSpacingBefore)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->HasParagraphSpacingBefore();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextAttr_HasLineSpacing); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_HasLineSpacing)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->HasLineSpacing();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextAttr_HasCharacterStyleName); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_HasCharacterStyleName)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->HasCharacterStyleName();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextAttr_HasParagraphStyleName); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_HasParagraphStyleName)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->HasParagraphStyleName();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextAttr_HasListStyleName); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_HasListStyleName)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->HasListStyleName();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextAttr_HasBulletStyle); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_HasBulletStyle)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->HasBulletStyle();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextAttr_HasBulletNumber); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_HasBulletNumber)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->HasBulletNumber();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextAttr_HasBulletText); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_HasBulletText)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->HasBulletText();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextAttr_HasBulletName); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_HasBulletName)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->HasBulletName();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextAttr_HasURL); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_HasURL)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->HasURL();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextAttr_HasPageBreak); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_HasPageBreak)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->HasPageBreak();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextAttr_IsCharacterStyle); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_IsCharacterStyle)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->IsCharacterStyle();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextAttr_IsParagraphStyle); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_IsParagraphStyle)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->IsParagraphStyle();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}

#if WXPERL_W_VERSION_LT( 2, 9, 0 )
#define XSpp_44769b6a_098702
#define XSubPPtmpAAGB 1


XS_EUPXS(XS_Wx__TextAttr_CreateFont); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_CreateFont)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	wxFont *	RETVAL;
    try {
      RETVAL = new wxFont( THIS->CreateFont() );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    wxPli_thread_sv_register( aTHX_ "Wx::Font", RETVAL, ST(0) );
    }
    XSRETURN(1);
}

#endif

XS_EUPXS(XS_Wx__TextAttr_GetFontAttributes); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_GetFontAttributes)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, font");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	bool	RETVAL;
	wxFont*    font = (wxFont *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Font" )
;
    try {
      RETVAL = THIS->GetFontAttributes( *( font ) );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextAttr_SetFontSize); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_SetFontSize)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, pointSize");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	int	pointSize = (int)SvIV(ST(1))
;
    try {
      THIS->SetFontSize( pointSize );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TextAttr_SetFontStyle); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_SetFontStyle)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, fontStyle");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	wxFontStyle	fontStyle = (wxFontStyle)SvIV(ST(1))
;
    try {
      THIS->SetFontStyle( fontStyle );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TextAttr_SetFontWeight); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_SetFontWeight)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, fontWeight");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	wxFontWeight	fontWeight = (wxFontWeight)SvIV(ST(1))
;
    try {
      THIS->SetFontWeight( fontWeight );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TextAttr_SetFontFaceName); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_SetFontFaceName)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, faceName");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	wxString	faceName;

    WXSTRING_INPUT( faceName, wxString, ST(1) )
;
    try {
      THIS->SetFontFaceName( faceName );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TextAttr_SetFontUnderlined); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_SetFontUnderlined)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, underlined");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	bool	underlined = (bool)SvTRUE(ST(1))
;
    try {
      THIS->SetFontUnderlined( underlined );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TextAttr_GetFontSize); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_GetFontSize)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	int	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetFontSize();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextAttr_GetFontStyle); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_GetFontStyle)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	wxFontStyle	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetFontStyle();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextAttr_GetFontWeight); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_GetFontWeight)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	wxFontWeight	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetFontWeight();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextAttr_GetFontUnderlined); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_GetFontUnderlined)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->GetFontUnderlined();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextAttr_GetFontFaceName); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_GetFontFaceName)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	wxString	RETVAL;
    try {
      RETVAL = THIS->GetFontFaceName();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    WXSTRING_OUTPUT( RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextAttr_HasFontWeight); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_HasFontWeight)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->HasFontWeight();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextAttr_HasFontSize); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_HasFontSize)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->HasFontSize();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextAttr_HasFontItalic); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_HasFontItalic)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->HasFontItalic();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextAttr_HasFontUnderlined); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_HasFontUnderlined)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->HasFontUnderlined();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextAttr_HasFontFaceName); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextAttr_HasFontFaceName)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextAttr *    THIS = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttr" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->HasFontFaceName();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}

#endif

/* INCLUDE: Returning to 'Controls.xs' from '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/TextAttr.xsp' */


/* INCLUDE_COMMAND:  Including output of '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/TextCtrl.xsp' from 'Controls.xs' */

#include <exception>

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#include <wx/textctrl.h>

XS_EUPXS(XS_Wx__TextUrlEvent_GetMouseEvent); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextUrlEvent_GetMouseEvent)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextUrlEvent *    THIS = (wxTextUrlEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextUrlEvent" )
;
	wxMouseEvent *	RETVAL;
    try {
      RETVAL = new wxMouseEvent( THIS->GetMouseEvent() );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    wxPli_thread_sv_register( aTHX_ "Wx::MouseEvent", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextUrlEvent_GetURLStart); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextUrlEvent_GetURLStart)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextUrlEvent *    THIS = (wxTextUrlEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextUrlEvent" )
;
	long	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetURLStart();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextUrlEvent_GetURLEnd); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextUrlEvent_GetURLEnd)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextUrlEvent *    THIS = (wxTextUrlEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextUrlEvent" )
;
	long	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetURLEnd();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextCtrlBase_GetValue); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextCtrlBase_GetValue)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" )
;
	wxString	RETVAL;
    try {
      RETVAL = THIS->GetValue();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    WXSTRING_OUTPUT( RETVAL, ST(0) );
    }
    XSRETURN(1);
}

#if WXPERL_W_VERSION_GE( 2, 7, 2 )
#define XSpp_3167bce7_013884
#define XSubPPtmpAAGC 1


XS_EUPXS(XS_Wx__TextCtrlBase_IsEmpty); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextCtrlBase_IsEmpty)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->IsEmpty();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}

#endif

XS_EUPXS(XS_Wx__TextCtrlBase_SetValue); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextCtrlBase_SetValue)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, value");
    {
	wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" )
;
	wxString	value;

    WXSTRING_INPUT( value, wxString, ST(1) )
;
    try {
      THIS->SetValue( value );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}

#if WXPERL_W_VERSION_GE( 2, 7, 1 )
#define XSpp_3167bce7_045888
#define XSubPPtmpAAGD 1


XS_EUPXS(XS_Wx__TextCtrlBase_ChangeValue); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextCtrlBase_ChangeValue)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, value");
    {
	wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" )
;
	wxString	value;

    WXSTRING_INPUT( value, wxString, ST(1) )
;
    try {
      THIS->ChangeValue( value );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}

#endif

XS_EUPXS(XS_Wx__TextCtrlBase_GetRange); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextCtrlBase_GetRange)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, from, to");
    {
	wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" )
;
	wxString	RETVAL;
	long	from = (long)SvIV(ST(1))
;
	long	to = (long)SvIV(ST(2))
;
    try {
      RETVAL = THIS->GetRange( from, to );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    WXSTRING_OUTPUT( RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextCtrlBase_GetLineLength); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextCtrlBase_GetLineLength)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, lineNo");
    {
	wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" )
;
	int	RETVAL;
	dXSTARG;
	long	lineNo = (long)SvIV(ST(1))
;
    try {
      RETVAL = THIS->GetLineLength( lineNo );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextCtrlBase_GetLineText); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextCtrlBase_GetLineText)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, lineNo");
    {
	wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" )
;
	wxString	RETVAL;
	long	lineNo = (long)SvIV(ST(1))
;
    try {
      RETVAL = THIS->GetLineText( lineNo );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    WXSTRING_OUTPUT( RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextCtrlBase_GetNumberOfLines); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextCtrlBase_GetNumberOfLines)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" )
;
	int	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetNumberOfLines();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextCtrlBase_IsModified); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextCtrlBase_IsModified)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->IsModified();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextCtrlBase_IsEditable); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextCtrlBase_IsEditable)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->IsEditable();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextCtrlBase_IsSingleLine); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextCtrlBase_IsSingleLine)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->IsSingleLine();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextCtrlBase_IsMultiLine); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextCtrlBase_IsMultiLine)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->IsMultiLine();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextCtrlBase_GetStringSelection); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextCtrlBase_GetStringSelection)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" )
;
	wxString	RETVAL;
    try {
      RETVAL = THIS->GetStringSelection();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    WXSTRING_OUTPUT( RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextCtrlBase_Clear); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextCtrlBase_Clear)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" )
;
    try {
      THIS->Clear();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TextCtrlBase_Replace); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextCtrlBase_Replace)
{
    dVAR; dXSARGS;
    if (items != 4)
       croak_xs_usage(cv,  "THIS, from, to, value");
    {
	wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" )
;
	long	from = (long)SvIV(ST(1))
;
	long	to = (long)SvIV(ST(2))
;
	wxString	value;

    WXSTRING_INPUT( value, wxString, ST(3) )
;
    try {
      THIS->Replace( from, to, value );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TextCtrlBase_Remove); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextCtrlBase_Remove)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, from, to");
    {
	wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" )
;
	long	from = (long)SvIV(ST(1))
;
	long	to = (long)SvIV(ST(2))
;
    try {
      THIS->Remove( from, to );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}

#if WXPERL_W_VERSION_GE( 2, 7, 1 )
#define XSpp_3167bce7_059831
#define XSubPPtmpAAGE 1


XS_EUPXS(XS_Wx__TextCtrlBase_LoadFile); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextCtrlBase_LoadFile)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 3)
       croak_xs_usage(cv,  "THIS, file, fileType= wxTEXT_TYPE_ANY");
    {
	wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" )
;
	bool	RETVAL;
	wxString	file;
	int	fileType;

    WXSTRING_INPUT( file, wxString, ST(1) )
;

	if (items < 3)
	    fileType = wxTEXT_TYPE_ANY;
	else {
	    fileType = (int)SvIV(ST(2))
;
	}
    try {
      RETVAL = THIS->LoadFile( file, fileType );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextCtrlBase_SaveFile); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextCtrlBase_SaveFile)
{
    dVAR; dXSARGS;
    if (items < 1 || items > 3)
       croak_xs_usage(cv,  "THIS, file= wxEmptyString, fileType= wxTEXT_TYPE_ANY");
    {
	wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" )
;
	bool	RETVAL;
	wxString	file;
	int	fileType;

	if (items < 2)
	    file = wxEmptyString;
	else {
    WXSTRING_INPUT( file, wxString, ST(1) )
;
	}

	if (items < 3)
	    fileType = wxTEXT_TYPE_ANY;
	else {
	    fileType = (int)SvIV(ST(2))
;
	}
    try {
      RETVAL = THIS->SaveFile( file, fileType );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}

#else
#define XSpp_3167bce7_044272
#define XSubPPtmpAAGF 1


XS_EUPXS(XS_Wx__TextCtrlBase_LoadFile); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextCtrlBase_LoadFile)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, file");
    {
	wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" )
;
	bool	RETVAL;
	wxString	file;

    WXSTRING_INPUT( file, wxString, ST(1) )
;
    try {
      RETVAL = THIS->LoadFile( file );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextCtrlBase_SaveFile); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextCtrlBase_SaveFile)
{
    dVAR; dXSARGS;
    if (items < 1 || items > 2)
       croak_xs_usage(cv,  "THIS, file= wxEmptyString");
    {
	wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" )
;
	bool	RETVAL;
	wxString	file;

	if (items < 2)
	    file = wxEmptyString;
	else {
    WXSTRING_INPUT( file, wxString, ST(1) )
;
	}
    try {
      RETVAL = THIS->SaveFile( file );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}

#endif

XS_EUPXS(XS_Wx__TextCtrlBase_MarkDirty); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextCtrlBase_MarkDirty)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" )
;
    try {
      THIS->MarkDirty();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TextCtrlBase_DiscardEdits); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextCtrlBase_DiscardEdits)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" )
;
    try {
      THIS->DiscardEdits();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}

#if WXPERL_W_VERSION_GE( 2, 7, 0 )
#define XSpp_3167bce7_089655
#define XSubPPtmpAAGG 1


XS_EUPXS(XS_Wx__TextCtrlBase_SetModified); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextCtrlBase_SetModified)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, modified");
    {
	wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" )
;
	bool	modified = (bool)SvTRUE(ST(1))
;
    try {
      THIS->SetModified( modified );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}

#endif

XS_EUPXS(XS_Wx__TextCtrlBase_SetMaxLength); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextCtrlBase_SetMaxLength)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, len");
    {
	wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" )
;
	unsigned long    len = (unsigned long)SvUV( ST(1) )
;
    try {
      THIS->SetMaxLength( len );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TextCtrlBase_WriteText); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextCtrlBase_WriteText)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, text");
    {
	wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" )
;
	wxString	text;

    WXSTRING_INPUT( text, wxString, ST(1) )
;
    try {
      THIS->WriteText( text );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TextCtrlBase_AppendText); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextCtrlBase_AppendText)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, text");
    {
	wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" )
;
	wxString	text;

    WXSTRING_INPUT( text, wxString, ST(1) )
;
    try {
      THIS->AppendText( text );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TextCtrlBase_EmulateKeyPress); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextCtrlBase_EmulateKeyPress)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, event");
    {
	wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" )
;
	bool	RETVAL;
	wxKeyEvent*    event = (wxKeyEvent *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::KeyEvent" )
;
    try {
      RETVAL = THIS->EmulateKeyPress( *( event ) );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextCtrlBase_SetStyle); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextCtrlBase_SetStyle)
{
    dVAR; dXSARGS;
    if (items != 4)
       croak_xs_usage(cv,  "THIS, start, end, style");
    {
	wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" )
;
	bool	RETVAL;
	long	start = (long)SvIV(ST(1))
;
	long	end = (long)SvIV(ST(2))
;
	wxTextAttr*    style = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::TextAttr" )
;
    try {
      RETVAL = THIS->SetStyle( start, end, *( style ) );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextCtrlBase_SetDefaultStyle); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextCtrlBase_SetDefaultStyle)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, style");
    {
	wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" )
;
	bool	RETVAL;
	wxTextAttr*    style = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TextAttr" )
;
    try {
      RETVAL = THIS->SetDefaultStyle( *( style ) );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextCtrlBase_GetDefaultStyle); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextCtrlBase_GetDefaultStyle)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" )
;
	wxTextAttr *	RETVAL;
    try {
      RETVAL = new wxTextAttr( THIS->GetDefaultStyle() );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TextAttr" );
    wxPli_thread_sv_register( aTHX_ "Wx::TextAttr", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextCtrlBase_XYToPosition); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextCtrlBase_XYToPosition)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, x, y");
    {
	wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" )
;
	long	RETVAL;
	dXSTARG;
	long	x = (long)SvIV(ST(1))
;
	long	y = (long)SvIV(ST(2))
;
    try {
      RETVAL = THIS->XYToPosition( x, y );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextCtrlBase_ShowPosition); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextCtrlBase_ShowPosition)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, pos");
    {
	wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" )
;
	long	pos = (long)SvIV(ST(1))
;
    try {
      THIS->ShowPosition( pos );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TextCtrlBase_Copy); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextCtrlBase_Copy)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" )
;
    try {
      THIS->Copy();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TextCtrlBase_Cut); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextCtrlBase_Cut)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" )
;
    try {
      THIS->Cut();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TextCtrlBase_Paste); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextCtrlBase_Paste)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" )
;
    try {
      THIS->Paste();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TextCtrlBase_CanCopy); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextCtrlBase_CanCopy)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->CanCopy();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextCtrlBase_CanCut); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextCtrlBase_CanCut)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->CanCut();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextCtrlBase_CanPaste); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextCtrlBase_CanPaste)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->CanPaste();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextCtrlBase_Undo); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextCtrlBase_Undo)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" )
;
    try {
      THIS->Undo();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TextCtrlBase_Redo); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextCtrlBase_Redo)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" )
;
    try {
      THIS->Redo();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TextCtrlBase_CanUndo); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextCtrlBase_CanUndo)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->CanUndo();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextCtrlBase_CanRedo); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextCtrlBase_CanRedo)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->CanRedo();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextCtrlBase_SetInsertionPoint); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextCtrlBase_SetInsertionPoint)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, pos");
    {
	wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" )
;
	long	pos = (long)SvIV(ST(1))
;
    try {
      THIS->SetInsertionPoint( pos );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TextCtrlBase_SetInsertionPointEnd); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextCtrlBase_SetInsertionPointEnd)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" )
;
    try {
      THIS->SetInsertionPointEnd();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TextCtrlBase_GetInsertionPoint); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextCtrlBase_GetInsertionPoint)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" )
;
	long	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetInsertionPoint();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextCtrlBase_GetLastPosition); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextCtrlBase_GetLastPosition)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" )
;
	wxTextPos	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetLastPosition();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextCtrlBase_SetSelection); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextCtrlBase_SetSelection)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "THIS, from, to");
    {
	wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" )
;
	long	from = (long)SvIV(ST(1))
;
	long	to = (long)SvIV(ST(2))
;
    try {
      THIS->SetSelection( from, to );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TextCtrlBase_SelectAll); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextCtrlBase_SelectAll)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" )
;
    try {
      THIS->SelectAll();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__TextCtrlBase_SetEditable); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextCtrlBase_SetEditable)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, editable");
    {
	wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" )
;
	bool	editable = (bool)SvTRUE(ST(1))
;
    try {
      THIS->SetEditable( editable );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}

#if WXPERL_W_VERSION_GE( 2, 9, 0 )
#define XSpp_3167bce7_050210
#define XSubPPtmpAAGH 1


XS_EUPXS(XS_Wx__TextCtrlBase_AutoComplete); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextCtrlBase_AutoComplete)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, choices");
    {
	wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" )
;
	bool	RETVAL;
	wxArrayString	choices;

    wxPli_av_2_arraystring( aTHX_ ST(1), & choices )
;
    try {
      RETVAL = THIS->AutoComplete( choices );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextCtrlBase_AutoCompleteFileNames); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextCtrlBase_AutoCompleteFileNames)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->AutoCompleteFileNames();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}

#endif

XS_EUPXS(XS_Wx__TextCtrlBase_GetSelection); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextCtrlBase_GetSelection)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
    long from;
    long to;
	wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" )
;
    THIS->GetSelection( &from, &to );
    EXTEND( SP, 2 );
    PUSHs( sv_2mortal( newSViv( from ) ) );
    PUSHs( sv_2mortal( newSViv( to ) ) );
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__TextCtrlBase_PositionToXY); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextCtrlBase_PositionToXY)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, pos");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	long	pos = (long)SvIV(ST(1))
;
    long x;
    long y;
	wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" )
;
    THIS->PositionToXY( pos, &x, &y );
    EXTEND( SP, 2 );
    PUSHs( sv_2mortal( newSViv( x ) ) );
    PUSHs( sv_2mortal( newSViv( y ) ) );
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__TextCtrlBase_HitTest); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextCtrlBase_HitTest)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, pt");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	wxPoint    pt = wxPli_sv_2_wxpoint( aTHX_ ST(1) )
;
	wxTextCtrlBase *    THIS = (wxTextCtrlBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrlBase" )
;
    long col, row;
    wxTextCtrlHitTestResult res = THIS->HitTest( pt, &col, &row );

    EXTEND( SP, 3 );
    PUSHs( sv_2mortal( newSViv( res ) ) );
    PUSHs( sv_2mortal( newSViv( col ) ) );
    PUSHs( sv_2mortal( newSViv( row ) ) );
	PUTBACK;
	return;
    }
}

#if defined( __WXMAC__ ) && WXPERL_W_VERSION_GE( 2, 8, 0 )
#define XSpp_3167bce7_007077
#define XSubPPtmpAAGI 1


XS_EUPXS(XS_Wx__TextCtrl_MacCheckSpelling); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextCtrl_MacCheckSpelling)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, check");
    {
	wxTextCtrl *    THIS = (wxTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrl" )
;
	bool	check = (bool)SvTRUE(ST(1))
;
    try {
      THIS->MacCheckSpelling( check );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}

#endif

XS_EUPXS(XS_Wx__TextCtrl_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextCtrl_new)
{
    dVAR; dXSARGS;
    PERL_UNUSED_VAR(cv); /* -W */
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
    BEGIN_OVERLOAD()
        MATCH_VOIDM_REDISP( newDefault )
        MATCH_ANY_REDISP( newFull )
    END_OVERLOAD( "Wx::TextCtrl::new" )
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__TextCtrl_newDefault); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextCtrl_newDefault)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "CLASS");
    {
	PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) )
;
	wxTextCtrl *	RETVAL;
    RETVAL = new wxTextCtrl();
    wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextCtrl_newFull); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextCtrl_newFull)
{
    dVAR; dXSARGS;
    if (items < 4 || items > 9)
       croak_xs_usage(cv,  "CLASS, parent, id, value, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, validator = (wxValidator*)&wxDefaultValidator, name = wxTextCtrlNameStr");
    {
	PlClassName    CLASS = wxPli_get_class( aTHX_ ST(0) )
;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	wxString	value;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxValidator*	validator;
	wxString	name;
	wxTextCtrl *	RETVAL;

    WXSTRING_INPUT( value, wxString, ST(3) )
;

	if (items < 5)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(5) )
;
	}

	if (items < 7)
	    style = 0;
	else {
	    style = (long)SvIV(ST(6))
;
	}

	if (items < 8)
	    validator = (wxValidator*)&wxDefaultValidator;
	else {
    validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" )
;
	}

	if (items < 9)
	    name = wxTextCtrlNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(8) )
;
	}
    RETVAL = new wxTextCtrl( parent, id, value, pos, size,
                             style, *validator, name );
    wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextCtrl_Create); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextCtrl_Create)
{
    dVAR; dXSARGS;
    if (items < 4 || items > 9)
       croak_xs_usage(cv,  "THIS, parent, id, value, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, validator = (wxValidator*)&wxDefaultValidator, name = wxTextCtrlNameStr");
    {
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	wxString	value;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxValidator*	validator;
	wxString	name;
	wxTextCtrl *    THIS = (wxTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrl" )
;
	bool	RETVAL;

    WXSTRING_INPUT( value, wxString, ST(3) )
;

	if (items < 5)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(5) )
;
	}

	if (items < 7)
	    style = 0;
	else {
	    style = (long)SvIV(ST(6))
;
	}

	if (items < 8)
	    validator = (wxValidator*)&wxDefaultValidator;
	else {
    validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" )
;
	}

	if (items < 9)
	    name = wxTextCtrlNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(8) )
;
	}

	RETVAL = THIS->Create(parent, id, value, pos, size, style, *validator, name);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__TextCtrl_GetStyle); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextCtrl_GetStyle)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, position");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	long	position = (long)SvIV(ST(1))
;
	wxTextCtrl *    THIS = (wxTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrl" )
;
    wxTextAttr attr;
    bool retval = THIS->GetStyle( position, attr );
    EXTEND( SP, 2 );
    PUSHs( newSViv( retval ) );
    PUSHs( retval ? wxPli_non_object_2_sv( aTHX_ sv_newmortal(),
                                           new wxTextAttr( attr ),
                                           "Wx::TextAttr" ) :
                    &PL_sv_undef );
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__TextCtrl_GetTextAttrStyle); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__TextCtrl_GetTextAttrStyle)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, position");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
	long	position = (long)SvIV(ST(1))
;
	wxTextCtrl *    THIS = (wxTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextCtrl" )
;
    wxTextAttr attr;
    bool retval = THIS->GetStyle( position, attr );
    EXTEND( SP, 2 );
    PUSHs( newSViv( retval ) );
    PUSHs( retval ? wxPli_non_object_2_sv( aTHX_ sv_newmortal(),
                                           new wxTextAttr( attr ),
                                           "Wx::TextAttr" ) :
                    &PL_sv_undef );
	PUTBACK;
	return;
    }
}


/* INCLUDE: Returning to 'Controls.xs' from '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/TextCtrl.xsp' */


/* INCLUDE_COMMAND:  Including output of '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/PickerCtrl.xsp' from 'Controls.xs' */

#include <exception>

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#if WXPERL_W_VERSION_GE( 2, 7, 0 )
#include <wx/pickerbase.h>
#define XSubPPtmpAAGJ 1


XS_EUPXS(XS_Wx__PickerBase_SetInternalMargin); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__PickerBase_SetInternalMargin)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, newmargin");
    {
	wxPickerBase *    THIS = (wxPickerBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PickerBase" )
;
	int	newmargin = (int)SvIV(ST(1))
;
    try {
      THIS->SetInternalMargin( newmargin );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__PickerBase_GetInternalMargin); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__PickerBase_GetInternalMargin)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxPickerBase *    THIS = (wxPickerBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PickerBase" )
;
	int	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetInternalMargin();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__PickerBase_SetTextCtrlProportion); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__PickerBase_SetTextCtrlProportion)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, prop");
    {
	wxPickerBase *    THIS = (wxPickerBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PickerBase" )
;
	int	prop = (int)SvIV(ST(1))
;
    try {
      THIS->SetTextCtrlProportion( prop );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__PickerBase_GetTextCtrlProportion); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__PickerBase_GetTextCtrlProportion)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxPickerBase *    THIS = (wxPickerBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PickerBase" )
;
	int	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetTextCtrlProportion();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__PickerBase_SetPickerCtrlProportion); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__PickerBase_SetPickerCtrlProportion)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, prop");
    {
	wxPickerBase *    THIS = (wxPickerBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PickerBase" )
;
	int	prop = (int)SvIV(ST(1))
;
    try {
      THIS->SetPickerCtrlProportion( prop );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__PickerBase_GetPickerCtrlProportion); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__PickerBase_GetPickerCtrlProportion)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxPickerBase *    THIS = (wxPickerBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PickerBase" )
;
	int	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetPickerCtrlProportion();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__PickerBase_IsTextCtrlGrowable); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__PickerBase_IsTextCtrlGrowable)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxPickerBase *    THIS = (wxPickerBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PickerBase" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->IsTextCtrlGrowable();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__PickerBase_SetTextCtrlGrowable); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__PickerBase_SetTextCtrlGrowable)
{
    dVAR; dXSARGS;
    if (items < 1 || items > 2)
       croak_xs_usage(cv,  "THIS, grow= true");
    {
	wxPickerBase *    THIS = (wxPickerBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PickerBase" )
;
	bool	grow;

	if (items < 2)
	    grow = true;
	else {
	    grow = (bool)SvTRUE(ST(1))
;
	}
    try {
      THIS->SetTextCtrlGrowable( grow );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__PickerBase_IsPickerCtrlGrowable); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__PickerBase_IsPickerCtrlGrowable)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxPickerBase *    THIS = (wxPickerBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PickerBase" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->IsPickerCtrlGrowable();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__PickerBase_SetPickerCtrlGrowable); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__PickerBase_SetPickerCtrlGrowable)
{
    dVAR; dXSARGS;
    if (items < 1 || items > 2)
       croak_xs_usage(cv,  "THIS, grow= true");
    {
	wxPickerBase *    THIS = (wxPickerBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PickerBase" )
;
	bool	grow;

	if (items < 2)
	    grow = true;
	else {
	    grow = (bool)SvTRUE(ST(1))
;
	}
    try {
      THIS->SetPickerCtrlGrowable( grow );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__PickerBase_HasTextCtrl); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__PickerBase_HasTextCtrl)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxPickerBase *    THIS = (wxPickerBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PickerBase" )
;
	bool	RETVAL;
    try {
      RETVAL = THIS->HasTextCtrl();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__PickerBase_GetTextCtrl); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__PickerBase_GetTextCtrl)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxPickerBase *    THIS = (wxPickerBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PickerBase" )
;
	wxTextCtrl *	RETVAL;
    try {
      RETVAL = THIS->GetTextCtrl();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__PickerBase_GetPickerCtrl); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__PickerBase_GetPickerCtrl)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxPickerBase *    THIS = (wxPickerBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PickerBase" )
;
	wxControl *	RETVAL;
    try {
      RETVAL = THIS->GetPickerCtrl();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#endif

/* INCLUDE: Returning to 'Controls.xs' from '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/PickerCtrl.xsp' */


/* INCLUDE_COMMAND:  Including output of '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/ColourPickerCtrl.xsp' from 'Controls.xs' */

#include <exception>

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#if WXPERL_W_VERSION_GE( 2, 7, 0 )
#include <wx/clrpicker.h>
#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)
#define XSubPPtmpAAGK 1


XS_EUPXS(XS_Wx__ColourPickerCtrl_newDefault); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ColourPickerCtrl_newDefault)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "CLASS");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxColourPickerCtrl *	RETVAL;
     RETVAL = new wxColourPickerCtrl;
                wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)

XS_EUPXS(XS_Wx__ColourPickerCtrl_newFull); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ColourPickerCtrl_newFull)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 9)
       croak_xs_usage(cv,  "CLASS, parent, id= wxID_ANY, col= wxBLACKPtr, pos= wxDefaultPosition, size= wxDefaultSize, style= wxCLRP_DEFAULT_STYLE, validator= wxDefaultValidatorPtr, name= wxButtonNameStr");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxColourPickerCtrl *	RETVAL;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID	id;
	wxColour*	col;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxValidator*	validator;
	wxString	name;

	if (items < 3)
	    id = wxID_ANY;
	else {
    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	}

	if (items < 4)
	    col = wxBLACKPtr;
	else {
    col = (wxColour *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::Colour" )
;
	}

	if (items < 5)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(5) )
;
	}

	if (items < 7)
	    style = wxCLRP_DEFAULT_STYLE;
	else {
	    style = (long)SvIV(ST(6))
;
	}

	if (items < 8)
	    validator = wxDefaultValidatorPtr;
	else {
    validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" )
;
	}

	if (items < 9)
	    name = wxButtonNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(8) )
;
	}
     RETVAL = new wxColourPickerCtrl( parent, id, *col, pos, size,
                                                 style, *validator, name );
                wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)

XS_EUPXS(XS_Wx__ColourPickerCtrl_Create); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ColourPickerCtrl_Create)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 9)
       croak_xs_usage(cv,  "THIS, parent, id= wxID_ANY, col= wxBLACKPtr, pos= wxDefaultPosition, size= wxDefaultSize, style= wxCLRP_DEFAULT_STYLE, validator= wxDefaultValidatorPtr, name= wxButtonNameStr");
    {
	wxColourPickerCtrl *    THIS = (wxColourPickerCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ColourPickerCtrl" )
;
	bool	RETVAL;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID	id;
	wxColour*	col;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxValidator*	validator;
	wxString	name;

	if (items < 3)
	    id = wxID_ANY;
	else {
    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	}

	if (items < 4)
	    col = wxBLACKPtr;
	else {
    col = (wxColour *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::Colour" )
;
	}

	if (items < 5)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(5) )
;
	}

	if (items < 7)
	    style = wxCLRP_DEFAULT_STYLE;
	else {
	    style = (long)SvIV(ST(6))
;
	}

	if (items < 8)
	    validator = wxDefaultValidatorPtr;
	else {
    validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" )
;
	}

	if (items < 9)
	    name = wxButtonNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(8) )
;
	}
    try {
      RETVAL = THIS->Create( parent, id, *( col ), pos, size, style, *( validator ), name );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ColourPickerCtrl_GetColour); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ColourPickerCtrl_GetColour)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxColourPickerCtrl *    THIS = (wxColourPickerCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ColourPickerCtrl" )
;
	wxColour *	RETVAL;
    try {
      RETVAL = new wxColour( THIS->GetColour() );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Colour" );
    wxPli_thread_sv_register( aTHX_ "Wx::Colour", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ColourPickerCtrl_SetColourColour); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ColourPickerCtrl_SetColourColour)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, col");
    {
	wxColourPickerCtrl *    THIS = (wxColourPickerCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ColourPickerCtrl" )
;
	wxColour*    col = (wxColour *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Colour" )
;
    try {
      THIS->SetColour( *( col ) );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__ColourPickerCtrl_SetColourString); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ColourPickerCtrl_SetColourString)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, text");
    {
	wxColourPickerCtrl *    THIS = (wxColourPickerCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ColourPickerCtrl" )
;
	bool	RETVAL;
	wxString	text;

    WXSTRING_INPUT( text, wxString, ST(1) )
;
    try {
      RETVAL = THIS->SetColour( text );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ColourPickerCtrl_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ColourPickerCtrl_new)
{
    dVAR; dXSARGS;
    PERL_UNUSED_VAR(cv); /* -W */
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
    BEGIN_OVERLOAD()
        MATCH_VOIDM_REDISP( newDefault )
        MATCH_ANY_REDISP( newFull )
    END_OVERLOAD( "Wx::ColourPickerCtrl::new" )
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__ColourPickerCtrl_SetColour); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ColourPickerCtrl_SetColour)
{
    dVAR; dXSARGS;
    PERL_UNUSED_VAR(cv); /* -W */
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
    BEGIN_OVERLOAD()
        MATCH_REDISP( wxPliOvl_wcol, SetColourColour )
        MATCH_REDISP( wxPliOvl_s, SetColourString )
    END_OVERLOAD( Wx::ColourPickerCtrl::SetColour )
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__ColourPickerEvent_GetColour); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ColourPickerEvent_GetColour)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxColourPickerEvent *    THIS = (wxColourPickerEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ColourPickerEvent" )
;
	wxColour *	RETVAL;
    try {
      RETVAL = new wxColour( THIS->GetColour() );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Colour" );
    wxPli_thread_sv_register( aTHX_ "Wx::Colour", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__ColourPickerEvent_SetColour); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__ColourPickerEvent_SetColour)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, colour");
    {
	wxColourPickerEvent *    THIS = (wxColourPickerEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ColourPickerEvent" )
;
	wxColour*    colour = (wxColour *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Colour" )
;
    try {
      THIS->SetColour( *( colour ) );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}

#endif

/* INCLUDE: Returning to 'Controls.xs' from '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/ColourPickerCtrl.xsp' */


/* INCLUDE_COMMAND:  Including output of '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/FilePickerCtrl.xsp' from 'Controls.xs' */

#include <exception>

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#if WXPERL_W_VERSION_GE( 2, 7, 0 )
#include <wx/filepicker.h>
#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)
#define XSubPPtmpAAGL 1


XS_EUPXS(XS_Wx__FilePickerCtrl_newDefault); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__FilePickerCtrl_newDefault)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "CLASS");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxFilePickerCtrl *	RETVAL;
     RETVAL = new wxFilePickerCtrl;
                wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)

XS_EUPXS(XS_Wx__FilePickerCtrl_newFull); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__FilePickerCtrl_newFull)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 11)
       croak_xs_usage(cv,  "CLASS, parent, id= wxID_ANY, path= wxEmptyString, message= wxFileSelectorPromptStr, wildcard= wxFileSelectorDefaultWildcardStr, pos= wxDefaultPosition, size= wxDefaultSize, style= wxCLRP_DEFAULT_STYLE, validator= wxDefaultValidatorPtr, name= wxFilePickerCtrlNameStr");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxFilePickerCtrl *	RETVAL;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID	id;
	wxString	path;
	wxString	message;
	wxString	wildcard;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxValidator*	validator;
	wxString	name;

	if (items < 3)
	    id = wxID_ANY;
	else {
    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	}

	if (items < 4)
	    path = wxEmptyString;
	else {
    WXSTRING_INPUT( path, wxString, ST(3) )
;
	}

	if (items < 5)
	    message = wxFileSelectorPromptStr;
	else {
    WXSTRING_INPUT( message, wxString, ST(4) )
;
	}

	if (items < 6)
	    wildcard = wxFileSelectorDefaultWildcardStr;
	else {
    WXSTRING_INPUT( wildcard, wxString, ST(5) )
;
	}

	if (items < 7)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(6) )
;
	}

	if (items < 8)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(7) )
;
	}

	if (items < 9)
	    style = wxCLRP_DEFAULT_STYLE;
	else {
	    style = (long)SvIV(ST(8))
;
	}

	if (items < 10)
	    validator = wxDefaultValidatorPtr;
	else {
    validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(9), "Wx::Validator" )
;
	}

	if (items < 11)
	    name = wxFilePickerCtrlNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(10) )
;
	}
     RETVAL = new wxFilePickerCtrl( parent, id, path, message,
                                               wildcard, pos, size,
                                               style, *validator, name );
                wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)

XS_EUPXS(XS_Wx__FilePickerCtrl_Create); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__FilePickerCtrl_Create)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 11)
       croak_xs_usage(cv,  "THIS, parent, id= wxID_ANY, path= wxEmptyString, message= wxFileSelectorPromptStr, wildcard= wxFileSelectorDefaultWildcardStr, pos= wxDefaultPosition, size= wxDefaultSize, style= wxCLRP_DEFAULT_STYLE, validator= wxDefaultValidatorPtr, name= wxFilePickerCtrlNameStr");
    {
	wxFilePickerCtrl *    THIS = (wxFilePickerCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FilePickerCtrl" )
;
	bool	RETVAL;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID	id;
	wxString	path;
	wxString	message;
	wxString	wildcard;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxValidator*	validator;
	wxString	name;

	if (items < 3)
	    id = wxID_ANY;
	else {
    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	}

	if (items < 4)
	    path = wxEmptyString;
	else {
    WXSTRING_INPUT( path, wxString, ST(3) )
;
	}

	if (items < 5)
	    message = wxFileSelectorPromptStr;
	else {
    WXSTRING_INPUT( message, wxString, ST(4) )
;
	}

	if (items < 6)
	    wildcard = wxFileSelectorDefaultWildcardStr;
	else {
    WXSTRING_INPUT( wildcard, wxString, ST(5) )
;
	}

	if (items < 7)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(6) )
;
	}

	if (items < 8)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(7) )
;
	}

	if (items < 9)
	    style = wxCLRP_DEFAULT_STYLE;
	else {
	    style = (long)SvIV(ST(8))
;
	}

	if (items < 10)
	    validator = wxDefaultValidatorPtr;
	else {
    validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(9), "Wx::Validator" )
;
	}

	if (items < 11)
	    name = wxFilePickerCtrlNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(10) )
;
	}
    try {
      RETVAL = THIS->Create( parent, id, path, message, wildcard, pos, size, style, *( validator ), name );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__FilePickerCtrl_GetPath); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__FilePickerCtrl_GetPath)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxFilePickerCtrl *    THIS = (wxFilePickerCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FilePickerCtrl" )
;
	wxString	RETVAL;
    try {
      RETVAL = THIS->GetPath();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    WXSTRING_OUTPUT( RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__FilePickerCtrl_SetPath); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__FilePickerCtrl_SetPath)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, str");
    {
	wxFilePickerCtrl *    THIS = (wxFilePickerCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FilePickerCtrl" )
;
	wxString	str;

    WXSTRING_INPUT( str, wxString, ST(1) )
;
    try {
      THIS->SetPath( str );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__FilePickerCtrl_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__FilePickerCtrl_new)
{
    dVAR; dXSARGS;
    PERL_UNUSED_VAR(cv); /* -W */
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
    BEGIN_OVERLOAD()
        MATCH_VOIDM_REDISP( newDefault )
        MATCH_ANY_REDISP( newFull )
    END_OVERLOAD( "Wx::FilePickerCtrl::new" )
	PUTBACK;
	return;
    }
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)

XS_EUPXS(XS_Wx__DirPickerCtrl_newDefault); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__DirPickerCtrl_newDefault)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "CLASS");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxDirPickerCtrl *	RETVAL;
     RETVAL = new wxDirPickerCtrl;
                wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)

XS_EUPXS(XS_Wx__DirPickerCtrl_newFull); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__DirPickerCtrl_newFull)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 10)
       croak_xs_usage(cv,  "CLASS, parent, id= wxID_ANY, path= wxEmptyString, message= wxDirSelectorPromptStr, pos= wxDefaultPosition, size= wxDefaultSize, style= wxCLRP_DEFAULT_STYLE, validator= wxDefaultValidatorPtr, name= wxDirPickerCtrlNameStr");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxDirPickerCtrl *	RETVAL;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID	id;
	wxString	path;
	wxString	message;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxValidator*	validator;
	wxString	name;

	if (items < 3)
	    id = wxID_ANY;
	else {
    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	}

	if (items < 4)
	    path = wxEmptyString;
	else {
    WXSTRING_INPUT( path, wxString, ST(3) )
;
	}

	if (items < 5)
	    message = wxDirSelectorPromptStr;
	else {
    WXSTRING_INPUT( message, wxString, ST(4) )
;
	}

	if (items < 6)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(5) )
;
	}

	if (items < 7)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(6) )
;
	}

	if (items < 8)
	    style = wxCLRP_DEFAULT_STYLE;
	else {
	    style = (long)SvIV(ST(7))
;
	}

	if (items < 9)
	    validator = wxDefaultValidatorPtr;
	else {
    validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(8), "Wx::Validator" )
;
	}

	if (items < 10)
	    name = wxDirPickerCtrlNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(9) )
;
	}
     RETVAL = new wxDirPickerCtrl( parent, id, path, message,
                                              pos, size,
                                              style, *validator, name );
                wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)

XS_EUPXS(XS_Wx__DirPickerCtrl_Create); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__DirPickerCtrl_Create)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 10)
       croak_xs_usage(cv,  "THIS, parent, id= wxID_ANY, path= wxEmptyString, message= wxDirSelectorPromptStr, pos= wxDefaultPosition, size= wxDefaultSize, style= wxCLRP_DEFAULT_STYLE, validator= wxDefaultValidatorPtr, name= wxDirPickerCtrlNameStr");
    {
	wxDirPickerCtrl *    THIS = (wxDirPickerCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::DirPickerCtrl" )
;
	bool	RETVAL;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID	id;
	wxString	path;
	wxString	message;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxValidator*	validator;
	wxString	name;

	if (items < 3)
	    id = wxID_ANY;
	else {
    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	}

	if (items < 4)
	    path = wxEmptyString;
	else {
    WXSTRING_INPUT( path, wxString, ST(3) )
;
	}

	if (items < 5)
	    message = wxDirSelectorPromptStr;
	else {
    WXSTRING_INPUT( message, wxString, ST(4) )
;
	}

	if (items < 6)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(5) )
;
	}

	if (items < 7)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(6) )
;
	}

	if (items < 8)
	    style = wxCLRP_DEFAULT_STYLE;
	else {
	    style = (long)SvIV(ST(7))
;
	}

	if (items < 9)
	    validator = wxDefaultValidatorPtr;
	else {
    validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(8), "Wx::Validator" )
;
	}

	if (items < 10)
	    name = wxDirPickerCtrlNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(9) )
;
	}
    try {
      RETVAL = THIS->Create( parent, id, path, message, pos, size, style, *( validator ), name );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__DirPickerCtrl_GetPath); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__DirPickerCtrl_GetPath)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxDirPickerCtrl *    THIS = (wxDirPickerCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::DirPickerCtrl" )
;
	wxString	RETVAL;
    try {
      RETVAL = THIS->GetPath();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    WXSTRING_OUTPUT( RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__DirPickerCtrl_SetPath); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__DirPickerCtrl_SetPath)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, str");
    {
	wxDirPickerCtrl *    THIS = (wxDirPickerCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::DirPickerCtrl" )
;
	wxString	str;

    WXSTRING_INPUT( str, wxString, ST(1) )
;
    try {
      THIS->SetPath( str );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__DirPickerCtrl_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__DirPickerCtrl_new)
{
    dVAR; dXSARGS;
    PERL_UNUSED_VAR(cv); /* -W */
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
    BEGIN_OVERLOAD()
        MATCH_VOIDM_REDISP( newDefault )
        MATCH_ANY_REDISP( newFull )
    END_OVERLOAD( "Wx::DirPickerCtrl::new" )
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__FileDirPickerEvent_GetPath); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__FileDirPickerEvent_GetPath)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxFileDirPickerEvent *    THIS = (wxFileDirPickerEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileDirPickerEvent" )
;
	wxString	RETVAL;
    try {
      RETVAL = THIS->GetPath();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    WXSTRING_OUTPUT( RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__FileDirPickerEvent_SetPath); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__FileDirPickerEvent_SetPath)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, p");
    {
	wxFileDirPickerEvent *    THIS = (wxFileDirPickerEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileDirPickerEvent" )
;
	wxString	p;

    WXSTRING_INPUT( p, wxString, ST(1) )
;
    try {
      THIS->SetPath( p );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}

#endif

/* INCLUDE: Returning to 'Controls.xs' from '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/FilePickerCtrl.xsp' */


/* INCLUDE_COMMAND:  Including output of '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/FontPickerCtrl.xsp' from 'Controls.xs' */

#include <exception>

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#if WXPERL_W_VERSION_GE( 2, 7, 0 )
#include <wx/fontpicker.h>
#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)
#define XSubPPtmpAAGM 1


XS_EUPXS(XS_Wx__FontPickerCtrl_newDefault); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__FontPickerCtrl_newDefault)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "CLASS");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxFontPickerCtrl *	RETVAL;
     RETVAL = new wxFontPickerCtrl;
                wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)
#undef  xsp_constructor_class
#define xsp_constructor_class(c) (CLASS)

XS_EUPXS(XS_Wx__FontPickerCtrl_newFull); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__FontPickerCtrl_newFull)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 9)
       croak_xs_usage(cv,  "CLASS, parent, id= wxID_ANY, font= wxNORMAL_FONTPtr, pos= wxDefaultPosition, size= wxDefaultSize, style= wxCLRP_DEFAULT_STYLE, validator= wxDefaultValidatorPtr, name= wxButtonNameStr");
    {
	char *	CLASS = (char *)SvPV_nolen(ST(0))
;
	wxFontPickerCtrl *	RETVAL;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID	id;
	wxFont*	font;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxValidator*	validator;
	wxString	name;

	if (items < 3)
	    id = wxID_ANY;
	else {
    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	}

	if (items < 4)
	    font = wxNORMAL_FONTPtr;
	else {
    font = (wxFont *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::Font" )
;
	}

	if (items < 5)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(5) )
;
	}

	if (items < 7)
	    style = wxCLRP_DEFAULT_STYLE;
	else {
	    style = (long)SvIV(ST(6))
;
	}

	if (items < 8)
	    validator = wxDefaultValidatorPtr;
	else {
    validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" )
;
	}

	if (items < 9)
	    name = wxButtonNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(8) )
;
	}
     RETVAL = new wxFontPickerCtrl( parent, id, *font, pos, size,
                                                style, *validator, name );
                wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
	ST(0) = sv_newmortal();
    wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
    }
    XSRETURN(1);
}

#undef  xsp_constructor_class
#define xsp_constructor_class(c) (c)

XS_EUPXS(XS_Wx__FontPickerCtrl_Create); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__FontPickerCtrl_Create)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 9)
       croak_xs_usage(cv,  "THIS, parent, id= wxID_ANY, col= wxNORMAL_FONTPtr, pos= wxDefaultPosition, size= wxDefaultSize, style= wxCLRP_DEFAULT_STYLE, validator= wxDefaultValidatorPtr, name= wxButtonNameStr");
    {
	wxFontPickerCtrl *    THIS = (wxFontPickerCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FontPickerCtrl" )
;
	bool	RETVAL;
	wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" )
;
	wxWindowID	id;
	wxFont*	col;
	wxPoint	pos;
	wxSize	size;
	long	style;
	wxValidator*	validator;
	wxString	name;

	if (items < 3)
	    id = wxID_ANY;
	else {
    id = wxPli_get_wxwindowid( aTHX_ ST(2) )
;
	}

	if (items < 4)
	    col = wxNORMAL_FONTPtr;
	else {
    col = (wxFont *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::Font" )
;
	}

	if (items < 5)
	    pos = wxDefaultPosition;
	else {
    pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) )
;
	}

	if (items < 6)
	    size = wxDefaultSize;
	else {
    size = wxPli_sv_2_wxsize( aTHX_ ST(5) )
;
	}

	if (items < 7)
	    style = wxCLRP_DEFAULT_STYLE;
	else {
	    style = (long)SvIV(ST(6))
;
	}

	if (items < 8)
	    validator = wxDefaultValidatorPtr;
	else {
    validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" )
;
	}

	if (items < 9)
	    name = wxButtonNameStr;
	else {
    WXSTRING_INPUT( name, wxString, ST(8) )
;
	}
    try {
      RETVAL = THIS->Create( parent, id, *( col ), pos, size, style, *( validator ), name );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__FontPickerCtrl_GetSelectedFont); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__FontPickerCtrl_GetSelectedFont)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxFontPickerCtrl *    THIS = (wxFontPickerCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FontPickerCtrl" )
;
	wxFont *	RETVAL;
    try {
      RETVAL = new wxFont( THIS->GetSelectedFont() );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    wxPli_thread_sv_register( aTHX_ "Wx::Font", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__FontPickerCtrl_SetSelectedFont); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__FontPickerCtrl_SetSelectedFont)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, f");
    {
	wxFontPickerCtrl *    THIS = (wxFontPickerCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FontPickerCtrl" )
;
	wxFont*    f = (wxFont *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Font" )
;
    try {
      THIS->SetSelectedFont( *( f ) );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__FontPickerCtrl_SetMaxPointSize); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__FontPickerCtrl_SetMaxPointSize)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, max");
    {
	wxFontPickerCtrl *    THIS = (wxFontPickerCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FontPickerCtrl" )
;
	unsigned int    max = (unsigned int)SvUV( ST(1) )
;
    try {
      THIS->SetMaxPointSize( max );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Wx__FontPickerCtrl_GetMaxPointSize); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__FontPickerCtrl_GetMaxPointSize)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxFontPickerCtrl *    THIS = (wxFontPickerCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FontPickerCtrl" )
;
	unsigned int	RETVAL;
	dXSTARG;
    try {
      RETVAL = THIS->GetMaxPointSize();
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	XSprePUSH; PUSHu((UV)RETVAL );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__FontPickerCtrl_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__FontPickerCtrl_new)
{
    dVAR; dXSARGS;
    PERL_UNUSED_VAR(cv); /* -W */
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
    BEGIN_OVERLOAD()
        MATCH_VOIDM_REDISP( newDefault )
        MATCH_ANY_REDISP( newFull )
    END_OVERLOAD( "Wx::FontPickerCtrl::new" )
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Wx__FontPickerEvent_GetFont); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__FontPickerEvent_GetFont)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "THIS");
    {
	wxFontPickerEvent *    THIS = (wxFontPickerEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FontPickerEvent" )
;
	wxFont *	RETVAL;
    try {
      RETVAL = new wxFont( THIS->GetFont() );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
	ST(0) = sv_newmortal();
    wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
    wxPli_thread_sv_register( aTHX_ "Wx::Font", RETVAL, ST(0) );
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Wx__FontPickerEvent_SetFont); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Wx__FontPickerEvent_SetFont)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "THIS, c");
    {
	wxFontPickerEvent *    THIS = (wxFontPickerEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FontPickerEvent" )
;
	wxFont*    c = (wxFont *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Font" )
;
    try {
      THIS->SetFont( *( c ) );
    }
    catch (std::exception& e) {
      croak("Caught C++ exception of type or derived from 'std::exception': %s", e.what());
    }
    catch (...) {
      croak("Caught C++ exception of unknown type");
    }
    }
    XSRETURN_EMPTY;
}

#endif

/* INCLUDE: Returning to 'Controls.xs' from '/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/FontPickerCtrl.xsp' */

#ifdef __cplusplus
extern "C"
#endif
XS_EXTERNAL(boot_Wx_Ctrl); /* prototype to pass -Wmissing-prototypes */
XS_EXTERNAL(boot_Wx_Ctrl)
{
    dVAR; dXSARGS;
#if (PERL_REVISION == 5 && PERL_VERSION < 9)
    char* file = __FILE__;
#else
    const char* file = __FILE__;
#endif

    PERL_UNUSED_VAR(cv); /* -W */
    PERL_UNUSED_VAR(items); /* -W */
#ifdef XS_APIVERSION_BOOTCHECK
    XS_APIVERSION_BOOTCHECK;
#endif
    XS_VERSION_BOOTCHECK;

        newXS("Wx::Control::Command", XS_Wx__Control_Command, file);
#if XSubPPtmpAAAA
        newXS("Wx::Control::GetLabelText", XS_Wx__Control_GetLabelText, file);
#endif
        newXS("Wx::ControlWithItems::GetCount", XS_Wx__ControlWithItems_GetCount, file);
#if XSubPPtmpAAAB
        newXS("Wx::ControlWithItems::IsEmpty", XS_Wx__ControlWithItems_IsEmpty, file);
#endif
        newXS("Wx::ControlWithItems::GetString", XS_Wx__ControlWithItems_GetString, file);
        newXS("Wx::ControlWithItems::GetStrings", XS_Wx__ControlWithItems_GetStrings, file);
        newXS("Wx::ControlWithItems::SetString", XS_Wx__ControlWithItems_SetString, file);
        newXS("Wx::ControlWithItems::FindString", XS_Wx__ControlWithItems_FindString, file);
        newXS("Wx::ControlWithItems::FindStringNoCase", XS_Wx__ControlWithItems_FindStringNoCase, file);
#if XSubPPtmpAAAC
        newXS("Wx::ControlWithItems::FindStringCase", XS_Wx__ControlWithItems_FindStringCase, file);
#endif
#if XSubPPtmpAAAD
        newXS("Wx::ControlWithItems::SetSelection", XS_Wx__ControlWithItems_SetSelection, file);
        newXS("Wx::ControlWithItems::GetSelection", XS_Wx__ControlWithItems_GetSelection, file);
#endif
        newXS("Wx::ControlWithItems::SetStringSelection", XS_Wx__ControlWithItems_SetStringSelection, file);
        newXS("Wx::ControlWithItems::GetStringSelection", XS_Wx__ControlWithItems_GetStringSelection, file);
        newXS("Wx::ControlWithItems::Select", XS_Wx__ControlWithItems_Select, file);
        newXS("Wx::ControlWithItems::Append", XS_Wx__ControlWithItems_Append, file);
        newXS("Wx::ControlWithItems::AppendString", XS_Wx__ControlWithItems_AppendString, file);
        newXS("Wx::ControlWithItems::AppendData", XS_Wx__ControlWithItems_AppendData, file);
        newXS("Wx::ControlWithItems::AppendItems", XS_Wx__ControlWithItems_AppendItems, file);
#if XSubPPtmpAAAE
        newXS("Wx::ControlWithItems::AppendItemsData", XS_Wx__ControlWithItems_AppendItemsData, file);
#endif
        newXS("Wx::ControlWithItems::Insert", XS_Wx__ControlWithItems_Insert, file);
        newXS("Wx::ControlWithItems::InsertString", XS_Wx__ControlWithItems_InsertString, file);
        newXS("Wx::ControlWithItems::InsertData", XS_Wx__ControlWithItems_InsertData, file);
#if XSubPPtmpAAAF
        newXS("Wx::ControlWithItems::InsertItems", XS_Wx__ControlWithItems_InsertItems, file);
        newXS("Wx::ControlWithItems::InsertItemsData", XS_Wx__ControlWithItems_InsertItemsData, file);
#endif
#if XSubPPtmpAAAG
        newXS("Wx::ControlWithItems::Set", XS_Wx__ControlWithItems_Set, file);
        newXS("Wx::ControlWithItems::SetItems", XS_Wx__ControlWithItems_SetItems, file);
        newXS("Wx::ControlWithItems::SetItemsData", XS_Wx__ControlWithItems_SetItemsData, file);
#endif
        newXS("Wx::ControlWithItems::Clear", XS_Wx__ControlWithItems_Clear, file);
        newXS("Wx::ControlWithItems::Delete", XS_Wx__ControlWithItems_Delete, file);
        newXS("Wx::ControlWithItems::GetClientData", XS_Wx__ControlWithItems_GetClientData, file);
        newXS("Wx::ControlWithItems::SetClientData", XS_Wx__ControlWithItems_SetClientData, file);
#if XSubPPtmpAAAH
        newXS("Wx::AnimationCtrl::newDefault", XS_Wx__AnimationCtrl_newDefault, file);
        newXS("Wx::AnimationCtrl::new", XS_Wx__AnimationCtrl_new, file);
        newXS("Wx::AnimationCtrl::Create", XS_Wx__AnimationCtrl_Create, file);
        newXS("Wx::AnimationCtrl::LoadFile", XS_Wx__AnimationCtrl_LoadFile, file);
        newXS("Wx::AnimationCtrl::SetAnimation", XS_Wx__AnimationCtrl_SetAnimation, file);
        newXS("Wx::AnimationCtrl::GetAnimation", XS_Wx__AnimationCtrl_GetAnimation, file);
        newXS("Wx::AnimationCtrl::Play", XS_Wx__AnimationCtrl_Play, file);
        newXS("Wx::AnimationCtrl::Stop", XS_Wx__AnimationCtrl_Stop, file);
        newXS("Wx::AnimationCtrl::IsPlaying", XS_Wx__AnimationCtrl_IsPlaying, file);
        newXS("Wx::AnimationCtrl::SetInactiveBitmap", XS_Wx__AnimationCtrl_SetInactiveBitmap, file);
        newXS("Wx::AnimationCtrl::GetInactiveBitmap", XS_Wx__AnimationCtrl_GetInactiveBitmap, file);
#endif
#if XSubPPtmpAAAI
        newXS("Wx::BitmapButton::NewCloseButton", XS_Wx__BitmapButton_NewCloseButton, file);
#endif
        newXS("Wx::BitmapButton::newDefault", XS_Wx__BitmapButton_newDefault, file);
        newXS("Wx::BitmapButton::newFull", XS_Wx__BitmapButton_newFull, file);
        newXS("Wx::BitmapButton::Create", XS_Wx__BitmapButton_Create, file);
        newXS("Wx::BitmapButton::GetBitmapDisabled", XS_Wx__BitmapButton_GetBitmapDisabled, file);
        newXS("Wx::BitmapButton::GetBitmapFocus", XS_Wx__BitmapButton_GetBitmapFocus, file);
#if XSubPPtmpAAAJ
        newXS("Wx::BitmapButton::GetBitmapHover", XS_Wx__BitmapButton_GetBitmapHover, file);
#endif
        newXS("Wx::BitmapButton::GetBitmapLabel", XS_Wx__BitmapButton_GetBitmapLabel, file);
        newXS("Wx::BitmapButton::GetBitmapSelected", XS_Wx__BitmapButton_GetBitmapSelected, file);
        newXS("Wx::BitmapButton::SetBitmapDisabled", XS_Wx__BitmapButton_SetBitmapDisabled, file);
        newXS("Wx::BitmapButton::SetBitmapFocus", XS_Wx__BitmapButton_SetBitmapFocus, file);
#if XSubPPtmpAAAK
        newXS("Wx::BitmapButton::SetBitmapHover", XS_Wx__BitmapButton_SetBitmapHover, file);
#endif
        newXS("Wx::BitmapButton::SetBitmapLabel", XS_Wx__BitmapButton_SetBitmapLabel, file);
        newXS("Wx::BitmapButton::SetBitmapSelected", XS_Wx__BitmapButton_SetBitmapSelected, file);
#if XSubPPtmpAAAL
        newXS("Wx::BitmapButton::new", XS_Wx__BitmapButton_new, file);
#endif
#if XSubPPtmpAAAM
        newXS("Wx::EditableListBox::new", XS_Wx__EditableListBox_new, file);
        newXS("Wx::EditableListBox::newDefault", XS_Wx__EditableListBox_newDefault, file);
        newXS("Wx::EditableListBox::newFull", XS_Wx__EditableListBox_newFull, file);
        newXS("Wx::EditableListBox::Create", XS_Wx__EditableListBox_Create, file);
        newXS("Wx::EditableListBox::SetStrings", XS_Wx__EditableListBox_SetStrings, file);
        newXS("Wx::EditableListBox::GetStrings", XS_Wx__EditableListBox_GetStrings, file);
        newXS("Wx::EditableListBox::GetListCtrl", XS_Wx__EditableListBox_GetListCtrl, file);
        newXS("Wx::EditableListBox::GetDelButton", XS_Wx__EditableListBox_GetDelButton, file);
        newXS("Wx::EditableListBox::GetNewButton", XS_Wx__EditableListBox_GetNewButton, file);
        newXS("Wx::EditableListBox::GetUpButton", XS_Wx__EditableListBox_GetUpButton, file);
        newXS("Wx::EditableListBox::GetDownButton", XS_Wx__EditableListBox_GetDownButton, file);
        newXS("Wx::EditableListBox::GetEditButton", XS_Wx__EditableListBox_GetEditButton, file);
#endif
#if XSubPPtmpAAAN
        newXS("Wx::BookCtrl::GetPageCount", XS_Wx__BookCtrl_GetPageCount, file);
        newXS("Wx::BookCtrl::GetPage", XS_Wx__BookCtrl_GetPage, file);
        newXS("Wx::BookCtrl::GetSelection", XS_Wx__BookCtrl_GetSelection, file);
        newXS("Wx::BookCtrl::SetPageText", XS_Wx__BookCtrl_SetPageText, file);
        newXS("Wx::BookCtrl::GetPageText", XS_Wx__BookCtrl_GetPageText, file);
        newXS("Wx::BookCtrl::SetImageList", XS_Wx__BookCtrl_SetImageList, file);
        newXS("Wx::BookCtrl::GetPageImage", XS_Wx__BookCtrl_GetPageImage, file);
        newXS("Wx::BookCtrl::SetPageImage", XS_Wx__BookCtrl_SetPageImage, file);
        newXS("Wx::BookCtrl::SetPageSize", XS_Wx__BookCtrl_SetPageSize, file);
        newXS("Wx::BookCtrl::CalcSizeFromPage", XS_Wx__BookCtrl_CalcSizeFromPage, file);
#if XSubPPtmpAAAO
        newXS("Wx::BookCtrl::GetInternalBorder", XS_Wx__BookCtrl_GetInternalBorder, file);
        newXS("Wx::BookCtrl::SetInternalBorder", XS_Wx__BookCtrl_SetInternalBorder, file);
        newXS("Wx::BookCtrl::IsVertical", XS_Wx__BookCtrl_IsVertical, file);
        newXS("Wx::BookCtrl::SetFitToCurrentPage", XS_Wx__BookCtrl_SetFitToCurrentPage, file);
        newXS("Wx::BookCtrl::GetFitToCurrentPage", XS_Wx__BookCtrl_GetFitToCurrentPage, file);
        newXS("Wx::BookCtrl::GetControlSizer", XS_Wx__BookCtrl_GetControlSizer, file);
#endif
        newXS("Wx::BookCtrl::DeletePage", XS_Wx__BookCtrl_DeletePage, file);
        newXS("Wx::BookCtrl::RemovePage", XS_Wx__BookCtrl_RemovePage, file);
        newXS("Wx::BookCtrl::DeleteAllPages", XS_Wx__BookCtrl_DeleteAllPages, file);
        newXS("Wx::BookCtrl::AddPage", XS_Wx__BookCtrl_AddPage, file);
        newXS("Wx::BookCtrl::InsertPage", XS_Wx__BookCtrl_InsertPage, file);
        newXS("Wx::BookCtrl::SetSelection", XS_Wx__BookCtrl_SetSelection, file);
        newXS("Wx::BookCtrl::AdvanceSelection", XS_Wx__BookCtrl_AdvanceSelection, file);
#if XSubPPtmpAAAP
        newXS("Wx::BookCtrl::ChangeSelection", XS_Wx__BookCtrl_ChangeSelection, file);
#endif
#if XSubPPtmpAAAQ
        newXS("Wx::BookCtrl::GetCurrentPage", XS_Wx__BookCtrl_GetCurrentPage, file);
#endif
        newXS("Wx::BookCtrl::AssignImageList", XS_Wx__BookCtrl_AssignImageList, file);
        newXS("Wx::BookCtrl::GetImageList", XS_Wx__BookCtrl_GetImageList, file);
#if XSubPPtmpAAAR
        newXS("Wx::BookCtrl::HitTest", XS_Wx__BookCtrl_HitTest, file);
#endif
        newXS("Wx::BookCtrlEvent::GetSelection", XS_Wx__BookCtrlEvent_GetSelection, file);
        newXS("Wx::BookCtrlEvent::SetSelection", XS_Wx__BookCtrlEvent_SetSelection, file);
        newXS("Wx::BookCtrlEvent::GetOldSelection", XS_Wx__BookCtrlEvent_GetOldSelection, file);
        newXS("Wx::BookCtrlEvent::SetOldSelection", XS_Wx__BookCtrlEvent_SetOldSelection, file);
#endif
#if XSubPPtmpAAAS
        newXS("Wx::Listbook::newDefault", XS_Wx__Listbook_newDefault, file);
        newXS("Wx::Listbook::newFull", XS_Wx__Listbook_newFull, file);
        newXS("Wx::Listbook::Create", XS_Wx__Listbook_Create, file);
#if XSubPPtmpAAAT
        newXS("Wx::Listbook::GetListView", XS_Wx__Listbook_GetListView, file);
#endif
        newXS("Wx::Listbook::new", XS_Wx__Listbook_new, file);
#endif
#if XSubPPtmpAAAU
        newXS("Wx::Choicebook::newDefault", XS_Wx__Choicebook_newDefault, file);
        newXS("Wx::Choicebook::newFull", XS_Wx__Choicebook_newFull, file);
        newXS("Wx::Choicebook::Create", XS_Wx__Choicebook_Create, file);
        newXS("Wx::Choicebook::IsVertical", XS_Wx__Choicebook_IsVertical, file);
#if XSubPPtmpAAAV
        newXS("Wx::Choicebook::GetChoiceCtrl", XS_Wx__Choicebook_GetChoiceCtrl, file);
#endif
        newXS("Wx::Choicebook::new", XS_Wx__Choicebook_new, file);
#endif
#if XSubPPtmpAAAW
        newXS("Wx::Toolbook::newDefault", XS_Wx__Toolbook_newDefault, file);
        newXS("Wx::Toolbook::newFull", XS_Wx__Toolbook_newFull, file);
        newXS("Wx::Toolbook::Create", XS_Wx__Toolbook_Create, file);
        newXS("Wx::Toolbook::GetToolBar", XS_Wx__Toolbook_GetToolBar, file);
        newXS("Wx::Toolbook::Realize", XS_Wx__Toolbook_Realize, file);
        newXS("Wx::Toolbook::new", XS_Wx__Toolbook_new, file);
#endif
#if XSubPPtmpAAAX
        newXS("Wx::TreebookEvent::new", XS_Wx__TreebookEvent_new, file);
        newXS("Wx::TreebookEvent::GetOldSelection", XS_Wx__TreebookEvent_GetOldSelection, file);
        newXS("Wx::TreebookEvent::GetSelection", XS_Wx__TreebookEvent_GetSelection, file);
        newXS("Wx::Treebook::newDefault", XS_Wx__Treebook_newDefault, file);
        newXS("Wx::Treebook::newFull", XS_Wx__Treebook_newFull, file);
        newXS("Wx::Treebook::Create", XS_Wx__Treebook_Create, file);
        newXS("Wx::Treebook::InsertSubPage", XS_Wx__Treebook_InsertSubPage, file);
        newXS("Wx::Treebook::AddSubPage", XS_Wx__Treebook_AddSubPage, file);
        newXS("Wx::Treebook::IsNodeExpanded", XS_Wx__Treebook_IsNodeExpanded, file);
        newXS("Wx::Treebook::ExpandNode", XS_Wx__Treebook_ExpandNode, file);
        newXS("Wx::Treebook::CollapseNode", XS_Wx__Treebook_CollapseNode, file);
        newXS("Wx::Treebook::GetPageParent", XS_Wx__Treebook_GetPageParent, file);
        newXS("Wx::Treebook::GetTreeCtrl", XS_Wx__Treebook_GetTreeCtrl, file);
        newXS("Wx::Treebook::new", XS_Wx__Treebook_new, file);
#endif
#if XSubPPtmpAAAY
        newXS("Wx::HyperlinkCtrl::newDefault", XS_Wx__HyperlinkCtrl_newDefault, file);
        newXS("Wx::HyperlinkCtrl::newFull", XS_Wx__HyperlinkCtrl_newFull, file);
        newXS("Wx::HyperlinkCtrl::Create", XS_Wx__HyperlinkCtrl_Create, file);
        newXS("Wx::HyperlinkCtrl::GetHoverColour", XS_Wx__HyperlinkCtrl_GetHoverColour, file);
        newXS("Wx::HyperlinkCtrl::SetHoverColour", XS_Wx__HyperlinkCtrl_SetHoverColour, file);
        newXS("Wx::HyperlinkCtrl::GetNormalColour", XS_Wx__HyperlinkCtrl_GetNormalColour, file);
        newXS("Wx::HyperlinkCtrl::SetNormalColour", XS_Wx__HyperlinkCtrl_SetNormalColour, file);
        newXS("Wx::HyperlinkCtrl::GetVisitedColour", XS_Wx__HyperlinkCtrl_GetVisitedColour, file);
        newXS("Wx::HyperlinkCtrl::SetVisitedColour", XS_Wx__HyperlinkCtrl_SetVisitedColour, file);
        newXS("Wx::HyperlinkCtrl::GetURL", XS_Wx__HyperlinkCtrl_GetURL, file);
        newXS("Wx::HyperlinkCtrl::SetURL", XS_Wx__HyperlinkCtrl_SetURL, file);
        newXS("Wx::HyperlinkCtrl::SetVisited", XS_Wx__HyperlinkCtrl_SetVisited, file);
        newXS("Wx::HyperlinkCtrl::GetVisited", XS_Wx__HyperlinkCtrl_GetVisited, file);
        newXS("Wx::HyperlinkEvent::GetURL", XS_Wx__HyperlinkEvent_GetURL, file);
        newXS("Wx::HyperlinkEvent::SetURL", XS_Wx__HyperlinkEvent_SetURL, file);
        newXS("Wx::HyperlinkEvent::new", XS_Wx__HyperlinkEvent_new, file);
#endif
#if XSubPPtmpAAAZ
        newXS("Wx::VListBox::Create", XS_Wx__VListBox_Create, file);
        newXS("Wx::VListBox::GetItemCount", XS_Wx__VListBox_GetItemCount, file);
        newXS("Wx::VListBox::HasMultipleSelection", XS_Wx__VListBox_HasMultipleSelection, file);
        newXS("Wx::VListBox::IsCurrent", XS_Wx__VListBox_IsCurrent, file);
        newXS("Wx::VListBox::IsSelected", XS_Wx__VListBox_IsSelected, file);
        newXS("Wx::VListBox::GetSelectedCount", XS_Wx__VListBox_GetSelectedCount, file);
        newXS("Wx::VListBox::GetMargins", XS_Wx__VListBox_GetMargins, file);
        newXS("Wx::VListBox::GetSelectionBackground", XS_Wx__VListBox_GetSelectionBackground, file);
        newXS("Wx::VListBox::SetItemCount", XS_Wx__VListBox_SetItemCount, file);
        newXS("Wx::VListBox::Clear", XS_Wx__VListBox_Clear, file);
        newXS("Wx::VListBox::GetSelection", XS_Wx__VListBox_GetSelection, file);
        newXS("Wx::VListBox::SetSelection", XS_Wx__VListBox_SetSelection, file);
        newXS("Wx::VListBox::Select", XS_Wx__VListBox_Select, file);
        newXS("Wx::VListBox::SelectRange", XS_Wx__VListBox_SelectRange, file);
        newXS("Wx::VListBox::Toggle", XS_Wx__VListBox_Toggle, file);
        newXS("Wx::VListBox::SelectAll", XS_Wx__VListBox_SelectAll, file);
        newXS("Wx::VListBox::DeselectAll", XS_Wx__VListBox_DeselectAll, file);
        newXS("Wx::VListBox::SetMargins", XS_Wx__VListBox_SetMargins, file);
        newXS("Wx::VListBox::SetSelectionBackground", XS_Wx__VListBox_SetSelectionBackground, file);
        newXS("Wx::VListBox::GetFirstSelected", XS_Wx__VListBox_GetFirstSelected, file);
        newXS("Wx::VListBox::GetNextSelected", XS_Wx__VListBox_GetNextSelected, file);
        newXS("Wx::PlVListBox::new", XS_Wx__PlVListBox_new, file);
        newXS("Wx::PlVListBox::newDefault", XS_Wx__PlVListBox_newDefault, file);
        newXS("Wx::PlVListBox::newFull", XS_Wx__PlVListBox_newFull, file);
#endif
#if XSubPPtmpAABA
        newXS("Wx::SearchCtrl::new", XS_Wx__SearchCtrl_new, file);
        newXS("Wx::SearchCtrl::newDefault", XS_Wx__SearchCtrl_newDefault, file);
        newXS("Wx::SearchCtrl::newFull", XS_Wx__SearchCtrl_newFull, file);
        newXS("Wx::SearchCtrl::Create", XS_Wx__SearchCtrl_Create, file);
        newXS("Wx::SearchCtrl::SetMenu", XS_Wx__SearchCtrl_SetMenu, file);
        newXS("Wx::SearchCtrl::GetMenu", XS_Wx__SearchCtrl_GetMenu, file);
        newXS("Wx::SearchCtrl::ShowSearchButton", XS_Wx__SearchCtrl_ShowSearchButton, file);
        newXS("Wx::SearchCtrl::IsSearchButtonVisible", XS_Wx__SearchCtrl_IsSearchButtonVisible, file);
        newXS("Wx::SearchCtrl::ShowCancelButton", XS_Wx__SearchCtrl_ShowCancelButton, file);
        newXS("Wx::SearchCtrl::IsCancelButtonVisible", XS_Wx__SearchCtrl_IsCancelButtonVisible, file);
        newXS("Wx::SearchCtrl::SetDescriptiveText", XS_Wx__SearchCtrl_SetDescriptiveText, file);
        newXS("Wx::SearchCtrl::GetDescriptiveText", XS_Wx__SearchCtrl_GetDescriptiveText, file);
#if XSubPPtmpAABB
#if XSubPPtmpAABC
        newXS("Wx::SearchCtrl::GetValue", XS_Wx__SearchCtrl_GetValue, file);
        newXS("Wx::SearchCtrl::SetValue", XS_Wx__SearchCtrl_SetValue, file);
        newXS("Wx::SearchCtrl::ChangeValue", XS_Wx__SearchCtrl_ChangeValue, file);
        newXS("Wx::SearchCtrl::GetRange", XS_Wx__SearchCtrl_GetRange, file);
        newXS("Wx::SearchCtrl::WriteText", XS_Wx__SearchCtrl_WriteText, file);
        newXS("Wx::SearchCtrl::AppendText", XS_Wx__SearchCtrl_AppendText, file);
        newXS("Wx::SearchCtrl::IsEmpty", XS_Wx__SearchCtrl_IsEmpty, file);
        newXS("Wx::SearchCtrl::Clear", XS_Wx__SearchCtrl_Clear, file);
        newXS("Wx::SearchCtrl::Replace", XS_Wx__SearchCtrl_Replace, file);
        newXS("Wx::SearchCtrl::Remove", XS_Wx__SearchCtrl_Remove, file);
        newXS("Wx::SearchCtrl::RemoveSelection", XS_Wx__SearchCtrl_RemoveSelection, file);
        newXS("Wx::SearchCtrl::Copy", XS_Wx__SearchCtrl_Copy, file);
        newXS("Wx::SearchCtrl::Cut", XS_Wx__SearchCtrl_Cut, file);
        newXS("Wx::SearchCtrl::Paste", XS_Wx__SearchCtrl_Paste, file);
        newXS("Wx::SearchCtrl::CanCopy", XS_Wx__SearchCtrl_CanCopy, file);
        newXS("Wx::SearchCtrl::CanCut", XS_Wx__SearchCtrl_CanCut, file);
        newXS("Wx::SearchCtrl::CanPaste", XS_Wx__SearchCtrl_CanPaste, file);
        newXS("Wx::SearchCtrl::Undo", XS_Wx__SearchCtrl_Undo, file);
        newXS("Wx::SearchCtrl::Redo", XS_Wx__SearchCtrl_Redo, file);
        newXS("Wx::SearchCtrl::CanUndo", XS_Wx__SearchCtrl_CanUndo, file);
        newXS("Wx::SearchCtrl::CanRedo", XS_Wx__SearchCtrl_CanRedo, file);
        newXS("Wx::SearchCtrl::SetInsertionPoint", XS_Wx__SearchCtrl_SetInsertionPoint, file);
        newXS("Wx::SearchCtrl::SetInsertionPointEnd", XS_Wx__SearchCtrl_SetInsertionPointEnd, file);
        newXS("Wx::SearchCtrl::GetInsertionPoint", XS_Wx__SearchCtrl_GetInsertionPoint, file);
        newXS("Wx::SearchCtrl::GetLastPosition", XS_Wx__SearchCtrl_GetLastPosition, file);
        newXS("Wx::SearchCtrl::SetSelection", XS_Wx__SearchCtrl_SetSelection, file);
        newXS("Wx::SearchCtrl::SelectAll", XS_Wx__SearchCtrl_SelectAll, file);
        newXS("Wx::SearchCtrl::HasSelection", XS_Wx__SearchCtrl_HasSelection, file);
        newXS("Wx::SearchCtrl::GetStringSelection", XS_Wx__SearchCtrl_GetStringSelection, file);
        newXS("Wx::SearchCtrl::AutoCompleteFileNames", XS_Wx__SearchCtrl_AutoCompleteFileNames, file);
        newXS("Wx::SearchCtrl::AutoComplete", XS_Wx__SearchCtrl_AutoComplete, file);
        newXS("Wx::SearchCtrl::IsEditable", XS_Wx__SearchCtrl_IsEditable, file);
        newXS("Wx::SearchCtrl::SetEditable", XS_Wx__SearchCtrl_SetEditable, file);
        newXS("Wx::SearchCtrl::SetMaxLength", XS_Wx__SearchCtrl_SetMaxLength, file);
        newXS("Wx::SearchCtrl::SetHint", XS_Wx__SearchCtrl_SetHint, file);
        newXS("Wx::SearchCtrl::GetHint", XS_Wx__SearchCtrl_GetHint, file);
        newXS("Wx::SearchCtrl::SetMargins", XS_Wx__SearchCtrl_SetMargins, file);
        newXS("Wx::SearchCtrl::GetMargins", XS_Wx__SearchCtrl_GetMargins, file);
        newXS("Wx::SearchCtrl::GetLineLength", XS_Wx__SearchCtrl_GetLineLength, file);
        newXS("Wx::SearchCtrl::GetLineText", XS_Wx__SearchCtrl_GetLineText, file);
        newXS("Wx::SearchCtrl::GetNumberOfLines", XS_Wx__SearchCtrl_GetNumberOfLines, file);
#if XSubPPtmpAABD
        newXS("Wx::SearchCtrl::LoadFile", XS_Wx__SearchCtrl_LoadFile, file);
        newXS("Wx::SearchCtrl::SaveFile", XS_Wx__SearchCtrl_SaveFile, file);
#endif
        newXS("Wx::SearchCtrl::IsModified", XS_Wx__SearchCtrl_IsModified, file);
        newXS("Wx::SearchCtrl::MarkDirty", XS_Wx__SearchCtrl_MarkDirty, file);
        newXS("Wx::SearchCtrl::DiscardEdits", XS_Wx__SearchCtrl_DiscardEdits, file);
        newXS("Wx::SearchCtrl::SetModified", XS_Wx__SearchCtrl_SetModified, file);
#if XSubPPtmpAABE
        newXS("Wx::SearchCtrl::SetStyle", XS_Wx__SearchCtrl_SetStyle, file);
#endif
#if XSubPPtmpAABF
        newXS("Wx::SearchCtrl::SetDefaultStyle", XS_Wx__SearchCtrl_SetDefaultStyle, file);
#endif
        newXS("Wx::SearchCtrl::GetDefaultStyle", XS_Wx__SearchCtrl_GetDefaultStyle, file);
        newXS("Wx::SearchCtrl::XYToPosition", XS_Wx__SearchCtrl_XYToPosition, file);
        newXS("Wx::SearchCtrl::ShowPosition", XS_Wx__SearchCtrl_ShowPosition, file);
        newXS("Wx::SearchCtrl::GetSelection", XS_Wx__SearchCtrl_GetSelection, file);
#if XSubPPtmpAABG
        newXS("Wx::SearchCtrl::GetStyle", XS_Wx__SearchCtrl_GetStyle, file);
#endif
        newXS("Wx::SearchCtrl::PositionToXY", XS_Wx__SearchCtrl_PositionToXY, file);
        newXS("Wx::SearchCtrl::HitTest", XS_Wx__SearchCtrl_HitTest, file);
#endif
#endif
#endif
#if XSubPPtmpAABH
        newXS("Wx::ComboPopup::new", XS_Wx__ComboPopup_new, file);
        newXS("Wx::ComboPopup::OnPopup", XS_Wx__ComboPopup_OnPopup, file);
        newXS("Wx::ComboPopup::OnDismiss", XS_Wx__ComboPopup_OnDismiss, file);
        newXS("Wx::ComboPopup::SetStringValue", XS_Wx__ComboPopup_SetStringValue, file);
        newXS("Wx::ComboPopup::PaintComboControl", XS_Wx__ComboPopup_PaintComboControl, file);
        newXS("Wx::ComboPopup::OnComboKeyEvent", XS_Wx__ComboPopup_OnComboKeyEvent, file);
        newXS("Wx::ComboPopup::OnComboDoubleClick", XS_Wx__ComboPopup_OnComboDoubleClick, file);
        newXS("Wx::ComboPopup::GetAdjustedSize", XS_Wx__ComboPopup_GetAdjustedSize, file);
        newXS("Wx::ComboPopup::LazyCreate", XS_Wx__ComboPopup_LazyCreate, file);
        newXS("Wx::ComboPopup::Dismiss", XS_Wx__ComboPopup_Dismiss, file);
        newXS("Wx::ComboPopup::IsCreated", XS_Wx__ComboPopup_IsCreated, file);
        newXS("Wx::ComboPopup::GetComboCtrl", XS_Wx__ComboPopup_GetComboCtrl, file);
#endif
#if XSubPPtmpAABI
        newXS("Wx::ComboCtrl::new", XS_Wx__ComboCtrl_new, file);
        newXS("Wx::ComboCtrl::newDefault", XS_Wx__ComboCtrl_newDefault, file);
        newXS("Wx::ComboCtrl::newFull", XS_Wx__ComboCtrl_newFull, file);
        newXS("Wx::ComboCtrl::Create", XS_Wx__ComboCtrl_Create, file);
        newXS("Wx::ComboCtrl::ShowPopup", XS_Wx__ComboCtrl_ShowPopup, file);
        newXS("Wx::ComboCtrl::HidePopup", XS_Wx__ComboCtrl_HidePopup, file);
        newXS("Wx::ComboCtrl::IsPopupShown", XS_Wx__ComboCtrl_IsPopupShown, file);
        newXS("Wx::ComboCtrl::SetPopupControl", XS_Wx__ComboCtrl_SetPopupControl, file);
        newXS("Wx::ComboCtrl::GetPopupControl", XS_Wx__ComboCtrl_GetPopupControl, file);
        newXS("Wx::ComboCtrl::GetPopupWindow", XS_Wx__ComboCtrl_GetPopupWindow, file);
        newXS("Wx::ComboCtrl::GetTextCtrl", XS_Wx__ComboCtrl_GetTextCtrl, file);
        newXS("Wx::ComboCtrl::GetButton", XS_Wx__ComboCtrl_GetButton, file);
        newXS("Wx::ComboCtrl::GetValue", XS_Wx__ComboCtrl_GetValue, file);
        newXS("Wx::ComboCtrl::SetValue", XS_Wx__ComboCtrl_SetValue, file);
        newXS("Wx::ComboCtrl::Copy", XS_Wx__ComboCtrl_Copy, file);
        newXS("Wx::ComboCtrl::Cut", XS_Wx__ComboCtrl_Cut, file);
        newXS("Wx::ComboCtrl::Paste", XS_Wx__ComboCtrl_Paste, file);
        newXS("Wx::ComboCtrl::SetInsertionPoint", XS_Wx__ComboCtrl_SetInsertionPoint, file);
        newXS("Wx::ComboCtrl::SetInsertionPointEnd", XS_Wx__ComboCtrl_SetInsertionPointEnd, file);
        newXS("Wx::ComboCtrl::GetInsertionPoint", XS_Wx__ComboCtrl_GetInsertionPoint, file);
        newXS("Wx::ComboCtrl::GetLastPosition", XS_Wx__ComboCtrl_GetLastPosition, file);
        newXS("Wx::ComboCtrl::Replace", XS_Wx__ComboCtrl_Replace, file);
        newXS("Wx::ComboCtrl::Remove", XS_Wx__ComboCtrl_Remove, file);
        newXS("Wx::ComboCtrl::SetSelection", XS_Wx__ComboCtrl_SetSelection, file);
        newXS("Wx::ComboCtrl::Undo", XS_Wx__ComboCtrl_Undo, file);
        newXS("Wx::ComboCtrl::SetText", XS_Wx__ComboCtrl_SetText, file);
        newXS("Wx::ComboCtrl::SetPopupMinWidth", XS_Wx__ComboCtrl_SetPopupMinWidth, file);
        newXS("Wx::ComboCtrl::SetPopupMaxHeight", XS_Wx__ComboCtrl_SetPopupMaxHeight, file);
        newXS("Wx::ComboCtrl::SetPopupExtents", XS_Wx__ComboCtrl_SetPopupExtents, file);
        newXS("Wx::ComboCtrl::SetCustomPaintWidth", XS_Wx__ComboCtrl_SetCustomPaintWidth, file);
        newXS("Wx::ComboCtrl::GetCustomPaintWidth", XS_Wx__ComboCtrl_GetCustomPaintWidth, file);
        newXS("Wx::ComboCtrl::SetPopupAnchor", XS_Wx__ComboCtrl_SetPopupAnchor, file);
        newXS("Wx::ComboCtrl::SetButtonPosition", XS_Wx__ComboCtrl_SetButtonPosition, file);
        newXS("Wx::ComboCtrl::GetButtonSize", XS_Wx__ComboCtrl_GetButtonSize, file);
        newXS("Wx::ComboCtrl::SetButtonBitmaps", XS_Wx__ComboCtrl_SetButtonBitmaps, file);
#if XSubPPtmpAABJ
        newXS("Wx::ComboCtrl::SetTextIndent", XS_Wx__ComboCtrl_SetTextIndent, file);
        newXS("Wx::ComboCtrl::GetTextIndent", XS_Wx__ComboCtrl_GetTextIndent, file);
#endif
        newXS("Wx::ComboCtrl::GetTextRect", XS_Wx__ComboCtrl_GetTextRect, file);
        newXS("Wx::ComboCtrl::UseAltPopupWindow", XS_Wx__ComboCtrl_UseAltPopupWindow, file);
        newXS("Wx::ComboCtrl::EnablePopupAnimation", XS_Wx__ComboCtrl_EnablePopupAnimation, file);
        newXS("Wx::ComboCtrl::GetBitmapNormal", XS_Wx__ComboCtrl_GetBitmapNormal, file);
        newXS("Wx::ComboCtrl::GetBitmapPressed", XS_Wx__ComboCtrl_GetBitmapPressed, file);
        newXS("Wx::ComboCtrl::GetBitmapHover", XS_Wx__ComboCtrl_GetBitmapHover, file);
        newXS("Wx::ComboCtrl::GetBitmapDisabled", XS_Wx__ComboCtrl_GetBitmapDisabled, file);
#endif
#if XSubPPtmpAABK
        newXS("Wx::OwnerDrawnComboBox::GetWidestItemWidth", XS_Wx__OwnerDrawnComboBox_GetWidestItemWidth, file);
        newXS("Wx::OwnerDrawnComboBox::GetWidestItem", XS_Wx__OwnerDrawnComboBox_GetWidestItem, file);
        newXS("Wx::OwnerDrawnComboBox::GetCount", XS_Wx__OwnerDrawnComboBox_GetCount, file);
#if XSubPPtmpAABL
        newXS("Wx::OwnerDrawnComboBox::IsEmpty", XS_Wx__OwnerDrawnComboBox_IsEmpty, file);
#endif
        newXS("Wx::OwnerDrawnComboBox::GetString", XS_Wx__OwnerDrawnComboBox_GetString, file);
        newXS("Wx::OwnerDrawnComboBox::GetStrings", XS_Wx__OwnerDrawnComboBox_GetStrings, file);
        newXS("Wx::OwnerDrawnComboBox::SetString", XS_Wx__OwnerDrawnComboBox_SetString, file);
        newXS("Wx::OwnerDrawnComboBox::FindString", XS_Wx__OwnerDrawnComboBox_FindString, file);
        newXS("Wx::OwnerDrawnComboBox::FindStringNoCase", XS_Wx__OwnerDrawnComboBox_FindStringNoCase, file);
#if XSubPPtmpAABM
        newXS("Wx::OwnerDrawnComboBox::FindStringCase", XS_Wx__OwnerDrawnComboBox_FindStringCase, file);
#endif
#if XSubPPtmpAABN
        newXS("Wx::OwnerDrawnComboBox::SetSelection", XS_Wx__OwnerDrawnComboBox_SetSelection, file);
        newXS("Wx::OwnerDrawnComboBox::GetSelection", XS_Wx__OwnerDrawnComboBox_GetSelection, file);
#endif
        newXS("Wx::OwnerDrawnComboBox::SetStringSelection", XS_Wx__OwnerDrawnComboBox_SetStringSelection, file);
        newXS("Wx::OwnerDrawnComboBox::GetStringSelection", XS_Wx__OwnerDrawnComboBox_GetStringSelection, file);
        newXS("Wx::OwnerDrawnComboBox::Select", XS_Wx__OwnerDrawnComboBox_Select, file);
        newXS("Wx::OwnerDrawnComboBox::Append", XS_Wx__OwnerDrawnComboBox_Append, file);
        newXS("Wx::OwnerDrawnComboBox::AppendString", XS_Wx__OwnerDrawnComboBox_AppendString, file);
        newXS("Wx::OwnerDrawnComboBox::AppendData", XS_Wx__OwnerDrawnComboBox_AppendData, file);
        newXS("Wx::OwnerDrawnComboBox::AppendItems", XS_Wx__OwnerDrawnComboBox_AppendItems, file);
#if XSubPPtmpAABO
        newXS("Wx::OwnerDrawnComboBox::AppendItemsData", XS_Wx__OwnerDrawnComboBox_AppendItemsData, file);
#endif
        newXS("Wx::OwnerDrawnComboBox::Insert", XS_Wx__OwnerDrawnComboBox_Insert, file);
        newXS("Wx::OwnerDrawnComboBox::InsertString", XS_Wx__OwnerDrawnComboBox_InsertString, file);
        newXS("Wx::OwnerDrawnComboBox::InsertData", XS_Wx__OwnerDrawnComboBox_InsertData, file);
#if XSubPPtmpAABP
        newXS("Wx::OwnerDrawnComboBox::InsertItems", XS_Wx__OwnerDrawnComboBox_InsertItems, file);
        newXS("Wx::OwnerDrawnComboBox::InsertItemsData", XS_Wx__OwnerDrawnComboBox_InsertItemsData, file);
#endif
#if XSubPPtmpAABQ
        newXS("Wx::OwnerDrawnComboBox::Set", XS_Wx__OwnerDrawnComboBox_Set, file);
        newXS("Wx::OwnerDrawnComboBox::SetItems", XS_Wx__OwnerDrawnComboBox_SetItems, file);
        newXS("Wx::OwnerDrawnComboBox::SetItemsData", XS_Wx__OwnerDrawnComboBox_SetItemsData, file);
#endif
        newXS("Wx::OwnerDrawnComboBox::Clear", XS_Wx__OwnerDrawnComboBox_Clear, file);
        newXS("Wx::OwnerDrawnComboBox::Delete", XS_Wx__OwnerDrawnComboBox_Delete, file);
        newXS("Wx::OwnerDrawnComboBox::GetClientData", XS_Wx__OwnerDrawnComboBox_GetClientData, file);
        newXS("Wx::OwnerDrawnComboBox::SetClientData", XS_Wx__OwnerDrawnComboBox_SetClientData, file);
        newXS("Wx::PlOwnerDrawnComboBox::new", XS_Wx__PlOwnerDrawnComboBox_new, file);
        newXS("Wx::PlOwnerDrawnComboBox::newDefault", XS_Wx__PlOwnerDrawnComboBox_newDefault, file);
        newXS("Wx::PlOwnerDrawnComboBox::newFull", XS_Wx__PlOwnerDrawnComboBox_newFull, file);
        newXS("Wx::PlOwnerDrawnComboBox::Create", XS_Wx__PlOwnerDrawnComboBox_Create, file);
#endif
#if XSubPPtmpAABR
        newXS("Wx::CollapsiblePaneEvent::new", XS_Wx__CollapsiblePaneEvent_new, file);
        newXS("Wx::CollapsiblePaneEvent::GetCollapsed", XS_Wx__CollapsiblePaneEvent_GetCollapsed, file);
        newXS("Wx::CollapsiblePaneEvent::SetCollapsed", XS_Wx__CollapsiblePaneEvent_SetCollapsed, file);
        newXS("Wx::CollapsiblePane::new", XS_Wx__CollapsiblePane_new, file);
        newXS("Wx::CollapsiblePane::newDefault", XS_Wx__CollapsiblePane_newDefault, file);
        newXS("Wx::CollapsiblePane::newFull", XS_Wx__CollapsiblePane_newFull, file);
        newXS("Wx::CollapsiblePane::Create", XS_Wx__CollapsiblePane_Create, file);
        newXS("Wx::CollapsiblePane::Collapse", XS_Wx__CollapsiblePane_Collapse, file);
        newXS("Wx::CollapsiblePane::Expand", XS_Wx__CollapsiblePane_Expand, file);
        newXS("Wx::CollapsiblePane::IsCollapsed", XS_Wx__CollapsiblePane_IsCollapsed, file);
        newXS("Wx::CollapsiblePane::IsExpanded", XS_Wx__CollapsiblePane_IsExpanded, file);
        newXS("Wx::CollapsiblePane::GetPane", XS_Wx__CollapsiblePane_GetPane, file);
#endif
#if XSubPPtmpAABS
        newXS("Wx::BitmapComboBox::new", XS_Wx__BitmapComboBox_new, file);
        newXS("Wx::BitmapComboBox::newDefault", XS_Wx__BitmapComboBox_newDefault, file);
        newXS("Wx::BitmapComboBox::newFull", XS_Wx__BitmapComboBox_newFull, file);
        newXS("Wx::BitmapComboBox::Create", XS_Wx__BitmapComboBox_Create, file);
        newXS("Wx::BitmapComboBox::Append", XS_Wx__BitmapComboBox_Append, file);
        newXS("Wx::BitmapComboBox::AppendString", XS_Wx__BitmapComboBox_AppendString, file);
        newXS("Wx::BitmapComboBox::AppendData", XS_Wx__BitmapComboBox_AppendData, file);
        newXS("Wx::BitmapComboBox::Insert", XS_Wx__BitmapComboBox_Insert, file);
        newXS("Wx::BitmapComboBox::InsertString", XS_Wx__BitmapComboBox_InsertString, file);
        newXS("Wx::BitmapComboBox::InsertData", XS_Wx__BitmapComboBox_InsertData, file);
        newXS("Wx::BitmapComboBox::GetItemBitmap", XS_Wx__BitmapComboBox_GetItemBitmap, file);
        newXS("Wx::BitmapComboBox::SetItemBitmap", XS_Wx__BitmapComboBox_SetItemBitmap, file);
        newXS("Wx::BitmapComboBox::GetBitmapSize", XS_Wx__BitmapComboBox_GetBitmapSize, file);
#endif
        newXS("Wx::GenericDirCtrl::new", XS_Wx__GenericDirCtrl_new, file);
        newXS("Wx::GenericDirCtrl::newDefault", XS_Wx__GenericDirCtrl_newDefault, file);
        newXS("Wx::GenericDirCtrl::newFull", XS_Wx__GenericDirCtrl_newFull, file);
        newXS("Wx::GenericDirCtrl::Create", XS_Wx__GenericDirCtrl_Create, file);
        newXS("Wx::GenericDirCtrl::ExpandPath", XS_Wx__GenericDirCtrl_ExpandPath, file);
#if XSubPPtmpAABT
        newXS("Wx::GenericDirCtrl::CollapsePath", XS_Wx__GenericDirCtrl_CollapsePath, file);
#endif
        newXS("Wx::GenericDirCtrl::GetDefaultPath", XS_Wx__GenericDirCtrl_GetDefaultPath, file);
        newXS("Wx::GenericDirCtrl::SetDefaultPath", XS_Wx__GenericDirCtrl_SetDefaultPath, file);
        newXS("Wx::GenericDirCtrl::GetPath", XS_Wx__GenericDirCtrl_GetPath, file);
        newXS("Wx::GenericDirCtrl::GetFilePath", XS_Wx__GenericDirCtrl_GetFilePath, file);
        newXS("Wx::GenericDirCtrl::SetPath", XS_Wx__GenericDirCtrl_SetPath, file);
        newXS("Wx::GenericDirCtrl::ShowHidden", XS_Wx__GenericDirCtrl_ShowHidden, file);
        newXS("Wx::GenericDirCtrl::GetShowHidden", XS_Wx__GenericDirCtrl_GetShowHidden, file);
        newXS("Wx::GenericDirCtrl::GetFilter", XS_Wx__GenericDirCtrl_GetFilter, file);
        newXS("Wx::GenericDirCtrl::SetFilter", XS_Wx__GenericDirCtrl_SetFilter, file);
        newXS("Wx::GenericDirCtrl::GetFilterIndex", XS_Wx__GenericDirCtrl_GetFilterIndex, file);
        newXS("Wx::GenericDirCtrl::SetFilterIndex", XS_Wx__GenericDirCtrl_SetFilterIndex, file);
        newXS("Wx::GenericDirCtrl::GetRootId", XS_Wx__GenericDirCtrl_GetRootId, file);
        newXS("Wx::GenericDirCtrl::GetTreeCtrl", XS_Wx__GenericDirCtrl_GetTreeCtrl, file);
        newXS("Wx::GenericDirCtrl::GetFilterListCtrl", XS_Wx__GenericDirCtrl_GetFilterListCtrl, file);
        newXS("Wx::GenericDirCtrl::ReCreateTree", XS_Wx__GenericDirCtrl_ReCreateTree, file);
#if XSubPPtmpAABU
        newXS("Wx::GenericDirCtrl::CollapseTree", XS_Wx__GenericDirCtrl_CollapseTree, file);
#endif
#if XSubPPtmpAABV
        newXS("Wx::FileCtrl::new", XS_Wx__FileCtrl_new, file);
        newXS("Wx::FileCtrl::newDefault", XS_Wx__FileCtrl_newDefault, file);
        newXS("Wx::FileCtrl::newFull", XS_Wx__FileCtrl_newFull, file);
        newXS("Wx::FileCtrl::Create", XS_Wx__FileCtrl_Create, file);
        newXS("Wx::FileCtrl::SetWildcard", XS_Wx__FileCtrl_SetWildcard, file);
        newXS("Wx::FileCtrl::SetFilterIndex", XS_Wx__FileCtrl_SetFilterIndex, file);
        newXS("Wx::FileCtrl::SetDirectory", XS_Wx__FileCtrl_SetDirectory, file);
        newXS("Wx::FileCtrl::SetFilename", XS_Wx__FileCtrl_SetFilename, file);
        newXS("Wx::FileCtrl::SetPath", XS_Wx__FileCtrl_SetPath, file);
        newXS("Wx::FileCtrl::GetFilename", XS_Wx__FileCtrl_GetFilename, file);
        newXS("Wx::FileCtrl::GetDirectory", XS_Wx__FileCtrl_GetDirectory, file);
        newXS("Wx::FileCtrl::GetWildcard", XS_Wx__FileCtrl_GetWildcard, file);
        newXS("Wx::FileCtrl::GetPath", XS_Wx__FileCtrl_GetPath, file);
        newXS("Wx::FileCtrl::GetPaths", XS_Wx__FileCtrl_GetPaths, file);
        newXS("Wx::FileCtrl::GetFilenames", XS_Wx__FileCtrl_GetFilenames, file);
        newXS("Wx::FileCtrl::GetFilterIndex", XS_Wx__FileCtrl_GetFilterIndex, file);
        newXS("Wx::FileCtrl::HasMultipleFileSelection", XS_Wx__FileCtrl_HasMultipleFileSelection, file);
        newXS("Wx::FileCtrl::ShowHidden", XS_Wx__FileCtrl_ShowHidden, file);
        newXS("Wx::FileCtrlEvent::SetFiles", XS_Wx__FileCtrlEvent_SetFiles, file);
        newXS("Wx::FileCtrlEvent::SetDirectory", XS_Wx__FileCtrlEvent_SetDirectory, file);
        newXS("Wx::FileCtrlEvent::GetFiles", XS_Wx__FileCtrlEvent_GetFiles, file);
        newXS("Wx::FileCtrlEvent::GetDirectory", XS_Wx__FileCtrlEvent_GetDirectory, file);
        newXS("Wx::FileCtrlEvent::GetFile", XS_Wx__FileCtrlEvent_GetFile, file);
#endif
#if XSubPPtmpAABW
        newXS("Wx::SpinCtrlDouble::wxSpinCtrlDouble0", XS_Wx__SpinCtrlDouble_wxSpinCtrlDouble0, file);
        newXS("Wx::SpinCtrlDouble::wxSpinCtrlDouble1", XS_Wx__SpinCtrlDouble_wxSpinCtrlDouble1, file);
        newXS("Wx::SpinCtrlDouble::Create", XS_Wx__SpinCtrlDouble_Create, file);
        newXS("Wx::SpinCtrlDouble::GetDigits", XS_Wx__SpinCtrlDouble_GetDigits, file);
        newXS("Wx::SpinCtrlDouble::GetIncrement", XS_Wx__SpinCtrlDouble_GetIncrement, file);
        newXS("Wx::SpinCtrlDouble::GetMax", XS_Wx__SpinCtrlDouble_GetMax, file);
        newXS("Wx::SpinCtrlDouble::GetMin", XS_Wx__SpinCtrlDouble_GetMin, file);
        newXS("Wx::SpinCtrlDouble::GetValue", XS_Wx__SpinCtrlDouble_GetValue, file);
        newXS("Wx::SpinCtrlDouble::SetDigits", XS_Wx__SpinCtrlDouble_SetDigits, file);
        newXS("Wx::SpinCtrlDouble::SetIncrement", XS_Wx__SpinCtrlDouble_SetIncrement, file);
        newXS("Wx::SpinCtrlDouble::SetRange", XS_Wx__SpinCtrlDouble_SetRange, file);
        newXS("Wx::SpinCtrlDouble::SetValue0", XS_Wx__SpinCtrlDouble_SetValue0, file);
        newXS("Wx::SpinCtrlDouble::SetValue1", XS_Wx__SpinCtrlDouble_SetValue1, file);
#if XSubPPtmpAABX
        newXS("Wx::SpinCtrlDouble::new", XS_Wx__SpinCtrlDouble_new, file);
#endif
#if XSubPPtmpAABY
        newXS("Wx::SpinCtrlDouble::SetValue", XS_Wx__SpinCtrlDouble_SetValue, file);
#endif
#endif
#if XSubPPtmpAABZ
        newXS("Wx::InfoBar::wxInfoBar0", XS_Wx__InfoBar_wxInfoBar0, file);
        newXS("Wx::InfoBar::wxInfoBar1", XS_Wx__InfoBar_wxInfoBar1, file);
        newXS("Wx::InfoBar::Create", XS_Wx__InfoBar_Create, file);
        newXS("Wx::InfoBar::AddButton", XS_Wx__InfoBar_AddButton, file);
        newXS("Wx::InfoBar::Dismiss", XS_Wx__InfoBar_Dismiss, file);
        newXS("Wx::InfoBar::RemoveButton", XS_Wx__InfoBar_RemoveButton, file);
        newXS("Wx::InfoBar::ShowMessage", XS_Wx__InfoBar_ShowMessage, file);
        newXS("Wx::InfoBar::SetShowHideEffects", XS_Wx__InfoBar_SetShowHideEffects, file);
        newXS("Wx::InfoBar::GetShowEffect", XS_Wx__InfoBar_GetShowEffect, file);
        newXS("Wx::InfoBar::GetHideEffect", XS_Wx__InfoBar_GetHideEffect, file);
        newXS("Wx::InfoBar::SetEffectDuration", XS_Wx__InfoBar_SetEffectDuration, file);
        newXS("Wx::InfoBar::GetEffectDuration", XS_Wx__InfoBar_GetEffectDuration, file);
        newXS("Wx::InfoBar::SetFont", XS_Wx__InfoBar_SetFont, file);
#if XSubPPtmpAACA
        newXS("Wx::InfoBar::new", XS_Wx__InfoBar_new, file);
#endif
#endif
#if XSubPPtmpAACB
        newXS("Wx::HeaderCtrl::Create", XS_Wx__HeaderCtrl_Create, file);
        newXS("Wx::HeaderCtrl::SetColumnCount", XS_Wx__HeaderCtrl_SetColumnCount, file);
        newXS("Wx::HeaderCtrl::GetColumnCount", XS_Wx__HeaderCtrl_GetColumnCount, file);
        newXS("Wx::HeaderCtrl::IsEmpty", XS_Wx__HeaderCtrl_IsEmpty, file);
        newXS("Wx::HeaderCtrl::UpdateColumn", XS_Wx__HeaderCtrl_UpdateColumn, file);
        newXS("Wx::HeaderCtrl::SetColumnsOrder", XS_Wx__HeaderCtrl_SetColumnsOrder, file);
        newXS("Wx::HeaderCtrl::GetColumnsOrder", XS_Wx__HeaderCtrl_GetColumnsOrder, file);
        newXS("Wx::HeaderCtrl::GetColumnAt", XS_Wx__HeaderCtrl_GetColumnAt, file);
        newXS("Wx::HeaderCtrl::GetColumnPos", XS_Wx__HeaderCtrl_GetColumnPos, file);
        newXS("Wx::HeaderCtrl::ResetColumnsOrder", XS_Wx__HeaderCtrl_ResetColumnsOrder, file);
        newXS("Wx::HeaderCtrl::MoveColumnInOrderArray", XS_Wx__HeaderCtrl_MoveColumnInOrderArray, file);
        newXS("Wx::HeaderCtrl::ShowColumnsMenu", XS_Wx__HeaderCtrl_ShowColumnsMenu, file);
        newXS("Wx::HeaderCtrl::AddColumnsItems", XS_Wx__HeaderCtrl_AddColumnsItems, file);
        newXS("Wx::HeaderCtrl::ShowCustomizeDialog", XS_Wx__HeaderCtrl_ShowCustomizeDialog, file);
#if XSubPPtmpAACC
        newXS("Wx::HeaderCtrl::new", XS_Wx__HeaderCtrl_new, file);
#endif
        newXS("Wx::HeaderCtrlSimple::InsertColumn", XS_Wx__HeaderCtrlSimple_InsertColumn, file);
        newXS("Wx::HeaderCtrlSimple::AppendColumn", XS_Wx__HeaderCtrlSimple_AppendColumn, file);
        newXS("Wx::HeaderCtrlSimple::DeleteColumn", XS_Wx__HeaderCtrlSimple_DeleteColumn, file);
        newXS("Wx::HeaderCtrlSimple::ShowColumn", XS_Wx__HeaderCtrlSimple_ShowColumn, file);
        newXS("Wx::HeaderCtrlSimple::HideColumn", XS_Wx__HeaderCtrlSimple_HideColumn, file);
        newXS("Wx::HeaderCtrlSimple::ShowSortIndicator", XS_Wx__HeaderCtrlSimple_ShowSortIndicator, file);
        newXS("Wx::HeaderCtrlSimple::RemoveSortIndicator", XS_Wx__HeaderCtrlSimple_RemoveSortIndicator, file);
#if XSubPPtmpAACD
        newXS("Wx::HeaderCtrlSimple::new", XS_Wx__HeaderCtrlSimple_new, file);
#endif
        newXS("Wx::HeaderCtrlSimple::wxHeaderCtrlSimple0", XS_Wx__HeaderCtrlSimple_wxHeaderCtrlSimple0, file);
        newXS("Wx::HeaderCtrlSimple::wxHeaderCtrlSimple1", XS_Wx__HeaderCtrlSimple_wxHeaderCtrlSimple1, file);
        newXS("Wx::HeaderCtrlEvent::GetColumn", XS_Wx__HeaderCtrlEvent_GetColumn, file);
        newXS("Wx::HeaderCtrlEvent::GetWidth", XS_Wx__HeaderCtrlEvent_GetWidth, file);
        newXS("Wx::HeaderCtrlEvent::GetNewOrder", XS_Wx__HeaderCtrlEvent_GetNewOrder, file);
#endif
#if XSubPPtmpAACE
        newXS("Wx::PlHeaderCtrl::wxHeaderCtrl0", XS_Wx__PlHeaderCtrl_wxHeaderCtrl0, file);
        newXS("Wx::PlHeaderCtrl::wxHeaderCtrl1", XS_Wx__PlHeaderCtrl_wxHeaderCtrl1, file);
#endif
#if XSubPPtmpAACF
        newXS("Wx::HeaderCtrlSimple::GetBestFittingWidth", XS_Wx__HeaderCtrlSimple_GetBestFittingWidth, file);
#endif
#if XSubPPtmpAACG
#endif
#if XSubPPtmpAACH
        newXS("Wx::HeaderColumn::GetTitle", XS_Wx__HeaderColumn_GetTitle, file);
        newXS("Wx::HeaderColumn::GetBitmap", XS_Wx__HeaderColumn_GetBitmap, file);
        newXS("Wx::HeaderColumn::GetWidth", XS_Wx__HeaderColumn_GetWidth, file);
        newXS("Wx::HeaderColumn::GetMinWidth", XS_Wx__HeaderColumn_GetMinWidth, file);
        newXS("Wx::HeaderColumn::GetAlignment", XS_Wx__HeaderColumn_GetAlignment, file);
        newXS("Wx::HeaderColumn::GetFlags", XS_Wx__HeaderColumn_GetFlags, file);
        newXS("Wx::HeaderColumn::HasFlag", XS_Wx__HeaderColumn_HasFlag, file);
        newXS("Wx::HeaderColumn::IsResizeable", XS_Wx__HeaderColumn_IsResizeable, file);
        newXS("Wx::HeaderColumn::IsSortable", XS_Wx__HeaderColumn_IsSortable, file);
        newXS("Wx::HeaderColumn::IsReorderable", XS_Wx__HeaderColumn_IsReorderable, file);
        newXS("Wx::HeaderColumn::IsHidden", XS_Wx__HeaderColumn_IsHidden, file);
        newXS("Wx::HeaderColumn::IsShown", XS_Wx__HeaderColumn_IsShown, file);
        newXS("Wx::HeaderColumn::IsSortKey", XS_Wx__HeaderColumn_IsSortKey, file);
        newXS("Wx::HeaderColumn::IsSortOrderAscending", XS_Wx__HeaderColumn_IsSortOrderAscending, file);
        newXS("Wx::SettableHeaderColumn::SetTitle", XS_Wx__SettableHeaderColumn_SetTitle, file);
        newXS("Wx::SettableHeaderColumn::SetBitmap", XS_Wx__SettableHeaderColumn_SetBitmap, file);
        newXS("Wx::SettableHeaderColumn::SetWidth", XS_Wx__SettableHeaderColumn_SetWidth, file);
        newXS("Wx::SettableHeaderColumn::SetMinWidth", XS_Wx__SettableHeaderColumn_SetMinWidth, file);
        newXS("Wx::SettableHeaderColumn::SetAlignment", XS_Wx__SettableHeaderColumn_SetAlignment, file);
        newXS("Wx::SettableHeaderColumn::SetFlags", XS_Wx__SettableHeaderColumn_SetFlags, file);
        newXS("Wx::SettableHeaderColumn::ChangeFlag", XS_Wx__SettableHeaderColumn_ChangeFlag, file);
        newXS("Wx::SettableHeaderColumn::SetFlag", XS_Wx__SettableHeaderColumn_SetFlag, file);
        newXS("Wx::SettableHeaderColumn::ClearFlag", XS_Wx__SettableHeaderColumn_ClearFlag, file);
        newXS("Wx::SettableHeaderColumn::ToggleFlag", XS_Wx__SettableHeaderColumn_ToggleFlag, file);
        newXS("Wx::SettableHeaderColumn::SetResizeable", XS_Wx__SettableHeaderColumn_SetResizeable, file);
        newXS("Wx::SettableHeaderColumn::SetSortable", XS_Wx__SettableHeaderColumn_SetSortable, file);
        newXS("Wx::SettableHeaderColumn::SetReorderable", XS_Wx__SettableHeaderColumn_SetReorderable, file);
        newXS("Wx::SettableHeaderColumn::SetHidden", XS_Wx__SettableHeaderColumn_SetHidden, file);
#if XSubPPtmpAACI
        newXS("Wx::SettableHeaderColumn::SetAsSortKey", XS_Wx__SettableHeaderColumn_SetAsSortKey, file);
#endif
        newXS("Wx::SettableHeaderColumn::UnsetAsSortKey", XS_Wx__SettableHeaderColumn_UnsetAsSortKey, file);
        newXS("Wx::SettableHeaderColumn::SetSortOrder", XS_Wx__SettableHeaderColumn_SetSortOrder, file);
        newXS("Wx::SettableHeaderColumn::ToggleSortOrder", XS_Wx__SettableHeaderColumn_ToggleSortOrder, file);
        newXS("Wx::HeaderColumnSimple::wxHeaderColumnSimple0", XS_Wx__HeaderColumnSimple_wxHeaderColumnSimple0, file);
        newXS("Wx::HeaderColumnSimple::wxHeaderColumnSimple1", XS_Wx__HeaderColumnSimple_wxHeaderColumnSimple1, file);
        newXS("Wx::HeaderColumnSimple::SetTitle", XS_Wx__HeaderColumnSimple_SetTitle, file);
        newXS("Wx::HeaderColumnSimple::GetTitle", XS_Wx__HeaderColumnSimple_GetTitle, file);
        newXS("Wx::HeaderColumnSimple::SetBitmap", XS_Wx__HeaderColumnSimple_SetBitmap, file);
        newXS("Wx::HeaderColumnSimple::GetBitmap", XS_Wx__HeaderColumnSimple_GetBitmap, file);
        newXS("Wx::HeaderColumnSimple::SetWidth", XS_Wx__HeaderColumnSimple_SetWidth, file);
        newXS("Wx::HeaderColumnSimple::GetWidth", XS_Wx__HeaderColumnSimple_GetWidth, file);
        newXS("Wx::HeaderColumnSimple::SetMinWidth", XS_Wx__HeaderColumnSimple_SetMinWidth, file);
        newXS("Wx::HeaderColumnSimple::GetMinWidth", XS_Wx__HeaderColumnSimple_GetMinWidth, file);
        newXS("Wx::HeaderColumnSimple::SetAlignment", XS_Wx__HeaderColumnSimple_SetAlignment, file);
        newXS("Wx::HeaderColumnSimple::GetAlignment", XS_Wx__HeaderColumnSimple_GetAlignment, file);
        newXS("Wx::HeaderColumnSimple::SetFlags", XS_Wx__HeaderColumnSimple_SetFlags, file);
        newXS("Wx::HeaderColumnSimple::GetFlags", XS_Wx__HeaderColumnSimple_GetFlags, file);
#if XSubPPtmpAACJ
        newXS("Wx::HeaderColumnSimple::SetAsSortKey", XS_Wx__HeaderColumnSimple_SetAsSortKey, file);
#endif
        newXS("Wx::HeaderColumnSimple::IsSortKey", XS_Wx__HeaderColumnSimple_IsSortKey, file);
        newXS("Wx::HeaderColumnSimple::SetSortOrder", XS_Wx__HeaderColumnSimple_SetSortOrder, file);
        newXS("Wx::HeaderColumnSimple::IsSortOrderAscending", XS_Wx__HeaderColumnSimple_IsSortOrderAscending, file);
#if XSubPPtmpAACK
        newXS("Wx::HeaderColumnSimple::new", XS_Wx__HeaderColumnSimple_new, file);
#endif
#endif
#if XSubPPtmpAACL
        newXS("Wx::PlHeaderColumn::new", XS_Wx__PlHeaderColumn_new, file);
#endif
#if XSubPPtmpAACM
        newXS("Wx::PlSettableHeaderColumn::new", XS_Wx__PlSettableHeaderColumn_new, file);
#endif
        newXS("Wx::Button::newDefault", XS_Wx__Button_newDefault, file);
        newXS("Wx::Button::newFull", XS_Wx__Button_newFull, file);
        newXS("Wx::Button::Create", XS_Wx__Button_Create, file);
#if XSubPPtmpAACN
        newXS("Wx::Button::GetAuthNeeded", XS_Wx__Button_GetAuthNeeded, file);
        newXS("Wx::Button::GetBitmap", XS_Wx__Button_GetBitmap, file);
        newXS("Wx::Button::GetBitmapCurrent", XS_Wx__Button_GetBitmapCurrent, file);
        newXS("Wx::Button::GetBitmapDisabled", XS_Wx__Button_GetBitmapDisabled, file);
        newXS("Wx::Button::GetBitmapFocus", XS_Wx__Button_GetBitmapFocus, file);
        newXS("Wx::Button::GetBitmapLabel", XS_Wx__Button_GetBitmapLabel, file);
        newXS("Wx::Button::GetBitmapPressed", XS_Wx__Button_GetBitmapPressed, file);
        newXS("Wx::Button::GetBitmapMargins", XS_Wx__Button_GetBitmapMargins, file);
#endif
        newXS("Wx::Button::GetDefaultSize", XS_Wx__Button_GetDefaultSize, file);
        newXS("Wx::Button::GetLabel", XS_Wx__Button_GetLabel, file);
#if XSubPPtmpAACO
        newXS("Wx::Button::SetAuthNeeded", XS_Wx__Button_SetAuthNeeded, file);
        newXS("Wx::Button::SetBitmap", XS_Wx__Button_SetBitmap, file);
        newXS("Wx::Button::SetBitmapCurrent", XS_Wx__Button_SetBitmapCurrent, file);
        newXS("Wx::Button::SetBitmapDisabled", XS_Wx__Button_SetBitmapDisabled, file);
        newXS("Wx::Button::SetBitmapFocus", XS_Wx__Button_SetBitmapFocus, file);
        newXS("Wx::Button::SetBitmapLabel", XS_Wx__Button_SetBitmapLabel, file);
        newXS("Wx::Button::SetBitmapPressed", XS_Wx__Button_SetBitmapPressed, file);
        newXS("Wx::Button::SetBitmapMargins0", XS_Wx__Button_SetBitmapMargins0, file);
        newXS("Wx::Button::SetBitmapMargins1", XS_Wx__Button_SetBitmapMargins1, file);
        newXS("Wx::Button::SetBitmapPosition", XS_Wx__Button_SetBitmapPosition, file);
#endif
#if XSubPPtmpAACP
        newXS("Wx::Button::SetDefault0", XS_Wx__Button_SetDefault0, file);
#endif
#if XSubPPtmpAACQ
        newXS("Wx::Button::SetDefault1", XS_Wx__Button_SetDefault1, file);
#endif
        newXS("Wx::Button::SetLabel", XS_Wx__Button_SetLabel, file);
#if XSubPPtmpAACR
        newXS("Wx::Button::SetDefault", XS_Wx__Button_SetDefault, file);
#endif
#if XSubPPtmpAACS
        newXS("Wx::Button::SetBitmapMargins", XS_Wx__Button_SetBitmapMargins, file);
#endif
#if XSubPPtmpAACT
        newXS("Wx::Button::new", XS_Wx__Button_new, file);
#endif
#if XSubPPtmpAACU
        newXS("Wx::CommandLinkButton::newDefault", XS_Wx__CommandLinkButton_newDefault, file);
        newXS("Wx::CommandLinkButton::newFull", XS_Wx__CommandLinkButton_newFull, file);
        newXS("Wx::CommandLinkButton::Create", XS_Wx__CommandLinkButton_Create, file);
        newXS("Wx::CommandLinkButton::SetMainLabelAndNote", XS_Wx__CommandLinkButton_SetMainLabelAndNote, file);
        newXS("Wx::CommandLinkButton::SetLabel", XS_Wx__CommandLinkButton_SetLabel, file);
        newXS("Wx::CommandLinkButton::GetLabel", XS_Wx__CommandLinkButton_GetLabel, file);
        newXS("Wx::CommandLinkButton::SetMainLabel", XS_Wx__CommandLinkButton_SetMainLabel, file);
        newXS("Wx::CommandLinkButton::SetNote", XS_Wx__CommandLinkButton_SetNote, file);
        newXS("Wx::CommandLinkButton::GetMainLabel", XS_Wx__CommandLinkButton_GetMainLabel, file);
        newXS("Wx::CommandLinkButton::GetNote", XS_Wx__CommandLinkButton_GetNote, file);
#if XSubPPtmpAACV
        newXS("Wx::CommandLinkButton::new", XS_Wx__CommandLinkButton_new, file);
#endif
#endif
#if XSubPPtmpAACW
        newXS("Wx::TreeListItem::CLONE", XS_Wx__TreeListItem_CLONE, file);
        newXS("Wx::TreeListItem::DESTROY", XS_Wx__TreeListItem_DESTROY, file);
        newXS("Wx::TreeListItem::IsOk", XS_Wx__TreeListItem_IsOk, file);
        newXS("Wx::TreeListItemComparator::Compare", XS_Wx__TreeListItemComparator_Compare, file);
        newXS("Wx::TreeListCtrl::newDefault", XS_Wx__TreeListCtrl_newDefault, file);
        newXS("Wx::TreeListCtrl::newFull", XS_Wx__TreeListCtrl_newFull, file);
        newXS("Wx::TreeListCtrl::Create", XS_Wx__TreeListCtrl_Create, file);
        newXS("Wx::TreeListCtrl::AssignImageList", XS_Wx__TreeListCtrl_AssignImageList, file);
        newXS("Wx::TreeListCtrl::GetImageList", XS_Wx__TreeListCtrl_GetImageList, file);
        newXS("Wx::TreeListCtrl::SetImageList", XS_Wx__TreeListCtrl_SetImageList, file);
        newXS("Wx::TreeListCtrl::AppendColumn", XS_Wx__TreeListCtrl_AppendColumn, file);
        newXS("Wx::TreeListCtrl::GetColumnCount", XS_Wx__TreeListCtrl_GetColumnCount, file);
        newXS("Wx::TreeListCtrl::DeleteColumn", XS_Wx__TreeListCtrl_DeleteColumn, file);
        newXS("Wx::TreeListCtrl::ClearColumns", XS_Wx__TreeListCtrl_ClearColumns, file);
        newXS("Wx::TreeListCtrl::SetColumnWidth", XS_Wx__TreeListCtrl_SetColumnWidth, file);
        newXS("Wx::TreeListCtrl::GetColumnWidth", XS_Wx__TreeListCtrl_GetColumnWidth, file);
        newXS("Wx::TreeListCtrl::WidthFor", XS_Wx__TreeListCtrl_WidthFor, file);
        newXS("Wx::TreeListCtrl::AppendItem", XS_Wx__TreeListCtrl_AppendItem, file);
        newXS("Wx::TreeListCtrl::InsertItem", XS_Wx__TreeListCtrl_InsertItem, file);
        newXS("Wx::TreeListCtrl::PrependItem", XS_Wx__TreeListCtrl_PrependItem, file);
        newXS("Wx::TreeListCtrl::DeleteItem", XS_Wx__TreeListCtrl_DeleteItem, file);
        newXS("Wx::TreeListCtrl::DeleteAllItems", XS_Wx__TreeListCtrl_DeleteAllItems, file);
        newXS("Wx::TreeListCtrl::GetRootItem", XS_Wx__TreeListCtrl_GetRootItem, file);
        newXS("Wx::TreeListCtrl::GetItemParent", XS_Wx__TreeListCtrl_GetItemParent, file);
        newXS("Wx::TreeListCtrl::GetFirstChild", XS_Wx__TreeListCtrl_GetFirstChild, file);
        newXS("Wx::TreeListCtrl::GetNextSibling", XS_Wx__TreeListCtrl_GetNextSibling, file);
        newXS("Wx::TreeListCtrl::GetFirstItem", XS_Wx__TreeListCtrl_GetFirstItem, file);
        newXS("Wx::TreeListCtrl::GetNextItem", XS_Wx__TreeListCtrl_GetNextItem, file);
        newXS("Wx::TreeListCtrl::GetItemText", XS_Wx__TreeListCtrl_GetItemText, file);
        newXS("Wx::TreeListCtrl::SetItemText0", XS_Wx__TreeListCtrl_SetItemText0, file);
        newXS("Wx::TreeListCtrl::SetItemText1", XS_Wx__TreeListCtrl_SetItemText1, file);
        newXS("Wx::TreeListCtrl::SetItemImage", XS_Wx__TreeListCtrl_SetItemImage, file);
        newXS("Wx::TreeListCtrl::GetItemData", XS_Wx__TreeListCtrl_GetItemData, file);
        newXS("Wx::TreeListCtrl::SetItemData", XS_Wx__TreeListCtrl_SetItemData, file);
        newXS("Wx::TreeListCtrl::Expand", XS_Wx__TreeListCtrl_Expand, file);
        newXS("Wx::TreeListCtrl::Collapse", XS_Wx__TreeListCtrl_Collapse, file);
        newXS("Wx::TreeListCtrl::IsExpanded", XS_Wx__TreeListCtrl_IsExpanded, file);
        newXS("Wx::TreeListCtrl::GetSelection", XS_Wx__TreeListCtrl_GetSelection, file);
        newXS("Wx::TreeListCtrl::GetSelections", XS_Wx__TreeListCtrl_GetSelections, file);
        newXS("Wx::TreeListCtrl::Select", XS_Wx__TreeListCtrl_Select, file);
        newXS("Wx::TreeListCtrl::Unselect", XS_Wx__TreeListCtrl_Unselect, file);
        newXS("Wx::TreeListCtrl::IsSelected", XS_Wx__TreeListCtrl_IsSelected, file);
        newXS("Wx::TreeListCtrl::SelectAll", XS_Wx__TreeListCtrl_SelectAll, file);
        newXS("Wx::TreeListCtrl::UnselectAll", XS_Wx__TreeListCtrl_UnselectAll, file);
        newXS("Wx::TreeListCtrl::CheckItem", XS_Wx__TreeListCtrl_CheckItem, file);
        newXS("Wx::TreeListCtrl::CheckItemRecursively", XS_Wx__TreeListCtrl_CheckItemRecursively, file);
        newXS("Wx::TreeListCtrl::UncheckItem", XS_Wx__TreeListCtrl_UncheckItem, file);
        newXS("Wx::TreeListCtrl::UpdateItemParentStateRecursively", XS_Wx__TreeListCtrl_UpdateItemParentStateRecursively, file);
        newXS("Wx::TreeListCtrl::GetCheckedState", XS_Wx__TreeListCtrl_GetCheckedState, file);
        newXS("Wx::TreeListCtrl::AreAllChildrenInState", XS_Wx__TreeListCtrl_AreAllChildrenInState, file);
        newXS("Wx::TreeListCtrl::SetSortColumn", XS_Wx__TreeListCtrl_SetSortColumn, file);
        newXS("Wx::TreeListCtrl::GetSortColumn", XS_Wx__TreeListCtrl_GetSortColumn, file);
        newXS("Wx::TreeListCtrl::SetItemComparator", XS_Wx__TreeListCtrl_SetItemComparator, file);
        newXS("Wx::TreeListCtrl::GetView", XS_Wx__TreeListCtrl_GetView, file);
#if XSubPPtmpAACX
        newXS("Wx::TreeListCtrl::new", XS_Wx__TreeListCtrl_new, file);
#endif
#if XSubPPtmpAACY
        newXS("Wx::TreeListCtrl::SetItemText", XS_Wx__TreeListCtrl_SetItemText, file);
#endif
        newXS("Wx::TreeListEvent::GetItem", XS_Wx__TreeListEvent_GetItem, file);
        newXS("Wx::TreeListEvent::GetOldCheckedState", XS_Wx__TreeListEvent_GetOldCheckedState, file);
        newXS("Wx::TreeListEvent::GetColumn", XS_Wx__TreeListEvent_GetColumn, file);
#endif
#if XSubPPtmpAACZ
        newXS("Wx::PlTreeListItemComparator::new", XS_Wx__PlTreeListItemComparator_new, file);
#endif
#if XSubPPtmpAADA
#endif
#if XSubPPtmpAADB
        newXS("Wx::RichToolTip::CLONE", XS_Wx__RichToolTip_CLONE, file);
        newXS("Wx::RichToolTip::new", XS_Wx__RichToolTip_new, file);
        newXS("Wx::RichToolTip::SetBackgroundColour", XS_Wx__RichToolTip_SetBackgroundColour, file);
        newXS("Wx::RichToolTip::SetIconId", XS_Wx__RichToolTip_SetIconId, file);
        newXS("Wx::RichToolTip::SetIconIcon", XS_Wx__RichToolTip_SetIconIcon, file);
        newXS("Wx::RichToolTip::SetTimeout", XS_Wx__RichToolTip_SetTimeout, file);
        newXS("Wx::RichToolTip::SetTipKind", XS_Wx__RichToolTip_SetTipKind, file);
        newXS("Wx::RichToolTip::ShowFor", XS_Wx__RichToolTip_ShowFor, file);
        newXS("Wx::RichToolTip::DESTROY", XS_Wx__RichToolTip_DESTROY, file);
#if XSubPPtmpAADC
        newXS("Wx::RichToolTip::SetIcon", XS_Wx__RichToolTip_SetIcon, file);
#endif
#endif
#if XSubPPtmpAADD
        newXS("Wx::BannerWindow::newDefault", XS_Wx__BannerWindow_newDefault, file);
        newXS("Wx::BannerWindow::newShort", XS_Wx__BannerWindow_newShort, file);
        newXS("Wx::BannerWindow::newFull", XS_Wx__BannerWindow_newFull, file);
        newXS("Wx::BannerWindow::Create", XS_Wx__BannerWindow_Create, file);
        newXS("Wx::BannerWindow::SetBitmap", XS_Wx__BannerWindow_SetBitmap, file);
        newXS("Wx::BannerWindow::SetText", XS_Wx__BannerWindow_SetText, file);
        newXS("Wx::BannerWindow::SetGradient", XS_Wx__BannerWindow_SetGradient, file);
#if XSubPPtmpAADE
        newXS("Wx::BannerWindow::new", XS_Wx__BannerWindow_new, file);
#endif
#endif
#if XSubPPtmpAADF
        newXS("Wx::RearrangeList::newDefault", XS_Wx__RearrangeList_newDefault, file);
        newXS("Wx::RearrangeList::newFull", XS_Wx__RearrangeList_newFull, file);
        newXS("Wx::RearrangeList::Create", XS_Wx__RearrangeList_Create, file);
        newXS("Wx::RearrangeList::GetCurrentOrder", XS_Wx__RearrangeList_GetCurrentOrder, file);
        newXS("Wx::RearrangeList::CanMoveCurrentUp", XS_Wx__RearrangeList_CanMoveCurrentUp, file);
        newXS("Wx::RearrangeList::CanMoveCurrentDown", XS_Wx__RearrangeList_CanMoveCurrentDown, file);
        newXS("Wx::RearrangeList::MoveCurrentUp", XS_Wx__RearrangeList_MoveCurrentUp, file);
        newXS("Wx::RearrangeList::MoveCurrentDown", XS_Wx__RearrangeList_MoveCurrentDown, file);
#if XSubPPtmpAADG
        newXS("Wx::RearrangeList::new", XS_Wx__RearrangeList_new, file);
#endif
        newXS("Wx::RearrangeCtrl::newDefault", XS_Wx__RearrangeCtrl_newDefault, file);
        newXS("Wx::RearrangeCtrl::newFull", XS_Wx__RearrangeCtrl_newFull, file);
        newXS("Wx::RearrangeCtrl::Create", XS_Wx__RearrangeCtrl_Create, file);
        newXS("Wx::RearrangeCtrl::GetList", XS_Wx__RearrangeCtrl_GetList, file);
#if XSubPPtmpAADH
        newXS("Wx::RearrangeCtrl::new", XS_Wx__RearrangeCtrl_new, file);
#endif
        newXS("Wx::RearrangeDialog::newDefault", XS_Wx__RearrangeDialog_newDefault, file);
        newXS("Wx::RearrangeDialog::newFull", XS_Wx__RearrangeDialog_newFull, file);
        newXS("Wx::RearrangeDialog::Create", XS_Wx__RearrangeDialog_Create, file);
        newXS("Wx::RearrangeDialog::AddExtraControls", XS_Wx__RearrangeDialog_AddExtraControls, file);
        newXS("Wx::RearrangeDialog::GetList", XS_Wx__RearrangeDialog_GetList, file);
        newXS("Wx::RearrangeDialog::GetOrder", XS_Wx__RearrangeDialog_GetOrder, file);
#if XSubPPtmpAADI
        newXS("Wx::RearrangeDialog::new", XS_Wx__RearrangeDialog_new, file);
#endif
#endif
        newXS("Wx::TreeItemData::new", XS_Wx__TreeItemData_new, file);
        newXS("Wx::TreeItemData::Destroy", XS_Wx__TreeItemData_Destroy, file);
        newXS("Wx::TreeItemData::GetData", XS_Wx__TreeItemData_GetData, file);
        newXS("Wx::TreeItemData::SetData", XS_Wx__TreeItemData_SetData, file);
        newXS("Wx::TreeItemData::GetId", XS_Wx__TreeItemData_GetId, file);
        newXS("Wx::TreeItemData::SetId", XS_Wx__TreeItemData_SetId, file);
        newXS("Wx::TreeItemId::CLONE", XS_Wx__TreeItemId_CLONE, file);
        newXS("Wx::TreeItemId::DESTROY", XS_Wx__TreeItemId_DESTROY, file);
        newXS("Wx::TreeItemId::IsOk", XS_Wx__TreeItemId_IsOk, file);
        newXS("Wx::TreeItemId::tiid_spaceship", XS_Wx__TreeItemId_tiid_spaceship, file);
        newXS("Wx::TreeEvent::new", XS_Wx__TreeEvent_new, file);
        newXS("Wx::TreeEvent::GetItem", XS_Wx__TreeEvent_GetItem, file);
#if XSubPPtmpAADJ
        newXS("Wx::TreeEvent::SetQuickBestSize", XS_Wx__TreeEvent_SetQuickBestSize, file);
        newXS("Wx::TreeEvent::GetQuickBestSize", XS_Wx__TreeEvent_GetQuickBestSize, file);
#endif
        newXS("Wx::TreeEvent::GetKeyCode", XS_Wx__TreeEvent_GetKeyCode, file);
        newXS("Wx::TreeEvent::GetKeyEvent", XS_Wx__TreeEvent_GetKeyEvent, file);
        newXS("Wx::TreeEvent::GetOldItem", XS_Wx__TreeEvent_GetOldItem, file);
        newXS("Wx::TreeEvent::GetPoint", XS_Wx__TreeEvent_GetPoint, file);
        newXS("Wx::TreeEvent::IsEditCancelled", XS_Wx__TreeEvent_IsEditCancelled, file);
        newXS("Wx::TreeEvent::GetLabel", XS_Wx__TreeEvent_GetLabel, file);
        newXS("Wx::TreeEvent::SetToolTip", XS_Wx__TreeEvent_SetToolTip, file);
        newXS("Wx::TreeCtrl::new", XS_Wx__TreeCtrl_new, file);
        newXS("Wx::TreeCtrl::newDefault", XS_Wx__TreeCtrl_newDefault, file);
        newXS("Wx::TreeCtrl::newFull", XS_Wx__TreeCtrl_newFull, file);
        newXS("Wx::TreeCtrl::Create", XS_Wx__TreeCtrl_Create, file);
        newXS("Wx::TreeCtrl::AddRoot", XS_Wx__TreeCtrl_AddRoot, file);
        newXS("Wx::TreeCtrl::AppendItem", XS_Wx__TreeCtrl_AppendItem, file);
        newXS("Wx::TreeCtrl::Collapse", XS_Wx__TreeCtrl_Collapse, file);
#if XSubPPtmpAADK
        newXS("Wx::TreeCtrl::CollapseAll", XS_Wx__TreeCtrl_CollapseAll, file);
        newXS("Wx::TreeCtrl::CollapseAllChildren", XS_Wx__TreeCtrl_CollapseAllChildren, file);
#endif
        newXS("Wx::TreeCtrl::CollapseAndReset", XS_Wx__TreeCtrl_CollapseAndReset, file);
        newXS("Wx::TreeCtrl::Delete", XS_Wx__TreeCtrl_Delete, file);
        newXS("Wx::TreeCtrl::DeleteChildren", XS_Wx__TreeCtrl_DeleteChildren, file);
        newXS("Wx::TreeCtrl::DeleteAllItems", XS_Wx__TreeCtrl_DeleteAllItems, file);
        newXS("Wx::TreeCtrl::EditLabel", XS_Wx__TreeCtrl_EditLabel, file);
#if XSubPPtmpAADL
        newXS("Wx::TreeCtrl::EndEditLabel", XS_Wx__TreeCtrl_EndEditLabel, file);
#endif
#if XSubPPtmpAADM
        newXS("Wx::TreeCtrl::EndEditLabel", XS_Wx__TreeCtrl_EndEditLabel, file);
#endif
        newXS("Wx::TreeCtrl::EnsureVisible", XS_Wx__TreeCtrl_EnsureVisible, file);
#if XSubPPtmpAADN
        newXS("Wx::TreeCtrl::ExpandAll", XS_Wx__TreeCtrl_ExpandAll, file);
#endif
        newXS("Wx::TreeCtrl::Expand", XS_Wx__TreeCtrl_Expand, file);
#if XSubPPtmpAADO
        newXS("Wx::TreeCtrl::ExpandAllChildren", XS_Wx__TreeCtrl_ExpandAllChildren, file);
#endif
        newXS("Wx::TreeCtrl::GetBoundingRect", XS_Wx__TreeCtrl_GetBoundingRect, file);
        newXS("Wx::TreeCtrl::GetChildrenCount", XS_Wx__TreeCtrl_GetChildrenCount, file);
        newXS("Wx::TreeCtrl::GetCount", XS_Wx__TreeCtrl_GetCount, file);
        newXS("Wx::TreeCtrl::GetItemData", XS_Wx__TreeCtrl_GetItemData, file);
        newXS("Wx::TreeCtrl::GetPlData", XS_Wx__TreeCtrl_GetPlData, file);
#if XSubPPtmpAADP
        newXS("Wx::TreeCtrl::GetEditControl", XS_Wx__TreeCtrl_GetEditControl, file);
#endif
        newXS("Wx::TreeCtrl::GetFirstChild", XS_Wx__TreeCtrl_GetFirstChild, file);
        newXS("Wx::TreeCtrl::GetFirstVisibleItem", XS_Wx__TreeCtrl_GetFirstVisibleItem, file);
        newXS("Wx::TreeCtrl::GetImageList", XS_Wx__TreeCtrl_GetImageList, file);
#if XSubPPtmpAADQ
        newXS("Wx::TreeCtrl::GetButtonsImageList", XS_Wx__TreeCtrl_GetButtonsImageList, file);
#endif
        newXS("Wx::TreeCtrl::GetIndent", XS_Wx__TreeCtrl_GetIndent, file);
        newXS("Wx::TreeCtrl::GetItemImage", XS_Wx__TreeCtrl_GetItemImage, file);
        newXS("Wx::TreeCtrl::GetItemText", XS_Wx__TreeCtrl_GetItemText, file);
        newXS("Wx::TreeCtrl::GetItemBackgroundColour", XS_Wx__TreeCtrl_GetItemBackgroundColour, file);
        newXS("Wx::TreeCtrl::GetItemTextColour", XS_Wx__TreeCtrl_GetItemTextColour, file);
        newXS("Wx::TreeCtrl::GetItemFont", XS_Wx__TreeCtrl_GetItemFont, file);
        newXS("Wx::TreeCtrl::GetLastChild", XS_Wx__TreeCtrl_GetLastChild, file);
#if XSubPPtmpAADR
        newXS("Wx::TreeCtrl::GetNextChild", XS_Wx__TreeCtrl_GetNextChild, file);
#endif
#if XSubPPtmpAADS
        newXS("Wx::TreeCtrl::GetNextChild", XS_Wx__TreeCtrl_GetNextChild, file);
#endif
        newXS("Wx::TreeCtrl::GetNextSibling", XS_Wx__TreeCtrl_GetNextSibling, file);
        newXS("Wx::TreeCtrl::GetNextVisible", XS_Wx__TreeCtrl_GetNextVisible, file);
        newXS("Wx::TreeCtrl::GetParent", XS_Wx__TreeCtrl_GetParent, file);
        newXS("Wx::TreeCtrl::GetItemParent", XS_Wx__TreeCtrl_GetItemParent, file);
        newXS("Wx::TreeCtrl::GetPrevSibling", XS_Wx__TreeCtrl_GetPrevSibling, file);
        newXS("Wx::TreeCtrl::GetPrevVisible", XS_Wx__TreeCtrl_GetPrevVisible, file);
        newXS("Wx::TreeCtrl::GetRootItem", XS_Wx__TreeCtrl_GetRootItem, file);
        newXS("Wx::TreeCtrl::GetSelection", XS_Wx__TreeCtrl_GetSelection, file);
        newXS("Wx::TreeCtrl::GetSelections", XS_Wx__TreeCtrl_GetSelections, file);
        newXS("Wx::TreeCtrl::GetStateImageList", XS_Wx__TreeCtrl_GetStateImageList, file);
        newXS("Wx::TreeCtrl::HitTest", XS_Wx__TreeCtrl_HitTest, file);
        newXS("Wx::TreeCtrl::InsertItem", XS_Wx__TreeCtrl_InsertItem, file);
        newXS("Wx::TreeCtrl::InsertItemPrev", XS_Wx__TreeCtrl_InsertItemPrev, file);
        newXS("Wx::TreeCtrl::InsertItemBef", XS_Wx__TreeCtrl_InsertItemBef, file);
        newXS("Wx::TreeCtrl::IsBold", XS_Wx__TreeCtrl_IsBold, file);
        newXS("Wx::TreeCtrl::IsExpanded", XS_Wx__TreeCtrl_IsExpanded, file);
        newXS("Wx::TreeCtrl::IsSelected", XS_Wx__TreeCtrl_IsSelected, file);
        newXS("Wx::TreeCtrl::IsVisible", XS_Wx__TreeCtrl_IsVisible, file);
#if XSubPPtmpAADT
        newXS("Wx::TreeCtrl::IsEmpty", XS_Wx__TreeCtrl_IsEmpty, file);
#endif
        newXS("Wx::TreeCtrl::ItemHasChildren", XS_Wx__TreeCtrl_ItemHasChildren, file);
        newXS("Wx::TreeCtrl::OnCompareItems", XS_Wx__TreeCtrl_OnCompareItems, file);
        newXS("Wx::TreeCtrl::PrependItem", XS_Wx__TreeCtrl_PrependItem, file);
        newXS("Wx::TreeCtrl::ScrollTo", XS_Wx__TreeCtrl_ScrollTo, file);
#if XSubPPtmpAADU
        newXS("Wx::TreeCtrl::SelectItem", XS_Wx__TreeCtrl_SelectItem, file);
#endif
#if XSubPPtmpAADV
        newXS("Wx::TreeCtrl::SelectItem", XS_Wx__TreeCtrl_SelectItem, file);
#endif
        newXS("Wx::TreeCtrl::SetIndent", XS_Wx__TreeCtrl_SetIndent, file);
        newXS("Wx::TreeCtrl::SetImageList", XS_Wx__TreeCtrl_SetImageList, file);
#if XSubPPtmpAADW
        newXS("Wx::TreeCtrl::SetButtonsImageList", XS_Wx__TreeCtrl_SetButtonsImageList, file);
#endif
        newXS("Wx::TreeCtrl::SetStateImageList", XS_Wx__TreeCtrl_SetStateImageList, file);
        newXS("Wx::TreeCtrl::AssignImageList", XS_Wx__TreeCtrl_AssignImageList, file);
        newXS("Wx::TreeCtrl::AssignButtonsImageList", XS_Wx__TreeCtrl_AssignButtonsImageList, file);
        newXS("Wx::TreeCtrl::AssignStateImageList", XS_Wx__TreeCtrl_AssignStateImageList, file);
        newXS("Wx::TreeCtrl::SetItemBackgroundColour", XS_Wx__TreeCtrl_SetItemBackgroundColour, file);
        newXS("Wx::TreeCtrl::SetItemBold", XS_Wx__TreeCtrl_SetItemBold, file);
        newXS("Wx::TreeCtrl::SetItemData", XS_Wx__TreeCtrl_SetItemData, file);
        newXS("Wx::TreeCtrl::SetPlData", XS_Wx__TreeCtrl_SetPlData, file);
#if XSubPPtmpAADX
        newXS("Wx::TreeCtrl::SetItemDropHighlight", XS_Wx__TreeCtrl_SetItemDropHighlight, file);
#endif
        newXS("Wx::TreeCtrl::SetItemFont", XS_Wx__TreeCtrl_SetItemFont, file);
        newXS("Wx::TreeCtrl::SetItemHasChildren", XS_Wx__TreeCtrl_SetItemHasChildren, file);
        newXS("Wx::TreeCtrl::SetItemImage", XS_Wx__TreeCtrl_SetItemImage, file);
        newXS("Wx::TreeCtrl::SetItemText", XS_Wx__TreeCtrl_SetItemText, file);
        newXS("Wx::TreeCtrl::SetItemTextColour", XS_Wx__TreeCtrl_SetItemTextColour, file);
        newXS("Wx::TreeCtrl::SortChildren", XS_Wx__TreeCtrl_SortChildren, file);
        newXS("Wx::TreeCtrl::Toggle", XS_Wx__TreeCtrl_Toggle, file);
#if XSubPPtmpAADY
        newXS("Wx::TreeCtrl::UnselectItem", XS_Wx__TreeCtrl_UnselectItem, file);
        newXS("Wx::TreeCtrl::ToggleItemSelection", XS_Wx__TreeCtrl_ToggleItemSelection, file);
#endif
        newXS("Wx::TreeCtrl::Unselect", XS_Wx__TreeCtrl_Unselect, file);
        newXS("Wx::TreeCtrl::UnselectAll", XS_Wx__TreeCtrl_UnselectAll, file);
#if XSubPPtmpAADZ
        newXS("Wx::ToggleButton::new", XS_Wx__ToggleButton_new, file);
        newXS("Wx::ToggleButton::newDefault", XS_Wx__ToggleButton_newDefault, file);
        newXS("Wx::ToggleButton::newFull", XS_Wx__ToggleButton_newFull, file);
        newXS("Wx::ToggleButton::Create", XS_Wx__ToggleButton_Create, file);
        newXS("Wx::ToggleButton::GetValue", XS_Wx__ToggleButton_GetValue, file);
        newXS("Wx::ToggleButton::SetValue", XS_Wx__ToggleButton_SetValue, file);
#if XSubPPtmpAAEA
        newXS("Wx::BitmapToggleButton::new", XS_Wx__BitmapToggleButton_new, file);
        newXS("Wx::BitmapToggleButton::newDefault", XS_Wx__BitmapToggleButton_newDefault, file);
        newXS("Wx::BitmapToggleButton::newFull", XS_Wx__BitmapToggleButton_newFull, file);
        newXS("Wx::BitmapToggleButton::Create", XS_Wx__BitmapToggleButton_Create, file);
        newXS("Wx::BitmapToggleButton::GetValue", XS_Wx__BitmapToggleButton_GetValue, file);
        newXS("Wx::BitmapToggleButton::SetValue", XS_Wx__BitmapToggleButton_SetValue, file);
#endif
#endif
        newXS("Wx::StaticText::new", XS_Wx__StaticText_new, file);
        newXS("Wx::StaticText::Create", XS_Wx__StaticText_Create, file);
#if XSubPPtmpAAEB
        newXS("Wx::StaticText::Wrap", XS_Wx__StaticText_Wrap, file);
#endif
        newXS("Wx::StaticLine::new", XS_Wx__StaticLine_new, file);
        newXS("Wx::StaticLine::Create", XS_Wx__StaticLine_Create, file);
        newXS("Wx::StaticLine::IsVertical", XS_Wx__StaticLine_IsVertical, file);
        newXS("Wx::StaticLine::GetDefaultSize", XS_Wx__StaticLine_GetDefaultSize, file);
        newXS("Wx::StaticBox::new", XS_Wx__StaticBox_new, file);
        newXS("Wx::StaticBox::Create", XS_Wx__StaticBox_Create, file);
        newXS("Wx::StaticBitmap::new", XS_Wx__StaticBitmap_new, file);
        newXS("Wx::StaticBitmap::newBitmap", XS_Wx__StaticBitmap_newBitmap, file);
#if XSubPPtmpAAEC
        newXS("Wx::StaticBitmap::newIcon", XS_Wx__StaticBitmap_newIcon, file);
#endif
        newXS("Wx::StaticBitmap::GetBitmap", XS_Wx__StaticBitmap_GetBitmap, file);
        newXS("Wx::StaticBitmap::SetBitmap", XS_Wx__StaticBitmap_SetBitmap, file);
#if XSubPPtmpAAED
        newXS("Wx::StaticBitmap::GetIcon", XS_Wx__StaticBitmap_GetIcon, file);
        newXS("Wx::StaticBitmap::SetIcon", XS_Wx__StaticBitmap_SetIcon, file);
#endif
        newXS("Wx::SpinCtrl::new", XS_Wx__SpinCtrl_new, file);
        newXS("Wx::SpinCtrl::newDefault", XS_Wx__SpinCtrl_newDefault, file);
        newXS("Wx::SpinCtrl::newFull", XS_Wx__SpinCtrl_newFull, file);
        newXS("Wx::SpinCtrl::Create", XS_Wx__SpinCtrl_Create, file);
        newXS("Wx::SpinCtrl::GetMin", XS_Wx__SpinCtrl_GetMin, file);
        newXS("Wx::SpinCtrl::GetMax", XS_Wx__SpinCtrl_GetMax, file);
        newXS("Wx::SpinCtrl::GetValue", XS_Wx__SpinCtrl_GetValue, file);
        newXS("Wx::SpinCtrl::SetRange", XS_Wx__SpinCtrl_SetRange, file);
        newXS("Wx::SpinCtrl::SetValue", XS_Wx__SpinCtrl_SetValue, file);
#if XSubPPtmpAAEE
        newXS("Wx::SpinCtrl::SetSelection", XS_Wx__SpinCtrl_SetSelection, file);
#endif
        newXS("Wx::SpinEvent::new", XS_Wx__SpinEvent_new, file);
        newXS("Wx::SpinEvent::GetPosition", XS_Wx__SpinEvent_GetPosition, file);
        newXS("Wx::SpinEvent::SetPosition", XS_Wx__SpinEvent_SetPosition, file);
        newXS("Wx::SpinButton::new", XS_Wx__SpinButton_new, file);
        newXS("Wx::SpinButton::newDefault", XS_Wx__SpinButton_newDefault, file);
        newXS("Wx::SpinButton::newFull", XS_Wx__SpinButton_newFull, file);
        newXS("Wx::SpinButton::Create", XS_Wx__SpinButton_Create, file);
        newXS("Wx::SpinButton::GetMax", XS_Wx__SpinButton_GetMax, file);
        newXS("Wx::SpinButton::GetMin", XS_Wx__SpinButton_GetMin, file);
        newXS("Wx::SpinButton::GetValue", XS_Wx__SpinButton_GetValue, file);
        newXS("Wx::SpinButton::SetRange", XS_Wx__SpinButton_SetRange, file);
        newXS("Wx::SpinButton::SetValue", XS_Wx__SpinButton_SetValue, file);
        newXS("Wx::Slider::new", XS_Wx__Slider_new, file);
        newXS("Wx::Slider::newDefault", XS_Wx__Slider_newDefault, file);
        newXS("Wx::Slider::newFull", XS_Wx__Slider_newFull, file);
        newXS("Wx::Slider::Create", XS_Wx__Slider_Create, file);
#if XSubPPtmpAAEF
        newXS("Wx::Slider::ClearSel", XS_Wx__Slider_ClearSel, file);
        newXS("Wx::Slider::ClearTicks", XS_Wx__Slider_ClearTicks, file);
#endif
        newXS("Wx::Slider::GetLineSize", XS_Wx__Slider_GetLineSize, file);
        newXS("Wx::Slider::GetMax", XS_Wx__Slider_GetMax, file);
        newXS("Wx::Slider::GetMin", XS_Wx__Slider_GetMin, file);
        newXS("Wx::Slider::GetPageSize", XS_Wx__Slider_GetPageSize, file);
#if XSubPPtmpAAEG
        newXS("Wx::Slider::GetSelEnd", XS_Wx__Slider_GetSelEnd, file);
        newXS("Wx::Slider::GetSelStart", XS_Wx__Slider_GetSelStart, file);
        newXS("Wx::Slider::GetThumbLength", XS_Wx__Slider_GetThumbLength, file);
        newXS("Wx::Slider::GetTickFreq", XS_Wx__Slider_GetTickFreq, file);
#endif
        newXS("Wx::Slider::GetValue", XS_Wx__Slider_GetValue, file);
        newXS("Wx::Slider::SetRange", XS_Wx__Slider_SetRange, file);
        newXS("Wx::Slider::SetTickFreq", XS_Wx__Slider_SetTickFreq, file);
        newXS("Wx::Slider::SetLineSize", XS_Wx__Slider_SetLineSize, file);
        newXS("Wx::Slider::SetPageSize", XS_Wx__Slider_SetPageSize, file);
#if XSubPPtmpAAEH
        newXS("Wx::Slider::StartSelection", XS_Wx__Slider_StartSelection, file);
#endif
#if XSubPPtmpAAEI
        newXS("Wx::Slider::SetThumbLength", XS_Wx__Slider_SetThumbLength, file);
#endif
        newXS("Wx::Slider::SetValue", XS_Wx__Slider_SetValue, file);
        newXS("Wx::ScrollBar::new", XS_Wx__ScrollBar_new, file);
        newXS("Wx::ScrollBar::newDefault", XS_Wx__ScrollBar_newDefault, file);
        newXS("Wx::ScrollBar::newFull", XS_Wx__ScrollBar_newFull, file);
        newXS("Wx::ScrollBar::Create", XS_Wx__ScrollBar_Create, file);
        newXS("Wx::ScrollBar::GetRange", XS_Wx__ScrollBar_GetRange, file);
        newXS("Wx::ScrollBar::GetPageSize", XS_Wx__ScrollBar_GetPageSize, file);
        newXS("Wx::ScrollBar::GetThumbPosition", XS_Wx__ScrollBar_GetThumbPosition, file);
        newXS("Wx::ScrollBar::GetThumbSize", XS_Wx__ScrollBar_GetThumbSize, file);
        newXS("Wx::ScrollBar::SetThumbPosition", XS_Wx__ScrollBar_SetThumbPosition, file);
#if XSubPPtmpAAEJ
        newXS("Wx::ScrollBar::SetPageSize", XS_Wx__ScrollBar_SetPageSize, file);
#endif
        newXS("Wx::ScrollBar::SetScrollbar", XS_Wx__ScrollBar_SetScrollbar, file);
        newXS("Wx::RadioButton::new", XS_Wx__RadioButton_new, file);
        newXS("Wx::RadioButton::newDefault", XS_Wx__RadioButton_newDefault, file);
        newXS("Wx::RadioButton::newFull", XS_Wx__RadioButton_newFull, file);
        newXS("Wx::RadioButton::Create", XS_Wx__RadioButton_Create, file);
        newXS("Wx::RadioButton::GetValue", XS_Wx__RadioButton_GetValue, file);
        newXS("Wx::RadioButton::SetValue", XS_Wx__RadioButton_SetValue, file);
        newXS("Wx::RadioBox::new", XS_Wx__RadioBox_new, file);
        newXS("Wx::RadioBox::newDefault", XS_Wx__RadioBox_newDefault, file);
        newXS("Wx::RadioBox::newFull", XS_Wx__RadioBox_newFull, file);
        newXS("Wx::RadioBox::Create", XS_Wx__RadioBox_Create, file);
        newXS("Wx::RadioBox::EnableItem", XS_Wx__RadioBox_EnableItem, file);
        newXS("Wx::RadioBox::FindString", XS_Wx__RadioBox_FindString, file);
#if XSubPPtmpAAEK
        newXS("Wx::RadioBox::GetColumnCount", XS_Wx__RadioBox_GetColumnCount, file);
        newXS("Wx::RadioBox::GetRowCount", XS_Wx__RadioBox_GetRowCount, file);
        newXS("Wx::RadioBox::GetItemFromPoint", XS_Wx__RadioBox_GetItemFromPoint, file);
#endif
        newXS("Wx::RadioBox::GetString", XS_Wx__RadioBox_GetString, file);
        newXS("Wx::RadioBox::GetItemLabel", XS_Wx__RadioBox_GetItemLabel, file);
        newXS("Wx::RadioBox::GetSelection", XS_Wx__RadioBox_GetSelection, file);
        newXS("Wx::RadioBox::GetStringSelection", XS_Wx__RadioBox_GetStringSelection, file);
#if XSubPPtmpAAEL
        newXS("Wx::RadioBox::IsItemEnabled", XS_Wx__RadioBox_IsItemEnabled, file);
        newXS("Wx::RadioBox::IsItemShown", XS_Wx__RadioBox_IsItemShown, file);
#endif
        newXS("Wx::RadioBox::SetString", XS_Wx__RadioBox_SetString, file);
        newXS("Wx::RadioBox::SetItemLabel", XS_Wx__RadioBox_SetItemLabel, file);
#if XSubPPtmpAAEM
        newXS("Wx::RadioBox::SetItemToolTip", XS_Wx__RadioBox_SetItemToolTip, file);
        newXS("Wx::RadioBox::GetItemToolTip", XS_Wx__RadioBox_GetItemToolTip, file);
#endif
#if XSubPPtmpAAEN
        newXS("Wx::RadioBox::SetItemHelpText", XS_Wx__RadioBox_SetItemHelpText, file);
        newXS("Wx::RadioBox::GetItemHelpText", XS_Wx__RadioBox_GetItemHelpText, file);
#endif
        newXS("Wx::RadioBox::SetSelection", XS_Wx__RadioBox_SetSelection, file);
        newXS("Wx::RadioBox::SetStringSelection", XS_Wx__RadioBox_SetStringSelection, file);
        newXS("Wx::RadioBox::ShowItem", XS_Wx__RadioBox_ShowItem, file);
        newXS("Wx::NotebookEvent::new", XS_Wx__NotebookEvent_new, file);
#if XSubPPtmpAAEO
        newXS("Wx::NotebookEvent::GetOldSelection", XS_Wx__NotebookEvent_GetOldSelection, file);
        newXS("Wx::NotebookEvent::GetSelection", XS_Wx__NotebookEvent_GetSelection, file);
        newXS("Wx::NotebookEvent::SetOldSelection", XS_Wx__NotebookEvent_SetOldSelection, file);
        newXS("Wx::NotebookEvent::SetSelection", XS_Wx__NotebookEvent_SetSelection, file);
#endif
        newXS("Wx::Notebook::new", XS_Wx__Notebook_new, file);
        newXS("Wx::Notebook::newDefault", XS_Wx__Notebook_newDefault, file);
        newXS("Wx::Notebook::newFull", XS_Wx__Notebook_newFull, file);
        newXS("Wx::Notebook::Create", XS_Wx__Notebook_Create, file);
#if XSubPPtmpAAEP
        newXS("Wx::Notebook::AddPage", XS_Wx__Notebook_AddPage, file);
        newXS("Wx::Notebook::AdvanceSelection", XS_Wx__Notebook_AdvanceSelection, file);
        newXS("Wx::Notebook::DeleteAllPages", XS_Wx__Notebook_DeleteAllPages, file);
        newXS("Wx::Notebook::DeletePage", XS_Wx__Notebook_DeletePage, file);
        newXS("Wx::Notebook::GetImageList", XS_Wx__Notebook_GetImageList, file);
        newXS("Wx::Notebook::GetPage", XS_Wx__Notebook_GetPage, file);
        newXS("Wx::Notebook::GetPageCount", XS_Wx__Notebook_GetPageCount, file);
        newXS("Wx::Notebook::GetPageImage", XS_Wx__Notebook_GetPageImage, file);
        newXS("Wx::Notebook::GetPageText", XS_Wx__Notebook_GetPageText, file);
        newXS("Wx::Notebook::GetSelection", XS_Wx__Notebook_GetSelection, file);
        newXS("Wx::Notebook::InsertPage", XS_Wx__Notebook_InsertPage, file);
        newXS("Wx::Notebook::RemovePage", XS_Wx__Notebook_RemovePage, file);
        newXS("Wx::Notebook::SetImageList", XS_Wx__Notebook_SetImageList, file);
        newXS("Wx::Notebook::SetPageImage", XS_Wx__Notebook_SetPageImage, file);
        newXS("Wx::Notebook::SetPageText", XS_Wx__Notebook_SetPageText, file);
        newXS("Wx::Notebook::SetSelection", XS_Wx__Notebook_SetSelection, file);
#endif
#if XSubPPtmpAAEQ
        newXS("Wx::Notebook::HitTest", XS_Wx__Notebook_HitTest, file);
#endif
        newXS("Wx::Notebook::GetRowCount", XS_Wx__Notebook_GetRowCount, file);
#if XSubPPtmpAAER
        newXS("Wx::Notebook::SetPadding", XS_Wx__Notebook_SetPadding, file);
        newXS("Wx::Notebook::SetPageSize", XS_Wx__Notebook_SetPageSize, file);
#endif
        newXS("Wx::ListEvent::new", XS_Wx__ListEvent_new, file);
#if XSubPPtmpAAES
        newXS("Wx::ListEvent::IsEditCancelled", XS_Wx__ListEvent_IsEditCancelled, file);
#endif
        newXS("Wx::ListEvent::GetCacheFrom", XS_Wx__ListEvent_GetCacheFrom, file);
        newXS("Wx::ListEvent::GetCacheTo", XS_Wx__ListEvent_GetCacheTo, file);
        newXS("Wx::ListEvent::GetIndex", XS_Wx__ListEvent_GetIndex, file);
        newXS("Wx::ListEvent::GetColumn", XS_Wx__ListEvent_GetColumn, file);
        newXS("Wx::ListEvent::GetKeyCode", XS_Wx__ListEvent_GetKeyCode, file);
        newXS("Wx::ListEvent::GetPoint", XS_Wx__ListEvent_GetPoint, file);
        newXS("Wx::ListEvent::GetLabel", XS_Wx__ListEvent_GetLabel, file);
        newXS("Wx::ListEvent::GetText", XS_Wx__ListEvent_GetText, file);
        newXS("Wx::ListEvent::GetImage", XS_Wx__ListEvent_GetImage, file);
        newXS("Wx::ListEvent::GetData", XS_Wx__ListEvent_GetData, file);
        newXS("Wx::ListEvent::GetMask", XS_Wx__ListEvent_GetMask, file);
        newXS("Wx::ListEvent::GetItem", XS_Wx__ListEvent_GetItem, file);
        newXS("Wx::ListItem::new", XS_Wx__ListItem_new, file);
        newXS("Wx::ListItem::CLONE", XS_Wx__ListItem_CLONE, file);
        newXS("Wx::ListItem::DESTROY", XS_Wx__ListItem_DESTROY, file);
        newXS("Wx::ListItem::Clear", XS_Wx__ListItem_Clear, file);
        newXS("Wx::ListItem::ClearAttributes", XS_Wx__ListItem_ClearAttributes, file);
        newXS("Wx::ListItem::SetMask", XS_Wx__ListItem_SetMask, file);
        newXS("Wx::ListItem::SetId", XS_Wx__ListItem_SetId, file);
        newXS("Wx::ListItem::SetColumn", XS_Wx__ListItem_SetColumn, file);
        newXS("Wx::ListItem::SetState", XS_Wx__ListItem_SetState, file);
        newXS("Wx::ListItem::SetStateMask", XS_Wx__ListItem_SetStateMask, file);
        newXS("Wx::ListItem::SetText", XS_Wx__ListItem_SetText, file);
        newXS("Wx::ListItem::SetImage", XS_Wx__ListItem_SetImage, file);
        newXS("Wx::ListItem::SetData", XS_Wx__ListItem_SetData, file);
        newXS("Wx::ListItem::SetWidth", XS_Wx__ListItem_SetWidth, file);
        newXS("Wx::ListItem::SetAlign", XS_Wx__ListItem_SetAlign, file);
        newXS("Wx::ListItem::SetTextColour", XS_Wx__ListItem_SetTextColour, file);
        newXS("Wx::ListItem::SetBackgroundColour", XS_Wx__ListItem_SetBackgroundColour, file);
        newXS("Wx::ListItem::SetFont", XS_Wx__ListItem_SetFont, file);
        newXS("Wx::ListItem::GetMask", XS_Wx__ListItem_GetMask, file);
        newXS("Wx::ListItem::GetId", XS_Wx__ListItem_GetId, file);
        newXS("Wx::ListItem::GetColumn", XS_Wx__ListItem_GetColumn, file);
        newXS("Wx::ListItem::GetState", XS_Wx__ListItem_GetState, file);
        newXS("Wx::ListItem::GetText", XS_Wx__ListItem_GetText, file);
        newXS("Wx::ListItem::GetImage", XS_Wx__ListItem_GetImage, file);
        newXS("Wx::ListItem::GetData", XS_Wx__ListItem_GetData, file);
        newXS("Wx::ListItem::GetWidth", XS_Wx__ListItem_GetWidth, file);
        newXS("Wx::ListItem::GetAlign", XS_Wx__ListItem_GetAlign, file);
        newXS("Wx::ListItem::GetTextColour", XS_Wx__ListItem_GetTextColour, file);
        newXS("Wx::ListItem::GetBackgroundColour", XS_Wx__ListItem_GetBackgroundColour, file);
        newXS("Wx::ListItem::GetFont", XS_Wx__ListItem_GetFont, file);
        newXS("Wx::ListItemAttr::new", XS_Wx__ListItemAttr_new, file);
        newXS("Wx::ListItemAttr::CLONE", XS_Wx__ListItemAttr_CLONE, file);
        newXS("Wx::ListItemAttr::DESTROY", XS_Wx__ListItemAttr_DESTROY, file);
        newXS("Wx::ListItemAttr::SetTextColour", XS_Wx__ListItemAttr_SetTextColour, file);
        newXS("Wx::ListItemAttr::SetBackgroundColour", XS_Wx__ListItemAttr_SetBackgroundColour, file);
        newXS("Wx::ListItemAttr::SetFont", XS_Wx__ListItemAttr_SetFont, file);
        newXS("Wx::ListItemAttr::HasTextColour", XS_Wx__ListItemAttr_HasTextColour, file);
        newXS("Wx::ListItemAttr::HasBackgroundColour", XS_Wx__ListItemAttr_HasBackgroundColour, file);
        newXS("Wx::ListItemAttr::HasFont", XS_Wx__ListItemAttr_HasFont, file);
        newXS("Wx::ListItemAttr::GetTextColour", XS_Wx__ListItemAttr_GetTextColour, file);
        newXS("Wx::ListItemAttr::GetBackgroundColour", XS_Wx__ListItemAttr_GetBackgroundColour, file);
        newXS("Wx::ListItemAttr::GetFont", XS_Wx__ListItemAttr_GetFont, file);
        newXS("Wx::ListCtrl::new", XS_Wx__ListCtrl_new, file);
        newXS("Wx::ListCtrl::newDefault", XS_Wx__ListCtrl_newDefault, file);
        newXS("Wx::ListCtrl::newFull", XS_Wx__ListCtrl_newFull, file);
        newXS("Wx::ListCtrl::Create", XS_Wx__ListCtrl_Create, file);
        newXS("Wx::ListCtrl::Arrange", XS_Wx__ListCtrl_Arrange, file);
        newXS("Wx::ListCtrl::AssignImageList", XS_Wx__ListCtrl_AssignImageList, file);
        newXS("Wx::ListCtrl::ClearAll", XS_Wx__ListCtrl_ClearAll, file);
        newXS("Wx::ListCtrl::DeleteItem", XS_Wx__ListCtrl_DeleteItem, file);
        newXS("Wx::ListCtrl::DeleteAllItems", XS_Wx__ListCtrl_DeleteAllItems, file);
        newXS("Wx::ListCtrl::DeleteColumn", XS_Wx__ListCtrl_DeleteColumn, file);
        newXS("Wx::ListCtrl::EditLabel", XS_Wx__ListCtrl_EditLabel, file);
        newXS("Wx::ListCtrl::EnsureVisible", XS_Wx__ListCtrl_EnsureVisible, file);
        newXS("Wx::ListCtrl::FindItem", XS_Wx__ListCtrl_FindItem, file);
        newXS("Wx::ListCtrl::FindItemData", XS_Wx__ListCtrl_FindItemData, file);
        newXS("Wx::ListCtrl::FindItemAtPos", XS_Wx__ListCtrl_FindItemAtPos, file);
        newXS("Wx::ListCtrl::GetColumn", XS_Wx__ListCtrl_GetColumn, file);
        newXS("Wx::ListCtrl::GetColumnCount", XS_Wx__ListCtrl_GetColumnCount, file);
        newXS("Wx::ListCtrl::GetColumnWidth", XS_Wx__ListCtrl_GetColumnWidth, file);
        newXS("Wx::ListCtrl::GetCountPerPage", XS_Wx__ListCtrl_GetCountPerPage, file);
#if XSubPPtmpAAET
        newXS("Wx::ListCtrl::GetEditControl", XS_Wx__ListCtrl_GetEditControl, file);
#endif
        newXS("Wx::ListCtrl::GetImageList", XS_Wx__ListCtrl_GetImageList, file);
        newXS("Wx::ListCtrl::GetItem", XS_Wx__ListCtrl_GetItem, file);
#if XSubPPtmpAAEU
        newXS("Wx::ListCtrl::GetItemData", XS_Wx__ListCtrl_GetItemData, file);
        newXS("Wx::ListCtrl::SetItemPtrData", XS_Wx__ListCtrl_SetItemPtrData, file);
        newXS("Wx::ListCtrl::SetItemData", XS_Wx__ListCtrl_SetItemData, file);
#endif
#if XSubPPtmpAAEV
        newXS("Wx::ListCtrl::GetItemData", XS_Wx__ListCtrl_GetItemData, file);
        newXS("Wx::ListCtrl::SetItemData", XS_Wx__ListCtrl_SetItemData, file);
#endif
        newXS("Wx::ListCtrl::GetItemPosition", XS_Wx__ListCtrl_GetItemPosition, file);
        newXS("Wx::ListCtrl::GetItemRect", XS_Wx__ListCtrl_GetItemRect, file);
#if XSubPPtmpAAEW
        newXS("Wx::ListCtrl::GetSubItemRect", XS_Wx__ListCtrl_GetSubItemRect, file);
#endif
        newXS("Wx::ListCtrl::GetItemState", XS_Wx__ListCtrl_GetItemState, file);
        newXS("Wx::ListCtrl::GetItemCount", XS_Wx__ListCtrl_GetItemCount, file);
#if XSubPPtmpAAEX
        newXS("Wx::ListCtrl::GetItemSpacing", XS_Wx__ListCtrl_GetItemSpacing, file);
#endif
#if XSubPPtmpAAEY
        newXS("Wx::ListCtrl::GetItemSpacing", XS_Wx__ListCtrl_GetItemSpacing, file);
#endif
        newXS("Wx::ListCtrl::GetItemText", XS_Wx__ListCtrl_GetItemText, file);
        newXS("Wx::ListCtrl::GetItemFont", XS_Wx__ListCtrl_GetItemFont, file);
        newXS("Wx::ListCtrl::GetItemTextColour", XS_Wx__ListCtrl_GetItemTextColour, file);
        newXS("Wx::ListCtrl::GetItemBackgroundColour", XS_Wx__ListCtrl_GetItemBackgroundColour, file);
        newXS("Wx::ListCtrl::SetItemTextColour", XS_Wx__ListCtrl_SetItemTextColour, file);
        newXS("Wx::ListCtrl::SetItemBackgroundColour", XS_Wx__ListCtrl_SetItemBackgroundColour, file);
        newXS("Wx::ListCtrl::GetNextItem", XS_Wx__ListCtrl_GetNextItem, file);
        newXS("Wx::ListCtrl::GetSelectedItemCount", XS_Wx__ListCtrl_GetSelectedItemCount, file);
        newXS("Wx::ListCtrl::GetTextColour", XS_Wx__ListCtrl_GetTextColour, file);
        newXS("Wx::ListCtrl::GetTopItem", XS_Wx__ListCtrl_GetTopItem, file);
#if XSubPPtmpAAEZ
        newXS("Wx::ListCtrl::GetViewRect", XS_Wx__ListCtrl_GetViewRect, file);
#endif
        newXS("Wx::ListCtrl::HitTest", XS_Wx__ListCtrl_HitTest, file);
        newXS("Wx::ListCtrl::InsertColumn", XS_Wx__ListCtrl_InsertColumn, file);
        newXS("Wx::ListCtrl::InsertColumnInfo", XS_Wx__ListCtrl_InsertColumnInfo, file);
        newXS("Wx::ListCtrl::InsertColumnString", XS_Wx__ListCtrl_InsertColumnString, file);
        newXS("Wx::ListCtrl::InsertItem", XS_Wx__ListCtrl_InsertItem, file);
        newXS("Wx::ListCtrl::InsertStringItem", XS_Wx__ListCtrl_InsertStringItem, file);
        newXS("Wx::ListCtrl::InsertImageItem", XS_Wx__ListCtrl_InsertImageItem, file);
        newXS("Wx::ListCtrl::InsertImageStringItem", XS_Wx__ListCtrl_InsertImageStringItem, file);
        newXS("Wx::ListCtrl::IsVirtual", XS_Wx__ListCtrl_IsVirtual, file);
        newXS("Wx::ListCtrl::RefreshItem", XS_Wx__ListCtrl_RefreshItem, file);
        newXS("Wx::ListCtrl::RefreshItems", XS_Wx__ListCtrl_RefreshItems, file);
        newXS("Wx::ListCtrl::ScrollList", XS_Wx__ListCtrl_ScrollList, file);
        newXS("Wx::ListCtrl::SetColumn", XS_Wx__ListCtrl_SetColumn, file);
        newXS("Wx::ListCtrl::SetColumnWidth", XS_Wx__ListCtrl_SetColumnWidth, file);
        newXS("Wx::ListCtrl::SetImageList", XS_Wx__ListCtrl_SetImageList, file);
        newXS("Wx::ListCtrl::SetItemCount", XS_Wx__ListCtrl_SetItemCount, file);
        newXS("Wx::ListCtrl::SetItem", XS_Wx__ListCtrl_SetItem, file);
        newXS("Wx::ListCtrl::SetItemInfo", XS_Wx__ListCtrl_SetItemInfo, file);
        newXS("Wx::ListCtrl::SetItemString", XS_Wx__ListCtrl_SetItemString, file);
        newXS("Wx::ListCtrl::SetItemImage", XS_Wx__ListCtrl_SetItemImage, file);
#if XSubPPtmpAAFA
        newXS("Wx::ListCtrl::SetItemColumnImage", XS_Wx__ListCtrl_SetItemColumnImage, file);
#endif
        newXS("Wx::ListCtrl::SetItemPosition", XS_Wx__ListCtrl_SetItemPosition, file);
        newXS("Wx::ListCtrl::SetItemState", XS_Wx__ListCtrl_SetItemState, file);
        newXS("Wx::ListCtrl::SetItemText", XS_Wx__ListCtrl_SetItemText, file);
        newXS("Wx::ListCtrl::SetItemFont", XS_Wx__ListCtrl_SetItemFont, file);
        newXS("Wx::ListCtrl::SetSingleStyle", XS_Wx__ListCtrl_SetSingleStyle, file);
        newXS("Wx::ListCtrl::SetTextColour", XS_Wx__ListCtrl_SetTextColour, file);
        newXS("Wx::ListCtrl::SetWindowStyleFlag", XS_Wx__ListCtrl_SetWindowStyleFlag, file);
        newXS("Wx::ListCtrl::SortItems", XS_Wx__ListCtrl_SortItems, file);
        newXS("Wx::ListView::new", XS_Wx__ListView_new, file);
        newXS("Wx::ListView::newDefault", XS_Wx__ListView_newDefault, file);
        newXS("Wx::ListView::newFull", XS_Wx__ListView_newFull, file);
        newXS("Wx::ListView::Create", XS_Wx__ListView_Create, file);
        newXS("Wx::ListView::Select", XS_Wx__ListView_Select, file);
        newXS("Wx::ListView::SetColumnImage", XS_Wx__ListView_SetColumnImage, file);
        newXS("Wx::ListView::ClearColumnImage", XS_Wx__ListView_ClearColumnImage, file);
        newXS("Wx::ListView::Focus", XS_Wx__ListView_Focus, file);
        newXS("Wx::ListView::GetFocusedItem", XS_Wx__ListView_GetFocusedItem, file);
        newXS("Wx::ListView::GetFirstSelected", XS_Wx__ListView_GetFirstSelected, file);
        newXS("Wx::ListView::GetNextSelected", XS_Wx__ListView_GetNextSelected, file);
        newXS("Wx::ListView::IsSelected", XS_Wx__ListView_IsSelected, file);
        newXS("Wx::ListBox::new", XS_Wx__ListBox_new, file);
        newXS("Wx::ListBox::newDefault", XS_Wx__ListBox_newDefault, file);
        newXS("Wx::ListBox::newFull", XS_Wx__ListBox_newFull, file);
        newXS("Wx::ListBox::Create", XS_Wx__ListBox_Create, file);
        newXS("Wx::ListBox::Deselect", XS_Wx__ListBox_Deselect, file);
        newXS("Wx::ListBox::GetSelections", XS_Wx__ListBox_GetSelections, file);
        newXS("Wx::ListBox::HitTest", XS_Wx__ListBox_HitTest, file);
#if XSubPPtmpAAFB
        newXS("Wx::ListBox::InsertItems", XS_Wx__ListBox_InsertItems, file);
#endif
        newXS("Wx::ListBox::IsSelected", XS_Wx__ListBox_IsSelected, file);
        newXS("Wx::ListBox::SetSelection", XS_Wx__ListBox_SetSelection, file);
        newXS("Wx::ListBox::SetStringSelection", XS_Wx__ListBox_SetStringSelection, file);
        newXS("Wx::ListBox::SetFirstItem", XS_Wx__ListBox_SetFirstItem, file);
        newXS("Wx::ListBox::SetFirstItemString", XS_Wx__ListBox_SetFirstItemString, file);
#if XSubPPtmpAAFC
        newXS("Wx::ListBox::Set", XS_Wx__ListBox_Set, file);
#endif
        newXS("Wx::Gauge::new", XS_Wx__Gauge_new, file);
        newXS("Wx::Gauge::newDefault", XS_Wx__Gauge_newDefault, file);
        newXS("Wx::Gauge::newFull", XS_Wx__Gauge_newFull, file);
        newXS("Wx::Gauge::Create", XS_Wx__Gauge_Create, file);
#if XSubPPtmpAAFD
        newXS("Wx::Gauge::GetBezelFace", XS_Wx__Gauge_GetBezelFace, file);
#endif
        newXS("Wx::Gauge::GetRange", XS_Wx__Gauge_GetRange, file);
#if XSubPPtmpAAFE
        newXS("Wx::Gauge::GetShadowWidth", XS_Wx__Gauge_GetShadowWidth, file);
#endif
        newXS("Wx::Gauge::GetValue", XS_Wx__Gauge_GetValue, file);
#if XSubPPtmpAAFF
        newXS("Wx::Gauge::SetBezelFace", XS_Wx__Gauge_SetBezelFace, file);
#endif
        newXS("Wx::Gauge::SetRange", XS_Wx__Gauge_SetRange, file);
#if XSubPPtmpAAFG
        newXS("Wx::Gauge::SetShadowWidth", XS_Wx__Gauge_SetShadowWidth, file);
#endif
        newXS("Wx::Gauge::SetValue", XS_Wx__Gauge_SetValue, file);
#if XSubPPtmpAAFH
        newXS("Wx::Gauge::IsVertical", XS_Wx__Gauge_IsVertical, file);
#endif
#if XSubPPtmpAAFI
        newXS("Wx::Gauge::Pulse", XS_Wx__Gauge_Pulse, file);
#endif
        newXS("Wx::ComboBox::new", XS_Wx__ComboBox_new, file);
        newXS("Wx::ComboBox::newDefault", XS_Wx__ComboBox_newDefault, file);
        newXS("Wx::ComboBox::newFull", XS_Wx__ComboBox_newFull, file);
        newXS("Wx::ComboBox::Create", XS_Wx__ComboBox_Create, file);
#if XSubPPtmpAAFJ
        newXS("Wx::ComboBox::GetCount", XS_Wx__ComboBox_GetCount, file);
#if XSubPPtmpAAFK
        newXS("Wx::ComboBox::IsEmpty", XS_Wx__ComboBox_IsEmpty, file);
#endif
        newXS("Wx::ComboBox::GetString", XS_Wx__ComboBox_GetString, file);
        newXS("Wx::ComboBox::GetStrings", XS_Wx__ComboBox_GetStrings, file);
        newXS("Wx::ComboBox::SetString", XS_Wx__ComboBox_SetString, file);
        newXS("Wx::ComboBox::FindString", XS_Wx__ComboBox_FindString, file);
        newXS("Wx::ComboBox::FindStringNoCase", XS_Wx__ComboBox_FindStringNoCase, file);
#if XSubPPtmpAAFL
        newXS("Wx::ComboBox::FindStringCase", XS_Wx__ComboBox_FindStringCase, file);
#endif
#if XSubPPtmpAAFM
        newXS("Wx::ComboBox::SetSelection", XS_Wx__ComboBox_SetSelection, file);
        newXS("Wx::ComboBox::GetSelection", XS_Wx__ComboBox_GetSelection, file);
#endif
        newXS("Wx::ComboBox::SetStringSelection", XS_Wx__ComboBox_SetStringSelection, file);
        newXS("Wx::ComboBox::GetStringSelection", XS_Wx__ComboBox_GetStringSelection, file);
        newXS("Wx::ComboBox::Select", XS_Wx__ComboBox_Select, file);
        newXS("Wx::ComboBox::Append", XS_Wx__ComboBox_Append, file);
        newXS("Wx::ComboBox::AppendString", XS_Wx__ComboBox_AppendString, file);
        newXS("Wx::ComboBox::AppendData", XS_Wx__ComboBox_AppendData, file);
        newXS("Wx::ComboBox::AppendItems", XS_Wx__ComboBox_AppendItems, file);
#if XSubPPtmpAAFN
        newXS("Wx::ComboBox::AppendItemsData", XS_Wx__ComboBox_AppendItemsData, file);
#endif
        newXS("Wx::ComboBox::Insert", XS_Wx__ComboBox_Insert, file);
        newXS("Wx::ComboBox::InsertString", XS_Wx__ComboBox_InsertString, file);
        newXS("Wx::ComboBox::InsertData", XS_Wx__ComboBox_InsertData, file);
#if XSubPPtmpAAFO
        newXS("Wx::ComboBox::InsertItems", XS_Wx__ComboBox_InsertItems, file);
        newXS("Wx::ComboBox::InsertItemsData", XS_Wx__ComboBox_InsertItemsData, file);
#endif
#if XSubPPtmpAAFP
        newXS("Wx::ComboBox::Set", XS_Wx__ComboBox_Set, file);
        newXS("Wx::ComboBox::SetItems", XS_Wx__ComboBox_SetItems, file);
        newXS("Wx::ComboBox::SetItemsData", XS_Wx__ComboBox_SetItemsData, file);
#endif
        newXS("Wx::ComboBox::Clear", XS_Wx__ComboBox_Clear, file);
        newXS("Wx::ComboBox::Delete", XS_Wx__ComboBox_Delete, file);
        newXS("Wx::ComboBox::GetClientData", XS_Wx__ComboBox_GetClientData, file);
        newXS("Wx::ComboBox::SetClientData", XS_Wx__ComboBox_SetClientData, file);
        newXS("Wx::ComboBox::GetCurrentSelection", XS_Wx__ComboBox_GetCurrentSelection, file);
#endif
        newXS("Wx::ComboBox::SetEditable", XS_Wx__ComboBox_SetEditable, file);
#if XSubPPtmpAAFQ
        newXS("Wx::ComboBox::IsListEmpty", XS_Wx__ComboBox_IsListEmpty, file);
        newXS("Wx::ComboBox::IsTextEmpty", XS_Wx__ComboBox_IsTextEmpty, file);
#endif
        newXS("Wx::ComboBox::Copy", XS_Wx__ComboBox_Copy, file);
        newXS("Wx::ComboBox::Cut", XS_Wx__ComboBox_Cut, file);
        newXS("Wx::ComboBox::CanCopy", XS_Wx__ComboBox_CanCopy, file);
        newXS("Wx::ComboBox::CanCut", XS_Wx__ComboBox_CanCut, file);
        newXS("Wx::ComboBox::CanPaste", XS_Wx__ComboBox_CanPaste, file);
        newXS("Wx::ComboBox::Undo", XS_Wx__ComboBox_Undo, file);
        newXS("Wx::ComboBox::Redo", XS_Wx__ComboBox_Redo, file);
        newXS("Wx::ComboBox::CanUndo", XS_Wx__ComboBox_CanUndo, file);
        newXS("Wx::ComboBox::CanRedo", XS_Wx__ComboBox_CanRedo, file);
        newXS("Wx::ComboBox::GetInsertionPoint", XS_Wx__ComboBox_GetInsertionPoint, file);
        newXS("Wx::ComboBox::GetLastPosition", XS_Wx__ComboBox_GetLastPosition, file);
        newXS("Wx::ComboBox::GetValue", XS_Wx__ComboBox_GetValue, file);
        newXS("Wx::ComboBox::Paste", XS_Wx__ComboBox_Paste, file);
#if XSubPPtmpAAFR
        newXS("Wx::ComboBox::Popup", XS_Wx__ComboBox_Popup, file);
        newXS("Wx::ComboBox::Dismiss", XS_Wx__ComboBox_Dismiss, file);
#endif
        newXS("Wx::ComboBox::Replace", XS_Wx__ComboBox_Replace, file);
        newXS("Wx::ComboBox::Remove", XS_Wx__ComboBox_Remove, file);
        newXS("Wx::ComboBox::SetInsertionPoint", XS_Wx__ComboBox_SetInsertionPoint, file);
        newXS("Wx::ComboBox::SetInsertionPointEnd", XS_Wx__ComboBox_SetInsertionPointEnd, file);
        newXS("Wx::ComboBox::GetSelection", XS_Wx__ComboBox_GetSelection, file);
        newXS("Wx::ComboBox::SetSelection", XS_Wx__ComboBox_SetSelection, file);
        newXS("Wx::ComboBox::SetSelectionN", XS_Wx__ComboBox_SetSelectionN, file);
        newXS("Wx::ComboBox::SetMark", XS_Wx__ComboBox_SetMark, file);
        newXS("Wx::ComboBox::SetValue", XS_Wx__ComboBox_SetValue, file);
#if XSubPPtmpAAFS
        newXS("Wx::ComboBox::RemoveSelection", XS_Wx__ComboBox_RemoveSelection, file);
        newXS("Wx::ComboBox::ChangeValue", XS_Wx__ComboBox_ChangeValue, file);
#endif
#if XSubPPtmpAAFT
        newXS("Wx::ComboBox::AutoComplete", XS_Wx__ComboBox_AutoComplete, file);
        newXS("Wx::ComboBox::AutoCompleteFileNames", XS_Wx__ComboBox_AutoCompleteFileNames, file);
        newXS("Wx::ComboBox::AutoCompleteDirectories", XS_Wx__ComboBox_AutoCompleteDirectories, file);
#endif
        newXS("Wx::Choice::new", XS_Wx__Choice_new, file);
        newXS("Wx::Choice::newDefault", XS_Wx__Choice_newDefault, file);
        newXS("Wx::Choice::newFull", XS_Wx__Choice_newFull, file);
        newXS("Wx::Choice::Create", XS_Wx__Choice_Create, file);
        newXS("Wx::Choice::Clear", XS_Wx__Choice_Clear, file);
        newXS("Wx::Choice::Delete", XS_Wx__Choice_Delete, file);
#if XSubPPtmpAAFU
        newXS("Wx::Choice::GetColumns", XS_Wx__Choice_GetColumns, file);
        newXS("Wx::Choice::SetColumns", XS_Wx__Choice_SetColumns, file);
#endif
#if XSubPPtmpAAFV
        newXS("Wx::Choice::GetCurrentSelection", XS_Wx__Choice_GetCurrentSelection, file);
#endif
        newXS("Wx::Choice::SetSelection", XS_Wx__Choice_SetSelection, file);
        newXS("Wx::Choice::SetStringSelection", XS_Wx__Choice_SetStringSelection, file);
        newXS("Wx::CheckListBox::new", XS_Wx__CheckListBox_new, file);
        newXS("Wx::CheckListBox::newDefault", XS_Wx__CheckListBox_newDefault, file);
        newXS("Wx::CheckListBox::newFull", XS_Wx__CheckListBox_newFull, file);
        newXS("Wx::CheckListBox::Create", XS_Wx__CheckListBox_Create, file);
        newXS("Wx::CheckListBox::Check", XS_Wx__CheckListBox_Check, file);
        newXS("Wx::CheckListBox::IsChecked", XS_Wx__CheckListBox_IsChecked, file);
        newXS("Wx::CheckBox::new", XS_Wx__CheckBox_new, file);
        newXS("Wx::CheckBox::newDefault", XS_Wx__CheckBox_newDefault, file);
        newXS("Wx::CheckBox::newFull", XS_Wx__CheckBox_newFull, file);
        newXS("Wx::CheckBox::Create", XS_Wx__CheckBox_Create, file);
        newXS("Wx::CheckBox::GetValue", XS_Wx__CheckBox_GetValue, file);
#if XSubPPtmpAAFW
        newXS("Wx::CheckBox::Get3StateValue", XS_Wx__CheckBox_Get3StateValue, file);
        newXS("Wx::CheckBox::Set3StateValue", XS_Wx__CheckBox_Set3StateValue, file);
        newXS("Wx::CheckBox::Is3State", XS_Wx__CheckBox_Is3State, file);
        newXS("Wx::CheckBox::Is3rdStateAllowedForUser", XS_Wx__CheckBox_Is3rdStateAllowedForUser, file);
#endif
        newXS("Wx::CheckBox::SetValue", XS_Wx__CheckBox_SetValue, file);
        newXS("Wx::CheckBox::IsChecked", XS_Wx__CheckBox_IsChecked, file);
        newXS("Wx::TextAttr::new", XS_Wx__TextAttr_new, file);
        newXS("Wx::TextAttr::DESTROY", XS_Wx__TextAttr_DESTROY, file);
        newXS("Wx::TextAttr::CLONE", XS_Wx__TextAttr_CLONE, file);
#if XSubPPtmpAAFX
        newXS("Wx::TextAttr::Apply", XS_Wx__TextAttr_Apply, file);
#endif
#if XSubPPtmpAAFY
        newXS("Wx::TextAttr::Merge", XS_Wx__TextAttr_Merge, file);
#endif
        newXS("Wx::TextAttr::SetTextColour", XS_Wx__TextAttr_SetTextColour, file);
        newXS("Wx::TextAttr::SetBackgroundColour", XS_Wx__TextAttr_SetBackgroundColour, file);
        newXS("Wx::TextAttr::SetFont", XS_Wx__TextAttr_SetFont, file);
        newXS("Wx::TextAttr::SetAlignment", XS_Wx__TextAttr_SetAlignment, file);
        newXS("Wx::TextAttr::SetTabs", XS_Wx__TextAttr_SetTabs, file);
        newXS("Wx::TextAttr::SetLeftIndent", XS_Wx__TextAttr_SetLeftIndent, file);
        newXS("Wx::TextAttr::SetRightIndent", XS_Wx__TextAttr_SetRightIndent, file);
        newXS("Wx::TextAttr::SetFlags", XS_Wx__TextAttr_SetFlags, file);
        newXS("Wx::TextAttr::HasTextColour", XS_Wx__TextAttr_HasTextColour, file);
        newXS("Wx::TextAttr::HasBackgroundColour", XS_Wx__TextAttr_HasBackgroundColour, file);
        newXS("Wx::TextAttr::HasFont", XS_Wx__TextAttr_HasFont, file);
        newXS("Wx::TextAttr::HasAlignment", XS_Wx__TextAttr_HasAlignment, file);
        newXS("Wx::TextAttr::HasTabs", XS_Wx__TextAttr_HasTabs, file);
        newXS("Wx::TextAttr::HasLeftIndent", XS_Wx__TextAttr_HasLeftIndent, file);
        newXS("Wx::TextAttr::HasRightIndent", XS_Wx__TextAttr_HasRightIndent, file);
        newXS("Wx::TextAttr::HasFlag", XS_Wx__TextAttr_HasFlag, file);
        newXS("Wx::TextAttr::GetTextColour", XS_Wx__TextAttr_GetTextColour, file);
        newXS("Wx::TextAttr::GetBackgroundColour", XS_Wx__TextAttr_GetBackgroundColour, file);
        newXS("Wx::TextAttr::GetFont", XS_Wx__TextAttr_GetFont, file);
        newXS("Wx::TextAttr::GetAlignment", XS_Wx__TextAttr_GetAlignment, file);
        newXS("Wx::TextAttr::GetLeftIndent", XS_Wx__TextAttr_GetLeftIndent, file);
        newXS("Wx::TextAttr::GetLeftSubIndent", XS_Wx__TextAttr_GetLeftSubIndent, file);
        newXS("Wx::TextAttr::GetRightIndent", XS_Wx__TextAttr_GetRightIndent, file);
        newXS("Wx::TextAttr::GetFlags", XS_Wx__TextAttr_GetFlags, file);
        newXS("Wx::TextAttr::IsDefault", XS_Wx__TextAttr_IsDefault, file);
        newXS("Wx::TextAttr::GetTabs", XS_Wx__TextAttr_GetTabs, file);
#if XSubPPtmpAAFZ
        newXS("Wx::TextAttr::GetFontEncoding", XS_Wx__TextAttr_GetFontEncoding, file);
        newXS("Wx::TextAttr::HasFontEncoding", XS_Wx__TextAttr_HasFontEncoding, file);
        newXS("Wx::TextAttr::SetFontEncoding", XS_Wx__TextAttr_SetFontEncoding, file);
        newXS("Wx::TextAttr::GetOutlineLevel", XS_Wx__TextAttr_GetOutlineLevel, file);
        newXS("Wx::TextAttr::HasOutlineLevel", XS_Wx__TextAttr_HasOutlineLevel, file);
        newXS("Wx::TextAttr::SetOutlineLevel", XS_Wx__TextAttr_SetOutlineLevel, file);
        newXS("Wx::TextAttr::GetTextEffects", XS_Wx__TextAttr_GetTextEffects, file);
        newXS("Wx::TextAttr::HasTextEffects", XS_Wx__TextAttr_HasTextEffects, file);
        newXS("Wx::TextAttr::SetTextEffects", XS_Wx__TextAttr_SetTextEffects, file);
        newXS("Wx::TextAttr::GetTextEffectFlags", XS_Wx__TextAttr_GetTextEffectFlags, file);
        newXS("Wx::TextAttr::HasTextEffect", XS_Wx__TextAttr_HasTextEffect, file);
        newXS("Wx::TextAttr::SetTextEffectFlags", XS_Wx__TextAttr_SetTextEffectFlags, file);
#endif
#if XSubPPtmpAAGA
        newXS("Wx::TextAttr::SetCharacterStyleName", XS_Wx__TextAttr_SetCharacterStyleName, file);
        newXS("Wx::TextAttr::SetParagraphStyleName", XS_Wx__TextAttr_SetParagraphStyleName, file);
        newXS("Wx::TextAttr::SetListStyleName", XS_Wx__TextAttr_SetListStyleName, file);
        newXS("Wx::TextAttr::SetParagraphSpacingAfter", XS_Wx__TextAttr_SetParagraphSpacingAfter, file);
        newXS("Wx::TextAttr::SetParagraphSpacingBefore", XS_Wx__TextAttr_SetParagraphSpacingBefore, file);
        newXS("Wx::TextAttr::SetLineSpacing", XS_Wx__TextAttr_SetLineSpacing, file);
        newXS("Wx::TextAttr::SetBulletStyle", XS_Wx__TextAttr_SetBulletStyle, file);
        newXS("Wx::TextAttr::SetBulletNumber", XS_Wx__TextAttr_SetBulletNumber, file);
        newXS("Wx::TextAttr::SetBulletText", XS_Wx__TextAttr_SetBulletText, file);
        newXS("Wx::TextAttr::SetBulletName", XS_Wx__TextAttr_SetBulletName, file);
        newXS("Wx::TextAttr::SetBulletFont", XS_Wx__TextAttr_SetBulletFont, file);
        newXS("Wx::TextAttr::SetURL", XS_Wx__TextAttr_SetURL, file);
        newXS("Wx::TextAttr::SetPageBreak", XS_Wx__TextAttr_SetPageBreak, file);
        newXS("Wx::TextAttr::GetCharacterStyleName", XS_Wx__TextAttr_GetCharacterStyleName, file);
        newXS("Wx::TextAttr::GetParagraphStyleName", XS_Wx__TextAttr_GetParagraphStyleName, file);
        newXS("Wx::TextAttr::GetListStyleName", XS_Wx__TextAttr_GetListStyleName, file);
        newXS("Wx::TextAttr::GetParagraphSpacingAfter", XS_Wx__TextAttr_GetParagraphSpacingAfter, file);
        newXS("Wx::TextAttr::GetParagraphSpacingBefore", XS_Wx__TextAttr_GetParagraphSpacingBefore, file);
        newXS("Wx::TextAttr::GetLineSpacing", XS_Wx__TextAttr_GetLineSpacing, file);
        newXS("Wx::TextAttr::GetBulletStyle", XS_Wx__TextAttr_GetBulletStyle, file);
        newXS("Wx::TextAttr::GetBulletNumber", XS_Wx__TextAttr_GetBulletNumber, file);
        newXS("Wx::TextAttr::GetBulletText", XS_Wx__TextAttr_GetBulletText, file);
        newXS("Wx::TextAttr::GetBulletName", XS_Wx__TextAttr_GetBulletName, file);
        newXS("Wx::TextAttr::GetBulletFont", XS_Wx__TextAttr_GetBulletFont, file);
        newXS("Wx::TextAttr::GetURL", XS_Wx__TextAttr_GetURL, file);
        newXS("Wx::TextAttr::HasParagraphSpacingAfter", XS_Wx__TextAttr_HasParagraphSpacingAfter, file);
        newXS("Wx::TextAttr::HasParagraphSpacingBefore", XS_Wx__TextAttr_HasParagraphSpacingBefore, file);
        newXS("Wx::TextAttr::HasLineSpacing", XS_Wx__TextAttr_HasLineSpacing, file);
        newXS("Wx::TextAttr::HasCharacterStyleName", XS_Wx__TextAttr_HasCharacterStyleName, file);
        newXS("Wx::TextAttr::HasParagraphStyleName", XS_Wx__TextAttr_HasParagraphStyleName, file);
        newXS("Wx::TextAttr::HasListStyleName", XS_Wx__TextAttr_HasListStyleName, file);
        newXS("Wx::TextAttr::HasBulletStyle", XS_Wx__TextAttr_HasBulletStyle, file);
        newXS("Wx::TextAttr::HasBulletNumber", XS_Wx__TextAttr_HasBulletNumber, file);
        newXS("Wx::TextAttr::HasBulletText", XS_Wx__TextAttr_HasBulletText, file);
        newXS("Wx::TextAttr::HasBulletName", XS_Wx__TextAttr_HasBulletName, file);
        newXS("Wx::TextAttr::HasURL", XS_Wx__TextAttr_HasURL, file);
        newXS("Wx::TextAttr::HasPageBreak", XS_Wx__TextAttr_HasPageBreak, file);
        newXS("Wx::TextAttr::IsCharacterStyle", XS_Wx__TextAttr_IsCharacterStyle, file);
        newXS("Wx::TextAttr::IsParagraphStyle", XS_Wx__TextAttr_IsParagraphStyle, file);
#if XSubPPtmpAAGB
        newXS("Wx::TextAttr::CreateFont", XS_Wx__TextAttr_CreateFont, file);
#endif
        newXS("Wx::TextAttr::GetFontAttributes", XS_Wx__TextAttr_GetFontAttributes, file);
        newXS("Wx::TextAttr::SetFontSize", XS_Wx__TextAttr_SetFontSize, file);
        newXS("Wx::TextAttr::SetFontStyle", XS_Wx__TextAttr_SetFontStyle, file);
        newXS("Wx::TextAttr::SetFontWeight", XS_Wx__TextAttr_SetFontWeight, file);
        newXS("Wx::TextAttr::SetFontFaceName", XS_Wx__TextAttr_SetFontFaceName, file);
        newXS("Wx::TextAttr::SetFontUnderlined", XS_Wx__TextAttr_SetFontUnderlined, file);
        newXS("Wx::TextAttr::GetFontSize", XS_Wx__TextAttr_GetFontSize, file);
        newXS("Wx::TextAttr::GetFontStyle", XS_Wx__TextAttr_GetFontStyle, file);
        newXS("Wx::TextAttr::GetFontWeight", XS_Wx__TextAttr_GetFontWeight, file);
        newXS("Wx::TextAttr::GetFontUnderlined", XS_Wx__TextAttr_GetFontUnderlined, file);
        newXS("Wx::TextAttr::GetFontFaceName", XS_Wx__TextAttr_GetFontFaceName, file);
        newXS("Wx::TextAttr::HasFontWeight", XS_Wx__TextAttr_HasFontWeight, file);
        newXS("Wx::TextAttr::HasFontSize", XS_Wx__TextAttr_HasFontSize, file);
        newXS("Wx::TextAttr::HasFontItalic", XS_Wx__TextAttr_HasFontItalic, file);
        newXS("Wx::TextAttr::HasFontUnderlined", XS_Wx__TextAttr_HasFontUnderlined, file);
        newXS("Wx::TextAttr::HasFontFaceName", XS_Wx__TextAttr_HasFontFaceName, file);
#endif
        newXS("Wx::TextUrlEvent::GetMouseEvent", XS_Wx__TextUrlEvent_GetMouseEvent, file);
        newXS("Wx::TextUrlEvent::GetURLStart", XS_Wx__TextUrlEvent_GetURLStart, file);
        newXS("Wx::TextUrlEvent::GetURLEnd", XS_Wx__TextUrlEvent_GetURLEnd, file);
        newXS("Wx::TextCtrlBase::GetValue", XS_Wx__TextCtrlBase_GetValue, file);
#if XSubPPtmpAAGC
        newXS("Wx::TextCtrlBase::IsEmpty", XS_Wx__TextCtrlBase_IsEmpty, file);
#endif
        newXS("Wx::TextCtrlBase::SetValue", XS_Wx__TextCtrlBase_SetValue, file);
#if XSubPPtmpAAGD
        newXS("Wx::TextCtrlBase::ChangeValue", XS_Wx__TextCtrlBase_ChangeValue, file);
#endif
        newXS("Wx::TextCtrlBase::GetRange", XS_Wx__TextCtrlBase_GetRange, file);
        newXS("Wx::TextCtrlBase::GetLineLength", XS_Wx__TextCtrlBase_GetLineLength, file);
        newXS("Wx::TextCtrlBase::GetLineText", XS_Wx__TextCtrlBase_GetLineText, file);
        newXS("Wx::TextCtrlBase::GetNumberOfLines", XS_Wx__TextCtrlBase_GetNumberOfLines, file);
        newXS("Wx::TextCtrlBase::IsModified", XS_Wx__TextCtrlBase_IsModified, file);
        newXS("Wx::TextCtrlBase::IsEditable", XS_Wx__TextCtrlBase_IsEditable, file);
        newXS("Wx::TextCtrlBase::IsSingleLine", XS_Wx__TextCtrlBase_IsSingleLine, file);
        newXS("Wx::TextCtrlBase::IsMultiLine", XS_Wx__TextCtrlBase_IsMultiLine, file);
        newXS("Wx::TextCtrlBase::GetStringSelection", XS_Wx__TextCtrlBase_GetStringSelection, file);
        newXS("Wx::TextCtrlBase::Clear", XS_Wx__TextCtrlBase_Clear, file);
        newXS("Wx::TextCtrlBase::Replace", XS_Wx__TextCtrlBase_Replace, file);
        newXS("Wx::TextCtrlBase::Remove", XS_Wx__TextCtrlBase_Remove, file);
#if XSubPPtmpAAGE
        newXS("Wx::TextCtrlBase::LoadFile", XS_Wx__TextCtrlBase_LoadFile, file);
        newXS("Wx::TextCtrlBase::SaveFile", XS_Wx__TextCtrlBase_SaveFile, file);
#endif
#if XSubPPtmpAAGF
        newXS("Wx::TextCtrlBase::LoadFile", XS_Wx__TextCtrlBase_LoadFile, file);
        newXS("Wx::TextCtrlBase::SaveFile", XS_Wx__TextCtrlBase_SaveFile, file);
#endif
        newXS("Wx::TextCtrlBase::MarkDirty", XS_Wx__TextCtrlBase_MarkDirty, file);
        newXS("Wx::TextCtrlBase::DiscardEdits", XS_Wx__TextCtrlBase_DiscardEdits, file);
#if XSubPPtmpAAGG
        newXS("Wx::TextCtrlBase::SetModified", XS_Wx__TextCtrlBase_SetModified, file);
#endif
        newXS("Wx::TextCtrlBase::SetMaxLength", XS_Wx__TextCtrlBase_SetMaxLength, file);
        newXS("Wx::TextCtrlBase::WriteText", XS_Wx__TextCtrlBase_WriteText, file);
        newXS("Wx::TextCtrlBase::AppendText", XS_Wx__TextCtrlBase_AppendText, file);
        newXS("Wx::TextCtrlBase::EmulateKeyPress", XS_Wx__TextCtrlBase_EmulateKeyPress, file);
        newXS("Wx::TextCtrlBase::SetStyle", XS_Wx__TextCtrlBase_SetStyle, file);
        newXS("Wx::TextCtrlBase::SetDefaultStyle", XS_Wx__TextCtrlBase_SetDefaultStyle, file);
        newXS("Wx::TextCtrlBase::GetDefaultStyle", XS_Wx__TextCtrlBase_GetDefaultStyle, file);
        newXS("Wx::TextCtrlBase::XYToPosition", XS_Wx__TextCtrlBase_XYToPosition, file);
        newXS("Wx::TextCtrlBase::ShowPosition", XS_Wx__TextCtrlBase_ShowPosition, file);
        newXS("Wx::TextCtrlBase::Copy", XS_Wx__TextCtrlBase_Copy, file);
        newXS("Wx::TextCtrlBase::Cut", XS_Wx__TextCtrlBase_Cut, file);
        newXS("Wx::TextCtrlBase::Paste", XS_Wx__TextCtrlBase_Paste, file);
        newXS("Wx::TextCtrlBase::CanCopy", XS_Wx__TextCtrlBase_CanCopy, file);
        newXS("Wx::TextCtrlBase::CanCut", XS_Wx__TextCtrlBase_CanCut, file);
        newXS("Wx::TextCtrlBase::CanPaste", XS_Wx__TextCtrlBase_CanPaste, file);
        newXS("Wx::TextCtrlBase::Undo", XS_Wx__TextCtrlBase_Undo, file);
        newXS("Wx::TextCtrlBase::Redo", XS_Wx__TextCtrlBase_Redo, file);
        newXS("Wx::TextCtrlBase::CanUndo", XS_Wx__TextCtrlBase_CanUndo, file);
        newXS("Wx::TextCtrlBase::CanRedo", XS_Wx__TextCtrlBase_CanRedo, file);
        newXS("Wx::TextCtrlBase::SetInsertionPoint", XS_Wx__TextCtrlBase_SetInsertionPoint, file);
        newXS("Wx::TextCtrlBase::SetInsertionPointEnd", XS_Wx__TextCtrlBase_SetInsertionPointEnd, file);
        newXS("Wx::TextCtrlBase::GetInsertionPoint", XS_Wx__TextCtrlBase_GetInsertionPoint, file);
        newXS("Wx::TextCtrlBase::GetLastPosition", XS_Wx__TextCtrlBase_GetLastPosition, file);
        newXS("Wx::TextCtrlBase::SetSelection", XS_Wx__TextCtrlBase_SetSelection, file);
        newXS("Wx::TextCtrlBase::SelectAll", XS_Wx__TextCtrlBase_SelectAll, file);
        newXS("Wx::TextCtrlBase::SetEditable", XS_Wx__TextCtrlBase_SetEditable, file);
#if XSubPPtmpAAGH
        newXS("Wx::TextCtrlBase::AutoComplete", XS_Wx__TextCtrlBase_AutoComplete, file);
        newXS("Wx::TextCtrlBase::AutoCompleteFileNames", XS_Wx__TextCtrlBase_AutoCompleteFileNames, file);
#endif
        newXS("Wx::TextCtrlBase::GetSelection", XS_Wx__TextCtrlBase_GetSelection, file);
        newXS("Wx::TextCtrlBase::PositionToXY", XS_Wx__TextCtrlBase_PositionToXY, file);
        newXS("Wx::TextCtrlBase::HitTest", XS_Wx__TextCtrlBase_HitTest, file);
#if XSubPPtmpAAGI
        newXS("Wx::TextCtrl::MacCheckSpelling", XS_Wx__TextCtrl_MacCheckSpelling, file);
#endif
        newXS("Wx::TextCtrl::new", XS_Wx__TextCtrl_new, file);
        newXS("Wx::TextCtrl::newDefault", XS_Wx__TextCtrl_newDefault, file);
        newXS("Wx::TextCtrl::newFull", XS_Wx__TextCtrl_newFull, file);
        newXS("Wx::TextCtrl::Create", XS_Wx__TextCtrl_Create, file);
        newXS("Wx::TextCtrl::GetStyle", XS_Wx__TextCtrl_GetStyle, file);
        newXS("Wx::TextCtrl::GetTextAttrStyle", XS_Wx__TextCtrl_GetTextAttrStyle, file);
#if XSubPPtmpAAGJ
        newXS("Wx::PickerBase::SetInternalMargin", XS_Wx__PickerBase_SetInternalMargin, file);
        newXS("Wx::PickerBase::GetInternalMargin", XS_Wx__PickerBase_GetInternalMargin, file);
        newXS("Wx::PickerBase::SetTextCtrlProportion", XS_Wx__PickerBase_SetTextCtrlProportion, file);
        newXS("Wx::PickerBase::GetTextCtrlProportion", XS_Wx__PickerBase_GetTextCtrlProportion, file);
        newXS("Wx::PickerBase::SetPickerCtrlProportion", XS_Wx__PickerBase_SetPickerCtrlProportion, file);
        newXS("Wx::PickerBase::GetPickerCtrlProportion", XS_Wx__PickerBase_GetPickerCtrlProportion, file);
        newXS("Wx::PickerBase::IsTextCtrlGrowable", XS_Wx__PickerBase_IsTextCtrlGrowable, file);
        newXS("Wx::PickerBase::SetTextCtrlGrowable", XS_Wx__PickerBase_SetTextCtrlGrowable, file);
        newXS("Wx::PickerBase::IsPickerCtrlGrowable", XS_Wx__PickerBase_IsPickerCtrlGrowable, file);
        newXS("Wx::PickerBase::SetPickerCtrlGrowable", XS_Wx__PickerBase_SetPickerCtrlGrowable, file);
        newXS("Wx::PickerBase::HasTextCtrl", XS_Wx__PickerBase_HasTextCtrl, file);
        newXS("Wx::PickerBase::GetTextCtrl", XS_Wx__PickerBase_GetTextCtrl, file);
        newXS("Wx::PickerBase::GetPickerCtrl", XS_Wx__PickerBase_GetPickerCtrl, file);
#endif
#if XSubPPtmpAAGK
        newXS("Wx::ColourPickerCtrl::newDefault", XS_Wx__ColourPickerCtrl_newDefault, file);
        newXS("Wx::ColourPickerCtrl::newFull", XS_Wx__ColourPickerCtrl_newFull, file);
        newXS("Wx::ColourPickerCtrl::Create", XS_Wx__ColourPickerCtrl_Create, file);
        newXS("Wx::ColourPickerCtrl::GetColour", XS_Wx__ColourPickerCtrl_GetColour, file);
        newXS("Wx::ColourPickerCtrl::SetColourColour", XS_Wx__ColourPickerCtrl_SetColourColour, file);
        newXS("Wx::ColourPickerCtrl::SetColourString", XS_Wx__ColourPickerCtrl_SetColourString, file);
        newXS("Wx::ColourPickerCtrl::new", XS_Wx__ColourPickerCtrl_new, file);
        newXS("Wx::ColourPickerCtrl::SetColour", XS_Wx__ColourPickerCtrl_SetColour, file);
        newXS("Wx::ColourPickerEvent::GetColour", XS_Wx__ColourPickerEvent_GetColour, file);
        newXS("Wx::ColourPickerEvent::SetColour", XS_Wx__ColourPickerEvent_SetColour, file);
#endif
#if XSubPPtmpAAGL
        newXS("Wx::FilePickerCtrl::newDefault", XS_Wx__FilePickerCtrl_newDefault, file);
        newXS("Wx::FilePickerCtrl::newFull", XS_Wx__FilePickerCtrl_newFull, file);
        newXS("Wx::FilePickerCtrl::Create", XS_Wx__FilePickerCtrl_Create, file);
        newXS("Wx::FilePickerCtrl::GetPath", XS_Wx__FilePickerCtrl_GetPath, file);
        newXS("Wx::FilePickerCtrl::SetPath", XS_Wx__FilePickerCtrl_SetPath, file);
        newXS("Wx::FilePickerCtrl::new", XS_Wx__FilePickerCtrl_new, file);
        newXS("Wx::DirPickerCtrl::newDefault", XS_Wx__DirPickerCtrl_newDefault, file);
        newXS("Wx::DirPickerCtrl::newFull", XS_Wx__DirPickerCtrl_newFull, file);
        newXS("Wx::DirPickerCtrl::Create", XS_Wx__DirPickerCtrl_Create, file);
        newXS("Wx::DirPickerCtrl::GetPath", XS_Wx__DirPickerCtrl_GetPath, file);
        newXS("Wx::DirPickerCtrl::SetPath", XS_Wx__DirPickerCtrl_SetPath, file);
        newXS("Wx::DirPickerCtrl::new", XS_Wx__DirPickerCtrl_new, file);
        newXS("Wx::FileDirPickerEvent::GetPath", XS_Wx__FileDirPickerEvent_GetPath, file);
        newXS("Wx::FileDirPickerEvent::SetPath", XS_Wx__FileDirPickerEvent_SetPath, file);
#endif
#if XSubPPtmpAAGM
        newXS("Wx::FontPickerCtrl::newDefault", XS_Wx__FontPickerCtrl_newDefault, file);
        newXS("Wx::FontPickerCtrl::newFull", XS_Wx__FontPickerCtrl_newFull, file);
        newXS("Wx::FontPickerCtrl::Create", XS_Wx__FontPickerCtrl_Create, file);
        newXS("Wx::FontPickerCtrl::GetSelectedFont", XS_Wx__FontPickerCtrl_GetSelectedFont, file);
        newXS("Wx::FontPickerCtrl::SetSelectedFont", XS_Wx__FontPickerCtrl_SetSelectedFont, file);
        newXS("Wx::FontPickerCtrl::SetMaxPointSize", XS_Wx__FontPickerCtrl_SetMaxPointSize, file);
        newXS("Wx::FontPickerCtrl::GetMaxPointSize", XS_Wx__FontPickerCtrl_GetMaxPointSize, file);
        newXS("Wx::FontPickerCtrl::new", XS_Wx__FontPickerCtrl_new, file);
        newXS("Wx::FontPickerEvent::GetFont", XS_Wx__FontPickerEvent_GetFont, file);
        newXS("Wx::FontPickerEvent::SetFont", XS_Wx__FontPickerEvent_SetFont, file);
#endif

    /* Initialisation Section */

#if XSubPPtmpAAAA
#endif
#if XSubPPtmpAAAB
#endif
#if XSubPPtmpAAAC
#endif
#if XSubPPtmpAAAD
#endif
#if XSubPPtmpAAAE
#endif
#if XSubPPtmpAAAF
#endif
#if XSubPPtmpAAAG
#endif
#if XSubPPtmpAAAH
#endif
#if XSubPPtmpAAAI
#endif
#if XSubPPtmpAAAJ
#endif
#if XSubPPtmpAAAK
#endif
#if XSubPPtmpAAAL
#endif
    {
        AV* isa = get_av( "Wx::BitmapButton::ISA", 1 );
        av_store( isa, 0, newSVpv( "Wx::Button", 0 ) );
    } // blank line here is important

#if XSubPPtmpAAAM
#endif
#if XSubPPtmpAAAN
#if XSubPPtmpAAAO
#endif
#if XSubPPtmpAAAP
#endif
#if XSubPPtmpAAAQ
#endif
#if XSubPPtmpAAAR
#endif
#endif
#if XSubPPtmpAAAS
#if XSubPPtmpAAAT
#endif
#endif
#if XSubPPtmpAAAU
#if XSubPPtmpAAAV
#endif
#endif
#if XSubPPtmpAAAW
#endif
#if XSubPPtmpAAAX
#endif
#if XSubPPtmpAAAY
#endif
#if XSubPPtmpAAAZ
#endif
#if XSubPPtmpAABA
#if XSubPPtmpAABB
#if XSubPPtmpAABC
#if XSubPPtmpAABD
#endif
#if XSubPPtmpAABE
#endif
#if XSubPPtmpAABF
#endif
#if XSubPPtmpAABG
#endif
#endif
#endif
#endif
#if XSubPPtmpAABH
#endif
#if XSubPPtmpAABI
#if XSubPPtmpAABJ
#endif
#endif
#if XSubPPtmpAABK
#if XSubPPtmpAABL
#endif
#if XSubPPtmpAABM
#endif
#if XSubPPtmpAABN
#endif
#if XSubPPtmpAABO
#endif
#if XSubPPtmpAABP
#endif
#if XSubPPtmpAABQ
#endif
#endif
#if XSubPPtmpAABR
#endif
#if XSubPPtmpAABS
#endif
#if XSubPPtmpAABT
#endif
#if XSubPPtmpAABU
#endif
#if XSubPPtmpAABV
#endif
#if XSubPPtmpAABW
#if XSubPPtmpAABX
#endif
#if XSubPPtmpAABY
#endif
    {
#ifdef XSpp_bf682a9f_086821
        AV* isa = get_av( "Wx::SpinCtrlDouble::ISA", 1 );
        av_store( isa, 0, newSVpv( "Wx::Control", 0 ) );
#endif // XSpp_bf682a9f_086821
    } // blank line here is important

#endif
#if XSubPPtmpAABZ
#if XSubPPtmpAACA
#endif
    {
#ifdef XSpp_622a4aee_098414
        AV* isa = get_av( "Wx::InfoBar::ISA", 1 );
        av_store( isa, 0, newSVpv( "Wx::Control", 0 ) );
#endif // XSpp_622a4aee_098414
    } // blank line here is important

#endif
#if XSubPPtmpAACB
#if XSubPPtmpAACC
#endif
    {
#ifdef XSpp_11434cd6_068798
        AV* isa = get_av( "Wx::HeaderCtrl::ISA", 1 );
        av_store( isa, 0, newSVpv( "Wx::Control", 0 ) );
#endif // XSpp_11434cd6_068798
    } // blank line here is important

#if XSubPPtmpAACD
#endif
    {
#ifdef XSpp_11434cd6_068798
        AV* isa = get_av( "Wx::HeaderCtrlSimple::ISA", 1 );
        av_store( isa, 0, newSVpv( "Wx::HeaderCtrl", 0 ) );
#endif // XSpp_11434cd6_068798
    } // blank line here is important

    {
#ifdef XSpp_11434cd6_068798
        AV* isa = get_av( "Wx::HeaderCtrlEvent::ISA", 1 );
        av_store( isa, 0, newSVpv( "Wx::NotifyEvent", 0 ) );
#endif // XSpp_11434cd6_068798
    } // blank line here is important

#endif
#if XSubPPtmpAACE
    {
#ifdef XSpp_11434cd6_068798
        AV* isa = get_av( "Wx::PlHeaderCtrl::ISA", 1 );
        av_store( isa, 0, newSVpv( "Wx::HeaderCtrl", 0 ) );
#endif // XSpp_11434cd6_068798
    } // blank line here is important

#endif
#if XSubPPtmpAACF
#endif
#if XSubPPtmpAACG
    wxPli_set_events( headerctrl_h_events );

#endif
#if XSubPPtmpAACH
#if XSubPPtmpAACI
#endif
    {
#ifdef XSpp_512ff718_006379
        AV* isa = get_av( "Wx::SettableHeaderColumn::ISA", 1 );
        av_store( isa, 0, newSVpv( "Wx::HeaderColumn", 0 ) );
#endif // XSpp_512ff718_006379
    } // blank line here is important

#if XSubPPtmpAACJ
#endif
#if XSubPPtmpAACK
#endif
    {
#ifdef XSpp_512ff718_006379
        AV* isa = get_av( "Wx::HeaderColumnSimple::ISA", 1 );
        av_store( isa, 0, newSVpv( "Wx::HeaderColumn", 0 ) );
#endif // XSpp_512ff718_006379
    } // blank line here is important

#endif
#if XSubPPtmpAACL
    {
#ifdef XSpp_512ff718_006379
        AV* isa = get_av( "Wx::PlHeaderColumn::ISA", 1 );
        av_store( isa, 0, newSVpv( "Wx::HeaderColumn", 0 ) );
#endif // XSpp_512ff718_006379
    } // blank line here is important

#endif
#if XSubPPtmpAACM
    {
#ifdef XSpp_512ff718_006379
        AV* isa = get_av( "Wx::PlSettableHeaderColumn::ISA", 1 );
        av_store( isa, 0, newSVpv( "Wx::SettableHeaderColumn", 0 ) );
#endif // XSpp_512ff718_006379
    } // blank line here is important

#endif
#if XSubPPtmpAACN
#endif
#if XSubPPtmpAACO
#endif
#if XSubPPtmpAACP
#endif
#if XSubPPtmpAACQ
#endif
#if XSubPPtmpAACR
#endif
#if XSubPPtmpAACS
#endif
#if XSubPPtmpAACT
#endif
    {
        AV* isa = get_av( "Wx::Button::ISA", 1 );
        av_store( isa, 0, newSVpv( "Wx::Control", 0 ) );
    } // blank line here is important

#if XSubPPtmpAACU
#if XSubPPtmpAACV
#endif
    {
#ifdef XSpp_14221074_047370
        AV* isa = get_av( "Wx::CommandLinkButton::ISA", 1 );
        av_store( isa, 0, newSVpv( "Wx::Button", 0 ) );
#endif // XSpp_14221074_047370
    } // blank line here is important

#endif
#if XSubPPtmpAACW
#if XSubPPtmpAACX
#endif
#if XSubPPtmpAACY
#endif
    {
#ifdef XSpp_9e3a6f40_075533
        AV* isa = get_av( "Wx::TreeListCtrl::ISA", 1 );
        av_store( isa, 0, newSVpv( "Wx::Window", 0 ) );
#endif // XSpp_9e3a6f40_075533
    } // blank line here is important

    {
#ifdef XSpp_9e3a6f40_075533
        AV* isa = get_av( "Wx::TreeListEvent::ISA", 1 );
        av_store( isa, 0, newSVpv( "Wx::NotifyEvent", 0 ) );
#endif // XSpp_9e3a6f40_075533
    } // blank line here is important

#endif
#if XSubPPtmpAACZ
    {
#ifdef XSpp_9e3a6f40_075533
        AV* isa = get_av( "Wx::PlTreeListItemComparator::ISA", 1 );
        av_store( isa, 0, newSVpv( "Wx::TreeListItemComparator", 0 ) );
#endif // XSpp_9e3a6f40_075533
    } // blank line here is important

#endif
#if XSubPPtmpAADA
    wxPli_set_events( treelist_h_events );

#endif
#if XSubPPtmpAADB
#if XSubPPtmpAADC
#endif
#endif
#if XSubPPtmpAADD
#if XSubPPtmpAADE
#endif
    {
#ifdef XSpp_7efdd844_007167
        AV* isa = get_av( "Wx::BannerWindow::ISA", 1 );
        av_store( isa, 0, newSVpv( "Wx::Window", 0 ) );
#endif // XSpp_7efdd844_007167
    } // blank line here is important

#endif
#if XSubPPtmpAADF
#if XSubPPtmpAADG
#endif
    {
#ifdef XSpp_270e2145_053794
        AV* isa = get_av( "Wx::RearrangeList::ISA", 1 );
        av_store( isa, 0, newSVpv( "Wx::CheckListBox", 0 ) );
#endif // XSpp_270e2145_053794
    } // blank line here is important

#if XSubPPtmpAADH
#endif
    {
#ifdef XSpp_270e2145_053794
        AV* isa = get_av( "Wx::RearrangeCtrl::ISA", 1 );
        av_store( isa, 0, newSVpv( "Wx::Panel", 0 ) );
#endif // XSpp_270e2145_053794
    } // blank line here is important

#if XSubPPtmpAADI
#endif
    {
#ifdef XSpp_270e2145_053794
        AV* isa = get_av( "Wx::RearrangeDialog::ISA", 1 );
        av_store( isa, 0, newSVpv( "Wx::Dialog", 0 ) );
#endif // XSpp_270e2145_053794
    } // blank line here is important

#endif
#if XSubPPtmpAADJ
#endif
#if XSubPPtmpAADK
#endif
#if XSubPPtmpAADL
#endif
#if XSubPPtmpAADM
#endif
#if XSubPPtmpAADN
#endif
#if XSubPPtmpAADO
#endif
#if XSubPPtmpAADP
#endif
#if XSubPPtmpAADQ
#endif
#if XSubPPtmpAADR
#endif
#if XSubPPtmpAADS
#endif
#if XSubPPtmpAADT
#endif
#if XSubPPtmpAADU
#endif
#if XSubPPtmpAADV
#endif
#if XSubPPtmpAADW
#endif
#if XSubPPtmpAADX
#endif
#if XSubPPtmpAADY
#endif
#if XSubPPtmpAADZ
#if XSubPPtmpAAEA
#endif
#endif
#if XSubPPtmpAAEB
#endif
#if XSubPPtmpAAEC
#endif
#if XSubPPtmpAAED
#endif
#if XSubPPtmpAAEE
#endif
#if XSubPPtmpAAEF
#endif
#if XSubPPtmpAAEG
#endif
#if XSubPPtmpAAEH
#endif
#if XSubPPtmpAAEI
#endif
#if XSubPPtmpAAEJ
#endif
#if XSubPPtmpAAEK
#endif
#if XSubPPtmpAAEL
#endif
#if XSubPPtmpAAEM
#endif
#if XSubPPtmpAAEN
#endif
#if XSubPPtmpAAEO
#endif
#if XSubPPtmpAAEP
#endif
#if XSubPPtmpAAEQ
#endif
#if XSubPPtmpAAER
#endif
#if XSubPPtmpAAES
#endif
#if XSubPPtmpAAET
#endif
#if XSubPPtmpAAEU
#endif
#if XSubPPtmpAAEV
#endif
#if XSubPPtmpAAEW
#endif
#if XSubPPtmpAAEX
#endif
#if XSubPPtmpAAEY
#endif
#if XSubPPtmpAAEZ
#endif
#if XSubPPtmpAAFA
#endif
#if XSubPPtmpAAFB
#endif
#if XSubPPtmpAAFC
#endif
#if XSubPPtmpAAFD
#endif
#if XSubPPtmpAAFE
#endif
#if XSubPPtmpAAFF
#endif
#if XSubPPtmpAAFG
#endif
#if XSubPPtmpAAFH
#endif
#if XSubPPtmpAAFI
#endif
#if XSubPPtmpAAFJ
#if XSubPPtmpAAFK
#endif
#if XSubPPtmpAAFL
#endif
#if XSubPPtmpAAFM
#endif
#if XSubPPtmpAAFN
#endif
#if XSubPPtmpAAFO
#endif
#if XSubPPtmpAAFP
#endif
#endif
#if XSubPPtmpAAFQ
#endif
#if XSubPPtmpAAFR
#endif
#if XSubPPtmpAAFS
#endif
#if XSubPPtmpAAFT
#endif
#if XSubPPtmpAAFU
#endif
#if XSubPPtmpAAFV
#endif
#if XSubPPtmpAAFW
#endif
#if XSubPPtmpAAFX
#endif
#if XSubPPtmpAAFY
#endif
#if XSubPPtmpAAFZ
#endif
#if XSubPPtmpAAGA
#if XSubPPtmpAAGB
#endif
#endif
#if XSubPPtmpAAGC
#endif
#if XSubPPtmpAAGD
#endif
#if XSubPPtmpAAGE
#endif
#if XSubPPtmpAAGF
#endif
#if XSubPPtmpAAGG
#endif
#if XSubPPtmpAAGH
#endif
#if XSubPPtmpAAGI
#endif
#if XSubPPtmpAAGJ
#endif
#if XSubPPtmpAAGK
#endif
#if XSubPPtmpAAGL
#endif
#if XSubPPtmpAAGM
#endif

    /* End of Initialisation Section */

#if (PERL_REVISION == 5 && PERL_VERSION >= 9)
  if (PL_unitcheckav)
       call_list(PL_scopestack_ix, PL_unitcheckav);
#endif
    XSRETURN_YES;
}

