/* ----------------------------------------------------------------------------
 * This file was automatically generated by SWIG (http://www.swig.org).
 * Version 1.3.29
 * 
 * This file is not intended to be easily readable and contains a number of 
 * coding conventions designed to improve portability and efficiency. Do not make
 * changes to this file unless you know what you are doing--modify the SWIG 
 * interface file instead. 
 * ----------------------------------------------------------------------------- */

#define SWIGPYTHON
#define SWIG_PYTHON_DIRECTOR_NO_VTABLE

#ifdef __cplusplus
template<class T> class SwigValueWrapper {
    T *tt;
public:
    SwigValueWrapper() : tt(0) { }
    SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
    SwigValueWrapper(const T& t) : tt(new T(t)) { }
    ~SwigValueWrapper() { delete tt; } 
    SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
    operator T&() const { return *tt; }
    T *operator&() { return tt; }
private:
    SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
};
#endif

/* -----------------------------------------------------------------------------
 *  This section contains generic SWIG labels for method/variable
 *  declarations/attributes, and other compiler dependent labels.
 * ----------------------------------------------------------------------------- */

/* template workaround for compilers that cannot correctly implement the C++ standard */
#ifndef SWIGTEMPLATEDISAMBIGUATOR
# if defined(__SUNPRO_CC)
#   if (__SUNPRO_CC <= 0x560)
#     define SWIGTEMPLATEDISAMBIGUATOR template
#   else
#     define SWIGTEMPLATEDISAMBIGUATOR 
#   endif
# else
#   define SWIGTEMPLATEDISAMBIGUATOR 
# endif
#endif

/* inline attribute */
#ifndef SWIGINLINE
# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
#   define SWIGINLINE inline
# else
#   define SWIGINLINE
# endif
#endif

/* attribute recognised by some compilers to avoid 'unused' warnings */
#ifndef SWIGUNUSED
# if defined(__GNUC__)
#   if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
#     define SWIGUNUSED __attribute__ ((__unused__)) 
#   else
#     define SWIGUNUSED
#   endif
# elif defined(__ICC)
#   define SWIGUNUSED __attribute__ ((__unused__)) 
# else
#   define SWIGUNUSED 
# endif
#endif

#ifndef SWIGUNUSEDPARM
# ifdef __cplusplus
#   define SWIGUNUSEDPARM(p)
# else
#   define SWIGUNUSEDPARM(p) p SWIGUNUSED 
# endif
#endif

/* internal SWIG method */
#ifndef SWIGINTERN
# define SWIGINTERN static SWIGUNUSED
#endif

/* internal inline SWIG method */
#ifndef SWIGINTERNINLINE
# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
#endif

/* exporting methods */
#if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
#  ifndef GCC_HASCLASSVISIBILITY
#    define GCC_HASCLASSVISIBILITY
#  endif
#endif

#ifndef SWIGEXPORT
# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
#   if defined(STATIC_LINKED)
#     define SWIGEXPORT
#   else
#     define SWIGEXPORT __declspec(dllexport)
#   endif
# else
#   if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
#     define SWIGEXPORT __attribute__ ((visibility("default")))
#   else
#     define SWIGEXPORT
#   endif
# endif
#endif

/* calling conventions for Windows */
#ifndef SWIGSTDCALL
# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
#   define SWIGSTDCALL __stdcall
# else
#   define SWIGSTDCALL
# endif 
#endif

/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
# define _CRT_SECURE_NO_DEPRECATE
#endif


/* Python.h has to appear first */
#include <Python.h>

/* -----------------------------------------------------------------------------
 * swigrun.swg
 *
 * This file contains generic CAPI SWIG runtime support for pointer
 * type checking.
 * ----------------------------------------------------------------------------- */

/* This should only be incremented when either the layout of swig_type_info changes,
   or for whatever reason, the runtime changes incompatibly */
#define SWIG_RUNTIME_VERSION "2"

/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
#ifdef SWIG_TYPE_TABLE
# define SWIG_QUOTE_STRING(x) #x
# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
#else
# define SWIG_TYPE_TABLE_NAME
#endif

/*
  You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
  creating a static or dynamic library from the swig runtime code.
  In 99.9% of the cases, swig just needs to declare them as 'static'.
  
  But only do this if is strictly necessary, ie, if you have problems
  with your compiler or so.
*/

#ifndef SWIGRUNTIME
# define SWIGRUNTIME SWIGINTERN
#endif

#ifndef SWIGRUNTIMEINLINE
# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
#endif

/*  Generic buffer size */
#ifndef SWIG_BUFFER_SIZE
# define SWIG_BUFFER_SIZE 1024
#endif

/* Flags for pointer conversions */
#define SWIG_POINTER_DISOWN        0x1

/* Flags for new pointer objects */
#define SWIG_POINTER_OWN           0x1


/* 
   Flags/methods for returning states.
   
   The swig conversion methods, as ConvertPtr, return and integer 
   that tells if the conversion was successful or not. And if not,
   an error code can be returned (see swigerrors.swg for the codes).
   
   Use the following macros/flags to set or process the returning
   states.
   
   In old swig versions, you usually write code as:

     if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
       // success code
     } else {
       //fail code
     }

   Now you can be more explicit as:

    int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
    if (SWIG_IsOK(res)) {
      // success code
    } else {
      // fail code
    }

   that seems to be the same, but now you can also do

    Type *ptr;
    int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
    if (SWIG_IsOK(res)) {
      // success code
      if (SWIG_IsNewObj(res) {
        ...
	delete *ptr;
      } else {
        ...
      }
    } else {
      // fail code
    }
    
   I.e., now SWIG_ConvertPtr can return new objects and you can
   identify the case and take care of the deallocation. Of course that
   requires also to SWIG_ConvertPtr to return new result values, as

      int SWIG_ConvertPtr(obj, ptr,...) {         
        if (<obj is ok>) {			       
          if (<need new object>) {		       
            *ptr = <ptr to new allocated object>; 
            return SWIG_NEWOBJ;		       
          } else {				       
            *ptr = <ptr to old object>;	       
            return SWIG_OLDOBJ;		       
          } 				       
        } else {				       
          return SWIG_BADOBJ;		       
        }					       
      }

   Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
   more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
   swig errors code.

   Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
   allows to return the 'cast rank', for example, if you have this

       int food(double)
       int fooi(int);

   and you call
 
      food(1)   // cast rank '1'  (1 -> 1.0)
      fooi(1)   // cast rank '0'

   just use the SWIG_AddCast()/SWIG_CheckState()


 */
#define SWIG_OK                    (0) 
#define SWIG_ERROR                 (-1)
#define SWIG_IsOK(r)               (r >= 0)
#define SWIG_ArgError(r)           ((r != SWIG_ERROR) ? r : SWIG_TypeError)  

/* The CastRankLimit says how many bits are used for the cast rank */
#define SWIG_CASTRANKLIMIT         (1 << 8)
/* The NewMask denotes the object was created (using new/malloc) */
#define SWIG_NEWOBJMASK            (SWIG_CASTRANKLIMIT  << 1)
/* The TmpMask is for in/out typemaps that use temporal objects */
#define SWIG_TMPOBJMASK            (SWIG_NEWOBJMASK << 1)
/* Simple returning values */
#define SWIG_BADOBJ                (SWIG_ERROR)
#define SWIG_OLDOBJ                (SWIG_OK)
#define SWIG_NEWOBJ                (SWIG_OK | SWIG_NEWOBJMASK)
#define SWIG_TMPOBJ                (SWIG_OK | SWIG_TMPOBJMASK)
/* Check, add and del mask methods */
#define SWIG_AddNewMask(r)         (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
#define SWIG_DelNewMask(r)         (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
#define SWIG_IsNewObj(r)           (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
#define SWIG_AddTmpMask(r)         (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
#define SWIG_DelTmpMask(r)         (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
#define SWIG_IsTmpObj(r)           (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))


/* Cast-Rank Mode */
#if defined(SWIG_CASTRANK_MODE)
#  ifndef SWIG_TypeRank
#    define SWIG_TypeRank             unsigned long
#  endif
#  ifndef SWIG_MAXCASTRANK            /* Default cast allowed */
#    define SWIG_MAXCASTRANK          (2)
#  endif
#  define SWIG_CASTRANKMASK          ((SWIG_CASTRANKLIMIT) -1)
#  define SWIG_CastRank(r)           (r & SWIG_CASTRANKMASK)
SWIGINTERNINLINE int SWIG_AddCast(int r) { 
  return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
}
SWIGINTERNINLINE int SWIG_CheckState(int r) { 
  return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0; 
}
#else /* no cast-rank mode */
#  define SWIG_AddCast
#  define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
#endif




#include <string.h>

#ifdef __cplusplus
extern "C" {
#endif

typedef void *(*swig_converter_func)(void *);
typedef struct swig_type_info *(*swig_dycast_func)(void **);

/* Structure to store inforomation on one type */
typedef struct swig_type_info {
  const char             *name;			/* mangled name of this type */
  const char             *str;			/* human readable name of this type */
  swig_dycast_func        dcast;		/* dynamic cast function down a hierarchy */
  struct swig_cast_info  *cast;			/* linked list of types that can cast into this type */
  void                   *clientdata;		/* language specific type data */
  int                    owndata;		/* flag if the structure owns the clientdata */
} swig_type_info;

/* Structure to store a type and conversion function used for casting */
typedef struct swig_cast_info {
  swig_type_info         *type;			/* pointer to type that is equivalent to this type */
  swig_converter_func     converter;		/* function to cast the void pointers */
  struct swig_cast_info  *next;			/* pointer to next cast in linked list */
  struct swig_cast_info  *prev;			/* pointer to the previous cast */
} swig_cast_info;

/* Structure used to store module information
 * Each module generates one structure like this, and the runtime collects
 * all of these structures and stores them in a circularly linked list.*/
typedef struct swig_module_info {
  swig_type_info         **types;		/* Array of pointers to swig_type_info structures that are in this module */
  size_t                 size;		        /* Number of types in this module */
  struct swig_module_info *next;		/* Pointer to next element in circularly linked list */
  swig_type_info         **type_initial;	/* Array of initially generated type structures */
  swig_cast_info         **cast_initial;	/* Array of initially generated casting structures */
  void                    *clientdata;		/* Language specific module data */
} swig_module_info;

/* 
  Compare two type names skipping the space characters, therefore
  "char*" == "char *" and "Class<int>" == "Class<int >", etc.

  Return 0 when the two name types are equivalent, as in
  strncmp, but skipping ' '.
*/
SWIGRUNTIME int
SWIG_TypeNameComp(const char *f1, const char *l1,
		  const char *f2, const char *l2) {
  for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
    while ((*f1 == ' ') && (f1 != l1)) ++f1;
    while ((*f2 == ' ') && (f2 != l2)) ++f2;
    if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
  }
  return (l1 - f1) - (l2 - f2);
}

/*
  Check type equivalence in a name list like <name1>|<name2>|...
  Return 0 if not equal, 1 if equal
*/
SWIGRUNTIME int
SWIG_TypeEquiv(const char *nb, const char *tb) {
  int equiv = 0;
  const char* te = tb + strlen(tb);
  const char* ne = nb;
  while (!equiv && *ne) {
    for (nb = ne; *ne; ++ne) {
      if (*ne == '|') break;
    }
    equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
    if (*ne) ++ne;
  }
  return equiv;
}

/*
  Check type equivalence in a name list like <name1>|<name2>|...
  Return 0 if equal, -1 if nb < tb, 1 if nb > tb
*/
SWIGRUNTIME int
SWIG_TypeCompare(const char *nb, const char *tb) {
  int equiv = 0;
  const char* te = tb + strlen(tb);
  const char* ne = nb;
  while (!equiv && *ne) {
    for (nb = ne; *ne; ++ne) {
      if (*ne == '|') break;
    }
    equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
    if (*ne) ++ne;
  }
  return equiv;
}


/* think of this as a c++ template<> or a scheme macro */
#define SWIG_TypeCheck_Template(comparison, ty)         \
  if (ty) {                                             \
    swig_cast_info *iter = ty->cast;                    \
    while (iter) {                                      \
      if (comparison) {                                 \
        if (iter == ty->cast) return iter;              \
        /* Move iter to the top of the linked list */   \
        iter->prev->next = iter->next;                  \
        if (iter->next)                                 \
          iter->next->prev = iter->prev;                \
        iter->next = ty->cast;                          \
        iter->prev = 0;                                 \
        if (ty->cast) ty->cast->prev = iter;            \
        ty->cast = iter;                                \
        return iter;                                    \
      }                                                 \
      iter = iter->next;                                \
    }                                                   \
  }                                                     \
  return 0

/*
  Check the typename
*/
SWIGRUNTIME swig_cast_info *
SWIG_TypeCheck(const char *c, swig_type_info *ty) {
  SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
}

/* Same as previous function, except strcmp is replaced with a pointer comparison */
SWIGRUNTIME swig_cast_info *
SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
  SWIG_TypeCheck_Template(iter->type == from, into);
}

/*
  Cast a pointer up an inheritance hierarchy
*/
SWIGRUNTIMEINLINE void *
SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
  return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
}

/* 
   Dynamic pointer casting. Down an inheritance hierarchy
*/
SWIGRUNTIME swig_type_info *
SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
  swig_type_info *lastty = ty;
  if (!ty || !ty->dcast) return ty;
  while (ty && (ty->dcast)) {
    ty = (*ty->dcast)(ptr);
    if (ty) lastty = ty;
  }
  return lastty;
}

/*
  Return the name associated with this type
*/
SWIGRUNTIMEINLINE const char *
SWIG_TypeName(const swig_type_info *ty) {
  return ty->name;
}

/*
  Return the pretty name associated with this type,
  that is an unmangled type name in a form presentable to the user.
*/
SWIGRUNTIME const char *
SWIG_TypePrettyName(const swig_type_info *type) {
  /* The "str" field contains the equivalent pretty names of the
     type, separated by vertical-bar characters.  We choose
     to print the last name, as it is often (?) the most
     specific. */
  if (!type) return NULL;
  if (type->str != NULL) {
    const char *last_name = type->str;
    const char *s;
    for (s = type->str; *s; s++)
      if (*s == '|') last_name = s+1;
    return last_name;
  }
  else
    return type->name;
}

/* 
   Set the clientdata field for a type
*/
SWIGRUNTIME void
SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
  swig_cast_info *cast = ti->cast;
  /* if (ti->clientdata == clientdata) return; */
  ti->clientdata = clientdata;
  
  while (cast) {
    if (!cast->converter) {
      swig_type_info *tc = cast->type;
      if (!tc->clientdata) {
	SWIG_TypeClientData(tc, clientdata);
      }
    }    
    cast = cast->next;
  }
}
SWIGRUNTIME void
SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
  SWIG_TypeClientData(ti, clientdata);
  ti->owndata = 1;
}
  
/*
  Search for a swig_type_info structure only by mangled name
  Search is a O(log #types)
  
  We start searching at module start, and finish searching when start == end.  
  Note: if start == end at the beginning of the function, we go all the way around
  the circular list.
*/
SWIGRUNTIME swig_type_info *
SWIG_MangledTypeQueryModule(swig_module_info *start, 
                            swig_module_info *end, 
		            const char *name) {
  swig_module_info *iter = start;
  do {
    if (iter->size) {
      register size_t l = 0;
      register size_t r = iter->size - 1;
      do {
	/* since l+r >= 0, we can (>> 1) instead (/ 2) */
	register size_t i = (l + r) >> 1; 
	const char *iname = iter->types[i]->name;
	if (iname) {
	  register int compare = strcmp(name, iname);
	  if (compare == 0) {	    
	    return iter->types[i];
	  } else if (compare < 0) {
	    if (i) {
	      r = i - 1;
	    } else {
	      break;
	    }
	  } else if (compare > 0) {
	    l = i + 1;
	  }
	} else {
	  break; /* should never happen */
	}
      } while (l <= r);
    }
    iter = iter->next;
  } while (iter != end);
  return 0;
}

/*
  Search for a swig_type_info structure for either a mangled name or a human readable name.
  It first searches the mangled names of the types, which is a O(log #types)
  If a type is not found it then searches the human readable names, which is O(#types).
  
  We start searching at module start, and finish searching when start == end.  
  Note: if start == end at the beginning of the function, we go all the way around
  the circular list.
*/
SWIGRUNTIME swig_type_info *
SWIG_TypeQueryModule(swig_module_info *start, 
                     swig_module_info *end, 
		     const char *name) {
  /* STEP 1: Search the name field using binary search */
  swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
  if (ret) {
    return ret;
  } else {
    /* STEP 2: If the type hasn't been found, do a complete search
       of the str field (the human readable name) */
    swig_module_info *iter = start;
    do {
      register size_t i = 0;
      for (; i < iter->size; ++i) {
	if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
	  return iter->types[i];
      }
      iter = iter->next;
    } while (iter != end);
  }
  
  /* neither found a match */
  return 0;
}

/* 
   Pack binary data into a string
*/
SWIGRUNTIME char *
SWIG_PackData(char *c, void *ptr, size_t sz) {
  static const char hex[17] = "0123456789abcdef";
  register const unsigned char *u = (unsigned char *) ptr;
  register const unsigned char *eu =  u + sz;
  for (; u != eu; ++u) {
    register unsigned char uu = *u;
    *(c++) = hex[(uu & 0xf0) >> 4];
    *(c++) = hex[uu & 0xf];
  }
  return c;
}

/* 
   Unpack binary data from a string
*/
SWIGRUNTIME const char *
SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
  register unsigned char *u = (unsigned char *) ptr;
  register const unsigned char *eu = u + sz;
  for (; u != eu; ++u) {
    register char d = *(c++);
    register unsigned char uu;
    if ((d >= '0') && (d <= '9'))
      uu = ((d - '0') << 4);
    else if ((d >= 'a') && (d <= 'f'))
      uu = ((d - ('a'-10)) << 4);
    else 
      return (char *) 0;
    d = *(c++);
    if ((d >= '0') && (d <= '9'))
      uu |= (d - '0');
    else if ((d >= 'a') && (d <= 'f'))
      uu |= (d - ('a'-10));
    else 
      return (char *) 0;
    *u = uu;
  }
  return c;
}

/* 
   Pack 'void *' into a string buffer.
*/
SWIGRUNTIME char *
SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
  char *r = buff;
  if ((2*sizeof(void *) + 2) > bsz) return 0;
  *(r++) = '_';
  r = SWIG_PackData(r,&ptr,sizeof(void *));
  if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
  strcpy(r,name);
  return buff;
}

SWIGRUNTIME const char *
SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
  if (*c != '_') {
    if (strcmp(c,"NULL") == 0) {
      *ptr = (void *) 0;
      return name;
    } else {
      return 0;
    }
  }
  return SWIG_UnpackData(++c,ptr,sizeof(void *));
}

SWIGRUNTIME char *
SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
  char *r = buff;
  size_t lname = (name ? strlen(name) : 0);
  if ((2*sz + 2 + lname) > bsz) return 0;
  *(r++) = '_';
  r = SWIG_PackData(r,ptr,sz);
  if (lname) {
    strncpy(r,name,lname+1);
  } else {
    *r = 0;
  }
  return buff;
}

SWIGRUNTIME const char *
SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
  if (*c != '_') {
    if (strcmp(c,"NULL") == 0) {
      memset(ptr,0,sz);
      return name;
    } else {
      return 0;
    }
  }
  return SWIG_UnpackData(++c,ptr,sz);
}

#ifdef __cplusplus
}
#endif

/*  Errors in SWIG */
#define  SWIG_UnknownError    	   -1 
#define  SWIG_IOError        	   -2 
#define  SWIG_RuntimeError   	   -3 
#define  SWIG_IndexError     	   -4 
#define  SWIG_TypeError      	   -5 
#define  SWIG_DivisionByZero 	   -6 
#define  SWIG_OverflowError  	   -7 
#define  SWIG_SyntaxError    	   -8 
#define  SWIG_ValueError     	   -9 
#define  SWIG_SystemError    	   -10
#define  SWIG_AttributeError 	   -11
#define  SWIG_MemoryError    	   -12 
#define  SWIG_NullReferenceError   -13



/* Python.h has to appear first */
#include <Python.h>

/* Add PyOS_snprintf for old Pythons */
#if PY_VERSION_HEX < 0x02020000
# if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
#  define PyOS_snprintf _snprintf
# else
#  define PyOS_snprintf snprintf
# endif
#endif

/* A crude PyString_FromFormat implementation for old Pythons */
#if PY_VERSION_HEX < 0x02020000

#ifndef SWIG_PYBUFFER_SIZE
# define SWIG_PYBUFFER_SIZE 1024
#endif

static PyObject *
PyString_FromFormat(const char *fmt, ...) {
  va_list ap;
  char buf[SWIG_PYBUFFER_SIZE * 2];
  int res;
  va_start(ap, fmt);
  res = vsnprintf(buf, sizeof(buf), fmt, ap);
  va_end(ap);
  return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
}
#endif

/* Add PyObject_Del for old Pythons */
#if PY_VERSION_HEX < 0x01060000
# define PyObject_Del(op) PyMem_DEL((op))
#endif
#ifndef PyObject_DEL
# define PyObject_DEL PyObject_Del
#endif

/* A crude PyExc_StopIteration exception for old Pythons */
#if PY_VERSION_HEX < 0x02020000
# ifndef PyExc_StopIteration
#  define PyExc_StopIteration PyExc_RuntimeError
# endif
# ifndef PyObject_GenericGetAttr
#  define PyObject_GenericGetAttr 0
# endif
#endif
/* Py_NotImplemented is defined in 2.1 and up. */
#if PY_VERSION_HEX < 0x02010000
# ifndef Py_NotImplemented
#  define Py_NotImplemented PyExc_RuntimeError
# endif
#endif


/* A crude PyString_AsStringAndSize implementation for old Pythons */
#if PY_VERSION_HEX < 0x02010000
# ifndef PyString_AsStringAndSize
#  define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
# endif
#endif

/* PySequence_Size for old Pythons */
#if PY_VERSION_HEX < 0x02000000
# ifndef PySequence_Size
#  define PySequence_Size PySequence_Length
# endif
#endif


/* PyBool_FromLong for old Pythons */
#if PY_VERSION_HEX < 0x02030000
static
PyObject *PyBool_FromLong(long ok)
{
  PyObject *result = ok ? Py_True : Py_False;
  Py_INCREF(result);
  return result;
}
#endif


/* -----------------------------------------------------------------------------
 * error manipulation
 * ----------------------------------------------------------------------------- */

SWIGRUNTIME PyObject*
SWIG_Python_ErrorType(int code) {
  PyObject* type = 0;
  switch(code) {
  case SWIG_MemoryError:
    type = PyExc_MemoryError;
    break;
  case SWIG_IOError:
    type = PyExc_IOError;
    break;
  case SWIG_RuntimeError:
    type = PyExc_RuntimeError;
    break;
  case SWIG_IndexError:
    type = PyExc_IndexError;
    break;
  case SWIG_TypeError:
    type = PyExc_TypeError;
    break;
  case SWIG_DivisionByZero:
    type = PyExc_ZeroDivisionError;
    break;
  case SWIG_OverflowError:
    type = PyExc_OverflowError;
    break;
  case SWIG_SyntaxError:
    type = PyExc_SyntaxError;
    break;
  case SWIG_ValueError:
    type = PyExc_ValueError;
    break;
  case SWIG_SystemError:
    type = PyExc_SystemError;
    break;
  case SWIG_AttributeError:
    type = PyExc_AttributeError;
    break;
  default:
    type = PyExc_RuntimeError;
  }
  return type;
}


SWIGRUNTIME void
SWIG_Python_AddErrorMsg(const char* mesg)
{
  PyObject *type = 0;
  PyObject *value = 0;
  PyObject *traceback = 0;

  if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
  if (value) {
    PyObject *old_str = PyObject_Str(value);
    PyErr_Clear();
    Py_XINCREF(type);
    PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
    Py_DECREF(old_str);
    Py_DECREF(value);
  } else {
    PyErr_Format(PyExc_RuntimeError, mesg);
  }
}



#if defined(SWIG_PYTHON_NO_THREADS)
#  if defined(SWIG_PYTHON_THREADS)
#    undef SWIG_PYTHON_THREADS
#  endif
#endif
#if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
#  if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
#    if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
#      define SWIG_PYTHON_USE_GIL
#    endif
#  endif
#  if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
#    ifndef SWIG_PYTHON_INITIALIZE_THREADS
#     define SWIG_PYTHON_INITIALIZE_THREADS  PyEval_InitThreads() 
#    endif
#    ifdef __cplusplus /* C++ code */
       class SWIG_Python_Thread_Block {
         bool status;
         PyGILState_STATE state;
       public:
         void end() { if (status) { PyGILState_Release(state); status = false;} }
         SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
         ~SWIG_Python_Thread_Block() { end(); }
       };
       class SWIG_Python_Thread_Allow {
         bool status;
         PyThreadState *save;
       public:
         void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
         SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
         ~SWIG_Python_Thread_Allow() { end(); }
       };
#      define SWIG_PYTHON_THREAD_BEGIN_BLOCK   SWIG_Python_Thread_Block _swig_thread_block
#      define SWIG_PYTHON_THREAD_END_BLOCK     _swig_thread_block.end()
#      define SWIG_PYTHON_THREAD_BEGIN_ALLOW   SWIG_Python_Thread_Allow _swig_thread_allow
#      define SWIG_PYTHON_THREAD_END_ALLOW     _swig_thread_allow.end()
#    else /* C code */
#      define SWIG_PYTHON_THREAD_BEGIN_BLOCK   PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
#      define SWIG_PYTHON_THREAD_END_BLOCK     PyGILState_Release(_swig_thread_block)
#      define SWIG_PYTHON_THREAD_BEGIN_ALLOW   PyThreadState *_swig_thread_allow = PyEval_SaveThread()
#      define SWIG_PYTHON_THREAD_END_ALLOW     PyEval_RestoreThread(_swig_thread_allow)
#    endif
#  else /* Old thread way, not implemented, user must provide it */
#    if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
#      define SWIG_PYTHON_INITIALIZE_THREADS
#    endif
#    if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
#      define SWIG_PYTHON_THREAD_BEGIN_BLOCK
#    endif
#    if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
#      define SWIG_PYTHON_THREAD_END_BLOCK
#    endif
#    if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
#      define SWIG_PYTHON_THREAD_BEGIN_ALLOW
#    endif
#    if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
#      define SWIG_PYTHON_THREAD_END_ALLOW
#    endif
#  endif
#else /* No thread support */
#  define SWIG_PYTHON_INITIALIZE_THREADS
#  define SWIG_PYTHON_THREAD_BEGIN_BLOCK
#  define SWIG_PYTHON_THREAD_END_BLOCK
#  define SWIG_PYTHON_THREAD_BEGIN_ALLOW
#  define SWIG_PYTHON_THREAD_END_ALLOW
#endif

/* -----------------------------------------------------------------------------
 * Python API portion that goes into the runtime
 * ----------------------------------------------------------------------------- */

#ifdef __cplusplus
extern "C" {
#if 0
} /* cc-mode */
#endif
#endif

/* -----------------------------------------------------------------------------
 * Constant declarations
 * ----------------------------------------------------------------------------- */

/* Constant Types */
#define SWIG_PY_POINTER 4
#define SWIG_PY_BINARY  5

/* Constant information structure */
typedef struct swig_const_info {
  int type;
  char *name;
  long lvalue;
  double dvalue;
  void   *pvalue;
  swig_type_info **ptype;
} swig_const_info;

#ifdef __cplusplus
#if 0
{ /* cc-mode */
#endif
}
#endif


/* -----------------------------------------------------------------------------
 * See the LICENSE file for information on copyright, usage and redistribution
 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
 *
 * pyrun.swg
 *
 * This file contains the runtime support for Python modules
 * and includes code for managing global variables and pointer
 * type checking.
 *
 * ----------------------------------------------------------------------------- */

/* Common SWIG API */

#if PY_VERSION_HEX < 0x02050000
typedef int Py_ssize_t;
#endif

/* for raw pointers */
#define SWIG_Python_ConvertPtr(obj, pptr, type, flags)  SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
#define SWIG_ConvertPtr(obj, pptr, type, flags)         SWIG_Python_ConvertPtr(obj, pptr, type, flags)
#define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own)  SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
#define SWIG_NewPointerObj(ptr, type, flags)            SWIG_Python_NewPointerObj(ptr, type, flags)
#define SWIG_CheckImplicit(ty)                          SWIG_Python_CheckImplicit(ty) 
#define SWIG_AcquirePtr(ptr, src)                       SWIG_Python_AcquirePtr(ptr, src)
#define swig_owntype                                    int

/* for raw packed data */
#define SWIG_ConvertPacked(obj, ptr, sz, ty)            SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
#define SWIG_NewPackedObj(ptr, sz, type)                SWIG_Python_NewPackedObj(ptr, sz, type)

/* for class or struct pointers */
#define SWIG_ConvertInstance(obj, pptr, type, flags)    SWIG_ConvertPtr(obj, pptr, type, flags)
#define SWIG_NewInstanceObj(ptr, type, flags)           SWIG_NewPointerObj(ptr, type, flags)

/* for C or C++ function pointers */
#define SWIG_ConvertFunctionPtr(obj, pptr, type)        SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
#define SWIG_NewFunctionPtrObj(ptr, type)               SWIG_Python_NewPointerObj(ptr, type, 0)

/* for C++ member pointers, ie, member methods */
#define SWIG_ConvertMember(obj, ptr, sz, ty)            SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
#define SWIG_NewMemberObj(ptr, sz, type)                SWIG_Python_NewPackedObj(ptr, sz, type)


/* Runtime API */

#define SWIG_GetModule(clientdata)                      SWIG_Python_GetModule()
#define SWIG_SetModule(clientdata, pointer)             SWIG_Python_SetModule(pointer)
#define SWIG_NewClientData(obj)                         PySwigClientData_New(obj)

#define SWIG_SetErrorObj                                SWIG_Python_SetErrorObj                            
#define SWIG_SetErrorMsg                        	SWIG_Python_SetErrorMsg				   
#define SWIG_ErrorType(code)                    	SWIG_Python_ErrorType(code)                        
#define SWIG_Error(code, msg)            		SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg) 
#define SWIG_fail                        		goto fail					   


/* Runtime API implementation */

/* Error manipulation */

SWIGINTERN void 
SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
  SWIG_PYTHON_THREAD_BEGIN_BLOCK; 
  PyErr_SetObject(errtype, obj);
  Py_DECREF(obj);
  SWIG_PYTHON_THREAD_END_BLOCK;
}

SWIGINTERN void 
SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
  SWIG_PYTHON_THREAD_BEGIN_BLOCK;
  PyErr_SetString(errtype, (char *) msg);
  SWIG_PYTHON_THREAD_END_BLOCK;
}

#define SWIG_Python_Raise(obj, type, desc)  SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)

/* Set a constant value */

SWIGINTERN void
SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {   
  PyDict_SetItemString(d, (char*) name, obj);
  Py_DECREF(obj);                            
}

/* Append a value to the result obj */

SWIGINTERN PyObject*
SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
#if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
  if (!result) {
    result = obj;
  } else if (result == Py_None) {
    Py_DECREF(result);
    result = obj;
  } else {
    if (!PyList_Check(result)) {
      PyObject *o2 = result;
      result = PyList_New(1);
      PyList_SetItem(result, 0, o2);
    }
    PyList_Append(result,obj);
    Py_DECREF(obj);
  }
  return result;
#else
  PyObject*   o2;
  PyObject*   o3;
  if (!result) {
    result = obj;
  } else if (result == Py_None) {
    Py_DECREF(result);
    result = obj;
  } else {
    if (!PyTuple_Check(result)) {
      o2 = result;
      result = PyTuple_New(1);
      PyTuple_SET_ITEM(result, 0, o2);
    }
    o3 = PyTuple_New(1);
    PyTuple_SET_ITEM(o3, 0, obj);
    o2 = result;
    result = PySequence_Concat(o2, o3);
    Py_DECREF(o2);
    Py_DECREF(o3);
  }
  return result;
#endif
}

/* Unpack the argument tuple */

SWIGINTERN int
SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
{
  if (!args) {
    if (!min && !max) {
      return 1;
    } else {
      PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none", 
		   name, (min == max ? "" : "at least "), min);
      return 0;
    }
  }  
  if (!PyTuple_Check(args)) {
    PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
    return 0;
  } else {
    register int l = PyTuple_GET_SIZE(args);
    if (l < min) {
      PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d", 
		   name, (min == max ? "" : "at least "), min, l);
      return 0;
    } else if (l > max) {
      PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d", 
		   name, (min == max ? "" : "at most "), max, l);
      return 0;
    } else {
      register int i;
      for (i = 0; i < l; ++i) {
	objs[i] = PyTuple_GET_ITEM(args, i);
      }
      for (; l < max; ++l) {
	objs[l] = 0;
      }
      return i + 1;
    }    
  }
}

/* A functor is a function object with one single object argument */
#if PY_VERSION_HEX >= 0x02020000
#define SWIG_Python_CallFunctor(functor, obj)	        PyObject_CallFunctionObjArgs(functor, obj, NULL);
#else
#define SWIG_Python_CallFunctor(functor, obj)	        PyObject_CallFunction(functor, "O", obj);
#endif

/*
  Helper for static pointer initialization for both C and C++ code, for example
  static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
*/
#ifdef __cplusplus
#define SWIG_STATIC_POINTER(var)  var
#else
#define SWIG_STATIC_POINTER(var)  var = 0; if (!var) var
#endif

/* -----------------------------------------------------------------------------
 * Pointer declarations
 * ----------------------------------------------------------------------------- */

/* Flags for new pointer objects */
#define SWIG_POINTER_NOSHADOW       (SWIG_POINTER_OWN      << 1)
#define SWIG_POINTER_NEW            (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)

#define SWIG_POINTER_IMPLICIT_CONV  (SWIG_POINTER_DISOWN   << 1)

#ifdef __cplusplus
extern "C" {
#if 0
} /* cc-mode */
#endif
#endif

/*  How to access Py_None */
#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
#  ifndef SWIG_PYTHON_NO_BUILD_NONE
#    ifndef SWIG_PYTHON_BUILD_NONE
#      define SWIG_PYTHON_BUILD_NONE
#    endif
#  endif
#endif

#ifdef SWIG_PYTHON_BUILD_NONE
#  ifdef Py_None
#   undef Py_None
#   define Py_None SWIG_Py_None()
#  endif
SWIGRUNTIMEINLINE PyObject * 
_SWIG_Py_None(void)
{
  PyObject *none = Py_BuildValue("");
  Py_DECREF(none);
  return none;
}
SWIGRUNTIME PyObject * 
SWIG_Py_None(void)
{
  static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
  return none;
}
#endif

/* The python void return value */

SWIGRUNTIMEINLINE PyObject * 
SWIG_Py_Void(void)
{
  PyObject *none = Py_None;
  Py_INCREF(none);
  return none;
}

/* PySwigClientData */

typedef struct {
  PyObject *klass;
  PyObject *newraw;
  PyObject *newargs;
  PyObject *destroy;
  int delargs;
  int implicitconv;
} PySwigClientData;

SWIGRUNTIMEINLINE int 
SWIG_Python_CheckImplicit(swig_type_info *ty)
{
  PySwigClientData *data = (PySwigClientData *)ty->clientdata;
  return data ? data->implicitconv : 0;
}

SWIGRUNTIMEINLINE PyObject *
SWIG_Python_ExceptionType(swig_type_info *desc) {
  PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
  PyObject *klass = data ? data->klass : 0;
  return (klass ? klass : PyExc_RuntimeError);
}


SWIGRUNTIME PySwigClientData * 
PySwigClientData_New(PyObject* obj)
{
  if (!obj) {
    return 0;
  } else {
    PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
    /* the klass element */
    data->klass = obj;
    Py_INCREF(data->klass);
    /* the newraw method and newargs arguments used to create a new raw instance */
    if (PyClass_Check(obj)) {
      data->newraw = 0;
      data->newargs = obj;
      Py_INCREF(obj);
    } else {
#if (PY_VERSION_HEX < 0x02020000)
      data->newraw = 0;
#else
      data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
#endif
      if (data->newraw) {
	Py_INCREF(data->newraw);
	data->newargs = PyTuple_New(1);
	PyTuple_SetItem(data->newargs, 0, obj);
      } else {
	data->newargs = obj;
      }
      Py_INCREF(data->newargs);
    }
    /* the destroy method, aka as the C++ delete method */
    data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
    if (PyErr_Occurred()) {
      PyErr_Clear();
      data->destroy = 0;
    }
    if (data->destroy) {
      int flags;
      Py_INCREF(data->destroy);
      flags = PyCFunction_GET_FLAGS(data->destroy);
#ifdef METH_O
      data->delargs = !(flags & (METH_O));
#else
      data->delargs = 0;
#endif
    } else {
      data->delargs = 0;
    }
    data->implicitconv = 0;
    return data;
  }
}

SWIGRUNTIME void 
PySwigClientData_Del(PySwigClientData* data)
{
  Py_XDECREF(data->newraw);
  Py_XDECREF(data->newargs);
  Py_XDECREF(data->destroy);
}

/* =============== PySwigObject =====================*/

typedef struct {
  PyObject_HEAD
  void *ptr;
  swig_type_info *ty;
  int own;
  PyObject *next;
} PySwigObject;

SWIGRUNTIME PyObject *
PySwigObject_long(PySwigObject *v)
{
  return PyLong_FromVoidPtr(v->ptr);
}

SWIGRUNTIME PyObject *
PySwigObject_format(const char* fmt, PySwigObject *v)
{
  PyObject *res = NULL;
  PyObject *args = PyTuple_New(1);
  if (args) {
    if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
      PyObject *ofmt = PyString_FromString(fmt);
      if (ofmt) {
	res = PyString_Format(ofmt,args);
	Py_DECREF(ofmt);
      }
      Py_DECREF(args);
    }
  }
  return res;
}

SWIGRUNTIME PyObject *
PySwigObject_oct(PySwigObject *v)
{
  return PySwigObject_format("%o",v);
}

SWIGRUNTIME PyObject *
PySwigObject_hex(PySwigObject *v)
{
  return PySwigObject_format("%x",v);
}

SWIGRUNTIME PyObject *
#ifdef METH_NOARGS
PySwigObject_repr(PySwigObject *v)
#else
PySwigObject_repr(PySwigObject *v, PyObject *args)
#endif
{
  const char *name = SWIG_TypePrettyName(v->ty);
  PyObject *hex = PySwigObject_hex(v);    
  PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
  Py_DECREF(hex);
  if (v->next) {
#ifdef METH_NOARGS
    PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
#else
    PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
#endif
    PyString_ConcatAndDel(&repr,nrep);
  }
  return repr;  
}

SWIGRUNTIME int
PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
{
#ifdef METH_NOARGS
  PyObject *repr = PySwigObject_repr(v);
#else
  PyObject *repr = PySwigObject_repr(v, NULL);
#endif
  if (repr) {
    fputs(PyString_AsString(repr), fp);
    Py_DECREF(repr);
    return 0; 
  } else {
    return 1; 
  }
}

SWIGRUNTIME PyObject *
PySwigObject_str(PySwigObject *v)
{
  char result[SWIG_BUFFER_SIZE];
  return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
    PyString_FromString(result) : 0;
}

SWIGRUNTIME int
PySwigObject_compare(PySwigObject *v, PySwigObject *w)
{
  void *i = v->ptr;
  void *j = w->ptr;
  return (i < j) ? -1 : ((i > j) ? 1 : 0);
}

SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);

SWIGRUNTIME PyTypeObject*
PySwigObject_type(void) {
  static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
  return type;
}

SWIGRUNTIMEINLINE int
PySwigObject_Check(PyObject *op) {
  return ((op)->ob_type == PySwigObject_type())
    || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
}

SWIGRUNTIME PyObject *
PySwigObject_New(void *ptr, swig_type_info *ty, int own);

SWIGRUNTIME void
PySwigObject_dealloc(PyObject *v)
{
  PySwigObject *sobj = (PySwigObject *) v;
  PyObject *next = sobj->next;
  if (sobj->own) {
    swig_type_info *ty = sobj->ty;
    PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
    PyObject *destroy = data ? data->destroy : 0;
    if (destroy) {
      /* destroy is always a VARARGS method */
      PyObject *res;
      if (data->delargs) {
	/* we need to create a temporal object to carry the destroy operation */
	PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
	res = SWIG_Python_CallFunctor(destroy, tmp);
	Py_DECREF(tmp);
      } else {
	PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
	PyObject *mself = PyCFunction_GET_SELF(destroy);
	res = ((*meth)(mself, v));
      }
      Py_XDECREF(res);
    } else {
      const char *name = SWIG_TypePrettyName(ty);
#if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
      printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
#endif
    }
  } 
  Py_XDECREF(next);
  PyObject_DEL(v);
}

SWIGRUNTIME PyObject* 
PySwigObject_append(PyObject* v, PyObject* next)
{
  PySwigObject *sobj = (PySwigObject *) v;
#ifndef METH_O
  PyObject *tmp = 0;
  if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
  next = tmp;
#endif
  if (!PySwigObject_Check(next)) {
    return NULL;
  }
  sobj->next = next;
  Py_INCREF(next);
  return SWIG_Py_Void();
}

SWIGRUNTIME PyObject* 
#ifdef METH_NOARGS
PySwigObject_next(PyObject* v)
#else
PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
#endif
{
  PySwigObject *sobj = (PySwigObject *) v;
  if (sobj->next) {    
    Py_INCREF(sobj->next);
    return sobj->next;
  } else {
    return SWIG_Py_Void();
  }
}

SWIGINTERN PyObject*
#ifdef METH_NOARGS
PySwigObject_disown(PyObject *v)
#else
PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
#endif
{
  PySwigObject *sobj = (PySwigObject *)v;
  sobj->own = 0;
  return SWIG_Py_Void();
}

SWIGINTERN PyObject*
#ifdef METH_NOARGS
PySwigObject_acquire(PyObject *v)
#else
PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
#endif
{
  PySwigObject *sobj = (PySwigObject *)v;
  sobj->own = SWIG_POINTER_OWN;
  return SWIG_Py_Void();
}

SWIGINTERN PyObject*
PySwigObject_own(PyObject *v, PyObject *args)
{
  PyObject *val = 0;
#if (PY_VERSION_HEX < 0x02020000)
  if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
#else
  if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val)) 
#endif
    {
      return NULL;
    } 
  else
    {
      PySwigObject *sobj = (PySwigObject *)v;
      PyObject *obj = PyBool_FromLong(sobj->own);
      if (val) {
#ifdef METH_NOARGS
	if (PyObject_IsTrue(val)) {
	  PySwigObject_acquire(v);
	} else {
	  PySwigObject_disown(v);
	}
#else
	if (PyObject_IsTrue(val)) {
	  PySwigObject_acquire(v,args);
	} else {
	  PySwigObject_disown(v,args);
	}
#endif
      } 
      return obj;
    }
}

#ifdef METH_O
static PyMethodDef
swigobject_methods[] = {
  {(char *)"disown",  (PyCFunction)PySwigObject_disown,  METH_NOARGS,  (char *)"releases ownership of the pointer"},
  {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS,  (char *)"aquires ownership of the pointer"},
  {(char *)"own",     (PyCFunction)PySwigObject_own,     METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
  {(char *)"append",  (PyCFunction)PySwigObject_append,  METH_O,       (char *)"appends another 'this' object"},
  {(char *)"next",    (PyCFunction)PySwigObject_next,    METH_NOARGS,  (char *)"returns the next 'this' object"},
  {(char *)"__repr__",(PyCFunction)PySwigObject_repr,    METH_NOARGS,  (char *)"returns object representation"},
  {0, 0, 0, 0}  
};
#else
static PyMethodDef
swigobject_methods[] = {
  {(char *)"disown",  (PyCFunction)PySwigObject_disown,  METH_VARARGS,  (char *)"releases ownership of the pointer"},
  {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS,  (char *)"aquires ownership of the pointer"},
  {(char *)"own",     (PyCFunction)PySwigObject_own,     METH_VARARGS,  (char *)"returns/sets ownership of the pointer"},
  {(char *)"append",  (PyCFunction)PySwigObject_append,  METH_VARARGS,  (char *)"appends another 'this' object"},
  {(char *)"next",    (PyCFunction)PySwigObject_next,    METH_VARARGS,  (char *)"returns the next 'this' object"},
  {(char *)"__repr__",(PyCFunction)PySwigObject_repr,   METH_VARARGS,  (char *)"returns object representation"},
  {0, 0, 0, 0}  
};
#endif

#if PY_VERSION_HEX < 0x02020000
SWIGINTERN PyObject *
PySwigObject_getattr(PySwigObject *sobj,char *name)
{
  return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
}
#endif

SWIGRUNTIME PyTypeObject*
_PySwigObject_type(void) {
  static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
  
  static PyNumberMethods PySwigObject_as_number = {
    (binaryfunc)0, /*nb_add*/
    (binaryfunc)0, /*nb_subtract*/
    (binaryfunc)0, /*nb_multiply*/
    (binaryfunc)0, /*nb_divide*/
    (binaryfunc)0, /*nb_remainder*/
    (binaryfunc)0, /*nb_divmod*/
    (ternaryfunc)0,/*nb_power*/
    (unaryfunc)0,  /*nb_negative*/
    (unaryfunc)0,  /*nb_positive*/
    (unaryfunc)0,  /*nb_absolute*/
    (inquiry)0,    /*nb_nonzero*/
    0,		   /*nb_invert*/
    0,		   /*nb_lshift*/
    0,		   /*nb_rshift*/
    0,		   /*nb_and*/
    0,		   /*nb_xor*/
    0,		   /*nb_or*/
    (coercion)0,   /*nb_coerce*/
    (unaryfunc)PySwigObject_long, /*nb_int*/
    (unaryfunc)PySwigObject_long, /*nb_long*/
    (unaryfunc)0,                 /*nb_float*/
    (unaryfunc)PySwigObject_oct,  /*nb_oct*/
    (unaryfunc)PySwigObject_hex,  /*nb_hex*/
#if PY_VERSION_HEX >= 0x02020000
    0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */ 
#elif PY_VERSION_HEX >= 0x02000000
    0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
#endif
  };

  static PyTypeObject pyswigobject_type;  
  static int type_init = 0;
  if (!type_init) {
    const PyTypeObject tmp
      = {
	PyObject_HEAD_INIT(NULL)
	0,				    /* ob_size */
	(char *)"PySwigObject",		    /* tp_name */
	sizeof(PySwigObject),		    /* tp_basicsize */
	0,			            /* tp_itemsize */
	(destructor)PySwigObject_dealloc,   /* tp_dealloc */
	(printfunc)PySwigObject_print,	    /* tp_print */
#if PY_VERSION_HEX < 0x02020000
	(getattrfunc)PySwigObject_getattr,  /* tp_getattr */ 
#else
	(getattrfunc)0,			    /* tp_getattr */ 
#endif
	(setattrfunc)0,			    /* tp_setattr */ 
	(cmpfunc)PySwigObject_compare,	    /* tp_compare */ 
	(reprfunc)PySwigObject_repr,	    /* tp_repr */    
	&PySwigObject_as_number,	    /* tp_as_number */
	0,				    /* tp_as_sequence */
	0,				    /* tp_as_mapping */
	(hashfunc)0,			    /* tp_hash */
	(ternaryfunc)0,			    /* tp_call */
	(reprfunc)PySwigObject_str,	    /* tp_str */
	PyObject_GenericGetAttr,            /* tp_getattro */
	0,				    /* tp_setattro */
	0,		                    /* tp_as_buffer */
	Py_TPFLAGS_DEFAULT,	            /* tp_flags */
	swigobject_doc, 	            /* tp_doc */        
	0,                                  /* tp_traverse */
	0,                                  /* tp_clear */
	0,                                  /* tp_richcompare */
	0,                                  /* tp_weaklistoffset */
#if PY_VERSION_HEX >= 0x02020000
	0,                                  /* tp_iter */
	0,                                  /* tp_iternext */
	swigobject_methods,		    /* tp_methods */ 
	0,			            /* tp_members */
	0,				    /* tp_getset */	    	
	0,			            /* tp_base */	        
	0,				    /* tp_dict */	    	
	0,				    /* tp_descr_get */  	
	0,				    /* tp_descr_set */  	
	0,				    /* tp_dictoffset */ 	
	0,				    /* tp_init */	    	
	0,				    /* tp_alloc */	    	
	0,			            /* tp_new */	    	
	0,	                            /* tp_free */	   
        0,                                  /* tp_is_gc */  
	0,				    /* tp_bases */   
	0,				    /* tp_mro */
	0,				    /* tp_cache */   
 	0,				    /* tp_subclasses */
	0,				    /* tp_weaklist */
#endif
#if PY_VERSION_HEX >= 0x02030000
	0,                                  /* tp_del */
#endif
#ifdef COUNT_ALLOCS
	0,0,0,0                             /* tp_alloc -> tp_next */
#endif
      };
    pyswigobject_type = tmp;
    pyswigobject_type.ob_type = &PyType_Type;
    type_init = 1;
  }
  return &pyswigobject_type;
}

SWIGRUNTIME PyObject *
PySwigObject_New(void *ptr, swig_type_info *ty, int own)
{
  PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
  if (sobj) {
    sobj->ptr  = ptr;
    sobj->ty   = ty;
    sobj->own  = own;
    sobj->next = 0;
  }
  return (PyObject *)sobj;
}

/* -----------------------------------------------------------------------------
 * Implements a simple Swig Packed type, and use it instead of string
 * ----------------------------------------------------------------------------- */

typedef struct {
  PyObject_HEAD
  void *pack;
  swig_type_info *ty;
  size_t size;
} PySwigPacked;

SWIGRUNTIME int
PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
{
  char result[SWIG_BUFFER_SIZE];
  fputs("<Swig Packed ", fp); 
  if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
    fputs("at ", fp); 
    fputs(result, fp); 
  }
  fputs(v->ty->name,fp); 
  fputs(">", fp);
  return 0; 
}
  
SWIGRUNTIME PyObject *
PySwigPacked_repr(PySwigPacked *v)
{
  char result[SWIG_BUFFER_SIZE];
  if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
    return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
  } else {
    return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
  }  
}

SWIGRUNTIME PyObject *
PySwigPacked_str(PySwigPacked *v)
{
  char result[SWIG_BUFFER_SIZE];
  if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
    return PyString_FromFormat("%s%s", result, v->ty->name);
  } else {
    return PyString_FromString(v->ty->name);
  }  
}

SWIGRUNTIME int
PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
{
  size_t i = v->size;
  size_t j = w->size;
  int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
  return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
}

SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);

SWIGRUNTIME PyTypeObject*
PySwigPacked_type(void) {
  static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
  return type;
}

SWIGRUNTIMEINLINE int
PySwigPacked_Check(PyObject *op) {
  return ((op)->ob_type == _PySwigPacked_type()) 
    || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
}

SWIGRUNTIME void
PySwigPacked_dealloc(PyObject *v)
{
  if (PySwigPacked_Check(v)) {
    PySwigPacked *sobj = (PySwigPacked *) v;
    free(sobj->pack);
  }
  PyObject_DEL(v);
}

SWIGRUNTIME PyTypeObject*
_PySwigPacked_type(void) {
  static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
  static PyTypeObject pyswigpacked_type;
  static int type_init = 0;  
  if (!type_init) {
    const PyTypeObject tmp
      = {
	PyObject_HEAD_INIT(NULL)
	0,				    /* ob_size */	
	(char *)"PySwigPacked",		    /* tp_name */	
	sizeof(PySwigPacked),		    /* tp_basicsize */	
	0,				    /* tp_itemsize */	
	(destructor)PySwigPacked_dealloc,   /* tp_dealloc */	
	(printfunc)PySwigPacked_print,	    /* tp_print */   	
	(getattrfunc)0,			    /* tp_getattr */ 	
	(setattrfunc)0,			    /* tp_setattr */ 	
	(cmpfunc)PySwigPacked_compare,	    /* tp_compare */ 	
	(reprfunc)PySwigPacked_repr,	    /* tp_repr */    	
	0,	                            /* tp_as_number */	
	0,				    /* tp_as_sequence */
	0,				    /* tp_as_mapping */	
	(hashfunc)0,			    /* tp_hash */	
	(ternaryfunc)0,			    /* tp_call */	
	(reprfunc)PySwigPacked_str,	    /* tp_str */	
	PyObject_GenericGetAttr,            /* tp_getattro */
	0,				    /* tp_setattro */
	0,		                    /* tp_as_buffer */
	Py_TPFLAGS_DEFAULT,	            /* tp_flags */
	swigpacked_doc, 	            /* tp_doc */
	0,                                  /* tp_traverse */
	0,                                  /* tp_clear */
	0,                                  /* tp_richcompare */
	0,                                  /* tp_weaklistoffset */
#if PY_VERSION_HEX >= 0x02020000
	0,                                  /* tp_iter */
	0,                                  /* tp_iternext */
	0,		                    /* tp_methods */ 
	0,			            /* tp_members */
	0,				    /* tp_getset */	    	
	0,			            /* tp_base */	        
	0,				    /* tp_dict */	    	
	0,				    /* tp_descr_get */  	
	0,				    /* tp_descr_set */  	
	0,				    /* tp_dictoffset */ 	
	0,				    /* tp_init */	    	
	0,				    /* tp_alloc */	    	
	0,			            /* tp_new */	    	
	0, 	                            /* tp_free */	   
        0,                                  /* tp_is_gc */  
	0,				    /* tp_bases */   
	0,				    /* tp_mro */
	0,				    /* tp_cache */   
 	0,				    /* tp_subclasses */
	0,				    /* tp_weaklist */
#endif
#if PY_VERSION_HEX >= 0x02030000
	0,                                  /* tp_del */
#endif
#ifdef COUNT_ALLOCS
	0,0,0,0                             /* tp_alloc -> tp_next */
#endif
      };
    pyswigpacked_type = tmp;
    pyswigpacked_type.ob_type = &PyType_Type;
    type_init = 1;
  }
  return &pyswigpacked_type;
}

SWIGRUNTIME PyObject *
PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
{
  PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
  if (sobj) {
    void *pack = malloc(size);
    if (pack) {
      memcpy(pack, ptr, size);
      sobj->pack = pack;
      sobj->ty   = ty;
      sobj->size = size;
    } else {
      PyObject_DEL((PyObject *) sobj);
      sobj = 0;
    }
  }
  return (PyObject *) sobj;
}

SWIGRUNTIME swig_type_info *
PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
{
  if (PySwigPacked_Check(obj)) {
    PySwigPacked *sobj = (PySwigPacked *)obj;
    if (sobj->size != size) return 0;
    memcpy(ptr, sobj->pack, size);
    return sobj->ty;
  } else {
    return 0;
  }
}

/* -----------------------------------------------------------------------------
 * pointers/data manipulation
 * ----------------------------------------------------------------------------- */

SWIGRUNTIMEINLINE PyObject *
_SWIG_This(void)
{
  return PyString_FromString("this");
}

SWIGRUNTIME PyObject *
SWIG_This(void)
{
  static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
  return swig_this;
}

/* #define SWIG_PYTHON_SLOW_GETSET_THIS */

SWIGRUNTIME PySwigObject *
SWIG_Python_GetSwigThis(PyObject *pyobj) 
{
  if (PySwigObject_Check(pyobj)) {
    return (PySwigObject *) pyobj;
  } else {
    PyObject *obj = 0;
#if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
    if (PyInstance_Check(pyobj)) {
      obj = _PyInstance_Lookup(pyobj, SWIG_This());      
    } else {
      PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
      if (dictptr != NULL) {
	PyObject *dict = *dictptr;
	obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
      } else {
#ifdef PyWeakref_CheckProxy
	if (PyWeakref_CheckProxy(pyobj)) {
	  PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
	  return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
	}
#endif
	obj = PyObject_GetAttr(pyobj,SWIG_This());
	if (obj) {
	  Py_DECREF(obj);
	} else {
	  if (PyErr_Occurred()) PyErr_Clear();
	  return 0;
	}
      }
    }
#else
    obj = PyObject_GetAttr(pyobj,SWIG_This());
    if (obj) {
      Py_DECREF(obj);
    } else {
      if (PyErr_Occurred()) PyErr_Clear();
      return 0;
    }
#endif
    if (obj && !PySwigObject_Check(obj)) {
      /* a PyObject is called 'this', try to get the 'real this'
	 PySwigObject from it */ 
      return SWIG_Python_GetSwigThis(obj);
    }
    return (PySwigObject *)obj;
  }
}

/* Acquire a pointer value */

SWIGRUNTIME int
SWIG_Python_AcquirePtr(PyObject *obj, int own) {
  if (own) {
    PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
    if (sobj) {
      int oldown = sobj->own;
      sobj->own = own;
      return oldown;
    }
  }
  return 0;
}

/* Convert a pointer value */

SWIGRUNTIME int
SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
  if (!obj) return SWIG_ERROR;
  if (obj == Py_None) {
    if (ptr) *ptr = 0;
    return SWIG_OK;
  } else {
    PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
    while (sobj) {
      void *vptr = sobj->ptr;
      if (ty) {
	swig_type_info *to = sobj->ty;
	if (to == ty) {
	  /* no type cast needed */
	  if (ptr) *ptr = vptr;
	  break;
	} else {
	  swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
	  if (!tc) {
	    sobj = (PySwigObject *)sobj->next;
	  } else {
	    if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
	    break;
	  }
	}
      } else {
	if (ptr) *ptr = vptr;
	break;
      }
    }
    if (sobj) {
      if (own) *own = sobj->own;
      if (flags & SWIG_POINTER_DISOWN) {
	sobj->own = 0;
      }
      return SWIG_OK;
    } else {
      int res = SWIG_ERROR;
      if (flags & SWIG_POINTER_IMPLICIT_CONV) {
	PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
	if (data && !data->implicitconv) {
	  PyObject *klass = data->klass;
	  if (klass) {
	    PyObject *impconv;
	    data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
	    impconv = SWIG_Python_CallFunctor(klass, obj);
	    data->implicitconv = 0;
	    if (PyErr_Occurred()) {
	      PyErr_Clear();
	      impconv = 0;
	    }
	    if (impconv) {
	      PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
	      if (iobj) {
		void *vptr;
		res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
		if (SWIG_IsOK(res)) {
		  if (ptr) {
		    *ptr = vptr;
		    /* transfer the ownership to 'ptr' */
		    iobj->own = 0;
		    res = SWIG_AddCast(res);
		    res = SWIG_AddNewMask(res);
		  } else {
		    res = SWIG_AddCast(res);		    
		  }
		}
	      }
	      Py_DECREF(impconv);
	    }
	  }
	}
      }
      return res;
    }
  }
}

/* Convert a function ptr value */

SWIGRUNTIME int
SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
  if (!PyCFunction_Check(obj)) {
    return SWIG_ConvertPtr(obj, ptr, ty, 0);
  } else {
    void *vptr = 0;
    
    /* here we get the method pointer for callbacks */
    const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
    const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
    if (desc) {
      desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
      if (!desc) return SWIG_ERROR;
    }
    if (ty) {
      swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
      if (!tc) return SWIG_ERROR;
      *ptr = SWIG_TypeCast(tc,vptr);
    } else {
      *ptr = vptr;
    }
    return SWIG_OK;
  }
}

/* Convert a packed value value */

SWIGRUNTIME int
SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
  swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
  if (!to) return SWIG_ERROR;
  if (ty) {
    if (to != ty) {
      /* check type cast? */
      swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
      if (!tc) return SWIG_ERROR;
    }
  }
  return SWIG_OK;
}  

/* -----------------------------------------------------------------------------
 * Create a new pointer object
 * ----------------------------------------------------------------------------- */

/*
  Create a new instance object, whitout calling __init__, and set the
  'this' attribute.
*/

SWIGRUNTIME PyObject* 
SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
{
#if (PY_VERSION_HEX >= 0x02020000)
  PyObject *inst = 0;
  PyObject *newraw = data->newraw;
  if (newraw) {
    inst = PyObject_Call(newraw, data->newargs, NULL);
    if (inst) {
#if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
      PyObject **dictptr = _PyObject_GetDictPtr(inst);
      if (dictptr != NULL) {
	PyObject *dict = *dictptr;
	if (dict == NULL) {
	  dict = PyDict_New();
	  *dictptr = dict;
	  PyDict_SetItem(dict, SWIG_This(), swig_this);
	}
      }
#else
      PyObject *key = SWIG_This();
      PyObject_SetAttr(inst, key, swig_this);
#endif
    }
  } else {
    PyObject *dict = PyDict_New();
    PyDict_SetItem(dict, SWIG_This(), swig_this);
    inst = PyInstance_NewRaw(data->newargs, dict);
    Py_DECREF(dict);
  }
  return inst;
#else
#if (PY_VERSION_HEX >= 0x02010000)
  PyObject *inst;
  PyObject *dict = PyDict_New();
  PyDict_SetItem(dict, SWIG_This(), swig_this);
  inst = PyInstance_NewRaw(data->newargs, dict);
  Py_DECREF(dict);
  return (PyObject *) inst;
#else
  PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
  if (inst == NULL) {
    return NULL;
  }
  inst->in_class = (PyClassObject *)data->newargs;
  Py_INCREF(inst->in_class);
  inst->in_dict = PyDict_New();
  if (inst->in_dict == NULL) {
    Py_DECREF(inst);
    return NULL;
  }
#ifdef Py_TPFLAGS_HAVE_WEAKREFS
  inst->in_weakreflist = NULL;
#endif
#ifdef Py_TPFLAGS_GC
  PyObject_GC_Init(inst);
#endif
  PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
  return (PyObject *) inst;
#endif
#endif
}

SWIGRUNTIME void
SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
{
 PyObject *dict;
#if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
 PyObject **dictptr = _PyObject_GetDictPtr(inst);
 if (dictptr != NULL) {
   dict = *dictptr;
   if (dict == NULL) {
     dict = PyDict_New();
     *dictptr = dict;
   }
   PyDict_SetItem(dict, SWIG_This(), swig_this);
   return;
 }
#endif
 dict = PyObject_GetAttrString(inst, "__dict__");
 PyDict_SetItem(dict, SWIG_This(), swig_this);
 Py_DECREF(dict);
} 


SWIGINTERN PyObject *
SWIG_Python_InitShadowInstance(PyObject *args) {
  PyObject *obj[2];
  if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
    return NULL;
  } else {
    PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
    if (sthis) {
      PySwigObject_append((PyObject*) sthis, obj[1]);
    } else {
      SWIG_Python_SetSwigThis(obj[0], obj[1]);
    }
    return SWIG_Py_Void();
  }
}

/* Create a new pointer object */

SWIGRUNTIME PyObject *
SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
  if (!ptr) {
    return SWIG_Py_Void();
  } else {
    int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
    PyObject *robj = PySwigObject_New(ptr, type, own);
    PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
    if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
      PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
      if (inst) {
	Py_DECREF(robj);
	robj = inst;
      }
    }
    return robj;
  }
}

/* Create a new packed object */

SWIGRUNTIMEINLINE PyObject *
SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
  return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
}

/* -----------------------------------------------------------------------------*
 *  Get type list 
 * -----------------------------------------------------------------------------*/

#ifdef SWIG_LINK_RUNTIME
void *SWIG_ReturnGlobalTypeList(void *);
#endif

SWIGRUNTIME swig_module_info *
SWIG_Python_GetModule(void) {
  static void *type_pointer = (void *)0;
  /* first check if module already created */
  if (!type_pointer) {
#ifdef SWIG_LINK_RUNTIME
    type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
#else
    type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
				    (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
    if (PyErr_Occurred()) {
      PyErr_Clear();
      type_pointer = (void *)0;
    }
#endif
  }
  return (swig_module_info *) type_pointer;
}

#if PY_MAJOR_VERSION < 2
/* PyModule_AddObject function was introduced in Python 2.0.  The following function
   is copied out of Python/modsupport.c in python version 2.3.4 */
SWIGINTERN int
PyModule_AddObject(PyObject *m, char *name, PyObject *o)
{
  PyObject *dict;
  if (!PyModule_Check(m)) {
    PyErr_SetString(PyExc_TypeError,
		    "PyModule_AddObject() needs module as first arg");
    return SWIG_ERROR;
  }
  if (!o) {
    PyErr_SetString(PyExc_TypeError,
		    "PyModule_AddObject() needs non-NULL value");
    return SWIG_ERROR;
  }
  
  dict = PyModule_GetDict(m);
  if (dict == NULL) {
    /* Internal error -- modules must have a dict! */
    PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
		 PyModule_GetName(m));
    return SWIG_ERROR;
  }
  if (PyDict_SetItemString(dict, name, o))
    return SWIG_ERROR;
  Py_DECREF(o);
  return SWIG_OK;
}
#endif

SWIGRUNTIME void
SWIG_Python_DestroyModule(void *vptr)
{
  swig_module_info *swig_module = (swig_module_info *) vptr;
  swig_type_info **types = swig_module->types;
  size_t i;
  for (i =0; i < swig_module->size; ++i) {
    swig_type_info *ty = types[i];
    if (ty->owndata) {
      PySwigClientData *data = (PySwigClientData *) ty->clientdata;
      if (data) PySwigClientData_Del(data);
    }
  }
  Py_DECREF(SWIG_This());
}

SWIGRUNTIME void
SWIG_Python_SetModule(swig_module_info *swig_module) {
  static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */

  PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
				   swig_empty_runtime_method_table);
  PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
  if (pointer && module) {
    PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
  } else {
    Py_XDECREF(pointer);
  }
}

/* The python cached type query */
SWIGRUNTIME PyObject *
SWIG_Python_TypeCache() {
  static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
  return cache;
}

SWIGRUNTIME swig_type_info *
SWIG_Python_TypeQuery(const char *type)
{
  PyObject *cache = SWIG_Python_TypeCache();
  PyObject *key = PyString_FromString(type); 
  PyObject *obj = PyDict_GetItem(cache, key);
  swig_type_info *descriptor;
  if (obj) {
    descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
  } else {
    swig_module_info *swig_module = SWIG_Python_GetModule();
    descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
    if (descriptor) {
      obj = PyCObject_FromVoidPtr(descriptor, NULL);
      PyDict_SetItem(cache, key, obj);
      Py_DECREF(obj);
    }
  }
  Py_DECREF(key);
  return descriptor;
}

/* 
   For backward compatibility only
*/
#define SWIG_POINTER_EXCEPTION  0
#define SWIG_arg_fail(arg)      SWIG_Python_ArgFail(arg)
#define SWIG_MustGetPtr(p, type, argnum, flags)  SWIG_Python_MustGetPtr(p, type, argnum, flags)

SWIGRUNTIME int
SWIG_Python_AddErrMesg(const char* mesg, int infront)
{
  if (PyErr_Occurred()) {
    PyObject *type = 0;
    PyObject *value = 0;
    PyObject *traceback = 0;
    PyErr_Fetch(&type, &value, &traceback);
    if (value) {
      PyObject *old_str = PyObject_Str(value);
      Py_XINCREF(type);
      PyErr_Clear();
      if (infront) {
	PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
      } else {
	PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
      }
      Py_DECREF(old_str);
    }
    return 1;
  } else {
    return 0;
  }
}
  
SWIGRUNTIME int
SWIG_Python_ArgFail(int argnum)
{
  if (PyErr_Occurred()) {
    /* add information about failing argument */
    char mesg[256];
    PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
    return SWIG_Python_AddErrMesg(mesg, 1);
  } else {
    return 0;
  }
}

SWIGRUNTIMEINLINE const char *
PySwigObject_GetDesc(PyObject *self)
{
  PySwigObject *v = (PySwigObject *)self;
  swig_type_info *ty = v ? v->ty : 0;
  return ty ? ty->str : (char*)"";
}

SWIGRUNTIME void
SWIG_Python_TypeError(const char *type, PyObject *obj)
{
  if (type) {
#if defined(SWIG_COBJECT_TYPES)
    if (obj && PySwigObject_Check(obj)) {
      const char *otype = (const char *) PySwigObject_GetDesc(obj);
      if (otype) {
	PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
		     type, otype);
	return;
      }
    } else 
#endif      
    {
      const char *otype = (obj ? obj->ob_type->tp_name : 0); 
      if (otype) {
	PyObject *str = PyObject_Str(obj);
	const char *cstr = str ? PyString_AsString(str) : 0;
	if (cstr) {
	  PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
		       type, otype, cstr);
	} else {
	  PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
		       type, otype);
	}
	Py_XDECREF(str);
	return;
      }
    }   
    PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
  } else {
    PyErr_Format(PyExc_TypeError, "unexpected type is received");
  }
}


/* Convert a pointer value, signal an exception on a type mismatch */
SWIGRUNTIME void *
SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
  void *result;
  if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
    PyErr_Clear();
    if (flags & SWIG_POINTER_EXCEPTION) {
      SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
      SWIG_Python_ArgFail(argnum);
    }
  }
  return result;
}


#ifdef __cplusplus
#if 0
{ /* cc-mode */
#endif
}
#endif



#define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0) 

#define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else 



/* -------- TYPES TABLE (BEGIN) -------- */

#define SWIGTYPE_p_PyDataViewIndexListModel swig_types[0]
#define SWIGTYPE_p_PyDataViewVirtualListModel swig_types[1]
#define SWIGTYPE_p_PyLong swig_types[2]
#define SWIGTYPE_p_char swig_types[3]
#define SWIGTYPE_p_double swig_types[4]
#define SWIGTYPE_p_int swig_types[5]
#define SWIGTYPE_p_p_wxDataViewColumn swig_types[6]
#define SWIGTYPE_p_unsigned_char swig_types[7]
#define SWIGTYPE_p_unsigned_int swig_types[8]
#define SWIGTYPE_p_unsigned_long swig_types[9]
#define SWIGTYPE_p_void swig_types[10]
#define SWIGTYPE_p_wxANIHandler swig_types[11]
#define SWIGTYPE_p_wxAcceleratorTable swig_types[12]
#define SWIGTYPE_p_wxActivateEvent swig_types[13]
#define SWIGTYPE_p_wxArrayInt swig_types[14]
#define SWIGTYPE_p_wxArrayString swig_types[15]
#define SWIGTYPE_p_wxBMPHandler swig_types[16]
#define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
#define SWIGTYPE_p_wxBookCtrlEvent swig_types[18]
#define SWIGTYPE_p_wxBoxSizer swig_types[19]
#define SWIGTYPE_p_wxCURHandler swig_types[20]
#define SWIGTYPE_p_wxChildFocusEvent swig_types[21]
#define SWIGTYPE_p_wxClientData swig_types[22]
#define SWIGTYPE_p_wxClipboardTextEvent swig_types[23]
#define SWIGTYPE_p_wxCloseEvent swig_types[24]
#define SWIGTYPE_p_wxColour swig_types[25]
#define SWIGTYPE_p_wxCommandEvent swig_types[26]
#define SWIGTYPE_p_wxContextMenuEvent swig_types[27]
#define SWIGTYPE_p_wxControl swig_types[28]
#define SWIGTYPE_p_wxControlWithItems swig_types[29]
#define SWIGTYPE_p_wxDC swig_types[30]
#define SWIGTYPE_p_wxDataFormat swig_types[31]
#define SWIGTYPE_p_wxDataObject swig_types[32]
#define SWIGTYPE_p_wxDataViewBitmapRenderer swig_types[33]
#define SWIGTYPE_p_wxDataViewChoiceRenderer swig_types[34]
#define SWIGTYPE_p_wxDataViewColumn swig_types[35]
#define SWIGTYPE_p_wxDataViewCtrl swig_types[36]
#define SWIGTYPE_p_wxDataViewCustomRenderer swig_types[37]
#define SWIGTYPE_p_wxDataViewDateRenderer swig_types[38]
#define SWIGTYPE_p_wxDataViewEvent swig_types[39]
#define SWIGTYPE_p_wxDataViewIconText swig_types[40]
#define SWIGTYPE_p_wxDataViewIconTextRenderer swig_types[41]
#define SWIGTYPE_p_wxDataViewIndexListModel swig_types[42]
#define SWIGTYPE_p_wxDataViewItem swig_types[43]
#define SWIGTYPE_p_wxDataViewItemArray swig_types[44]
#define SWIGTYPE_p_wxDataViewItemArray_iterator swig_types[45]
#define SWIGTYPE_p_wxDataViewItemAttr swig_types[46]
#define SWIGTYPE_p_wxDataViewListCtrl swig_types[47]
#define SWIGTYPE_p_wxDataViewListStore swig_types[48]
#define SWIGTYPE_p_wxDataViewModel swig_types[49]
#define SWIGTYPE_p_wxDataViewModelNotifier swig_types[50]
#define SWIGTYPE_p_wxDataViewProgressRenderer swig_types[51]
#define SWIGTYPE_p_wxDataViewRenderer swig_types[52]
#define SWIGTYPE_p_wxDataViewSpinRenderer swig_types[53]
#define SWIGTYPE_p_wxDataViewTextRenderer swig_types[54]
#define SWIGTYPE_p_wxDataViewToggleRenderer swig_types[55]
#define SWIGTYPE_p_wxDataViewTreeCtrl swig_types[56]
#define SWIGTYPE_p_wxDataViewTreeStore swig_types[57]
#define SWIGTYPE_p_wxDataViewTreeStoreContainerNode swig_types[58]
#define SWIGTYPE_p_wxDataViewTreeStoreNode swig_types[59]
#define SWIGTYPE_p_wxDataViewTreeStoreNodeList swig_types[60]
#define SWIGTYPE_p_wxDataViewTreeStoreNodeList_iterator swig_types[61]
#define SWIGTYPE_p_wxDataViewVirtualListModel swig_types[62]
#define SWIGTYPE_p_wxDateEvent swig_types[63]
#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[64]
#define SWIGTYPE_p_wxDropFilesEvent swig_types[65]
#define SWIGTYPE_p_wxDuplexMode swig_types[66]
#define SWIGTYPE_p_wxEraseEvent swig_types[67]
#define SWIGTYPE_p_wxEvent swig_types[68]
#define SWIGTYPE_p_wxEventBlocker swig_types[69]
#define SWIGTYPE_p_wxEvtHandler swig_types[70]
#define SWIGTYPE_p_wxFSFile swig_types[71]
#define SWIGTYPE_p_wxFileSystem swig_types[72]
#define SWIGTYPE_p_wxFlexGridSizer swig_types[73]
#define SWIGTYPE_p_wxFocusEvent swig_types[74]
#define SWIGTYPE_p_wxFont swig_types[75]
#define SWIGTYPE_p_wxGBSizerItem swig_types[76]
#define SWIGTYPE_p_wxGIFHandler swig_types[77]
#define SWIGTYPE_p_wxGridBagSizer swig_types[78]
#define SWIGTYPE_p_wxGridSizer swig_types[79]
#define SWIGTYPE_p_wxHeaderColumn swig_types[80]
#define SWIGTYPE_p_wxHeaderColumnSimple swig_types[81]
#define SWIGTYPE_p_wxICOHandler swig_types[82]
#define SWIGTYPE_p_wxIcon swig_types[83]
#define SWIGTYPE_p_wxIconizeEvent swig_types[84]
#define SWIGTYPE_p_wxIdleEvent swig_types[85]
#define SWIGTYPE_p_wxImage swig_types[86]
#define SWIGTYPE_p_wxImageHandler swig_types[87]
#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[88]
#define SWIGTYPE_p_wxInitDialogEvent swig_types[89]
#define SWIGTYPE_p_wxJPEGHandler swig_types[90]
#define SWIGTYPE_p_wxKeyEvent swig_types[91]
#define SWIGTYPE_p_wxLayoutConstraints swig_types[92]
#define SWIGTYPE_p_wxMaximizeEvent swig_types[93]
#define SWIGTYPE_p_wxMenu swig_types[94]
#define SWIGTYPE_p_wxMenuBar swig_types[95]
#define SWIGTYPE_p_wxMenuEvent swig_types[96]
#define SWIGTYPE_p_wxMenuItem swig_types[97]
#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[98]
#define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[99]
#define SWIGTYPE_p_wxMouseEvent swig_types[100]
#define SWIGTYPE_p_wxMoveEvent swig_types[101]
#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[102]
#define SWIGTYPE_p_wxNcPaintEvent swig_types[103]
#define SWIGTYPE_p_wxNotifyEvent swig_types[104]
#define SWIGTYPE_p_wxObject swig_types[105]
#define SWIGTYPE_p_wxPCXHandler swig_types[106]
#define SWIGTYPE_p_wxPNGHandler swig_types[107]
#define SWIGTYPE_p_wxPNMHandler swig_types[108]
#define SWIGTYPE_p_wxPaintEvent swig_types[109]
#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[110]
#define SWIGTYPE_p_wxPaperSize swig_types[111]
#define SWIGTYPE_p_wxPoint swig_types[112]
#define SWIGTYPE_p_wxPyApp swig_types[113]
#define SWIGTYPE_p_wxPyCommandEvent swig_types[114]
#define SWIGTYPE_p_wxPyDataViewCustomRenderer swig_types[115]
#define SWIGTYPE_p_wxPyDataViewModel swig_types[116]
#define SWIGTYPE_p_wxPyDataViewModelNotifier swig_types[117]
#define SWIGTYPE_p_wxPyEvent swig_types[118]
#define SWIGTYPE_p_wxPyEvtHandler swig_types[119]
#define SWIGTYPE_p_wxPyImageHandler swig_types[120]
#define SWIGTYPE_p_wxPySizer swig_types[121]
#define SWIGTYPE_p_wxPyValidator swig_types[122]
#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[123]
#define SWIGTYPE_p_wxRect swig_types[124]
#define SWIGTYPE_p_wxRefCounter swig_types[125]
#define SWIGTYPE_p_wxScrollEvent swig_types[126]
#define SWIGTYPE_p_wxScrollWinEvent swig_types[127]
#define SWIGTYPE_p_wxSetCursorEvent swig_types[128]
#define SWIGTYPE_p_wxSettableHeaderColumn swig_types[129]
#define SWIGTYPE_p_wxShowEvent swig_types[130]
#define SWIGTYPE_p_wxSize swig_types[131]
#define SWIGTYPE_p_wxSizeEvent swig_types[132]
#define SWIGTYPE_p_wxSizer swig_types[133]
#define SWIGTYPE_p_wxSizerItem swig_types[134]
#define SWIGTYPE_p_wxStaticBoxSizer swig_types[135]
#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[136]
#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[137]
#define SWIGTYPE_p_wxTGAHandler swig_types[138]
#define SWIGTYPE_p_wxTIFFHandler swig_types[139]
#define SWIGTYPE_p_wxTextCtrlBase swig_types[140]
#define SWIGTYPE_p_wxThreadEvent swig_types[141]
#define SWIGTYPE_p_wxUpdateUIEvent swig_types[142]
#define SWIGTYPE_p_wxValidator swig_types[143]
#define SWIGTYPE_p_wxVariant swig_types[144]
#define SWIGTYPE_p_wxVariantVector swig_types[145]
#define SWIGTYPE_p_wxVisualAttributes swig_types[146]
#define SWIGTYPE_p_wxWindow swig_types[147]
#define SWIGTYPE_p_wxWindowCreateEvent swig_types[148]
#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[149]
#define SWIGTYPE_p_wxWithImages swig_types[150]
#define SWIGTYPE_p_wxWrapSizer swig_types[151]
#define SWIGTYPE_p_wxXPMHandler swig_types[152]
static swig_type_info *swig_types[154];
static swig_module_info swig_module = {swig_types, 153, 0, 0, 0, 0};
#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)

/* -------- TYPES TABLE (END) -------- */

#if (PY_VERSION_HEX <= 0x02000000)
# if !defined(SWIG_PYTHON_CLASSIC)
#  error "This python version requires to use swig with the '-classic' option"
# endif
#endif
#if (PY_VERSION_HEX <= 0x02020000)
# error "This python version requires to use swig with the '-nomodern' option"
#endif
#if (PY_VERSION_HEX <= 0x02020000)
# error "This python version requires to use swig with the '-nomodernargs' option"
#endif
#ifndef METH_O
# error "This python version requires to use swig with the '-nofastunpack' option"
#endif

/*-----------------------------------------------
              @(target):= _dataview.so
  ------------------------------------------------*/
#define SWIG_init    init_dataview

#define SWIG_name    "_dataview"

#define SWIGVERSION 0x010329 


#define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a)) 
#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a)) 


#include <stdexcept>


namespace swig {
  class PyObject_ptr {
  protected:
    PyObject *_obj;

  public:
    PyObject_ptr() :_obj(0)
    {
    }

    PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
    {
      Py_XINCREF(_obj);      
    }
    
    PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
    {
      if (initial_ref) Py_XINCREF(_obj);
    }
    
    PyObject_ptr & operator=(const PyObject_ptr& item) 
    {
      Py_XINCREF(item._obj);
      Py_XDECREF(_obj);
      _obj = item._obj;
      return *this;      
    }
    
    ~PyObject_ptr() 
    {
      Py_XDECREF(_obj);
    }
    
    operator PyObject *() const
    {
      return _obj;
    }

    PyObject *operator->() const
    {
      return _obj;
    }
  };
}


namespace swig {
  struct PyObject_var : PyObject_ptr {
    PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
    
    PyObject_var & operator = (PyObject* obj)
    {
      Py_XDECREF(_obj);
      _obj = obj;
      return *this;      
    }
  };
}


#include "wx/wxPython/wxPython.h"
#include "wx/wxPython/pyclasses.h"
#include "wx/wxPython/printfw.h"

#include <wx/dataview.h>

 static const wxString wxPyEmptyString(wxEmptyString); 
 static const wxString wxPyDataViewCtrlNameStr(wxDataViewCtrlNameStr); 

  #define SWIG_From_long   PyInt_FromLong 


SWIGINTERNINLINE PyObject *
SWIG_From_int  (int value)
{    
  return SWIG_From_long  (value);
}



wxVariant wxDVCVariant_in_helper(PyObject* source)
{
    wxVariant ret;

    if (wxPySimple_typecheck(source, wxT("wxDataViewIconText"), -1)) {
        wxDataViewIconText* ptr;
        wxPyConvertSwigPtr(source, (void**)&ptr, wxT("wxDataViewIconText"));
        ret << *ptr;
    }  
    else
        ret = wxVariant_in_helper(source);
    return ret;
}

PyObject* wxDVCVariant_out_helper(const wxVariant& value)
{
    PyObject* ret;

    if ( value.IsType("wxDataViewIconText") )
    {
        wxDataViewIconText val;
        val << value;
        ret = wxPyConstructObject(new wxDataViewIconText(val), wxT("wxDataViewIconText"), 0);
    }
    else
        ret = wxVariant_out_helper(value);
    return ret;
}



#define PYCALLBACK_BOOL_DVIDVI_pure(PCLASS, CBNAME)                             \
    bool CBNAME(const wxDataViewItem &a, const wxDataViewItem &b) {             \
        bool rval = false;                                                      \
        bool found;                                                             \
        wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \
        if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) {                \
            PyObject* ao = wxPyConstructObject((void*)&a, wxT("wxDataViewItem"), 0); \
            PyObject* bo = wxPyConstructObject((void*)&b, wxT("wxDataViewItem"), 0); \
            rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", ao, bo)); \
            Py_DECREF(ao);                                                      \
            Py_DECREF(bo);                                                      \
        }                                                                       \
        else {                                                                  \
            PyErr_SetString(PyExc_NotImplementedError,                          \
              "The " #CBNAME " method should be implemented in derived class"); \
        }                                                                       \
        wxPyEndBlockThreads(blocked);                                           \
        return rval;                                                            \
    }


#define PYCALLBACK_BOOL_DVI(PCLASS, CBNAME)                                     \
    bool CBNAME(const wxDataViewItem &a) {                                      \
        bool rval = false;                                                      \
        bool found;                                                             \
        wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \
        if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) {                \
            PyObject* ao = wxPyConstructObject((void*)&a, wxT("wxDataViewItem"), 0); \
            rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", ao));    \
            Py_DECREF(ao);                                                      \
        }                                                                       \
        wxPyEndBlockThreads(blocked);                                           \
        if (! found)                                                            \
            rval = PCLASS::CBNAME(a);                                           \
        return rval;                                                            \
    }


#define PYCALLBACK_BOOL_DVIRECT(PCLASS, CBNAME)                                 \
    bool CBNAME(const wxDataViewItem &a, wxRect b) {                            \
        bool rval = false;                                                      \
        bool found;                                                             \
        wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \
        if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) {                \
            PyObject* ao = wxPyConstructObject((void*)&a, wxT("wxDataViewItem"), 0); \
            PyObject* bo = wxPyConstructObject((void*)&b, wxT("wxRect"), 0);    \
            rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", ao, bo));\
            Py_DECREF(ao);                                                      \
            Py_DECREF(bo);                                                      \
        }                                                                       \
        wxPyEndBlockThreads(blocked);                                           \
        if (! found)                                                            \
            rval = PCLASS::CBNAME(a, b);                                        \
        return rval;                                                            \
    }


#define PYCALLBACK_BOOL_DVI_pure(PCLASS, CBNAME)                                \
    bool CBNAME(const wxDataViewItem &a) {                                      \
        bool rval = false;                                                      \
        bool found;                                                             \
        wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \
        if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) {                \
            PyObject* ao = wxPyConstructObject((void*)&a, wxT("wxDataViewItem"), 0); \
            rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", ao));    \
            Py_DECREF(ao);                                                      \
        }                                                                       \
        else {                                                                  \
            PyErr_SetString(PyExc_NotImplementedError,                          \
              "The " #CBNAME " method should be implemented in derived class"); \
        }                                                                       \
        wxPyEndBlockThreads(blocked);                                           \
        return rval;                                                            \
    }


#define PYCALLBACK_BOOL_DVI_pure_const(PCLASS, CBNAME)                          \
    bool CBNAME(const wxDataViewItem &a) const {                                \
        bool rval = false;                                                      \
        bool found;                                                             \
        wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \
        if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) {                \
            PyObject* ao = wxPyConstructObject((void*)&a, wxT("wxDataViewItem"), 0); \
            rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", ao));    \
            Py_DECREF(ao);                                                      \
        }                                                                       \
        else {                                                                  \
            PyErr_SetString(PyExc_NotImplementedError,                          \
              "The " #CBNAME " method should be implemented in derived class"); \
        }                                                                       \
        wxPyEndBlockThreads(blocked);                                           \
        return rval;                                                            \
    }


#define PYCALLBACK_BOOL_DVI_const(PCLASS, CBNAME)                               \
    bool CBNAME(const wxDataViewItem &a) const {                                \
        bool rval = false;                                                      \
        bool found;                                                             \
        wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \
        if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) {                \
            PyObject* ao = wxPyConstructObject((void*)&a, wxT("wxDataViewItem"), 0); \
            rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", ao));    \
            Py_DECREF(ao);                                                      \
        }                                                                       \
        wxPyEndBlockThreads(blocked);                                           \
        if (! found)                                                            \
            rval = PCLASS::CBNAME(a);                                           \
        return rval;                                                            \
    }


#define PYCALLBACK_BOOL_DVIDVIA(PCLASS, CBNAME)                                 \
    bool CBNAME(const wxDataViewItem &a, const wxDataViewItemArray &b) {        \
        bool rval = false;                                                      \
        bool found;                                                             \
        wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \
        if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) {                \
            PyObject* ao = wxPyConstructObject((void*)&a, wxT("wxDataViewItem"), 0); \
            PyObject* bo = wxPyConstructObject((void*)&b, wxT("wxDataViewItemArray"), 0); \
            rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", ao, bo)); \
            Py_DECREF(ao);                                                      \
            Py_DECREF(bo);                                                      \
        }                                                                       \
        wxPyEndBlockThreads(blocked);                                           \
        if (! found)                                                            \
            rval = PCLASS::CBNAME(a, b);                                        \
        return rval;                                                            \
    }


#define PYCALLBACK_UINT_DVIDVIA_pure_const(PCLASS, CBNAME)                      \
    unsigned int CBNAME(const wxDataViewItem &a, wxDataViewItemArray &b) const { \
        unsigned int rval;                                                      \
        bool found;                                                             \
        wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \
        if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) {                \
            PyObject* ao = wxPyConstructObject((void*)&a, wxT("wxDataViewItem"), 0); \
            PyObject* bo = wxPyConstructObject((void*)&b, wxT("wxDataViewItemArray"), 0); \
            rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", ao, bo)); \
            Py_DECREF(ao);                                                      \
            Py_DECREF(bo);                                                      \
        }                                                                       \
        else {                                                                  \
            PyErr_SetString(PyExc_NotImplementedError,                          \
              "The " #CBNAME " method should be implemented in derived class"); \
        }                                                                       \
        wxPyEndBlockThreads(blocked);                                           \
        return rval;                                                            \
    }


#define PYCALLBACK_UINT_DVIDVIA_const(PCLASS, CBNAME)                           \
    unsigned int CBNAME(const wxDataViewItem &a, wxDataViewItemArray &b) const { \
        unsigned int rval;                                                      \
        bool found;                                                             \
        wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \
        if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) {                \
            PyObject* ao = wxPyConstructObject((void*)&a, wxT("wxDataViewItem"), 0); \
            PyObject* bo = wxPyConstructObject((void*)&b, wxT("wxDataViewItemArray"), 0); \
            rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", ao, bo)); \
            Py_DECREF(ao);                                                      \
            Py_DECREF(bo);                                                      \
        }                                                                       \
        wxPyEndBlockThreads(blocked);                                           \
        if (! found)                                                            \
            rval = PCLASS::CBNAME(a, b);                                        \
        return rval;                                                            \
    }


#define PYCALLBACK_BOOL_DVIA(PCLASS, CBNAME)                                    \
    bool CBNAME(const wxDataViewItemArray &a) {                                 \
        bool rval = false;                                                      \
        bool found;                                                             \
        wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \
        if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) {                \
            PyObject* ao = wxPyConstructObject((void*)&a, wxT("wxDataViewItemArray"), 0); \
            rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", ao));    \
            Py_DECREF(ao);                                                      \
        }                                                                       \
        wxPyEndBlockThreads(blocked);                                           \
        if (! found)                                                            \
            rval = PCLASS::CBNAME(a);                                           \
        return rval;                                                            \
    }



#define PYCALLBACK_BOOL_DVIUINT_pure(PCLASS, CBNAME)                            \
    bool CBNAME(const wxDataViewItem &a, unsigned int b) {                      \
        bool rval = false;                                                      \
        bool found;                                                             \
        wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \
        if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) {                \
            PyObject* ao = wxPyConstructObject((void*)&a, wxT("wxDataViewItem"), 0); \
            rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", ao, b));\
            Py_DECREF(ao);                                                      \
        }                                                                       \
        else {                                                                  \
            PyErr_SetString(PyExc_NotImplementedError,                          \
              "The " #CBNAME " method should be implemented in derived class"); \
        }                                                                       \
        wxPyEndBlockThreads(blocked);                                           \
        return rval;                                                            \
    }


#define PYCALLBACK_VOID__pure(PCLASS, CBNAME)                                   \
    void CBNAME() {                                                             \
        bool found;                                                             \
        wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \
        if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME)))                  \
            wxPyCBH_callCallback(m_myInst, Py_BuildValue("()"));                \
        else {                                                                  \
            PyErr_SetString(PyExc_NotImplementedError,                          \
              "The " #CBNAME " method should be implemented in derived class"); \
        }                                                                       \
        wxPyEndBlockThreads(blocked);                                           \
    }


#define PYCALLBACK_VOID_(PCLASS, CBNAME)                                        \
    void CBNAME() {                                                             \
        bool found;                                                             \
        wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \
        if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME)))                  \
            wxPyCBH_callCallback(m_myInst, Py_BuildValue("()"));                \
        wxPyEndBlockThreads(blocked);                                           \
        if (!found)                                                             \
            PCLASS::CBNAME();                                                   \
    }


#define PYCALLBACK_BOOL__pure(PCLASS, CBNAME)                                   \
    bool CBNAME() {                                                             \
        bool found;                                                             \
        bool rval = false;                                                      \
        wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \
        if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME)))                  \
            rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()"));         \
        else {                                                                  \
            PyErr_SetString(PyExc_NotImplementedError,                          \
              "The " #CBNAME " method should be implemented in derived class"); \
        }                                                                       \
        wxPyEndBlockThreads(blocked);                                           \
        return rval;                                                            \
    }


#define PYCALLBACK_BOOL__const(PCLASS, CBNAME)                                  \
    bool CBNAME() const {                                                       \
        bool found;                                                             \
        bool rval = false;                                                      \
        wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \
        if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME)))                  \
            rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()"));         \
        wxPyEndBlockThreads(blocked);                                           \
        if (! found)                                                            \
            rval = PCLASS::CBNAME();                                            \
        return rval;                                                            \
    }


#define PYCALLBACK_BOOL_(PCLASS, CBNAME)                                        \
    bool CBNAME() {                                                             \
        bool found;                                                             \
        bool rval = false;                                                      \
        wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \
        if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME)))                  \
            rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()"));         \
        wxPyEndBlockThreads(blocked);                                           \
        if (! found)                                                            \
            rval = PCLASS::CBNAME();                                            \
        return rval;                                                            \
    }


#define PYCALLBACK_UINT__pure_const(PCLASS, CBNAME)                             \
    unsigned int CBNAME() const {                                               \
        bool found;                                                             \
        unsigned int rval;                                                      \
        wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \
        if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME)))                  \
            rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()"));         \
        else {                                                                  \
            PyErr_SetString(PyExc_NotImplementedError,                          \
              "The " #CBNAME " method should be implemented in derived class"); \
        }                                                                       \
        wxPyEndBlockThreads(blocked);                                           \
        return rval;                                                            \
    }


#define PYCALLBACK_STRING_UINT_pure_const(PCLASS, CBNAME)                       \
    wxString CBNAME(unsigned int a) const {                                     \
        wxString rval;                                                          \
        bool found;                                                             \
        wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \
        if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) {                \
            PyObject* ro;                                                       \
            ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)", a));    \
            if (ro) {                                                           \
                rval = Py2wxString(ro);                                         \
                Py_DECREF(ro);                                                  \
            }                                                                   \
        }                                                                       \
        else {                                                                  \
            PyErr_SetString(PyExc_NotImplementedError,                          \
              "The " #CBNAME " method should be implemented in derived class"); \
        }                                                                       \
        wxPyEndBlockThreads(blocked);                                           \
        return rval;                                                            \
    }                                                                           \


#define PYCALLBACK_DVI_DVI_pure_const(PCLASS, CBNAME)                           \
    wxDataViewItem CBNAME(const wxDataViewItem &a) const {                      \
        wxDataViewItem rval;                                                    \
        bool found;                                                             \
        wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \
        if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) {                \
            PyObject* ro;                                                       \
            wxDataViewItem* ptr;                                                \
            PyObject* ao = wxPyConstructObject((void*)&a, wxT("wxDataViewItem"), 0); \
            ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(O)", ao));   \
            Py_DECREF(ao);                                                      \
            if (ro) {                                                           \
                if (wxPyConvertSwigPtr(ro, (void**)&ptr, wxT("wxDataViewItem")))  \
                    rval = *ptr;                                                \
                Py_DECREF(ro);                                                  \
            }                                                                   \
        }                                                                       \
        else {                                                                  \
            PyErr_SetString(PyExc_NotImplementedError,                          \
              "The " #CBNAME " method should be implemented in derived class"); \
        }                                                                       \
        wxPyEndBlockThreads(blocked);                                           \
        return rval;                                                            \
    }


#define PYCALLBACK_DVI_DVI_const(PCLASS, CBNAME)                                \
    wxDataViewItem CBNAME(const wxDataViewItem &a) const {                      \
        wxDataViewItem rval;                                                    \
        bool found;                                                             \
        wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \
        if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) {                \
            PyObject* ro;                                                       \
            wxDataViewItem* ptr;                                                \
            PyObject* ao = wxPyConstructObject((void*)&a, wxT("wxDataViewItem"), 0); \
            ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(O)", ao));   \
            Py_DECREF(ao);                                                      \
            if (ro) {                                                           \
                if (wxPyConvertSwigPtr(ro, (void**)&ptr, wxT("wxDataViewItem")))  \
                    rval = *ptr;                                                \
                Py_DECREF(ro);                                                  \
            }                                                                   \
        }                                                                       \
        wxPyEndBlockThreads(blocked);                                           \
        if (! found)                                                            \
            rval = PCLASS::CBNAME(a);                                           \
        return rval;                                                            \
    }


#define PYCALLBACK_INT_DVIDVIUINTBOOL_const(PCLASS, CBNAME)                     \
    int CBNAME(const wxDataViewItem &a, const wxDataViewItem &b,                \
               unsigned int c, bool d ) const {                                 \
        int rval;                                                               \
        bool found;                                                             \
        wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \
        if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) {                \
            PyObject* ao = wxPyConstructObject((void*)&a, wxT("wxDataViewItem"), 0); \
            PyObject* bo = wxPyConstructObject((void*)&b, wxT("wxDataViewItem"), 0); \
            rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOii)", ao, bo, c, d)); \
            Py_DECREF(ao);                                                      \
            Py_DECREF(bo);                                                      \
        }                                                                       \
        wxPyEndBlockThreads(blocked);                                           \
        if (! found)                                                            \
            rval = PCLASS::CBNAME(a, b, c, d);                                  \
        return rval;                                                            \
    }


    // TODO:  Why doesn't this just use wxSize_helper?  (See also similar macro in wxPython_int.h)
#define PYCALLBACK_SIZE__constpure(PCLASS, CBNAME)                              \
    wxSize CBNAME() const {                                                     \
        const char* errmsg = #CBNAME " should return a 2-tuple of integers.";   \
        bool found; wxSize rval(0,0);                                           \
        wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \
        if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) {                \
            PyObject* ro;                                                       \
            ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));        \
            if (ro) {                                                           \
                if (PySequence_Check(ro) && PyObject_Length(ro) == 2) {         \
                    PyObject* o1 = PySequence_GetItem(ro, 0);                   \
                    PyObject* o2 = PySequence_GetItem(ro, 1);                   \
                    if (PyNumber_Check(o1) && PyNumber_Check(o2)) {             \
                        rval = wxSize(PyInt_AsLong(o1), PyInt_AsLong(o2));      \
                    }                                                           \
                    else                                                        \
                        PyErr_SetString(PyExc_TypeError, errmsg);               \
                    Py_DECREF(o1);                                              \
                    Py_DECREF(o2);                                              \
                }                                                               \
                else {                                                          \
                    PyErr_SetString(PyExc_TypeError, errmsg);                   \
                }                                                               \
                Py_DECREF(ro);                                                  \
            }                                                                   \
        }                                                                       \
        else {                                                                  \
            PyErr_SetString(PyExc_NotImplementedError,                          \
              "The " #CBNAME " method should be implemented in derived class"); \
        }                                                                       \
        wxPyEndBlockThreads(blocked);                                           \
        return rval;                                                            \
    }


#define PYCALLBACK_BOOL_RECTDCINT_pure(PCLASS, CBNAME)                          \
    bool CBNAME(wxRect a, wxDC* b, int c) {                                     \
        bool found;                                                             \
        bool rval = false;                                                      \
        wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \
        if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) {                \
            PyObject* ao = wxPyConstructObject((void*)&a, wxT("wxRect"), 0);    \
            PyObject* bo = wxPyMake_wxObject(b,false);                          \
            rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOi)", ao,bo,c)); \
            Py_DECREF(ao);                                                      \
            Py_DECREF(bo);                                                      \
        }                                                                       \
        else {                                                                  \
            PyErr_SetString(PyExc_NotImplementedError,                          \
              "The " #CBNAME " method should be implemented in derived class"); \
        }                                                                       \
        wxPyEndBlockThreads(blocked);                                           \
        return rval;                                                            \
    }


#define PYCALLBACK_BOOL_RECTDVMDVIUINT(PCLASS, CBNAME)                         \
    bool CBNAME(wxRect a, wxDataViewModel* b, const wxDataViewItem& c, unsigned int d) { \
        bool found;                                                             \
        bool rval = false;                                                      \
        wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \
        if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) {                \
            PyObject* ao = wxPyConstructObject((void*)&a, wxT("wxRect"), 0);    \
            PyObject* bo = wxPyConstructObject((void*)b, wxT("wxDataViewModel"), 0);   \
            PyObject* co = wxPyConstructObject((void*)&c, wxT("wxDataViewItem"), 0);   \
            rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOOi)", ao,bo,co,d)); \
            Py_DECREF(ao);                                                      \
            Py_DECREF(bo);                                                      \
            Py_DECREF(co);                                                      \
        }                                                                       \
        wxPyEndBlockThreads(blocked);                                           \
        if (! found)                                                            \
            rval = PCLASS::CBNAME(a, b, c, d);                                  \
        return rval;                                                            \
    }


#define PYCALLBACK_BOOL_RECTDVMDVIUINTME(PCLASS, CBNAME)                         \
    bool CBNAME(const wxRect& a, wxDataViewModel* b, const wxDataViewItem& c, unsigned int d, const wxMouseEvent* e) { \
        bool found;                                                             \
        bool rval = false;                                                      \
        wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \
        if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) {                \
            PyObject* ao = wxPyConstructObject((void*)&a, wxT("wxRect"), 0);    \
            PyObject* bo = wxPyConstructObject((void*)b, wxT("wxDataViewModel"), 0);   \
            PyObject* co = wxPyConstructObject((void*)&c, wxT("wxDataViewItem"), 0);   \
            PyObject* eo = wxPyConstructObject((void*)e, wxT("wxMouseEvent"), 0);   \
            rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOOiO)", ao,bo,co,d,eo)); \
            Py_DECREF(ao);                                                      \
            Py_DECREF(bo);                                                      \
            Py_DECREF(co);                                                      \
            Py_DECREF(eo);                                                      \
        }                                                                       \
        wxPyEndBlockThreads(blocked);                                           \
        if (! found)                                                            \
            rval = PCLASS::CBNAME(a, b, c, d, e)      ;                         \
        return rval;                                                            \
    }


#define PYCALLBACK_BOOL_POINTRECTDVMDVIUINT(PCLASS, CBNAME)                     \
    bool CBNAME(wxPoint a, wxRect b, wxDataViewModel* c, const wxDataViewItem& d, unsigned int e) { \
        bool found;                                                             \
        bool rval = false;                                                      \
        wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \
        if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) {                \
            PyObject* ao = wxPyConstructObject((void*)&b, wxT("wxPoint"), 0);   \
            PyObject* bo = wxPyConstructObject((void*)&b, wxT("wxRect"), 0);    \
            PyObject* co = wxPyConstructObject((void*)c, wxT("wxDataViewModel"), 0);   \
            PyObject* dp = wxPyConstructObject((void*)&d, wxT("wxDataViewItem"), 0);   \
            rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOOOi)", ao,bo,co,dp,e)); \
            Py_DECREF(ao);                                                      \
            Py_DECREF(bo);                                                      \
            Py_DECREF(co);                                                      \
            Py_DECREF(dp);                                                      \
        }                                                                       \
        wxPyEndBlockThreads(blocked);                                           \
        if (! found)                                                            \
            rval = PCLASS::CBNAME(a, b, c, d, e);                               \
        return rval;                                                            \
    }




typedef void* PyLong;

SWIGINTERN long wxDataViewItem___hash__(wxDataViewItem *self){
            return (long)self->GetID();
        }
SWIGINTERN int wxDataViewItem___cmp__(wxDataViewItem *self,wxDataViewItem *other){
            if ( self->GetID() < other->GetID() ) return -1;
            if ( self->GetID() > other->GetID() ) return  1;
            return 0;
        }

class wxDataViewItemArray_iterator
{
public:
    wxDataViewItemArray_iterator(wxDataViewItemArray &array)
    : m_array(array), m_idx(0) {}
    
    wxDataViewItem* next() {
        wxDataViewItem* obj = NULL;
        if (m_idx < m_array.GetCount()) {
            obj = (wxDataViewItem*)&m_array.Item(m_idx);
            m_idx += 1;
        }
        else PyErr_SetString(PyExc_StopIteration, "");
        return obj;
    }
private:
    wxDataViewItemArray& m_array;
    size_t      m_idx;
};

SWIGINTERN size_t wxDataViewItemArray___len__(wxDataViewItemArray *self){
            return self->GetCount();
        }

SWIGINTERNINLINE PyObject* 
SWIG_From_unsigned_SS_long  (unsigned long value)
{
  return (value > LONG_MAX) ?
    PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value)); 
}


SWIGINTERNINLINE PyObject *
SWIG_From_size_t  (size_t value)
{    
  return SWIG_From_unsigned_SS_long  (static_cast< unsigned long >(value));
}


SWIGINTERN int
SWIG_AsVal_long (PyObject* obj, long* val)
{
    if (PyNumber_Check(obj)) {
        if (val) *val = PyInt_AsLong(obj);
        return SWIG_OK;
    }
    return SWIG_TypeError;
}


SWIGINTERN int 
SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
{
    long v = 0;
    int res = SWIG_AsVal_long(obj, &v);
    if (SWIG_IsOK(res)) {
        if ( v < 0) {
            return SWIG_ValueError;
        }
        else if (val)
            *val = (unsigned long)v;
    }
    return res;
}


SWIGINTERNINLINE int
SWIG_AsVal_size_t (PyObject * obj, size_t *val)
{
  unsigned long v;
  int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
  if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
  return res;
}

SWIGINTERN wxDataViewItem *wxDataViewItemArray___getitem__(wxDataViewItemArray *self,size_t index){
            if (index < self->GetCount()) {
                return (wxDataViewItem*)&self->Item(index);
            }
            PyErr_SetString(PyExc_IndexError, "sequence index out of range");
            return NULL;
        }
SWIGINTERN wxDataViewItemArray_iterator *wxDataViewItemArray___iter__(wxDataViewItemArray *self){
            return new wxDataViewItemArray_iterator(*self);
        }
SWIGINTERN void wxDataViewItemArray_append(wxDataViewItemArray *self,wxDataViewItem *object){
            self->Add(*object);
        }
SWIGINTERN void wxDataViewItemArray_insert(wxDataViewItemArray *self,size_t index,wxDataViewItem *object){
            self->Insert(*object, index);
        }

#include <limits.h>
#ifndef LLONG_MIN
# define LLONG_MIN	LONG_LONG_MIN
#endif
#ifndef LLONG_MAX
# define LLONG_MAX	LONG_LONG_MAX
#endif
#ifndef ULLONG_MAX
# define ULLONG_MAX	ULONG_LONG_MAX
#endif


SWIGINTERN int
SWIG_AsVal_unsigned_SS_int (PyObject * obj, unsigned int *val)
{
  unsigned long v;
  int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
  if (SWIG_IsOK(res)) {
    if ((v > UINT_MAX)) {
      return SWIG_OverflowError;
    } else {
      if (val) *val = static_cast< unsigned int >(v);
    }
  }  
  return res;
}

 // Derive from the class in C++ for virtualization
class wxPyDataViewModelNotifier : public wxDataViewModelNotifier {
public:
    wxPyDataViewModelNotifier() {}

    PYCALLBACK_BOOL_DVIDVI_pure(wxDataViewModelNotifier, ItemAdded)
    PYCALLBACK_BOOL_DVIDVI_pure(wxDataViewModelNotifier, ItemDeleted)
    PYCALLBACK_BOOL_DVI_pure(wxDataViewModelNotifier, ItemChanged)

    PYCALLBACK_BOOL_DVIDVIA(wxDataViewModelNotifier, ItemsAdded)
    PYCALLBACK_BOOL_DVIDVIA(wxDataViewModelNotifier, ItemsDeleted)
    PYCALLBACK_BOOL_DVIA(wxDataViewModelNotifier, ItemsChanged)

    PYCALLBACK_BOOL_DVIUINT_pure(wxDataViewModelNotifier, ValueChanged)
    PYCALLBACK_BOOL_(wxDataViewModelNotifier, BeforeReset)
    PYCALLBACK_BOOL_(wxDataViewModelNotifier, AfterReset)
    PYCALLBACK_BOOL__pure(wxDataViewModelNotifier, Cleared)
    PYCALLBACK_VOID__pure(wxDataViewModelNotifier, Resort)

    PYPRIVATE;
};


SWIGINTERN int
SWIG_AsVal_bool (PyObject *obj, bool *val)
{
  if (obj == Py_True) {
    if (val) *val = true;
    return SWIG_OK;
  } else if (obj == Py_False) {
    if (val) *val = false;
    return SWIG_OK;
  } else {
    long v = 0;
    int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
    if (SWIG_IsOK(res) && val) *val = v ? true : false;
    return res;
  }
}


SWIGINTERNINLINE PyObject *
SWIG_From_unsigned_SS_int  (unsigned int value)
{    
  return SWIG_From_unsigned_SS_long  (value);
}

SWIGINTERN wxVariant wxDataViewModel_GetValue(wxDataViewModel const *self,wxDataViewItem const &item,unsigned int col){
            wxVariant var;
            self->GetValue(var, item, col);
            return var;
        }

// Create a C++ class for the Py version

class wxPyDataViewModel: public wxDataViewModel
{
public:
    wxPyDataViewModel() { /*printf("=== ctor\n");*/ }

    ~wxPyDataViewModel() { /*printf("--- dtor\n");*/ }

    PYCALLBACK_UINT__pure_const(wxDataViewModel, GetColumnCount);
    PYCALLBACK_STRING_UINT_pure_const(wxDataViewModel, GetColumnType);

    PYCALLBACK_DVI_DVI_pure_const(wxDataViewModel, GetParent);
    PYCALLBACK_BOOL_DVI_pure_const(wxDataViewModel, IsContainer);
    PYCALLBACK_BOOL_DVI_const(wxDataViewModel, HasContainerColumns);
    PYCALLBACK_UINT_DVIDVIA_pure_const(wxDataViewModel, GetChildren);

    PYCALLBACK_INT_DVIDVIUINTBOOL_const(wxDataViewModel, Compare);
    PYCALLBACK_BOOL__const(wxDataViewModel, HasDefaultCompare);


    void GetValue( wxVariant &variant,
                   const wxDataViewItem &item, unsigned int col ) const
    {
        // The wxPython version of this method returns the variant as
        // a return value instead of modifying the parameter.
        bool found;
        wxPyBlock_t blocked = wxPyBeginBlockThreads();
        if ((found = wxPyCBH_findCallback(m_myInst, "GetValue"))) {
            PyObject* ro;
            PyObject* io = wxPyConstructObject((void*)&item, wxT("wxDataViewItem"), 0);
            ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(Oi)", io, col));
            Py_DECREF(io);
            if (ro) {
                variant = wxDVCVariant_in_helper(ro);
                Py_DECREF(ro);
            }
        }
        else {
            PyErr_SetString(PyExc_NotImplementedError,
              "The GetValue method should be implemented in derived class");
        }
        wxPyEndBlockThreads(blocked);
    }


    bool SetValue( const wxVariant &variant,
                   const wxDataViewItem &item, unsigned int col )
    {
        bool rval = false;
        bool found;
        wxPyBlock_t blocked = wxPyBeginBlockThreads();
        if ((found = wxPyCBH_findCallback(m_myInst, "SetValue"))) {
            PyObject* vo = wxDVCVariant_out_helper(variant);
            PyObject* io = wxPyConstructObject((void*)&item, wxT("wxDataViewItem"), 0);
            rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOi)", vo, io, col));
            Py_DECREF(vo);
            Py_DECREF(io);
        }
        else {
            PyErr_SetString(PyExc_NotImplementedError,
              "The SetValue method should be implemented in derived class");
        }
        wxPyEndBlockThreads(blocked);
        return rval;
    }

    bool GetAttr( const wxDataViewItem &item, unsigned int col, wxDataViewItemAttr &attr ) const
    {
        bool rval = false;
        bool found;
        wxPyBlock_t blocked = wxPyBeginBlockThreads();
        if ((found = wxPyCBH_findCallback(m_myInst, "GetAttr"))) {
            PyObject* io = wxPyConstructObject((void*)&item, wxT("wxDataViewItem"), 0);
            PyObject* ao = wxPyConstructObject((void*)&attr, wxT("wxDataViewItemAttr"), 0);
            rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OiO)", io, col, ao));
            Py_DECREF(io);
            Py_DECREF(ao);
        }
        else {
            rval = wxDataViewModel::GetAttr(item, col, attr);
        }
        wxPyEndBlockThreads(blocked);
        return rval;
    }

    bool IsEnabled(const wxDataViewItem &item, unsigned int col) const
    {
        bool rval = false;                                                      
        bool found;                                                             
        wxPyBlock_t blocked = wxPyBeginBlockThreads();                          
        if ((found = wxPyCBH_findCallback(m_myInst, "IsEnabled"))) {                
            PyObject* ao = wxPyConstructObject((void*)&item, wxT("wxDataViewItem"), 0);
            rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", ao, col));
            Py_DECREF(ao);                                                      
        }                                                                       
        else {                                                                  
            rval = wxDataViewModel::IsEnabled(item, col);
        }                                                                       
        wxPyEndBlockThreads(blocked);                                           
        return rval;                                                            
    }
    

    PYPRIVATE;
};


SWIGINTERN wxVariant wxDataViewIndexListModel_GetValueByRow(wxDataViewIndexListModel const *self,unsigned int row,unsigned int col){
            wxVariant var;
            self->GetValueByRow(var, row, col);
            return var;
        }

// Create a C++ class for the Py version

class PyDataViewIndexListModel : public wxDataViewIndexListModel
{
public:
    PyDataViewIndexListModel( unsigned int initial_size = 0)
        : wxDataViewIndexListModel(initial_size) {}

    PYCALLBACK_UINT__pure_const(wxDataViewIndexListModel, GetColumnCount);
    PYCALLBACK_STRING_UINT_pure_const(wxDataViewIndexListModel, GetColumnType);

    //PYCALLBACK_UINT__pure_const(wxDataViewIndexListModel, GetCount);
    PYCALLBACK_DVI_DVI_const(wxDataViewIndexListModel, GetParent);
    PYCALLBACK_BOOL_DVI_const(wxDataViewIndexListModel, IsContainer);
    PYCALLBACK_BOOL_DVI_const(wxDataViewIndexListModel, HasContainerColumns);
    PYCALLBACK_UINT_DVIDVIA_const(wxDataViewIndexListModel, GetChildren);

    PYCALLBACK_INT_DVIDVIUINTBOOL_const(wxDataViewIndexListModel, Compare);
    PYCALLBACK_BOOL__const(wxDataViewIndexListModel, HasDefaultCompare);

    unsigned int GetCount() const
    {                                             
        bool found;                                                            
        unsigned int rval;                                                     
        wxPyBlock_t blocked = wxPyBeginBlockThreads();                         
        if ((found = wxPyCBH_findCallback(m_myInst, "GetCount")))              
            rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()"));        
        else {                                                                 
            PyErr_SetString(PyExc_NotImplementedError,                         
              "The GetCount method should be implemented in derived class"); 
        }                                                                    
        wxPyEndBlockThreads(blocked);                                        
        return rval;                                                         
    }


    virtual void GetValueByRow( wxVariant &variant,
                                unsigned int row, unsigned int col ) const
    {
        // The wxPython version of this method returns the variant as
        // a return value instead of modifying the parameter.
        bool found;
        wxPyBlock_t blocked = wxPyBeginBlockThreads();
        if ((found = wxPyCBH_findCallback(m_myInst, "GetValueByRow"))) {
            PyObject* ro;
            ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col));
            if (ro) {
                variant = wxDVCVariant_in_helper(ro);
                Py_DECREF(ro);
            }
        }
        else {
            PyErr_SetString(PyExc_NotImplementedError,
              "The GetValueByRow method should be implemented in derived class");
        }
        wxPyEndBlockThreads(blocked);
    }


    virtual bool SetValueByRow( const wxVariant &variant,
                                unsigned int row, unsigned int col )
    {
        bool rval = false;
        bool found;
        wxPyBlock_t blocked = wxPyBeginBlockThreads();
        if ((found = wxPyCBH_findCallback(m_myInst, "SetValueByRow"))) {
            PyObject* vo = wxDVCVariant_out_helper(variant);
            rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", vo, row, col));
            Py_DECREF(vo);
        }
        else {
            PyErr_SetString(PyExc_NotImplementedError,
              "The SetValueByRow method should be implemented in derived class");
        }
        wxPyEndBlockThreads(blocked);
        return rval;
    }


    virtual bool GetAttrByRow( unsigned row, unsigned col,
                               wxDataViewItemAttr &attr ) const
    {
        bool rval = false;
        bool found;
        wxPyBlock_t blocked = wxPyBeginBlockThreads();
        if ((found = wxPyCBH_findCallback(m_myInst, "GetAttrByRow"))) {
            PyObject* ao = wxPyConstructObject((void*)&attr, wxT("wxDataViewItemAttr"), 0);
            rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)", row, col, ao));
            Py_DECREF(ao);
        }
        else {
            rval = wxDataViewListModel::GetAttrByRow(row, col, attr);
        }
        wxPyEndBlockThreads(blocked);
        return rval;
    }


    virtual bool IsEnabledByRow(unsigned int row,
                                unsigned int col) const
    {
        bool rval = false;
        bool found;
        wxPyBlock_t blocked = wxPyBeginBlockThreads();
        if ((found = wxPyCBH_findCallback(m_myInst, "IsEnabledByRow"))) {
            rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", row, col));
        }
        else {
            rval = wxDataViewListModel::IsEnabledByRow(row, col);
        }
        wxPyEndBlockThreads(blocked);
        return rval;
    }


    
    // TODO: Should we also allow to override the other (non-list) virtuals
    // from wxDataViewModel too?  GetValue, SetValue, GetAttr...
    
    PYPRIVATE;
};

SWIGINTERN wxVariant wxDataViewVirtualListModel_GetValueByRow(wxDataViewVirtualListModel const *self,unsigned int row,unsigned int col){
            wxVariant var;
            self->GetValueByRow(var, row, col);
            return var;
        }

// Create a C++ class for the Py version

class PyDataViewVirtualListModel : public wxDataViewVirtualListModel
{
public:
    PyDataViewVirtualListModel( unsigned int initial_size = 0)
        : wxDataViewVirtualListModel(initial_size) {}

    PYCALLBACK_UINT__pure_const(wxDataViewVirtualListModel, GetColumnCount);
    PYCALLBACK_STRING_UINT_pure_const(wxDataViewVirtualListModel, GetColumnType);

    //PYCALLBACK_UINT__pure_const(wxDataViewVirtualListModel, GetCount);
    PYCALLBACK_DVI_DVI_const(wxDataViewVirtualListModel, GetParent);
    PYCALLBACK_BOOL_DVI_const(wxDataViewVirtualListModel, IsContainer);
    PYCALLBACK_BOOL_DVI_const(wxDataViewVirtualListModel, HasContainerColumns);
    PYCALLBACK_UINT_DVIDVIA_const(wxDataViewVirtualListModel, GetChildren);

    PYCALLBACK_INT_DVIDVIUINTBOOL_const(wxDataViewVirtualListModel, Compare);
    PYCALLBACK_BOOL__const(wxDataViewVirtualListModel, HasDefaultCompare);

    unsigned int GetCount() const
    {                                             
        bool found;                                                            
        unsigned int rval;                                                     
        wxPyBlock_t blocked = wxPyBeginBlockThreads();                         
        if ((found = wxPyCBH_findCallback(m_myInst, "GetCount")))              
            rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()"));        
        else {                                                                 
            PyErr_SetString(PyExc_NotImplementedError,                         
              "The GetCount method should be implemented in derived class"); 
        }                                                                    
        wxPyEndBlockThreads(blocked);                                        
        return rval;                                                         
    }


    virtual void GetValueByRow( wxVariant &variant,
                                unsigned int row, unsigned int col ) const
    {
        // The wxPython version of this method returns the variant as
        // a return value instead of modifying the parameter.
        bool found;
        wxPyBlock_t blocked = wxPyBeginBlockThreads();
        if ((found = wxPyCBH_findCallback(m_myInst, "GetValueByRow"))) {
            PyObject* ro;
            ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col));
            if (ro) {
                variant = wxDVCVariant_in_helper(ro);
                Py_DECREF(ro);
            }
        }
        else {
            PyErr_SetString(PyExc_NotImplementedError,
              "The GetValueByRow method should be implemented in derived class");
        }
        wxPyEndBlockThreads(blocked);
    }


    virtual bool SetValueByRow( const wxVariant &variant,
                                unsigned int row, unsigned int col )
    {
        bool rval = false;
        bool found;
        wxPyBlock_t blocked = wxPyBeginBlockThreads();
        if ((found = wxPyCBH_findCallback(m_myInst, "SetValueByRow"))) {
            PyObject* vo = wxDVCVariant_out_helper(variant);
            rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", vo, row, col));
            Py_DECREF(vo);
        }
        else {
            PyErr_SetString(PyExc_NotImplementedError,
              "The SetValueByRow method should be implemented in derived class");
        }
        wxPyEndBlockThreads(blocked);
        return rval;
    }


    virtual bool GetAttrByRow( unsigned row, unsigned col,
                               wxDataViewItemAttr &attr ) const
    {
        bool rval = false;
        bool found;
        wxPyBlock_t blocked = wxPyBeginBlockThreads();
        if ((found = wxPyCBH_findCallback(m_myInst, "GetAttrByRow"))) {
            PyObject* ao = wxPyConstructObject((void*)&attr, wxT("wxDataViewItemAttr"), 0);
            rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)", row, col, ao));
            Py_DECREF(ao);
        }
        else {
            rval = wxDataViewListModel::GetAttrByRow(row, col, attr);
        }
        wxPyEndBlockThreads(blocked);
        return rval;
    }


    virtual bool IsEnabledByRow(unsigned int row,
                                unsigned int col) const
    {
        bool rval = false;
        bool found;
        wxPyBlock_t blocked = wxPyBeginBlockThreads();
        if ((found = wxPyCBH_findCallback(m_myInst, "IsEnabledByRow"))) {
            rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", row, col));
        }
        else {
            rval = wxDataViewListModel::IsEnabledByRow(row, col);
        }
        wxPyEndBlockThreads(blocked);
        return rval;
    }


    
    // TODO: Should we also allow to override the other (non-list) virtuals
    // from wxDataViewModel too?  GetValue, SetValue, GetAttr...
    
    PYPRIVATE;
};

SWIGINTERN wxVariant wxDataViewRenderer_GetValue(wxDataViewRenderer const *self){
            wxVariant var;
            if (! self->GetValue(var)) {
                wxPyThreadBlocker blocker;
                var = wxDVCVariant_in_helper(Py_None);
            }
            return var;
        }

SWIGINTERN int
SWIG_AsVal_int (PyObject * obj, int *val)
{
  long v;
  int res = SWIG_AsVal_long (obj, &v);
  if (SWIG_IsOK(res)) {
    if ((v < INT_MIN || v > INT_MAX)) {
      return SWIG_OverflowError;
    } else {
      if (val) *val = static_cast< int >(v);
    }
  }  
  return res;
}

SWIGINTERN wxVariant wxDataViewRenderer_GetValueFromEditorCtrl(wxDataViewRenderer *self,wxWindow *editor){
            wxVariant var;
            if (! self->GetValueFromEditorCtrl(editor, var)) {
                wxPyThreadBlocker blocker;
                var = wxDVCVariant_in_helper(Py_None);
            }
            return var;
        }
 // Derive from the class in C++ for virtualization

class wxPyDataViewCustomRenderer : public wxDataViewCustomRenderer
{
public:
    wxPyDataViewCustomRenderer(const wxString& varianttype="string",
                               wxDataViewCellMode mode=wxDATAVIEW_CELL_INERT,
                               int align=wxDVR_DEFAULT_ALIGNMENT)
        : wxDataViewCustomRenderer(varianttype, mode, align)
    {}

    // Make some protected methods visible
    wxSize GetTextExtent(const wxString& str) const
    {
        return wxDataViewCustomRenderer::GetTextExtent(str);
    }

    const wxDataViewCtrl* GetView() const
    {
        return wxDataViewCustomRenderer::GetView();
    }

    
    PYCALLBACK_SIZE__constpure(wxDataViewCustomRenderer, GetSize);
    PYCALLBACK_BOOL_RECTDCINT_pure(wxDataViewCustomRenderer, Render);
    PYCALLBACK_BOOL_RECTDVMDVIUINTME(wxDataViewCustomRenderer, ActivateCell);
    PYCALLBACK_BOOL_RECTDVMDVIUINT(wxDataViewCustomRenderer, Activate);
    PYCALLBACK_BOOL_POINTRECTDVMDVIUINT(wxDataViewCustomRenderer, LeftClick);
    PYCALLBACK_BOOL_POINTRECTDVMDVIUINT(wxDataViewCustomRenderer, StartDrag);

    
    virtual bool SetValue( const wxVariant& value )
    {
        bool found;
        bool rval = false;
        wxPyBlock_t blocked = wxPyBeginBlockThreads();
        if ((found = wxPyCBH_findCallback(m_myInst, "SetValue"))) {
            PyObject* v = wxDVCVariant_out_helper(value);
            rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", v));
            Py_DECREF(v);
        }
        else {
            PyErr_SetString(PyExc_NotImplementedError,
              "The SetValue method should be implemented in derived class");
        }
        wxPyEndBlockThreads(blocked);
        return rval;
    }


    virtual bool GetValue( wxVariant& value ) const
    {
        // The wxPython version of this method returns the variant as
        // a return value instead of modifying the parameter.
        bool found;
        wxPyBlock_t blocked = wxPyBeginBlockThreads();
        if ((found = wxPyCBH_findCallback(m_myInst, "GetValue"))) {
            PyObject* ro;
            ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
            if (ro) {
                value = wxDVCVariant_in_helper(ro);
                Py_DECREF(ro);
            }
        }
        else {
            PyErr_SetString(PyExc_NotImplementedError,
              "The GetValue method should be implemented in derived class");
        }
        wxPyEndBlockThreads(blocked);
        return true;
    }

    PYCALLBACK_BOOL__const(wxDataViewCustomRenderer, HasEditorCtrl);

    virtual wxWindow* CreateEditorCtrl(wxWindow * parent,
                                        wxRect labelRect,
                                        const wxVariant& value)
    {
        bool found;
        wxControl* ret = NULL;
        wxPyBlock_t blocked = wxPyBeginBlockThreads();
        if ((found = wxPyCBH_findCallback(m_myInst, "CreateEditorCtrl"))) {
            PyObject* ro;
            PyObject* po = wxPyConstructObject((void*)parent, wxT("wxWindow"), 0);
            PyObject* rto = wxPyConstructObject((void*)&labelRect, wxT("wxRect"), 0);
            PyObject* vo = wxDVCVariant_out_helper(value);
            ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOO)", po, rto, vo));
            Py_DECREF(po);
            Py_DECREF(rto);
            Py_DECREF(vo);
            if (ro) {
                wxPyConvertSwigPtr(ro, (void**)&ret, wxT("wxControl"));
                Py_DECREF(ro);
            }
        }
        wxPyEndBlockThreads(blocked);
        if (!found)
            return wxDataViewCustomRenderer::CreateEditorCtrl(parent, labelRect, value);
        else
            return ret;
    }

    virtual bool GetValueFromEditorCtrl(wxControl * editor,
                                        wxVariant& value)
    {
        // The wxPython version of this method returns the variant as
        // a return value instead of modifying the parameter.
        bool found;
        wxPyBlock_t blocked = wxPyBeginBlockThreads();
        if ((found = wxPyCBH_findCallback(m_myInst, "GetValueFromEditorCtrl"))) {
            PyObject* ro;
            PyObject* io = wxPyMake_wxObject2(editor, false, true);
            ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(O)", io));
            Py_DECREF(io);
            if (ro) {
                value = wxDVCVariant_in_helper(ro);
                Py_DECREF(ro);
            }
        }
        wxPyEndBlockThreads(blocked);
        if (!found)
            return wxDataViewCustomRenderer::GetValueFromEditorCtrl(editor, value);
        else
            return true;
    }

    PYCALLBACK_BOOL_DVIRECT(wxDataViewCustomRenderer, StartEditing);
    PYCALLBACK_VOID_(wxDataViewCustomRenderer, CancelEditing);
    PYCALLBACK_BOOL_(wxDataViewCustomRenderer, FinishEditing);

    void SetAttr(const wxDataViewItemAttr &a)
    {                                  
        bool found;                                                             
        wxPyBlock_t blocked = wxPyBeginBlockThreads();                          
        if ((found = wxPyCBH_findCallback(m_myInst, "SetAttr"))) {                
            PyObject* ao = wxPyConstructObject((void*)&a, wxT("wxDataViewItemAttr"), 0);
            wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", ao));           
            Py_DECREF(ao);                                                      
        }                                                                       
        wxPyEndBlockThreads(blocked);                                           
        if (! found)                                                            
            wxDataViewCustomRenderer::SetAttr(a);                                                  
    }

    virtual void SetEnabled(bool enabled)
    {
        bool found;                                                     
        wxPyBlock_t blocked = wxPyBeginBlockThreads();                  
        if ((found = wxPyCBH_findCallback(m_myInst, "SetEnabled")))          
            wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)",enabled));  
        wxPyEndBlockThreads(blocked);                                   
        if (! found)                                                    
            wxDataViewCustomRenderer::SetEnabled(enabled);                                        
    }                        
    
   
    PYPRIVATE;
};


SWIGINTERN wxDataViewColumn *new_wxDataViewColumn(PyObject *title_or_bitmap,wxDataViewRenderer *renderer,unsigned int model_column,int width=80,wxAlignment align=wxALIGN_CENTER,int flags=wxDATAVIEW_COL_RESIZABLE){
            bool wasString;
            wxString label;
            wxBitmap bitmap;
            if (! wxPyTextOrBitmap_helper(title_or_bitmap, wasString, label, bitmap))
                return NULL;
            return wasString ?
                new wxDataViewColumn(label, renderer, model_column, width, align, flags)
                :  new wxDataViewColumn(bitmap, renderer, model_column, width, align, flags);
        }
SWIGINTERN wxDataViewColumn *wxDataViewCtrl_PrependTextColumn(wxDataViewCtrl *self,PyObject *label_or_bitmap,unsigned int model_column,wxDataViewCellMode mode=wxDATAVIEW_CELL_INERT,int width=-1,wxAlignment align=wxALIGN_NOT,int flags=wxDATAVIEW_COL_RESIZABLE){
        bool wasString; wxString label; wxBitmap bitmap;
        if (! wxPyTextOrBitmap_helper(label_or_bitmap, wasString, label, bitmap))
            return NULL;
        return wasString ?
            self->PrependTextColumn(label, model_column, mode, width, align, flags)
            : self->PrependTextColumn(bitmap, model_column, mode, width, align, flags);
    }
SWIGINTERN wxDataViewColumn *wxDataViewCtrl_PrependIconTextColumn(wxDataViewCtrl *self,PyObject *label_or_bitmap,unsigned int model_column,wxDataViewCellMode mode=wxDATAVIEW_CELL_INERT,int width=-1,wxAlignment align=wxALIGN_NOT,int flags=wxDATAVIEW_COL_RESIZABLE){
        bool wasString; wxString label; wxBitmap bitmap;
        if (! wxPyTextOrBitmap_helper(label_or_bitmap, wasString, label, bitmap))
            return NULL;
        return wasString ?
            self->PrependIconTextColumn(label, model_column, mode, width, align, flags)
            : self->PrependIconTextColumn(bitmap, model_column, mode, width, align, flags);
    }
SWIGINTERN wxDataViewColumn *wxDataViewCtrl_PrependToggleColumn(wxDataViewCtrl *self,PyObject *label_or_bitmap,unsigned int model_column,wxDataViewCellMode mode=wxDATAVIEW_CELL_INERT,int width=wxDVC_TOGGLE_DEFAULT_WIDTH,wxAlignment align=wxALIGN_CENTER,int flags=wxDATAVIEW_COL_RESIZABLE){
        bool wasString; wxString label; wxBitmap bitmap;
        if (! wxPyTextOrBitmap_helper(label_or_bitmap, wasString, label, bitmap))
            return NULL;
        return wasString ?
            self->PrependToggleColumn(label, model_column, mode, width, align, flags)
            : self->PrependToggleColumn(bitmap, model_column, mode, width, align, flags);
    }
SWIGINTERN wxDataViewColumn *wxDataViewCtrl_PrependProgressColumn(wxDataViewCtrl *self,PyObject *label_or_bitmap,unsigned int model_column,wxDataViewCellMode mode=wxDATAVIEW_CELL_INERT,int width=wxDVC_DEFAULT_WIDTH,wxAlignment align=wxALIGN_CENTER,int flags=wxDATAVIEW_COL_RESIZABLE){
        bool wasString; wxString label; wxBitmap bitmap;
        if (! wxPyTextOrBitmap_helper(label_or_bitmap, wasString, label, bitmap))
            return NULL;
        return wasString ?
            self->PrependProgressColumn(label, model_column, mode, width, align, flags)
            : self->PrependProgressColumn(bitmap, model_column, mode, width, align, flags);
    }
SWIGINTERN wxDataViewColumn *wxDataViewCtrl_PrependDateColumn(wxDataViewCtrl *self,PyObject *label_or_bitmap,unsigned int model_column,wxDataViewCellMode mode=wxDATAVIEW_CELL_ACTIVATABLE,int width=-1,wxAlignment align=wxALIGN_NOT,int flags=wxDATAVIEW_COL_RESIZABLE){
        bool wasString; wxString label; wxBitmap bitmap;
        if (! wxPyTextOrBitmap_helper(label_or_bitmap, wasString, label, bitmap))
            return NULL;
        return wasString ?
            self->PrependDateColumn(label, model_column, mode, width, align, flags)
            : self->PrependDateColumn(bitmap, model_column, mode, width, align, flags);
    }
SWIGINTERN wxDataViewColumn *wxDataViewCtrl_PrependBitmapColumn(wxDataViewCtrl *self,PyObject *label_or_bitmap,unsigned int model_column,wxDataViewCellMode mode=wxDATAVIEW_CELL_INERT,int width=-1,wxAlignment align=wxALIGN_CENTER,int flags=wxDATAVIEW_COL_RESIZABLE){
        bool wasString; wxString label; wxBitmap bitmap;
        if (! wxPyTextOrBitmap_helper(label_or_bitmap, wasString, label, bitmap))
            return NULL;
        return wasString ?
            self->PrependBitmapColumn(label, model_column, mode, width, align, flags)
            : self->PrependBitmapColumn(bitmap, model_column, mode, width, align, flags);
    }
SWIGINTERN wxDataViewColumn *wxDataViewCtrl_AppendTextColumn(wxDataViewCtrl *self,PyObject *label_or_bitmap,unsigned int model_column,wxDataViewCellMode mode=wxDATAVIEW_CELL_INERT,int width=-1,wxAlignment align=wxALIGN_NOT,int flags=wxDATAVIEW_COL_RESIZABLE){
        bool wasString; wxString label; wxBitmap bitmap;
        if (! wxPyTextOrBitmap_helper(label_or_bitmap, wasString, label, bitmap))
            return NULL;
        return wasString ?
            self->AppendTextColumn(label, model_column, mode, width, align, flags)
            : self->AppendTextColumn(bitmap, model_column, mode, width, align, flags);
    }
SWIGINTERN wxDataViewColumn *wxDataViewCtrl_AppendIconTextColumn(wxDataViewCtrl *self,PyObject *label_or_bitmap,unsigned int model_column,wxDataViewCellMode mode=wxDATAVIEW_CELL_INERT,int width=-1,wxAlignment align=wxALIGN_NOT,int flags=wxDATAVIEW_COL_RESIZABLE){
        bool wasString; wxString label; wxBitmap bitmap;
        if (! wxPyTextOrBitmap_helper(label_or_bitmap, wasString, label, bitmap))
            return NULL;
        return wasString ?
            self->AppendIconTextColumn(label, model_column, mode, width, align, flags)
            : self->AppendIconTextColumn(bitmap, model_column, mode, width, align, flags);
    }
SWIGINTERN wxDataViewColumn *wxDataViewCtrl_AppendToggleColumn(wxDataViewCtrl *self,PyObject *label_or_bitmap,unsigned int model_column,wxDataViewCellMode mode=wxDATAVIEW_CELL_INERT,int width=wxDVC_TOGGLE_DEFAULT_WIDTH,wxAlignment align=wxALIGN_CENTER,int flags=wxDATAVIEW_COL_RESIZABLE){
        bool wasString; wxString label; wxBitmap bitmap;
        if (! wxPyTextOrBitmap_helper(label_or_bitmap, wasString, label, bitmap))
            return NULL;
        return wasString ?
            self->AppendToggleColumn(label, model_column, mode, width, align, flags)
            : self->AppendToggleColumn(bitmap, model_column, mode, width, align, flags);
    }
SWIGINTERN wxDataViewColumn *wxDataViewCtrl_AppendProgressColumn(wxDataViewCtrl *self,PyObject *label_or_bitmap,unsigned int model_column,wxDataViewCellMode mode=wxDATAVIEW_CELL_INERT,int width=wxDVC_DEFAULT_WIDTH,wxAlignment align=wxALIGN_CENTER,int flags=wxDATAVIEW_COL_RESIZABLE){
        bool wasString; wxString label; wxBitmap bitmap;
        if (! wxPyTextOrBitmap_helper(label_or_bitmap, wasString, label, bitmap))
            return NULL;
        return wasString ?
            self->AppendProgressColumn(label, model_column, mode, width, align, flags)
            : self->AppendProgressColumn(bitmap, model_column, mode, width, align, flags);
    }
SWIGINTERN wxDataViewColumn *wxDataViewCtrl_AppendDateColumn(wxDataViewCtrl *self,PyObject *label_or_bitmap,unsigned int model_column,wxDataViewCellMode mode=wxDATAVIEW_CELL_ACTIVATABLE,int width=-1,wxAlignment align=wxALIGN_NOT,int flags=wxDATAVIEW_COL_RESIZABLE){
        bool wasString; wxString label; wxBitmap bitmap;
        if (! wxPyTextOrBitmap_helper(label_or_bitmap, wasString, label, bitmap))
            return NULL;
        return wasString ?
            self->AppendDateColumn(label, model_column, mode, width, align, flags)
            : self->AppendDateColumn(bitmap, model_column, mode, width, align, flags);
    }
SWIGINTERN wxDataViewColumn *wxDataViewCtrl_AppendBitmapColumn(wxDataViewCtrl *self,PyObject *label_or_bitmap,unsigned int model_column,wxDataViewCellMode mode=wxDATAVIEW_CELL_INERT,int width=-1,wxAlignment align=wxALIGN_CENTER,int flags=wxDATAVIEW_COL_RESIZABLE){
        bool wasString; wxString label; wxBitmap bitmap;
        if (! wxPyTextOrBitmap_helper(label_or_bitmap, wasString, label, bitmap))
            return NULL;
        return wasString ?
            self->AppendBitmapColumn(label, model_column, mode, width, align, flags)
            : self->AppendBitmapColumn(bitmap, model_column, mode, width, align, flags);
    }
SWIGINTERN wxDataViewItemArray wxDataViewCtrl_GetSelections(wxDataViewCtrl const *self){
            wxDataViewItemArray selections;
            self->GetSelections(selections);
            return selections;
        }

    typedef wxVector<wxVariant> wxVariantVector;

SWIGINTERN wxVariant wxDataViewListCtrl_GetValue(wxDataViewListCtrl *self,unsigned int row,unsigned int col){
            wxVariant value;
            self->GetValue( value, row, col);
            return value;
        }

class wxDataViewTreeStoreNodeList_iterator
{
public:
    wxDataViewTreeStoreNodeList_iterator(wxDataViewTreeStoreNodeList::compatibility_iterator start)
        : m_node(start) {}
    
    wxDataViewTreeStoreNode* next() {
        wxDataViewTreeStoreNode* obj = NULL;
        if (m_node) {
            obj = m_node->GetData();
            m_node = m_node->GetNext();
        }
        else PyErr_SetString(PyExc_StopIteration, "");
        return (wxDataViewTreeStoreNode*)obj;
    }
private:
    wxDataViewTreeStoreNodeList::compatibility_iterator m_node;
};

SWIGINTERN size_t wxDataViewTreeStoreNodeList___len__(wxDataViewTreeStoreNodeList *self){
            return self->size();
        }
SWIGINTERN wxDataViewTreeStoreNode *wxDataViewTreeStoreNodeList___getitem__(wxDataViewTreeStoreNodeList *self,size_t index){
            if (index < self->size()) {
                wxDataViewTreeStoreNodeList::compatibility_iterator node = self->Item(index);
                if (node) return (wxDataViewTreeStoreNode*)node->GetData();
            }
            PyErr_SetString(PyExc_IndexError, "sequence index out of range");
            return NULL;
        }
SWIGINTERN bool wxDataViewTreeStoreNodeList___contains__(wxDataViewTreeStoreNodeList *self,wxDataViewTreeStoreNode const *obj){
            wxDataViewTreeStoreNodeList::compatibility_iterator node;
            node = self->Find((wxDataViewTreeStoreNode*)obj);
            return node;
        }
SWIGINTERN wxDataViewTreeStoreNodeList_iterator *wxDataViewTreeStoreNodeList___iter__(wxDataViewTreeStoreNodeList *self){
            return new wxDataViewTreeStoreNodeList_iterator(self->GetFirst());
        }
SWIGINTERN int wxDataViewTreeStoreNodeList_index(wxDataViewTreeStoreNodeList *self,wxDataViewTreeStoreNode *obj){
            int idx = self->IndexOf((wxDataViewTreeStoreNode*)obj);
            if (idx == wxNOT_FOUND)
                PyErr_SetString(PyExc_ValueError,
                                "sequence.index(x): x not in sequence");
            return idx;
        }
#ifdef __cplusplus
extern "C" {
#endif
SWIGINTERN int DataViewCtrlNameStr_set(PyObject *) {
  SWIG_Error(SWIG_AttributeError,"Variable DataViewCtrlNameStr is read-only.");
  return 1;
}


SWIGINTERN PyObject *DataViewCtrlNameStr_get(void) {
  PyObject *pyobj = 0;
  
  {
#if wxUSE_UNICODE
    pyobj = PyUnicode_FromWideChar((&wxPyDataViewCtrlNameStr)->c_str(), (&wxPyDataViewCtrlNameStr)->Len());
#else
    pyobj = PyString_FromStringAndSize((&wxPyDataViewCtrlNameStr)->c_str(), (&wxPyDataViewCtrlNameStr)->Len());
#endif
  }
  return pyobj;
}


SWIGINTERN PyObject *_wrap_new_DataViewItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  PyLong arg1 = (PyLong) 0 ;
  wxDataViewItem *result = 0 ;
  PyObject * obj0 = 0 ;
  char *  kwnames[] = {
    (char *) "ID", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DataViewItem",kwnames,&obj0)) SWIG_fail;
  if (obj0) {
    {
      arg1 = PyLong_AsVoidPtr(obj0);
    }
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxDataViewItem *)new wxDataViewItem(arg1);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDataViewItem, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_DataViewItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewItem *arg1 = (wxDataViewItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewItem, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DataViewItem" "', expected argument " "1"" of type '" "wxDataViewItem *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewItem * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    delete arg1;
    
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewItem_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewItem *arg1 = (wxDataViewItem *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewItem_IsOk" "', expected argument " "1"" of type '" "wxDataViewItem const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewItem * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)((wxDataViewItem const *)arg1)->IsOk();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewItem_GetID(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewItem *arg1 = (wxDataViewItem *) 0 ;
  PyLong result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewItem_GetID" "', expected argument " "1"" of type '" "wxDataViewItem const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewItem * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = ((wxDataViewItem const *)arg1)->GetID();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = PyLong_FromVoidPtr(result);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewItem___hash__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewItem *arg1 = (wxDataViewItem *) 0 ;
  long result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewItem___hash__" "', expected argument " "1"" of type '" "wxDataViewItem *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewItem * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (long)wxDataViewItem___hash__(arg1);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_From_long(static_cast< long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewItem___cmp__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewItem *arg1 = (wxDataViewItem *) 0 ;
  wxDataViewItem *arg2 = (wxDataViewItem *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "other", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewItem___cmp__",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewItem___cmp__" "', expected argument " "1"" of type '" "wxDataViewItem *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewItem * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDataViewItem, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewItem___cmp__" "', expected argument " "2"" of type '" "wxDataViewItem *""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (int)wxDataViewItem___cmp__(arg1,arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *DataViewItem_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_wxDataViewItem, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *DataViewItem_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_delete_DataViewItemArray_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewItemArray_iterator *arg1 = (wxDataViewItemArray_iterator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewItemArray_iterator, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DataViewItemArray_iterator" "', expected argument " "1"" of type '" "wxDataViewItemArray_iterator *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewItemArray_iterator * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    delete arg1;
    
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewItemArray_iterator_next(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewItemArray_iterator *arg1 = (wxDataViewItemArray_iterator *) 0 ;
  wxDataViewItem *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewItemArray_iterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewItemArray_iterator_next" "', expected argument " "1"" of type '" "wxDataViewItemArray_iterator *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewItemArray_iterator * >(argp1);
  {
    result = (wxDataViewItem *)(arg1)->next();
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDataViewItem, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *DataViewItemArray_iterator_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_wxDataViewItemArray_iterator, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_delete_DataViewItemArray(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewItemArray *arg1 = (wxDataViewItemArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewItemArray, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DataViewItemArray" "', expected argument " "1"" of type '" "wxDataViewItemArray *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewItemArray * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    delete arg1;
    
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewItemArray___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewItemArray *arg1 = (wxDataViewItemArray *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewItemArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewItemArray___len__" "', expected argument " "1"" of type '" "wxDataViewItemArray *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewItemArray * >(argp1);
  {
    result = (size_t)wxDataViewItemArray___len__(arg1);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewItemArray___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewItemArray *arg1 = (wxDataViewItemArray *) 0 ;
  size_t arg2 ;
  wxDataViewItem *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "index", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewItemArray___getitem__",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewItemArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewItemArray___getitem__" "', expected argument " "1"" of type '" "wxDataViewItemArray *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewItemArray * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataViewItemArray___getitem__" "', expected argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  {
    result = (wxDataViewItem *)wxDataViewItemArray___getitem__(arg1,arg2);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDataViewItem, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewItemArray___iter__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewItemArray *arg1 = (wxDataViewItemArray *) 0 ;
  wxDataViewItemArray_iterator *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewItemArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewItemArray___iter__" "', expected argument " "1"" of type '" "wxDataViewItemArray *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewItemArray * >(argp1);
  {
    result = (wxDataViewItemArray_iterator *)wxDataViewItemArray___iter__(arg1);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDataViewItemArray_iterator, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewItemArray_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewItemArray *arg1 = (wxDataViewItemArray *) 0 ;
  wxDataViewItem *arg2 = (wxDataViewItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "object", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewItemArray_append",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewItemArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewItemArray_append" "', expected argument " "1"" of type '" "wxDataViewItemArray *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewItemArray * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxDataViewItem, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewItemArray_append" "', expected argument " "2"" of type '" "wxDataViewItem *""'");
  }
  {
    wxDataViewItemArray_append(arg1,arg2);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewItemArray_insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewItemArray *arg1 = (wxDataViewItemArray *) 0 ;
  size_t arg2 ;
  wxDataViewItem *arg3 = (wxDataViewItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "index",(char *) "object", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataViewItemArray_insert",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewItemArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewItemArray_insert" "', expected argument " "1"" of type '" "wxDataViewItemArray *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewItemArray * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataViewItemArray_insert" "', expected argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&arg3), SWIGTYPE_p_wxDataViewItem, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DataViewItemArray_insert" "', expected argument " "3"" of type '" "wxDataViewItem *""'");
  }
  {
    wxDataViewItemArray_insert(arg1,arg2,arg3);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *DataViewItemArray_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_wxDataViewItemArray, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_delete_DataViewModelNotifier(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewModelNotifier *arg1 = (wxDataViewModelNotifier *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewModelNotifier, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DataViewModelNotifier" "', expected argument " "1"" of type '" "wxDataViewModelNotifier *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewModelNotifier * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    delete arg1;
    
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewModelNotifier_ItemAdded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewModelNotifier *arg1 = (wxDataViewModelNotifier *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  wxDataViewItem *arg3 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "parent",(char *) "item", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataViewModelNotifier_ItemAdded",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewModelNotifier, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewModelNotifier_ItemAdded" "', expected argument " "1"" of type '" "wxDataViewModelNotifier *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewModelNotifier * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewModelNotifier_ItemAdded" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewModelNotifier_ItemAdded" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DataViewModelNotifier_ItemAdded" "', expected argument " "3"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewModelNotifier_ItemAdded" "', expected argument " "3"" of type '" "wxDataViewItem const &""'"); 
  }
  arg3 = reinterpret_cast< wxDataViewItem * >(argp3);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)(arg1)->ItemAdded((wxDataViewItem const &)*arg2,(wxDataViewItem const &)*arg3);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewModelNotifier_ItemDeleted(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewModelNotifier *arg1 = (wxDataViewModelNotifier *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  wxDataViewItem *arg3 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "parent",(char *) "item", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataViewModelNotifier_ItemDeleted",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewModelNotifier, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewModelNotifier_ItemDeleted" "', expected argument " "1"" of type '" "wxDataViewModelNotifier *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewModelNotifier * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewModelNotifier_ItemDeleted" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewModelNotifier_ItemDeleted" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DataViewModelNotifier_ItemDeleted" "', expected argument " "3"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewModelNotifier_ItemDeleted" "', expected argument " "3"" of type '" "wxDataViewItem const &""'"); 
  }
  arg3 = reinterpret_cast< wxDataViewItem * >(argp3);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)(arg1)->ItemDeleted((wxDataViewItem const &)*arg2,(wxDataViewItem const &)*arg3);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewModelNotifier_ItemChanged(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewModelNotifier *arg1 = (wxDataViewModelNotifier *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "item", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewModelNotifier_ItemChanged",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewModelNotifier, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewModelNotifier_ItemChanged" "', expected argument " "1"" of type '" "wxDataViewModelNotifier *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewModelNotifier * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewModelNotifier_ItemChanged" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewModelNotifier_ItemChanged" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)(arg1)->ItemChanged((wxDataViewItem const &)*arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewModelNotifier_ItemsAdded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewModelNotifier *arg1 = (wxDataViewModelNotifier *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  wxDataViewItemArray *arg3 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "parent",(char *) "items", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataViewModelNotifier_ItemsAdded",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewModelNotifier, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewModelNotifier_ItemsAdded" "', expected argument " "1"" of type '" "wxDataViewModelNotifier *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewModelNotifier * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewModelNotifier_ItemsAdded" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewModelNotifier_ItemsAdded" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDataViewItemArray,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DataViewModelNotifier_ItemsAdded" "', expected argument " "3"" of type '" "wxDataViewItemArray const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewModelNotifier_ItemsAdded" "', expected argument " "3"" of type '" "wxDataViewItemArray const &""'"); 
  }
  arg3 = reinterpret_cast< wxDataViewItemArray * >(argp3);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)(arg1)->ItemsAdded((wxDataViewItem const &)*arg2,(wxDataViewItemArray const &)*arg3);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewModelNotifier_ItemsDeleted(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewModelNotifier *arg1 = (wxDataViewModelNotifier *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  wxDataViewItemArray *arg3 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "parent",(char *) "items", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataViewModelNotifier_ItemsDeleted",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewModelNotifier, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewModelNotifier_ItemsDeleted" "', expected argument " "1"" of type '" "wxDataViewModelNotifier *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewModelNotifier * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewModelNotifier_ItemsDeleted" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewModelNotifier_ItemsDeleted" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDataViewItemArray,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DataViewModelNotifier_ItemsDeleted" "', expected argument " "3"" of type '" "wxDataViewItemArray const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewModelNotifier_ItemsDeleted" "', expected argument " "3"" of type '" "wxDataViewItemArray const &""'"); 
  }
  arg3 = reinterpret_cast< wxDataViewItemArray * >(argp3);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)(arg1)->ItemsDeleted((wxDataViewItem const &)*arg2,(wxDataViewItemArray const &)*arg3);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewModelNotifier_ItemsChanged(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewModelNotifier *arg1 = (wxDataViewModelNotifier *) 0 ;
  wxDataViewItemArray *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "items", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewModelNotifier_ItemsChanged",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewModelNotifier, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewModelNotifier_ItemsChanged" "', expected argument " "1"" of type '" "wxDataViewModelNotifier *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewModelNotifier * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItemArray,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewModelNotifier_ItemsChanged" "', expected argument " "2"" of type '" "wxDataViewItemArray const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewModelNotifier_ItemsChanged" "', expected argument " "2"" of type '" "wxDataViewItemArray const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItemArray * >(argp2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)(arg1)->ItemsChanged((wxDataViewItemArray const &)*arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewModelNotifier_ValueChanged(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewModelNotifier *arg1 = (wxDataViewModelNotifier *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  unsigned int arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  unsigned int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "item",(char *) "col", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataViewModelNotifier_ValueChanged",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewModelNotifier, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewModelNotifier_ValueChanged" "', expected argument " "1"" of type '" "wxDataViewModelNotifier *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewModelNotifier * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewModelNotifier_ValueChanged" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewModelNotifier_ValueChanged" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DataViewModelNotifier_ValueChanged" "', expected argument " "3"" of type '" "unsigned int""'");
  } 
  arg3 = static_cast< unsigned int >(val3);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)(arg1)->ValueChanged((wxDataViewItem const &)*arg2,arg3);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewModelNotifier_Cleared(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewModelNotifier *arg1 = (wxDataViewModelNotifier *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewModelNotifier, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewModelNotifier_Cleared" "', expected argument " "1"" of type '" "wxDataViewModelNotifier *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewModelNotifier * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)(arg1)->Cleared();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewModelNotifier_BeforeReset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewModelNotifier *arg1 = (wxDataViewModelNotifier *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewModelNotifier, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewModelNotifier_BeforeReset" "', expected argument " "1"" of type '" "wxDataViewModelNotifier *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewModelNotifier * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)(arg1)->BeforeReset();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewModelNotifier_AfterReset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewModelNotifier *arg1 = (wxDataViewModelNotifier *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewModelNotifier, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewModelNotifier_AfterReset" "', expected argument " "1"" of type '" "wxDataViewModelNotifier *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewModelNotifier * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)(arg1)->AfterReset();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewModelNotifier_Resort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewModelNotifier *arg1 = (wxDataViewModelNotifier *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewModelNotifier, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewModelNotifier_Resort" "', expected argument " "1"" of type '" "wxDataViewModelNotifier *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewModelNotifier * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->Resort();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewModelNotifier_SetOwner(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewModelNotifier *arg1 = (wxDataViewModelNotifier *) 0 ;
  wxDataViewModel *arg2 = (wxDataViewModel *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "owner", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewModelNotifier_SetOwner",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewModelNotifier, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewModelNotifier_SetOwner" "', expected argument " "1"" of type '" "wxDataViewModelNotifier *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewModelNotifier * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDataViewModel, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewModelNotifier_SetOwner" "', expected argument " "2"" of type '" "wxDataViewModel *""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewModel * >(argp2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->SetOwner(arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewModelNotifier_GetOwner(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewModelNotifier *arg1 = (wxDataViewModelNotifier *) 0 ;
  wxDataViewModel *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewModelNotifier, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewModelNotifier_GetOwner" "', expected argument " "1"" of type '" "wxDataViewModelNotifier *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewModelNotifier * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxDataViewModel *)(arg1)->GetOwner();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDataViewModel, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *DataViewModelNotifier_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_wxDataViewModelNotifier, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_PyDataViewModelNotifier(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxPyDataViewModelNotifier *result = 0 ;
  
  if (!SWIG_Python_UnpackTuple(args,"new_PyDataViewModelNotifier",0,0,0)) SWIG_fail;
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxPyDataViewModelNotifier *)new wxPyDataViewModelNotifier();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyDataViewModelNotifier, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_PyDataViewModelNotifier__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxPyDataViewModelNotifier *arg1 = (wxPyDataViewModelNotifier *) 0 ;
  PyObject *arg2 = (PyObject *) 0 ;
  PyObject *arg3 = (PyObject *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "self",(char *) "_class", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDataViewModelNotifier__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyDataViewModelNotifier, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyDataViewModelNotifier__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDataViewModelNotifier *""'"); 
  }
  arg1 = reinterpret_cast< wxPyDataViewModelNotifier * >(argp1);
  arg2 = obj1;
  arg3 = obj2;
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->_setCallbackInfo(arg2,arg3);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *PyDataViewModelNotifier_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDataViewModelNotifier, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *PyDataViewModelNotifier_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_new_DataViewItemAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewItemAttr *result = 0 ;
  
  if (!SWIG_Python_UnpackTuple(args,"new_DataViewItemAttr",0,0,0)) SWIG_fail;
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxDataViewItemAttr *)new wxDataViewItemAttr();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDataViewItemAttr, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_DataViewItemAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewItemAttr *arg1 = (wxDataViewItemAttr *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewItemAttr, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DataViewItemAttr" "', expected argument " "1"" of type '" "wxDataViewItemAttr *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewItemAttr * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    delete arg1;
    
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewItemAttr_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewItemAttr *arg1 = (wxDataViewItemAttr *) 0 ;
  wxColour *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  wxColour temp2 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "colour", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewItemAttr_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewItemAttr, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewItemAttr_SetColour" "', expected argument " "1"" of type '" "wxDataViewItemAttr *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewItemAttr * >(argp1);
  {
    arg2 = &temp2;
    if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->SetColour((wxColour const &)*arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewItemAttr_SetBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewItemAttr *arg1 = (wxDataViewItemAttr *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "set", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewItemAttr_SetBold",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewItemAttr, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewItemAttr_SetBold" "', expected argument " "1"" of type '" "wxDataViewItemAttr *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewItemAttr * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataViewItemAttr_SetBold" "', expected argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->SetBold(arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewItemAttr_SetItalic(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewItemAttr *arg1 = (wxDataViewItemAttr *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "set", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewItemAttr_SetItalic",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewItemAttr, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewItemAttr_SetItalic" "', expected argument " "1"" of type '" "wxDataViewItemAttr *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewItemAttr * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataViewItemAttr_SetItalic" "', expected argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->SetItalic(arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewItemAttr_HasColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewItemAttr *arg1 = (wxDataViewItemAttr *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewItemAttr, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewItemAttr_HasColour" "', expected argument " "1"" of type '" "wxDataViewItemAttr const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewItemAttr * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)((wxDataViewItemAttr const *)arg1)->HasColour();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewItemAttr_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewItemAttr *arg1 = (wxDataViewItemAttr *) 0 ;
  wxColour result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewItemAttr, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewItemAttr_GetColour" "', expected argument " "1"" of type '" "wxDataViewItemAttr const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewItemAttr * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = ((wxDataViewItemAttr const *)arg1)->GetColour();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewItemAttr_HasFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewItemAttr *arg1 = (wxDataViewItemAttr *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewItemAttr, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewItemAttr_HasFont" "', expected argument " "1"" of type '" "wxDataViewItemAttr const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewItemAttr * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)((wxDataViewItemAttr const *)arg1)->HasFont();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewItemAttr_GetBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewItemAttr *arg1 = (wxDataViewItemAttr *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewItemAttr, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewItemAttr_GetBold" "', expected argument " "1"" of type '" "wxDataViewItemAttr const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewItemAttr * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)((wxDataViewItemAttr const *)arg1)->GetBold();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewItemAttr_GetItalic(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewItemAttr *arg1 = (wxDataViewItemAttr *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewItemAttr, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewItemAttr_GetItalic" "', expected argument " "1"" of type '" "wxDataViewItemAttr const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewItemAttr * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)((wxDataViewItemAttr const *)arg1)->GetItalic();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewItemAttr_IsDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewItemAttr *arg1 = (wxDataViewItemAttr *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewItemAttr, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewItemAttr_IsDefault" "', expected argument " "1"" of type '" "wxDataViewItemAttr const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewItemAttr * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)((wxDataViewItemAttr const *)arg1)->IsDefault();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewItemAttr_GetEffectiveFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewItemAttr *arg1 = (wxDataViewItemAttr *) 0 ;
  wxFont *arg2 = 0 ;
  wxFont result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "font", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewItemAttr_GetEffectiveFont",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewItemAttr, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewItemAttr_GetEffectiveFont" "', expected argument " "1"" of type '" "wxDataViewItemAttr const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewItemAttr * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewItemAttr_GetEffectiveFont" "', expected argument " "2"" of type '" "wxFont const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewItemAttr_GetEffectiveFont" "', expected argument " "2"" of type '" "wxFont const &""'"); 
  }
  arg2 = reinterpret_cast< wxFont * >(argp2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = ((wxDataViewItemAttr const *)arg1)->GetEffectiveFont((wxFont const &)*arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *DataViewItemAttr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_wxDataViewItemAttr, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *DataViewItemAttr_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_DataViewModel_GetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewModel *arg1 = (wxDataViewModel *) 0 ;
  unsigned int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewModel_GetColumnCount" "', expected argument " "1"" of type '" "wxDataViewModel const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewModel * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (unsigned int)((wxDataViewModel const *)arg1)->GetColumnCount();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewModel_GetColumnType(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewModel *arg1 = (wxDataViewModel *) 0 ;
  unsigned int arg2 ;
  wxString result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "col", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewModel_GetColumnType",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewModel_GetColumnType" "', expected argument " "1"" of type '" "wxDataViewModel const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewModel * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataViewModel_GetColumnType" "', expected argument " "2"" of type '" "unsigned int""'");
  } 
  arg2 = static_cast< unsigned int >(val2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = ((wxDataViewModel const *)arg1)->GetColumnType(arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
#if wxUSE_UNICODE
    resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
#else
    resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
#endif
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewModel_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewModel *arg1 = (wxDataViewModel *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  unsigned int arg3 ;
  wxVariant result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  unsigned int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "item",(char *) "col", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataViewModel_GetValue",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewModel_GetValue" "', expected argument " "1"" of type '" "wxDataViewModel const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewModel * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewModel_GetValue" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewModel_GetValue" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DataViewModel_GetValue" "', expected argument " "3"" of type '" "unsigned int""'");
  } 
  arg3 = static_cast< unsigned int >(val3);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = wxDataViewModel_GetValue((wxDataViewModel const *)arg1,(wxDataViewItem const &)*arg2,arg3);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = wxVariant_out_helper(result);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewModel_HasValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewModel *arg1 = (wxDataViewModel *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  unsigned int arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  unsigned int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "item",(char *) "col", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataViewModel_HasValue",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewModel_HasValue" "', expected argument " "1"" of type '" "wxDataViewModel const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewModel * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewModel_HasValue" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewModel_HasValue" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DataViewModel_HasValue" "', expected argument " "3"" of type '" "unsigned int""'");
  } 
  arg3 = static_cast< unsigned int >(val3);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)((wxDataViewModel const *)arg1)->HasValue((wxDataViewItem const &)*arg2,arg3);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewModel_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewModel *arg1 = (wxDataViewModel *) 0 ;
  wxVariant *arg2 = 0 ;
  wxDataViewItem *arg3 = 0 ;
  unsigned int arg4 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  wxVariant temp2 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  unsigned int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "variant",(char *) "item",(char *) "col", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DataViewModel_SetValue",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewModel_SetValue" "', expected argument " "1"" of type '" "wxDataViewModel *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewModel * >(argp1);
  {
    temp2 = wxVariant_in_helper(obj1);
    arg2 = &temp2;
  }
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DataViewModel_SetValue" "', expected argument " "3"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewModel_SetValue" "', expected argument " "3"" of type '" "wxDataViewItem const &""'"); 
  }
  arg3 = reinterpret_cast< wxDataViewItem * >(argp3);
  ecode4 = SWIG_AsVal_unsigned_SS_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DataViewModel_SetValue" "', expected argument " "4"" of type '" "unsigned int""'");
  } 
  arg4 = static_cast< unsigned int >(val4);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)(arg1)->SetValue((wxVariant const &)*arg2,(wxDataViewItem const &)*arg3,arg4);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewModel_ChangeValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewModel *arg1 = (wxDataViewModel *) 0 ;
  wxVariant *arg2 = 0 ;
  wxDataViewItem *arg3 = 0 ;
  unsigned int arg4 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  wxVariant temp2 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  unsigned int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "variant",(char *) "item",(char *) "col", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DataViewModel_ChangeValue",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewModel_ChangeValue" "', expected argument " "1"" of type '" "wxDataViewModel *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewModel * >(argp1);
  {
    temp2 = wxVariant_in_helper(obj1);
    arg2 = &temp2;
  }
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DataViewModel_ChangeValue" "', expected argument " "3"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewModel_ChangeValue" "', expected argument " "3"" of type '" "wxDataViewItem const &""'"); 
  }
  arg3 = reinterpret_cast< wxDataViewItem * >(argp3);
  ecode4 = SWIG_AsVal_unsigned_SS_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DataViewModel_ChangeValue" "', expected argument " "4"" of type '" "unsigned int""'");
  } 
  arg4 = static_cast< unsigned int >(val4);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)(arg1)->ChangeValue((wxVariant const &)*arg2,(wxDataViewItem const &)*arg3,arg4);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewModel_GetAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewModel *arg1 = (wxDataViewModel *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  unsigned int arg3 ;
  wxDataViewItemAttr *arg4 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  unsigned int val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "item",(char *) "col",(char *) "attr", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DataViewModel_GetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewModel_GetAttr" "', expected argument " "1"" of type '" "wxDataViewModel const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewModel * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewModel_GetAttr" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewModel_GetAttr" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DataViewModel_GetAttr" "', expected argument " "3"" of type '" "unsigned int""'");
  } 
  arg3 = static_cast< unsigned int >(val3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxDataViewItemAttr,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DataViewModel_GetAttr" "', expected argument " "4"" of type '" "wxDataViewItemAttr &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewModel_GetAttr" "', expected argument " "4"" of type '" "wxDataViewItemAttr &""'"); 
  }
  arg4 = reinterpret_cast< wxDataViewItemAttr * >(argp4);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)((wxDataViewModel const *)arg1)->GetAttr((wxDataViewItem const &)*arg2,arg3,*arg4);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewModel_IsEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewModel *arg1 = (wxDataViewModel *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  unsigned int arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  unsigned int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "item",(char *) "col", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataViewModel_IsEnabled",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewModel_IsEnabled" "', expected argument " "1"" of type '" "wxDataViewModel const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewModel * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewModel_IsEnabled" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewModel_IsEnabled" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DataViewModel_IsEnabled" "', expected argument " "3"" of type '" "unsigned int""'");
  } 
  arg3 = static_cast< unsigned int >(val3);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)((wxDataViewModel const *)arg1)->IsEnabled((wxDataViewItem const &)*arg2,arg3);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewModel_GetParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewModel *arg1 = (wxDataViewModel *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  wxDataViewItem result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "item", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewModel_GetParent",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewModel_GetParent" "', expected argument " "1"" of type '" "wxDataViewModel const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewModel * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewModel_GetParent" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewModel_GetParent" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = ((wxDataViewModel const *)arg1)->GetParent((wxDataViewItem const &)*arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj((new wxDataViewItem(static_cast< const wxDataViewItem& >(result))), SWIGTYPE_p_wxDataViewItem, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewModel_IsContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewModel *arg1 = (wxDataViewModel *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "item", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewModel_IsContainer",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewModel_IsContainer" "', expected argument " "1"" of type '" "wxDataViewModel const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewModel * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewModel_IsContainer" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewModel_IsContainer" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)((wxDataViewModel const *)arg1)->IsContainer((wxDataViewItem const &)*arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewModel_HasContainerColumns(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewModel *arg1 = (wxDataViewModel *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "item", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewModel_HasContainerColumns",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewModel_HasContainerColumns" "', expected argument " "1"" of type '" "wxDataViewModel const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewModel * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewModel_HasContainerColumns" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewModel_HasContainerColumns" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)((wxDataViewModel const *)arg1)->HasContainerColumns((wxDataViewItem const &)*arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewModel_GetChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewModel *arg1 = (wxDataViewModel *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  wxDataViewItemArray *arg3 = 0 ;
  unsigned int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "item",(char *) "children", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataViewModel_GetChildren",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewModel_GetChildren" "', expected argument " "1"" of type '" "wxDataViewModel const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewModel * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewModel_GetChildren" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewModel_GetChildren" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDataViewItemArray,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DataViewModel_GetChildren" "', expected argument " "3"" of type '" "wxDataViewItemArray &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewModel_GetChildren" "', expected argument " "3"" of type '" "wxDataViewItemArray &""'"); 
  }
  arg3 = reinterpret_cast< wxDataViewItemArray * >(argp3);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (unsigned int)((wxDataViewModel const *)arg1)->GetChildren((wxDataViewItem const &)*arg2,*arg3);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewModel_ItemAdded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewModel *arg1 = (wxDataViewModel *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  wxDataViewItem *arg3 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "parent",(char *) "item", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataViewModel_ItemAdded",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewModel_ItemAdded" "', expected argument " "1"" of type '" "wxDataViewModel *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewModel * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewModel_ItemAdded" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewModel_ItemAdded" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DataViewModel_ItemAdded" "', expected argument " "3"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewModel_ItemAdded" "', expected argument " "3"" of type '" "wxDataViewItem const &""'"); 
  }
  arg3 = reinterpret_cast< wxDataViewItem * >(argp3);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)(arg1)->ItemAdded((wxDataViewItem const &)*arg2,(wxDataViewItem const &)*arg3);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewModel_ItemsAdded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewModel *arg1 = (wxDataViewModel *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  wxDataViewItemArray *arg3 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "parent",(char *) "items", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataViewModel_ItemsAdded",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewModel_ItemsAdded" "', expected argument " "1"" of type '" "wxDataViewModel *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewModel * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewModel_ItemsAdded" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewModel_ItemsAdded" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDataViewItemArray,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DataViewModel_ItemsAdded" "', expected argument " "3"" of type '" "wxDataViewItemArray const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewModel_ItemsAdded" "', expected argument " "3"" of type '" "wxDataViewItemArray const &""'"); 
  }
  arg3 = reinterpret_cast< wxDataViewItemArray * >(argp3);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)(arg1)->ItemsAdded((wxDataViewItem const &)*arg2,(wxDataViewItemArray const &)*arg3);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewModel_ItemDeleted(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewModel *arg1 = (wxDataViewModel *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  wxDataViewItem *arg3 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "parent",(char *) "item", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataViewModel_ItemDeleted",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewModel_ItemDeleted" "', expected argument " "1"" of type '" "wxDataViewModel *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewModel * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewModel_ItemDeleted" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewModel_ItemDeleted" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DataViewModel_ItemDeleted" "', expected argument " "3"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewModel_ItemDeleted" "', expected argument " "3"" of type '" "wxDataViewItem const &""'"); 
  }
  arg3 = reinterpret_cast< wxDataViewItem * >(argp3);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)(arg1)->ItemDeleted((wxDataViewItem const &)*arg2,(wxDataViewItem const &)*arg3);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewModel_ItemsDeleted(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewModel *arg1 = (wxDataViewModel *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  wxDataViewItemArray *arg3 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "parent",(char *) "items", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataViewModel_ItemsDeleted",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewModel_ItemsDeleted" "', expected argument " "1"" of type '" "wxDataViewModel *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewModel * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewModel_ItemsDeleted" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewModel_ItemsDeleted" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDataViewItemArray,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DataViewModel_ItemsDeleted" "', expected argument " "3"" of type '" "wxDataViewItemArray const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewModel_ItemsDeleted" "', expected argument " "3"" of type '" "wxDataViewItemArray const &""'"); 
  }
  arg3 = reinterpret_cast< wxDataViewItemArray * >(argp3);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)(arg1)->ItemsDeleted((wxDataViewItem const &)*arg2,(wxDataViewItemArray const &)*arg3);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewModel_ItemChanged(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewModel *arg1 = (wxDataViewModel *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "item", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewModel_ItemChanged",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewModel_ItemChanged" "', expected argument " "1"" of type '" "wxDataViewModel *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewModel * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewModel_ItemChanged" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewModel_ItemChanged" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)(arg1)->ItemChanged((wxDataViewItem const &)*arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewModel_ItemsChanged(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewModel *arg1 = (wxDataViewModel *) 0 ;
  wxDataViewItemArray *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "items", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewModel_ItemsChanged",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewModel_ItemsChanged" "', expected argument " "1"" of type '" "wxDataViewModel *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewModel * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItemArray,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewModel_ItemsChanged" "', expected argument " "2"" of type '" "wxDataViewItemArray const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewModel_ItemsChanged" "', expected argument " "2"" of type '" "wxDataViewItemArray const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItemArray * >(argp2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)(arg1)->ItemsChanged((wxDataViewItemArray const &)*arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewModel_ValueChanged(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewModel *arg1 = (wxDataViewModel *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  unsigned int arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  unsigned int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "item",(char *) "col", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataViewModel_ValueChanged",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewModel_ValueChanged" "', expected argument " "1"" of type '" "wxDataViewModel *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewModel * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewModel_ValueChanged" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewModel_ValueChanged" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DataViewModel_ValueChanged" "', expected argument " "3"" of type '" "unsigned int""'");
  } 
  arg3 = static_cast< unsigned int >(val3);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)(arg1)->ValueChanged((wxDataViewItem const &)*arg2,arg3);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewModel_Cleared(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewModel *arg1 = (wxDataViewModel *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewModel_Cleared" "', expected argument " "1"" of type '" "wxDataViewModel *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewModel * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)(arg1)->Cleared();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewModel_BeforeReset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewModel *arg1 = (wxDataViewModel *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewModel_BeforeReset" "', expected argument " "1"" of type '" "wxDataViewModel *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewModel * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)(arg1)->BeforeReset();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewModel_AfterReset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewModel *arg1 = (wxDataViewModel *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewModel_AfterReset" "', expected argument " "1"" of type '" "wxDataViewModel *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewModel * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)(arg1)->AfterReset();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewModel_Resort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewModel *arg1 = (wxDataViewModel *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewModel_Resort" "', expected argument " "1"" of type '" "wxDataViewModel *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewModel * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->Resort();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewModel_AddNotifier(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewModel *arg1 = (wxDataViewModel *) 0 ;
  wxDataViewModelNotifier *arg2 = (wxDataViewModelNotifier *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "notifier", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewModel_AddNotifier",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewModel_AddNotifier" "', expected argument " "1"" of type '" "wxDataViewModel *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewModel * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxDataViewModelNotifier, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewModel_AddNotifier" "', expected argument " "2"" of type '" "wxDataViewModelNotifier *""'");
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->AddNotifier(arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewModel_RemoveNotifier(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewModel *arg1 = (wxDataViewModel *) 0 ;
  wxDataViewModelNotifier *arg2 = (wxDataViewModelNotifier *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "notifier", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewModel_RemoveNotifier",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewModel_RemoveNotifier" "', expected argument " "1"" of type '" "wxDataViewModel *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewModel * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDataViewModelNotifier, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewModel_RemoveNotifier" "', expected argument " "2"" of type '" "wxDataViewModelNotifier *""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewModelNotifier * >(argp2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->RemoveNotifier(arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewModel_Compare(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewModel *arg1 = (wxDataViewModel *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  wxDataViewItem *arg3 = 0 ;
  unsigned int arg4 ;
  bool arg5 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  unsigned int val4 ;
  int ecode4 = 0 ;
  bool val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "item1",(char *) "item2",(char *) "column",(char *) "ascending", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DataViewModel_Compare",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewModel_Compare" "', expected argument " "1"" of type '" "wxDataViewModel *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewModel * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewModel_Compare" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewModel_Compare" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DataViewModel_Compare" "', expected argument " "3"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewModel_Compare" "', expected argument " "3"" of type '" "wxDataViewItem const &""'"); 
  }
  arg3 = reinterpret_cast< wxDataViewItem * >(argp3);
  ecode4 = SWIG_AsVal_unsigned_SS_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DataViewModel_Compare" "', expected argument " "4"" of type '" "unsigned int""'");
  } 
  arg4 = static_cast< unsigned int >(val4);
  ecode5 = SWIG_AsVal_bool(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DataViewModel_Compare" "', expected argument " "5"" of type '" "bool""'");
  } 
  arg5 = static_cast< bool >(val5);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (int)(arg1)->Compare((wxDataViewItem const &)*arg2,(wxDataViewItem const &)*arg3,arg4,arg5);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewModel_HasDefaultCompare(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewModel *arg1 = (wxDataViewModel *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewModel_HasDefaultCompare" "', expected argument " "1"" of type '" "wxDataViewModel const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewModel * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)((wxDataViewModel const *)arg1)->HasDefaultCompare();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewModel_IsListModel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewModel *arg1 = (wxDataViewModel *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewModel_IsListModel" "', expected argument " "1"" of type '" "wxDataViewModel const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewModel * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)((wxDataViewModel const *)arg1)->IsListModel();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewModel_IsVirtualListModel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewModel *arg1 = (wxDataViewModel *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewModel_IsVirtualListModel" "', expected argument " "1"" of type '" "wxDataViewModel const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewModel * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)((wxDataViewModel const *)arg1)->IsVirtualListModel();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *DataViewModel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_wxDataViewModel, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_PyDataViewModel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxPyDataViewModel *result = 0 ;
  
  if (!SWIG_Python_UnpackTuple(args,"new_PyDataViewModel",0,0,0)) SWIG_fail;
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxPyDataViewModel *)new wxPyDataViewModel();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyDataViewModel, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_PyDataViewModel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxPyDataViewModel *arg1 = (wxPyDataViewModel *) 0 ;
  PyObject *arg2 = (PyObject *) 0 ;
  PyObject *arg3 = (PyObject *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "self",(char *) "_class", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDataViewModel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyDataViewModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyDataViewModel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDataViewModel *""'"); 
  }
  arg1 = reinterpret_cast< wxPyDataViewModel * >(argp1);
  arg2 = obj1;
  arg3 = obj2;
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->_setCallbackInfo(arg2,arg3);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *PyDataViewModel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDataViewModel, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *PyDataViewModel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_delete_DataViewIndexListModel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewIndexListModel *arg1 = (wxDataViewIndexListModel *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewIndexListModel, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DataViewIndexListModel" "', expected argument " "1"" of type '" "wxDataViewIndexListModel *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewIndexListModel * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    delete arg1;
    
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewIndexListModel_GetValueByRow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewIndexListModel *arg1 = (wxDataViewIndexListModel *) 0 ;
  unsigned int arg2 ;
  unsigned int arg3 ;
  wxVariant result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  unsigned int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "row",(char *) "col", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataViewIndexListModel_GetValueByRow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewIndexListModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewIndexListModel_GetValueByRow" "', expected argument " "1"" of type '" "wxDataViewIndexListModel const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewIndexListModel * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataViewIndexListModel_GetValueByRow" "', expected argument " "2"" of type '" "unsigned int""'");
  } 
  arg2 = static_cast< unsigned int >(val2);
  ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DataViewIndexListModel_GetValueByRow" "', expected argument " "3"" of type '" "unsigned int""'");
  } 
  arg3 = static_cast< unsigned int >(val3);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = wxDataViewIndexListModel_GetValueByRow((wxDataViewIndexListModel const *)arg1,arg2,arg3);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = wxVariant_out_helper(result);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewIndexListModel_SetValueByRow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewIndexListModel *arg1 = (wxDataViewIndexListModel *) 0 ;
  wxVariant *arg2 = 0 ;
  unsigned int arg3 ;
  unsigned int arg4 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  wxVariant temp2 ;
  unsigned int val3 ;
  int ecode3 = 0 ;
  unsigned int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "variant",(char *) "row",(char *) "col", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DataViewIndexListModel_SetValueByRow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewIndexListModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewIndexListModel_SetValueByRow" "', expected argument " "1"" of type '" "wxDataViewIndexListModel *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewIndexListModel * >(argp1);
  {
    temp2 = wxVariant_in_helper(obj1);
    arg2 = &temp2;
  }
  ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DataViewIndexListModel_SetValueByRow" "', expected argument " "3"" of type '" "unsigned int""'");
  } 
  arg3 = static_cast< unsigned int >(val3);
  ecode4 = SWIG_AsVal_unsigned_SS_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DataViewIndexListModel_SetValueByRow" "', expected argument " "4"" of type '" "unsigned int""'");
  } 
  arg4 = static_cast< unsigned int >(val4);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)(arg1)->SetValueByRow((wxVariant const &)*arg2,arg3,arg4);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewIndexListModel_GetAttrByRow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewIndexListModel *arg1 = (wxDataViewIndexListModel *) 0 ;
  unsigned int arg2 ;
  unsigned int arg3 ;
  wxDataViewItemAttr *arg4 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  unsigned int val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "row",(char *) "col",(char *) "attr", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DataViewIndexListModel_GetAttrByRow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewIndexListModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewIndexListModel_GetAttrByRow" "', expected argument " "1"" of type '" "wxDataViewIndexListModel *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewIndexListModel * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataViewIndexListModel_GetAttrByRow" "', expected argument " "2"" of type '" "unsigned int""'");
  } 
  arg2 = static_cast< unsigned int >(val2);
  ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DataViewIndexListModel_GetAttrByRow" "', expected argument " "3"" of type '" "unsigned int""'");
  } 
  arg3 = static_cast< unsigned int >(val3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxDataViewItemAttr,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DataViewIndexListModel_GetAttrByRow" "', expected argument " "4"" of type '" "wxDataViewItemAttr &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewIndexListModel_GetAttrByRow" "', expected argument " "4"" of type '" "wxDataViewItemAttr &""'"); 
  }
  arg4 = reinterpret_cast< wxDataViewItemAttr * >(argp4);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)(arg1)->GetAttrByRow(arg2,arg3,*arg4);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewIndexListModel_IsEnabledByRow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewIndexListModel *arg1 = (wxDataViewIndexListModel *) 0 ;
  unsigned int arg2 ;
  unsigned int arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  unsigned int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "row",(char *) "col", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataViewIndexListModel_IsEnabledByRow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewIndexListModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewIndexListModel_IsEnabledByRow" "', expected argument " "1"" of type '" "wxDataViewIndexListModel const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewIndexListModel * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataViewIndexListModel_IsEnabledByRow" "', expected argument " "2"" of type '" "unsigned int""'");
  } 
  arg2 = static_cast< unsigned int >(val2);
  ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DataViewIndexListModel_IsEnabledByRow" "', expected argument " "3"" of type '" "unsigned int""'");
  } 
  arg3 = static_cast< unsigned int >(val3);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)((wxDataViewIndexListModel const *)arg1)->IsEnabledByRow(arg2,arg3);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewIndexListModel_RowPrepended(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewIndexListModel *arg1 = (wxDataViewIndexListModel *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewIndexListModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewIndexListModel_RowPrepended" "', expected argument " "1"" of type '" "wxDataViewIndexListModel *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewIndexListModel * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->RowPrepended();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewIndexListModel_RowInserted(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewIndexListModel *arg1 = (wxDataViewIndexListModel *) 0 ;
  unsigned int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "before", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewIndexListModel_RowInserted",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewIndexListModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewIndexListModel_RowInserted" "', expected argument " "1"" of type '" "wxDataViewIndexListModel *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewIndexListModel * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataViewIndexListModel_RowInserted" "', expected argument " "2"" of type '" "unsigned int""'");
  } 
  arg2 = static_cast< unsigned int >(val2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->RowInserted(arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewIndexListModel_RowAppended(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewIndexListModel *arg1 = (wxDataViewIndexListModel *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewIndexListModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewIndexListModel_RowAppended" "', expected argument " "1"" of type '" "wxDataViewIndexListModel *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewIndexListModel * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->RowAppended();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewIndexListModel_RowDeleted(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewIndexListModel *arg1 = (wxDataViewIndexListModel *) 0 ;
  unsigned int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "row", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewIndexListModel_RowDeleted",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewIndexListModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewIndexListModel_RowDeleted" "', expected argument " "1"" of type '" "wxDataViewIndexListModel *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewIndexListModel * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataViewIndexListModel_RowDeleted" "', expected argument " "2"" of type '" "unsigned int""'");
  } 
  arg2 = static_cast< unsigned int >(val2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->RowDeleted(arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewIndexListModel_RowsDeleted(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewIndexListModel *arg1 = (wxDataViewIndexListModel *) 0 ;
  wxArrayInt *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool temp2 = false ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "rows", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewIndexListModel_RowsDeleted",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewIndexListModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewIndexListModel_RowsDeleted" "', expected argument " "1"" of type '" "wxDataViewIndexListModel *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewIndexListModel * >(argp1);
  {
    if (! PySequence_Check(obj1)) {
      PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
      SWIG_fail;
    }
    arg2 = new wxArrayInt;
    temp2 = true;
    int i, len=PySequence_Length(obj1);
    for (i=0; i<len; i++) {
      PyObject* item = PySequence_GetItem(obj1, i);
      PyObject* number  = PyNumber_Int(item);
      if (!number) {
        PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
        SWIG_fail;
      }       
      arg2->Add(PyInt_AS_LONG(number));
      Py_DECREF(item);
      Py_DECREF(number);
    }
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->RowsDeleted((wxArrayInt const &)*arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  {
    if (temp2) delete arg2;
  }
  return resultobj;
fail:
  {
    if (temp2) delete arg2;
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewIndexListModel_RowChanged(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewIndexListModel *arg1 = (wxDataViewIndexListModel *) 0 ;
  unsigned int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "row", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewIndexListModel_RowChanged",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewIndexListModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewIndexListModel_RowChanged" "', expected argument " "1"" of type '" "wxDataViewIndexListModel *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewIndexListModel * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataViewIndexListModel_RowChanged" "', expected argument " "2"" of type '" "unsigned int""'");
  } 
  arg2 = static_cast< unsigned int >(val2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->RowChanged(arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewIndexListModel_RowValueChanged(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewIndexListModel *arg1 = (wxDataViewIndexListModel *) 0 ;
  unsigned int arg2 ;
  unsigned int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  unsigned int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "row",(char *) "col", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataViewIndexListModel_RowValueChanged",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewIndexListModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewIndexListModel_RowValueChanged" "', expected argument " "1"" of type '" "wxDataViewIndexListModel *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewIndexListModel * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataViewIndexListModel_RowValueChanged" "', expected argument " "2"" of type '" "unsigned int""'");
  } 
  arg2 = static_cast< unsigned int >(val2);
  ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DataViewIndexListModel_RowValueChanged" "', expected argument " "3"" of type '" "unsigned int""'");
  } 
  arg3 = static_cast< unsigned int >(val3);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->RowValueChanged(arg2,arg3);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewIndexListModel_Reset(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewIndexListModel *arg1 = (wxDataViewIndexListModel *) 0 ;
  unsigned int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "new_size", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewIndexListModel_Reset",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewIndexListModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewIndexListModel_Reset" "', expected argument " "1"" of type '" "wxDataViewIndexListModel *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewIndexListModel * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataViewIndexListModel_Reset" "', expected argument " "2"" of type '" "unsigned int""'");
  } 
  arg2 = static_cast< unsigned int >(val2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->Reset(arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewIndexListModel_GetRow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewIndexListModel *arg1 = (wxDataViewIndexListModel *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  unsigned int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "item", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewIndexListModel_GetRow",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewIndexListModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewIndexListModel_GetRow" "', expected argument " "1"" of type '" "wxDataViewIndexListModel const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewIndexListModel * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewIndexListModel_GetRow" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewIndexListModel_GetRow" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (unsigned int)((wxDataViewIndexListModel const *)arg1)->GetRow((wxDataViewItem const &)*arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewIndexListModel_GetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewIndexListModel *arg1 = (wxDataViewIndexListModel *) 0 ;
  unsigned int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewIndexListModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewIndexListModel_GetCount" "', expected argument " "1"" of type '" "wxDataViewIndexListModel const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewIndexListModel * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (unsigned int)((wxDataViewIndexListModel const *)arg1)->GetCount();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewIndexListModel_GetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewIndexListModel *arg1 = (wxDataViewIndexListModel *) 0 ;
  unsigned int arg2 ;
  wxDataViewItem result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "row", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewIndexListModel_GetItem",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewIndexListModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewIndexListModel_GetItem" "', expected argument " "1"" of type '" "wxDataViewIndexListModel const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewIndexListModel * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataViewIndexListModel_GetItem" "', expected argument " "2"" of type '" "unsigned int""'");
  } 
  arg2 = static_cast< unsigned int >(val2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = ((wxDataViewIndexListModel const *)arg1)->GetItem(arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj((new wxDataViewItem(static_cast< const wxDataViewItem& >(result))), SWIGTYPE_p_wxDataViewItem, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *DataViewIndexListModel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_wxDataViewIndexListModel, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_PyDataViewIndexListModel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  unsigned int arg1 = (unsigned int) 0 ;
  PyDataViewIndexListModel *result = 0 ;
  unsigned int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  char *  kwnames[] = {
    (char *) "initial_size", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyDataViewIndexListModel",kwnames,&obj0)) SWIG_fail;
  if (obj0) {
    ecode1 = SWIG_AsVal_unsigned_SS_int(obj0, &val1);
    if (!SWIG_IsOK(ecode1)) {
      SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_PyDataViewIndexListModel" "', expected argument " "1"" of type '" "unsigned int""'");
    } 
    arg1 = static_cast< unsigned int >(val1);
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (PyDataViewIndexListModel *)new PyDataViewIndexListModel(arg1);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_PyDataViewIndexListModel, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_PyDataViewIndexListModel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  PyDataViewIndexListModel *arg1 = (PyDataViewIndexListModel *) 0 ;
  PyObject *arg2 = (PyObject *) 0 ;
  PyObject *arg3 = (PyObject *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "self",(char *) "_class", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDataViewIndexListModel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_PyDataViewIndexListModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyDataViewIndexListModel__setCallbackInfo" "', expected argument " "1"" of type '" "PyDataViewIndexListModel *""'"); 
  }
  arg1 = reinterpret_cast< PyDataViewIndexListModel * >(argp1);
  arg2 = obj1;
  arg3 = obj2;
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->_setCallbackInfo(arg2,arg3);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *PyDataViewIndexListModel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_PyDataViewIndexListModel, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *PyDataViewIndexListModel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_delete_DataViewVirtualListModel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewVirtualListModel *arg1 = (wxDataViewVirtualListModel *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewVirtualListModel, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DataViewVirtualListModel" "', expected argument " "1"" of type '" "wxDataViewVirtualListModel *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewVirtualListModel * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    delete arg1;
    
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewVirtualListModel_GetValueByRow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewVirtualListModel *arg1 = (wxDataViewVirtualListModel *) 0 ;
  unsigned int arg2 ;
  unsigned int arg3 ;
  wxVariant result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  unsigned int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "row",(char *) "col", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataViewVirtualListModel_GetValueByRow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewVirtualListModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewVirtualListModel_GetValueByRow" "', expected argument " "1"" of type '" "wxDataViewVirtualListModel const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewVirtualListModel * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataViewVirtualListModel_GetValueByRow" "', expected argument " "2"" of type '" "unsigned int""'");
  } 
  arg2 = static_cast< unsigned int >(val2);
  ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DataViewVirtualListModel_GetValueByRow" "', expected argument " "3"" of type '" "unsigned int""'");
  } 
  arg3 = static_cast< unsigned int >(val3);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = wxDataViewVirtualListModel_GetValueByRow((wxDataViewVirtualListModel const *)arg1,arg2,arg3);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = wxVariant_out_helper(result);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewVirtualListModel_SetValueByRow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewVirtualListModel *arg1 = (wxDataViewVirtualListModel *) 0 ;
  wxVariant *arg2 = 0 ;
  unsigned int arg3 ;
  unsigned int arg4 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  wxVariant temp2 ;
  unsigned int val3 ;
  int ecode3 = 0 ;
  unsigned int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "variant",(char *) "row",(char *) "col", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DataViewVirtualListModel_SetValueByRow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewVirtualListModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewVirtualListModel_SetValueByRow" "', expected argument " "1"" of type '" "wxDataViewVirtualListModel *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewVirtualListModel * >(argp1);
  {
    temp2 = wxVariant_in_helper(obj1);
    arg2 = &temp2;
  }
  ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DataViewVirtualListModel_SetValueByRow" "', expected argument " "3"" of type '" "unsigned int""'");
  } 
  arg3 = static_cast< unsigned int >(val3);
  ecode4 = SWIG_AsVal_unsigned_SS_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DataViewVirtualListModel_SetValueByRow" "', expected argument " "4"" of type '" "unsigned int""'");
  } 
  arg4 = static_cast< unsigned int >(val4);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)(arg1)->SetValueByRow((wxVariant const &)*arg2,arg3,arg4);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewVirtualListModel_GetAttrByRow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewVirtualListModel *arg1 = (wxDataViewVirtualListModel *) 0 ;
  unsigned int arg2 ;
  unsigned int arg3 ;
  wxDataViewItemAttr *arg4 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  unsigned int val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "row",(char *) "col",(char *) "attr", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DataViewVirtualListModel_GetAttrByRow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewVirtualListModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewVirtualListModel_GetAttrByRow" "', expected argument " "1"" of type '" "wxDataViewVirtualListModel *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewVirtualListModel * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataViewVirtualListModel_GetAttrByRow" "', expected argument " "2"" of type '" "unsigned int""'");
  } 
  arg2 = static_cast< unsigned int >(val2);
  ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DataViewVirtualListModel_GetAttrByRow" "', expected argument " "3"" of type '" "unsigned int""'");
  } 
  arg3 = static_cast< unsigned int >(val3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxDataViewItemAttr,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DataViewVirtualListModel_GetAttrByRow" "', expected argument " "4"" of type '" "wxDataViewItemAttr &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewVirtualListModel_GetAttrByRow" "', expected argument " "4"" of type '" "wxDataViewItemAttr &""'"); 
  }
  arg4 = reinterpret_cast< wxDataViewItemAttr * >(argp4);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)(arg1)->GetAttrByRow(arg2,arg3,*arg4);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewVirtualListModel_IsEnabledByRow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewVirtualListModel *arg1 = (wxDataViewVirtualListModel *) 0 ;
  unsigned int arg2 ;
  unsigned int arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  unsigned int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "row",(char *) "col", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataViewVirtualListModel_IsEnabledByRow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewVirtualListModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewVirtualListModel_IsEnabledByRow" "', expected argument " "1"" of type '" "wxDataViewVirtualListModel const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewVirtualListModel * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataViewVirtualListModel_IsEnabledByRow" "', expected argument " "2"" of type '" "unsigned int""'");
  } 
  arg2 = static_cast< unsigned int >(val2);
  ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DataViewVirtualListModel_IsEnabledByRow" "', expected argument " "3"" of type '" "unsigned int""'");
  } 
  arg3 = static_cast< unsigned int >(val3);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)((wxDataViewVirtualListModel const *)arg1)->IsEnabledByRow(arg2,arg3);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewVirtualListModel_RowPrepended(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewVirtualListModel *arg1 = (wxDataViewVirtualListModel *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewVirtualListModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewVirtualListModel_RowPrepended" "', expected argument " "1"" of type '" "wxDataViewVirtualListModel *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewVirtualListModel * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->RowPrepended();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewVirtualListModel_RowInserted(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewVirtualListModel *arg1 = (wxDataViewVirtualListModel *) 0 ;
  unsigned int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "before", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewVirtualListModel_RowInserted",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewVirtualListModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewVirtualListModel_RowInserted" "', expected argument " "1"" of type '" "wxDataViewVirtualListModel *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewVirtualListModel * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataViewVirtualListModel_RowInserted" "', expected argument " "2"" of type '" "unsigned int""'");
  } 
  arg2 = static_cast< unsigned int >(val2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->RowInserted(arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewVirtualListModel_RowAppended(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewVirtualListModel *arg1 = (wxDataViewVirtualListModel *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewVirtualListModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewVirtualListModel_RowAppended" "', expected argument " "1"" of type '" "wxDataViewVirtualListModel *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewVirtualListModel * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->RowAppended();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewVirtualListModel_RowDeleted(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewVirtualListModel *arg1 = (wxDataViewVirtualListModel *) 0 ;
  unsigned int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "row", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewVirtualListModel_RowDeleted",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewVirtualListModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewVirtualListModel_RowDeleted" "', expected argument " "1"" of type '" "wxDataViewVirtualListModel *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewVirtualListModel * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataViewVirtualListModel_RowDeleted" "', expected argument " "2"" of type '" "unsigned int""'");
  } 
  arg2 = static_cast< unsigned int >(val2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->RowDeleted(arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewVirtualListModel_RowsDeleted(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewVirtualListModel *arg1 = (wxDataViewVirtualListModel *) 0 ;
  wxArrayInt *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool temp2 = false ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "rows", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewVirtualListModel_RowsDeleted",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewVirtualListModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewVirtualListModel_RowsDeleted" "', expected argument " "1"" of type '" "wxDataViewVirtualListModel *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewVirtualListModel * >(argp1);
  {
    if (! PySequence_Check(obj1)) {
      PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
      SWIG_fail;
    }
    arg2 = new wxArrayInt;
    temp2 = true;
    int i, len=PySequence_Length(obj1);
    for (i=0; i<len; i++) {
      PyObject* item = PySequence_GetItem(obj1, i);
      PyObject* number  = PyNumber_Int(item);
      if (!number) {
        PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
        SWIG_fail;
      }       
      arg2->Add(PyInt_AS_LONG(number));
      Py_DECREF(item);
      Py_DECREF(number);
    }
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->RowsDeleted((wxArrayInt const &)*arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  {
    if (temp2) delete arg2;
  }
  return resultobj;
fail:
  {
    if (temp2) delete arg2;
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewVirtualListModel_RowChanged(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewVirtualListModel *arg1 = (wxDataViewVirtualListModel *) 0 ;
  unsigned int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "row", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewVirtualListModel_RowChanged",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewVirtualListModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewVirtualListModel_RowChanged" "', expected argument " "1"" of type '" "wxDataViewVirtualListModel *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewVirtualListModel * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataViewVirtualListModel_RowChanged" "', expected argument " "2"" of type '" "unsigned int""'");
  } 
  arg2 = static_cast< unsigned int >(val2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->RowChanged(arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewVirtualListModel_RowValueChanged(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewVirtualListModel *arg1 = (wxDataViewVirtualListModel *) 0 ;
  unsigned int arg2 ;
  unsigned int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  unsigned int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "row",(char *) "col", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataViewVirtualListModel_RowValueChanged",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewVirtualListModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewVirtualListModel_RowValueChanged" "', expected argument " "1"" of type '" "wxDataViewVirtualListModel *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewVirtualListModel * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataViewVirtualListModel_RowValueChanged" "', expected argument " "2"" of type '" "unsigned int""'");
  } 
  arg2 = static_cast< unsigned int >(val2);
  ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DataViewVirtualListModel_RowValueChanged" "', expected argument " "3"" of type '" "unsigned int""'");
  } 
  arg3 = static_cast< unsigned int >(val3);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->RowValueChanged(arg2,arg3);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewVirtualListModel_Reset(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewVirtualListModel *arg1 = (wxDataViewVirtualListModel *) 0 ;
  unsigned int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "new_size", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewVirtualListModel_Reset",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewVirtualListModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewVirtualListModel_Reset" "', expected argument " "1"" of type '" "wxDataViewVirtualListModel *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewVirtualListModel * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataViewVirtualListModel_Reset" "', expected argument " "2"" of type '" "unsigned int""'");
  } 
  arg2 = static_cast< unsigned int >(val2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->Reset(arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewVirtualListModel_GetRow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewVirtualListModel *arg1 = (wxDataViewVirtualListModel *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  unsigned int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "item", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewVirtualListModel_GetRow",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewVirtualListModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewVirtualListModel_GetRow" "', expected argument " "1"" of type '" "wxDataViewVirtualListModel const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewVirtualListModel * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewVirtualListModel_GetRow" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewVirtualListModel_GetRow" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (unsigned int)((wxDataViewVirtualListModel const *)arg1)->GetRow((wxDataViewItem const &)*arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewVirtualListModel_GetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewVirtualListModel *arg1 = (wxDataViewVirtualListModel *) 0 ;
  unsigned int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewVirtualListModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewVirtualListModel_GetCount" "', expected argument " "1"" of type '" "wxDataViewVirtualListModel const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewVirtualListModel * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (unsigned int)((wxDataViewVirtualListModel const *)arg1)->GetCount();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewVirtualListModel_GetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewVirtualListModel *arg1 = (wxDataViewVirtualListModel *) 0 ;
  unsigned int arg2 ;
  wxDataViewItem result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "row", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewVirtualListModel_GetItem",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewVirtualListModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewVirtualListModel_GetItem" "', expected argument " "1"" of type '" "wxDataViewVirtualListModel const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewVirtualListModel * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataViewVirtualListModel_GetItem" "', expected argument " "2"" of type '" "unsigned int""'");
  } 
  arg2 = static_cast< unsigned int >(val2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = ((wxDataViewVirtualListModel const *)arg1)->GetItem(arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj((new wxDataViewItem(static_cast< const wxDataViewItem& >(result))), SWIGTYPE_p_wxDataViewItem, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *DataViewVirtualListModel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_wxDataViewVirtualListModel, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_PyDataViewVirtualListModel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  unsigned int arg1 = (unsigned int) 0 ;
  PyDataViewVirtualListModel *result = 0 ;
  unsigned int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  char *  kwnames[] = {
    (char *) "initial_size", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyDataViewVirtualListModel",kwnames,&obj0)) SWIG_fail;
  if (obj0) {
    ecode1 = SWIG_AsVal_unsigned_SS_int(obj0, &val1);
    if (!SWIG_IsOK(ecode1)) {
      SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_PyDataViewVirtualListModel" "', expected argument " "1"" of type '" "unsigned int""'");
    } 
    arg1 = static_cast< unsigned int >(val1);
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (PyDataViewVirtualListModel *)new PyDataViewVirtualListModel(arg1);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_PyDataViewVirtualListModel, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_PyDataViewVirtualListModel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  PyDataViewVirtualListModel *arg1 = (PyDataViewVirtualListModel *) 0 ;
  PyObject *arg2 = (PyObject *) 0 ;
  PyObject *arg3 = (PyObject *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "self",(char *) "_class", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDataViewVirtualListModel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_PyDataViewVirtualListModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyDataViewVirtualListModel__setCallbackInfo" "', expected argument " "1"" of type '" "PyDataViewVirtualListModel *""'"); 
  }
  arg1 = reinterpret_cast< PyDataViewVirtualListModel * >(argp1);
  arg2 = obj1;
  arg3 = obj2;
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->_setCallbackInfo(arg2,arg3);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *PyDataViewVirtualListModel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_PyDataViewVirtualListModel, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *PyDataViewVirtualListModel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_delete_DataViewRenderer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewRenderer *arg1 = (wxDataViewRenderer *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewRenderer, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DataViewRenderer" "', expected argument " "1"" of type '" "wxDataViewRenderer *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewRenderer * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    delete arg1;
    
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewRenderer_Validate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewRenderer *arg1 = (wxDataViewRenderer *) 0 ;
  wxVariant *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  wxVariant temp2 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "value", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewRenderer_Validate",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewRenderer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewRenderer_Validate" "', expected argument " "1"" of type '" "wxDataViewRenderer *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewRenderer * >(argp1);
  {
    temp2 = wxVariant_in_helper(obj1);
    arg2 = &temp2;
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)(arg1)->Validate(*arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewRenderer_SetOwner(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewRenderer *arg1 = (wxDataViewRenderer *) 0 ;
  wxDataViewColumn *arg2 = (wxDataViewColumn *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "owner", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewRenderer_SetOwner",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewRenderer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewRenderer_SetOwner" "', expected argument " "1"" of type '" "wxDataViewRenderer *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewRenderer * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDataViewColumn, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewRenderer_SetOwner" "', expected argument " "2"" of type '" "wxDataViewColumn *""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewColumn * >(argp2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->SetOwner(arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewRenderer_GetOwner(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewRenderer *arg1 = (wxDataViewRenderer *) 0 ;
  wxDataViewColumn *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewRenderer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewRenderer_GetOwner" "', expected argument " "1"" of type '" "wxDataViewRenderer *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewRenderer * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxDataViewColumn *)(arg1)->GetOwner();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDataViewColumn, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewRenderer_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewRenderer *arg1 = (wxDataViewRenderer *) 0 ;
  wxVariant *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  wxVariant temp2 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "value", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewRenderer_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewRenderer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewRenderer_SetValue" "', expected argument " "1"" of type '" "wxDataViewRenderer *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewRenderer * >(argp1);
  {
    temp2 = wxVariant_in_helper(obj1);
    arg2 = &temp2;
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)(arg1)->SetValue((wxVariant const &)*arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewRenderer_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewRenderer *arg1 = (wxDataViewRenderer *) 0 ;
  wxVariant result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewRenderer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewRenderer_GetValue" "', expected argument " "1"" of type '" "wxDataViewRenderer const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewRenderer * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = wxDataViewRenderer_GetValue((wxDataViewRenderer const *)arg1);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = wxVariant_out_helper(result);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewRenderer_SetAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewRenderer *arg1 = (wxDataViewRenderer *) 0 ;
  wxDataViewItemAttr *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "attr", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewRenderer_SetAttr",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewRenderer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewRenderer_SetAttr" "', expected argument " "1"" of type '" "wxDataViewRenderer *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewRenderer * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItemAttr,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewRenderer_SetAttr" "', expected argument " "2"" of type '" "wxDataViewItemAttr const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewRenderer_SetAttr" "', expected argument " "2"" of type '" "wxDataViewItemAttr const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItemAttr * >(argp2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->SetAttr((wxDataViewItemAttr const &)*arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewRenderer_SetEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewRenderer *arg1 = (wxDataViewRenderer *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "enabled", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewRenderer_SetEnabled",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewRenderer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewRenderer_SetEnabled" "', expected argument " "1"" of type '" "wxDataViewRenderer *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewRenderer * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataViewRenderer_SetEnabled" "', expected argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->SetEnabled(arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewRenderer_GetVariantType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewRenderer *arg1 = (wxDataViewRenderer *) 0 ;
  wxString result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewRenderer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewRenderer_GetVariantType" "', expected argument " "1"" of type '" "wxDataViewRenderer const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewRenderer * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = ((wxDataViewRenderer const *)arg1)->GetVariantType();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
#if wxUSE_UNICODE
    resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
#else
    resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
#endif
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewRenderer_PrepareForItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewRenderer *arg1 = (wxDataViewRenderer *) 0 ;
  wxDataViewModel *arg2 = (wxDataViewModel *) 0 ;
  wxDataViewItem *arg3 = 0 ;
  unsigned int arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  unsigned int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "model",(char *) "item",(char *) "column", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DataViewRenderer_PrepareForItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewRenderer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewRenderer_PrepareForItem" "', expected argument " "1"" of type '" "wxDataViewRenderer *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewRenderer * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDataViewModel, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewRenderer_PrepareForItem" "', expected argument " "2"" of type '" "wxDataViewModel const *""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewModel * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DataViewRenderer_PrepareForItem" "', expected argument " "3"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewRenderer_PrepareForItem" "', expected argument " "3"" of type '" "wxDataViewItem const &""'"); 
  }
  arg3 = reinterpret_cast< wxDataViewItem * >(argp3);
  ecode4 = SWIG_AsVal_unsigned_SS_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DataViewRenderer_PrepareForItem" "', expected argument " "4"" of type '" "unsigned int""'");
  } 
  arg4 = static_cast< unsigned int >(val4);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->PrepareForItem((wxDataViewModel const *)arg2,(wxDataViewItem const &)*arg3,arg4);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewRenderer_SetMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewRenderer *arg1 = (wxDataViewRenderer *) 0 ;
  wxDataViewCellMode arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "mode", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewRenderer_SetMode",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewRenderer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewRenderer_SetMode" "', expected argument " "1"" of type '" "wxDataViewRenderer *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewRenderer * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataViewRenderer_SetMode" "', expected argument " "2"" of type '" "wxDataViewCellMode""'");
  } 
  arg2 = static_cast< wxDataViewCellMode >(val2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->SetMode(arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewRenderer_GetMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewRenderer *arg1 = (wxDataViewRenderer *) 0 ;
  wxDataViewCellMode result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewRenderer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewRenderer_GetMode" "', expected argument " "1"" of type '" "wxDataViewRenderer const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewRenderer * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxDataViewCellMode)((wxDataViewRenderer const *)arg1)->GetMode();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewRenderer_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewRenderer *arg1 = (wxDataViewRenderer *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "align", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewRenderer_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewRenderer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewRenderer_SetAlignment" "', expected argument " "1"" of type '" "wxDataViewRenderer *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewRenderer * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataViewRenderer_SetAlignment" "', expected argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->SetAlignment(arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewRenderer_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewRenderer *arg1 = (wxDataViewRenderer *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewRenderer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewRenderer_GetAlignment" "', expected argument " "1"" of type '" "wxDataViewRenderer const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewRenderer * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (int)((wxDataViewRenderer const *)arg1)->GetAlignment();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewRenderer_EnableEllipsize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewRenderer *arg1 = (wxDataViewRenderer *) 0 ;
  wxEllipsizeMode arg2 = (wxEllipsizeMode) wxELLIPSIZE_MIDDLE ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "mode", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataViewRenderer_EnableEllipsize",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewRenderer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewRenderer_EnableEllipsize" "', expected argument " "1"" of type '" "wxDataViewRenderer *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewRenderer * >(argp1);
  if (obj1) {
    ecode2 = SWIG_AsVal_int(obj1, &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataViewRenderer_EnableEllipsize" "', expected argument " "2"" of type '" "wxEllipsizeMode""'");
    } 
    arg2 = static_cast< wxEllipsizeMode >(val2);
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->EnableEllipsize(arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewRenderer_DisableEllipsize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewRenderer *arg1 = (wxDataViewRenderer *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewRenderer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewRenderer_DisableEllipsize" "', expected argument " "1"" of type '" "wxDataViewRenderer *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewRenderer * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->DisableEllipsize();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewRenderer_GetEllipsizeMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewRenderer *arg1 = (wxDataViewRenderer *) 0 ;
  wxEllipsizeMode result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewRenderer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewRenderer_GetEllipsizeMode" "', expected argument " "1"" of type '" "wxDataViewRenderer const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewRenderer * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxEllipsizeMode)((wxDataViewRenderer const *)arg1)->GetEllipsizeMode();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewRenderer_HasEditorCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewRenderer *arg1 = (wxDataViewRenderer *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewRenderer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewRenderer_HasEditorCtrl" "', expected argument " "1"" of type '" "wxDataViewRenderer *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewRenderer * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)(arg1)->HasEditorCtrl();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewRenderer_CreateEditorCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewRenderer *arg1 = (wxDataViewRenderer *) 0 ;
  wxWindow *arg2 = (wxWindow *) 0 ;
  wxRect arg3 ;
  wxVariant *arg4 = 0 ;
  wxWindow *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 ;
  int res3 = 0 ;
  wxVariant temp4 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "parent",(char *) "labelRect",(char *) "value", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DataViewRenderer_CreateEditorCtrl",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewRenderer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewRenderer_CreateEditorCtrl" "', expected argument " "1"" of type '" "wxDataViewRenderer *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewRenderer * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewRenderer_CreateEditorCtrl" "', expected argument " "2"" of type '" "wxWindow *""'"); 
  }
  arg2 = reinterpret_cast< wxWindow * >(argp2);
  {
    res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxRect,  0  | 0);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DataViewRenderer_CreateEditorCtrl" "', expected argument " "3"" of type '" "wxRect""'"); 
    }  
    if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewRenderer_CreateEditorCtrl" "', expected argument " "3"" of type '" "wxRect""'");
    } else {
      wxRect * temp = reinterpret_cast< wxRect * >(argp3);
      arg3 = *temp;
      if (SWIG_IsNewObj(res3)) delete temp;
    }
  }
  {
    temp4 = wxVariant_in_helper(obj3);
    arg4 = &temp4;
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxWindow *)(arg1)->CreateEditorCtrl(arg2,arg3,(wxVariant const &)*arg4);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = wxPyMake_wxObject(result, 0); 
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewRenderer_GetValueFromEditorCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewRenderer *arg1 = (wxDataViewRenderer *) 0 ;
  wxWindow *arg2 = (wxWindow *) 0 ;
  wxVariant result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "editor", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewRenderer_GetValueFromEditorCtrl",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewRenderer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewRenderer_GetValueFromEditorCtrl" "', expected argument " "1"" of type '" "wxDataViewRenderer *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewRenderer * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewRenderer_GetValueFromEditorCtrl" "', expected argument " "2"" of type '" "wxWindow *""'"); 
  }
  arg2 = reinterpret_cast< wxWindow * >(argp2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = wxDataViewRenderer_GetValueFromEditorCtrl(arg1,arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = wxVariant_out_helper(result);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewRenderer_StartEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewRenderer *arg1 = (wxDataViewRenderer *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  wxRect arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "item",(char *) "labelRect", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataViewRenderer_StartEditing",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewRenderer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewRenderer_StartEditing" "', expected argument " "1"" of type '" "wxDataViewRenderer *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewRenderer * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewRenderer_StartEditing" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewRenderer_StartEditing" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  {
    res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxRect,  0  | 0);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DataViewRenderer_StartEditing" "', expected argument " "3"" of type '" "wxRect""'"); 
    }  
    if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewRenderer_StartEditing" "', expected argument " "3"" of type '" "wxRect""'");
    } else {
      wxRect * temp = reinterpret_cast< wxRect * >(argp3);
      arg3 = *temp;
      if (SWIG_IsNewObj(res3)) delete temp;
    }
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)(arg1)->StartEditing((wxDataViewItem const &)*arg2,arg3);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewRenderer_CancelEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewRenderer *arg1 = (wxDataViewRenderer *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewRenderer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewRenderer_CancelEditing" "', expected argument " "1"" of type '" "wxDataViewRenderer *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewRenderer * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->CancelEditing();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewRenderer_FinishEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewRenderer *arg1 = (wxDataViewRenderer *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewRenderer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewRenderer_FinishEditing" "', expected argument " "1"" of type '" "wxDataViewRenderer *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewRenderer * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)(arg1)->FinishEditing();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewRenderer_GetEditorCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewRenderer *arg1 = (wxDataViewRenderer *) 0 ;
  wxWindow *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewRenderer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewRenderer_GetEditorCtrl" "', expected argument " "1"" of type '" "wxDataViewRenderer *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewRenderer * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxWindow *)(arg1)->GetEditorCtrl();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = wxPyMake_wxObject(result, 0); 
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *DataViewRenderer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_wxDataViewRenderer, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_DataViewTextRenderer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxString const &arg1_defvalue = "string" ;
  wxString *arg1 = (wxString *) &arg1_defvalue ;
  wxDataViewCellMode arg2 = (wxDataViewCellMode) wxDATAVIEW_CELL_INERT ;
  int arg3 = (int) wxDVR_DEFAULT_ALIGNMENT ;
  wxDataViewTextRenderer *result = 0 ;
  bool temp1 = false ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char *  kwnames[] = {
    (char *) "varianttype",(char *) "mode",(char *) "align", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_DataViewTextRenderer",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
  if (obj0) {
    {
      arg1 = wxString_in_helper(obj0);
      if (arg1 == NULL) SWIG_fail;
      temp1 = true;
    }
  }
  if (obj1) {
    ecode2 = SWIG_AsVal_int(obj1, &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DataViewTextRenderer" "', expected argument " "2"" of type '" "wxDataViewCellMode""'");
    } 
    arg2 = static_cast< wxDataViewCellMode >(val2);
  }
  if (obj2) {
    ecode3 = SWIG_AsVal_int(obj2, &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_DataViewTextRenderer" "', expected argument " "3"" of type '" "int""'");
    } 
    arg3 = static_cast< int >(val3);
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxDataViewTextRenderer *)new wxDataViewTextRenderer((wxString const &)*arg1,arg2,arg3);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDataViewTextRenderer, SWIG_POINTER_NEW |  0 );
  {
    if (temp1)
    delete arg1;
  }
  return resultobj;
fail:
  {
    if (temp1)
    delete arg1;
  }
  return NULL;
}


SWIGINTERN PyObject *DataViewTextRenderer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_wxDataViewTextRenderer, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *DataViewTextRenderer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_new_DataViewBitmapRenderer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxString const &arg1_defvalue = "wxBitmap" ;
  wxString *arg1 = (wxString *) &arg1_defvalue ;
  wxDataViewCellMode arg2 = (wxDataViewCellMode) wxDATAVIEW_CELL_INERT ;
  int arg3 = (int) wxDVR_DEFAULT_ALIGNMENT ;
  wxDataViewBitmapRenderer *result = 0 ;
  bool temp1 = false ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char *  kwnames[] = {
    (char *) "varianttype",(char *) "mode",(char *) "align", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_DataViewBitmapRenderer",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
  if (obj0) {
    {
      arg1 = wxString_in_helper(obj0);
      if (arg1 == NULL) SWIG_fail;
      temp1 = true;
    }
  }
  if (obj1) {
    ecode2 = SWIG_AsVal_int(obj1, &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DataViewBitmapRenderer" "', expected argument " "2"" of type '" "wxDataViewCellMode""'");
    } 
    arg2 = static_cast< wxDataViewCellMode >(val2);
  }
  if (obj2) {
    ecode3 = SWIG_AsVal_int(obj2, &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_DataViewBitmapRenderer" "', expected argument " "3"" of type '" "int""'");
    } 
    arg3 = static_cast< int >(val3);
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxDataViewBitmapRenderer *)new wxDataViewBitmapRenderer((wxString const &)*arg1,arg2,arg3);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDataViewBitmapRenderer, SWIG_POINTER_NEW |  0 );
  {
    if (temp1)
    delete arg1;
  }
  return resultobj;
fail:
  {
    if (temp1)
    delete arg1;
  }
  return NULL;
}


SWIGINTERN PyObject *DataViewBitmapRenderer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_wxDataViewBitmapRenderer, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *DataViewBitmapRenderer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_new_DataViewIconTextRenderer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxString const &arg1_defvalue = "wxDataViewIconText" ;
  wxString *arg1 = (wxString *) &arg1_defvalue ;
  wxDataViewCellMode arg2 = (wxDataViewCellMode) wxDATAVIEW_CELL_INERT ;
  int arg3 = (int) wxDVR_DEFAULT_ALIGNMENT ;
  wxDataViewIconTextRenderer *result = 0 ;
  bool temp1 = false ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char *  kwnames[] = {
    (char *) "varianttype",(char *) "mode",(char *) "align", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_DataViewIconTextRenderer",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
  if (obj0) {
    {
      arg1 = wxString_in_helper(obj0);
      if (arg1 == NULL) SWIG_fail;
      temp1 = true;
    }
  }
  if (obj1) {
    ecode2 = SWIG_AsVal_int(obj1, &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DataViewIconTextRenderer" "', expected argument " "2"" of type '" "wxDataViewCellMode""'");
    } 
    arg2 = static_cast< wxDataViewCellMode >(val2);
  }
  if (obj2) {
    ecode3 = SWIG_AsVal_int(obj2, &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_DataViewIconTextRenderer" "', expected argument " "3"" of type '" "int""'");
    } 
    arg3 = static_cast< int >(val3);
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxDataViewIconTextRenderer *)new wxDataViewIconTextRenderer((wxString const &)*arg1,arg2,arg3);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDataViewIconTextRenderer, SWIG_POINTER_NEW |  0 );
  {
    if (temp1)
    delete arg1;
  }
  return resultobj;
fail:
  {
    if (temp1)
    delete arg1;
  }
  return NULL;
}


SWIGINTERN PyObject *DataViewIconTextRenderer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_wxDataViewIconTextRenderer, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *DataViewIconTextRenderer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_new_DataViewIconText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxString const &arg1_defvalue = wxEmptyString ;
  wxString *arg1 = (wxString *) &arg1_defvalue ;
  wxIcon const &arg2_defvalue = wxNullIcon ;
  wxIcon *arg2 = (wxIcon *) &arg2_defvalue ;
  wxDataViewIconText *result = 0 ;
  bool temp1 = false ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "text",(char *) "icon", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_DataViewIconText",kwnames,&obj0,&obj1)) SWIG_fail;
  if (obj0) {
    {
      arg1 = wxString_in_helper(obj0);
      if (arg1 == NULL) SWIG_fail;
      temp1 = true;
    }
  }
  if (obj1) {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon,  0  | 0);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DataViewIconText" "', expected argument " "2"" of type '" "wxIcon const &""'"); 
    }
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DataViewIconText" "', expected argument " "2"" of type '" "wxIcon const &""'"); 
    }
    arg2 = reinterpret_cast< wxIcon * >(argp2);
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxDataViewIconText *)new wxDataViewIconText((wxString const &)*arg1,(wxIcon const &)*arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDataViewIconText, SWIG_POINTER_NEW |  0 );
  {
    if (temp1)
    delete arg1;
  }
  return resultobj;
fail:
  {
    if (temp1)
    delete arg1;
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_DataViewIconText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewIconText *arg1 = (wxDataViewIconText *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewIconText, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DataViewIconText" "', expected argument " "1"" of type '" "wxDataViewIconText *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewIconText * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    delete arg1;
    
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewIconText_SetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewIconText *arg1 = (wxDataViewIconText *) 0 ;
  wxString *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool temp2 = false ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "text", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewIconText_SetText",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewIconText, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewIconText_SetText" "', expected argument " "1"" of type '" "wxDataViewIconText *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewIconText * >(argp1);
  {
    arg2 = wxString_in_helper(obj1);
    if (arg2 == NULL) SWIG_fail;
    temp2 = true;
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->SetText((wxString const &)*arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  {
    if (temp2)
    delete arg2;
  }
  return resultobj;
fail:
  {
    if (temp2)
    delete arg2;
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewIconText_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewIconText *arg1 = (wxDataViewIconText *) 0 ;
  wxString result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewIconText, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewIconText_GetText" "', expected argument " "1"" of type '" "wxDataViewIconText const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewIconText * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = ((wxDataViewIconText const *)arg1)->GetText();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
#if wxUSE_UNICODE
    resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
#else
    resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
#endif
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewIconText_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewIconText *arg1 = (wxDataViewIconText *) 0 ;
  wxIcon *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "icon", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewIconText_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewIconText, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewIconText_SetIcon" "', expected argument " "1"" of type '" "wxDataViewIconText *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewIconText * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewIconText_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewIconText_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'"); 
  }
  arg2 = reinterpret_cast< wxIcon * >(argp2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->SetIcon((wxIcon const &)*arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewIconText_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewIconText *arg1 = (wxDataViewIconText *) 0 ;
  wxIcon *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewIconText, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewIconText_GetIcon" "', expected argument " "1"" of type '" "wxDataViewIconText const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewIconText * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    {
      wxIcon const &_result_ref = ((wxDataViewIconText const *)arg1)->GetIcon();
      result = (wxIcon *) &_result_ref;
    }
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    wxIcon* resultptr = new wxIcon(*result);
    resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxIcon, 1);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *DataViewIconText_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_wxDataViewIconText, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *DataViewIconText_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_new_DataViewToggleRenderer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxString const &arg1_defvalue = "bool" ;
  wxString *arg1 = (wxString *) &arg1_defvalue ;
  wxDataViewCellMode arg2 = (wxDataViewCellMode) wxDATAVIEW_CELL_INERT ;
  int arg3 = (int) wxDVR_DEFAULT_ALIGNMENT ;
  wxDataViewToggleRenderer *result = 0 ;
  bool temp1 = false ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char *  kwnames[] = {
    (char *) "varianttype",(char *) "mode",(char *) "align", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_DataViewToggleRenderer",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
  if (obj0) {
    {
      arg1 = wxString_in_helper(obj0);
      if (arg1 == NULL) SWIG_fail;
      temp1 = true;
    }
  }
  if (obj1) {
    ecode2 = SWIG_AsVal_int(obj1, &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DataViewToggleRenderer" "', expected argument " "2"" of type '" "wxDataViewCellMode""'");
    } 
    arg2 = static_cast< wxDataViewCellMode >(val2);
  }
  if (obj2) {
    ecode3 = SWIG_AsVal_int(obj2, &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_DataViewToggleRenderer" "', expected argument " "3"" of type '" "int""'");
    } 
    arg3 = static_cast< int >(val3);
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxDataViewToggleRenderer *)new wxDataViewToggleRenderer((wxString const &)*arg1,arg2,arg3);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDataViewToggleRenderer, SWIG_POINTER_NEW |  0 );
  {
    if (temp1)
    delete arg1;
  }
  return resultobj;
fail:
  {
    if (temp1)
    delete arg1;
  }
  return NULL;
}


SWIGINTERN PyObject *DataViewToggleRenderer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_wxDataViewToggleRenderer, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *DataViewToggleRenderer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_new_DataViewProgressRenderer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxString const &arg1_defvalue = wxEmptyString ;
  wxString *arg1 = (wxString *) &arg1_defvalue ;
  wxString const &arg2_defvalue = "long" ;
  wxString *arg2 = (wxString *) &arg2_defvalue ;
  wxDataViewCellMode arg3 = (wxDataViewCellMode) wxDATAVIEW_CELL_INERT ;
  int arg4 = (int) wxDVR_DEFAULT_ALIGNMENT ;
  wxDataViewProgressRenderer *result = 0 ;
  bool temp1 = false ;
  bool temp2 = false ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  char *  kwnames[] = {
    (char *) "label",(char *) "varianttype",(char *) "mode",(char *) "align", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_DataViewProgressRenderer",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  if (obj0) {
    {
      arg1 = wxString_in_helper(obj0);
      if (arg1 == NULL) SWIG_fail;
      temp1 = true;
    }
  }
  if (obj1) {
    {
      arg2 = wxString_in_helper(obj1);
      if (arg2 == NULL) SWIG_fail;
      temp2 = true;
    }
  }
  if (obj2) {
    ecode3 = SWIG_AsVal_int(obj2, &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_DataViewProgressRenderer" "', expected argument " "3"" of type '" "wxDataViewCellMode""'");
    } 
    arg3 = static_cast< wxDataViewCellMode >(val3);
  }
  if (obj3) {
    ecode4 = SWIG_AsVal_int(obj3, &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DataViewProgressRenderer" "', expected argument " "4"" of type '" "int""'");
    } 
    arg4 = static_cast< int >(val4);
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxDataViewProgressRenderer *)new wxDataViewProgressRenderer((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDataViewProgressRenderer, SWIG_POINTER_NEW |  0 );
  {
    if (temp1)
    delete arg1;
  }
  {
    if (temp2)
    delete arg2;
  }
  return resultobj;
fail:
  {
    if (temp1)
    delete arg1;
  }
  {
    if (temp2)
    delete arg2;
  }
  return NULL;
}


SWIGINTERN PyObject *DataViewProgressRenderer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_wxDataViewProgressRenderer, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *DataViewProgressRenderer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_new_DataViewSpinRenderer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  int arg1 ;
  int arg2 ;
  wxDataViewCellMode arg3 = (wxDataViewCellMode) wxDATAVIEW_CELL_EDITABLE ;
  int arg4 = (int) wxDVR_DEFAULT_ALIGNMENT ;
  wxDataViewSpinRenderer *result = 0 ;
  int val1 ;
  int ecode1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  char *  kwnames[] = {
    (char *) "min",(char *) "max",(char *) "mode",(char *) "alignment", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_DataViewSpinRenderer",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_DataViewSpinRenderer" "', expected argument " "1"" of type '" "int""'");
  } 
  arg1 = static_cast< int >(val1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DataViewSpinRenderer" "', expected argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (obj2) {
    ecode3 = SWIG_AsVal_int(obj2, &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_DataViewSpinRenderer" "', expected argument " "3"" of type '" "wxDataViewCellMode""'");
    } 
    arg3 = static_cast< wxDataViewCellMode >(val3);
  }
  if (obj3) {
    ecode4 = SWIG_AsVal_int(obj3, &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DataViewSpinRenderer" "', expected argument " "4"" of type '" "int""'");
    } 
    arg4 = static_cast< int >(val4);
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxDataViewSpinRenderer *)new wxDataViewSpinRenderer(arg1,arg2,arg3,arg4);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDataViewSpinRenderer, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *DataViewSpinRenderer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_wxDataViewSpinRenderer, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *DataViewSpinRenderer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_DataViewCustomRenderer_GetAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewCustomRenderer *arg1 = (wxDataViewCustomRenderer *) 0 ;
  wxDataViewItemAttr *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewCustomRenderer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewCustomRenderer_GetAttr" "', expected argument " "1"" of type '" "wxDataViewCustomRenderer const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewCustomRenderer * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    {
      wxDataViewItemAttr const &_result_ref = ((wxDataViewCustomRenderer const *)arg1)->GetAttr();
      result = (wxDataViewItemAttr *) &_result_ref;
    }
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDataViewItemAttr, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewCustomRenderer_GetEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewCustomRenderer *arg1 = (wxDataViewCustomRenderer *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewCustomRenderer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewCustomRenderer_GetEnabled" "', expected argument " "1"" of type '" "wxDataViewCustomRenderer const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewCustomRenderer * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)((wxDataViewCustomRenderer const *)arg1)->GetEnabled();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *DataViewCustomRenderer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_wxDataViewCustomRenderer, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_DataViewChoiceRenderer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxArrayString *arg1 = 0 ;
  wxDataViewCellMode arg2 = (wxDataViewCellMode) wxDATAVIEW_CELL_EDITABLE ;
  int arg3 = (int) wxDVR_DEFAULT_ALIGNMENT ;
  wxDataViewChoiceRenderer *result = 0 ;
  bool temp1 = false ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char *  kwnames[] = {
    (char *) "choices",(char *) "mode",(char *) "alignment", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:new_DataViewChoiceRenderer",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
  {
    if (! PySequence_Check(obj0)) {
      PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
      SWIG_fail;
    }
    arg1 = new wxArrayString;
    temp1 = true;
    int i, len=PySequence_Length(obj0);
    for (i=0; i<len; i++) {
      PyObject* item = PySequence_GetItem(obj0, i);
      wxString* s = wxString_in_helper(item);
      if (PyErr_Occurred())  SWIG_fail;
      arg1->Add(*s);
      delete s;
      Py_DECREF(item);
    }
  }
  if (obj1) {
    ecode2 = SWIG_AsVal_int(obj1, &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DataViewChoiceRenderer" "', expected argument " "2"" of type '" "wxDataViewCellMode""'");
    } 
    arg2 = static_cast< wxDataViewCellMode >(val2);
  }
  if (obj2) {
    ecode3 = SWIG_AsVal_int(obj2, &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_DataViewChoiceRenderer" "', expected argument " "3"" of type '" "int""'");
    } 
    arg3 = static_cast< int >(val3);
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxDataViewChoiceRenderer *)new wxDataViewChoiceRenderer((wxArrayString const &)*arg1,arg2,arg3);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDataViewChoiceRenderer, SWIG_POINTER_NEW |  0 );
  {
    if (temp1) delete arg1;
  }
  return resultobj;
fail:
  {
    if (temp1) delete arg1;
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewChoiceRenderer_GetChoice(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewChoiceRenderer *arg1 = (wxDataViewChoiceRenderer *) 0 ;
  size_t arg2 ;
  wxString result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "index", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewChoiceRenderer_GetChoice",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewChoiceRenderer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewChoiceRenderer_GetChoice" "', expected argument " "1"" of type '" "wxDataViewChoiceRenderer const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewChoiceRenderer * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataViewChoiceRenderer_GetChoice" "', expected argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = ((wxDataViewChoiceRenderer const *)arg1)->GetChoice(arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
#if wxUSE_UNICODE
    resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
#else
    resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
#endif
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewChoiceRenderer_GetChoices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewChoiceRenderer *arg1 = (wxDataViewChoiceRenderer *) 0 ;
  wxArrayString *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewChoiceRenderer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewChoiceRenderer_GetChoices" "', expected argument " "1"" of type '" "wxDataViewChoiceRenderer const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewChoiceRenderer * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    {
      wxArrayString const &_result_ref = ((wxDataViewChoiceRenderer const *)arg1)->GetChoices();
      result = (wxArrayString *) &_result_ref;
    }
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = wxArrayString2PyList_helper(*result);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *DataViewChoiceRenderer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_wxDataViewChoiceRenderer, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *DataViewChoiceRenderer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_new_DataViewDateRenderer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxString const &arg1_defvalue = "datetime" ;
  wxString *arg1 = (wxString *) &arg1_defvalue ;
  wxDataViewCellMode arg2 = (wxDataViewCellMode) wxDATAVIEW_CELL_ACTIVATABLE ;
  int arg3 = (int) wxDVR_DEFAULT_ALIGNMENT ;
  wxDataViewDateRenderer *result = 0 ;
  bool temp1 = false ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char *  kwnames[] = {
    (char *) "varianttype",(char *) "mode",(char *) "align", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_DataViewDateRenderer",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
  if (obj0) {
    {
      arg1 = wxString_in_helper(obj0);
      if (arg1 == NULL) SWIG_fail;
      temp1 = true;
    }
  }
  if (obj1) {
    ecode2 = SWIG_AsVal_int(obj1, &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DataViewDateRenderer" "', expected argument " "2"" of type '" "wxDataViewCellMode""'");
    } 
    arg2 = static_cast< wxDataViewCellMode >(val2);
  }
  if (obj2) {
    ecode3 = SWIG_AsVal_int(obj2, &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_DataViewDateRenderer" "', expected argument " "3"" of type '" "int""'");
    } 
    arg3 = static_cast< int >(val3);
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxDataViewDateRenderer *)new wxDataViewDateRenderer((wxString const &)*arg1,arg2,arg3);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDataViewDateRenderer, SWIG_POINTER_NEW |  0 );
  {
    if (temp1)
    delete arg1;
  }
  return resultobj;
fail:
  {
    if (temp1)
    delete arg1;
  }
  return NULL;
}


SWIGINTERN PyObject *DataViewDateRenderer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_wxDataViewDateRenderer, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *DataViewDateRenderer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_new_PyDataViewCustomRenderer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxString const &arg1_defvalue = "string" ;
  wxString *arg1 = (wxString *) &arg1_defvalue ;
  wxDataViewCellMode arg2 = (wxDataViewCellMode) wxDATAVIEW_CELL_INERT ;
  int arg3 = (int) wxDVR_DEFAULT_ALIGNMENT ;
  wxPyDataViewCustomRenderer *result = 0 ;
  bool temp1 = false ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char *  kwnames[] = {
    (char *) "varianttype",(char *) "mode",(char *) "align", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_PyDataViewCustomRenderer",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
  if (obj0) {
    {
      arg1 = wxString_in_helper(obj0);
      if (arg1 == NULL) SWIG_fail;
      temp1 = true;
    }
  }
  if (obj1) {
    ecode2 = SWIG_AsVal_int(obj1, &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyDataViewCustomRenderer" "', expected argument " "2"" of type '" "wxDataViewCellMode""'");
    } 
    arg2 = static_cast< wxDataViewCellMode >(val2);
  }
  if (obj2) {
    ecode3 = SWIG_AsVal_int(obj2, &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_PyDataViewCustomRenderer" "', expected argument " "3"" of type '" "int""'");
    } 
    arg3 = static_cast< int >(val3);
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxPyDataViewCustomRenderer *)new wxPyDataViewCustomRenderer((wxString const &)*arg1,arg2,arg3);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyDataViewCustomRenderer, SWIG_POINTER_NEW |  0 );
  {
    if (temp1)
    delete arg1;
  }
  return resultobj;
fail:
  {
    if (temp1)
    delete arg1;
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_PyDataViewCustomRenderer__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxPyDataViewCustomRenderer *arg1 = (wxPyDataViewCustomRenderer *) 0 ;
  PyObject *arg2 = (PyObject *) 0 ;
  PyObject *arg3 = (PyObject *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "self",(char *) "_class", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDataViewCustomRenderer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyDataViewCustomRenderer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyDataViewCustomRenderer__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDataViewCustomRenderer *""'"); 
  }
  arg1 = reinterpret_cast< wxPyDataViewCustomRenderer * >(argp1);
  arg2 = obj1;
  arg3 = obj2;
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->_setCallbackInfo(arg2,arg3);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_PyDataViewCustomRenderer_RenderText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxPyDataViewCustomRenderer *arg1 = (wxPyDataViewCustomRenderer *) 0 ;
  wxString *arg2 = 0 ;
  int arg3 ;
  wxRect arg4 ;
  wxDC *arg5 = (wxDC *) 0 ;
  int arg6 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool temp2 = false ;
  int val3 ;
  int ecode3 = 0 ;
  void *argp4 ;
  int res4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  int val6 ;
  int ecode6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "text",(char *) "xoffset",(char *) "cell",(char *) "dc",(char *) "state", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyDataViewCustomRenderer_RenderText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyDataViewCustomRenderer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyDataViewCustomRenderer_RenderText" "', expected argument " "1"" of type '" "wxPyDataViewCustomRenderer *""'"); 
  }
  arg1 = reinterpret_cast< wxPyDataViewCustomRenderer * >(argp1);
  {
    arg2 = wxString_in_helper(obj1);
    if (arg2 == NULL) SWIG_fail;
    temp2 = true;
  }
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyDataViewCustomRenderer_RenderText" "', expected argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  {
    res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxRect,  0  | 0);
    if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "PyDataViewCustomRenderer_RenderText" "', expected argument " "4"" of type '" "wxRect""'"); 
    }  
    if (!argp4) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PyDataViewCustomRenderer_RenderText" "', expected argument " "4"" of type '" "wxRect""'");
    } else {
      wxRect * temp = reinterpret_cast< wxRect * >(argp4);
      arg4 = *temp;
      if (SWIG_IsNewObj(res4)) delete temp;
    }
  }
  res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxDC, 0 |  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "PyDataViewCustomRenderer_RenderText" "', expected argument " "5"" of type '" "wxDC *""'"); 
  }
  arg5 = reinterpret_cast< wxDC * >(argp5);
  ecode6 = SWIG_AsVal_int(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyDataViewCustomRenderer_RenderText" "', expected argument " "6"" of type '" "int""'");
  } 
  arg6 = static_cast< int >(val6);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->RenderText((wxString const &)*arg2,arg3,arg4,arg5,arg6);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  {
    if (temp2)
    delete arg2;
  }
  return resultobj;
fail:
  {
    if (temp2)
    delete arg2;
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_PyDataViewCustomRenderer_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxPyDataViewCustomRenderer *arg1 = (wxPyDataViewCustomRenderer *) 0 ;
  wxSize result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyDataViewCustomRenderer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyDataViewCustomRenderer_GetSize" "', expected argument " "1"" of type '" "wxPyDataViewCustomRenderer const *""'"); 
  }
  arg1 = reinterpret_cast< wxPyDataViewCustomRenderer * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = ((wxPyDataViewCustomRenderer const *)arg1)->GetSize();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_PyDataViewCustomRenderer_Render(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxPyDataViewCustomRenderer *arg1 = (wxPyDataViewCustomRenderer *) 0 ;
  wxRect arg2 ;
  wxDC *arg3 = (wxDC *) 0 ;
  int arg4 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "cell",(char *) "dc",(char *) "state", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyDataViewCustomRenderer_Render",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyDataViewCustomRenderer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyDataViewCustomRenderer_Render" "', expected argument " "1"" of type '" "wxPyDataViewCustomRenderer *""'"); 
  }
  arg1 = reinterpret_cast< wxPyDataViewCustomRenderer * >(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRect,  0  | 0);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyDataViewCustomRenderer_Render" "', expected argument " "2"" of type '" "wxRect""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PyDataViewCustomRenderer_Render" "', expected argument " "2"" of type '" "wxRect""'");
    } else {
      wxRect * temp = reinterpret_cast< wxRect * >(argp2);
      arg2 = *temp;
      if (SWIG_IsNewObj(res2)) delete temp;
    }
  }
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxDC, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PyDataViewCustomRenderer_Render" "', expected argument " "3"" of type '" "wxDC *""'"); 
  }
  arg3 = reinterpret_cast< wxDC * >(argp3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyDataViewCustomRenderer_Render" "', expected argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)(arg1)->Render(arg2,arg3,arg4);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_PyDataViewCustomRenderer_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxPyDataViewCustomRenderer *arg1 = (wxPyDataViewCustomRenderer *) 0 ;
  wxRect arg2 ;
  wxDataViewModel *arg3 = (wxDataViewModel *) 0 ;
  wxDataViewItem *arg4 = 0 ;
  unsigned int arg5 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  unsigned int val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "cell",(char *) "model",(char *) "item",(char *) "col", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyDataViewCustomRenderer_Activate",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyDataViewCustomRenderer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyDataViewCustomRenderer_Activate" "', expected argument " "1"" of type '" "wxPyDataViewCustomRenderer *""'"); 
  }
  arg1 = reinterpret_cast< wxPyDataViewCustomRenderer * >(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRect,  0  | 0);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyDataViewCustomRenderer_Activate" "', expected argument " "2"" of type '" "wxRect""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PyDataViewCustomRenderer_Activate" "', expected argument " "2"" of type '" "wxRect""'");
    } else {
      wxRect * temp = reinterpret_cast< wxRect * >(argp2);
      arg2 = *temp;
      if (SWIG_IsNewObj(res2)) delete temp;
    }
  }
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxDataViewModel, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PyDataViewCustomRenderer_Activate" "', expected argument " "3"" of type '" "wxDataViewModel *""'"); 
  }
  arg3 = reinterpret_cast< wxDataViewModel * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "PyDataViewCustomRenderer_Activate" "', expected argument " "4"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PyDataViewCustomRenderer_Activate" "', expected argument " "4"" of type '" "wxDataViewItem const &""'"); 
  }
  arg4 = reinterpret_cast< wxDataViewItem * >(argp4);
  ecode5 = SWIG_AsVal_unsigned_SS_int(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyDataViewCustomRenderer_Activate" "', expected argument " "5"" of type '" "unsigned int""'");
  } 
  arg5 = static_cast< unsigned int >(val5);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)(arg1)->Activate(arg2,arg3,(wxDataViewItem const &)*arg4,arg5);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_PyDataViewCustomRenderer_LeftClick(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxPyDataViewCustomRenderer *arg1 = (wxPyDataViewCustomRenderer *) 0 ;
  wxPoint arg2 ;
  wxRect arg3 ;
  wxDataViewModel *arg4 = (wxDataViewModel *) 0 ;
  wxDataViewItem *arg5 = 0 ;
  unsigned int arg6 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  void *argp3 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  unsigned int val6 ;
  int ecode6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "cursor",(char *) "cell",(char *) "model",(char *) "item",(char *) "col", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyDataViewCustomRenderer_LeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyDataViewCustomRenderer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyDataViewCustomRenderer_LeftClick" "', expected argument " "1"" of type '" "wxPyDataViewCustomRenderer *""'"); 
  }
  arg1 = reinterpret_cast< wxPyDataViewCustomRenderer * >(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPoint,  0  | 0);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyDataViewCustomRenderer_LeftClick" "', expected argument " "2"" of type '" "wxPoint""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PyDataViewCustomRenderer_LeftClick" "', expected argument " "2"" of type '" "wxPoint""'");
    } else {
      wxPoint * temp = reinterpret_cast< wxPoint * >(argp2);
      arg2 = *temp;
      if (SWIG_IsNewObj(res2)) delete temp;
    }
  }
  {
    res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxRect,  0  | 0);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PyDataViewCustomRenderer_LeftClick" "', expected argument " "3"" of type '" "wxRect""'"); 
    }  
    if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PyDataViewCustomRenderer_LeftClick" "', expected argument " "3"" of type '" "wxRect""'");
    } else {
      wxRect * temp = reinterpret_cast< wxRect * >(argp3);
      arg3 = *temp;
      if (SWIG_IsNewObj(res3)) delete temp;
    }
  }
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxDataViewModel, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "PyDataViewCustomRenderer_LeftClick" "', expected argument " "4"" of type '" "wxDataViewModel *""'"); 
  }
  arg4 = reinterpret_cast< wxDataViewModel * >(argp4);
  res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "PyDataViewCustomRenderer_LeftClick" "', expected argument " "5"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp5) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PyDataViewCustomRenderer_LeftClick" "', expected argument " "5"" of type '" "wxDataViewItem const &""'"); 
  }
  arg5 = reinterpret_cast< wxDataViewItem * >(argp5);
  ecode6 = SWIG_AsVal_unsigned_SS_int(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyDataViewCustomRenderer_LeftClick" "', expected argument " "6"" of type '" "unsigned int""'");
  } 
  arg6 = static_cast< unsigned int >(val6);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)(arg1)->LeftClick(arg2,arg3,arg4,(wxDataViewItem const &)*arg5,arg6);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_PyDataViewCustomRenderer_StartDrag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxPyDataViewCustomRenderer *arg1 = (wxPyDataViewCustomRenderer *) 0 ;
  wxPoint arg2 ;
  wxRect arg3 ;
  wxDataViewModel *arg4 = (wxDataViewModel *) 0 ;
  wxDataViewItem *arg5 = 0 ;
  unsigned int arg6 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  void *argp3 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  unsigned int val6 ;
  int ecode6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "cursor",(char *) "cell",(char *) "model",(char *) "item",(char *) "col", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyDataViewCustomRenderer_StartDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyDataViewCustomRenderer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyDataViewCustomRenderer_StartDrag" "', expected argument " "1"" of type '" "wxPyDataViewCustomRenderer *""'"); 
  }
  arg1 = reinterpret_cast< wxPyDataViewCustomRenderer * >(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPoint,  0  | 0);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyDataViewCustomRenderer_StartDrag" "', expected argument " "2"" of type '" "wxPoint""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PyDataViewCustomRenderer_StartDrag" "', expected argument " "2"" of type '" "wxPoint""'");
    } else {
      wxPoint * temp = reinterpret_cast< wxPoint * >(argp2);
      arg2 = *temp;
      if (SWIG_IsNewObj(res2)) delete temp;
    }
  }
  {
    res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxRect,  0  | 0);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PyDataViewCustomRenderer_StartDrag" "', expected argument " "3"" of type '" "wxRect""'"); 
    }  
    if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PyDataViewCustomRenderer_StartDrag" "', expected argument " "3"" of type '" "wxRect""'");
    } else {
      wxRect * temp = reinterpret_cast< wxRect * >(argp3);
      arg3 = *temp;
      if (SWIG_IsNewObj(res3)) delete temp;
    }
  }
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxDataViewModel, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "PyDataViewCustomRenderer_StartDrag" "', expected argument " "4"" of type '" "wxDataViewModel *""'"); 
  }
  arg4 = reinterpret_cast< wxDataViewModel * >(argp4);
  res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "PyDataViewCustomRenderer_StartDrag" "', expected argument " "5"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp5) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PyDataViewCustomRenderer_StartDrag" "', expected argument " "5"" of type '" "wxDataViewItem const &""'"); 
  }
  arg5 = reinterpret_cast< wxDataViewItem * >(argp5);
  ecode6 = SWIG_AsVal_unsigned_SS_int(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyDataViewCustomRenderer_StartDrag" "', expected argument " "6"" of type '" "unsigned int""'");
  } 
  arg6 = static_cast< unsigned int >(val6);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)(arg1)->StartDrag(arg2,arg3,arg4,(wxDataViewItem const &)*arg5,arg6);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_PyDataViewCustomRenderer_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxPyDataViewCustomRenderer *arg1 = (wxPyDataViewCustomRenderer *) 0 ;
  wxDC *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyDataViewCustomRenderer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyDataViewCustomRenderer_GetDC" "', expected argument " "1"" of type '" "wxPyDataViewCustomRenderer *""'"); 
  }
  arg1 = reinterpret_cast< wxPyDataViewCustomRenderer * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxDC *)(arg1)->GetDC();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = wxPyMake_wxObject(result, (bool)0); 
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_PyDataViewCustomRenderer_GetTextExtent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxPyDataViewCustomRenderer *arg1 = (wxPyDataViewCustomRenderer *) 0 ;
  wxString *arg2 = 0 ;
  wxSize result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool temp2 = false ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "str", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDataViewCustomRenderer_GetTextExtent",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyDataViewCustomRenderer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyDataViewCustomRenderer_GetTextExtent" "', expected argument " "1"" of type '" "wxPyDataViewCustomRenderer const *""'"); 
  }
  arg1 = reinterpret_cast< wxPyDataViewCustomRenderer * >(argp1);
  {
    arg2 = wxString_in_helper(obj1);
    if (arg2 == NULL) SWIG_fail;
    temp2 = true;
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = ((wxPyDataViewCustomRenderer const *)arg1)->GetTextExtent((wxString const &)*arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN |  0 );
  {
    if (temp2)
    delete arg2;
  }
  return resultobj;
fail:
  {
    if (temp2)
    delete arg2;
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_PyDataViewCustomRenderer_GetView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxPyDataViewCustomRenderer *arg1 = (wxPyDataViewCustomRenderer *) 0 ;
  wxDataViewCtrl *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyDataViewCustomRenderer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyDataViewCustomRenderer_GetView" "', expected argument " "1"" of type '" "wxPyDataViewCustomRenderer const *""'"); 
  }
  arg1 = reinterpret_cast< wxPyDataViewCustomRenderer * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxDataViewCtrl *)((wxPyDataViewCustomRenderer const *)arg1)->GetView();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDataViewCtrl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *PyDataViewCustomRenderer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDataViewCustomRenderer, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *PyDataViewCustomRenderer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_new_DataViewColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  PyObject *arg1 = (PyObject *) 0 ;
  wxDataViewRenderer *arg2 = (wxDataViewRenderer *) 0 ;
  unsigned int arg3 ;
  int arg4 = (int) 80 ;
  wxAlignment arg5 = (wxAlignment) wxALIGN_CENTER ;
  int arg6 = (int) wxDATAVIEW_COL_RESIZABLE ;
  wxDataViewColumn *result = 0 ;
  int res2 = 0 ;
  unsigned int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  int val6 ;
  int ecode6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  char *  kwnames[] = {
    (char *) "title_or_bitmap",(char *) "renderer",(char *) "model_column",(char *) "width",(char *) "align",(char *) "flags", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_DataViewColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  arg1 = obj0;
  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxDataViewRenderer, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DataViewColumn" "', expected argument " "2"" of type '" "wxDataViewRenderer *""'");
  }
  ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_DataViewColumn" "', expected argument " "3"" of type '" "unsigned int""'");
  } 
  arg3 = static_cast< unsigned int >(val3);
  if (obj3) {
    ecode4 = SWIG_AsVal_int(obj3, &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DataViewColumn" "', expected argument " "4"" of type '" "int""'");
    } 
    arg4 = static_cast< int >(val4);
  }
  if (obj4) {
    ecode5 = SWIG_AsVal_int(obj4, &val5);
    if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DataViewColumn" "', expected argument " "5"" of type '" "wxAlignment""'");
    } 
    arg5 = static_cast< wxAlignment >(val5);
  }
  if (obj5) {
    ecode6 = SWIG_AsVal_int(obj5, &val6);
    if (!SWIG_IsOK(ecode6)) {
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_DataViewColumn" "', expected argument " "6"" of type '" "int""'");
    } 
    arg6 = static_cast< int >(val6);
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxDataViewColumn *)new_wxDataViewColumn(arg1,arg2,arg3,arg4,arg5,arg6);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDataViewColumn, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewColumn_SetOwner(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewColumn *arg1 = (wxDataViewColumn *) 0 ;
  wxDataViewCtrl *arg2 = (wxDataViewCtrl *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "owner", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewColumn_SetOwner",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewColumn, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewColumn_SetOwner" "', expected argument " "1"" of type '" "wxDataViewColumn *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewColumn * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDataViewCtrl, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewColumn_SetOwner" "', expected argument " "2"" of type '" "wxDataViewCtrl *""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewCtrl * >(argp2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->SetOwner(arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewColumn_GetModelColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewColumn *arg1 = (wxDataViewColumn *) 0 ;
  unsigned int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewColumn, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewColumn_GetModelColumn" "', expected argument " "1"" of type '" "wxDataViewColumn const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewColumn * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (unsigned int)((wxDataViewColumn const *)arg1)->GetModelColumn();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewColumn_GetOwner(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewColumn *arg1 = (wxDataViewColumn *) 0 ;
  wxDataViewCtrl *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewColumn, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewColumn_GetOwner" "', expected argument " "1"" of type '" "wxDataViewColumn const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewColumn * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxDataViewCtrl *)((wxDataViewColumn const *)arg1)->GetOwner();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDataViewCtrl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewColumn_GetRenderer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewColumn *arg1 = (wxDataViewColumn *) 0 ;
  wxDataViewRenderer *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewColumn, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewColumn_GetRenderer" "', expected argument " "1"" of type '" "wxDataViewColumn const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewColumn * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxDataViewRenderer *)((wxDataViewColumn const *)arg1)->GetRenderer();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDataViewRenderer, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *DataViewColumn_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_wxDataViewColumn, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *DataViewColumn_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_new_DataViewCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxWindow *arg1 = (wxWindow *) 0 ;
  int arg2 = (int) wxID_ANY ;
  wxPoint const &arg3_defvalue = wxDefaultPosition ;
  wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
  wxSize const &arg4_defvalue = wxDefaultSize ;
  wxSize *arg4 = (wxSize *) &arg4_defvalue ;
  long arg5 = (long) 0 ;
  wxValidator const &arg6_defvalue = wxDefaultValidator ;
  wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
  wxString const &arg7_defvalue = wxDataViewCtrlNameStr ;
  wxString *arg7 = (wxString *) &arg7_defvalue ;
  wxDataViewCtrl *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  wxPoint temp3 ;
  wxSize temp4 ;
  long val5 ;
  int ecode5 = 0 ;
  void *argp6 = 0 ;
  int res6 = 0 ;
  bool temp7 = false ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  char *  kwnames[] = {
    (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DataViewCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DataViewCtrl" "', expected argument " "1"" of type '" "wxWindow *""'"); 
  }
  arg1 = reinterpret_cast< wxWindow * >(argp1);
  if (obj1) {
    ecode2 = SWIG_AsVal_int(obj1, &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DataViewCtrl" "', expected argument " "2"" of type '" "int""'");
    } 
    arg2 = static_cast< int >(val2);
  }
  if (obj2) {
    {
      arg3 = &temp3;
      if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
    }
  }
  if (obj3) {
    {
      arg4 = &temp4;
      if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
    }
  }
  if (obj4) {
    ecode5 = SWIG_AsVal_long(obj4, &val5);
    if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DataViewCtrl" "', expected argument " "5"" of type '" "long""'");
    } 
    arg5 = static_cast< long >(val5);
  }
  if (obj5) {
    res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator,  0  | 0);
    if (!SWIG_IsOK(res6)) {
      SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_DataViewCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'"); 
    }
    if (!argp6) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DataViewCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'"); 
    }
    arg6 = reinterpret_cast< wxValidator * >(argp6);
  }
  if (obj6) {
    {
      arg7 = wxString_in_helper(obj6);
      if (arg7 == NULL) SWIG_fail;
      temp7 = true;
    }
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxDataViewCtrl *)new wxDataViewCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDataViewCtrl, SWIG_POINTER_NEW |  0 );
  {
    if (temp7)
    delete arg7;
  }
  return resultobj;
fail:
  {
    if (temp7)
    delete arg7;
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_PreDataViewCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewCtrl *result = 0 ;
  
  if (!SWIG_Python_UnpackTuple(args,"new_PreDataViewCtrl",0,0,0)) SWIG_fail;
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxDataViewCtrl *)new wxDataViewCtrl();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDataViewCtrl, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewCtrl *arg1 = (wxDataViewCtrl *) 0 ;
  wxWindow *arg2 = (wxWindow *) 0 ;
  int arg3 = (int) -1 ;
  wxPoint const &arg4_defvalue = wxDefaultPosition ;
  wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
  wxSize const &arg5_defvalue = wxDefaultSize ;
  wxSize *arg5 = (wxSize *) &arg5_defvalue ;
  long arg6 = (long) 0 ;
  wxValidator const &arg7_defvalue = wxDefaultValidator ;
  wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
  wxString const &arg8_defvalue = wxDataViewCtrlNameStr ;
  wxString *arg8 = (wxString *) &arg8_defvalue ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  wxPoint temp4 ;
  wxSize temp5 ;
  long val6 ;
  int ecode6 = 0 ;
  void *argp7 = 0 ;
  int res7 = 0 ;
  bool temp8 = false ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  PyObject * obj7 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:DataViewCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewCtrl_Create" "', expected argument " "1"" of type '" "wxDataViewCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewCtrl * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); 
  }
  arg2 = reinterpret_cast< wxWindow * >(argp2);
  if (obj2) {
    ecode3 = SWIG_AsVal_int(obj2, &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DataViewCtrl_Create" "', expected argument " "3"" of type '" "int""'");
    } 
    arg3 = static_cast< int >(val3);
  }
  if (obj3) {
    {
      arg4 = &temp4;
      if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
    }
  }
  if (obj4) {
    {
      arg5 = &temp5;
      if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
    }
  }
  if (obj5) {
    ecode6 = SWIG_AsVal_long(obj5, &val6);
    if (!SWIG_IsOK(ecode6)) {
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DataViewCtrl_Create" "', expected argument " "6"" of type '" "long""'");
    } 
    arg6 = static_cast< long >(val6);
  }
  if (obj6) {
    res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator,  0  | 0);
    if (!SWIG_IsOK(res7)) {
      SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "DataViewCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'"); 
    }
    if (!argp7) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'"); 
    }
    arg7 = reinterpret_cast< wxValidator * >(argp7);
  }
  if (obj7) {
    {
      arg8 = wxString_in_helper(obj7);
      if (arg8 == NULL) SWIG_fail;
      temp8 = true;
    }
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  {
    if (temp8)
    delete arg8;
  }
  return resultobj;
fail:
  {
    if (temp8)
    delete arg8;
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewCtrl_AssociateModel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewCtrl *arg1 = (wxDataViewCtrl *) 0 ;
  wxDataViewModel *arg2 = (wxDataViewModel *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "model", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewCtrl_AssociateModel",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewCtrl_AssociateModel" "', expected argument " "1"" of type '" "wxDataViewCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewCtrl * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDataViewModel, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewCtrl_AssociateModel" "', expected argument " "2"" of type '" "wxDataViewModel *""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewModel * >(argp2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)(arg1)->AssociateModel(arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewCtrl_GetModel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewCtrl *arg1 = (wxDataViewCtrl *) 0 ;
  wxDataViewModel *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewCtrl_GetModel" "', expected argument " "1"" of type '" "wxDataViewCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewCtrl * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxDataViewModel *)(arg1)->GetModel();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDataViewModel, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewCtrl_PrependTextColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewCtrl *arg1 = (wxDataViewCtrl *) 0 ;
  PyObject *arg2 = (PyObject *) 0 ;
  unsigned int arg3 ;
  wxDataViewCellMode arg4 = (wxDataViewCellMode) wxDATAVIEW_CELL_INERT ;
  int arg5 = (int) -1 ;
  wxAlignment arg6 = (wxAlignment) wxALIGN_NOT ;
  int arg7 = (int) wxDATAVIEW_COL_RESIZABLE ;
  wxDataViewColumn *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  int val6 ;
  int ecode6 = 0 ;
  int val7 ;
  int ecode7 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "label_or_bitmap",(char *) "model_column",(char *) "mode",(char *) "width",(char *) "align",(char *) "flags", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:DataViewCtrl_PrependTextColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewCtrl_PrependTextColumn" "', expected argument " "1"" of type '" "wxDataViewCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewCtrl * >(argp1);
  arg2 = obj1;
  ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DataViewCtrl_PrependTextColumn" "', expected argument " "3"" of type '" "unsigned int""'");
  } 
  arg3 = static_cast< unsigned int >(val3);
  if (obj3) {
    ecode4 = SWIG_AsVal_int(obj3, &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DataViewCtrl_PrependTextColumn" "', expected argument " "4"" of type '" "wxDataViewCellMode""'");
    } 
    arg4 = static_cast< wxDataViewCellMode >(val4);
  }
  if (obj4) {
    ecode5 = SWIG_AsVal_int(obj4, &val5);
    if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DataViewCtrl_PrependTextColumn" "', expected argument " "5"" of type '" "int""'");
    } 
    arg5 = static_cast< int >(val5);
  }
  if (obj5) {
    ecode6 = SWIG_AsVal_int(obj5, &val6);
    if (!SWIG_IsOK(ecode6)) {
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DataViewCtrl_PrependTextColumn" "', expected argument " "6"" of type '" "wxAlignment""'");
    } 
    arg6 = static_cast< wxAlignment >(val6);
  }
  if (obj6) {
    ecode7 = SWIG_AsVal_int(obj6, &val7);
    if (!SWIG_IsOK(ecode7)) {
      SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "DataViewCtrl_PrependTextColumn" "', expected argument " "7"" of type '" "int""'");
    } 
    arg7 = static_cast< int >(val7);
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxDataViewColumn *)wxDataViewCtrl_PrependTextColumn(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDataViewColumn, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewCtrl_PrependIconTextColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewCtrl *arg1 = (wxDataViewCtrl *) 0 ;
  PyObject *arg2 = (PyObject *) 0 ;
  unsigned int arg3 ;
  wxDataViewCellMode arg4 = (wxDataViewCellMode) wxDATAVIEW_CELL_INERT ;
  int arg5 = (int) -1 ;
  wxAlignment arg6 = (wxAlignment) wxALIGN_NOT ;
  int arg7 = (int) wxDATAVIEW_COL_RESIZABLE ;
  wxDataViewColumn *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  int val6 ;
  int ecode6 = 0 ;
  int val7 ;
  int ecode7 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "label_or_bitmap",(char *) "model_column",(char *) "mode",(char *) "width",(char *) "align",(char *) "flags", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:DataViewCtrl_PrependIconTextColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewCtrl_PrependIconTextColumn" "', expected argument " "1"" of type '" "wxDataViewCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewCtrl * >(argp1);
  arg2 = obj1;
  ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DataViewCtrl_PrependIconTextColumn" "', expected argument " "3"" of type '" "unsigned int""'");
  } 
  arg3 = static_cast< unsigned int >(val3);
  if (obj3) {
    ecode4 = SWIG_AsVal_int(obj3, &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DataViewCtrl_PrependIconTextColumn" "', expected argument " "4"" of type '" "wxDataViewCellMode""'");
    } 
    arg4 = static_cast< wxDataViewCellMode >(val4);
  }
  if (obj4) {
    ecode5 = SWIG_AsVal_int(obj4, &val5);
    if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DataViewCtrl_PrependIconTextColumn" "', expected argument " "5"" of type '" "int""'");
    } 
    arg5 = static_cast< int >(val5);
  }
  if (obj5) {
    ecode6 = SWIG_AsVal_int(obj5, &val6);
    if (!SWIG_IsOK(ecode6)) {
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DataViewCtrl_PrependIconTextColumn" "', expected argument " "6"" of type '" "wxAlignment""'");
    } 
    arg6 = static_cast< wxAlignment >(val6);
  }
  if (obj6) {
    ecode7 = SWIG_AsVal_int(obj6, &val7);
    if (!SWIG_IsOK(ecode7)) {
      SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "DataViewCtrl_PrependIconTextColumn" "', expected argument " "7"" of type '" "int""'");
    } 
    arg7 = static_cast< int >(val7);
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxDataViewColumn *)wxDataViewCtrl_PrependIconTextColumn(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDataViewColumn, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewCtrl_PrependToggleColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewCtrl *arg1 = (wxDataViewCtrl *) 0 ;
  PyObject *arg2 = (PyObject *) 0 ;
  unsigned int arg3 ;
  wxDataViewCellMode arg4 = (wxDataViewCellMode) wxDATAVIEW_CELL_INERT ;
  int arg5 = (int) wxDVC_TOGGLE_DEFAULT_WIDTH ;
  wxAlignment arg6 = (wxAlignment) wxALIGN_CENTER ;
  int arg7 = (int) wxDATAVIEW_COL_RESIZABLE ;
  wxDataViewColumn *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  int val6 ;
  int ecode6 = 0 ;
  int val7 ;
  int ecode7 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "label_or_bitmap",(char *) "model_column",(char *) "mode",(char *) "width",(char *) "align",(char *) "flags", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:DataViewCtrl_PrependToggleColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewCtrl_PrependToggleColumn" "', expected argument " "1"" of type '" "wxDataViewCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewCtrl * >(argp1);
  arg2 = obj1;
  ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DataViewCtrl_PrependToggleColumn" "', expected argument " "3"" of type '" "unsigned int""'");
  } 
  arg3 = static_cast< unsigned int >(val3);
  if (obj3) {
    ecode4 = SWIG_AsVal_int(obj3, &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DataViewCtrl_PrependToggleColumn" "', expected argument " "4"" of type '" "wxDataViewCellMode""'");
    } 
    arg4 = static_cast< wxDataViewCellMode >(val4);
  }
  if (obj4) {
    ecode5 = SWIG_AsVal_int(obj4, &val5);
    if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DataViewCtrl_PrependToggleColumn" "', expected argument " "5"" of type '" "int""'");
    } 
    arg5 = static_cast< int >(val5);
  }
  if (obj5) {
    ecode6 = SWIG_AsVal_int(obj5, &val6);
    if (!SWIG_IsOK(ecode6)) {
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DataViewCtrl_PrependToggleColumn" "', expected argument " "6"" of type '" "wxAlignment""'");
    } 
    arg6 = static_cast< wxAlignment >(val6);
  }
  if (obj6) {
    ecode7 = SWIG_AsVal_int(obj6, &val7);
    if (!SWIG_IsOK(ecode7)) {
      SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "DataViewCtrl_PrependToggleColumn" "', expected argument " "7"" of type '" "int""'");
    } 
    arg7 = static_cast< int >(val7);
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxDataViewColumn *)wxDataViewCtrl_PrependToggleColumn(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDataViewColumn, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewCtrl_PrependProgressColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewCtrl *arg1 = (wxDataViewCtrl *) 0 ;
  PyObject *arg2 = (PyObject *) 0 ;
  unsigned int arg3 ;
  wxDataViewCellMode arg4 = (wxDataViewCellMode) wxDATAVIEW_CELL_INERT ;
  int arg5 = (int) wxDVC_DEFAULT_WIDTH ;
  wxAlignment arg6 = (wxAlignment) wxALIGN_CENTER ;
  int arg7 = (int) wxDATAVIEW_COL_RESIZABLE ;
  wxDataViewColumn *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  int val6 ;
  int ecode6 = 0 ;
  int val7 ;
  int ecode7 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "label_or_bitmap",(char *) "model_column",(char *) "mode",(char *) "width",(char *) "align",(char *) "flags", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:DataViewCtrl_PrependProgressColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewCtrl_PrependProgressColumn" "', expected argument " "1"" of type '" "wxDataViewCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewCtrl * >(argp1);
  arg2 = obj1;
  ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DataViewCtrl_PrependProgressColumn" "', expected argument " "3"" of type '" "unsigned int""'");
  } 
  arg3 = static_cast< unsigned int >(val3);
  if (obj3) {
    ecode4 = SWIG_AsVal_int(obj3, &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DataViewCtrl_PrependProgressColumn" "', expected argument " "4"" of type '" "wxDataViewCellMode""'");
    } 
    arg4 = static_cast< wxDataViewCellMode >(val4);
  }
  if (obj4) {
    ecode5 = SWIG_AsVal_int(obj4, &val5);
    if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DataViewCtrl_PrependProgressColumn" "', expected argument " "5"" of type '" "int""'");
    } 
    arg5 = static_cast< int >(val5);
  }
  if (obj5) {
    ecode6 = SWIG_AsVal_int(obj5, &val6);
    if (!SWIG_IsOK(ecode6)) {
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DataViewCtrl_PrependProgressColumn" "', expected argument " "6"" of type '" "wxAlignment""'");
    } 
    arg6 = static_cast< wxAlignment >(val6);
  }
  if (obj6) {
    ecode7 = SWIG_AsVal_int(obj6, &val7);
    if (!SWIG_IsOK(ecode7)) {
      SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "DataViewCtrl_PrependProgressColumn" "', expected argument " "7"" of type '" "int""'");
    } 
    arg7 = static_cast< int >(val7);
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxDataViewColumn *)wxDataViewCtrl_PrependProgressColumn(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDataViewColumn, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewCtrl_PrependDateColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewCtrl *arg1 = (wxDataViewCtrl *) 0 ;
  PyObject *arg2 = (PyObject *) 0 ;
  unsigned int arg3 ;
  wxDataViewCellMode arg4 = (wxDataViewCellMode) wxDATAVIEW_CELL_ACTIVATABLE ;
  int arg5 = (int) -1 ;
  wxAlignment arg6 = (wxAlignment) wxALIGN_NOT ;
  int arg7 = (int) wxDATAVIEW_COL_RESIZABLE ;
  wxDataViewColumn *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  int val6 ;
  int ecode6 = 0 ;
  int val7 ;
  int ecode7 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "label_or_bitmap",(char *) "model_column",(char *) "mode",(char *) "width",(char *) "align",(char *) "flags", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:DataViewCtrl_PrependDateColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewCtrl_PrependDateColumn" "', expected argument " "1"" of type '" "wxDataViewCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewCtrl * >(argp1);
  arg2 = obj1;
  ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DataViewCtrl_PrependDateColumn" "', expected argument " "3"" of type '" "unsigned int""'");
  } 
  arg3 = static_cast< unsigned int >(val3);
  if (obj3) {
    ecode4 = SWIG_AsVal_int(obj3, &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DataViewCtrl_PrependDateColumn" "', expected argument " "4"" of type '" "wxDataViewCellMode""'");
    } 
    arg4 = static_cast< wxDataViewCellMode >(val4);
  }
  if (obj4) {
    ecode5 = SWIG_AsVal_int(obj4, &val5);
    if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DataViewCtrl_PrependDateColumn" "', expected argument " "5"" of type '" "int""'");
    } 
    arg5 = static_cast< int >(val5);
  }
  if (obj5) {
    ecode6 = SWIG_AsVal_int(obj5, &val6);
    if (!SWIG_IsOK(ecode6)) {
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DataViewCtrl_PrependDateColumn" "', expected argument " "6"" of type '" "wxAlignment""'");
    } 
    arg6 = static_cast< wxAlignment >(val6);
  }
  if (obj6) {
    ecode7 = SWIG_AsVal_int(obj6, &val7);
    if (!SWIG_IsOK(ecode7)) {
      SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "DataViewCtrl_PrependDateColumn" "', expected argument " "7"" of type '" "int""'");
    } 
    arg7 = static_cast< int >(val7);
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxDataViewColumn *)wxDataViewCtrl_PrependDateColumn(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDataViewColumn, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewCtrl_PrependBitmapColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewCtrl *arg1 = (wxDataViewCtrl *) 0 ;
  PyObject *arg2 = (PyObject *) 0 ;
  unsigned int arg3 ;
  wxDataViewCellMode arg4 = (wxDataViewCellMode) wxDATAVIEW_CELL_INERT ;
  int arg5 = (int) -1 ;
  wxAlignment arg6 = (wxAlignment) wxALIGN_CENTER ;
  int arg7 = (int) wxDATAVIEW_COL_RESIZABLE ;
  wxDataViewColumn *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  int val6 ;
  int ecode6 = 0 ;
  int val7 ;
  int ecode7 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "label_or_bitmap",(char *) "model_column",(char *) "mode",(char *) "width",(char *) "align",(char *) "flags", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:DataViewCtrl_PrependBitmapColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewCtrl_PrependBitmapColumn" "', expected argument " "1"" of type '" "wxDataViewCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewCtrl * >(argp1);
  arg2 = obj1;
  ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DataViewCtrl_PrependBitmapColumn" "', expected argument " "3"" of type '" "unsigned int""'");
  } 
  arg3 = static_cast< unsigned int >(val3);
  if (obj3) {
    ecode4 = SWIG_AsVal_int(obj3, &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DataViewCtrl_PrependBitmapColumn" "', expected argument " "4"" of type '" "wxDataViewCellMode""'");
    } 
    arg4 = static_cast< wxDataViewCellMode >(val4);
  }
  if (obj4) {
    ecode5 = SWIG_AsVal_int(obj4, &val5);
    if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DataViewCtrl_PrependBitmapColumn" "', expected argument " "5"" of type '" "int""'");
    } 
    arg5 = static_cast< int >(val5);
  }
  if (obj5) {
    ecode6 = SWIG_AsVal_int(obj5, &val6);
    if (!SWIG_IsOK(ecode6)) {
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DataViewCtrl_PrependBitmapColumn" "', expected argument " "6"" of type '" "wxAlignment""'");
    } 
    arg6 = static_cast< wxAlignment >(val6);
  }
  if (obj6) {
    ecode7 = SWIG_AsVal_int(obj6, &val7);
    if (!SWIG_IsOK(ecode7)) {
      SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "DataViewCtrl_PrependBitmapColumn" "', expected argument " "7"" of type '" "int""'");
    } 
    arg7 = static_cast< int >(val7);
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxDataViewColumn *)wxDataViewCtrl_PrependBitmapColumn(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDataViewColumn, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewCtrl_AppendTextColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewCtrl *arg1 = (wxDataViewCtrl *) 0 ;
  PyObject *arg2 = (PyObject *) 0 ;
  unsigned int arg3 ;
  wxDataViewCellMode arg4 = (wxDataViewCellMode) wxDATAVIEW_CELL_INERT ;
  int arg5 = (int) -1 ;
  wxAlignment arg6 = (wxAlignment) wxALIGN_NOT ;
  int arg7 = (int) wxDATAVIEW_COL_RESIZABLE ;
  wxDataViewColumn *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  int val6 ;
  int ecode6 = 0 ;
  int val7 ;
  int ecode7 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "label_or_bitmap",(char *) "model_column",(char *) "mode",(char *) "width",(char *) "align",(char *) "flags", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:DataViewCtrl_AppendTextColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewCtrl_AppendTextColumn" "', expected argument " "1"" of type '" "wxDataViewCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewCtrl * >(argp1);
  arg2 = obj1;
  ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DataViewCtrl_AppendTextColumn" "', expected argument " "3"" of type '" "unsigned int""'");
  } 
  arg3 = static_cast< unsigned int >(val3);
  if (obj3) {
    ecode4 = SWIG_AsVal_int(obj3, &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DataViewCtrl_AppendTextColumn" "', expected argument " "4"" of type '" "wxDataViewCellMode""'");
    } 
    arg4 = static_cast< wxDataViewCellMode >(val4);
  }
  if (obj4) {
    ecode5 = SWIG_AsVal_int(obj4, &val5);
    if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DataViewCtrl_AppendTextColumn" "', expected argument " "5"" of type '" "int""'");
    } 
    arg5 = static_cast< int >(val5);
  }
  if (obj5) {
    ecode6 = SWIG_AsVal_int(obj5, &val6);
    if (!SWIG_IsOK(ecode6)) {
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DataViewCtrl_AppendTextColumn" "', expected argument " "6"" of type '" "wxAlignment""'");
    } 
    arg6 = static_cast< wxAlignment >(val6);
  }
  if (obj6) {
    ecode7 = SWIG_AsVal_int(obj6, &val7);
    if (!SWIG_IsOK(ecode7)) {
      SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "DataViewCtrl_AppendTextColumn" "', expected argument " "7"" of type '" "int""'");
    } 
    arg7 = static_cast< int >(val7);
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxDataViewColumn *)wxDataViewCtrl_AppendTextColumn(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDataViewColumn, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewCtrl_AppendIconTextColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewCtrl *arg1 = (wxDataViewCtrl *) 0 ;
  PyObject *arg2 = (PyObject *) 0 ;
  unsigned int arg3 ;
  wxDataViewCellMode arg4 = (wxDataViewCellMode) wxDATAVIEW_CELL_INERT ;
  int arg5 = (int) -1 ;
  wxAlignment arg6 = (wxAlignment) wxALIGN_NOT ;
  int arg7 = (int) wxDATAVIEW_COL_RESIZABLE ;
  wxDataViewColumn *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  int val6 ;
  int ecode6 = 0 ;
  int val7 ;
  int ecode7 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "label_or_bitmap",(char *) "model_column",(char *) "mode",(char *) "width",(char *) "align",(char *) "flags", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:DataViewCtrl_AppendIconTextColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewCtrl_AppendIconTextColumn" "', expected argument " "1"" of type '" "wxDataViewCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewCtrl * >(argp1);
  arg2 = obj1;
  ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DataViewCtrl_AppendIconTextColumn" "', expected argument " "3"" of type '" "unsigned int""'");
  } 
  arg3 = static_cast< unsigned int >(val3);
  if (obj3) {
    ecode4 = SWIG_AsVal_int(obj3, &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DataViewCtrl_AppendIconTextColumn" "', expected argument " "4"" of type '" "wxDataViewCellMode""'");
    } 
    arg4 = static_cast< wxDataViewCellMode >(val4);
  }
  if (obj4) {
    ecode5 = SWIG_AsVal_int(obj4, &val5);
    if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DataViewCtrl_AppendIconTextColumn" "', expected argument " "5"" of type '" "int""'");
    } 
    arg5 = static_cast< int >(val5);
  }
  if (obj5) {
    ecode6 = SWIG_AsVal_int(obj5, &val6);
    if (!SWIG_IsOK(ecode6)) {
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DataViewCtrl_AppendIconTextColumn" "', expected argument " "6"" of type '" "wxAlignment""'");
    } 
    arg6 = static_cast< wxAlignment >(val6);
  }
  if (obj6) {
    ecode7 = SWIG_AsVal_int(obj6, &val7);
    if (!SWIG_IsOK(ecode7)) {
      SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "DataViewCtrl_AppendIconTextColumn" "', expected argument " "7"" of type '" "int""'");
    } 
    arg7 = static_cast< int >(val7);
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxDataViewColumn *)wxDataViewCtrl_AppendIconTextColumn(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDataViewColumn, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewCtrl_AppendToggleColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewCtrl *arg1 = (wxDataViewCtrl *) 0 ;
  PyObject *arg2 = (PyObject *) 0 ;
  unsigned int arg3 ;
  wxDataViewCellMode arg4 = (wxDataViewCellMode) wxDATAVIEW_CELL_INERT ;
  int arg5 = (int) wxDVC_TOGGLE_DEFAULT_WIDTH ;
  wxAlignment arg6 = (wxAlignment) wxALIGN_CENTER ;
  int arg7 = (int) wxDATAVIEW_COL_RESIZABLE ;
  wxDataViewColumn *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  int val6 ;
  int ecode6 = 0 ;
  int val7 ;
  int ecode7 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "label_or_bitmap",(char *) "model_column",(char *) "mode",(char *) "width",(char *) "align",(char *) "flags", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:DataViewCtrl_AppendToggleColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewCtrl_AppendToggleColumn" "', expected argument " "1"" of type '" "wxDataViewCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewCtrl * >(argp1);
  arg2 = obj1;
  ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DataViewCtrl_AppendToggleColumn" "', expected argument " "3"" of type '" "unsigned int""'");
  } 
  arg3 = static_cast< unsigned int >(val3);
  if (obj3) {
    ecode4 = SWIG_AsVal_int(obj3, &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DataViewCtrl_AppendToggleColumn" "', expected argument " "4"" of type '" "wxDataViewCellMode""'");
    } 
    arg4 = static_cast< wxDataViewCellMode >(val4);
  }
  if (obj4) {
    ecode5 = SWIG_AsVal_int(obj4, &val5);
    if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DataViewCtrl_AppendToggleColumn" "', expected argument " "5"" of type '" "int""'");
    } 
    arg5 = static_cast< int >(val5);
  }
  if (obj5) {
    ecode6 = SWIG_AsVal_int(obj5, &val6);
    if (!SWIG_IsOK(ecode6)) {
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DataViewCtrl_AppendToggleColumn" "', expected argument " "6"" of type '" "wxAlignment""'");
    } 
    arg6 = static_cast< wxAlignment >(val6);
  }
  if (obj6) {
    ecode7 = SWIG_AsVal_int(obj6, &val7);
    if (!SWIG_IsOK(ecode7)) {
      SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "DataViewCtrl_AppendToggleColumn" "', expected argument " "7"" of type '" "int""'");
    } 
    arg7 = static_cast< int >(val7);
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxDataViewColumn *)wxDataViewCtrl_AppendToggleColumn(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDataViewColumn, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewCtrl_AppendProgressColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewCtrl *arg1 = (wxDataViewCtrl *) 0 ;
  PyObject *arg2 = (PyObject *) 0 ;
  unsigned int arg3 ;
  wxDataViewCellMode arg4 = (wxDataViewCellMode) wxDATAVIEW_CELL_INERT ;
  int arg5 = (int) wxDVC_DEFAULT_WIDTH ;
  wxAlignment arg6 = (wxAlignment) wxALIGN_CENTER ;
  int arg7 = (int) wxDATAVIEW_COL_RESIZABLE ;
  wxDataViewColumn *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  int val6 ;
  int ecode6 = 0 ;
  int val7 ;
  int ecode7 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "label_or_bitmap",(char *) "model_column",(char *) "mode",(char *) "width",(char *) "align",(char *) "flags", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:DataViewCtrl_AppendProgressColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewCtrl_AppendProgressColumn" "', expected argument " "1"" of type '" "wxDataViewCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewCtrl * >(argp1);
  arg2 = obj1;
  ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DataViewCtrl_AppendProgressColumn" "', expected argument " "3"" of type '" "unsigned int""'");
  } 
  arg3 = static_cast< unsigned int >(val3);
  if (obj3) {
    ecode4 = SWIG_AsVal_int(obj3, &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DataViewCtrl_AppendProgressColumn" "', expected argument " "4"" of type '" "wxDataViewCellMode""'");
    } 
    arg4 = static_cast< wxDataViewCellMode >(val4);
  }
  if (obj4) {
    ecode5 = SWIG_AsVal_int(obj4, &val5);
    if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DataViewCtrl_AppendProgressColumn" "', expected argument " "5"" of type '" "int""'");
    } 
    arg5 = static_cast< int >(val5);
  }
  if (obj5) {
    ecode6 = SWIG_AsVal_int(obj5, &val6);
    if (!SWIG_IsOK(ecode6)) {
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DataViewCtrl_AppendProgressColumn" "', expected argument " "6"" of type '" "wxAlignment""'");
    } 
    arg6 = static_cast< wxAlignment >(val6);
  }
  if (obj6) {
    ecode7 = SWIG_AsVal_int(obj6, &val7);
    if (!SWIG_IsOK(ecode7)) {
      SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "DataViewCtrl_AppendProgressColumn" "', expected argument " "7"" of type '" "int""'");
    } 
    arg7 = static_cast< int >(val7);
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxDataViewColumn *)wxDataViewCtrl_AppendProgressColumn(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDataViewColumn, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewCtrl_AppendDateColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewCtrl *arg1 = (wxDataViewCtrl *) 0 ;
  PyObject *arg2 = (PyObject *) 0 ;
  unsigned int arg3 ;
  wxDataViewCellMode arg4 = (wxDataViewCellMode) wxDATAVIEW_CELL_ACTIVATABLE ;
  int arg5 = (int) -1 ;
  wxAlignment arg6 = (wxAlignment) wxALIGN_NOT ;
  int arg7 = (int) wxDATAVIEW_COL_RESIZABLE ;
  wxDataViewColumn *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  int val6 ;
  int ecode6 = 0 ;
  int val7 ;
  int ecode7 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "label_or_bitmap",(char *) "model_column",(char *) "mode",(char *) "width",(char *) "align",(char *) "flags", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:DataViewCtrl_AppendDateColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewCtrl_AppendDateColumn" "', expected argument " "1"" of type '" "wxDataViewCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewCtrl * >(argp1);
  arg2 = obj1;
  ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DataViewCtrl_AppendDateColumn" "', expected argument " "3"" of type '" "unsigned int""'");
  } 
  arg3 = static_cast< unsigned int >(val3);
  if (obj3) {
    ecode4 = SWIG_AsVal_int(obj3, &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DataViewCtrl_AppendDateColumn" "', expected argument " "4"" of type '" "wxDataViewCellMode""'");
    } 
    arg4 = static_cast< wxDataViewCellMode >(val4);
  }
  if (obj4) {
    ecode5 = SWIG_AsVal_int(obj4, &val5);
    if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DataViewCtrl_AppendDateColumn" "', expected argument " "5"" of type '" "int""'");
    } 
    arg5 = static_cast< int >(val5);
  }
  if (obj5) {
    ecode6 = SWIG_AsVal_int(obj5, &val6);
    if (!SWIG_IsOK(ecode6)) {
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DataViewCtrl_AppendDateColumn" "', expected argument " "6"" of type '" "wxAlignment""'");
    } 
    arg6 = static_cast< wxAlignment >(val6);
  }
  if (obj6) {
    ecode7 = SWIG_AsVal_int(obj6, &val7);
    if (!SWIG_IsOK(ecode7)) {
      SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "DataViewCtrl_AppendDateColumn" "', expected argument " "7"" of type '" "int""'");
    } 
    arg7 = static_cast< int >(val7);
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxDataViewColumn *)wxDataViewCtrl_AppendDateColumn(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDataViewColumn, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewCtrl_AppendBitmapColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewCtrl *arg1 = (wxDataViewCtrl *) 0 ;
  PyObject *arg2 = (PyObject *) 0 ;
  unsigned int arg3 ;
  wxDataViewCellMode arg4 = (wxDataViewCellMode) wxDATAVIEW_CELL_INERT ;
  int arg5 = (int) -1 ;
  wxAlignment arg6 = (wxAlignment) wxALIGN_CENTER ;
  int arg7 = (int) wxDATAVIEW_COL_RESIZABLE ;
  wxDataViewColumn *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  int val6 ;
  int ecode6 = 0 ;
  int val7 ;
  int ecode7 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "label_or_bitmap",(char *) "model_column",(char *) "mode",(char *) "width",(char *) "align",(char *) "flags", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:DataViewCtrl_AppendBitmapColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewCtrl_AppendBitmapColumn" "', expected argument " "1"" of type '" "wxDataViewCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewCtrl * >(argp1);
  arg2 = obj1;
  ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DataViewCtrl_AppendBitmapColumn" "', expected argument " "3"" of type '" "unsigned int""'");
  } 
  arg3 = static_cast< unsigned int >(val3);
  if (obj3) {
    ecode4 = SWIG_AsVal_int(obj3, &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DataViewCtrl_AppendBitmapColumn" "', expected argument " "4"" of type '" "wxDataViewCellMode""'");
    } 
    arg4 = static_cast< wxDataViewCellMode >(val4);
  }
  if (obj4) {
    ecode5 = SWIG_AsVal_int(obj4, &val5);
    if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DataViewCtrl_AppendBitmapColumn" "', expected argument " "5"" of type '" "int""'");
    } 
    arg5 = static_cast< int >(val5);
  }
  if (obj5) {
    ecode6 = SWIG_AsVal_int(obj5, &val6);
    if (!SWIG_IsOK(ecode6)) {
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DataViewCtrl_AppendBitmapColumn" "', expected argument " "6"" of type '" "wxAlignment""'");
    } 
    arg6 = static_cast< wxAlignment >(val6);
  }
  if (obj6) {
    ecode7 = SWIG_AsVal_int(obj6, &val7);
    if (!SWIG_IsOK(ecode7)) {
      SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "DataViewCtrl_AppendBitmapColumn" "', expected argument " "7"" of type '" "int""'");
    } 
    arg7 = static_cast< int >(val7);
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxDataViewColumn *)wxDataViewCtrl_AppendBitmapColumn(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDataViewColumn, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewCtrl_PrependColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewCtrl *arg1 = (wxDataViewCtrl *) 0 ;
  wxDataViewColumn *arg2 = (wxDataViewColumn *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "col", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewCtrl_PrependColumn",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewCtrl_PrependColumn" "', expected argument " "1"" of type '" "wxDataViewCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewCtrl * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxDataViewColumn, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewCtrl_PrependColumn" "', expected argument " "2"" of type '" "wxDataViewColumn *""'");
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)(arg1)->PrependColumn(arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewCtrl_InsertColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewCtrl *arg1 = (wxDataViewCtrl *) 0 ;
  unsigned int arg2 ;
  wxDataViewColumn *arg3 = (wxDataViewColumn *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "pos",(char *) "col", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataViewCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxDataViewCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewCtrl * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataViewCtrl_InsertColumn" "', expected argument " "2"" of type '" "unsigned int""'");
  } 
  arg2 = static_cast< unsigned int >(val2);
  res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&arg3), SWIGTYPE_p_wxDataViewColumn, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DataViewCtrl_InsertColumn" "', expected argument " "3"" of type '" "wxDataViewColumn *""'");
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)(arg1)->InsertColumn(arg2,arg3);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewCtrl_AppendColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewCtrl *arg1 = (wxDataViewCtrl *) 0 ;
  wxDataViewColumn *arg2 = (wxDataViewColumn *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "col", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewCtrl_AppendColumn",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewCtrl_AppendColumn" "', expected argument " "1"" of type '" "wxDataViewCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewCtrl * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxDataViewColumn, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewCtrl_AppendColumn" "', expected argument " "2"" of type '" "wxDataViewColumn *""'");
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)(arg1)->AppendColumn(arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewCtrl_GetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewCtrl *arg1 = (wxDataViewCtrl *) 0 ;
  unsigned int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxDataViewCtrl const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewCtrl * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (unsigned int)((wxDataViewCtrl const *)arg1)->GetColumnCount();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewCtrl_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewCtrl *arg1 = (wxDataViewCtrl *) 0 ;
  unsigned int arg2 ;
  wxDataViewColumn *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "pos", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewCtrl_GetColumn",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewCtrl_GetColumn" "', expected argument " "1"" of type '" "wxDataViewCtrl const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewCtrl * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataViewCtrl_GetColumn" "', expected argument " "2"" of type '" "unsigned int""'");
  } 
  arg2 = static_cast< unsigned int >(val2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxDataViewColumn *)((wxDataViewCtrl const *)arg1)->GetColumn(arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDataViewColumn, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewCtrl_GetColumnPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewCtrl *arg1 = (wxDataViewCtrl *) 0 ;
  wxDataViewColumn *arg2 = (wxDataViewColumn *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "column", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewCtrl_GetColumnPosition",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewCtrl_GetColumnPosition" "', expected argument " "1"" of type '" "wxDataViewCtrl const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewCtrl * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDataViewColumn, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewCtrl_GetColumnPosition" "', expected argument " "2"" of type '" "wxDataViewColumn const *""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewColumn * >(argp2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (int)((wxDataViewCtrl const *)arg1)->GetColumnPosition((wxDataViewColumn const *)arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewCtrl_DeleteColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewCtrl *arg1 = (wxDataViewCtrl *) 0 ;
  wxDataViewColumn *arg2 = (wxDataViewColumn *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "column", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewCtrl_DeleteColumn",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxDataViewCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewCtrl * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDataViewColumn, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewCtrl_DeleteColumn" "', expected argument " "2"" of type '" "wxDataViewColumn *""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewColumn * >(argp2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)(arg1)->DeleteColumn(arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewCtrl_ClearColumns(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewCtrl *arg1 = (wxDataViewCtrl *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewCtrl_ClearColumns" "', expected argument " "1"" of type '" "wxDataViewCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewCtrl * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)(arg1)->ClearColumns();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewCtrl_SetExpanderColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewCtrl *arg1 = (wxDataViewCtrl *) 0 ;
  wxDataViewColumn *arg2 = (wxDataViewColumn *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "col", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewCtrl_SetExpanderColumn",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewCtrl_SetExpanderColumn" "', expected argument " "1"" of type '" "wxDataViewCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewCtrl * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDataViewColumn, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewCtrl_SetExpanderColumn" "', expected argument " "2"" of type '" "wxDataViewColumn *""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewColumn * >(argp2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->SetExpanderColumn(arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewCtrl_GetExpanderColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewCtrl *arg1 = (wxDataViewCtrl *) 0 ;
  wxDataViewColumn *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewCtrl_GetExpanderColumn" "', expected argument " "1"" of type '" "wxDataViewCtrl const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewCtrl * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxDataViewColumn *)((wxDataViewCtrl const *)arg1)->GetExpanderColumn();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDataViewColumn, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewCtrl_GetSortingColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewCtrl *arg1 = (wxDataViewCtrl *) 0 ;
  wxDataViewColumn *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewCtrl_GetSortingColumn" "', expected argument " "1"" of type '" "wxDataViewCtrl const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewCtrl * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxDataViewColumn *)((wxDataViewCtrl const *)arg1)->GetSortingColumn();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDataViewColumn, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewCtrl_SetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewCtrl *arg1 = (wxDataViewCtrl *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "indent", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewCtrl_SetIndent",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewCtrl_SetIndent" "', expected argument " "1"" of type '" "wxDataViewCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewCtrl * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataViewCtrl_SetIndent" "', expected argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->SetIndent(arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewCtrl_GetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewCtrl *arg1 = (wxDataViewCtrl *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewCtrl_GetIndent" "', expected argument " "1"" of type '" "wxDataViewCtrl const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewCtrl * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (int)((wxDataViewCtrl const *)arg1)->GetIndent();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewCtrl_GetCurrentItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewCtrl *arg1 = (wxDataViewCtrl *) 0 ;
  wxDataViewItem result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewCtrl_GetCurrentItem" "', expected argument " "1"" of type '" "wxDataViewCtrl const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewCtrl * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = ((wxDataViewCtrl const *)arg1)->GetCurrentItem();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj((new wxDataViewItem(static_cast< const wxDataViewItem& >(result))), SWIGTYPE_p_wxDataViewItem, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewCtrl_SetCurrentItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewCtrl *arg1 = (wxDataViewCtrl *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "item", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewCtrl_SetCurrentItem",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewCtrl_SetCurrentItem" "', expected argument " "1"" of type '" "wxDataViewCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewCtrl * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewCtrl_SetCurrentItem" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewCtrl_SetCurrentItem" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->SetCurrentItem((wxDataViewItem const &)*arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewCtrl_GetCurrentColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewCtrl *arg1 = (wxDataViewCtrl *) 0 ;
  wxDataViewColumn *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewCtrl_GetCurrentColumn" "', expected argument " "1"" of type '" "wxDataViewCtrl const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewCtrl * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxDataViewColumn *)((wxDataViewCtrl const *)arg1)->GetCurrentColumn();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDataViewColumn, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewCtrl_GetSelectedItemsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewCtrl *arg1 = (wxDataViewCtrl *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewCtrl_GetSelectedItemsCount" "', expected argument " "1"" of type '" "wxDataViewCtrl const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewCtrl * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (int)((wxDataViewCtrl const *)arg1)->GetSelectedItemsCount();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewCtrl_HasSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewCtrl *arg1 = (wxDataViewCtrl *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewCtrl_HasSelection" "', expected argument " "1"" of type '" "wxDataViewCtrl const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewCtrl * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)((wxDataViewCtrl const *)arg1)->HasSelection();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewCtrl_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewCtrl *arg1 = (wxDataViewCtrl *) 0 ;
  wxDataViewItem result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewCtrl_GetSelection" "', expected argument " "1"" of type '" "wxDataViewCtrl const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewCtrl * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = ((wxDataViewCtrl const *)arg1)->GetSelection();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj((new wxDataViewItem(static_cast< const wxDataViewItem& >(result))), SWIGTYPE_p_wxDataViewItem, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewCtrl_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewCtrl *arg1 = (wxDataViewCtrl *) 0 ;
  wxDataViewItemArray result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewCtrl_GetSelections" "', expected argument " "1"" of type '" "wxDataViewCtrl const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewCtrl * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = wxDataViewCtrl_GetSelections((wxDataViewCtrl const *)arg1);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj((new wxDataViewItemArray(static_cast< const wxDataViewItemArray& >(result))), SWIGTYPE_p_wxDataViewItemArray, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewCtrl_SetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewCtrl *arg1 = (wxDataViewCtrl *) 0 ;
  wxDataViewItemArray *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "sel", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewCtrl_SetSelections",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewCtrl_SetSelections" "', expected argument " "1"" of type '" "wxDataViewCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewCtrl * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItemArray,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewCtrl_SetSelections" "', expected argument " "2"" of type '" "wxDataViewItemArray const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewCtrl_SetSelections" "', expected argument " "2"" of type '" "wxDataViewItemArray const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItemArray * >(argp2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->SetSelections((wxDataViewItemArray const &)*arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewCtrl_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewCtrl *arg1 = (wxDataViewCtrl *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "item", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewCtrl_Select",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewCtrl_Select" "', expected argument " "1"" of type '" "wxDataViewCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewCtrl * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewCtrl_Select" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewCtrl_Select" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->Select((wxDataViewItem const &)*arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewCtrl_Unselect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewCtrl *arg1 = (wxDataViewCtrl *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "item", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewCtrl_Unselect",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewCtrl_Unselect" "', expected argument " "1"" of type '" "wxDataViewCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewCtrl * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewCtrl_Unselect" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewCtrl_Unselect" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->Unselect((wxDataViewItem const &)*arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewCtrl_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewCtrl *arg1 = (wxDataViewCtrl *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "item", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewCtrl_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewCtrl_IsSelected" "', expected argument " "1"" of type '" "wxDataViewCtrl const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewCtrl * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewCtrl_IsSelected" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewCtrl_IsSelected" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)((wxDataViewCtrl const *)arg1)->IsSelected((wxDataViewItem const &)*arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewCtrl_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewCtrl *arg1 = (wxDataViewCtrl *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewCtrl_SelectAll" "', expected argument " "1"" of type '" "wxDataViewCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewCtrl * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->SelectAll();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewCtrl_UnselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewCtrl *arg1 = (wxDataViewCtrl *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxDataViewCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewCtrl * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->UnselectAll();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewCtrl_Expand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewCtrl *arg1 = (wxDataViewCtrl *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "item", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewCtrl_Expand",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewCtrl_Expand" "', expected argument " "1"" of type '" "wxDataViewCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewCtrl * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewCtrl_Expand" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewCtrl_Expand" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->Expand((wxDataViewItem const &)*arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewCtrl_ExpandAncestors(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewCtrl *arg1 = (wxDataViewCtrl *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "item", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewCtrl_ExpandAncestors",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewCtrl_ExpandAncestors" "', expected argument " "1"" of type '" "wxDataViewCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewCtrl * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewCtrl_ExpandAncestors" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewCtrl_ExpandAncestors" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->ExpandAncestors((wxDataViewItem const &)*arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewCtrl_Collapse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewCtrl *arg1 = (wxDataViewCtrl *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "item", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewCtrl_Collapse",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewCtrl_Collapse" "', expected argument " "1"" of type '" "wxDataViewCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewCtrl * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewCtrl_Collapse" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewCtrl_Collapse" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->Collapse((wxDataViewItem const &)*arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewCtrl_IsExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewCtrl *arg1 = (wxDataViewCtrl *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "item", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewCtrl_IsExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxDataViewCtrl const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewCtrl * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)((wxDataViewCtrl const *)arg1)->IsExpanded((wxDataViewItem const &)*arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewCtrl_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewCtrl *arg1 = (wxDataViewCtrl *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  wxDataViewColumn *arg3 = (wxDataViewColumn *) NULL ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "item",(char *) "column", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataViewCtrl_EnsureVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxDataViewCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewCtrl * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  if (obj2) {
    res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxDataViewColumn, 0 |  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DataViewCtrl_EnsureVisible" "', expected argument " "3"" of type '" "wxDataViewColumn const *""'"); 
    }
    arg3 = reinterpret_cast< wxDataViewColumn * >(argp3);
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->EnsureVisible((wxDataViewItem const &)*arg2,(wxDataViewColumn const *)arg3);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewCtrl *arg1 = (wxDataViewCtrl *) 0 ;
  wxPoint *arg2 = 0 ;
  wxDataViewItem *arg3 = 0 ;
  wxDataViewColumn **arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  wxPoint temp2 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "point",(char *) "item",(char *) "column", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DataViewCtrl_HitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewCtrl_HitTest" "', expected argument " "1"" of type '" "wxDataViewCtrl const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewCtrl * >(argp1);
  {
    arg2 = &temp2;
    if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
  }
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDataViewItem,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DataViewCtrl_HitTest" "', expected argument " "3"" of type '" "wxDataViewItem &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewCtrl_HitTest" "', expected argument " "3"" of type '" "wxDataViewItem &""'"); 
  }
  arg3 = reinterpret_cast< wxDataViewItem * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_p_wxDataViewColumn,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DataViewCtrl_HitTest" "', expected argument " "4"" of type '" "wxDataViewColumn *&""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewCtrl_HitTest" "', expected argument " "4"" of type '" "wxDataViewColumn *&""'"); 
  }
  arg4 = reinterpret_cast< wxDataViewColumn ** >(argp4);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    ((wxDataViewCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,*arg3,*arg4);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewCtrl_GetItemRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewCtrl *arg1 = (wxDataViewCtrl *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  wxDataViewColumn *arg3 = (wxDataViewColumn *) NULL ;
  wxRect result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "item",(char *) "column", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataViewCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxDataViewCtrl const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewCtrl * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewCtrl_GetItemRect" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewCtrl_GetItemRect" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  if (obj2) {
    res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxDataViewColumn, 0 |  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DataViewCtrl_GetItemRect" "', expected argument " "3"" of type '" "wxDataViewColumn const *""'"); 
    }
    arg3 = reinterpret_cast< wxDataViewColumn * >(argp3);
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = ((wxDataViewCtrl const *)arg1)->GetItemRect((wxDataViewItem const &)*arg2,(wxDataViewColumn const *)arg3);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewCtrl_SetRowHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewCtrl *arg1 = (wxDataViewCtrl *) 0 ;
  int arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "rowHeight", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewCtrl_SetRowHeight",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewCtrl_SetRowHeight" "', expected argument " "1"" of type '" "wxDataViewCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewCtrl * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataViewCtrl_SetRowHeight" "', expected argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)(arg1)->SetRowHeight(arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewCtrl_EditItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewCtrl *arg1 = (wxDataViewCtrl *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  wxDataViewColumn *arg3 = (wxDataViewColumn *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "item",(char *) "column", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataViewCtrl_EditItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewCtrl_EditItem" "', expected argument " "1"" of type '" "wxDataViewCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewCtrl * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewCtrl_EditItem" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewCtrl_EditItem" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxDataViewColumn, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DataViewCtrl_EditItem" "', expected argument " "3"" of type '" "wxDataViewColumn const *""'"); 
  }
  arg3 = reinterpret_cast< wxDataViewColumn * >(argp3);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->EditItem((wxDataViewItem const &)*arg2,(wxDataViewColumn const *)arg3);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewCtrl_EnableDragSource(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewCtrl *arg1 = (wxDataViewCtrl *) 0 ;
  wxDataFormat *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "format", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewCtrl_EnableDragSource",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewCtrl_EnableDragSource" "', expected argument " "1"" of type '" "wxDataViewCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewCtrl * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataFormat,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewCtrl_EnableDragSource" "', expected argument " "2"" of type '" "wxDataFormat const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewCtrl_EnableDragSource" "', expected argument " "2"" of type '" "wxDataFormat const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataFormat * >(argp2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)(arg1)->EnableDragSource((wxDataFormat const &)*arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewCtrl_EnableDropTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewCtrl *arg1 = (wxDataViewCtrl *) 0 ;
  wxDataFormat *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "format", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewCtrl_EnableDropTarget",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewCtrl_EnableDropTarget" "', expected argument " "1"" of type '" "wxDataViewCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewCtrl * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataFormat,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewCtrl_EnableDropTarget" "', expected argument " "2"" of type '" "wxDataFormat const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewCtrl_EnableDropTarget" "', expected argument " "2"" of type '" "wxDataFormat const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataFormat * >(argp2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)(arg1)->EnableDropTarget((wxDataFormat const &)*arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
  SwigValueWrapper<wxVisualAttributes > result;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  char *  kwnames[] = {
    (char *) "variant", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DataViewCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
  if (obj0) {
    ecode1 = SWIG_AsVal_int(obj0, &val1);
    if (!SWIG_IsOK(ecode1)) {
      SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "DataViewCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
    } 
    arg1 = static_cast< wxWindowVariant >(val1);
  }
  {
    if (!wxPyCheckForApp()) SWIG_fail;
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = wxDataViewCtrl::GetClassDefaultAttributes(arg1);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *DataViewCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_wxDataViewCtrl, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *DataViewCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_new_DataViewEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxEventType arg1 = (wxEventType) wxEVT_NULL ;
  int arg2 = (int) 0 ;
  wxDataViewEvent *result = 0 ;
  int val1 ;
  int ecode1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "commandType",(char *) "winid", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_DataViewEvent",kwnames,&obj0,&obj1)) SWIG_fail;
  if (obj0) {
    ecode1 = SWIG_AsVal_int(obj0, &val1);
    if (!SWIG_IsOK(ecode1)) {
      SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_DataViewEvent" "', expected argument " "1"" of type '" "wxEventType""'");
    } 
    arg1 = static_cast< wxEventType >(val1);
  }
  if (obj1) {
    ecode2 = SWIG_AsVal_int(obj1, &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DataViewEvent" "', expected argument " "2"" of type '" "int""'");
    } 
    arg2 = static_cast< int >(val2);
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxDataViewEvent *)new wxDataViewEvent(arg1,arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDataViewEvent, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewEvent_GetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewEvent *arg1 = (wxDataViewEvent *) 0 ;
  wxDataViewItem result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewEvent_GetItem" "', expected argument " "1"" of type '" "wxDataViewEvent const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewEvent * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = ((wxDataViewEvent const *)arg1)->GetItem();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj((new wxDataViewItem(static_cast< const wxDataViewItem& >(result))), SWIGTYPE_p_wxDataViewItem, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewEvent_SetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewEvent *arg1 = (wxDataViewEvent *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "item", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewEvent_SetItem",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewEvent_SetItem" "', expected argument " "1"" of type '" "wxDataViewEvent *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewEvent * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewEvent_SetItem" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewEvent_SetItem" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->SetItem((wxDataViewItem const &)*arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewEvent_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewEvent *arg1 = (wxDataViewEvent *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewEvent_GetColumn" "', expected argument " "1"" of type '" "wxDataViewEvent const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewEvent * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (int)((wxDataViewEvent const *)arg1)->GetColumn();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewEvent_SetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewEvent *arg1 = (wxDataViewEvent *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "col", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewEvent_SetColumn",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewEvent_SetColumn" "', expected argument " "1"" of type '" "wxDataViewEvent *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewEvent * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataViewEvent_SetColumn" "', expected argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->SetColumn(arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewEvent_GetModel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewEvent *arg1 = (wxDataViewEvent *) 0 ;
  wxDataViewModel *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewEvent_GetModel" "', expected argument " "1"" of type '" "wxDataViewEvent const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewEvent * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxDataViewModel *)((wxDataViewEvent const *)arg1)->GetModel();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDataViewModel, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewEvent_SetModel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewEvent *arg1 = (wxDataViewEvent *) 0 ;
  wxDataViewModel *arg2 = (wxDataViewModel *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "model", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewEvent_SetModel",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewEvent_SetModel" "', expected argument " "1"" of type '" "wxDataViewEvent *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewEvent * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDataViewModel, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewEvent_SetModel" "', expected argument " "2"" of type '" "wxDataViewModel *""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewModel * >(argp2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->SetModel(arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewEvent_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewEvent *arg1 = (wxDataViewEvent *) 0 ;
  wxVariant *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewEvent_GetValue" "', expected argument " "1"" of type '" "wxDataViewEvent const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewEvent * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    {
      wxVariant const &_result_ref = ((wxDataViewEvent const *)arg1)->GetValue();
      result = (wxVariant *) &_result_ref;
    }
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxVariant, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewEvent_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewEvent *arg1 = (wxDataViewEvent *) 0 ;
  wxVariant *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  wxVariant temp2 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "value", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewEvent_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewEvent_SetValue" "', expected argument " "1"" of type '" "wxDataViewEvent *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewEvent * >(argp1);
  {
    temp2 = wxVariant_in_helper(obj1);
    arg2 = &temp2;
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->SetValue((wxVariant const &)*arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewEvent_IsEditCancelled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewEvent *arg1 = (wxDataViewEvent *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxDataViewEvent const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewEvent * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)((wxDataViewEvent const *)arg1)->IsEditCancelled();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewEvent_SetEditCanceled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewEvent *arg1 = (wxDataViewEvent *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "editCancelled", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewEvent_SetEditCanceled",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxDataViewEvent *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewEvent * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataViewEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->SetEditCanceled(arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewEvent_SetDataViewColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewEvent *arg1 = (wxDataViewEvent *) 0 ;
  wxDataViewColumn *arg2 = (wxDataViewColumn *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "col", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewEvent_SetDataViewColumn",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewEvent_SetDataViewColumn" "', expected argument " "1"" of type '" "wxDataViewEvent *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewEvent * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDataViewColumn, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewEvent_SetDataViewColumn" "', expected argument " "2"" of type '" "wxDataViewColumn *""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewColumn * >(argp2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->SetDataViewColumn(arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewEvent_GetDataViewColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewEvent *arg1 = (wxDataViewEvent *) 0 ;
  wxDataViewColumn *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewEvent_GetDataViewColumn" "', expected argument " "1"" of type '" "wxDataViewEvent const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewEvent * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxDataViewColumn *)((wxDataViewEvent const *)arg1)->GetDataViewColumn();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDataViewColumn, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewEvent_GetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewEvent *arg1 = (wxDataViewEvent *) 0 ;
  wxPoint result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewEvent_GetPosition" "', expected argument " "1"" of type '" "wxDataViewEvent const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewEvent * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = ((wxDataViewEvent const *)arg1)->GetPosition();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewEvent_SetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewEvent *arg1 = (wxDataViewEvent *) 0 ;
  int arg2 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "x",(char *) "y", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataViewEvent_SetPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewEvent_SetPosition" "', expected argument " "1"" of type '" "wxDataViewEvent *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewEvent * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataViewEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DataViewEvent_SetPosition" "', expected argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->SetPosition(arg2,arg3);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewEvent_GetCacheFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewEvent *arg1 = (wxDataViewEvent *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxDataViewEvent const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewEvent * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (int)((wxDataViewEvent const *)arg1)->GetCacheFrom();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewEvent_GetCacheTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewEvent *arg1 = (wxDataViewEvent *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxDataViewEvent const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewEvent * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (int)((wxDataViewEvent const *)arg1)->GetCacheTo();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewEvent_SetCache(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewEvent *arg1 = (wxDataViewEvent *) 0 ;
  int arg2 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "from",(char *) "to", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataViewEvent_SetCache",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewEvent_SetCache" "', expected argument " "1"" of type '" "wxDataViewEvent *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewEvent * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataViewEvent_SetCache" "', expected argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DataViewEvent_SetCache" "', expected argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->SetCache(arg2,arg3);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewEvent_SetDataObject(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewEvent *arg1 = (wxDataViewEvent *) 0 ;
  wxDataObject *arg2 = (wxDataObject *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "obj", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewEvent_SetDataObject",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewEvent_SetDataObject" "', expected argument " "1"" of type '" "wxDataViewEvent *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewEvent * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxDataObject, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewEvent_SetDataObject" "', expected argument " "2"" of type '" "wxDataObject *""'");
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->SetDataObject(arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewEvent_GetDataObject(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewEvent *arg1 = (wxDataViewEvent *) 0 ;
  wxDataObject *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewEvent_GetDataObject" "', expected argument " "1"" of type '" "wxDataViewEvent const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewEvent * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxDataObject *)((wxDataViewEvent const *)arg1)->GetDataObject();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDataObject, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewEvent_SetDataFormat(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewEvent *arg1 = (wxDataViewEvent *) 0 ;
  wxDataFormat *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "format", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewEvent_SetDataFormat",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewEvent_SetDataFormat" "', expected argument " "1"" of type '" "wxDataViewEvent *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewEvent * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataFormat,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewEvent_SetDataFormat" "', expected argument " "2"" of type '" "wxDataFormat const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewEvent_SetDataFormat" "', expected argument " "2"" of type '" "wxDataFormat const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataFormat * >(argp2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->SetDataFormat((wxDataFormat const &)*arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewEvent_GetDataFormat(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewEvent *arg1 = (wxDataViewEvent *) 0 ;
  wxDataFormat result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewEvent_GetDataFormat" "', expected argument " "1"" of type '" "wxDataViewEvent const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewEvent * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = ((wxDataViewEvent const *)arg1)->GetDataFormat();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj((new wxDataFormat(static_cast< const wxDataFormat& >(result))), SWIGTYPE_p_wxDataFormat, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewEvent_SetDataSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewEvent *arg1 = (wxDataViewEvent *) 0 ;
  size_t arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "size", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewEvent_SetDataSize",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewEvent_SetDataSize" "', expected argument " "1"" of type '" "wxDataViewEvent *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewEvent * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataViewEvent_SetDataSize" "', expected argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->SetDataSize(arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewEvent_GetDataSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewEvent *arg1 = (wxDataViewEvent *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewEvent_GetDataSize" "', expected argument " "1"" of type '" "wxDataViewEvent const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewEvent * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (size_t)((wxDataViewEvent const *)arg1)->GetDataSize();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewEvent_SetDataBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewEvent *arg1 = (wxDataViewEvent *) 0 ;
  void *arg2 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "buf", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewEvent_SetDataBuffer",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewEvent_SetDataBuffer" "', expected argument " "1"" of type '" "wxDataViewEvent *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewEvent * >(argp1);
  res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewEvent_SetDataBuffer" "', expected argument " "2"" of type '" "void *""'"); 
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->SetDataBuffer(arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewEvent_GetDataBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewEvent *arg1 = (wxDataViewEvent *) 0 ;
  void *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewEvent_GetDataBuffer" "', expected argument " "1"" of type '" "wxDataViewEvent const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewEvent * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (void *)((wxDataViewEvent const *)arg1)->GetDataBuffer();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewEvent_SetDragFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewEvent *arg1 = (wxDataViewEvent *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "flags", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewEvent_SetDragFlags",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewEvent_SetDragFlags" "', expected argument " "1"" of type '" "wxDataViewEvent *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewEvent * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataViewEvent_SetDragFlags" "', expected argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->SetDragFlags(arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewEvent_GetDragFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewEvent *arg1 = (wxDataViewEvent *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewEvent_GetDragFlags" "', expected argument " "1"" of type '" "wxDataViewEvent const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewEvent * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (int)((wxDataViewEvent const *)arg1)->GetDragFlags();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *DataViewEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_wxDataViewEvent, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *DataViewEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_new_DataViewListStore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewListStore *result = 0 ;
  
  if (!SWIG_Python_UnpackTuple(args,"new_DataViewListStore",0,0,0)) SWIG_fail;
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxDataViewListStore *)new wxDataViewListStore();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDataViewListStore, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *DataViewListStore_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_wxDataViewListStore, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *DataViewListStore_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_new_DataViewListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxWindow *arg1 = (wxWindow *) 0 ;
  int arg2 = (int) -1 ;
  wxPoint const &arg3_defvalue = wxDefaultPosition ;
  wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
  wxSize const &arg4_defvalue = wxDefaultSize ;
  wxSize *arg4 = (wxSize *) &arg4_defvalue ;
  long arg5 = (long) wxDV_ROW_LINES ;
  wxValidator const &arg6_defvalue = wxDefaultValidator ;
  wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
  wxDataViewListCtrl *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  wxPoint temp3 ;
  wxSize temp4 ;
  long val5 ;
  int ecode5 = 0 ;
  void *argp6 = 0 ;
  int res6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  char *  kwnames[] = {
    (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_DataViewListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DataViewListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'"); 
  }
  arg1 = reinterpret_cast< wxWindow * >(argp1);
  if (obj1) {
    ecode2 = SWIG_AsVal_int(obj1, &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DataViewListCtrl" "', expected argument " "2"" of type '" "int""'");
    } 
    arg2 = static_cast< int >(val2);
  }
  if (obj2) {
    {
      arg3 = &temp3;
      if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
    }
  }
  if (obj3) {
    {
      arg4 = &temp4;
      if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
    }
  }
  if (obj4) {
    ecode5 = SWIG_AsVal_long(obj4, &val5);
    if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DataViewListCtrl" "', expected argument " "5"" of type '" "long""'");
    } 
    arg5 = static_cast< long >(val5);
  }
  if (obj5) {
    res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator,  0  | 0);
    if (!SWIG_IsOK(res6)) {
      SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_DataViewListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'"); 
    }
    if (!argp6) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DataViewListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'"); 
    }
    arg6 = reinterpret_cast< wxValidator * >(argp6);
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxDataViewListCtrl *)new wxDataViewListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDataViewListCtrl, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_PreDataViewListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewListCtrl *result = 0 ;
  
  if (!SWIG_Python_UnpackTuple(args,"new_PreDataViewListCtrl",0,0,0)) SWIG_fail;
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxDataViewListCtrl *)new wxDataViewListCtrl();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDataViewListCtrl, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewListCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewListCtrl *arg1 = (wxDataViewListCtrl *) 0 ;
  wxWindow *arg2 = (wxWindow *) 0 ;
  int arg3 = (int) -1 ;
  wxPoint const &arg4_defvalue = wxDefaultPosition ;
  wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
  wxSize const &arg5_defvalue = wxDefaultSize ;
  wxSize *arg5 = (wxSize *) &arg5_defvalue ;
  long arg6 = (long) wxDV_ROW_LINES ;
  wxValidator const &arg7_defvalue = wxDefaultValidator ;
  wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  wxPoint temp4 ;
  wxSize temp5 ;
  long val6 ;
  int ecode6 = 0 ;
  void *argp7 = 0 ;
  int res7 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:DataViewListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewListCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewListCtrl_Create" "', expected argument " "1"" of type '" "wxDataViewListCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewListCtrl * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); 
  }
  arg2 = reinterpret_cast< wxWindow * >(argp2);
  if (obj2) {
    ecode3 = SWIG_AsVal_int(obj2, &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DataViewListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
    } 
    arg3 = static_cast< int >(val3);
  }
  if (obj3) {
    {
      arg4 = &temp4;
      if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
    }
  }
  if (obj4) {
    {
      arg5 = &temp5;
      if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
    }
  }
  if (obj5) {
    ecode6 = SWIG_AsVal_long(obj5, &val6);
    if (!SWIG_IsOK(ecode6)) {
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DataViewListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
    } 
    arg6 = static_cast< long >(val6);
  }
  if (obj6) {
    res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator,  0  | 0);
    if (!SWIG_IsOK(res7)) {
      SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "DataViewListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'"); 
    }
    if (!argp7) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'"); 
    }
    arg7 = reinterpret_cast< wxValidator * >(argp7);
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewListCtrl_GetStore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewListCtrl *arg1 = (wxDataViewListCtrl *) 0 ;
  wxDataViewListStore *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewListCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewListCtrl_GetStore" "', expected argument " "1"" of type '" "wxDataViewListCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewListCtrl * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxDataViewListStore *)(arg1)->GetStore();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDataViewListStore, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewListCtrl_ItemToRow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewListCtrl *arg1 = (wxDataViewListCtrl *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "item", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewListCtrl_ItemToRow",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewListCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewListCtrl_ItemToRow" "', expected argument " "1"" of type '" "wxDataViewListCtrl const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewListCtrl * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewListCtrl_ItemToRow" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewListCtrl_ItemToRow" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (int)((wxDataViewListCtrl const *)arg1)->ItemToRow((wxDataViewItem const &)*arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewListCtrl_RowToItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewListCtrl *arg1 = (wxDataViewListCtrl *) 0 ;
  int arg2 ;
  wxDataViewItem result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "row", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewListCtrl_RowToItem",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewListCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewListCtrl_RowToItem" "', expected argument " "1"" of type '" "wxDataViewListCtrl const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewListCtrl * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataViewListCtrl_RowToItem" "', expected argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = ((wxDataViewListCtrl const *)arg1)->RowToItem(arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj((new wxDataViewItem(static_cast< const wxDataViewItem& >(result))), SWIGTYPE_p_wxDataViewItem, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewListCtrl_GetSelectedRow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewListCtrl *arg1 = (wxDataViewListCtrl *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewListCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewListCtrl_GetSelectedRow" "', expected argument " "1"" of type '" "wxDataViewListCtrl const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewListCtrl * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (int)((wxDataViewListCtrl const *)arg1)->GetSelectedRow();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewListCtrl_SelectRow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewListCtrl *arg1 = (wxDataViewListCtrl *) 0 ;
  unsigned int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "row", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewListCtrl_SelectRow",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewListCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewListCtrl_SelectRow" "', expected argument " "1"" of type '" "wxDataViewListCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewListCtrl * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataViewListCtrl_SelectRow" "', expected argument " "2"" of type '" "unsigned int""'");
  } 
  arg2 = static_cast< unsigned int >(val2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->SelectRow(arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewListCtrl_UnselectRow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewListCtrl *arg1 = (wxDataViewListCtrl *) 0 ;
  unsigned int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "row", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewListCtrl_UnselectRow",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewListCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewListCtrl_UnselectRow" "', expected argument " "1"" of type '" "wxDataViewListCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewListCtrl * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataViewListCtrl_UnselectRow" "', expected argument " "2"" of type '" "unsigned int""'");
  } 
  arg2 = static_cast< unsigned int >(val2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->UnselectRow(arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewListCtrl_IsRowSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewListCtrl *arg1 = (wxDataViewListCtrl *) 0 ;
  unsigned int arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "row", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewListCtrl_IsRowSelected",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewListCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewListCtrl_IsRowSelected" "', expected argument " "1"" of type '" "wxDataViewListCtrl const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewListCtrl * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataViewListCtrl_IsRowSelected" "', expected argument " "2"" of type '" "unsigned int""'");
  } 
  arg2 = static_cast< unsigned int >(val2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)((wxDataViewListCtrl const *)arg1)->IsRowSelected(arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewListCtrl_AppendColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewListCtrl *arg1 = (wxDataViewListCtrl *) 0 ;
  wxDataViewColumn *arg2 = (wxDataViewColumn *) 0 ;
  wxString const &arg3_defvalue = "string" ;
  wxString *arg3 = (wxString *) &arg3_defvalue ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  bool temp3 = false ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "column",(char *) "varianttype", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataViewListCtrl_AppendColumn",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewListCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewListCtrl_AppendColumn" "', expected argument " "1"" of type '" "wxDataViewListCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewListCtrl * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDataViewColumn, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewListCtrl_AppendColumn" "', expected argument " "2"" of type '" "wxDataViewColumn *""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewColumn * >(argp2);
  if (obj2) {
    {
      arg3 = wxString_in_helper(obj2);
      if (arg3 == NULL) SWIG_fail;
      temp3 = true;
    }
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)(arg1)->AppendColumn(arg2,(wxString const &)*arg3);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  {
    if (temp3)
    delete arg3;
  }
  return resultobj;
fail:
  {
    if (temp3)
    delete arg3;
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewListCtrl_PrependColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewListCtrl *arg1 = (wxDataViewListCtrl *) 0 ;
  wxDataViewColumn *arg2 = (wxDataViewColumn *) 0 ;
  wxString const &arg3_defvalue = "string" ;
  wxString *arg3 = (wxString *) &arg3_defvalue ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  bool temp3 = false ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "column",(char *) "varianttype", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataViewListCtrl_PrependColumn",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewListCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewListCtrl_PrependColumn" "', expected argument " "1"" of type '" "wxDataViewListCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewListCtrl * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDataViewColumn, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewListCtrl_PrependColumn" "', expected argument " "2"" of type '" "wxDataViewColumn *""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewColumn * >(argp2);
  if (obj2) {
    {
      arg3 = wxString_in_helper(obj2);
      if (arg3 == NULL) SWIG_fail;
      temp3 = true;
    }
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)(arg1)->PrependColumn(arg2,(wxString const &)*arg3);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  {
    if (temp3)
    delete arg3;
  }
  return resultobj;
fail:
  {
    if (temp3)
    delete arg3;
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewListCtrl_InsertColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewListCtrl *arg1 = (wxDataViewListCtrl *) 0 ;
  unsigned int arg2 ;
  wxDataViewColumn *arg3 = (wxDataViewColumn *) 0 ;
  wxString const &arg4_defvalue = "string" ;
  wxString *arg4 = (wxString *) &arg4_defvalue ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  bool temp4 = false ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "pos",(char *) "column",(char *) "varianttype", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:DataViewListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewListCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxDataViewListCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewListCtrl * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataViewListCtrl_InsertColumn" "', expected argument " "2"" of type '" "unsigned int""'");
  } 
  arg2 = static_cast< unsigned int >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxDataViewColumn, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DataViewListCtrl_InsertColumn" "', expected argument " "3"" of type '" "wxDataViewColumn *""'"); 
  }
  arg3 = reinterpret_cast< wxDataViewColumn * >(argp3);
  if (obj3) {
    {
      arg4 = wxString_in_helper(obj3);
      if (arg4 == NULL) SWIG_fail;
      temp4 = true;
    }
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)(arg1)->InsertColumn(arg2,arg3,(wxString const &)*arg4);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  {
    if (temp4)
    delete arg4;
  }
  return resultobj;
fail:
  {
    if (temp4)
    delete arg4;
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewListCtrl_AppendTextColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewListCtrl *arg1 = (wxDataViewListCtrl *) 0 ;
  wxString *arg2 = 0 ;
  wxDataViewCellMode arg3 = (wxDataViewCellMode) wxDATAVIEW_CELL_INERT ;
  int arg4 = (int) -1 ;
  wxAlignment arg5 = (wxAlignment) wxALIGN_LEFT ;
  int arg6 = (int) wxDATAVIEW_COL_RESIZABLE ;
  wxDataViewColumn *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool temp2 = false ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  int val6 ;
  int ecode6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "label",(char *) "mode",(char *) "width",(char *) "align",(char *) "flags", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DataViewListCtrl_AppendTextColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewListCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewListCtrl_AppendTextColumn" "', expected argument " "1"" of type '" "wxDataViewListCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewListCtrl * >(argp1);
  {
    arg2 = wxString_in_helper(obj1);
    if (arg2 == NULL) SWIG_fail;
    temp2 = true;
  }
  if (obj2) {
    ecode3 = SWIG_AsVal_int(obj2, &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DataViewListCtrl_AppendTextColumn" "', expected argument " "3"" of type '" "wxDataViewCellMode""'");
    } 
    arg3 = static_cast< wxDataViewCellMode >(val3);
  }
  if (obj3) {
    ecode4 = SWIG_AsVal_int(obj3, &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DataViewListCtrl_AppendTextColumn" "', expected argument " "4"" of type '" "int""'");
    } 
    arg4 = static_cast< int >(val4);
  }
  if (obj4) {
    ecode5 = SWIG_AsVal_int(obj4, &val5);
    if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DataViewListCtrl_AppendTextColumn" "', expected argument " "5"" of type '" "wxAlignment""'");
    } 
    arg5 = static_cast< wxAlignment >(val5);
  }
  if (obj5) {
    ecode6 = SWIG_AsVal_int(obj5, &val6);
    if (!SWIG_IsOK(ecode6)) {
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DataViewListCtrl_AppendTextColumn" "', expected argument " "6"" of type '" "int""'");
    } 
    arg6 = static_cast< int >(val6);
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxDataViewColumn *)(arg1)->AppendTextColumn((wxString const &)*arg2,arg3,arg4,arg5,arg6);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDataViewColumn, 0 |  0 );
  {
    if (temp2)
    delete arg2;
  }
  return resultobj;
fail:
  {
    if (temp2)
    delete arg2;
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewListCtrl_AppendToggleColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewListCtrl *arg1 = (wxDataViewListCtrl *) 0 ;
  wxString *arg2 = 0 ;
  wxDataViewCellMode arg3 = (wxDataViewCellMode) wxDATAVIEW_CELL_ACTIVATABLE ;
  int arg4 = (int) -1 ;
  wxAlignment arg5 = (wxAlignment) wxALIGN_LEFT ;
  int arg6 = (int) wxDATAVIEW_COL_RESIZABLE ;
  wxDataViewColumn *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool temp2 = false ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  int val6 ;
  int ecode6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "label",(char *) "mode",(char *) "width",(char *) "align",(char *) "flags", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DataViewListCtrl_AppendToggleColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewListCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewListCtrl_AppendToggleColumn" "', expected argument " "1"" of type '" "wxDataViewListCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewListCtrl * >(argp1);
  {
    arg2 = wxString_in_helper(obj1);
    if (arg2 == NULL) SWIG_fail;
    temp2 = true;
  }
  if (obj2) {
    ecode3 = SWIG_AsVal_int(obj2, &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DataViewListCtrl_AppendToggleColumn" "', expected argument " "3"" of type '" "wxDataViewCellMode""'");
    } 
    arg3 = static_cast< wxDataViewCellMode >(val3);
  }
  if (obj3) {
    ecode4 = SWIG_AsVal_int(obj3, &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DataViewListCtrl_AppendToggleColumn" "', expected argument " "4"" of type '" "int""'");
    } 
    arg4 = static_cast< int >(val4);
  }
  if (obj4) {
    ecode5 = SWIG_AsVal_int(obj4, &val5);
    if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DataViewListCtrl_AppendToggleColumn" "', expected argument " "5"" of type '" "wxAlignment""'");
    } 
    arg5 = static_cast< wxAlignment >(val5);
  }
  if (obj5) {
    ecode6 = SWIG_AsVal_int(obj5, &val6);
    if (!SWIG_IsOK(ecode6)) {
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DataViewListCtrl_AppendToggleColumn" "', expected argument " "6"" of type '" "int""'");
    } 
    arg6 = static_cast< int >(val6);
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxDataViewColumn *)(arg1)->AppendToggleColumn((wxString const &)*arg2,arg3,arg4,arg5,arg6);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDataViewColumn, 0 |  0 );
  {
    if (temp2)
    delete arg2;
  }
  return resultobj;
fail:
  {
    if (temp2)
    delete arg2;
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewListCtrl_AppendProgressColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewListCtrl *arg1 = (wxDataViewListCtrl *) 0 ;
  wxString *arg2 = 0 ;
  wxDataViewCellMode arg3 = (wxDataViewCellMode) wxDATAVIEW_CELL_INERT ;
  int arg4 = (int) -1 ;
  wxAlignment arg5 = (wxAlignment) wxALIGN_LEFT ;
  int arg6 = (int) wxDATAVIEW_COL_RESIZABLE ;
  wxDataViewColumn *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool temp2 = false ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  int val6 ;
  int ecode6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "label",(char *) "mode",(char *) "width",(char *) "align",(char *) "flags", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DataViewListCtrl_AppendProgressColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewListCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewListCtrl_AppendProgressColumn" "', expected argument " "1"" of type '" "wxDataViewListCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewListCtrl * >(argp1);
  {
    arg2 = wxString_in_helper(obj1);
    if (arg2 == NULL) SWIG_fail;
    temp2 = true;
  }
  if (obj2) {
    ecode3 = SWIG_AsVal_int(obj2, &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DataViewListCtrl_AppendProgressColumn" "', expected argument " "3"" of type '" "wxDataViewCellMode""'");
    } 
    arg3 = static_cast< wxDataViewCellMode >(val3);
  }
  if (obj3) {
    ecode4 = SWIG_AsVal_int(obj3, &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DataViewListCtrl_AppendProgressColumn" "', expected argument " "4"" of type '" "int""'");
    } 
    arg4 = static_cast< int >(val4);
  }
  if (obj4) {
    ecode5 = SWIG_AsVal_int(obj4, &val5);
    if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DataViewListCtrl_AppendProgressColumn" "', expected argument " "5"" of type '" "wxAlignment""'");
    } 
    arg5 = static_cast< wxAlignment >(val5);
  }
  if (obj5) {
    ecode6 = SWIG_AsVal_int(obj5, &val6);
    if (!SWIG_IsOK(ecode6)) {
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DataViewListCtrl_AppendProgressColumn" "', expected argument " "6"" of type '" "int""'");
    } 
    arg6 = static_cast< int >(val6);
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxDataViewColumn *)(arg1)->AppendProgressColumn((wxString const &)*arg2,arg3,arg4,arg5,arg6);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDataViewColumn, 0 |  0 );
  {
    if (temp2)
    delete arg2;
  }
  return resultobj;
fail:
  {
    if (temp2)
    delete arg2;
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewListCtrl_AppendIconTextColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewListCtrl *arg1 = (wxDataViewListCtrl *) 0 ;
  wxString *arg2 = 0 ;
  wxDataViewCellMode arg3 = (wxDataViewCellMode) wxDATAVIEW_CELL_INERT ;
  int arg4 = (int) -1 ;
  wxAlignment arg5 = (wxAlignment) wxALIGN_LEFT ;
  int arg6 = (int) wxDATAVIEW_COL_RESIZABLE ;
  wxDataViewColumn *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool temp2 = false ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  int val6 ;
  int ecode6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "label",(char *) "mode",(char *) "width",(char *) "align",(char *) "flags", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DataViewListCtrl_AppendIconTextColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewListCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewListCtrl_AppendIconTextColumn" "', expected argument " "1"" of type '" "wxDataViewListCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewListCtrl * >(argp1);
  {
    arg2 = wxString_in_helper(obj1);
    if (arg2 == NULL) SWIG_fail;
    temp2 = true;
  }
  if (obj2) {
    ecode3 = SWIG_AsVal_int(obj2, &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DataViewListCtrl_AppendIconTextColumn" "', expected argument " "3"" of type '" "wxDataViewCellMode""'");
    } 
    arg3 = static_cast< wxDataViewCellMode >(val3);
  }
  if (obj3) {
    ecode4 = SWIG_AsVal_int(obj3, &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DataViewListCtrl_AppendIconTextColumn" "', expected argument " "4"" of type '" "int""'");
    } 
    arg4 = static_cast< int >(val4);
  }
  if (obj4) {
    ecode5 = SWIG_AsVal_int(obj4, &val5);
    if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DataViewListCtrl_AppendIconTextColumn" "', expected argument " "5"" of type '" "wxAlignment""'");
    } 
    arg5 = static_cast< wxAlignment >(val5);
  }
  if (obj5) {
    ecode6 = SWIG_AsVal_int(obj5, &val6);
    if (!SWIG_IsOK(ecode6)) {
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DataViewListCtrl_AppendIconTextColumn" "', expected argument " "6"" of type '" "int""'");
    } 
    arg6 = static_cast< int >(val6);
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxDataViewColumn *)(arg1)->AppendIconTextColumn((wxString const &)*arg2,arg3,arg4,arg5,arg6);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDataViewColumn, 0 |  0 );
  {
    if (temp2)
    delete arg2;
  }
  return resultobj;
fail:
  {
    if (temp2)
    delete arg2;
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewListCtrl_AppendItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewListCtrl *arg1 = (wxDataViewListCtrl *) 0 ;
  wxVariantVector *arg2 = 0 ;
  wxUIntPtr arg3 = (wxUIntPtr) NULL ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  wxVariantVector temp2 ;
  unsigned long val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "values",(char *) "data", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataViewListCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewListCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewListCtrl_AppendItem" "', expected argument " "1"" of type '" "wxDataViewListCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewListCtrl * >(argp1);
  {
    if (! PySequence_Check(obj1)) {
      PyErr_SetString(PyExc_TypeError, "Sequence of data values expected");
      SWIG_fail;
    }
    Py_ssize_t size = PySequence_Length(obj1);
    Py_ssize_t idx;
    for (idx=0; idx<size; idx+=1) {
      PyObject* item = PySequence_GetItem(obj1, idx);
      temp2.push_back( wxDVCVariant_in_helper(item) );
      Py_DECREF(item);
    }
    arg2 = &temp2;
  }
  if (obj2) {
    ecode3 = SWIG_AsVal_unsigned_SS_long(obj2, &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DataViewListCtrl_AppendItem" "', expected argument " "3"" of type '" "wxUIntPtr""'");
    } 
    arg3 = static_cast< wxUIntPtr >(val3);
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->AppendItem((wxVariantVector const &)*arg2,arg3);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewListCtrl_PrependItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewListCtrl *arg1 = (wxDataViewListCtrl *) 0 ;
  wxVariantVector *arg2 = 0 ;
  wxUIntPtr arg3 = (wxUIntPtr) NULL ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  wxVariantVector temp2 ;
  unsigned long val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "values",(char *) "data", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataViewListCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewListCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewListCtrl_PrependItem" "', expected argument " "1"" of type '" "wxDataViewListCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewListCtrl * >(argp1);
  {
    if (! PySequence_Check(obj1)) {
      PyErr_SetString(PyExc_TypeError, "Sequence of data values expected");
      SWIG_fail;
    }
    Py_ssize_t size = PySequence_Length(obj1);
    Py_ssize_t idx;
    for (idx=0; idx<size; idx+=1) {
      PyObject* item = PySequence_GetItem(obj1, idx);
      temp2.push_back( wxDVCVariant_in_helper(item) );
      Py_DECREF(item);
    }
    arg2 = &temp2;
  }
  if (obj2) {
    ecode3 = SWIG_AsVal_unsigned_SS_long(obj2, &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DataViewListCtrl_PrependItem" "', expected argument " "3"" of type '" "wxUIntPtr""'");
    } 
    arg3 = static_cast< wxUIntPtr >(val3);
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->PrependItem((wxVariantVector const &)*arg2,arg3);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewListCtrl_InsertItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewListCtrl *arg1 = (wxDataViewListCtrl *) 0 ;
  unsigned int arg2 ;
  wxVariantVector *arg3 = 0 ;
  wxUIntPtr arg4 = (wxUIntPtr) NULL ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  wxVariantVector temp3 ;
  unsigned long val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "row",(char *) "values",(char *) "data", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:DataViewListCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewListCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxDataViewListCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewListCtrl * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataViewListCtrl_InsertItem" "', expected argument " "2"" of type '" "unsigned int""'");
  } 
  arg2 = static_cast< unsigned int >(val2);
  {
    if (! PySequence_Check(obj2)) {
      PyErr_SetString(PyExc_TypeError, "Sequence of data values expected");
      SWIG_fail;
    }
    Py_ssize_t size = PySequence_Length(obj2);
    Py_ssize_t idx;
    for (idx=0; idx<size; idx+=1) {
      PyObject* item = PySequence_GetItem(obj2, idx);
      temp3.push_back( wxDVCVariant_in_helper(item) );
      Py_DECREF(item);
    }
    arg3 = &temp3;
  }
  if (obj3) {
    ecode4 = SWIG_AsVal_unsigned_SS_long(obj3, &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DataViewListCtrl_InsertItem" "', expected argument " "4"" of type '" "wxUIntPtr""'");
    } 
    arg4 = static_cast< wxUIntPtr >(val4);
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->InsertItem(arg2,(wxVariantVector const &)*arg3,arg4);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewListCtrl_DeleteItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewListCtrl *arg1 = (wxDataViewListCtrl *) 0 ;
  unsigned int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "row", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewListCtrl_DeleteItem",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewListCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxDataViewListCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewListCtrl * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataViewListCtrl_DeleteItem" "', expected argument " "2"" of type '" "unsigned int""'");
  } 
  arg2 = static_cast< unsigned int >(val2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->DeleteItem(arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewListCtrl_DeleteAllItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewListCtrl *arg1 = (wxDataViewListCtrl *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewListCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxDataViewListCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewListCtrl * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->DeleteAllItems();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewListCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewListCtrl *arg1 = (wxDataViewListCtrl *) 0 ;
  wxVariant *arg2 = 0 ;
  unsigned int arg3 ;
  unsigned int arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  wxVariant temp2 ;
  unsigned int val3 ;
  int ecode3 = 0 ;
  unsigned int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "value",(char *) "row",(char *) "col", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DataViewListCtrl_SetValue",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewListCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewListCtrl_SetValue" "', expected argument " "1"" of type '" "wxDataViewListCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewListCtrl * >(argp1);
  {
    temp2 = wxVariant_in_helper(obj1);
    arg2 = &temp2;
  }
  ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DataViewListCtrl_SetValue" "', expected argument " "3"" of type '" "unsigned int""'");
  } 
  arg3 = static_cast< unsigned int >(val3);
  ecode4 = SWIG_AsVal_unsigned_SS_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DataViewListCtrl_SetValue" "', expected argument " "4"" of type '" "unsigned int""'");
  } 
  arg4 = static_cast< unsigned int >(val4);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->SetValue((wxVariant const &)*arg2,arg3,arg4);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewListCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewListCtrl *arg1 = (wxDataViewListCtrl *) 0 ;
  unsigned int arg2 ;
  unsigned int arg3 ;
  wxVariant result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  unsigned int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "row",(char *) "col", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataViewListCtrl_GetValue",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewListCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewListCtrl_GetValue" "', expected argument " "1"" of type '" "wxDataViewListCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewListCtrl * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataViewListCtrl_GetValue" "', expected argument " "2"" of type '" "unsigned int""'");
  } 
  arg2 = static_cast< unsigned int >(val2);
  ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DataViewListCtrl_GetValue" "', expected argument " "3"" of type '" "unsigned int""'");
  } 
  arg3 = static_cast< unsigned int >(val3);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = wxDataViewListCtrl_GetValue(arg1,arg2,arg3);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = wxVariant_out_helper(result);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewListCtrl_SetTextValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewListCtrl *arg1 = (wxDataViewListCtrl *) 0 ;
  wxString *arg2 = 0 ;
  unsigned int arg3 ;
  unsigned int arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool temp2 = false ;
  unsigned int val3 ;
  int ecode3 = 0 ;
  unsigned int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "value",(char *) "row",(char *) "col", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DataViewListCtrl_SetTextValue",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewListCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewListCtrl_SetTextValue" "', expected argument " "1"" of type '" "wxDataViewListCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewListCtrl * >(argp1);
  {
    arg2 = wxString_in_helper(obj1);
    if (arg2 == NULL) SWIG_fail;
    temp2 = true;
  }
  ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DataViewListCtrl_SetTextValue" "', expected argument " "3"" of type '" "unsigned int""'");
  } 
  arg3 = static_cast< unsigned int >(val3);
  ecode4 = SWIG_AsVal_unsigned_SS_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DataViewListCtrl_SetTextValue" "', expected argument " "4"" of type '" "unsigned int""'");
  } 
  arg4 = static_cast< unsigned int >(val4);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->SetTextValue((wxString const &)*arg2,arg3,arg4);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  {
    if (temp2)
    delete arg2;
  }
  return resultobj;
fail:
  {
    if (temp2)
    delete arg2;
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewListCtrl_GetTextValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewListCtrl *arg1 = (wxDataViewListCtrl *) 0 ;
  unsigned int arg2 ;
  unsigned int arg3 ;
  wxString result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  unsigned int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "row",(char *) "col", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataViewListCtrl_GetTextValue",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewListCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewListCtrl_GetTextValue" "', expected argument " "1"" of type '" "wxDataViewListCtrl const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewListCtrl * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataViewListCtrl_GetTextValue" "', expected argument " "2"" of type '" "unsigned int""'");
  } 
  arg2 = static_cast< unsigned int >(val2);
  ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DataViewListCtrl_GetTextValue" "', expected argument " "3"" of type '" "unsigned int""'");
  } 
  arg3 = static_cast< unsigned int >(val3);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = ((wxDataViewListCtrl const *)arg1)->GetTextValue(arg2,arg3);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
#if wxUSE_UNICODE
    resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
#else
    resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
#endif
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewListCtrl_SetToggleValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewListCtrl *arg1 = (wxDataViewListCtrl *) 0 ;
  bool arg2 ;
  unsigned int arg3 ;
  unsigned int arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  unsigned int val3 ;
  int ecode3 = 0 ;
  unsigned int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "value",(char *) "row",(char *) "col", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DataViewListCtrl_SetToggleValue",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewListCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewListCtrl_SetToggleValue" "', expected argument " "1"" of type '" "wxDataViewListCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewListCtrl * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataViewListCtrl_SetToggleValue" "', expected argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DataViewListCtrl_SetToggleValue" "', expected argument " "3"" of type '" "unsigned int""'");
  } 
  arg3 = static_cast< unsigned int >(val3);
  ecode4 = SWIG_AsVal_unsigned_SS_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DataViewListCtrl_SetToggleValue" "', expected argument " "4"" of type '" "unsigned int""'");
  } 
  arg4 = static_cast< unsigned int >(val4);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->SetToggleValue(arg2,arg3,arg4);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewListCtrl_GetToggleValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewListCtrl *arg1 = (wxDataViewListCtrl *) 0 ;
  unsigned int arg2 ;
  unsigned int arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  unsigned int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "row",(char *) "col", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataViewListCtrl_GetToggleValue",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewListCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewListCtrl_GetToggleValue" "', expected argument " "1"" of type '" "wxDataViewListCtrl const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewListCtrl * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataViewListCtrl_GetToggleValue" "', expected argument " "2"" of type '" "unsigned int""'");
  } 
  arg2 = static_cast< unsigned int >(val2);
  ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DataViewListCtrl_GetToggleValue" "', expected argument " "3"" of type '" "unsigned int""'");
  } 
  arg3 = static_cast< unsigned int >(val3);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)((wxDataViewListCtrl const *)arg1)->GetToggleValue(arg2,arg3);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewListCtrl_SetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewListCtrl *arg1 = (wxDataViewListCtrl *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  wxUIntPtr arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  unsigned long val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "item",(char *) "data", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataViewListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewListCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxDataViewListCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewListCtrl * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewListCtrl_SetItemData" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewListCtrl_SetItemData" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  ecode3 = SWIG_AsVal_unsigned_SS_long(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DataViewListCtrl_SetItemData" "', expected argument " "3"" of type '" "wxUIntPtr""'");
  } 
  arg3 = static_cast< wxUIntPtr >(val3);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->SetItemData((wxDataViewItem const &)*arg2,arg3);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewListCtrl_GetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewListCtrl *arg1 = (wxDataViewListCtrl *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  wxUIntPtr result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "item", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewListCtrl_GetItemData",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewListCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxDataViewListCtrl const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewListCtrl * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewListCtrl_GetItemData" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewListCtrl_GetItemData" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxUIntPtr)((wxDataViewListCtrl const *)arg1)->GetItemData((wxDataViewItem const &)*arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *DataViewListCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_wxDataViewListCtrl, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *DataViewListCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_new_DataViewTreeStoreNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewTreeStoreNode *arg1 = (wxDataViewTreeStoreNode *) 0 ;
  wxString *arg2 = 0 ;
  wxIcon const &arg3_defvalue = wxNullIcon ;
  wxIcon *arg3 = (wxIcon *) &arg3_defvalue ;
  wxClientData *arg4 = (wxClientData *) NULL ;
  wxDataViewTreeStoreNode *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool temp2 = false ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  char *  kwnames[] = {
    (char *) "parent",(char *) "text",(char *) "icon",(char *) "data", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_DataViewTreeStoreNode",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewTreeStoreNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DataViewTreeStoreNode" "', expected argument " "1"" of type '" "wxDataViewTreeStoreNode *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeStoreNode * >(argp1);
  {
    arg2 = wxString_in_helper(obj1);
    if (arg2 == NULL) SWIG_fail;
    temp2 = true;
  }
  if (obj2) {
    res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxIcon,  0  | 0);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_DataViewTreeStoreNode" "', expected argument " "3"" of type '" "wxIcon const &""'"); 
    }
    if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DataViewTreeStoreNode" "', expected argument " "3"" of type '" "wxIcon const &""'"); 
    }
    arg3 = reinterpret_cast< wxIcon * >(argp3);
  }
  if (obj3) {
    {
      arg4 = new wxPyClientData(obj3);
    }
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxDataViewTreeStoreNode *)new wxDataViewTreeStoreNode(arg1,(wxString const &)*arg2,(wxIcon const &)*arg3,arg4);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDataViewTreeStoreNode, SWIG_POINTER_NEW |  0 );
  {
    if (temp2)
    delete arg2;
  }
  return resultobj;
fail:
  {
    if (temp2)
    delete arg2;
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_DataViewTreeStoreNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewTreeStoreNode *arg1 = (wxDataViewTreeStoreNode *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewTreeStoreNode, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DataViewTreeStoreNode" "', expected argument " "1"" of type '" "wxDataViewTreeStoreNode *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeStoreNode * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    delete arg1;
    
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewTreeStoreNode_SetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewTreeStoreNode *arg1 = (wxDataViewTreeStoreNode *) 0 ;
  wxString *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool temp2 = false ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "text", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewTreeStoreNode_SetText",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewTreeStoreNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewTreeStoreNode_SetText" "', expected argument " "1"" of type '" "wxDataViewTreeStoreNode *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeStoreNode * >(argp1);
  {
    arg2 = wxString_in_helper(obj1);
    if (arg2 == NULL) SWIG_fail;
    temp2 = true;
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->SetText((wxString const &)*arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  {
    if (temp2)
    delete arg2;
  }
  return resultobj;
fail:
  {
    if (temp2)
    delete arg2;
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewTreeStoreNode_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewTreeStoreNode *arg1 = (wxDataViewTreeStoreNode *) 0 ;
  wxString result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewTreeStoreNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewTreeStoreNode_GetText" "', expected argument " "1"" of type '" "wxDataViewTreeStoreNode const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeStoreNode * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = ((wxDataViewTreeStoreNode const *)arg1)->GetText();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
#if wxUSE_UNICODE
    resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
#else
    resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
#endif
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewTreeStoreNode_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewTreeStoreNode *arg1 = (wxDataViewTreeStoreNode *) 0 ;
  wxIcon *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "icon", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewTreeStoreNode_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewTreeStoreNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewTreeStoreNode_SetIcon" "', expected argument " "1"" of type '" "wxDataViewTreeStoreNode *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeStoreNode * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewTreeStoreNode_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewTreeStoreNode_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'"); 
  }
  arg2 = reinterpret_cast< wxIcon * >(argp2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->SetIcon((wxIcon const &)*arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewTreeStoreNode_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewTreeStoreNode *arg1 = (wxDataViewTreeStoreNode *) 0 ;
  wxIcon *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewTreeStoreNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewTreeStoreNode_GetIcon" "', expected argument " "1"" of type '" "wxDataViewTreeStoreNode const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeStoreNode * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    {
      wxIcon const &_result_ref = ((wxDataViewTreeStoreNode const *)arg1)->GetIcon();
      result = (wxIcon *) &_result_ref;
    }
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    wxIcon* resultptr = new wxIcon(*result);
    resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxIcon, 1);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewTreeStoreNode_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewTreeStoreNode *arg1 = (wxDataViewTreeStoreNode *) 0 ;
  wxClientData *arg2 = (wxClientData *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "data", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewTreeStoreNode_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewTreeStoreNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewTreeStoreNode_SetData" "', expected argument " "1"" of type '" "wxDataViewTreeStoreNode *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeStoreNode * >(argp1);
  {
    arg2 = new wxPyClientData(obj1);
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->SetData(arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewTreeStoreNode_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewTreeStoreNode *arg1 = (wxDataViewTreeStoreNode *) 0 ;
  wxClientData *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewTreeStoreNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewTreeStoreNode_GetData" "', expected argument " "1"" of type '" "wxDataViewTreeStoreNode const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeStoreNode * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxClientData *)((wxDataViewTreeStoreNode const *)arg1)->GetData();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = wxPyClientData::SafeGetData(static_cast<wxPyClientData*>(result));
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewTreeStoreNode_GetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewTreeStoreNode *arg1 = (wxDataViewTreeStoreNode *) 0 ;
  wxDataViewItem result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewTreeStoreNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewTreeStoreNode_GetItem" "', expected argument " "1"" of type '" "wxDataViewTreeStoreNode const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeStoreNode * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = ((wxDataViewTreeStoreNode const *)arg1)->GetItem();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj((new wxDataViewItem(static_cast< const wxDataViewItem& >(result))), SWIGTYPE_p_wxDataViewItem, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewTreeStoreNode_IsContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewTreeStoreNode *arg1 = (wxDataViewTreeStoreNode *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewTreeStoreNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewTreeStoreNode_IsContainer" "', expected argument " "1"" of type '" "wxDataViewTreeStoreNode *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeStoreNode * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)(arg1)->IsContainer();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewTreeStoreNode_GetParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewTreeStoreNode *arg1 = (wxDataViewTreeStoreNode *) 0 ;
  wxDataViewTreeStoreNode *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewTreeStoreNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewTreeStoreNode_GetParent" "', expected argument " "1"" of type '" "wxDataViewTreeStoreNode *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeStoreNode * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxDataViewTreeStoreNode *)(arg1)->GetParent();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDataViewTreeStoreNode, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *DataViewTreeStoreNode_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_wxDataViewTreeStoreNode, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *DataViewTreeStoreNode_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_delete_DataViewTreeStoreNodeList_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewTreeStoreNodeList_iterator *arg1 = (wxDataViewTreeStoreNodeList_iterator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewTreeStoreNodeList_iterator, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DataViewTreeStoreNodeList_iterator" "', expected argument " "1"" of type '" "wxDataViewTreeStoreNodeList_iterator *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeStoreNodeList_iterator * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    delete arg1;
    
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewTreeStoreNodeList_iterator_next(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewTreeStoreNodeList_iterator *arg1 = (wxDataViewTreeStoreNodeList_iterator *) 0 ;
  wxDataViewTreeStoreNode *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewTreeStoreNodeList_iterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewTreeStoreNodeList_iterator_next" "', expected argument " "1"" of type '" "wxDataViewTreeStoreNodeList_iterator *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeStoreNodeList_iterator * >(argp1);
  {
    result = (wxDataViewTreeStoreNode *)(arg1)->next();
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDataViewTreeStoreNode, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *DataViewTreeStoreNodeList_iterator_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_wxDataViewTreeStoreNodeList_iterator, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_delete_DataViewTreeStoreNodeList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewTreeStoreNodeList *arg1 = (wxDataViewTreeStoreNodeList *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewTreeStoreNodeList, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DataViewTreeStoreNodeList" "', expected argument " "1"" of type '" "wxDataViewTreeStoreNodeList *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeStoreNodeList * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    delete arg1;
    
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewTreeStoreNodeList___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewTreeStoreNodeList *arg1 = (wxDataViewTreeStoreNodeList *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewTreeStoreNodeList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewTreeStoreNodeList___len__" "', expected argument " "1"" of type '" "wxDataViewTreeStoreNodeList *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeStoreNodeList * >(argp1);
  {
    result = (size_t)wxDataViewTreeStoreNodeList___len__(arg1);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewTreeStoreNodeList___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewTreeStoreNodeList *arg1 = (wxDataViewTreeStoreNodeList *) 0 ;
  size_t arg2 ;
  wxDataViewTreeStoreNode *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "index", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewTreeStoreNodeList___getitem__",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewTreeStoreNodeList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewTreeStoreNodeList___getitem__" "', expected argument " "1"" of type '" "wxDataViewTreeStoreNodeList *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeStoreNodeList * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataViewTreeStoreNodeList___getitem__" "', expected argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  {
    result = (wxDataViewTreeStoreNode *)wxDataViewTreeStoreNodeList___getitem__(arg1,arg2);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDataViewTreeStoreNode, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewTreeStoreNodeList___contains__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewTreeStoreNodeList *arg1 = (wxDataViewTreeStoreNodeList *) 0 ;
  wxDataViewTreeStoreNode *arg2 = (wxDataViewTreeStoreNode *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "obj", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewTreeStoreNodeList___contains__",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewTreeStoreNodeList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewTreeStoreNodeList___contains__" "', expected argument " "1"" of type '" "wxDataViewTreeStoreNodeList *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeStoreNodeList * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDataViewTreeStoreNode, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewTreeStoreNodeList___contains__" "', expected argument " "2"" of type '" "wxDataViewTreeStoreNode const *""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewTreeStoreNode * >(argp2);
  {
    result = (bool)wxDataViewTreeStoreNodeList___contains__(arg1,(wxDataViewTreeStoreNode const *)arg2);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewTreeStoreNodeList___iter__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewTreeStoreNodeList *arg1 = (wxDataViewTreeStoreNodeList *) 0 ;
  wxDataViewTreeStoreNodeList_iterator *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewTreeStoreNodeList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewTreeStoreNodeList___iter__" "', expected argument " "1"" of type '" "wxDataViewTreeStoreNodeList *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeStoreNodeList * >(argp1);
  {
    result = (wxDataViewTreeStoreNodeList_iterator *)wxDataViewTreeStoreNodeList___iter__(arg1);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDataViewTreeStoreNodeList_iterator, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewTreeStoreNodeList_index(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewTreeStoreNodeList *arg1 = (wxDataViewTreeStoreNodeList *) 0 ;
  wxDataViewTreeStoreNode *arg2 = (wxDataViewTreeStoreNode *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "obj", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewTreeStoreNodeList_index",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewTreeStoreNodeList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewTreeStoreNodeList_index" "', expected argument " "1"" of type '" "wxDataViewTreeStoreNodeList *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeStoreNodeList * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDataViewTreeStoreNode, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewTreeStoreNodeList_index" "', expected argument " "2"" of type '" "wxDataViewTreeStoreNode *""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewTreeStoreNode * >(argp2);
  {
    result = (int)wxDataViewTreeStoreNodeList_index(arg1,arg2);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *DataViewTreeStoreNodeList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_wxDataViewTreeStoreNodeList, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_DataViewTreeStoreContainerNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewTreeStoreNode *arg1 = (wxDataViewTreeStoreNode *) 0 ;
  wxString *arg2 = 0 ;
  wxIcon const &arg3_defvalue = wxNullIcon ;
  wxIcon *arg3 = (wxIcon *) &arg3_defvalue ;
  wxIcon const &arg4_defvalue = wxNullIcon ;
  wxIcon *arg4 = (wxIcon *) &arg4_defvalue ;
  wxClientData *arg5 = (wxClientData *) NULL ;
  wxDataViewTreeStoreContainerNode *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool temp2 = false ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  char *  kwnames[] = {
    (char *) "parent",(char *) "text",(char *) "icon",(char *) "expanded",(char *) "data", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_DataViewTreeStoreContainerNode",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewTreeStoreNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DataViewTreeStoreContainerNode" "', expected argument " "1"" of type '" "wxDataViewTreeStoreNode *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeStoreNode * >(argp1);
  {
    arg2 = wxString_in_helper(obj1);
    if (arg2 == NULL) SWIG_fail;
    temp2 = true;
  }
  if (obj2) {
    res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxIcon,  0  | 0);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_DataViewTreeStoreContainerNode" "', expected argument " "3"" of type '" "wxIcon const &""'"); 
    }
    if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DataViewTreeStoreContainerNode" "', expected argument " "3"" of type '" "wxIcon const &""'"); 
    }
    arg3 = reinterpret_cast< wxIcon * >(argp3);
  }
  if (obj3) {
    res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxIcon,  0  | 0);
    if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_DataViewTreeStoreContainerNode" "', expected argument " "4"" of type '" "wxIcon const &""'"); 
    }
    if (!argp4) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DataViewTreeStoreContainerNode" "', expected argument " "4"" of type '" "wxIcon const &""'"); 
    }
    arg4 = reinterpret_cast< wxIcon * >(argp4);
  }
  if (obj4) {
    {
      arg5 = new wxPyClientData(obj4);
    }
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxDataViewTreeStoreContainerNode *)new wxDataViewTreeStoreContainerNode(arg1,(wxString const &)*arg2,(wxIcon const &)*arg3,(wxIcon const &)*arg4,arg5);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDataViewTreeStoreContainerNode, SWIG_POINTER_NEW |  0 );
  {
    if (temp2)
    delete arg2;
  }
  return resultobj;
fail:
  {
    if (temp2)
    delete arg2;
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_DataViewTreeStoreContainerNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewTreeStoreContainerNode *arg1 = (wxDataViewTreeStoreContainerNode *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewTreeStoreContainerNode, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DataViewTreeStoreContainerNode" "', expected argument " "1"" of type '" "wxDataViewTreeStoreContainerNode *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeStoreContainerNode * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    delete arg1;
    
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewTreeStoreContainerNode_GetChildren__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  wxDataViewTreeStoreContainerNode *arg1 = (wxDataViewTreeStoreContainerNode *) 0 ;
  wxDataViewTreeStoreNodeList *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewTreeStoreContainerNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewTreeStoreContainerNode_GetChildren" "', expected argument " "1"" of type '" "wxDataViewTreeStoreContainerNode const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeStoreContainerNode * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    {
      wxDataViewTreeStoreNodeList const &_result_ref = ((wxDataViewTreeStoreContainerNode const *)arg1)->GetChildren();
      result = (wxDataViewTreeStoreNodeList *) &_result_ref;
    }
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDataViewTreeStoreNodeList, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewTreeStoreContainerNode_GetChildren__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
  PyObject *resultobj = 0;
  wxDataViewTreeStoreContainerNode *arg1 = (wxDataViewTreeStoreContainerNode *) 0 ;
  wxDataViewTreeStoreNodeList *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewTreeStoreContainerNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewTreeStoreContainerNode_GetChildren" "', expected argument " "1"" of type '" "wxDataViewTreeStoreContainerNode *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeStoreContainerNode * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    {
      wxDataViewTreeStoreNodeList &_result_ref = (arg1)->GetChildren();
      result = (wxDataViewTreeStoreNodeList *) &_result_ref;
    }
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDataViewTreeStoreNodeList, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewTreeStoreContainerNode_GetChildren(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[2];
  
  if (!(argc = SWIG_Python_UnpackTuple(args,"DataViewTreeStoreContainerNode_GetChildren",0,1,argv))) SWIG_fail;
  --argc;
  if (argc == 1) {
    return _wrap_DataViewTreeStoreContainerNode_GetChildren__SWIG_1(self, argc, argv);
  }
  if (argc == 1) {
    return _wrap_DataViewTreeStoreContainerNode_GetChildren__SWIG_0(self, argc, argv);
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'DataViewTreeStoreContainerNode_GetChildren'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewTreeStoreContainerNode_SetExpandedIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewTreeStoreContainerNode *arg1 = (wxDataViewTreeStoreContainerNode *) 0 ;
  wxIcon *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "icon", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewTreeStoreContainerNode_SetExpandedIcon",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewTreeStoreContainerNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewTreeStoreContainerNode_SetExpandedIcon" "', expected argument " "1"" of type '" "wxDataViewTreeStoreContainerNode *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeStoreContainerNode * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewTreeStoreContainerNode_SetExpandedIcon" "', expected argument " "2"" of type '" "wxIcon const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewTreeStoreContainerNode_SetExpandedIcon" "', expected argument " "2"" of type '" "wxIcon const &""'"); 
  }
  arg2 = reinterpret_cast< wxIcon * >(argp2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->SetExpandedIcon((wxIcon const &)*arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewTreeStoreContainerNode_GetExpandedIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewTreeStoreContainerNode *arg1 = (wxDataViewTreeStoreContainerNode *) 0 ;
  wxIcon *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewTreeStoreContainerNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewTreeStoreContainerNode_GetExpandedIcon" "', expected argument " "1"" of type '" "wxDataViewTreeStoreContainerNode const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeStoreContainerNode * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    {
      wxIcon const &_result_ref = ((wxDataViewTreeStoreContainerNode const *)arg1)->GetExpandedIcon();
      result = (wxIcon *) &_result_ref;
    }
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    wxIcon* resultptr = new wxIcon(*result);
    resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxIcon, 1);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewTreeStoreContainerNode_SetExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewTreeStoreContainerNode *arg1 = (wxDataViewTreeStoreContainerNode *) 0 ;
  bool arg2 = (bool) true ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "expanded", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataViewTreeStoreContainerNode_SetExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewTreeStoreContainerNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewTreeStoreContainerNode_SetExpanded" "', expected argument " "1"" of type '" "wxDataViewTreeStoreContainerNode *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeStoreContainerNode * >(argp1);
  if (obj1) {
    ecode2 = SWIG_AsVal_bool(obj1, &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataViewTreeStoreContainerNode_SetExpanded" "', expected argument " "2"" of type '" "bool""'");
    } 
    arg2 = static_cast< bool >(val2);
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->SetExpanded(arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewTreeStoreContainerNode_IsExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewTreeStoreContainerNode *arg1 = (wxDataViewTreeStoreContainerNode *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewTreeStoreContainerNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewTreeStoreContainerNode_IsExpanded" "', expected argument " "1"" of type '" "wxDataViewTreeStoreContainerNode const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeStoreContainerNode * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)((wxDataViewTreeStoreContainerNode const *)arg1)->IsExpanded();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *DataViewTreeStoreContainerNode_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_wxDataViewTreeStoreContainerNode, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *DataViewTreeStoreContainerNode_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_new_DataViewTreeStore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewTreeStore *result = 0 ;
  
  if (!SWIG_Python_UnpackTuple(args,"new_DataViewTreeStore",0,0,0)) SWIG_fail;
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxDataViewTreeStore *)new wxDataViewTreeStore();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDataViewTreeStore, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_DataViewTreeStore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewTreeStore *arg1 = (wxDataViewTreeStore *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewTreeStore, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DataViewTreeStore" "', expected argument " "1"" of type '" "wxDataViewTreeStore *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeStore * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    delete arg1;
    
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewTreeStore_AppendItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewTreeStore *arg1 = (wxDataViewTreeStore *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  wxString *arg3 = 0 ;
  wxIcon const &arg4_defvalue = wxNullIcon ;
  wxIcon *arg4 = (wxIcon *) &arg4_defvalue ;
  wxClientData *arg5 = (wxClientData *) NULL ;
  wxDataViewItem result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  bool temp3 = false ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "parent",(char *) "text",(char *) "icon",(char *) "data", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DataViewTreeStore_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewTreeStore, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewTreeStore_AppendItem" "', expected argument " "1"" of type '" "wxDataViewTreeStore *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeStore * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewTreeStore_AppendItem" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewTreeStore_AppendItem" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  {
    arg3 = wxString_in_helper(obj2);
    if (arg3 == NULL) SWIG_fail;
    temp3 = true;
  }
  if (obj3) {
    res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxIcon,  0  | 0);
    if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DataViewTreeStore_AppendItem" "', expected argument " "4"" of type '" "wxIcon const &""'"); 
    }
    if (!argp4) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewTreeStore_AppendItem" "', expected argument " "4"" of type '" "wxIcon const &""'"); 
    }
    arg4 = reinterpret_cast< wxIcon * >(argp4);
  }
  if (obj4) {
    {
      arg5 = new wxPyClientData(obj4);
    }
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (arg1)->AppendItem((wxDataViewItem const &)*arg2,(wxString const &)*arg3,(wxIcon const &)*arg4,arg5);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj((new wxDataViewItem(static_cast< const wxDataViewItem& >(result))), SWIGTYPE_p_wxDataViewItem, SWIG_POINTER_OWN |  0 );
  {
    if (temp3)
    delete arg3;
  }
  return resultobj;
fail:
  {
    if (temp3)
    delete arg3;
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewTreeStore_PrependItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewTreeStore *arg1 = (wxDataViewTreeStore *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  wxString *arg3 = 0 ;
  wxIcon const &arg4_defvalue = wxNullIcon ;
  wxIcon *arg4 = (wxIcon *) &arg4_defvalue ;
  wxClientData *arg5 = (wxClientData *) NULL ;
  wxDataViewItem result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  bool temp3 = false ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "parent",(char *) "text",(char *) "icon",(char *) "data", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DataViewTreeStore_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewTreeStore, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewTreeStore_PrependItem" "', expected argument " "1"" of type '" "wxDataViewTreeStore *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeStore * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewTreeStore_PrependItem" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewTreeStore_PrependItem" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  {
    arg3 = wxString_in_helper(obj2);
    if (arg3 == NULL) SWIG_fail;
    temp3 = true;
  }
  if (obj3) {
    res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxIcon,  0  | 0);
    if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DataViewTreeStore_PrependItem" "', expected argument " "4"" of type '" "wxIcon const &""'"); 
    }
    if (!argp4) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewTreeStore_PrependItem" "', expected argument " "4"" of type '" "wxIcon const &""'"); 
    }
    arg4 = reinterpret_cast< wxIcon * >(argp4);
  }
  if (obj4) {
    {
      arg5 = new wxPyClientData(obj4);
    }
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (arg1)->PrependItem((wxDataViewItem const &)*arg2,(wxString const &)*arg3,(wxIcon const &)*arg4,arg5);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj((new wxDataViewItem(static_cast< const wxDataViewItem& >(result))), SWIGTYPE_p_wxDataViewItem, SWIG_POINTER_OWN |  0 );
  {
    if (temp3)
    delete arg3;
  }
  return resultobj;
fail:
  {
    if (temp3)
    delete arg3;
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewTreeStore_InsertItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewTreeStore *arg1 = (wxDataViewTreeStore *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  wxDataViewItem *arg3 = 0 ;
  wxString *arg4 = 0 ;
  wxIcon const &arg5_defvalue = wxNullIcon ;
  wxIcon *arg5 = (wxIcon *) &arg5_defvalue ;
  wxClientData *arg6 = (wxClientData *) NULL ;
  wxDataViewItem result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  bool temp4 = false ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "parent",(char *) "previous",(char *) "text",(char *) "icon",(char *) "data", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:DataViewTreeStore_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewTreeStore, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewTreeStore_InsertItem" "', expected argument " "1"" of type '" "wxDataViewTreeStore *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeStore * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewTreeStore_InsertItem" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewTreeStore_InsertItem" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DataViewTreeStore_InsertItem" "', expected argument " "3"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewTreeStore_InsertItem" "', expected argument " "3"" of type '" "wxDataViewItem const &""'"); 
  }
  arg3 = reinterpret_cast< wxDataViewItem * >(argp3);
  {
    arg4 = wxString_in_helper(obj3);
    if (arg4 == NULL) SWIG_fail;
    temp4 = true;
  }
  if (obj4) {
    res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxIcon,  0  | 0);
    if (!SWIG_IsOK(res5)) {
      SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "DataViewTreeStore_InsertItem" "', expected argument " "5"" of type '" "wxIcon const &""'"); 
    }
    if (!argp5) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewTreeStore_InsertItem" "', expected argument " "5"" of type '" "wxIcon const &""'"); 
    }
    arg5 = reinterpret_cast< wxIcon * >(argp5);
  }
  if (obj5) {
    {
      arg6 = new wxPyClientData(obj5);
    }
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (arg1)->InsertItem((wxDataViewItem const &)*arg2,(wxDataViewItem const &)*arg3,(wxString const &)*arg4,(wxIcon const &)*arg5,arg6);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj((new wxDataViewItem(static_cast< const wxDataViewItem& >(result))), SWIGTYPE_p_wxDataViewItem, SWIG_POINTER_OWN |  0 );
  {
    if (temp4)
    delete arg4;
  }
  return resultobj;
fail:
  {
    if (temp4)
    delete arg4;
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewTreeStore_PrependContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewTreeStore *arg1 = (wxDataViewTreeStore *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  wxString *arg3 = 0 ;
  wxIcon const &arg4_defvalue = wxNullIcon ;
  wxIcon *arg4 = (wxIcon *) &arg4_defvalue ;
  wxIcon const &arg5_defvalue = wxNullIcon ;
  wxIcon *arg5 = (wxIcon *) &arg5_defvalue ;
  wxClientData *arg6 = (wxClientData *) NULL ;
  wxDataViewItem result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  bool temp3 = false ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "parent",(char *) "text",(char *) "icon",(char *) "expanded",(char *) "data", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:DataViewTreeStore_PrependContainer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewTreeStore, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewTreeStore_PrependContainer" "', expected argument " "1"" of type '" "wxDataViewTreeStore *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeStore * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewTreeStore_PrependContainer" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewTreeStore_PrependContainer" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  {
    arg3 = wxString_in_helper(obj2);
    if (arg3 == NULL) SWIG_fail;
    temp3 = true;
  }
  if (obj3) {
    res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxIcon,  0  | 0);
    if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DataViewTreeStore_PrependContainer" "', expected argument " "4"" of type '" "wxIcon const &""'"); 
    }
    if (!argp4) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewTreeStore_PrependContainer" "', expected argument " "4"" of type '" "wxIcon const &""'"); 
    }
    arg4 = reinterpret_cast< wxIcon * >(argp4);
  }
  if (obj4) {
    res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxIcon,  0  | 0);
    if (!SWIG_IsOK(res5)) {
      SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "DataViewTreeStore_PrependContainer" "', expected argument " "5"" of type '" "wxIcon const &""'"); 
    }
    if (!argp5) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewTreeStore_PrependContainer" "', expected argument " "5"" of type '" "wxIcon const &""'"); 
    }
    arg5 = reinterpret_cast< wxIcon * >(argp5);
  }
  if (obj5) {
    {
      arg6 = new wxPyClientData(obj5);
    }
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (arg1)->PrependContainer((wxDataViewItem const &)*arg2,(wxString const &)*arg3,(wxIcon const &)*arg4,(wxIcon const &)*arg5,arg6);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj((new wxDataViewItem(static_cast< const wxDataViewItem& >(result))), SWIGTYPE_p_wxDataViewItem, SWIG_POINTER_OWN |  0 );
  {
    if (temp3)
    delete arg3;
  }
  return resultobj;
fail:
  {
    if (temp3)
    delete arg3;
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewTreeStore_AppendContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewTreeStore *arg1 = (wxDataViewTreeStore *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  wxString *arg3 = 0 ;
  wxIcon const &arg4_defvalue = wxNullIcon ;
  wxIcon *arg4 = (wxIcon *) &arg4_defvalue ;
  wxIcon const &arg5_defvalue = wxNullIcon ;
  wxIcon *arg5 = (wxIcon *) &arg5_defvalue ;
  wxClientData *arg6 = (wxClientData *) NULL ;
  wxDataViewItem result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  bool temp3 = false ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "parent",(char *) "text",(char *) "icon",(char *) "expanded",(char *) "data", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:DataViewTreeStore_AppendContainer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewTreeStore, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewTreeStore_AppendContainer" "', expected argument " "1"" of type '" "wxDataViewTreeStore *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeStore * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewTreeStore_AppendContainer" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewTreeStore_AppendContainer" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  {
    arg3 = wxString_in_helper(obj2);
    if (arg3 == NULL) SWIG_fail;
    temp3 = true;
  }
  if (obj3) {
    res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxIcon,  0  | 0);
    if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DataViewTreeStore_AppendContainer" "', expected argument " "4"" of type '" "wxIcon const &""'"); 
    }
    if (!argp4) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewTreeStore_AppendContainer" "', expected argument " "4"" of type '" "wxIcon const &""'"); 
    }
    arg4 = reinterpret_cast< wxIcon * >(argp4);
  }
  if (obj4) {
    res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxIcon,  0  | 0);
    if (!SWIG_IsOK(res5)) {
      SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "DataViewTreeStore_AppendContainer" "', expected argument " "5"" of type '" "wxIcon const &""'"); 
    }
    if (!argp5) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewTreeStore_AppendContainer" "', expected argument " "5"" of type '" "wxIcon const &""'"); 
    }
    arg5 = reinterpret_cast< wxIcon * >(argp5);
  }
  if (obj5) {
    {
      arg6 = new wxPyClientData(obj5);
    }
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (arg1)->AppendContainer((wxDataViewItem const &)*arg2,(wxString const &)*arg3,(wxIcon const &)*arg4,(wxIcon const &)*arg5,arg6);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj((new wxDataViewItem(static_cast< const wxDataViewItem& >(result))), SWIGTYPE_p_wxDataViewItem, SWIG_POINTER_OWN |  0 );
  {
    if (temp3)
    delete arg3;
  }
  return resultobj;
fail:
  {
    if (temp3)
    delete arg3;
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewTreeStore_InsertContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewTreeStore *arg1 = (wxDataViewTreeStore *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  wxDataViewItem *arg3 = 0 ;
  wxString *arg4 = 0 ;
  wxIcon const &arg5_defvalue = wxNullIcon ;
  wxIcon *arg5 = (wxIcon *) &arg5_defvalue ;
  wxIcon const &arg6_defvalue = wxNullIcon ;
  wxIcon *arg6 = (wxIcon *) &arg6_defvalue ;
  wxClientData *arg7 = (wxClientData *) NULL ;
  wxDataViewItem result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  bool temp4 = false ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  void *argp6 = 0 ;
  int res6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "parent",(char *) "previous",(char *) "text",(char *) "icon",(char *) "expanded",(char *) "data", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:DataViewTreeStore_InsertContainer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewTreeStore, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewTreeStore_InsertContainer" "', expected argument " "1"" of type '" "wxDataViewTreeStore *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeStore * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewTreeStore_InsertContainer" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewTreeStore_InsertContainer" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DataViewTreeStore_InsertContainer" "', expected argument " "3"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewTreeStore_InsertContainer" "', expected argument " "3"" of type '" "wxDataViewItem const &""'"); 
  }
  arg3 = reinterpret_cast< wxDataViewItem * >(argp3);
  {
    arg4 = wxString_in_helper(obj3);
    if (arg4 == NULL) SWIG_fail;
    temp4 = true;
  }
  if (obj4) {
    res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxIcon,  0  | 0);
    if (!SWIG_IsOK(res5)) {
      SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "DataViewTreeStore_InsertContainer" "', expected argument " "5"" of type '" "wxIcon const &""'"); 
    }
    if (!argp5) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewTreeStore_InsertContainer" "', expected argument " "5"" of type '" "wxIcon const &""'"); 
    }
    arg5 = reinterpret_cast< wxIcon * >(argp5);
  }
  if (obj5) {
    res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxIcon,  0  | 0);
    if (!SWIG_IsOK(res6)) {
      SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "DataViewTreeStore_InsertContainer" "', expected argument " "6"" of type '" "wxIcon const &""'"); 
    }
    if (!argp6) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewTreeStore_InsertContainer" "', expected argument " "6"" of type '" "wxIcon const &""'"); 
    }
    arg6 = reinterpret_cast< wxIcon * >(argp6);
  }
  if (obj6) {
    {
      arg7 = new wxPyClientData(obj6);
    }
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (arg1)->InsertContainer((wxDataViewItem const &)*arg2,(wxDataViewItem const &)*arg3,(wxString const &)*arg4,(wxIcon const &)*arg5,(wxIcon const &)*arg6,arg7);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj((new wxDataViewItem(static_cast< const wxDataViewItem& >(result))), SWIGTYPE_p_wxDataViewItem, SWIG_POINTER_OWN |  0 );
  {
    if (temp4)
    delete arg4;
  }
  return resultobj;
fail:
  {
    if (temp4)
    delete arg4;
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewTreeStore_GetNthChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewTreeStore *arg1 = (wxDataViewTreeStore *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  unsigned int arg3 ;
  wxDataViewItem result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  unsigned int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "parent",(char *) "pos", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataViewTreeStore_GetNthChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewTreeStore, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewTreeStore_GetNthChild" "', expected argument " "1"" of type '" "wxDataViewTreeStore const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeStore * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewTreeStore_GetNthChild" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewTreeStore_GetNthChild" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DataViewTreeStore_GetNthChild" "', expected argument " "3"" of type '" "unsigned int""'");
  } 
  arg3 = static_cast< unsigned int >(val3);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = ((wxDataViewTreeStore const *)arg1)->GetNthChild((wxDataViewItem const &)*arg2,arg3);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj((new wxDataViewItem(static_cast< const wxDataViewItem& >(result))), SWIGTYPE_p_wxDataViewItem, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewTreeStore_GetChildCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewTreeStore *arg1 = (wxDataViewTreeStore *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "parent", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewTreeStore_GetChildCount",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewTreeStore, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewTreeStore_GetChildCount" "', expected argument " "1"" of type '" "wxDataViewTreeStore const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeStore * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewTreeStore_GetChildCount" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewTreeStore_GetChildCount" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (int)((wxDataViewTreeStore const *)arg1)->GetChildCount((wxDataViewItem const &)*arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewTreeStore_SetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewTreeStore *arg1 = (wxDataViewTreeStore *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  wxString *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  bool temp3 = false ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "item",(char *) "text", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataViewTreeStore_SetItemText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewTreeStore, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewTreeStore_SetItemText" "', expected argument " "1"" of type '" "wxDataViewTreeStore *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeStore * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewTreeStore_SetItemText" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewTreeStore_SetItemText" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  {
    arg3 = wxString_in_helper(obj2);
    if (arg3 == NULL) SWIG_fail;
    temp3 = true;
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->SetItemText((wxDataViewItem const &)*arg2,(wxString const &)*arg3);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  {
    if (temp3)
    delete arg3;
  }
  return resultobj;
fail:
  {
    if (temp3)
    delete arg3;
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewTreeStore_GetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewTreeStore *arg1 = (wxDataViewTreeStore *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  wxString result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "item", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewTreeStore_GetItemText",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewTreeStore, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewTreeStore_GetItemText" "', expected argument " "1"" of type '" "wxDataViewTreeStore const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeStore * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewTreeStore_GetItemText" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewTreeStore_GetItemText" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = ((wxDataViewTreeStore const *)arg1)->GetItemText((wxDataViewItem const &)*arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
#if wxUSE_UNICODE
    resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
#else
    resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
#endif
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewTreeStore_SetItemIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewTreeStore *arg1 = (wxDataViewTreeStore *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  wxIcon *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "item",(char *) "icon", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataViewTreeStore_SetItemIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewTreeStore, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewTreeStore_SetItemIcon" "', expected argument " "1"" of type '" "wxDataViewTreeStore *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeStore * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewTreeStore_SetItemIcon" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewTreeStore_SetItemIcon" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxIcon,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DataViewTreeStore_SetItemIcon" "', expected argument " "3"" of type '" "wxIcon const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewTreeStore_SetItemIcon" "', expected argument " "3"" of type '" "wxIcon const &""'"); 
  }
  arg3 = reinterpret_cast< wxIcon * >(argp3);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->SetItemIcon((wxDataViewItem const &)*arg2,(wxIcon const &)*arg3);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewTreeStore_GetItemIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewTreeStore *arg1 = (wxDataViewTreeStore *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  wxIcon *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "item", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewTreeStore_GetItemIcon",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewTreeStore, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewTreeStore_GetItemIcon" "', expected argument " "1"" of type '" "wxDataViewTreeStore const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeStore * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewTreeStore_GetItemIcon" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewTreeStore_GetItemIcon" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    {
      wxIcon const &_result_ref = ((wxDataViewTreeStore const *)arg1)->GetItemIcon((wxDataViewItem const &)*arg2);
      result = (wxIcon *) &_result_ref;
    }
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    wxIcon* resultptr = new wxIcon(*result);
    resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxIcon, 1);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewTreeStore_SetItemExpandedIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewTreeStore *arg1 = (wxDataViewTreeStore *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  wxIcon *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "item",(char *) "icon", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataViewTreeStore_SetItemExpandedIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewTreeStore, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewTreeStore_SetItemExpandedIcon" "', expected argument " "1"" of type '" "wxDataViewTreeStore *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeStore * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewTreeStore_SetItemExpandedIcon" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewTreeStore_SetItemExpandedIcon" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxIcon,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DataViewTreeStore_SetItemExpandedIcon" "', expected argument " "3"" of type '" "wxIcon const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewTreeStore_SetItemExpandedIcon" "', expected argument " "3"" of type '" "wxIcon const &""'"); 
  }
  arg3 = reinterpret_cast< wxIcon * >(argp3);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->SetItemExpandedIcon((wxDataViewItem const &)*arg2,(wxIcon const &)*arg3);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewTreeStore_GetItemExpandedIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewTreeStore *arg1 = (wxDataViewTreeStore *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  wxIcon *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "item", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewTreeStore_GetItemExpandedIcon",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewTreeStore, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewTreeStore_GetItemExpandedIcon" "', expected argument " "1"" of type '" "wxDataViewTreeStore const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeStore * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewTreeStore_GetItemExpandedIcon" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewTreeStore_GetItemExpandedIcon" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    {
      wxIcon const &_result_ref = ((wxDataViewTreeStore const *)arg1)->GetItemExpandedIcon((wxDataViewItem const &)*arg2);
      result = (wxIcon *) &_result_ref;
    }
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    wxIcon* resultptr = new wxIcon(*result);
    resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxIcon, 1);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewTreeStore_SetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewTreeStore *arg1 = (wxDataViewTreeStore *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  wxClientData *arg3 = (wxClientData *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "item",(char *) "data", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataViewTreeStore_SetItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewTreeStore, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewTreeStore_SetItemData" "', expected argument " "1"" of type '" "wxDataViewTreeStore *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeStore * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewTreeStore_SetItemData" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewTreeStore_SetItemData" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  {
    arg3 = new wxPyClientData(obj2);
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->SetItemData((wxDataViewItem const &)*arg2,arg3);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewTreeStore_GetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewTreeStore *arg1 = (wxDataViewTreeStore *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  wxClientData *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "item", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewTreeStore_GetItemData",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewTreeStore, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewTreeStore_GetItemData" "', expected argument " "1"" of type '" "wxDataViewTreeStore const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeStore * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewTreeStore_GetItemData" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewTreeStore_GetItemData" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxClientData *)((wxDataViewTreeStore const *)arg1)->GetItemData((wxDataViewItem const &)*arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = wxPyClientData::SafeGetData(static_cast<wxPyClientData*>(result));
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewTreeStore_DeleteItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewTreeStore *arg1 = (wxDataViewTreeStore *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "item", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewTreeStore_DeleteItem",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewTreeStore, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewTreeStore_DeleteItem" "', expected argument " "1"" of type '" "wxDataViewTreeStore *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeStore * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewTreeStore_DeleteItem" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewTreeStore_DeleteItem" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->DeleteItem((wxDataViewItem const &)*arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewTreeStore_DeleteChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewTreeStore *arg1 = (wxDataViewTreeStore *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "item", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewTreeStore_DeleteChildren",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewTreeStore, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewTreeStore_DeleteChildren" "', expected argument " "1"" of type '" "wxDataViewTreeStore *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeStore * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewTreeStore_DeleteChildren" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewTreeStore_DeleteChildren" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->DeleteChildren((wxDataViewItem const &)*arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewTreeStore_DeleteAllItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewTreeStore *arg1 = (wxDataViewTreeStore *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewTreeStore, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewTreeStore_DeleteAllItems" "', expected argument " "1"" of type '" "wxDataViewTreeStore *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeStore * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->DeleteAllItems();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *DataViewTreeStore_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_wxDataViewTreeStore, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *DataViewTreeStore_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

SWIGINTERN PyObject *_wrap_new_DataViewTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxWindow *arg1 = (wxWindow *) 0 ;
  int arg2 = (int) -1 ;
  wxPoint const &arg3_defvalue = wxDefaultPosition ;
  wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
  wxSize const &arg4_defvalue = wxDefaultSize ;
  wxSize *arg4 = (wxSize *) &arg4_defvalue ;
  long arg5 = (long) wxDV_NO_HEADER|wxDV_ROW_LINES ;
  wxValidator const &arg6_defvalue = wxDefaultValidator ;
  wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
  wxDataViewTreeCtrl *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  wxPoint temp3 ;
  wxSize temp4 ;
  long val5 ;
  int ecode5 = 0 ;
  void *argp6 = 0 ;
  int res6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  char *  kwnames[] = {
    (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_DataViewTreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DataViewTreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'"); 
  }
  arg1 = reinterpret_cast< wxWindow * >(argp1);
  if (obj1) {
    ecode2 = SWIG_AsVal_int(obj1, &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DataViewTreeCtrl" "', expected argument " "2"" of type '" "int""'");
    } 
    arg2 = static_cast< int >(val2);
  }
  if (obj2) {
    {
      arg3 = &temp3;
      if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
    }
  }
  if (obj3) {
    {
      arg4 = &temp4;
      if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
    }
  }
  if (obj4) {
    ecode5 = SWIG_AsVal_long(obj4, &val5);
    if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DataViewTreeCtrl" "', expected argument " "5"" of type '" "long""'");
    } 
    arg5 = static_cast< long >(val5);
  }
  if (obj5) {
    res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator,  0  | 0);
    if (!SWIG_IsOK(res6)) {
      SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_DataViewTreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'"); 
    }
    if (!argp6) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DataViewTreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'"); 
    }
    arg6 = reinterpret_cast< wxValidator * >(argp6);
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxDataViewTreeCtrl *)new wxDataViewTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDataViewTreeCtrl, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_PreDataViewTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewTreeCtrl *result = 0 ;
  
  if (!SWIG_Python_UnpackTuple(args,"new_PreDataViewTreeCtrl",0,0,0)) SWIG_fail;
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxDataViewTreeCtrl *)new wxDataViewTreeCtrl();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDataViewTreeCtrl, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewTreeCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewTreeCtrl *arg1 = (wxDataViewTreeCtrl *) 0 ;
  wxWindow *arg2 = (wxWindow *) 0 ;
  int arg3 = (int) -1 ;
  wxPoint const &arg4_defvalue = wxDefaultPosition ;
  wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
  wxSize const &arg5_defvalue = wxDefaultSize ;
  wxSize *arg5 = (wxSize *) &arg5_defvalue ;
  long arg6 = (long) wxDV_NO_HEADER|wxDV_ROW_LINES ;
  wxValidator const &arg7_defvalue = wxDefaultValidator ;
  wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  wxPoint temp4 ;
  wxSize temp5 ;
  long val6 ;
  int ecode6 = 0 ;
  void *argp7 = 0 ;
  int res7 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:DataViewTreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewTreeCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewTreeCtrl_Create" "', expected argument " "1"" of type '" "wxDataViewTreeCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeCtrl * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewTreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); 
  }
  arg2 = reinterpret_cast< wxWindow * >(argp2);
  if (obj2) {
    ecode3 = SWIG_AsVal_int(obj2, &val3);
    if (!SWIG_IsOK(ecode3)) {
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DataViewTreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
    } 
    arg3 = static_cast< int >(val3);
  }
  if (obj3) {
    {
      arg4 = &temp4;
      if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
    }
  }
  if (obj4) {
    {
      arg5 = &temp5;
      if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
    }
  }
  if (obj5) {
    ecode6 = SWIG_AsVal_long(obj5, &val6);
    if (!SWIG_IsOK(ecode6)) {
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DataViewTreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
    } 
    arg6 = static_cast< long >(val6);
  }
  if (obj6) {
    res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator,  0  | 0);
    if (!SWIG_IsOK(res7)) {
      SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "DataViewTreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'"); 
    }
    if (!argp7) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewTreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'"); 
    }
    arg7 = reinterpret_cast< wxValidator * >(argp7);
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewTreeCtrl_GetStore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewTreeCtrl *arg1 = (wxDataViewTreeCtrl *) 0 ;
  wxDataViewTreeStore *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewTreeCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewTreeCtrl_GetStore" "', expected argument " "1"" of type '" "wxDataViewTreeCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeCtrl * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxDataViewTreeStore *)(arg1)->GetStore();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDataViewTreeStore, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewTreeCtrl_IsContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewTreeCtrl *arg1 = (wxDataViewTreeCtrl *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "item", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewTreeCtrl_IsContainer",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewTreeCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewTreeCtrl_IsContainer" "', expected argument " "1"" of type '" "wxDataViewTreeCtrl const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeCtrl * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewTreeCtrl_IsContainer" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewTreeCtrl_IsContainer" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (bool)((wxDataViewTreeCtrl const *)arg1)->IsContainer((wxDataViewItem const &)*arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewTreeCtrl_AppendItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewTreeCtrl *arg1 = (wxDataViewTreeCtrl *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  wxString *arg3 = 0 ;
  int arg4 = (int) -1 ;
  wxClientData *arg5 = (wxClientData *) NULL ;
  wxDataViewItem result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  bool temp3 = false ;
  int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "parent",(char *) "text",(char *) "icon",(char *) "data", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DataViewTreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewTreeCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewTreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxDataViewTreeCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeCtrl * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewTreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewTreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  {
    arg3 = wxString_in_helper(obj2);
    if (arg3 == NULL) SWIG_fail;
    temp3 = true;
  }
  if (obj3) {
    ecode4 = SWIG_AsVal_int(obj3, &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DataViewTreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
    } 
    arg4 = static_cast< int >(val4);
  }
  if (obj4) {
    {
      arg5 = new wxPyClientData(obj4);
    }
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (arg1)->AppendItem((wxDataViewItem const &)*arg2,(wxString const &)*arg3,arg4,arg5);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj((new wxDataViewItem(static_cast< const wxDataViewItem& >(result))), SWIGTYPE_p_wxDataViewItem, SWIG_POINTER_OWN |  0 );
  {
    if (temp3)
    delete arg3;
  }
  return resultobj;
fail:
  {
    if (temp3)
    delete arg3;
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewTreeCtrl_PrependItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewTreeCtrl *arg1 = (wxDataViewTreeCtrl *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  wxString *arg3 = 0 ;
  int arg4 = (int) -1 ;
  wxClientData *arg5 = (wxClientData *) NULL ;
  wxDataViewItem result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  bool temp3 = false ;
  int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "parent",(char *) "text",(char *) "icon",(char *) "data", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DataViewTreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewTreeCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewTreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxDataViewTreeCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeCtrl * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewTreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewTreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  {
    arg3 = wxString_in_helper(obj2);
    if (arg3 == NULL) SWIG_fail;
    temp3 = true;
  }
  if (obj3) {
    ecode4 = SWIG_AsVal_int(obj3, &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DataViewTreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
    } 
    arg4 = static_cast< int >(val4);
  }
  if (obj4) {
    {
      arg5 = new wxPyClientData(obj4);
    }
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (arg1)->PrependItem((wxDataViewItem const &)*arg2,(wxString const &)*arg3,arg4,arg5);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj((new wxDataViewItem(static_cast< const wxDataViewItem& >(result))), SWIGTYPE_p_wxDataViewItem, SWIG_POINTER_OWN |  0 );
  {
    if (temp3)
    delete arg3;
  }
  return resultobj;
fail:
  {
    if (temp3)
    delete arg3;
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewTreeCtrl_InsertItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewTreeCtrl *arg1 = (wxDataViewTreeCtrl *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  wxDataViewItem *arg3 = 0 ;
  wxString *arg4 = 0 ;
  int arg5 = (int) -1 ;
  wxClientData *arg6 = (wxClientData *) NULL ;
  wxDataViewItem result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  bool temp4 = false ;
  int val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "parent",(char *) "previous",(char *) "text",(char *) "icon",(char *) "data", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:DataViewTreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewTreeCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewTreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxDataViewTreeCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeCtrl * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewTreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewTreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DataViewTreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewTreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxDataViewItem const &""'"); 
  }
  arg3 = reinterpret_cast< wxDataViewItem * >(argp3);
  {
    arg4 = wxString_in_helper(obj3);
    if (arg4 == NULL) SWIG_fail;
    temp4 = true;
  }
  if (obj4) {
    ecode5 = SWIG_AsVal_int(obj4, &val5);
    if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DataViewTreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
    } 
    arg5 = static_cast< int >(val5);
  }
  if (obj5) {
    {
      arg6 = new wxPyClientData(obj5);
    }
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (arg1)->InsertItem((wxDataViewItem const &)*arg2,(wxDataViewItem const &)*arg3,(wxString const &)*arg4,arg5,arg6);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj((new wxDataViewItem(static_cast< const wxDataViewItem& >(result))), SWIGTYPE_p_wxDataViewItem, SWIG_POINTER_OWN |  0 );
  {
    if (temp4)
    delete arg4;
  }
  return resultobj;
fail:
  {
    if (temp4)
    delete arg4;
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewTreeCtrl_PrependContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewTreeCtrl *arg1 = (wxDataViewTreeCtrl *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  wxString *arg3 = 0 ;
  int arg4 = (int) -1 ;
  int arg5 = (int) -1 ;
  wxClientData *arg6 = (wxClientData *) NULL ;
  wxDataViewItem result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  bool temp3 = false ;
  int val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "parent",(char *) "text",(char *) "icon",(char *) "expanded",(char *) "data", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:DataViewTreeCtrl_PrependContainer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewTreeCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewTreeCtrl_PrependContainer" "', expected argument " "1"" of type '" "wxDataViewTreeCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeCtrl * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewTreeCtrl_PrependContainer" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewTreeCtrl_PrependContainer" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  {
    arg3 = wxString_in_helper(obj2);
    if (arg3 == NULL) SWIG_fail;
    temp3 = true;
  }
  if (obj3) {
    ecode4 = SWIG_AsVal_int(obj3, &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DataViewTreeCtrl_PrependContainer" "', expected argument " "4"" of type '" "int""'");
    } 
    arg4 = static_cast< int >(val4);
  }
  if (obj4) {
    ecode5 = SWIG_AsVal_int(obj4, &val5);
    if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DataViewTreeCtrl_PrependContainer" "', expected argument " "5"" of type '" "int""'");
    } 
    arg5 = static_cast< int >(val5);
  }
  if (obj5) {
    {
      arg6 = new wxPyClientData(obj5);
    }
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (arg1)->PrependContainer((wxDataViewItem const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj((new wxDataViewItem(static_cast< const wxDataViewItem& >(result))), SWIGTYPE_p_wxDataViewItem, SWIG_POINTER_OWN |  0 );
  {
    if (temp3)
    delete arg3;
  }
  return resultobj;
fail:
  {
    if (temp3)
    delete arg3;
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewTreeCtrl_AppendContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewTreeCtrl *arg1 = (wxDataViewTreeCtrl *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  wxString *arg3 = 0 ;
  int arg4 = (int) -1 ;
  int arg5 = (int) -1 ;
  wxClientData *arg6 = (wxClientData *) NULL ;
  wxDataViewItem result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  bool temp3 = false ;
  int val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "parent",(char *) "text",(char *) "icon",(char *) "expanded",(char *) "data", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:DataViewTreeCtrl_AppendContainer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewTreeCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewTreeCtrl_AppendContainer" "', expected argument " "1"" of type '" "wxDataViewTreeCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeCtrl * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewTreeCtrl_AppendContainer" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewTreeCtrl_AppendContainer" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  {
    arg3 = wxString_in_helper(obj2);
    if (arg3 == NULL) SWIG_fail;
    temp3 = true;
  }
  if (obj3) {
    ecode4 = SWIG_AsVal_int(obj3, &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DataViewTreeCtrl_AppendContainer" "', expected argument " "4"" of type '" "int""'");
    } 
    arg4 = static_cast< int >(val4);
  }
  if (obj4) {
    ecode5 = SWIG_AsVal_int(obj4, &val5);
    if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DataViewTreeCtrl_AppendContainer" "', expected argument " "5"" of type '" "int""'");
    } 
    arg5 = static_cast< int >(val5);
  }
  if (obj5) {
    {
      arg6 = new wxPyClientData(obj5);
    }
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (arg1)->AppendContainer((wxDataViewItem const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj((new wxDataViewItem(static_cast< const wxDataViewItem& >(result))), SWIGTYPE_p_wxDataViewItem, SWIG_POINTER_OWN |  0 );
  {
    if (temp3)
    delete arg3;
  }
  return resultobj;
fail:
  {
    if (temp3)
    delete arg3;
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewTreeCtrl_InsertContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewTreeCtrl *arg1 = (wxDataViewTreeCtrl *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  wxDataViewItem *arg3 = 0 ;
  wxString *arg4 = 0 ;
  int arg5 = (int) -1 ;
  int arg6 = (int) -1 ;
  wxClientData *arg7 = (wxClientData *) NULL ;
  wxDataViewItem result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  bool temp4 = false ;
  int val5 ;
  int ecode5 = 0 ;
  int val6 ;
  int ecode6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "parent",(char *) "previous",(char *) "text",(char *) "icon",(char *) "expanded",(char *) "data", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:DataViewTreeCtrl_InsertContainer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewTreeCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewTreeCtrl_InsertContainer" "', expected argument " "1"" of type '" "wxDataViewTreeCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeCtrl * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewTreeCtrl_InsertContainer" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewTreeCtrl_InsertContainer" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DataViewTreeCtrl_InsertContainer" "', expected argument " "3"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewTreeCtrl_InsertContainer" "', expected argument " "3"" of type '" "wxDataViewItem const &""'"); 
  }
  arg3 = reinterpret_cast< wxDataViewItem * >(argp3);
  {
    arg4 = wxString_in_helper(obj3);
    if (arg4 == NULL) SWIG_fail;
    temp4 = true;
  }
  if (obj4) {
    ecode5 = SWIG_AsVal_int(obj4, &val5);
    if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DataViewTreeCtrl_InsertContainer" "', expected argument " "5"" of type '" "int""'");
    } 
    arg5 = static_cast< int >(val5);
  }
  if (obj5) {
    ecode6 = SWIG_AsVal_int(obj5, &val6);
    if (!SWIG_IsOK(ecode6)) {
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DataViewTreeCtrl_InsertContainer" "', expected argument " "6"" of type '" "int""'");
    } 
    arg6 = static_cast< int >(val6);
  }
  if (obj6) {
    {
      arg7 = new wxPyClientData(obj6);
    }
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (arg1)->InsertContainer((wxDataViewItem const &)*arg2,(wxDataViewItem const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj((new wxDataViewItem(static_cast< const wxDataViewItem& >(result))), SWIGTYPE_p_wxDataViewItem, SWIG_POINTER_OWN |  0 );
  {
    if (temp4)
    delete arg4;
  }
  return resultobj;
fail:
  {
    if (temp4)
    delete arg4;
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewTreeCtrl_GetNthChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewTreeCtrl *arg1 = (wxDataViewTreeCtrl *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  unsigned int arg3 ;
  wxDataViewItem result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  unsigned int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "parent",(char *) "pos", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataViewTreeCtrl_GetNthChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewTreeCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewTreeCtrl_GetNthChild" "', expected argument " "1"" of type '" "wxDataViewTreeCtrl const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeCtrl * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewTreeCtrl_GetNthChild" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewTreeCtrl_GetNthChild" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DataViewTreeCtrl_GetNthChild" "', expected argument " "3"" of type '" "unsigned int""'");
  } 
  arg3 = static_cast< unsigned int >(val3);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = ((wxDataViewTreeCtrl const *)arg1)->GetNthChild((wxDataViewItem const &)*arg2,arg3);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_NewPointerObj((new wxDataViewItem(static_cast< const wxDataViewItem& >(result))), SWIGTYPE_p_wxDataViewItem, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewTreeCtrl_GetChildCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewTreeCtrl *arg1 = (wxDataViewTreeCtrl *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "parent", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewTreeCtrl_GetChildCount",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewTreeCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewTreeCtrl_GetChildCount" "', expected argument " "1"" of type '" "wxDataViewTreeCtrl const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeCtrl * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewTreeCtrl_GetChildCount" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewTreeCtrl_GetChildCount" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (int)((wxDataViewTreeCtrl const *)arg1)->GetChildCount((wxDataViewItem const &)*arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewTreeCtrl_SetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewTreeCtrl *arg1 = (wxDataViewTreeCtrl *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  wxString *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  bool temp3 = false ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "item",(char *) "text", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataViewTreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewTreeCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewTreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxDataViewTreeCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeCtrl * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewTreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewTreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  {
    arg3 = wxString_in_helper(obj2);
    if (arg3 == NULL) SWIG_fail;
    temp3 = true;
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->SetItemText((wxDataViewItem const &)*arg2,(wxString const &)*arg3);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  {
    if (temp3)
    delete arg3;
  }
  return resultobj;
fail:
  {
    if (temp3)
    delete arg3;
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewTreeCtrl_GetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewTreeCtrl *arg1 = (wxDataViewTreeCtrl *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  wxString result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "item", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewTreeCtrl_GetItemText",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewTreeCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewTreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxDataViewTreeCtrl const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeCtrl * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewTreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewTreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = ((wxDataViewTreeCtrl const *)arg1)->GetItemText((wxDataViewItem const &)*arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
#if wxUSE_UNICODE
    resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
#else
    resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
#endif
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewTreeCtrl_SetItemIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewTreeCtrl *arg1 = (wxDataViewTreeCtrl *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  wxIcon *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "item",(char *) "icon", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataViewTreeCtrl_SetItemIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewTreeCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewTreeCtrl_SetItemIcon" "', expected argument " "1"" of type '" "wxDataViewTreeCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeCtrl * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewTreeCtrl_SetItemIcon" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewTreeCtrl_SetItemIcon" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxIcon,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DataViewTreeCtrl_SetItemIcon" "', expected argument " "3"" of type '" "wxIcon const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewTreeCtrl_SetItemIcon" "', expected argument " "3"" of type '" "wxIcon const &""'"); 
  }
  arg3 = reinterpret_cast< wxIcon * >(argp3);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->SetItemIcon((wxDataViewItem const &)*arg2,(wxIcon const &)*arg3);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewTreeCtrl_GetItemIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewTreeCtrl *arg1 = (wxDataViewTreeCtrl *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  wxIcon *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "item", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewTreeCtrl_GetItemIcon",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewTreeCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewTreeCtrl_GetItemIcon" "', expected argument " "1"" of type '" "wxDataViewTreeCtrl const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeCtrl * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewTreeCtrl_GetItemIcon" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewTreeCtrl_GetItemIcon" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    {
      wxIcon const &_result_ref = ((wxDataViewTreeCtrl const *)arg1)->GetItemIcon((wxDataViewItem const &)*arg2);
      result = (wxIcon *) &_result_ref;
    }
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    wxIcon* resultptr = new wxIcon(*result);
    resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxIcon, 1);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewTreeCtrl_SetItemExpandedIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewTreeCtrl *arg1 = (wxDataViewTreeCtrl *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  wxIcon *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "item",(char *) "icon", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataViewTreeCtrl_SetItemExpandedIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewTreeCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewTreeCtrl_SetItemExpandedIcon" "', expected argument " "1"" of type '" "wxDataViewTreeCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeCtrl * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewTreeCtrl_SetItemExpandedIcon" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewTreeCtrl_SetItemExpandedIcon" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxIcon,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DataViewTreeCtrl_SetItemExpandedIcon" "', expected argument " "3"" of type '" "wxIcon const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewTreeCtrl_SetItemExpandedIcon" "', expected argument " "3"" of type '" "wxIcon const &""'"); 
  }
  arg3 = reinterpret_cast< wxIcon * >(argp3);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->SetItemExpandedIcon((wxDataViewItem const &)*arg2,(wxIcon const &)*arg3);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewTreeCtrl_GetItemExpandedIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewTreeCtrl *arg1 = (wxDataViewTreeCtrl *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  wxIcon *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "item", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewTreeCtrl_GetItemExpandedIcon",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewTreeCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewTreeCtrl_GetItemExpandedIcon" "', expected argument " "1"" of type '" "wxDataViewTreeCtrl const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeCtrl * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewTreeCtrl_GetItemExpandedIcon" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewTreeCtrl_GetItemExpandedIcon" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    {
      wxIcon const &_result_ref = ((wxDataViewTreeCtrl const *)arg1)->GetItemExpandedIcon((wxDataViewItem const &)*arg2);
      result = (wxIcon *) &_result_ref;
    }
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    wxIcon* resultptr = new wxIcon(*result);
    resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxIcon, 1);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewTreeCtrl_SetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewTreeCtrl *arg1 = (wxDataViewTreeCtrl *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  wxClientData *arg3 = (wxClientData *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "item",(char *) "data", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataViewTreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewTreeCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewTreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxDataViewTreeCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeCtrl * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewTreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewTreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  {
    arg3 = new wxPyClientData(obj2);
  }
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->SetItemData((wxDataViewItem const &)*arg2,arg3);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewTreeCtrl_GetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewTreeCtrl *arg1 = (wxDataViewTreeCtrl *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  wxClientData *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "item", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewTreeCtrl_GetItemData",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewTreeCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewTreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxDataViewTreeCtrl const *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeCtrl * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewTreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewTreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    result = (wxClientData *)((wxDataViewTreeCtrl const *)arg1)->GetItemData((wxDataViewItem const &)*arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  {
    resultobj = wxPyClientData::SafeGetData(static_cast<wxPyClientData*>(result));
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewTreeCtrl_DeleteItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewTreeCtrl *arg1 = (wxDataViewTreeCtrl *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "item", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewTreeCtrl_DeleteItem",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewTreeCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewTreeCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxDataViewTreeCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeCtrl * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewTreeCtrl_DeleteItem" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewTreeCtrl_DeleteItem" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->DeleteItem((wxDataViewItem const &)*arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewTreeCtrl_DeleteChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
  PyObject *resultobj = 0;
  wxDataViewTreeCtrl *arg1 = (wxDataViewTreeCtrl *) 0 ;
  wxDataViewItem *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *  kwnames[] = {
    (char *) "self",(char *) "item", NULL 
  };
  
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataViewTreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDataViewTreeCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewTreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxDataViewTreeCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeCtrl * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDataViewItem,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataViewTreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataViewTreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxDataViewItem const &""'"); 
  }
  arg2 = reinterpret_cast< wxDataViewItem * >(argp2);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->DeleteChildren((wxDataViewItem const &)*arg2);
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_DataViewTreeCtrl_DeleteAllItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  wxDataViewTreeCtrl *arg1 = (wxDataViewTreeCtrl *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject *swig_obj[1] ;
  
  if (!args) SWIG_fail;
  swig_obj[0] = args;
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDataViewTreeCtrl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataViewTreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxDataViewTreeCtrl *""'"); 
  }
  arg1 = reinterpret_cast< wxDataViewTreeCtrl * >(argp1);
  {
    PyThreadState* __tstate = wxPyBeginAllowThreads();
    (arg1)->DeleteAllItems();
    wxPyEndAllowThreads(__tstate);
    if (PyErr_Occurred()) SWIG_fail;
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *DataViewTreeCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_wxDataViewTreeCtrl, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *DataViewTreeCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  return SWIG_Python_InitShadowInstance(args);
}

static PyMethodDef SwigMethods[] = {
	 { (char *)"new_DataViewItem", (PyCFunction) _wrap_new_DataViewItem, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"delete_DataViewItem", (PyCFunction)_wrap_delete_DataViewItem, METH_O, NULL},
	 { (char *)"DataViewItem_IsOk", (PyCFunction)_wrap_DataViewItem_IsOk, METH_O, NULL},
	 { (char *)"DataViewItem_GetID", (PyCFunction)_wrap_DataViewItem_GetID, METH_O, NULL},
	 { (char *)"DataViewItem___hash__", (PyCFunction)_wrap_DataViewItem___hash__, METH_O, NULL},
	 { (char *)"DataViewItem___cmp__", (PyCFunction) _wrap_DataViewItem___cmp__, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewItem_swigregister", DataViewItem_swigregister, METH_VARARGS, NULL},
	 { (char *)"DataViewItem_swiginit", DataViewItem_swiginit, METH_VARARGS, NULL},
	 { (char *)"delete_DataViewItemArray_iterator", (PyCFunction)_wrap_delete_DataViewItemArray_iterator, METH_O, NULL},
	 { (char *)"DataViewItemArray_iterator_next", (PyCFunction)_wrap_DataViewItemArray_iterator_next, METH_O, NULL},
	 { (char *)"DataViewItemArray_iterator_swigregister", DataViewItemArray_iterator_swigregister, METH_VARARGS, NULL},
	 { (char *)"delete_DataViewItemArray", (PyCFunction)_wrap_delete_DataViewItemArray, METH_O, NULL},
	 { (char *)"DataViewItemArray___len__", (PyCFunction)_wrap_DataViewItemArray___len__, METH_O, NULL},
	 { (char *)"DataViewItemArray___getitem__", (PyCFunction) _wrap_DataViewItemArray___getitem__, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewItemArray___iter__", (PyCFunction)_wrap_DataViewItemArray___iter__, METH_O, NULL},
	 { (char *)"DataViewItemArray_append", (PyCFunction) _wrap_DataViewItemArray_append, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewItemArray_insert", (PyCFunction) _wrap_DataViewItemArray_insert, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewItemArray_swigregister", DataViewItemArray_swigregister, METH_VARARGS, NULL},
	 { (char *)"delete_DataViewModelNotifier", (PyCFunction)_wrap_delete_DataViewModelNotifier, METH_O, NULL},
	 { (char *)"DataViewModelNotifier_ItemAdded", (PyCFunction) _wrap_DataViewModelNotifier_ItemAdded, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewModelNotifier_ItemDeleted", (PyCFunction) _wrap_DataViewModelNotifier_ItemDeleted, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewModelNotifier_ItemChanged", (PyCFunction) _wrap_DataViewModelNotifier_ItemChanged, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewModelNotifier_ItemsAdded", (PyCFunction) _wrap_DataViewModelNotifier_ItemsAdded, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewModelNotifier_ItemsDeleted", (PyCFunction) _wrap_DataViewModelNotifier_ItemsDeleted, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewModelNotifier_ItemsChanged", (PyCFunction) _wrap_DataViewModelNotifier_ItemsChanged, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewModelNotifier_ValueChanged", (PyCFunction) _wrap_DataViewModelNotifier_ValueChanged, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewModelNotifier_Cleared", (PyCFunction)_wrap_DataViewModelNotifier_Cleared, METH_O, NULL},
	 { (char *)"DataViewModelNotifier_BeforeReset", (PyCFunction)_wrap_DataViewModelNotifier_BeforeReset, METH_O, NULL},
	 { (char *)"DataViewModelNotifier_AfterReset", (PyCFunction)_wrap_DataViewModelNotifier_AfterReset, METH_O, NULL},
	 { (char *)"DataViewModelNotifier_Resort", (PyCFunction)_wrap_DataViewModelNotifier_Resort, METH_O, NULL},
	 { (char *)"DataViewModelNotifier_SetOwner", (PyCFunction) _wrap_DataViewModelNotifier_SetOwner, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewModelNotifier_GetOwner", (PyCFunction)_wrap_DataViewModelNotifier_GetOwner, METH_O, NULL},
	 { (char *)"DataViewModelNotifier_swigregister", DataViewModelNotifier_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_PyDataViewModelNotifier", (PyCFunction)_wrap_new_PyDataViewModelNotifier, METH_NOARGS, NULL},
	 { (char *)"PyDataViewModelNotifier__setCallbackInfo", (PyCFunction) _wrap_PyDataViewModelNotifier__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"PyDataViewModelNotifier_swigregister", PyDataViewModelNotifier_swigregister, METH_VARARGS, NULL},
	 { (char *)"PyDataViewModelNotifier_swiginit", PyDataViewModelNotifier_swiginit, METH_VARARGS, NULL},
	 { (char *)"new_DataViewItemAttr", (PyCFunction)_wrap_new_DataViewItemAttr, METH_NOARGS, NULL},
	 { (char *)"delete_DataViewItemAttr", (PyCFunction)_wrap_delete_DataViewItemAttr, METH_O, NULL},
	 { (char *)"DataViewItemAttr_SetColour", (PyCFunction) _wrap_DataViewItemAttr_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewItemAttr_SetBold", (PyCFunction) _wrap_DataViewItemAttr_SetBold, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewItemAttr_SetItalic", (PyCFunction) _wrap_DataViewItemAttr_SetItalic, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewItemAttr_HasColour", (PyCFunction)_wrap_DataViewItemAttr_HasColour, METH_O, NULL},
	 { (char *)"DataViewItemAttr_GetColour", (PyCFunction)_wrap_DataViewItemAttr_GetColour, METH_O, NULL},
	 { (char *)"DataViewItemAttr_HasFont", (PyCFunction)_wrap_DataViewItemAttr_HasFont, METH_O, NULL},
	 { (char *)"DataViewItemAttr_GetBold", (PyCFunction)_wrap_DataViewItemAttr_GetBold, METH_O, NULL},
	 { (char *)"DataViewItemAttr_GetItalic", (PyCFunction)_wrap_DataViewItemAttr_GetItalic, METH_O, NULL},
	 { (char *)"DataViewItemAttr_IsDefault", (PyCFunction)_wrap_DataViewItemAttr_IsDefault, METH_O, NULL},
	 { (char *)"DataViewItemAttr_GetEffectiveFont", (PyCFunction) _wrap_DataViewItemAttr_GetEffectiveFont, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewItemAttr_swigregister", DataViewItemAttr_swigregister, METH_VARARGS, NULL},
	 { (char *)"DataViewItemAttr_swiginit", DataViewItemAttr_swiginit, METH_VARARGS, NULL},
	 { (char *)"DataViewModel_GetColumnCount", (PyCFunction)_wrap_DataViewModel_GetColumnCount, METH_O, NULL},
	 { (char *)"DataViewModel_GetColumnType", (PyCFunction) _wrap_DataViewModel_GetColumnType, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewModel_GetValue", (PyCFunction) _wrap_DataViewModel_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewModel_HasValue", (PyCFunction) _wrap_DataViewModel_HasValue, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewModel_SetValue", (PyCFunction) _wrap_DataViewModel_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewModel_ChangeValue", (PyCFunction) _wrap_DataViewModel_ChangeValue, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewModel_GetAttr", (PyCFunction) _wrap_DataViewModel_GetAttr, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewModel_IsEnabled", (PyCFunction) _wrap_DataViewModel_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewModel_GetParent", (PyCFunction) _wrap_DataViewModel_GetParent, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewModel_IsContainer", (PyCFunction) _wrap_DataViewModel_IsContainer, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewModel_HasContainerColumns", (PyCFunction) _wrap_DataViewModel_HasContainerColumns, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewModel_GetChildren", (PyCFunction) _wrap_DataViewModel_GetChildren, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewModel_ItemAdded", (PyCFunction) _wrap_DataViewModel_ItemAdded, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewModel_ItemsAdded", (PyCFunction) _wrap_DataViewModel_ItemsAdded, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewModel_ItemDeleted", (PyCFunction) _wrap_DataViewModel_ItemDeleted, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewModel_ItemsDeleted", (PyCFunction) _wrap_DataViewModel_ItemsDeleted, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewModel_ItemChanged", (PyCFunction) _wrap_DataViewModel_ItemChanged, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewModel_ItemsChanged", (PyCFunction) _wrap_DataViewModel_ItemsChanged, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewModel_ValueChanged", (PyCFunction) _wrap_DataViewModel_ValueChanged, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewModel_Cleared", (PyCFunction)_wrap_DataViewModel_Cleared, METH_O, NULL},
	 { (char *)"DataViewModel_BeforeReset", (PyCFunction)_wrap_DataViewModel_BeforeReset, METH_O, NULL},
	 { (char *)"DataViewModel_AfterReset", (PyCFunction)_wrap_DataViewModel_AfterReset, METH_O, NULL},
	 { (char *)"DataViewModel_Resort", (PyCFunction)_wrap_DataViewModel_Resort, METH_O, NULL},
	 { (char *)"DataViewModel_AddNotifier", (PyCFunction) _wrap_DataViewModel_AddNotifier, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewModel_RemoveNotifier", (PyCFunction) _wrap_DataViewModel_RemoveNotifier, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewModel_Compare", (PyCFunction) _wrap_DataViewModel_Compare, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewModel_HasDefaultCompare", (PyCFunction)_wrap_DataViewModel_HasDefaultCompare, METH_O, NULL},
	 { (char *)"DataViewModel_IsListModel", (PyCFunction)_wrap_DataViewModel_IsListModel, METH_O, NULL},
	 { (char *)"DataViewModel_IsVirtualListModel", (PyCFunction)_wrap_DataViewModel_IsVirtualListModel, METH_O, NULL},
	 { (char *)"DataViewModel_swigregister", DataViewModel_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_PyDataViewModel", (PyCFunction)_wrap_new_PyDataViewModel, METH_NOARGS, NULL},
	 { (char *)"PyDataViewModel__setCallbackInfo", (PyCFunction) _wrap_PyDataViewModel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"PyDataViewModel_swigregister", PyDataViewModel_swigregister, METH_VARARGS, NULL},
	 { (char *)"PyDataViewModel_swiginit", PyDataViewModel_swiginit, METH_VARARGS, NULL},
	 { (char *)"delete_DataViewIndexListModel", (PyCFunction)_wrap_delete_DataViewIndexListModel, METH_O, NULL},
	 { (char *)"DataViewIndexListModel_GetValueByRow", (PyCFunction) _wrap_DataViewIndexListModel_GetValueByRow, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewIndexListModel_SetValueByRow", (PyCFunction) _wrap_DataViewIndexListModel_SetValueByRow, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewIndexListModel_GetAttrByRow", (PyCFunction) _wrap_DataViewIndexListModel_GetAttrByRow, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewIndexListModel_IsEnabledByRow", (PyCFunction) _wrap_DataViewIndexListModel_IsEnabledByRow, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewIndexListModel_RowPrepended", (PyCFunction)_wrap_DataViewIndexListModel_RowPrepended, METH_O, NULL},
	 { (char *)"DataViewIndexListModel_RowInserted", (PyCFunction) _wrap_DataViewIndexListModel_RowInserted, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewIndexListModel_RowAppended", (PyCFunction)_wrap_DataViewIndexListModel_RowAppended, METH_O, NULL},
	 { (char *)"DataViewIndexListModel_RowDeleted", (PyCFunction) _wrap_DataViewIndexListModel_RowDeleted, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewIndexListModel_RowsDeleted", (PyCFunction) _wrap_DataViewIndexListModel_RowsDeleted, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewIndexListModel_RowChanged", (PyCFunction) _wrap_DataViewIndexListModel_RowChanged, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewIndexListModel_RowValueChanged", (PyCFunction) _wrap_DataViewIndexListModel_RowValueChanged, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewIndexListModel_Reset", (PyCFunction) _wrap_DataViewIndexListModel_Reset, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewIndexListModel_GetRow", (PyCFunction) _wrap_DataViewIndexListModel_GetRow, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewIndexListModel_GetCount", (PyCFunction)_wrap_DataViewIndexListModel_GetCount, METH_O, NULL},
	 { (char *)"DataViewIndexListModel_GetItem", (PyCFunction) _wrap_DataViewIndexListModel_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewIndexListModel_swigregister", DataViewIndexListModel_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_PyDataViewIndexListModel", (PyCFunction) _wrap_new_PyDataViewIndexListModel, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"PyDataViewIndexListModel__setCallbackInfo", (PyCFunction) _wrap_PyDataViewIndexListModel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"PyDataViewIndexListModel_swigregister", PyDataViewIndexListModel_swigregister, METH_VARARGS, NULL},
	 { (char *)"PyDataViewIndexListModel_swiginit", PyDataViewIndexListModel_swiginit, METH_VARARGS, NULL},
	 { (char *)"delete_DataViewVirtualListModel", (PyCFunction)_wrap_delete_DataViewVirtualListModel, METH_O, NULL},
	 { (char *)"DataViewVirtualListModel_GetValueByRow", (PyCFunction) _wrap_DataViewVirtualListModel_GetValueByRow, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewVirtualListModel_SetValueByRow", (PyCFunction) _wrap_DataViewVirtualListModel_SetValueByRow, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewVirtualListModel_GetAttrByRow", (PyCFunction) _wrap_DataViewVirtualListModel_GetAttrByRow, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewVirtualListModel_IsEnabledByRow", (PyCFunction) _wrap_DataViewVirtualListModel_IsEnabledByRow, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewVirtualListModel_RowPrepended", (PyCFunction)_wrap_DataViewVirtualListModel_RowPrepended, METH_O, NULL},
	 { (char *)"DataViewVirtualListModel_RowInserted", (PyCFunction) _wrap_DataViewVirtualListModel_RowInserted, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewVirtualListModel_RowAppended", (PyCFunction)_wrap_DataViewVirtualListModel_RowAppended, METH_O, NULL},
	 { (char *)"DataViewVirtualListModel_RowDeleted", (PyCFunction) _wrap_DataViewVirtualListModel_RowDeleted, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewVirtualListModel_RowsDeleted", (PyCFunction) _wrap_DataViewVirtualListModel_RowsDeleted, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewVirtualListModel_RowChanged", (PyCFunction) _wrap_DataViewVirtualListModel_RowChanged, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewVirtualListModel_RowValueChanged", (PyCFunction) _wrap_DataViewVirtualListModel_RowValueChanged, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewVirtualListModel_Reset", (PyCFunction) _wrap_DataViewVirtualListModel_Reset, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewVirtualListModel_GetRow", (PyCFunction) _wrap_DataViewVirtualListModel_GetRow, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewVirtualListModel_GetCount", (PyCFunction)_wrap_DataViewVirtualListModel_GetCount, METH_O, NULL},
	 { (char *)"DataViewVirtualListModel_GetItem", (PyCFunction) _wrap_DataViewVirtualListModel_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewVirtualListModel_swigregister", DataViewVirtualListModel_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_PyDataViewVirtualListModel", (PyCFunction) _wrap_new_PyDataViewVirtualListModel, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"PyDataViewVirtualListModel__setCallbackInfo", (PyCFunction) _wrap_PyDataViewVirtualListModel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"PyDataViewVirtualListModel_swigregister", PyDataViewVirtualListModel_swigregister, METH_VARARGS, NULL},
	 { (char *)"PyDataViewVirtualListModel_swiginit", PyDataViewVirtualListModel_swiginit, METH_VARARGS, NULL},
	 { (char *)"delete_DataViewRenderer", (PyCFunction)_wrap_delete_DataViewRenderer, METH_O, NULL},
	 { (char *)"DataViewRenderer_Validate", (PyCFunction) _wrap_DataViewRenderer_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewRenderer_SetOwner", (PyCFunction) _wrap_DataViewRenderer_SetOwner, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewRenderer_GetOwner", (PyCFunction)_wrap_DataViewRenderer_GetOwner, METH_O, NULL},
	 { (char *)"DataViewRenderer_SetValue", (PyCFunction) _wrap_DataViewRenderer_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewRenderer_GetValue", (PyCFunction)_wrap_DataViewRenderer_GetValue, METH_O, NULL},
	 { (char *)"DataViewRenderer_SetAttr", (PyCFunction) _wrap_DataViewRenderer_SetAttr, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewRenderer_SetEnabled", (PyCFunction) _wrap_DataViewRenderer_SetEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewRenderer_GetVariantType", (PyCFunction)_wrap_DataViewRenderer_GetVariantType, METH_O, NULL},
	 { (char *)"DataViewRenderer_PrepareForItem", (PyCFunction) _wrap_DataViewRenderer_PrepareForItem, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewRenderer_SetMode", (PyCFunction) _wrap_DataViewRenderer_SetMode, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewRenderer_GetMode", (PyCFunction)_wrap_DataViewRenderer_GetMode, METH_O, NULL},
	 { (char *)"DataViewRenderer_SetAlignment", (PyCFunction) _wrap_DataViewRenderer_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewRenderer_GetAlignment", (PyCFunction)_wrap_DataViewRenderer_GetAlignment, METH_O, NULL},
	 { (char *)"DataViewRenderer_EnableEllipsize", (PyCFunction) _wrap_DataViewRenderer_EnableEllipsize, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewRenderer_DisableEllipsize", (PyCFunction)_wrap_DataViewRenderer_DisableEllipsize, METH_O, NULL},
	 { (char *)"DataViewRenderer_GetEllipsizeMode", (PyCFunction)_wrap_DataViewRenderer_GetEllipsizeMode, METH_O, NULL},
	 { (char *)"DataViewRenderer_HasEditorCtrl", (PyCFunction)_wrap_DataViewRenderer_HasEditorCtrl, METH_O, NULL},
	 { (char *)"DataViewRenderer_CreateEditorCtrl", (PyCFunction) _wrap_DataViewRenderer_CreateEditorCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewRenderer_GetValueFromEditorCtrl", (PyCFunction) _wrap_DataViewRenderer_GetValueFromEditorCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewRenderer_StartEditing", (PyCFunction) _wrap_DataViewRenderer_StartEditing, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewRenderer_CancelEditing", (PyCFunction)_wrap_DataViewRenderer_CancelEditing, METH_O, NULL},
	 { (char *)"DataViewRenderer_FinishEditing", (PyCFunction)_wrap_DataViewRenderer_FinishEditing, METH_O, NULL},
	 { (char *)"DataViewRenderer_GetEditorCtrl", (PyCFunction)_wrap_DataViewRenderer_GetEditorCtrl, METH_O, NULL},
	 { (char *)"DataViewRenderer_swigregister", DataViewRenderer_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_DataViewTextRenderer", (PyCFunction) _wrap_new_DataViewTextRenderer, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewTextRenderer_swigregister", DataViewTextRenderer_swigregister, METH_VARARGS, NULL},
	 { (char *)"DataViewTextRenderer_swiginit", DataViewTextRenderer_swiginit, METH_VARARGS, NULL},
	 { (char *)"new_DataViewBitmapRenderer", (PyCFunction) _wrap_new_DataViewBitmapRenderer, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewBitmapRenderer_swigregister", DataViewBitmapRenderer_swigregister, METH_VARARGS, NULL},
	 { (char *)"DataViewBitmapRenderer_swiginit", DataViewBitmapRenderer_swiginit, METH_VARARGS, NULL},
	 { (char *)"new_DataViewIconTextRenderer", (PyCFunction) _wrap_new_DataViewIconTextRenderer, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewIconTextRenderer_swigregister", DataViewIconTextRenderer_swigregister, METH_VARARGS, NULL},
	 { (char *)"DataViewIconTextRenderer_swiginit", DataViewIconTextRenderer_swiginit, METH_VARARGS, NULL},
	 { (char *)"new_DataViewIconText", (PyCFunction) _wrap_new_DataViewIconText, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"delete_DataViewIconText", (PyCFunction)_wrap_delete_DataViewIconText, METH_O, NULL},
	 { (char *)"DataViewIconText_SetText", (PyCFunction) _wrap_DataViewIconText_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewIconText_GetText", (PyCFunction)_wrap_DataViewIconText_GetText, METH_O, NULL},
	 { (char *)"DataViewIconText_SetIcon", (PyCFunction) _wrap_DataViewIconText_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewIconText_GetIcon", (PyCFunction)_wrap_DataViewIconText_GetIcon, METH_O, NULL},
	 { (char *)"DataViewIconText_swigregister", DataViewIconText_swigregister, METH_VARARGS, NULL},
	 { (char *)"DataViewIconText_swiginit", DataViewIconText_swiginit, METH_VARARGS, NULL},
	 { (char *)"new_DataViewToggleRenderer", (PyCFunction) _wrap_new_DataViewToggleRenderer, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewToggleRenderer_swigregister", DataViewToggleRenderer_swigregister, METH_VARARGS, NULL},
	 { (char *)"DataViewToggleRenderer_swiginit", DataViewToggleRenderer_swiginit, METH_VARARGS, NULL},
	 { (char *)"new_DataViewProgressRenderer", (PyCFunction) _wrap_new_DataViewProgressRenderer, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewProgressRenderer_swigregister", DataViewProgressRenderer_swigregister, METH_VARARGS, NULL},
	 { (char *)"DataViewProgressRenderer_swiginit", DataViewProgressRenderer_swiginit, METH_VARARGS, NULL},
	 { (char *)"new_DataViewSpinRenderer", (PyCFunction) _wrap_new_DataViewSpinRenderer, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewSpinRenderer_swigregister", DataViewSpinRenderer_swigregister, METH_VARARGS, NULL},
	 { (char *)"DataViewSpinRenderer_swiginit", DataViewSpinRenderer_swiginit, METH_VARARGS, NULL},
	 { (char *)"DataViewCustomRenderer_GetAttr", (PyCFunction)_wrap_DataViewCustomRenderer_GetAttr, METH_O, NULL},
	 { (char *)"DataViewCustomRenderer_GetEnabled", (PyCFunction)_wrap_DataViewCustomRenderer_GetEnabled, METH_O, NULL},
	 { (char *)"DataViewCustomRenderer_swigregister", DataViewCustomRenderer_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_DataViewChoiceRenderer", (PyCFunction) _wrap_new_DataViewChoiceRenderer, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewChoiceRenderer_GetChoice", (PyCFunction) _wrap_DataViewChoiceRenderer_GetChoice, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewChoiceRenderer_GetChoices", (PyCFunction)_wrap_DataViewChoiceRenderer_GetChoices, METH_O, NULL},
	 { (char *)"DataViewChoiceRenderer_swigregister", DataViewChoiceRenderer_swigregister, METH_VARARGS, NULL},
	 { (char *)"DataViewChoiceRenderer_swiginit", DataViewChoiceRenderer_swiginit, METH_VARARGS, NULL},
	 { (char *)"new_DataViewDateRenderer", (PyCFunction) _wrap_new_DataViewDateRenderer, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewDateRenderer_swigregister", DataViewDateRenderer_swigregister, METH_VARARGS, NULL},
	 { (char *)"DataViewDateRenderer_swiginit", DataViewDateRenderer_swiginit, METH_VARARGS, NULL},
	 { (char *)"new_PyDataViewCustomRenderer", (PyCFunction) _wrap_new_PyDataViewCustomRenderer, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"PyDataViewCustomRenderer__setCallbackInfo", (PyCFunction) _wrap_PyDataViewCustomRenderer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"PyDataViewCustomRenderer_RenderText", (PyCFunction) _wrap_PyDataViewCustomRenderer_RenderText, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"PyDataViewCustomRenderer_GetSize", (PyCFunction)_wrap_PyDataViewCustomRenderer_GetSize, METH_O, NULL},
	 { (char *)"PyDataViewCustomRenderer_Render", (PyCFunction) _wrap_PyDataViewCustomRenderer_Render, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"PyDataViewCustomRenderer_Activate", (PyCFunction) _wrap_PyDataViewCustomRenderer_Activate, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"PyDataViewCustomRenderer_LeftClick", (PyCFunction) _wrap_PyDataViewCustomRenderer_LeftClick, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"PyDataViewCustomRenderer_StartDrag", (PyCFunction) _wrap_PyDataViewCustomRenderer_StartDrag, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"PyDataViewCustomRenderer_GetDC", (PyCFunction)_wrap_PyDataViewCustomRenderer_GetDC, METH_O, NULL},
	 { (char *)"PyDataViewCustomRenderer_GetTextExtent", (PyCFunction) _wrap_PyDataViewCustomRenderer_GetTextExtent, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"PyDataViewCustomRenderer_GetView", (PyCFunction)_wrap_PyDataViewCustomRenderer_GetView, METH_O, NULL},
	 { (char *)"PyDataViewCustomRenderer_swigregister", PyDataViewCustomRenderer_swigregister, METH_VARARGS, NULL},
	 { (char *)"PyDataViewCustomRenderer_swiginit", PyDataViewCustomRenderer_swiginit, METH_VARARGS, NULL},
	 { (char *)"new_DataViewColumn", (PyCFunction) _wrap_new_DataViewColumn, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewColumn_SetOwner", (PyCFunction) _wrap_DataViewColumn_SetOwner, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewColumn_GetModelColumn", (PyCFunction)_wrap_DataViewColumn_GetModelColumn, METH_O, NULL},
	 { (char *)"DataViewColumn_GetOwner", (PyCFunction)_wrap_DataViewColumn_GetOwner, METH_O, NULL},
	 { (char *)"DataViewColumn_GetRenderer", (PyCFunction)_wrap_DataViewColumn_GetRenderer, METH_O, NULL},
	 { (char *)"DataViewColumn_swigregister", DataViewColumn_swigregister, METH_VARARGS, NULL},
	 { (char *)"DataViewColumn_swiginit", DataViewColumn_swiginit, METH_VARARGS, NULL},
	 { (char *)"new_DataViewCtrl", (PyCFunction) _wrap_new_DataViewCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"new_PreDataViewCtrl", (PyCFunction)_wrap_new_PreDataViewCtrl, METH_NOARGS, NULL},
	 { (char *)"DataViewCtrl_Create", (PyCFunction) _wrap_DataViewCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewCtrl_AssociateModel", (PyCFunction) _wrap_DataViewCtrl_AssociateModel, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewCtrl_GetModel", (PyCFunction)_wrap_DataViewCtrl_GetModel, METH_O, NULL},
	 { (char *)"DataViewCtrl_PrependTextColumn", (PyCFunction) _wrap_DataViewCtrl_PrependTextColumn, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewCtrl_PrependIconTextColumn", (PyCFunction) _wrap_DataViewCtrl_PrependIconTextColumn, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewCtrl_PrependToggleColumn", (PyCFunction) _wrap_DataViewCtrl_PrependToggleColumn, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewCtrl_PrependProgressColumn", (PyCFunction) _wrap_DataViewCtrl_PrependProgressColumn, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewCtrl_PrependDateColumn", (PyCFunction) _wrap_DataViewCtrl_PrependDateColumn, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewCtrl_PrependBitmapColumn", (PyCFunction) _wrap_DataViewCtrl_PrependBitmapColumn, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewCtrl_AppendTextColumn", (PyCFunction) _wrap_DataViewCtrl_AppendTextColumn, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewCtrl_AppendIconTextColumn", (PyCFunction) _wrap_DataViewCtrl_AppendIconTextColumn, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewCtrl_AppendToggleColumn", (PyCFunction) _wrap_DataViewCtrl_AppendToggleColumn, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewCtrl_AppendProgressColumn", (PyCFunction) _wrap_DataViewCtrl_AppendProgressColumn, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewCtrl_AppendDateColumn", (PyCFunction) _wrap_DataViewCtrl_AppendDateColumn, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewCtrl_AppendBitmapColumn", (PyCFunction) _wrap_DataViewCtrl_AppendBitmapColumn, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewCtrl_PrependColumn", (PyCFunction) _wrap_DataViewCtrl_PrependColumn, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewCtrl_InsertColumn", (PyCFunction) _wrap_DataViewCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewCtrl_AppendColumn", (PyCFunction) _wrap_DataViewCtrl_AppendColumn, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewCtrl_GetColumnCount", (PyCFunction)_wrap_DataViewCtrl_GetColumnCount, METH_O, NULL},
	 { (char *)"DataViewCtrl_GetColumn", (PyCFunction) _wrap_DataViewCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewCtrl_GetColumnPosition", (PyCFunction) _wrap_DataViewCtrl_GetColumnPosition, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewCtrl_DeleteColumn", (PyCFunction) _wrap_DataViewCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewCtrl_ClearColumns", (PyCFunction)_wrap_DataViewCtrl_ClearColumns, METH_O, NULL},
	 { (char *)"DataViewCtrl_SetExpanderColumn", (PyCFunction) _wrap_DataViewCtrl_SetExpanderColumn, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewCtrl_GetExpanderColumn", (PyCFunction)_wrap_DataViewCtrl_GetExpanderColumn, METH_O, NULL},
	 { (char *)"DataViewCtrl_GetSortingColumn", (PyCFunction)_wrap_DataViewCtrl_GetSortingColumn, METH_O, NULL},
	 { (char *)"DataViewCtrl_SetIndent", (PyCFunction) _wrap_DataViewCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewCtrl_GetIndent", (PyCFunction)_wrap_DataViewCtrl_GetIndent, METH_O, NULL},
	 { (char *)"DataViewCtrl_GetCurrentItem", (PyCFunction)_wrap_DataViewCtrl_GetCurrentItem, METH_O, NULL},
	 { (char *)"DataViewCtrl_SetCurrentItem", (PyCFunction) _wrap_DataViewCtrl_SetCurrentItem, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewCtrl_GetCurrentColumn", (PyCFunction)_wrap_DataViewCtrl_GetCurrentColumn, METH_O, NULL},
	 { (char *)"DataViewCtrl_GetSelectedItemsCount", (PyCFunction)_wrap_DataViewCtrl_GetSelectedItemsCount, METH_O, NULL},
	 { (char *)"DataViewCtrl_HasSelection", (PyCFunction)_wrap_DataViewCtrl_HasSelection, METH_O, NULL},
	 { (char *)"DataViewCtrl_GetSelection", (PyCFunction)_wrap_DataViewCtrl_GetSelection, METH_O, NULL},
	 { (char *)"DataViewCtrl_GetSelections", (PyCFunction)_wrap_DataViewCtrl_GetSelections, METH_O, NULL},
	 { (char *)"DataViewCtrl_SetSelections", (PyCFunction) _wrap_DataViewCtrl_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewCtrl_Select", (PyCFunction) _wrap_DataViewCtrl_Select, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewCtrl_Unselect", (PyCFunction) _wrap_DataViewCtrl_Unselect, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewCtrl_IsSelected", (PyCFunction) _wrap_DataViewCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewCtrl_SelectAll", (PyCFunction)_wrap_DataViewCtrl_SelectAll, METH_O, NULL},
	 { (char *)"DataViewCtrl_UnselectAll", (PyCFunction)_wrap_DataViewCtrl_UnselectAll, METH_O, NULL},
	 { (char *)"DataViewCtrl_Expand", (PyCFunction) _wrap_DataViewCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewCtrl_ExpandAncestors", (PyCFunction) _wrap_DataViewCtrl_ExpandAncestors, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewCtrl_Collapse", (PyCFunction) _wrap_DataViewCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewCtrl_IsExpanded", (PyCFunction) _wrap_DataViewCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewCtrl_EnsureVisible", (PyCFunction) _wrap_DataViewCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewCtrl_HitTest", (PyCFunction) _wrap_DataViewCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewCtrl_GetItemRect", (PyCFunction) _wrap_DataViewCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewCtrl_SetRowHeight", (PyCFunction) _wrap_DataViewCtrl_SetRowHeight, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewCtrl_EditItem", (PyCFunction) _wrap_DataViewCtrl_EditItem, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewCtrl_EnableDragSource", (PyCFunction) _wrap_DataViewCtrl_EnableDragSource, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewCtrl_EnableDropTarget", (PyCFunction) _wrap_DataViewCtrl_EnableDropTarget, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_DataViewCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewCtrl_swigregister", DataViewCtrl_swigregister, METH_VARARGS, NULL},
	 { (char *)"DataViewCtrl_swiginit", DataViewCtrl_swiginit, METH_VARARGS, NULL},
	 { (char *)"new_DataViewEvent", (PyCFunction) _wrap_new_DataViewEvent, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewEvent_GetItem", (PyCFunction)_wrap_DataViewEvent_GetItem, METH_O, NULL},
	 { (char *)"DataViewEvent_SetItem", (PyCFunction) _wrap_DataViewEvent_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewEvent_GetColumn", (PyCFunction)_wrap_DataViewEvent_GetColumn, METH_O, NULL},
	 { (char *)"DataViewEvent_SetColumn", (PyCFunction) _wrap_DataViewEvent_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewEvent_GetModel", (PyCFunction)_wrap_DataViewEvent_GetModel, METH_O, NULL},
	 { (char *)"DataViewEvent_SetModel", (PyCFunction) _wrap_DataViewEvent_SetModel, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewEvent_GetValue", (PyCFunction)_wrap_DataViewEvent_GetValue, METH_O, NULL},
	 { (char *)"DataViewEvent_SetValue", (PyCFunction) _wrap_DataViewEvent_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewEvent_IsEditCancelled", (PyCFunction)_wrap_DataViewEvent_IsEditCancelled, METH_O, NULL},
	 { (char *)"DataViewEvent_SetEditCanceled", (PyCFunction) _wrap_DataViewEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewEvent_SetDataViewColumn", (PyCFunction) _wrap_DataViewEvent_SetDataViewColumn, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewEvent_GetDataViewColumn", (PyCFunction)_wrap_DataViewEvent_GetDataViewColumn, METH_O, NULL},
	 { (char *)"DataViewEvent_GetPosition", (PyCFunction)_wrap_DataViewEvent_GetPosition, METH_O, NULL},
	 { (char *)"DataViewEvent_SetPosition", (PyCFunction) _wrap_DataViewEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewEvent_GetCacheFrom", (PyCFunction)_wrap_DataViewEvent_GetCacheFrom, METH_O, NULL},
	 { (char *)"DataViewEvent_GetCacheTo", (PyCFunction)_wrap_DataViewEvent_GetCacheTo, METH_O, NULL},
	 { (char *)"DataViewEvent_SetCache", (PyCFunction) _wrap_DataViewEvent_SetCache, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewEvent_SetDataObject", (PyCFunction) _wrap_DataViewEvent_SetDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewEvent_GetDataObject", (PyCFunction)_wrap_DataViewEvent_GetDataObject, METH_O, NULL},
	 { (char *)"DataViewEvent_SetDataFormat", (PyCFunction) _wrap_DataViewEvent_SetDataFormat, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewEvent_GetDataFormat", (PyCFunction)_wrap_DataViewEvent_GetDataFormat, METH_O, NULL},
	 { (char *)"DataViewEvent_SetDataSize", (PyCFunction) _wrap_DataViewEvent_SetDataSize, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewEvent_GetDataSize", (PyCFunction)_wrap_DataViewEvent_GetDataSize, METH_O, NULL},
	 { (char *)"DataViewEvent_SetDataBuffer", (PyCFunction) _wrap_DataViewEvent_SetDataBuffer, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewEvent_GetDataBuffer", (PyCFunction)_wrap_DataViewEvent_GetDataBuffer, METH_O, NULL},
	 { (char *)"DataViewEvent_SetDragFlags", (PyCFunction) _wrap_DataViewEvent_SetDragFlags, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewEvent_GetDragFlags", (PyCFunction)_wrap_DataViewEvent_GetDragFlags, METH_O, NULL},
	 { (char *)"DataViewEvent_swigregister", DataViewEvent_swigregister, METH_VARARGS, NULL},
	 { (char *)"DataViewEvent_swiginit", DataViewEvent_swiginit, METH_VARARGS, NULL},
	 { (char *)"new_DataViewListStore", (PyCFunction)_wrap_new_DataViewListStore, METH_NOARGS, NULL},
	 { (char *)"DataViewListStore_swigregister", DataViewListStore_swigregister, METH_VARARGS, NULL},
	 { (char *)"DataViewListStore_swiginit", DataViewListStore_swiginit, METH_VARARGS, NULL},
	 { (char *)"new_DataViewListCtrl", (PyCFunction) _wrap_new_DataViewListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"new_PreDataViewListCtrl", (PyCFunction)_wrap_new_PreDataViewListCtrl, METH_NOARGS, NULL},
	 { (char *)"DataViewListCtrl_Create", (PyCFunction) _wrap_DataViewListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewListCtrl_GetStore", (PyCFunction)_wrap_DataViewListCtrl_GetStore, METH_O, NULL},
	 { (char *)"DataViewListCtrl_ItemToRow", (PyCFunction) _wrap_DataViewListCtrl_ItemToRow, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewListCtrl_RowToItem", (PyCFunction) _wrap_DataViewListCtrl_RowToItem, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewListCtrl_GetSelectedRow", (PyCFunction)_wrap_DataViewListCtrl_GetSelectedRow, METH_O, NULL},
	 { (char *)"DataViewListCtrl_SelectRow", (PyCFunction) _wrap_DataViewListCtrl_SelectRow, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewListCtrl_UnselectRow", (PyCFunction) _wrap_DataViewListCtrl_UnselectRow, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewListCtrl_IsRowSelected", (PyCFunction) _wrap_DataViewListCtrl_IsRowSelected, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewListCtrl_AppendColumn", (PyCFunction) _wrap_DataViewListCtrl_AppendColumn, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewListCtrl_PrependColumn", (PyCFunction) _wrap_DataViewListCtrl_PrependColumn, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewListCtrl_InsertColumn", (PyCFunction) _wrap_DataViewListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewListCtrl_AppendTextColumn", (PyCFunction) _wrap_DataViewListCtrl_AppendTextColumn, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewListCtrl_AppendToggleColumn", (PyCFunction) _wrap_DataViewListCtrl_AppendToggleColumn, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewListCtrl_AppendProgressColumn", (PyCFunction) _wrap_DataViewListCtrl_AppendProgressColumn, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewListCtrl_AppendIconTextColumn", (PyCFunction) _wrap_DataViewListCtrl_AppendIconTextColumn, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewListCtrl_AppendItem", (PyCFunction) _wrap_DataViewListCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewListCtrl_PrependItem", (PyCFunction) _wrap_DataViewListCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewListCtrl_InsertItem", (PyCFunction) _wrap_DataViewListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewListCtrl_DeleteItem", (PyCFunction) _wrap_DataViewListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewListCtrl_DeleteAllItems", (PyCFunction)_wrap_DataViewListCtrl_DeleteAllItems, METH_O, NULL},
	 { (char *)"DataViewListCtrl_SetValue", (PyCFunction) _wrap_DataViewListCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewListCtrl_GetValue", (PyCFunction) _wrap_DataViewListCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewListCtrl_SetTextValue", (PyCFunction) _wrap_DataViewListCtrl_SetTextValue, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewListCtrl_GetTextValue", (PyCFunction) _wrap_DataViewListCtrl_GetTextValue, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewListCtrl_SetToggleValue", (PyCFunction) _wrap_DataViewListCtrl_SetToggleValue, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewListCtrl_GetToggleValue", (PyCFunction) _wrap_DataViewListCtrl_GetToggleValue, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewListCtrl_SetItemData", (PyCFunction) _wrap_DataViewListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewListCtrl_GetItemData", (PyCFunction) _wrap_DataViewListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewListCtrl_swigregister", DataViewListCtrl_swigregister, METH_VARARGS, NULL},
	 { (char *)"DataViewListCtrl_swiginit", DataViewListCtrl_swiginit, METH_VARARGS, NULL},
	 { (char *)"new_DataViewTreeStoreNode", (PyCFunction) _wrap_new_DataViewTreeStoreNode, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"delete_DataViewTreeStoreNode", (PyCFunction)_wrap_delete_DataViewTreeStoreNode, METH_O, NULL},
	 { (char *)"DataViewTreeStoreNode_SetText", (PyCFunction) _wrap_DataViewTreeStoreNode_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewTreeStoreNode_GetText", (PyCFunction)_wrap_DataViewTreeStoreNode_GetText, METH_O, NULL},
	 { (char *)"DataViewTreeStoreNode_SetIcon", (PyCFunction) _wrap_DataViewTreeStoreNode_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewTreeStoreNode_GetIcon", (PyCFunction)_wrap_DataViewTreeStoreNode_GetIcon, METH_O, NULL},
	 { (char *)"DataViewTreeStoreNode_SetData", (PyCFunction) _wrap_DataViewTreeStoreNode_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewTreeStoreNode_GetData", (PyCFunction)_wrap_DataViewTreeStoreNode_GetData, METH_O, NULL},
	 { (char *)"DataViewTreeStoreNode_GetItem", (PyCFunction)_wrap_DataViewTreeStoreNode_GetItem, METH_O, NULL},
	 { (char *)"DataViewTreeStoreNode_IsContainer", (PyCFunction)_wrap_DataViewTreeStoreNode_IsContainer, METH_O, NULL},
	 { (char *)"DataViewTreeStoreNode_GetParent", (PyCFunction)_wrap_DataViewTreeStoreNode_GetParent, METH_O, NULL},
	 { (char *)"DataViewTreeStoreNode_swigregister", DataViewTreeStoreNode_swigregister, METH_VARARGS, NULL},
	 { (char *)"DataViewTreeStoreNode_swiginit", DataViewTreeStoreNode_swiginit, METH_VARARGS, NULL},
	 { (char *)"delete_DataViewTreeStoreNodeList_iterator", (PyCFunction)_wrap_delete_DataViewTreeStoreNodeList_iterator, METH_O, NULL},
	 { (char *)"DataViewTreeStoreNodeList_iterator_next", (PyCFunction)_wrap_DataViewTreeStoreNodeList_iterator_next, METH_O, NULL},
	 { (char *)"DataViewTreeStoreNodeList_iterator_swigregister", DataViewTreeStoreNodeList_iterator_swigregister, METH_VARARGS, NULL},
	 { (char *)"delete_DataViewTreeStoreNodeList", (PyCFunction)_wrap_delete_DataViewTreeStoreNodeList, METH_O, NULL},
	 { (char *)"DataViewTreeStoreNodeList___len__", (PyCFunction)_wrap_DataViewTreeStoreNodeList___len__, METH_O, NULL},
	 { (char *)"DataViewTreeStoreNodeList___getitem__", (PyCFunction) _wrap_DataViewTreeStoreNodeList___getitem__, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewTreeStoreNodeList___contains__", (PyCFunction) _wrap_DataViewTreeStoreNodeList___contains__, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewTreeStoreNodeList___iter__", (PyCFunction)_wrap_DataViewTreeStoreNodeList___iter__, METH_O, NULL},
	 { (char *)"DataViewTreeStoreNodeList_index", (PyCFunction) _wrap_DataViewTreeStoreNodeList_index, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewTreeStoreNodeList_swigregister", DataViewTreeStoreNodeList_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_DataViewTreeStoreContainerNode", (PyCFunction) _wrap_new_DataViewTreeStoreContainerNode, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"delete_DataViewTreeStoreContainerNode", (PyCFunction)_wrap_delete_DataViewTreeStoreContainerNode, METH_O, NULL},
	 { (char *)"DataViewTreeStoreContainerNode_GetChildren", _wrap_DataViewTreeStoreContainerNode_GetChildren, METH_VARARGS, NULL},
	 { (char *)"DataViewTreeStoreContainerNode_SetExpandedIcon", (PyCFunction) _wrap_DataViewTreeStoreContainerNode_SetExpandedIcon, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewTreeStoreContainerNode_GetExpandedIcon", (PyCFunction)_wrap_DataViewTreeStoreContainerNode_GetExpandedIcon, METH_O, NULL},
	 { (char *)"DataViewTreeStoreContainerNode_SetExpanded", (PyCFunction) _wrap_DataViewTreeStoreContainerNode_SetExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewTreeStoreContainerNode_IsExpanded", (PyCFunction)_wrap_DataViewTreeStoreContainerNode_IsExpanded, METH_O, NULL},
	 { (char *)"DataViewTreeStoreContainerNode_swigregister", DataViewTreeStoreContainerNode_swigregister, METH_VARARGS, NULL},
	 { (char *)"DataViewTreeStoreContainerNode_swiginit", DataViewTreeStoreContainerNode_swiginit, METH_VARARGS, NULL},
	 { (char *)"new_DataViewTreeStore", (PyCFunction)_wrap_new_DataViewTreeStore, METH_NOARGS, NULL},
	 { (char *)"delete_DataViewTreeStore", (PyCFunction)_wrap_delete_DataViewTreeStore, METH_O, NULL},
	 { (char *)"DataViewTreeStore_AppendItem", (PyCFunction) _wrap_DataViewTreeStore_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewTreeStore_PrependItem", (PyCFunction) _wrap_DataViewTreeStore_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewTreeStore_InsertItem", (PyCFunction) _wrap_DataViewTreeStore_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewTreeStore_PrependContainer", (PyCFunction) _wrap_DataViewTreeStore_PrependContainer, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewTreeStore_AppendContainer", (PyCFunction) _wrap_DataViewTreeStore_AppendContainer, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewTreeStore_InsertContainer", (PyCFunction) _wrap_DataViewTreeStore_InsertContainer, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewTreeStore_GetNthChild", (PyCFunction) _wrap_DataViewTreeStore_GetNthChild, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewTreeStore_GetChildCount", (PyCFunction) _wrap_DataViewTreeStore_GetChildCount, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewTreeStore_SetItemText", (PyCFunction) _wrap_DataViewTreeStore_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewTreeStore_GetItemText", (PyCFunction) _wrap_DataViewTreeStore_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewTreeStore_SetItemIcon", (PyCFunction) _wrap_DataViewTreeStore_SetItemIcon, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewTreeStore_GetItemIcon", (PyCFunction) _wrap_DataViewTreeStore_GetItemIcon, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewTreeStore_SetItemExpandedIcon", (PyCFunction) _wrap_DataViewTreeStore_SetItemExpandedIcon, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewTreeStore_GetItemExpandedIcon", (PyCFunction) _wrap_DataViewTreeStore_GetItemExpandedIcon, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewTreeStore_SetItemData", (PyCFunction) _wrap_DataViewTreeStore_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewTreeStore_GetItemData", (PyCFunction) _wrap_DataViewTreeStore_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewTreeStore_DeleteItem", (PyCFunction) _wrap_DataViewTreeStore_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewTreeStore_DeleteChildren", (PyCFunction) _wrap_DataViewTreeStore_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewTreeStore_DeleteAllItems", (PyCFunction)_wrap_DataViewTreeStore_DeleteAllItems, METH_O, NULL},
	 { (char *)"DataViewTreeStore_swigregister", DataViewTreeStore_swigregister, METH_VARARGS, NULL},
	 { (char *)"DataViewTreeStore_swiginit", DataViewTreeStore_swiginit, METH_VARARGS, NULL},
	 { (char *)"new_DataViewTreeCtrl", (PyCFunction) _wrap_new_DataViewTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"new_PreDataViewTreeCtrl", (PyCFunction)_wrap_new_PreDataViewTreeCtrl, METH_NOARGS, NULL},
	 { (char *)"DataViewTreeCtrl_Create", (PyCFunction) _wrap_DataViewTreeCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewTreeCtrl_GetStore", (PyCFunction)_wrap_DataViewTreeCtrl_GetStore, METH_O, NULL},
	 { (char *)"DataViewTreeCtrl_IsContainer", (PyCFunction) _wrap_DataViewTreeCtrl_IsContainer, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewTreeCtrl_AppendItem", (PyCFunction) _wrap_DataViewTreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewTreeCtrl_PrependItem", (PyCFunction) _wrap_DataViewTreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewTreeCtrl_InsertItem", (PyCFunction) _wrap_DataViewTreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewTreeCtrl_PrependContainer", (PyCFunction) _wrap_DataViewTreeCtrl_PrependContainer, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewTreeCtrl_AppendContainer", (PyCFunction) _wrap_DataViewTreeCtrl_AppendContainer, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewTreeCtrl_InsertContainer", (PyCFunction) _wrap_DataViewTreeCtrl_InsertContainer, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewTreeCtrl_GetNthChild", (PyCFunction) _wrap_DataViewTreeCtrl_GetNthChild, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewTreeCtrl_GetChildCount", (PyCFunction) _wrap_DataViewTreeCtrl_GetChildCount, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewTreeCtrl_SetItemText", (PyCFunction) _wrap_DataViewTreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewTreeCtrl_GetItemText", (PyCFunction) _wrap_DataViewTreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewTreeCtrl_SetItemIcon", (PyCFunction) _wrap_DataViewTreeCtrl_SetItemIcon, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewTreeCtrl_GetItemIcon", (PyCFunction) _wrap_DataViewTreeCtrl_GetItemIcon, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewTreeCtrl_SetItemExpandedIcon", (PyCFunction) _wrap_DataViewTreeCtrl_SetItemExpandedIcon, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewTreeCtrl_GetItemExpandedIcon", (PyCFunction) _wrap_DataViewTreeCtrl_GetItemExpandedIcon, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewTreeCtrl_SetItemData", (PyCFunction) _wrap_DataViewTreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewTreeCtrl_GetItemData", (PyCFunction) _wrap_DataViewTreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewTreeCtrl_DeleteItem", (PyCFunction) _wrap_DataViewTreeCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewTreeCtrl_DeleteChildren", (PyCFunction) _wrap_DataViewTreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
	 { (char *)"DataViewTreeCtrl_DeleteAllItems", (PyCFunction)_wrap_DataViewTreeCtrl_DeleteAllItems, METH_O, NULL},
	 { (char *)"DataViewTreeCtrl_swigregister", DataViewTreeCtrl_swigregister, METH_VARARGS, NULL},
	 { (char *)"DataViewTreeCtrl_swiginit", DataViewTreeCtrl_swiginit, METH_VARARGS, NULL},
	 { NULL, NULL, 0, NULL }
};


/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */

static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
    return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
}
static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
    return (void *)((wxEvent *)  ((wxMenuEvent *) x));
}
static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
    return (void *)((wxEvent *)  ((wxCloseEvent *) x));
}
static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
    return (void *)((wxEvent *)  ((wxMouseEvent *) x));
}
static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
    return (void *)((wxEvent *)  ((wxEraseEvent *) x));
}
static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
    return (void *)((wxEvent *)  ((wxSetCursorEvent *) x));
}
static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
    return (void *)((wxEvent *)  ((wxInitDialogEvent *) x));
}
static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
    return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
}
static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
    return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
}
static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
    return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
}
static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
    return (void *)((wxEvent *)  ((wxMouseCaptureLostEvent *) x));
}
static void *_p_wxPyEventTo_p_wxEvent(void *x) {
    return (void *)((wxEvent *)  ((wxPyEvent *) x));
}
static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
    return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
}
static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
    return (void *)((wxEvent *)  ((wxQueryNewPaletteEvent *) x));
}
static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
    return (void *)((wxEvent *)  ((wxMaximizeEvent *) x));
}
static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
    return (void *)((wxEvent *)  ((wxIconizeEvent *) x));
}
static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
    return (void *)((wxEvent *)  ((wxActivateEvent *) x));
}
static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
    return (void *)((wxEvent *)  ((wxSizeEvent *) x));
}
static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
    return (void *)((wxEvent *)  ((wxMoveEvent *) x));
}
static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
    return (void *)((wxEvent *)  ((wxIdleEvent *) x));
}
static void *_p_wxDateEventTo_p_wxEvent(void *x) {
    return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
}
static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
    return (void *)((wxEvent *)  ((wxPaintEvent *) x));
}
static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
    return (void *)((wxEvent *)  ((wxNcPaintEvent *) x));
}
static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
    return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
}
static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
    return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
}
static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
    return (void *)((wxEvent *)  ((wxPaletteChangedEvent *) x));
}
static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
    return (void *)((wxEvent *)  ((wxDisplayChangedEvent *) x));
}
static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
    return (void *)((wxEvent *)  ((wxMouseCaptureChangedEvent *) x));
}
static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
    return (void *)((wxEvent *)  ((wxSysColourChangedEvent *) x));
}
static void *_p_wxThreadEventTo_p_wxEvent(void *x) {
    return (void *)((wxEvent *)  ((wxThreadEvent *) x));
}
static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
    return (void *)((wxEvent *)  ((wxDropFilesEvent *) x));
}
static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
    return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
}
static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
    return (void *)((wxEvent *)  ((wxFocusEvent *) x));
}
static void *_p_wxShowEventTo_p_wxEvent(void *x) {
    return (void *)((wxEvent *)  ((wxShowEvent *) x));
}
static void *_p_wxDataViewEventTo_p_wxEvent(void *x) {
    return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxDataViewEvent *) x));
}
static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
    return (void *)((wxEvent *)  ((wxCommandEvent *) x));
}
static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
    return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
}
static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
    return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
}
static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
    return (void *)((wxEvent *)  ((wxNavigationKeyEvent *) x));
}
static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
    return (void *)((wxEvent *)  ((wxKeyEvent *) x));
}
static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
    return (void *)((wxEvent *)  ((wxScrollWinEvent *) x));
}
static void *_p_wxDataViewListStoreTo_p_wxDataViewModel(void *x) {
    return (void *)((wxDataViewModel *) (wxDataViewIndexListModel *) ((wxDataViewListStore *) x));
}
static void *_p_wxPyDataViewModelTo_p_wxDataViewModel(void *x) {
    return (void *)((wxDataViewModel *)  ((wxPyDataViewModel *) x));
}
static void *_p_wxDataViewIndexListModelTo_p_wxDataViewModel(void *x) {
    return (void *)((wxDataViewModel *)  ((wxDataViewIndexListModel *) x));
}
static void *_p_PyDataViewIndexListModelTo_p_wxDataViewModel(void *x) {
    return (void *)((wxDataViewModel *) (wxDataViewIndexListModel *) ((PyDataViewIndexListModel *) x));
}
static void *_p_wxDataViewVirtualListModelTo_p_wxDataViewModel(void *x) {
    return (void *)((wxDataViewModel *)  ((wxDataViewVirtualListModel *) x));
}
static void *_p_PyDataViewVirtualListModelTo_p_wxDataViewModel(void *x) {
    return (void *)((wxDataViewModel *) (wxDataViewVirtualListModel *) ((PyDataViewVirtualListModel *) x));
}
static void *_p_wxDataViewTreeStoreTo_p_wxDataViewModel(void *x) {
    return (void *)((wxDataViewModel *)  ((wxDataViewTreeStore *) x));
}
static void *_p_wxDataViewListCtrlTo_p_wxControl(void *x) {
    return (void *)((wxControl *) (wxDataViewCtrl *) ((wxDataViewListCtrl *) x));
}
static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
    return (void *)((wxControl *)  ((wxControlWithItems *) x));
}
static void *_p_wxTextCtrlBaseTo_p_wxControl(void *x) {
    return (void *)((wxControl *)  ((wxTextCtrlBase *) x));
}
static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
    return (void *)((wxControl *)  ((wxBookCtrlBase *) x));
}
static void *_p_wxDataViewTreeCtrlTo_p_wxControl(void *x) {
    return (void *)((wxControl *) (wxDataViewCtrl *) ((wxDataViewTreeCtrl *) x));
}
static void *_p_wxDataViewCtrlTo_p_wxControl(void *x) {
    return (void *)((wxControl *)  ((wxDataViewCtrl *) x));
}
static void *_p_PyDataViewVirtualListModelTo_p_wxDataViewVirtualListModel(void *x) {
    return (void *)((wxDataViewVirtualListModel *)  ((PyDataViewVirtualListModel *) x));
}
static void *_p_wxDataViewListStoreTo_p_wxDataViewIndexListModel(void *x) {
    return (void *)((wxDataViewIndexListModel *)  ((wxDataViewListStore *) x));
}
static void *_p_PyDataViewIndexListModelTo_p_wxDataViewIndexListModel(void *x) {
    return (void *)((wxDataViewIndexListModel *)  ((PyDataViewIndexListModel *) x));
}
static void *_p_wxDataViewListStoreTo_p_wxRefCounter(void *x) {
    return (void *)((wxRefCounter *) (wxDataViewModel *)(wxDataViewIndexListModel *) ((wxDataViewListStore *) x));
}
static void *_p_wxDataViewModelTo_p_wxRefCounter(void *x) {
    return (void *)((wxRefCounter *)  ((wxDataViewModel *) x));
}
static void *_p_wxPyDataViewModelTo_p_wxRefCounter(void *x) {
    return (void *)((wxRefCounter *) (wxDataViewModel *) ((wxPyDataViewModel *) x));
}
static void *_p_wxDataViewIndexListModelTo_p_wxRefCounter(void *x) {
    return (void *)((wxRefCounter *) (wxDataViewModel *) ((wxDataViewIndexListModel *) x));
}
static void *_p_PyDataViewIndexListModelTo_p_wxRefCounter(void *x) {
    return (void *)((wxRefCounter *) (wxDataViewModel *)(wxDataViewIndexListModel *) ((PyDataViewIndexListModel *) x));
}
static void *_p_wxDataViewVirtualListModelTo_p_wxRefCounter(void *x) {
    return (void *)((wxRefCounter *) (wxDataViewModel *) ((wxDataViewVirtualListModel *) x));
}
static void *_p_PyDataViewVirtualListModelTo_p_wxRefCounter(void *x) {
    return (void *)((wxRefCounter *) (wxDataViewModel *)(wxDataViewVirtualListModel *) ((PyDataViewVirtualListModel *) x));
}
static void *_p_wxDataViewTreeStoreTo_p_wxRefCounter(void *x) {
    return (void *)((wxRefCounter *) (wxDataViewModel *) ((wxDataViewTreeStore *) x));
}
static void *_p_wxPyDataViewModelNotifierTo_p_wxDataViewModelNotifier(void *x) {
    return (void *)((wxDataViewModelNotifier *)  ((wxPyDataViewModelNotifier *) x));
}
static void *_p_wxSettableHeaderColumnTo_p_wxHeaderColumn(void *x) {
    return (void *)((wxHeaderColumn *)  ((wxSettableHeaderColumn *) x));
}
static void *_p_wxHeaderColumnSimpleTo_p_wxHeaderColumn(void *x) {
    return (void *)((wxHeaderColumn *) (wxSettableHeaderColumn *) ((wxHeaderColumnSimple *) x));
}
static void *_p_wxDataViewColumnTo_p_wxHeaderColumn(void *x) {
    return (void *)((wxHeaderColumn *) (wxSettableHeaderColumn *) ((wxDataViewColumn *) x));
}
static void *_p_wxHeaderColumnSimpleTo_p_wxSettableHeaderColumn(void *x) {
    return (void *)((wxSettableHeaderColumn *)  ((wxHeaderColumnSimple *) x));
}
static void *_p_wxDataViewColumnTo_p_wxSettableHeaderColumn(void *x) {
    return (void *)((wxSettableHeaderColumn *)  ((wxDataViewColumn *) x));
}
static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
    return (void *)((wxNotifyEvent *)  ((wxBookCtrlEvent *) x));
}
static void *_p_wxDataViewEventTo_p_wxNotifyEvent(void *x) {
    return (void *)((wxNotifyEvent *)  ((wxDataViewEvent *) x));
}
static void *_p_wxDataViewListCtrlTo_p_wxDataViewCtrl(void *x) {
    return (void *)((wxDataViewCtrl *)  ((wxDataViewListCtrl *) x));
}
static void *_p_wxDataViewTreeCtrlTo_p_wxDataViewCtrl(void *x) {
    return (void *)((wxDataViewCtrl *)  ((wxDataViewTreeCtrl *) x));
}
static void *_p_wxEventBlockerTo_p_wxEvtHandler(void *x) {
    return (void *)((wxEvtHandler *)  ((wxEventBlocker *) x));
}
static void *_p_wxDataViewListCtrlTo_p_wxEvtHandler(void *x) {
    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxDataViewCtrl *) ((wxDataViewListCtrl *) x));
}
static void *_p_wxDataViewTreeCtrlTo_p_wxEvtHandler(void *x) {
    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxDataViewCtrl *) ((wxDataViewTreeCtrl *) x));
}
static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
    return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
}
static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
    return (void *)((wxEvtHandler *)  ((wxValidator *) x));
}
static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
    return (void *)((wxEvtHandler *)  ((wxWindow *) x));
}
static void *_p_wxDataViewCtrlTo_p_wxEvtHandler(void *x) {
    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDataViewCtrl *) x));
}
static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
}
static void *_p_wxPyEvtHandlerTo_p_wxEvtHandler(void *x) {
    return (void *)((wxEvtHandler *)  ((wxPyEvtHandler *) x));
}
static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
}
static void *_p_wxTextCtrlBaseTo_p_wxEvtHandler(void *x) {
    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrlBase *) x));
}
static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
    return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
}
static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
    return (void *)((wxEvtHandler *)  ((wxMenu *) x));
}
static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
    return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
}
static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
    return (void *)((wxEvtHandler *)  ((wxPyApp *) x));
}
static void *_p_wxDataViewChoiceRendererTo_p_wxDataViewCustomRenderer(void *x) {
    return (void *)((wxDataViewCustomRenderer *)  ((wxDataViewChoiceRenderer *) x));
}
static void *_p_wxPyDataViewCustomRendererTo_p_wxDataViewCustomRenderer(void *x) {
    return (void *)((wxDataViewCustomRenderer *)  ((wxPyDataViewCustomRenderer *) x));
}
static void *_p_wxDataViewTextRendererTo_p_wxDataViewRenderer(void *x) {
    return (void *)((wxDataViewRenderer *)  ((wxDataViewTextRenderer *) x));
}
static void *_p_wxDataViewBitmapRendererTo_p_wxDataViewRenderer(void *x) {
    return (void *)((wxDataViewRenderer *)  ((wxDataViewBitmapRenderer *) x));
}
static void *_p_wxDataViewIconTextRendererTo_p_wxDataViewRenderer(void *x) {
    return (void *)((wxDataViewRenderer *)  ((wxDataViewIconTextRenderer *) x));
}
static void *_p_wxDataViewToggleRendererTo_p_wxDataViewRenderer(void *x) {
    return (void *)((wxDataViewRenderer *)  ((wxDataViewToggleRenderer *) x));
}
static void *_p_wxDataViewProgressRendererTo_p_wxDataViewRenderer(void *x) {
    return (void *)((wxDataViewRenderer *)  ((wxDataViewProgressRenderer *) x));
}
static void *_p_wxDataViewSpinRendererTo_p_wxDataViewRenderer(void *x) {
    return (void *)((wxDataViewRenderer *)  ((wxDataViewSpinRenderer *) x));
}
static void *_p_wxDataViewCustomRendererTo_p_wxDataViewRenderer(void *x) {
    return (void *)((wxDataViewRenderer *)  ((wxDataViewCustomRenderer *) x));
}
static void *_p_wxDataViewChoiceRendererTo_p_wxDataViewRenderer(void *x) {
    return (void *)((wxDataViewRenderer *) (wxDataViewCustomRenderer *) ((wxDataViewChoiceRenderer *) x));
}
static void *_p_wxDataViewDateRendererTo_p_wxDataViewRenderer(void *x) {
    return (void *)((wxDataViewRenderer *)  ((wxDataViewDateRenderer *) x));
}
static void *_p_wxPyDataViewCustomRendererTo_p_wxDataViewRenderer(void *x) {
    return (void *)((wxDataViewRenderer *) (wxDataViewCustomRenderer *) ((wxPyDataViewCustomRenderer *) x));
}
static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
    return (void *)((wxObject *)  ((wxLayoutConstraints *) x));
}
static void *_p_wxEventBlockerTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxEvtHandler *) ((wxEventBlocker *) x));
}
static void *_p_wxSizerItemTo_p_wxObject(void *x) {
    return (void *)((wxObject *)  ((wxSizerItem *) x));
}
static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
}
static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
}
static void *_p_wxScrollEventTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
}
static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
    return (void *)((wxObject *)  ((wxIndividualLayoutConstraint *) x));
}
static void *_p_wxSizerTo_p_wxObject(void *x) {
    return (void *)((wxObject *)  ((wxSizer *) x));
}
static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
}
static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
}
static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
}
static void *_p_wxDataViewTreeCtrlTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxDataViewCtrl *) ((wxDataViewTreeCtrl *) x));
}
static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
}
static void *_p_wxEventTo_p_wxObject(void *x) {
    return (void *)((wxObject *)  ((wxEvent *) x));
}
static void *_p_wxGridSizerTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
}
static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
}
static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
}
static void *_p_wxDataViewListCtrlTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxDataViewCtrl *) ((wxDataViewListCtrl *) x));
}
static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
}
static void *_p_wxPaintEventTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
}
static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
}
static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
}
static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
}
static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
}
static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
}
static void *_p_wxThreadEventTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxEvent *) ((wxThreadEvent *) x));
}
static void *_p_wxControlTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
}
static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
}
static void *_p_wxFSFileTo_p_wxObject(void *x) {
    return (void *)((wxObject *)  ((wxFSFile *) x));
}
static void *_p_wxPySizerTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
}
static void *_p_wxDataViewIconTextTo_p_wxObject(void *x) {
    return (void *)((wxObject *)  ((wxDataViewIconText *) x));
}
static void *_p_wxPyEventTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
}
static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
}
static void *_p_wxShowEventTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
}
static void *_p_wxDataViewCtrlTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDataViewCtrl *) x));
}
static void *_p_wxDataViewEventTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxDataViewEvent *) x));
}
static void *_p_wxMenuItemTo_p_wxObject(void *x) {
    return (void *)((wxObject *)  ((wxMenuItem *) x));
}
static void *_p_wxDateEventTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
}
static void *_p_wxIdleEventTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
}
static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
}
static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
}
static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
}
static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
}
static void *_p_wxActivateEventTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
}
static void *_p_wxSizeEventTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
}
static void *_p_wxMoveEventTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
}
static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
}
static void *_p_wxTextCtrlBaseTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrlBase *) x));
}
static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
}
static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
}
static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
}
static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
}
static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
}
static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
}
static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
}
static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
}
static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
}
static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
}
static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
    return (void *)((wxObject *)  ((wxImageHandler *) x));
}
static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
}
static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
}
static void *_p_wxTGAHandlerTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x));
}
static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
    return (void *)((wxObject *)  ((wxEvtHandler *) x));
}
static void *_p_wxPyEvtHandlerTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxEvtHandler *) ((wxPyEvtHandler *) x));
}
static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
}
static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
    return (void *)((wxObject *)  ((wxAcceleratorTable *) x));
}
static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
}
static void *_p_wxImageTo_p_wxObject(void *x) {
    return (void *)((wxObject *)  ((wxImage *) x));
}
static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
}
static void *_p_wxDataViewRendererTo_p_wxObject(void *x) {
    return (void *)((wxObject *)  ((wxDataViewRenderer *) x));
}
static void *_p_wxDataViewTextRendererTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxDataViewRenderer *) ((wxDataViewTextRenderer *) x));
}
static void *_p_wxDataViewBitmapRendererTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxDataViewRenderer *) ((wxDataViewBitmapRenderer *) x));
}
static void *_p_wxDataViewIconTextRendererTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxDataViewRenderer *) ((wxDataViewIconTextRenderer *) x));
}
static void *_p_wxDataViewToggleRendererTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxDataViewRenderer *) ((wxDataViewToggleRenderer *) x));
}
static void *_p_wxDataViewProgressRendererTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxDataViewRenderer *) ((wxDataViewProgressRenderer *) x));
}
static void *_p_wxDataViewSpinRendererTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxDataViewRenderer *) ((wxDataViewSpinRenderer *) x));
}
static void *_p_wxDataViewCustomRendererTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxDataViewRenderer *) ((wxDataViewCustomRenderer *) x));
}
static void *_p_wxDataViewChoiceRendererTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxDataViewRenderer *)(wxDataViewCustomRenderer *) ((wxDataViewChoiceRenderer *) x));
}
static void *_p_wxDataViewDateRendererTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxDataViewRenderer *) ((wxDataViewDateRenderer *) x));
}
static void *_p_wxPyDataViewCustomRendererTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxDataViewRenderer *)(wxDataViewCustomRenderer *) ((wxPyDataViewCustomRenderer *) x));
}
static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
}
static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
}
static void *_p_wxKeyEventTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
}
static void *_p_wxWindowTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
}
static void *_p_wxMenuTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
}
static void *_p_wxMenuBarTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
}
static void *_p_wxFileSystemTo_p_wxObject(void *x) {
    return (void *)((wxObject *)  ((wxFileSystem *) x));
}
static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
}
static void *_p_wxMenuEventTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
}
static void *_p_wxPyAppTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
}
static void *_p_wxCloseEventTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
}
static void *_p_wxMouseEventTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
}
static void *_p_wxEraseEventTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
}
static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
}
static void *_p_wxCommandEventTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
}
static void *_p_wxWrapSizerTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxWrapSizer *) x));
}
static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
}
static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
}
static void *_p_wxFocusEventTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
}
static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
}
static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
}
static void *_p_wxValidatorTo_p_wxObject(void *x) {
    return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
}
static void *_p_wxBookCtrlBaseTo_p_wxWithImages(void *x) {
    return (void *)((wxWithImages *)  ((wxBookCtrlBase *) x));
}
static void *_p_wxDataViewTreeCtrlTo_p_wxWithImages(void *x) {
    return (void *)((wxWithImages *)  ((wxDataViewTreeCtrl *) x));
}
static void *_p_wxDataViewListCtrlTo_p_wxWindow(void *x) {
    return (void *)((wxWindow *) (wxControl *)(wxDataViewCtrl *) ((wxDataViewListCtrl *) x));
}
static void *_p_wxControlTo_p_wxWindow(void *x) {
    return (void *)((wxWindow *)  ((wxControl *) x));
}
static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
    return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
}
static void *_p_wxTextCtrlBaseTo_p_wxWindow(void *x) {
    return (void *)((wxWindow *) (wxControl *) ((wxTextCtrlBase *) x));
}
static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
    return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
}
static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
    return (void *)((wxWindow *)  ((wxMenuBar *) x));
}
static void *_p_wxDataViewTreeCtrlTo_p_wxWindow(void *x) {
    return (void *)((wxWindow *) (wxControl *)(wxDataViewCtrl *) ((wxDataViewTreeCtrl *) x));
}
static void *_p_wxDataViewCtrlTo_p_wxWindow(void *x) {
    return (void *)((wxWindow *) (wxControl *) ((wxDataViewCtrl *) x));
}
static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
    return (void *)((wxCommandEvent *)  ((wxChildFocusEvent *) x));
}
static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
    return (void *)((wxCommandEvent *)  ((wxScrollEvent *) x));
}
static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
    return (void *)((wxCommandEvent *)  ((wxWindowCreateEvent *) x));
}
static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
    return (void *)((wxCommandEvent *)  ((wxDateEvent *) x));
}
static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
    return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
}
static void *_p_wxDataViewEventTo_p_wxCommandEvent(void *x) {
    return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxDataViewEvent *) x));
}
static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
    return (void *)((wxCommandEvent *)  ((wxUpdateUIEvent *) x));
}
static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
    return (void *)((wxCommandEvent *)  ((wxClipboardTextEvent *) x));
}
static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
    return (void *)((wxCommandEvent *)  ((wxWindowDestroyEvent *) x));
}
static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
    return (void *)((wxCommandEvent *)  ((wxContextMenuEvent *) x));
}
static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
    return (void *)((wxCommandEvent *)  ((wxNotifyEvent *) x));
}
static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
    return (void *)((wxCommandEvent *)  ((wxPyCommandEvent *) x));
}
static void *_p_wxDataViewTreeStoreContainerNodeTo_p_wxDataViewTreeStoreNode(void *x) {
    return (void *)((wxDataViewTreeStoreNode *)  ((wxDataViewTreeStoreContainerNode *) x));
}
static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
    return (void *)((wxValidator *)  ((wxPyValidator *) x));
}
static swig_type_info _swigt__p_PyDataViewIndexListModel = {"_p_PyDataViewIndexListModel", "PyDataViewIndexListModel *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_PyDataViewVirtualListModel = {"_p_PyDataViewVirtualListModel", "PyDataViewVirtualListModel *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_PyLong = {"_p_PyLong", "PyLong *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_double = {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_int = {"_p_int", "int *|wxEventType *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_p_wxDataViewColumn = {"_p_p_wxDataViewColumn", "wxDataViewColumn **", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxClientData = {"_p_wxClientData", "wxClientData *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxBookCtrlEvent = {"_p_wxBookCtrlEvent", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxTextCtrlBase = {"_p_wxTextCtrlBase", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxBookCtrlBase = {"_p_wxBookCtrlBase", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxDataFormat = {"_p_wxDataFormat", "wxDataFormat *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxDataObject = {"_p_wxDataObject", "wxDataObject *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxDataViewBitmapRenderer = {"_p_wxDataViewBitmapRenderer", "wxDataViewBitmapRenderer *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxDataViewChoiceRenderer = {"_p_wxDataViewChoiceRenderer", "wxDataViewChoiceRenderer *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxDataViewColumn = {"_p_wxDataViewColumn", "wxDataViewColumn *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxDataViewCtrl = {"_p_wxDataViewCtrl", "wxDataViewCtrl *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxDataViewCustomRenderer = {"_p_wxDataViewCustomRenderer", "wxDataViewCustomRenderer *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxDataViewDateRenderer = {"_p_wxDataViewDateRenderer", "wxDataViewDateRenderer *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxDataViewEvent = {"_p_wxDataViewEvent", "wxDataViewEvent *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxDataViewIconText = {"_p_wxDataViewIconText", "wxDataViewIconText *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxDataViewIconTextRenderer = {"_p_wxDataViewIconTextRenderer", "wxDataViewIconTextRenderer *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxDataViewIndexListModel = {"_p_wxDataViewIndexListModel", "wxDataViewIndexListModel *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxDataViewItem = {"_p_wxDataViewItem", "wxDataViewItem *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxDataViewItemArray = {"_p_wxDataViewItemArray", "wxDataViewItemArray *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxDataViewItemArray_iterator = {"_p_wxDataViewItemArray_iterator", "wxDataViewItemArray_iterator *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxDataViewItemAttr = {"_p_wxDataViewItemAttr", "wxDataViewItemAttr *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxDataViewListCtrl = {"_p_wxDataViewListCtrl", "wxDataViewListCtrl *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxDataViewListStore = {"_p_wxDataViewListStore", "wxDataViewListStore *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxDataViewModel = {"_p_wxDataViewModel", "wxDataViewModel *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxDataViewModelNotifier = {"_p_wxDataViewModelNotifier", "wxDataViewModelNotifier *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxDataViewProgressRenderer = {"_p_wxDataViewProgressRenderer", "wxDataViewProgressRenderer *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxDataViewRenderer = {"_p_wxDataViewRenderer", "wxDataViewRenderer *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxDataViewSpinRenderer = {"_p_wxDataViewSpinRenderer", "wxDataViewSpinRenderer *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxDataViewTextRenderer = {"_p_wxDataViewTextRenderer", "wxDataViewTextRenderer *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxDataViewToggleRenderer = {"_p_wxDataViewToggleRenderer", "wxDataViewToggleRenderer *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxDataViewTreeCtrl = {"_p_wxDataViewTreeCtrl", "wxDataViewTreeCtrl *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxDataViewTreeStore = {"_p_wxDataViewTreeStore", "wxDataViewTreeStore *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxDataViewTreeStoreContainerNode = {"_p_wxDataViewTreeStoreContainerNode", "wxDataViewTreeStoreContainerNode *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxDataViewTreeStoreNode = {"_p_wxDataViewTreeStoreNode", "wxDataViewTreeStoreNode *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxDataViewTreeStoreNodeList = {"_p_wxDataViewTreeStoreNodeList", "wxDataViewTreeStoreNodeList *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxDataViewTreeStoreNodeList_iterator = {"_p_wxDataViewTreeStoreNodeList_iterator", "wxDataViewTreeStoreNodeList_iterator *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxDataViewVirtualListModel = {"_p_wxDataViewVirtualListModel", "wxDataViewVirtualListModel *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxThreadEvent = {"_p_wxThreadEvent", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxEventBlocker = {"_p_wxEventBlocker", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxPyEvtHandler = {"_p_wxPyEvtHandler", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxHeaderColumn = {"_p_wxHeaderColumn", "wxHeaderColumn *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxHeaderColumnSimple = {"_p_wxHeaderColumnSimple", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxWrapSizer = {"_p_wxWrapSizer", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxPyDataViewCustomRenderer = {"_p_wxPyDataViewCustomRenderer", "wxPyDataViewCustomRenderer *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxPyDataViewModel = {"_p_wxPyDataViewModel", "wxPyDataViewModel *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxPyDataViewModelNotifier = {"_p_wxPyDataViewModelNotifier", "wxPyDataViewModelNotifier *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxRefCounter = {"_p_wxRefCounter", "wxRefCounter *|wxObjectRefData *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxSettableHeaderColumn = {"_p_wxSettableHeaderColumn", "wxSettableHeaderColumn *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxVariant = {"_p_wxVariant", "wxVariant *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxVariantVector = {"_p_wxVariantVector", "wxVariantVector *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxWithImages = {"_p_wxWithImages", "wxWithImages *", 0, 0, (void*)0, 0};

static swig_type_info *swig_type_initial[] = {
  &_swigt__p_PyDataViewIndexListModel,
  &_swigt__p_PyDataViewVirtualListModel,
  &_swigt__p_PyLong,
  &_swigt__p_char,
  &_swigt__p_double,
  &_swigt__p_int,
  &_swigt__p_p_wxDataViewColumn,
  &_swigt__p_unsigned_char,
  &_swigt__p_unsigned_int,
  &_swigt__p_unsigned_long,
  &_swigt__p_void,
  &_swigt__p_wxANIHandler,
  &_swigt__p_wxAcceleratorTable,
  &_swigt__p_wxActivateEvent,
  &_swigt__p_wxArrayInt,
  &_swigt__p_wxArrayString,
  &_swigt__p_wxBMPHandler,
  &_swigt__p_wxBookCtrlBase,
  &_swigt__p_wxBookCtrlEvent,
  &_swigt__p_wxBoxSizer,
  &_swigt__p_wxCURHandler,
  &_swigt__p_wxChildFocusEvent,
  &_swigt__p_wxClientData,
  &_swigt__p_wxClipboardTextEvent,
  &_swigt__p_wxCloseEvent,
  &_swigt__p_wxColour,
  &_swigt__p_wxCommandEvent,
  &_swigt__p_wxContextMenuEvent,
  &_swigt__p_wxControl,
  &_swigt__p_wxControlWithItems,
  &_swigt__p_wxDC,
  &_swigt__p_wxDataFormat,
  &_swigt__p_wxDataObject,
  &_swigt__p_wxDataViewBitmapRenderer,
  &_swigt__p_wxDataViewChoiceRenderer,
  &_swigt__p_wxDataViewColumn,
  &_swigt__p_wxDataViewCtrl,
  &_swigt__p_wxDataViewCustomRenderer,
  &_swigt__p_wxDataViewDateRenderer,
  &_swigt__p_wxDataViewEvent,
  &_swigt__p_wxDataViewIconText,
  &_swigt__p_wxDataViewIconTextRenderer,
  &_swigt__p_wxDataViewIndexListModel,
  &_swigt__p_wxDataViewItem,
  &_swigt__p_wxDataViewItemArray,
  &_swigt__p_wxDataViewItemArray_iterator,
  &_swigt__p_wxDataViewItemAttr,
  &_swigt__p_wxDataViewListCtrl,
  &_swigt__p_wxDataViewListStore,
  &_swigt__p_wxDataViewModel,
  &_swigt__p_wxDataViewModelNotifier,
  &_swigt__p_wxDataViewProgressRenderer,
  &_swigt__p_wxDataViewRenderer,
  &_swigt__p_wxDataViewSpinRenderer,
  &_swigt__p_wxDataViewTextRenderer,
  &_swigt__p_wxDataViewToggleRenderer,
  &_swigt__p_wxDataViewTreeCtrl,
  &_swigt__p_wxDataViewTreeStore,
  &_swigt__p_wxDataViewTreeStoreContainerNode,
  &_swigt__p_wxDataViewTreeStoreNode,
  &_swigt__p_wxDataViewTreeStoreNodeList,
  &_swigt__p_wxDataViewTreeStoreNodeList_iterator,
  &_swigt__p_wxDataViewVirtualListModel,
  &_swigt__p_wxDateEvent,
  &_swigt__p_wxDisplayChangedEvent,
  &_swigt__p_wxDropFilesEvent,
  &_swigt__p_wxDuplexMode,
  &_swigt__p_wxEraseEvent,
  &_swigt__p_wxEvent,
  &_swigt__p_wxEventBlocker,
  &_swigt__p_wxEvtHandler,
  &_swigt__p_wxFSFile,
  &_swigt__p_wxFileSystem,
  &_swigt__p_wxFlexGridSizer,
  &_swigt__p_wxFocusEvent,
  &_swigt__p_wxFont,
  &_swigt__p_wxGBSizerItem,
  &_swigt__p_wxGIFHandler,
  &_swigt__p_wxGridBagSizer,
  &_swigt__p_wxGridSizer,
  &_swigt__p_wxHeaderColumn,
  &_swigt__p_wxHeaderColumnSimple,
  &_swigt__p_wxICOHandler,
  &_swigt__p_wxIcon,
  &_swigt__p_wxIconizeEvent,
  &_swigt__p_wxIdleEvent,
  &_swigt__p_wxImage,
  &_swigt__p_wxImageHandler,
  &_swigt__p_wxIndividualLayoutConstraint,
  &_swigt__p_wxInitDialogEvent,
  &_swigt__p_wxJPEGHandler,
  &_swigt__p_wxKeyEvent,
  &_swigt__p_wxLayoutConstraints,
  &_swigt__p_wxMaximizeEvent,
  &_swigt__p_wxMenu,
  &_swigt__p_wxMenuBar,
  &_swigt__p_wxMenuEvent,
  &_swigt__p_wxMenuItem,
  &_swigt__p_wxMouseCaptureChangedEvent,
  &_swigt__p_wxMouseCaptureLostEvent,
  &_swigt__p_wxMouseEvent,
  &_swigt__p_wxMoveEvent,
  &_swigt__p_wxNavigationKeyEvent,
  &_swigt__p_wxNcPaintEvent,
  &_swigt__p_wxNotifyEvent,
  &_swigt__p_wxObject,
  &_swigt__p_wxPCXHandler,
  &_swigt__p_wxPNGHandler,
  &_swigt__p_wxPNMHandler,
  &_swigt__p_wxPaintEvent,
  &_swigt__p_wxPaletteChangedEvent,
  &_swigt__p_wxPaperSize,
  &_swigt__p_wxPoint,
  &_swigt__p_wxPyApp,
  &_swigt__p_wxPyCommandEvent,
  &_swigt__p_wxPyDataViewCustomRenderer,
  &_swigt__p_wxPyDataViewModel,
  &_swigt__p_wxPyDataViewModelNotifier,
  &_swigt__p_wxPyEvent,
  &_swigt__p_wxPyEvtHandler,
  &_swigt__p_wxPyImageHandler,
  &_swigt__p_wxPySizer,
  &_swigt__p_wxPyValidator,
  &_swigt__p_wxQueryNewPaletteEvent,
  &_swigt__p_wxRect,
  &_swigt__p_wxRefCounter,
  &_swigt__p_wxScrollEvent,
  &_swigt__p_wxScrollWinEvent,
  &_swigt__p_wxSetCursorEvent,
  &_swigt__p_wxSettableHeaderColumn,
  &_swigt__p_wxShowEvent,
  &_swigt__p_wxSize,
  &_swigt__p_wxSizeEvent,
  &_swigt__p_wxSizer,
  &_swigt__p_wxSizerItem,
  &_swigt__p_wxStaticBoxSizer,
  &_swigt__p_wxStdDialogButtonSizer,
  &_swigt__p_wxSysColourChangedEvent,
  &_swigt__p_wxTGAHandler,
  &_swigt__p_wxTIFFHandler,
  &_swigt__p_wxTextCtrlBase,
  &_swigt__p_wxThreadEvent,
  &_swigt__p_wxUpdateUIEvent,
  &_swigt__p_wxValidator,
  &_swigt__p_wxVariant,
  &_swigt__p_wxVariantVector,
  &_swigt__p_wxVisualAttributes,
  &_swigt__p_wxWindow,
  &_swigt__p_wxWindowCreateEvent,
  &_swigt__p_wxWindowDestroyEvent,
  &_swigt__p_wxWithImages,
  &_swigt__p_wxWrapSizer,
  &_swigt__p_wxXPMHandler,
};

static swig_cast_info _swigc__p_PyDataViewIndexListModel[] = {  {&_swigt__p_PyDataViewIndexListModel, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_PyDataViewVirtualListModel[] = {  {&_swigt__p_PyDataViewVirtualListModel, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_PyLong[] = {  {&_swigt__p_PyLong, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_char[] = {  {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_double[] = {  {&_swigt__p_double, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_int[] = {  {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_wxDataViewColumn[] = {  {&_swigt__p_p_wxDataViewColumn, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_unsigned_char[] = {  {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_unsigned_int[] = {  {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_unsigned_long[] = {  {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_void[] = {  {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxArrayInt[] = {  {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxArrayString[] = {  {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxClientData[] = {  {&_swigt__p_wxClientData, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxColour[] = {  {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxBookCtrlEvent[] = {{&_swigt__p_wxBookCtrlEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxCommandEvent[] = {  {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0},  {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0},  {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0},  {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0},  {&_swigt__p_wxBookCtrlEvent, _p_wxBookCtrlEventTo_p_wxCommandEvent, 0, 0},  {&_swigt__p_wxDataViewEvent, _p_wxDataViewEventTo_p_wxCommandEvent, 0, 0},  {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0},  {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxCommandEvent, 0, 0},  {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0},  {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0},  {&_swigt__p_wxCommandEvent, 0, 0, 0},  {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0},  {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxTextCtrlBase[] = {{&_swigt__p_wxTextCtrlBase, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxBookCtrlBase[] = {{&_swigt__p_wxBookCtrlBase, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxControl[] = {  {&_swigt__p_wxDataViewListCtrl, _p_wxDataViewListCtrlTo_p_wxControl, 0, 0},  {&_swigt__p_wxControl, 0, 0, 0},  {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxControl, 0, 0},  {&_swigt__p_wxTextCtrlBase, _p_wxTextCtrlBaseTo_p_wxControl, 0, 0},  {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxControl, 0, 0},  {&_swigt__p_wxDataViewTreeCtrl, _p_wxDataViewTreeCtrlTo_p_wxControl, 0, 0},  {&_swigt__p_wxDataViewCtrl, _p_wxDataViewCtrlTo_p_wxControl, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxDC[] = {  {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxDataFormat[] = {  {&_swigt__p_wxDataFormat, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxDataObject[] = {  {&_swigt__p_wxDataObject, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxDataViewBitmapRenderer[] = {  {&_swigt__p_wxDataViewBitmapRenderer, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxDataViewChoiceRenderer[] = {  {&_swigt__p_wxDataViewChoiceRenderer, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxDataViewColumn[] = {  {&_swigt__p_wxDataViewColumn, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxDataViewCtrl[] = {  {&_swigt__p_wxDataViewListCtrl, _p_wxDataViewListCtrlTo_p_wxDataViewCtrl, 0, 0},  {&_swigt__p_wxDataViewTreeCtrl, _p_wxDataViewTreeCtrlTo_p_wxDataViewCtrl, 0, 0},  {&_swigt__p_wxDataViewCtrl, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxDataViewCustomRenderer[] = {  {&_swigt__p_wxDataViewCustomRenderer, 0, 0, 0},  {&_swigt__p_wxDataViewChoiceRenderer, _p_wxDataViewChoiceRendererTo_p_wxDataViewCustomRenderer, 0, 0},  {&_swigt__p_wxPyDataViewCustomRenderer, _p_wxPyDataViewCustomRendererTo_p_wxDataViewCustomRenderer, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxDataViewDateRenderer[] = {  {&_swigt__p_wxDataViewDateRenderer, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxDataViewEvent[] = {  {&_swigt__p_wxDataViewEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxDataViewIconText[] = {  {&_swigt__p_wxDataViewIconText, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxDataViewIconTextRenderer[] = {  {&_swigt__p_wxDataViewIconTextRenderer, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxDataViewIndexListModel[] = {  {&_swigt__p_wxDataViewListStore, _p_wxDataViewListStoreTo_p_wxDataViewIndexListModel, 0, 0},  {&_swigt__p_wxDataViewIndexListModel, 0, 0, 0},  {&_swigt__p_PyDataViewIndexListModel, _p_PyDataViewIndexListModelTo_p_wxDataViewIndexListModel, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxDataViewItem[] = {  {&_swigt__p_wxDataViewItem, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxDataViewItemArray[] = {  {&_swigt__p_wxDataViewItemArray, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxDataViewItemArray_iterator[] = {  {&_swigt__p_wxDataViewItemArray_iterator, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxDataViewItemAttr[] = {  {&_swigt__p_wxDataViewItemAttr, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxDataViewListCtrl[] = {  {&_swigt__p_wxDataViewListCtrl, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxDataViewListStore[] = {  {&_swigt__p_wxDataViewListStore, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxDataViewModel[] = {  {&_swigt__p_wxDataViewListStore, _p_wxDataViewListStoreTo_p_wxDataViewModel, 0, 0},  {&_swigt__p_wxDataViewModel, 0, 0, 0},  {&_swigt__p_wxPyDataViewModel, _p_wxPyDataViewModelTo_p_wxDataViewModel, 0, 0},  {&_swigt__p_wxDataViewIndexListModel, _p_wxDataViewIndexListModelTo_p_wxDataViewModel, 0, 0},  {&_swigt__p_PyDataViewIndexListModel, _p_PyDataViewIndexListModelTo_p_wxDataViewModel, 0, 0},  {&_swigt__p_wxDataViewVirtualListModel, _p_wxDataViewVirtualListModelTo_p_wxDataViewModel, 0, 0},  {&_swigt__p_PyDataViewVirtualListModel, _p_PyDataViewVirtualListModelTo_p_wxDataViewModel, 0, 0},  {&_swigt__p_wxDataViewTreeStore, _p_wxDataViewTreeStoreTo_p_wxDataViewModel, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxDataViewModelNotifier[] = {  {&_swigt__p_wxDataViewModelNotifier, 0, 0, 0},  {&_swigt__p_wxPyDataViewModelNotifier, _p_wxPyDataViewModelNotifierTo_p_wxDataViewModelNotifier, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxDataViewProgressRenderer[] = {  {&_swigt__p_wxDataViewProgressRenderer, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxDataViewRenderer[] = {  {&_swigt__p_wxDataViewRenderer, 0, 0, 0},  {&_swigt__p_wxDataViewTextRenderer, _p_wxDataViewTextRendererTo_p_wxDataViewRenderer, 0, 0},  {&_swigt__p_wxDataViewBitmapRenderer, _p_wxDataViewBitmapRendererTo_p_wxDataViewRenderer, 0, 0},  {&_swigt__p_wxDataViewIconTextRenderer, _p_wxDataViewIconTextRendererTo_p_wxDataViewRenderer, 0, 0},  {&_swigt__p_wxDataViewToggleRenderer, _p_wxDataViewToggleRendererTo_p_wxDataViewRenderer, 0, 0},  {&_swigt__p_wxDataViewProgressRenderer, _p_wxDataViewProgressRendererTo_p_wxDataViewRenderer, 0, 0},  {&_swigt__p_wxDataViewSpinRenderer, _p_wxDataViewSpinRendererTo_p_wxDataViewRenderer, 0, 0},  {&_swigt__p_wxDataViewCustomRenderer, _p_wxDataViewCustomRendererTo_p_wxDataViewRenderer, 0, 0},  {&_swigt__p_wxDataViewChoiceRenderer, _p_wxDataViewChoiceRendererTo_p_wxDataViewRenderer, 0, 0},  {&_swigt__p_wxPyDataViewCustomRenderer, _p_wxPyDataViewCustomRendererTo_p_wxDataViewRenderer, 0, 0},  {&_swigt__p_wxDataViewDateRenderer, _p_wxDataViewDateRendererTo_p_wxDataViewRenderer, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxDataViewSpinRenderer[] = {  {&_swigt__p_wxDataViewSpinRenderer, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxDataViewTextRenderer[] = {  {&_swigt__p_wxDataViewTextRenderer, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxDataViewToggleRenderer[] = {  {&_swigt__p_wxDataViewToggleRenderer, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxDataViewTreeCtrl[] = {  {&_swigt__p_wxDataViewTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxDataViewTreeStore[] = {  {&_swigt__p_wxDataViewTreeStore, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxDataViewTreeStoreContainerNode[] = {  {&_swigt__p_wxDataViewTreeStoreContainerNode, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxDataViewTreeStoreNode[] = {  {&_swigt__p_wxDataViewTreeStoreContainerNode, _p_wxDataViewTreeStoreContainerNodeTo_p_wxDataViewTreeStoreNode, 0, 0},  {&_swigt__p_wxDataViewTreeStoreNode, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxDataViewTreeStoreNodeList[] = {  {&_swigt__p_wxDataViewTreeStoreNodeList, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxDataViewTreeStoreNodeList_iterator[] = {  {&_swigt__p_wxDataViewTreeStoreNodeList_iterator, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxDataViewVirtualListModel[] = {  {&_swigt__p_wxDataViewVirtualListModel, 0, 0, 0},  {&_swigt__p_PyDataViewVirtualListModel, _p_PyDataViewVirtualListModelTo_p_wxDataViewVirtualListModel, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxDuplexMode[] = {  {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxThreadEvent[] = {{&_swigt__p_wxThreadEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxEvent[] = {  {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxBookCtrlEvent, _p_wxBookCtrlEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxEvent, 0, 0, 0},  {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxThreadEvent, _p_wxThreadEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxDataViewEvent, _p_wxDataViewEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxEventBlocker[] = {{&_swigt__p_wxEventBlocker, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxPyEvtHandler[] = {{&_swigt__p_wxPyEvtHandler, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxEvtHandler[] = {  {&_swigt__p_wxEventBlocker, _p_wxEventBlockerTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxDataViewTreeCtrl, _p_wxDataViewTreeCtrlTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxDataViewListCtrl, _p_wxDataViewListCtrlTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxDataViewCtrl, _p_wxDataViewCtrlTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxEvtHandler, 0, 0, 0},  {&_swigt__p_wxPyEvtHandler, _p_wxPyEvtHandlerTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxTextCtrlBase, _p_wxTextCtrlBaseTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxFont[] = {  {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxHeaderColumnSimple[] = {{&_swigt__p_wxHeaderColumnSimple, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxHeaderColumn[] = {  {&_swigt__p_wxHeaderColumn, 0, 0, 0},  {&_swigt__p_wxSettableHeaderColumn, _p_wxSettableHeaderColumnTo_p_wxHeaderColumn, 0, 0},  {&_swigt__p_wxHeaderColumnSimple, _p_wxHeaderColumnSimpleTo_p_wxHeaderColumn, 0, 0},  {&_swigt__p_wxDataViewColumn, _p_wxDataViewColumnTo_p_wxHeaderColumn, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxIcon[] = {  {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxNotifyEvent[] = {  {&_swigt__p_wxBookCtrlEvent, _p_wxBookCtrlEventTo_p_wxNotifyEvent, 0, 0},  {&_swigt__p_wxDataViewEvent, _p_wxDataViewEventTo_p_wxNotifyEvent, 0, 0},  {&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxWrapSizer[] = {{&_swigt__p_wxWrapSizer, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxObject[] = {  {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0},  {&_swigt__p_wxEventBlocker, _p_wxEventBlockerTo_p_wxObject, 0, 0},  {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0},  {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0},  {&_swigt__p_wxBookCtrlEvent, _p_wxBookCtrlEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0},  {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0},  {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0},  {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0},  {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0},  {&_swigt__p_wxDataViewTreeCtrl, _p_wxDataViewTreeCtrlTo_p_wxObject, 0, 0},  {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0},  {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0},  {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0},  {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxDataViewListCtrl, _p_wxDataViewListCtrlTo_p_wxObject, 0, 0},  {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxThreadEvent, _p_wxThreadEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0},  {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0},  {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0},  {&_swigt__p_wxDataViewIconText, _p_wxDataViewIconTextTo_p_wxObject, 0, 0},  {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxDataViewEvent, _p_wxDataViewEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxDataViewCtrl, _p_wxDataViewCtrlTo_p_wxObject, 0, 0},  {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0},  {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxObject, 0, 0},  {&_swigt__p_wxTextCtrlBase, _p_wxTextCtrlBaseTo_p_wxObject, 0, 0},  {&_swigt__p_wxTGAHandler, _p_wxTGAHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyEvtHandler, _p_wxPyEvtHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0},  {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0},  {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0},  {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxDataViewIconTextRenderer, _p_wxDataViewIconTextRendererTo_p_wxObject, 0, 0},  {&_swigt__p_wxDataViewBitmapRenderer, _p_wxDataViewBitmapRendererTo_p_wxObject, 0, 0},  {&_swigt__p_wxDataViewTextRenderer, _p_wxDataViewTextRendererTo_p_wxObject, 0, 0},  {&_swigt__p_wxDataViewRenderer, _p_wxDataViewRendererTo_p_wxObject, 0, 0},  {&_swigt__p_wxDataViewToggleRenderer, _p_wxDataViewToggleRendererTo_p_wxObject, 0, 0},  {&_swigt__p_wxDataViewProgressRenderer, _p_wxDataViewProgressRendererTo_p_wxObject, 0, 0},  {&_swigt__p_wxDataViewSpinRenderer, _p_wxDataViewSpinRendererTo_p_wxObject, 0, 0},  {&_swigt__p_wxDataViewCustomRenderer, _p_wxDataViewCustomRendererTo_p_wxObject, 0, 0},  {&_swigt__p_wxDataViewChoiceRenderer, _p_wxDataViewChoiceRendererTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyDataViewCustomRenderer, _p_wxPyDataViewCustomRendererTo_p_wxObject, 0, 0},  {&_swigt__p_wxDataViewDateRenderer, _p_wxDataViewDateRendererTo_p_wxObject, 0, 0},  {&_swigt__p_wxObject, 0, 0, 0},  {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0},  {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0},  {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0},  {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0},  {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxWrapSizer, _p_wxWrapSizerTo_p_wxObject, 0, 0},  {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},  {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxPaperSize[] = {  {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxPoint[] = {  {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxPyDataViewCustomRenderer[] = {  {&_swigt__p_wxPyDataViewCustomRenderer, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxPyDataViewModel[] = {  {&_swigt__p_wxPyDataViewModel, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxPyDataViewModelNotifier[] = {  {&_swigt__p_wxPyDataViewModelNotifier, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxRect[] = {  {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxRefCounter[] = {  {&_swigt__p_wxRefCounter, 0, 0, 0},  {&_swigt__p_wxDataViewListStore, _p_wxDataViewListStoreTo_p_wxRefCounter, 0, 0},  {&_swigt__p_wxDataViewModel, _p_wxDataViewModelTo_p_wxRefCounter, 0, 0},  {&_swigt__p_wxPyDataViewModel, _p_wxPyDataViewModelTo_p_wxRefCounter, 0, 0},  {&_swigt__p_wxDataViewIndexListModel, _p_wxDataViewIndexListModelTo_p_wxRefCounter, 0, 0},  {&_swigt__p_PyDataViewIndexListModel, _p_PyDataViewIndexListModelTo_p_wxRefCounter, 0, 0},  {&_swigt__p_wxDataViewVirtualListModel, _p_wxDataViewVirtualListModelTo_p_wxRefCounter, 0, 0},  {&_swigt__p_PyDataViewVirtualListModel, _p_PyDataViewVirtualListModelTo_p_wxRefCounter, 0, 0},  {&_swigt__p_wxDataViewTreeStore, _p_wxDataViewTreeStoreTo_p_wxRefCounter, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxSettableHeaderColumn[] = {  {&_swigt__p_wxSettableHeaderColumn, 0, 0, 0},  {&_swigt__p_wxHeaderColumnSimple, _p_wxHeaderColumnSimpleTo_p_wxSettableHeaderColumn, 0, 0},  {&_swigt__p_wxDataViewColumn, _p_wxDataViewColumnTo_p_wxSettableHeaderColumn, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxSize[] = {  {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxValidator[] = {  {&_swigt__p_wxValidator, 0, 0, 0},  {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxValidator, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxVariant[] = {  {&_swigt__p_wxVariant, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxVariantVector[] = {  {&_swigt__p_wxVariantVector, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxVisualAttributes[] = {  {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxWindow[] = {  {&_swigt__p_wxDataViewListCtrl, _p_wxDataViewListCtrlTo_p_wxWindow, 0, 0},  {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0},  {&_swigt__p_wxWindow, 0, 0, 0},  {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0},  {&_swigt__p_wxTextCtrlBase, _p_wxTextCtrlBaseTo_p_wxWindow, 0, 0},  {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxWindow, 0, 0},  {&_swigt__p_wxDataViewTreeCtrl, _p_wxDataViewTreeCtrlTo_p_wxWindow, 0, 0},  {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0},  {&_swigt__p_wxDataViewCtrl, _p_wxDataViewCtrlTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxWithImages[] = {  {&_swigt__p_wxWithImages, 0, 0, 0},  {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxWithImages, 0, 0},  {&_swigt__p_wxDataViewTreeCtrl, _p_wxDataViewTreeCtrlTo_p_wxWithImages, 0, 0},{0, 0, 0, 0}};

static swig_cast_info *swig_cast_initial[] = {
  _swigc__p_PyDataViewIndexListModel,
  _swigc__p_PyDataViewVirtualListModel,
  _swigc__p_PyLong,
  _swigc__p_char,
  _swigc__p_double,
  _swigc__p_int,
  _swigc__p_p_wxDataViewColumn,
  _swigc__p_unsigned_char,
  _swigc__p_unsigned_int,
  _swigc__p_unsigned_long,
  _swigc__p_void,
  _swigc__p_wxANIHandler,
  _swigc__p_wxAcceleratorTable,
  _swigc__p_wxActivateEvent,
  _swigc__p_wxArrayInt,
  _swigc__p_wxArrayString,
  _swigc__p_wxBMPHandler,
  _swigc__p_wxBookCtrlBase,
  _swigc__p_wxBookCtrlEvent,
  _swigc__p_wxBoxSizer,
  _swigc__p_wxCURHandler,
  _swigc__p_wxChildFocusEvent,
  _swigc__p_wxClientData,
  _swigc__p_wxClipboardTextEvent,
  _swigc__p_wxCloseEvent,
  _swigc__p_wxColour,
  _swigc__p_wxCommandEvent,
  _swigc__p_wxContextMenuEvent,
  _swigc__p_wxControl,
  _swigc__p_wxControlWithItems,
  _swigc__p_wxDC,
  _swigc__p_wxDataFormat,
  _swigc__p_wxDataObject,
  _swigc__p_wxDataViewBitmapRenderer,
  _swigc__p_wxDataViewChoiceRenderer,
  _swigc__p_wxDataViewColumn,
  _swigc__p_wxDataViewCtrl,
  _swigc__p_wxDataViewCustomRenderer,
  _swigc__p_wxDataViewDateRenderer,
  _swigc__p_wxDataViewEvent,
  _swigc__p_wxDataViewIconText,
  _swigc__p_wxDataViewIconTextRenderer,
  _swigc__p_wxDataViewIndexListModel,
  _swigc__p_wxDataViewItem,
  _swigc__p_wxDataViewItemArray,
  _swigc__p_wxDataViewItemArray_iterator,
  _swigc__p_wxDataViewItemAttr,
  _swigc__p_wxDataViewListCtrl,
  _swigc__p_wxDataViewListStore,
  _swigc__p_wxDataViewModel,
  _swigc__p_wxDataViewModelNotifier,
  _swigc__p_wxDataViewProgressRenderer,
  _swigc__p_wxDataViewRenderer,
  _swigc__p_wxDataViewSpinRenderer,
  _swigc__p_wxDataViewTextRenderer,
  _swigc__p_wxDataViewToggleRenderer,
  _swigc__p_wxDataViewTreeCtrl,
  _swigc__p_wxDataViewTreeStore,
  _swigc__p_wxDataViewTreeStoreContainerNode,
  _swigc__p_wxDataViewTreeStoreNode,
  _swigc__p_wxDataViewTreeStoreNodeList,
  _swigc__p_wxDataViewTreeStoreNodeList_iterator,
  _swigc__p_wxDataViewVirtualListModel,
  _swigc__p_wxDateEvent,
  _swigc__p_wxDisplayChangedEvent,
  _swigc__p_wxDropFilesEvent,
  _swigc__p_wxDuplexMode,
  _swigc__p_wxEraseEvent,
  _swigc__p_wxEvent,
  _swigc__p_wxEventBlocker,
  _swigc__p_wxEvtHandler,
  _swigc__p_wxFSFile,
  _swigc__p_wxFileSystem,
  _swigc__p_wxFlexGridSizer,
  _swigc__p_wxFocusEvent,
  _swigc__p_wxFont,
  _swigc__p_wxGBSizerItem,
  _swigc__p_wxGIFHandler,
  _swigc__p_wxGridBagSizer,
  _swigc__p_wxGridSizer,
  _swigc__p_wxHeaderColumn,
  _swigc__p_wxHeaderColumnSimple,
  _swigc__p_wxICOHandler,
  _swigc__p_wxIcon,
  _swigc__p_wxIconizeEvent,
  _swigc__p_wxIdleEvent,
  _swigc__p_wxImage,
  _swigc__p_wxImageHandler,
  _swigc__p_wxIndividualLayoutConstraint,
  _swigc__p_wxInitDialogEvent,
  _swigc__p_wxJPEGHandler,
  _swigc__p_wxKeyEvent,
  _swigc__p_wxLayoutConstraints,
  _swigc__p_wxMaximizeEvent,
  _swigc__p_wxMenu,
  _swigc__p_wxMenuBar,
  _swigc__p_wxMenuEvent,
  _swigc__p_wxMenuItem,
  _swigc__p_wxMouseCaptureChangedEvent,
  _swigc__p_wxMouseCaptureLostEvent,
  _swigc__p_wxMouseEvent,
  _swigc__p_wxMoveEvent,
  _swigc__p_wxNavigationKeyEvent,
  _swigc__p_wxNcPaintEvent,
  _swigc__p_wxNotifyEvent,
  _swigc__p_wxObject,
  _swigc__p_wxPCXHandler,
  _swigc__p_wxPNGHandler,
  _swigc__p_wxPNMHandler,
  _swigc__p_wxPaintEvent,
  _swigc__p_wxPaletteChangedEvent,
  _swigc__p_wxPaperSize,
  _swigc__p_wxPoint,
  _swigc__p_wxPyApp,
  _swigc__p_wxPyCommandEvent,
  _swigc__p_wxPyDataViewCustomRenderer,
  _swigc__p_wxPyDataViewModel,
  _swigc__p_wxPyDataViewModelNotifier,
  _swigc__p_wxPyEvent,
  _swigc__p_wxPyEvtHandler,
  _swigc__p_wxPyImageHandler,
  _swigc__p_wxPySizer,
  _swigc__p_wxPyValidator,
  _swigc__p_wxQueryNewPaletteEvent,
  _swigc__p_wxRect,
  _swigc__p_wxRefCounter,
  _swigc__p_wxScrollEvent,
  _swigc__p_wxScrollWinEvent,
  _swigc__p_wxSetCursorEvent,
  _swigc__p_wxSettableHeaderColumn,
  _swigc__p_wxShowEvent,
  _swigc__p_wxSize,
  _swigc__p_wxSizeEvent,
  _swigc__p_wxSizer,
  _swigc__p_wxSizerItem,
  _swigc__p_wxStaticBoxSizer,
  _swigc__p_wxStdDialogButtonSizer,
  _swigc__p_wxSysColourChangedEvent,
  _swigc__p_wxTGAHandler,
  _swigc__p_wxTIFFHandler,
  _swigc__p_wxTextCtrlBase,
  _swigc__p_wxThreadEvent,
  _swigc__p_wxUpdateUIEvent,
  _swigc__p_wxValidator,
  _swigc__p_wxVariant,
  _swigc__p_wxVariantVector,
  _swigc__p_wxVisualAttributes,
  _swigc__p_wxWindow,
  _swigc__p_wxWindowCreateEvent,
  _swigc__p_wxWindowDestroyEvent,
  _swigc__p_wxWithImages,
  _swigc__p_wxWrapSizer,
  _swigc__p_wxXPMHandler,
};


/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */

static swig_const_info swig_const_table[] = {
{0, 0, 0, 0.0, 0, 0}};

#ifdef __cplusplus
}
#endif
/* -----------------------------------------------------------------------------
 * Type initialization:
 * This problem is tough by the requirement that no dynamic 
 * memory is used. Also, since swig_type_info structures store pointers to 
 * swig_cast_info structures and swig_cast_info structures store pointers back
 * to swig_type_info structures, we need some lookup code at initialization. 
 * The idea is that swig generates all the structures that are needed. 
 * The runtime then collects these partially filled structures. 
 * The SWIG_InitializeModule function takes these initial arrays out of 
 * swig_module, and does all the lookup, filling in the swig_module.types
 * array with the correct data and linking the correct swig_cast_info
 * structures together.
 *
 * The generated swig_type_info structures are assigned staticly to an initial 
 * array. We just loop though that array, and handle each type individually.
 * First we lookup if this type has been already loaded, and if so, use the
 * loaded structure instead of the generated one. Then we have to fill in the
 * cast linked list. The cast data is initially stored in something like a
 * two-dimensional array. Each row corresponds to a type (there are the same
 * number of rows as there are in the swig_type_initial array). Each entry in
 * a column is one of the swig_cast_info structures for that type.
 * The cast_initial array is actually an array of arrays, because each row has
 * a variable number of columns. So to actually build the cast linked list,
 * we find the array of casts associated with the type, and loop through it 
 * adding the casts to the list. The one last trick we need to do is making
 * sure the type pointer in the swig_cast_info struct is correct.
 *
 * First off, we lookup the cast->type name to see if it is already loaded. 
 * There are three cases to handle:
 *  1) If the cast->type has already been loaded AND the type we are adding
 *     casting info to has not been loaded (it is in this module), THEN we
 *     replace the cast->type pointer with the type pointer that has already
 *     been loaded.
 *  2) If BOTH types (the one we are adding casting info to, and the 
 *     cast->type) are loaded, THEN the cast info has already been loaded by
 *     the previous module so we just ignore it.
 *  3) Finally, if cast->type has not already been loaded, then we add that
 *     swig_cast_info to the linked list (because the cast->type) pointer will
 *     be correct.
 * ----------------------------------------------------------------------------- */

#ifdef __cplusplus
extern "C" {
#if 0
} /* c-mode */
#endif
#endif

#if 0
#define SWIGRUNTIME_DEBUG
#endif

SWIGRUNTIME void
SWIG_InitializeModule(void *clientdata) {
  size_t i;
  swig_module_info *module_head;
  static int init_run = 0;
  
  clientdata = clientdata;
  
  if (init_run) return;
  init_run = 1;
  
  /* Initialize the swig_module */
  swig_module.type_initial = swig_type_initial;
  swig_module.cast_initial = swig_cast_initial;
  
  /* Try and load any already created modules */
  module_head = SWIG_GetModule(clientdata);
  if (module_head) {
    swig_module.next = module_head->next;
    module_head->next = &swig_module;
  } else {
    /* This is the first module loaded */
    swig_module.next = &swig_module;
    SWIG_SetModule(clientdata, &swig_module);
  }
  
  /* Now work on filling in swig_module.types */
#ifdef SWIGRUNTIME_DEBUG
  printf("SWIG_InitializeModule: size %d\n", swig_module.size);
#endif
  for (i = 0; i < swig_module.size; ++i) {
    swig_type_info *type = 0;
    swig_type_info *ret;
    swig_cast_info *cast;
    
#ifdef SWIGRUNTIME_DEBUG
    printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
#endif
    
    /* if there is another module already loaded */
    if (swig_module.next != &swig_module) {
      type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
    }
    if (type) {
      /* Overwrite clientdata field */
#ifdef SWIGRUNTIME_DEBUG
      printf("SWIG_InitializeModule: found type %s\n", type->name);
#endif
      if (swig_module.type_initial[i]->clientdata) {
        type->clientdata = swig_module.type_initial[i]->clientdata;
#ifdef SWIGRUNTIME_DEBUG
        printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
#endif
      }
    } else {
      type = swig_module.type_initial[i];
    }
    
    /* Insert casting types */
    cast = swig_module.cast_initial[i];
    while (cast->type) {
      /* Don't need to add information already in the list */
      ret = 0;
#ifdef SWIGRUNTIME_DEBUG
      printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
#endif
      if (swig_module.next != &swig_module) {
        ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
#ifdef SWIGRUNTIME_DEBUG
        if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
#endif
      }
      if (ret) {
        if (type == swig_module.type_initial[i]) {
#ifdef SWIGRUNTIME_DEBUG
          printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
#endif
          cast->type = ret;
          ret = 0;
        } else {
          /* Check for casting already in the list */
          swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
#ifdef SWIGRUNTIME_DEBUG
          if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
#endif
          if (!ocast) ret = 0;
        }
      }
      
      if (!ret) {
#ifdef SWIGRUNTIME_DEBUG
        printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
#endif
        if (type->cast) {
          type->cast->prev = cast;
          cast->next = type->cast;
        }
        type->cast = cast;
      }
      cast++;
    }
    /* Set entry in modules->types array equal to the type */
    swig_module.types[i] = type;
  }
  swig_module.types[i] = 0;
  
#ifdef SWIGRUNTIME_DEBUG
  printf("**** SWIG_InitializeModule: Cast List ******\n");
  for (i = 0; i < swig_module.size; ++i) {
    int j = 0;
    swig_cast_info *cast = swig_module.cast_initial[i];
    printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
    while (cast->type) {
      printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
      cast++;
      ++j;
    }
    printf("---- Total casts: %d\n",j);
  }
  printf("**** SWIG_InitializeModule: Cast List ******\n");
#endif
}

/* This function will propagate the clientdata field of type to
* any new swig_type_info structures that have been added into the list
* of equivalent types.  It is like calling
* SWIG_TypeClientData(type, clientdata) a second time.
*/
SWIGRUNTIME void
SWIG_PropagateClientData(void) {
  size_t i;
  swig_cast_info *equiv;
  static int init_run = 0;
  
  if (init_run) return;
  init_run = 1;
  
  for (i = 0; i < swig_module.size; i++) {
    if (swig_module.types[i]->clientdata) {
      equiv = swig_module.types[i]->cast;
      while (equiv) {
        if (!equiv->converter) {
          if (equiv->type && !equiv->type->clientdata)
          SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
        }
        equiv = equiv->next;
      }
    }
  }
}

#ifdef __cplusplus
#if 0
{
  /* c-mode */
#endif
}
#endif



#ifdef __cplusplus
extern "C" {
#endif
  
  /* Python-specific SWIG API */
#define SWIG_newvarlink()                             SWIG_Python_newvarlink()
#define SWIG_addvarlink(p, name, get_attr, set_attr)  SWIG_Python_addvarlink(p, name, get_attr, set_attr)
#define SWIG_InstallConstants(d, constants)           SWIG_Python_InstallConstants(d, constants)
  
  /* -----------------------------------------------------------------------------
   * global variable support code.
   * ----------------------------------------------------------------------------- */
  
  typedef struct swig_globalvar {
    char       *name;                  /* Name of global variable */
    PyObject *(*get_attr)(void);       /* Return the current value */
    int       (*set_attr)(PyObject *); /* Set the value */
    struct swig_globalvar *next;
  } swig_globalvar;
  
  typedef struct swig_varlinkobject {
    PyObject_HEAD
    swig_globalvar *vars;
  } swig_varlinkobject;
  
  SWIGINTERN PyObject *
  swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
    return PyString_FromString("<Swig global variables>");
  }
  
  SWIGINTERN PyObject *
  swig_varlink_str(swig_varlinkobject *v) {
    PyObject *str = PyString_FromString("(");
    swig_globalvar  *var;
    for (var = v->vars; var; var=var->next) {
      PyString_ConcatAndDel(&str,PyString_FromString(var->name));
      if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
    }
    PyString_ConcatAndDel(&str,PyString_FromString(")"));
    return str;
  }
  
  SWIGINTERN int
  swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
    PyObject *str = swig_varlink_str(v);
    fprintf(fp,"Swig global variables ");
    fprintf(fp,"%s\n", PyString_AsString(str));
    Py_DECREF(str);
    return 0;
  }
  
  SWIGINTERN void
  swig_varlink_dealloc(swig_varlinkobject *v) {
    swig_globalvar *var = v->vars;
    while (var) {
      swig_globalvar *n = var->next;
      free(var->name);
      free(var);
      var = n;
    }
  }
  
  SWIGINTERN PyObject *
  swig_varlink_getattr(swig_varlinkobject *v, char *n) {
    PyObject *res = NULL;
    swig_globalvar *var = v->vars;
    while (var) {
      if (strcmp(var->name,n) == 0) {
        res = (*var->get_attr)();
        break;
      }
      var = var->next;
    }
    if (res == NULL && !PyErr_Occurred()) {
      PyErr_SetString(PyExc_NameError,"Unknown C global variable");
    }
    return res;
  }
  
  SWIGINTERN int
  swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
    int res = 1;
    swig_globalvar *var = v->vars;
    while (var) {
      if (strcmp(var->name,n) == 0) {
        res = (*var->set_attr)(p);
        break;
      }
      var = var->next;
    }
    if (res == 1 && !PyErr_Occurred()) {
      PyErr_SetString(PyExc_NameError,"Unknown C global variable");
    }
    return res;
  }
  
  SWIGINTERN PyTypeObject*
  swig_varlink_type(void) {
    static char varlink__doc__[] = "Swig var link object";
    static PyTypeObject varlink_type;
    static int type_init = 0;  
    if (!type_init) {
      const PyTypeObject tmp
      = {
        PyObject_HEAD_INIT(NULL)
        0,                                  /* Number of items in variable part (ob_size) */
        (char *)"swigvarlink",              /* Type name (tp_name) */
        sizeof(swig_varlinkobject),         /* Basic size (tp_basicsize) */
        0,                                  /* Itemsize (tp_itemsize) */
        (destructor) swig_varlink_dealloc,   /* Deallocator (tp_dealloc) */ 
        (printfunc) swig_varlink_print,     /* Print (tp_print) */
        (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
        (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
        0,                                  /* tp_compare */
        (reprfunc) swig_varlink_repr,       /* tp_repr */
        0,                                  /* tp_as_number */
        0,                                  /* tp_as_sequence */
        0,                                  /* tp_as_mapping */
        0,                                  /* tp_hash */
        0,                                  /* tp_call */
        (reprfunc)swig_varlink_str,        /* tp_str */
        0,                                  /* tp_getattro */
        0,                                  /* tp_setattro */
        0,                                  /* tp_as_buffer */
        0,                                  /* tp_flags */
        varlink__doc__,                     /* tp_doc */
        0,                                  /* tp_traverse */
        0,                                  /* tp_clear */
        0,                                  /* tp_richcompare */
        0,                                  /* tp_weaklistoffset */
#if PY_VERSION_HEX >= 0x02020000
        0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
#endif
#if PY_VERSION_HEX >= 0x02030000
        0,                                  /* tp_del */
#endif
#ifdef COUNT_ALLOCS
        0,0,0,0                             /* tp_alloc -> tp_next */
#endif
      };
      varlink_type = tmp;
      varlink_type.ob_type = &PyType_Type;
      type_init = 1;
    }
    return &varlink_type;
  }
  
  /* Create a variable linking object for use later */
  SWIGINTERN PyObject *
  SWIG_Python_newvarlink(void) {
    swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
    if (result) {
      result->vars = 0;
    }
    return ((PyObject*) result);
  }
  
  SWIGINTERN void 
  SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
    swig_varlinkobject *v = (swig_varlinkobject *) p;
    swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
    if (gv) {
      size_t size = strlen(name)+1;
      gv->name = (char *)malloc(size);
      if (gv->name) {
        strncpy(gv->name,name,size);
        gv->get_attr = get_attr;
        gv->set_attr = set_attr;
        gv->next = v->vars;
      }
    }
    v->vars = gv;
  }
  
  SWIGINTERN PyObject *
  SWIG_globals() {
    static PyObject *_SWIG_globals = 0; 
    if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();  
    return _SWIG_globals;
  }
  
  /* -----------------------------------------------------------------------------
   * constants/methods manipulation
   * ----------------------------------------------------------------------------- */
  
  /* Install Constants */
  SWIGINTERN void
  SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
    PyObject *obj = 0;
    size_t i;
    for (i = 0; constants[i].type; ++i) {
      switch(constants[i].type) {
      case SWIG_PY_POINTER:
        obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
        break;
      case SWIG_PY_BINARY:
        obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
        break;
      default:
        obj = 0;
        break;
      }
      if (obj) {
        PyDict_SetItemString(d, constants[i].name, obj);
        Py_DECREF(obj);
      }
    }
  }
  
  /* -----------------------------------------------------------------------------*/
  /* Fix SwigMethods to carry the callback ptrs when needed */
  /* -----------------------------------------------------------------------------*/
  
  SWIGINTERN void
  SWIG_Python_FixMethods(PyMethodDef *methods,
    swig_const_info *const_table,
    swig_type_info **types,
    swig_type_info **types_initial) {
    size_t i;
    for (i = 0; methods[i].ml_name; ++i) {
      const char *c = methods[i].ml_doc;
      if (c && (c = strstr(c, "swig_ptr: "))) {
        int j;
        swig_const_info *ci = 0;
        const char *name = c + 10;
        for (j = 0; const_table[j].type; ++j) {
          if (strncmp(const_table[j].name, name, 
              strlen(const_table[j].name)) == 0) {
            ci = &(const_table[j]);
            break;
          }
        }
        if (ci) {
          size_t shift = (ci->ptype) - types;
          swig_type_info *ty = types_initial[shift];
          size_t ldoc = (c - methods[i].ml_doc);
          size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
          char *ndoc = (char*)malloc(ldoc + lptr + 10);
          if (ndoc) {
            char *buff = ndoc;
            void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
            if (ptr) {
              strncpy(buff, methods[i].ml_doc, ldoc);
              buff += ldoc;
              strncpy(buff, "swig_ptr: ", 10);
              buff += 10;
              SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
              methods[i].ml_doc = ndoc;
            }
          }
        }
      }
    }
  } 
  
#ifdef __cplusplus
}
#endif

/* -----------------------------------------------------------------------------*
 *  Partial Init method
 * -----------------------------------------------------------------------------*/

#ifdef __cplusplus
extern "C"
#endif
SWIGEXPORT void SWIG_init(void) {
  PyObject *m, *d;
  
  /* Fix SwigMethods to carry the callback ptrs when needed */
  SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
  
  m = Py_InitModule((char *) SWIG_name, SwigMethods);
  d = PyModule_GetDict(m);
  
  SWIG_InitializeModule(0);
  SWIG_InstallConstants(d,swig_const_table);
  
  
  PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
  SWIG_addvarlink(SWIG_globals(),(char*)"DataViewCtrlNameStr",DataViewCtrlNameStr_get, DataViewCtrlNameStr_set);
  SWIG_Python_SetConstant(d, "DVC_DEFAULT_RENDERER_SIZE",SWIG_From_int(static_cast< int >(wxDVC_DEFAULT_RENDERER_SIZE)));
  SWIG_Python_SetConstant(d, "DVC_DEFAULT_WIDTH",SWIG_From_int(static_cast< int >(wxDVC_DEFAULT_WIDTH)));
  SWIG_Python_SetConstant(d, "DVC_TOGGLE_DEFAULT_WIDTH",SWIG_From_int(static_cast< int >(wxDVC_TOGGLE_DEFAULT_WIDTH)));
  SWIG_Python_SetConstant(d, "DVC_DEFAULT_MINWIDTH",SWIG_From_int(static_cast< int >(wxDVC_DEFAULT_MINWIDTH)));
  SWIG_Python_SetConstant(d, "DVR_DEFAULT_ALIGNMENT",SWIG_From_int(static_cast< int >(wxDVR_DEFAULT_ALIGNMENT)));
  SWIG_Python_SetConstant(d, "DATAVIEW_CELL_INERT",SWIG_From_int(static_cast< int >(wxDATAVIEW_CELL_INERT)));
  SWIG_Python_SetConstant(d, "DATAVIEW_CELL_ACTIVATABLE",SWIG_From_int(static_cast< int >(wxDATAVIEW_CELL_ACTIVATABLE)));
  SWIG_Python_SetConstant(d, "DATAVIEW_CELL_EDITABLE",SWIG_From_int(static_cast< int >(wxDATAVIEW_CELL_EDITABLE)));
  SWIG_Python_SetConstant(d, "DATAVIEW_CELL_SELECTED",SWIG_From_int(static_cast< int >(wxDATAVIEW_CELL_SELECTED)));
  SWIG_Python_SetConstant(d, "DATAVIEW_CELL_PRELIT",SWIG_From_int(static_cast< int >(wxDATAVIEW_CELL_PRELIT)));
  SWIG_Python_SetConstant(d, "DATAVIEW_CELL_INSENSITIVE",SWIG_From_int(static_cast< int >(wxDATAVIEW_CELL_INSENSITIVE)));
  SWIG_Python_SetConstant(d, "DATAVIEW_CELL_FOCUSED",SWIG_From_int(static_cast< int >(wxDATAVIEW_CELL_FOCUSED)));
  SWIG_Python_SetConstant(d, "DATAVIEW_COL_RESIZABLE",SWIG_From_int(static_cast< int >(wxDATAVIEW_COL_RESIZABLE)));
  SWIG_Python_SetConstant(d, "DATAVIEW_COL_SORTABLE",SWIG_From_int(static_cast< int >(wxDATAVIEW_COL_SORTABLE)));
  SWIG_Python_SetConstant(d, "DATAVIEW_COL_REORDERABLE",SWIG_From_int(static_cast< int >(wxDATAVIEW_COL_REORDERABLE)));
  SWIG_Python_SetConstant(d, "DATAVIEW_COL_HIDDEN",SWIG_From_int(static_cast< int >(wxDATAVIEW_COL_HIDDEN)));
  SWIG_Python_SetConstant(d, "DV_SINGLE",SWIG_From_int(static_cast< int >(wxDV_SINGLE)));
  SWIG_Python_SetConstant(d, "DV_MULTIPLE",SWIG_From_int(static_cast< int >(wxDV_MULTIPLE)));
  SWIG_Python_SetConstant(d, "DV_NO_HEADER",SWIG_From_int(static_cast< int >(wxDV_NO_HEADER)));
  SWIG_Python_SetConstant(d, "DV_HORIZ_RULES",SWIG_From_int(static_cast< int >(wxDV_HORIZ_RULES)));
  SWIG_Python_SetConstant(d, "DV_VERT_RULES",SWIG_From_int(static_cast< int >(wxDV_VERT_RULES)));
  SWIG_Python_SetConstant(d, "DV_ROW_LINES",SWIG_From_int(static_cast< int >(wxDV_ROW_LINES)));
  SWIG_Python_SetConstant(d, "DV_VARIABLE_LINE_HEIGHT",SWIG_From_int(static_cast< int >(wxDV_VARIABLE_LINE_HEIGHT)));
  PyDict_SetItemString(d, "wxEVT_COMMAND_DATAVIEW_SELECTION_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DATAVIEW_SELECTION_CHANGED));
  PyDict_SetItemString(d, "wxEVT_COMMAND_DATAVIEW_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_DATAVIEW_ITEM_ACTIVATED));
  PyDict_SetItemString(d, "wxEVT_COMMAND_DATAVIEW_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_DATAVIEW_ITEM_COLLAPSED));
  PyDict_SetItemString(d, "wxEVT_COMMAND_DATAVIEW_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_DATAVIEW_ITEM_EXPANDED));
  PyDict_SetItemString(d, "wxEVT_COMMAND_DATAVIEW_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_DATAVIEW_ITEM_COLLAPSING));
  PyDict_SetItemString(d, "wxEVT_COMMAND_DATAVIEW_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_DATAVIEW_ITEM_EXPANDING));
  PyDict_SetItemString(d, "wxEVT_COMMAND_DATAVIEW_ITEM_START_EDITING", PyInt_FromLong(wxEVT_COMMAND_DATAVIEW_ITEM_START_EDITING));
  PyDict_SetItemString(d, "wxEVT_COMMAND_DATAVIEW_ITEM_EDITING_STARTED", PyInt_FromLong(wxEVT_COMMAND_DATAVIEW_ITEM_EDITING_STARTED));
  PyDict_SetItemString(d, "wxEVT_COMMAND_DATAVIEW_ITEM_EDITING_DONE", PyInt_FromLong(wxEVT_COMMAND_DATAVIEW_ITEM_EDITING_DONE));
  PyDict_SetItemString(d, "wxEVT_COMMAND_DATAVIEW_ITEM_VALUE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DATAVIEW_ITEM_VALUE_CHANGED));
  PyDict_SetItemString(d, "wxEVT_COMMAND_DATAVIEW_ITEM_CONTEXT_MENU", PyInt_FromLong(wxEVT_COMMAND_DATAVIEW_ITEM_CONTEXT_MENU));
  PyDict_SetItemString(d, "wxEVT_COMMAND_DATAVIEW_COLUMN_HEADER_CLICK", PyInt_FromLong(wxEVT_COMMAND_DATAVIEW_COLUMN_HEADER_CLICK));
  PyDict_SetItemString(d, "wxEVT_COMMAND_DATAVIEW_COLUMN_HEADER_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_DATAVIEW_COLUMN_HEADER_RIGHT_CLICK));
  PyDict_SetItemString(d, "wxEVT_COMMAND_DATAVIEW_COLUMN_SORTED", PyInt_FromLong(wxEVT_COMMAND_DATAVIEW_COLUMN_SORTED));
  PyDict_SetItemString(d, "wxEVT_COMMAND_DATAVIEW_COLUMN_REORDERED", PyInt_FromLong(wxEVT_COMMAND_DATAVIEW_COLUMN_REORDERED));
  PyDict_SetItemString(d, "wxEVT_COMMAND_DATAVIEW_ITEM_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_DATAVIEW_ITEM_BEGIN_DRAG));
  PyDict_SetItemString(d, "wxEVT_COMMAND_DATAVIEW_ITEM_DROP_POSSIBLE", PyInt_FromLong(wxEVT_COMMAND_DATAVIEW_ITEM_DROP_POSSIBLE));
  PyDict_SetItemString(d, "wxEVT_COMMAND_DATAVIEW_ITEM_DROP", PyInt_FromLong(wxEVT_COMMAND_DATAVIEW_ITEM_DROP));
  PyDict_SetItemString(d, "wxEVT_COMMAND_DATAVIEW_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_DATAVIEW_CACHE_HINT));
  
  
}

