1 /* ---------------------------------------------------------------------------- 
   2  * This file was automatically generated by SWIG (http://www.swig.org). 
   5  * This file is not intended to be easily readable and contains a number of  
   6  * coding conventions designed to improve portability and efficiency. Do not make 
   7  * changes to this file unless you know what you are doing--modify the SWIG  
   8  * interface file instead.  
   9  * ----------------------------------------------------------------------------- */ 
  12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE 
  15 template<class T
> class SwigValueWrapper 
{ 
  18     SwigValueWrapper() : tt(0) { } 
  19     SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { } 
  20     SwigValueWrapper(const T
& t
) : tt(new T(t
)) { } 
  21     ~SwigValueWrapper() { delete tt
; }  
  22     SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt 
= new T(t
); return *this; } 
  23     operator T
&() const { return *tt
; } 
  24     T 
*operator&() { return tt
; } 
  26     SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
); 
  30 /* ----------------------------------------------------------------------------- 
  31  *  This section contains generic SWIG labels for method/variable 
  32  *  declarations/attributes, and other compiler dependent labels. 
  33  * ----------------------------------------------------------------------------- */ 
  35 /* template workaround for compilers that cannot correctly implement the C++ standard */ 
  36 #ifndef SWIGTEMPLATEDISAMBIGUATOR 
  37 # if defined(__SUNPRO_CC) 
  38 #   if (__SUNPRO_CC <= 0x560) 
  39 #     define SWIGTEMPLATEDISAMBIGUATOR template 
  41 #     define SWIGTEMPLATEDISAMBIGUATOR  
  44 #   define SWIGTEMPLATEDISAMBIGUATOR  
  48 /* inline attribute */ 
  50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__)) 
  51 #   define SWIGINLINE inline 
  57 /* attribute recognised by some compilers to avoid 'unused' warnings */ 
  59 # if defined(__GNUC__) 
  60 #   if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)) 
  61 #     define SWIGUNUSED __attribute__ ((__unused__))  
  66 #   define SWIGUNUSED __attribute__ ((__unused__))  
  72 #ifndef SWIGUNUSEDPARM 
  74 #   define SWIGUNUSEDPARM(p) 
  76 #   define SWIGUNUSEDPARM(p) p SWIGUNUSED  
  80 /* internal SWIG method */ 
  82 # define SWIGINTERN static SWIGUNUSED 
  85 /* internal inline SWIG method */ 
  86 #ifndef SWIGINTERNINLINE 
  87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE 
  90 /* exporting methods */ 
  91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) 
  92 #  ifndef GCC_HASCLASSVISIBILITY 
  93 #    define GCC_HASCLASSVISIBILITY 
  98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) 
  99 #   if defined(STATIC_LINKED) 
 102 #     define SWIGEXPORT __declspec(dllexport) 
 105 #   if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY) 
 106 #     define SWIGEXPORT __attribute__ ((visibility("default"))) 
 113 /* calling conventions for Windows */ 
 115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) 
 116 #   define SWIGSTDCALL __stdcall 
 122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */ 
 123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) 
 124 # define _CRT_SECURE_NO_DEPRECATE 
 128 /* Python.h has to appear first */ 
 131 /* ----------------------------------------------------------------------------- 
 134  * This file contains generic CAPI SWIG runtime support for pointer 
 136  * ----------------------------------------------------------------------------- */ 
 138 /* This should only be incremented when either the layout of swig_type_info changes, 
 139    or for whatever reason, the runtime changes incompatibly */ 
 140 #define SWIG_RUNTIME_VERSION "2" 
 142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */ 
 143 #ifdef SWIG_TYPE_TABLE 
 144 # define SWIG_QUOTE_STRING(x) #x 
 145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x) 
 146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE) 
 148 # define SWIG_TYPE_TABLE_NAME 
 152   You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for 
 153   creating a static or dynamic library from the swig runtime code. 
 154   In 99.9% of the cases, swig just needs to declare them as 'static'. 
 156   But only do this if is strictly necessary, ie, if you have problems 
 157   with your compiler or so. 
 161 # define SWIGRUNTIME SWIGINTERN 
 164 #ifndef SWIGRUNTIMEINLINE 
 165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE 
 168 /*  Generic buffer size */ 
 169 #ifndef SWIG_BUFFER_SIZE 
 170 # define SWIG_BUFFER_SIZE 1024 
 173 /* Flags for pointer conversions */ 
 174 #define SWIG_POINTER_DISOWN        0x1 
 176 /* Flags for new pointer objects */ 
 177 #define SWIG_POINTER_OWN           0x1 
 181    Flags/methods for returning states. 
 183    The swig conversion methods, as ConvertPtr, return and integer  
 184    that tells if the conversion was successful or not. And if not, 
 185    an error code can be returned (see swigerrors.swg for the codes). 
 187    Use the following macros/flags to set or process the returning 
 190    In old swig versions, you usually write code as: 
 192      if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) { 
 198    Now you can be more explicit as: 
 200     int res = SWIG_ConvertPtr(obj,vptr,ty.flags); 
 201     if (SWIG_IsOK(res)) { 
 207    that seems to be the same, but now you can also do 
 210     int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags); 
 211     if (SWIG_IsOK(res)) { 
 213       if (SWIG_IsNewObj(res) { 
 223    I.e., now SWIG_ConvertPtr can return new objects and you can 
 224    identify the case and take care of the deallocation. Of course that 
 225    requires also to SWIG_ConvertPtr to return new result values, as 
 227       int SWIG_ConvertPtr(obj, ptr,...) {          
 229           if (<need new object>) {                      
 230             *ptr = <ptr to new allocated object>;  
 233             *ptr = <ptr to old object>;         
 241    Of course, returning the plain '0(success)/-1(fail)' still works, but you can be 
 242    more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the 
 245    Finally, if the SWIG_CASTRANK_MODE is enabled, the result code 
 246    allows to return the 'cast rank', for example, if you have this 
 253       food(1)   // cast rank '1'  (1 -> 1.0) 
 254       fooi(1)   // cast rank '0' 
 256    just use the SWIG_AddCast()/SWIG_CheckState() 
 261 #define SWIG_ERROR                 (-1) 
 262 #define SWIG_IsOK(r)               (r >= 0) 
 263 #define SWIG_ArgError(r)           ((r != SWIG_ERROR) ? r : SWIG_TypeError)   
 265 /* The CastRankLimit says how many bits are used for the cast rank */ 
 266 #define SWIG_CASTRANKLIMIT         (1 << 8) 
 267 /* The NewMask denotes the object was created (using new/malloc) */ 
 268 #define SWIG_NEWOBJMASK            (SWIG_CASTRANKLIMIT  << 1) 
 269 /* The TmpMask is for in/out typemaps that use temporal objects */ 
 270 #define SWIG_TMPOBJMASK            (SWIG_NEWOBJMASK << 1) 
 271 /* Simple returning values */ 
 272 #define SWIG_BADOBJ                (SWIG_ERROR) 
 273 #define SWIG_OLDOBJ                (SWIG_OK) 
 274 #define SWIG_NEWOBJ                (SWIG_OK | SWIG_NEWOBJMASK) 
 275 #define SWIG_TMPOBJ                (SWIG_OK | SWIG_TMPOBJMASK) 
 276 /* Check, add and del mask methods */ 
 277 #define SWIG_AddNewMask(r)         (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r) 
 278 #define SWIG_DelNewMask(r)         (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r) 
 279 #define SWIG_IsNewObj(r)           (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK)) 
 280 #define SWIG_AddTmpMask(r)         (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r) 
 281 #define SWIG_DelTmpMask(r)         (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r) 
 282 #define SWIG_IsTmpObj(r)           (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK)) 
 286 #if defined(SWIG_CASTRANK_MODE) 
 287 #  ifndef SWIG_TypeRank 
 288 #    define SWIG_TypeRank             unsigned long 
 290 #  ifndef SWIG_MAXCASTRANK            /* Default cast allowed */ 
 291 #    define SWIG_MAXCASTRANK          (2) 
 293 #  define SWIG_CASTRANKMASK          ((SWIG_CASTRANKLIMIT) -1) 
 294 #  define SWIG_CastRank(r)           (r & SWIG_CASTRANKMASK) 
 295 SWIGINTERNINLINE 
int SWIG_AddCast(int r
) {  
 296   return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r 
+ 1) : SWIG_ERROR
) : r
; 
 298 SWIGINTERNINLINE 
int SWIG_CheckState(int r
) {  
 299   return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;  
 301 #else /* no cast-rank mode */ 
 302 #  define SWIG_AddCast 
 303 #  define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0) 
 315 typedef void *(*swig_converter_func
)(void *); 
 316 typedef struct swig_type_info 
*(*swig_dycast_func
)(void **); 
 318 /* Structure to store inforomation on one type */ 
 319 typedef struct swig_type_info 
{ 
 320   const char             *name
;                 /* mangled name of this type */ 
 321   const char             *str
;                  /* human readable name of this type */ 
 322   swig_dycast_func        dcast
;                /* dynamic cast function down a hierarchy */ 
 323   struct swig_cast_info  
*cast
;                 /* linked list of types that can cast into this type */ 
 324   void                   *clientdata
;           /* language specific type data */ 
 325   int                    owndata
;               /* flag if the structure owns the clientdata */ 
 328 /* Structure to store a type and conversion function used for casting */ 
 329 typedef struct swig_cast_info 
{ 
 330   swig_type_info         
*type
;                 /* pointer to type that is equivalent to this type */ 
 331   swig_converter_func     converter
;            /* function to cast the void pointers */ 
 332   struct swig_cast_info  
*next
;                 /* pointer to next cast in linked list */ 
 333   struct swig_cast_info  
*prev
;                 /* pointer to the previous cast */ 
 336 /* Structure used to store module information 
 337  * Each module generates one structure like this, and the runtime collects 
 338  * all of these structures and stores them in a circularly linked list.*/ 
 339 typedef struct swig_module_info 
{ 
 340   swig_type_info         
**types
;               /* Array of pointers to swig_type_info structures that are in this module */ 
 341   size_t                 size
;                  /* Number of types in this module */ 
 342   struct swig_module_info 
*next
;                /* Pointer to next element in circularly linked list */ 
 343   swig_type_info         
**type_initial
;        /* Array of initially generated type structures */ 
 344   swig_cast_info         
**cast_initial
;        /* Array of initially generated casting structures */ 
 345   void                    *clientdata
;          /* Language specific module data */ 
 349   Compare two type names skipping the space characters, therefore 
 350   "char*" == "char *" and "Class<int>" == "Class<int >", etc. 
 352   Return 0 when the two name types are equivalent, as in 
 353   strncmp, but skipping ' '. 
 356 SWIG_TypeNameComp(const char *f1
, const char *l1
, 
 357                   const char *f2
, const char *l2
) { 
 358   for (;(f1 
!= l1
) && (f2 
!= l2
); ++f1
, ++f2
) { 
 359     while ((*f1 
== ' ') && (f1 
!= l1
)) ++f1
; 
 360     while ((*f2 
== ' ') && (f2 
!= l2
)) ++f2
; 
 361     if (*f1 
!= *f2
) return (*f1 
> *f2
) ? 1 : -1; 
 363   return (l1 
- f1
) - (l2 
- f2
); 
 367   Check type equivalence in a name list like <name1>|<name2>|... 
 368   Return 0 if not equal, 1 if equal 
 371 SWIG_TypeEquiv(const char *nb
, const char *tb
) { 
 373   const char* te 
= tb 
+ strlen(tb
); 
 375   while (!equiv 
&& *ne
) { 
 376     for (nb 
= ne
; *ne
; ++ne
) { 
 377       if (*ne 
== '|') break; 
 379     equiv 
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0; 
 386   Check type equivalence in a name list like <name1>|<name2>|... 
 387   Return 0 if equal, -1 if nb < tb, 1 if nb > tb 
 390 SWIG_TypeCompare(const char *nb
, const char *tb
) { 
 392   const char* te 
= tb 
+ strlen(tb
); 
 394   while (!equiv 
&& *ne
) { 
 395     for (nb 
= ne
; *ne
; ++ne
) { 
 396       if (*ne 
== '|') break; 
 398     equiv 
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0; 
 405 /* think of this as a c++ template<> or a scheme macro */ 
 406 #define SWIG_TypeCheck_Template(comparison, ty)         \ 
 408     swig_cast_info *iter = ty->cast;                    \ 
 411         if (iter == ty->cast) return iter;              \ 
 412         /* Move iter to the top of the linked list */   \ 
 413         iter->prev->next = iter->next;                  \ 
 415           iter->next->prev = iter->prev;                \ 
 416         iter->next = ty->cast;                          \ 
 418         if (ty->cast) ty->cast->prev = iter;            \ 
 430 SWIGRUNTIME swig_cast_info 
* 
 431 SWIG_TypeCheck(const char *c
, swig_type_info 
*ty
) { 
 432   SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
); 
 435 /* Same as previous function, except strcmp is replaced with a pointer comparison */ 
 436 SWIGRUNTIME swig_cast_info 
* 
 437 SWIG_TypeCheckStruct(swig_type_info 
*from
, swig_type_info 
*into
) { 
 438   SWIG_TypeCheck_Template(iter
->type 
== from
, into
); 
 442   Cast a pointer up an inheritance hierarchy 
 444 SWIGRUNTIMEINLINE 
void * 
 445 SWIG_TypeCast(swig_cast_info 
*ty
, void *ptr
) { 
 446   return ((!ty
) || (!ty
->converter
)) ? ptr 
: (*ty
->converter
)(ptr
); 
 450    Dynamic pointer casting. Down an inheritance hierarchy 
 452 SWIGRUNTIME swig_type_info 
* 
 453 SWIG_TypeDynamicCast(swig_type_info 
*ty
, void **ptr
) { 
 454   swig_type_info 
*lastty 
= ty
; 
 455   if (!ty 
|| !ty
->dcast
) return ty
; 
 456   while (ty 
&& (ty
->dcast
)) { 
 457     ty 
= (*ty
->dcast
)(ptr
); 
 464   Return the name associated with this type 
 466 SWIGRUNTIMEINLINE 
const char * 
 467 SWIG_TypeName(const swig_type_info 
*ty
) { 
 472   Return the pretty name associated with this type, 
 473   that is an unmangled type name in a form presentable to the user. 
 475 SWIGRUNTIME 
const char * 
 476 SWIG_TypePrettyName(const swig_type_info 
*type
) { 
 477   /* The "str" field contains the equivalent pretty names of the 
 478      type, separated by vertical-bar characters.  We choose 
 479      to print the last name, as it is often (?) the most 
 481   if (!type
) return NULL
; 
 482   if (type
->str 
!= NULL
) { 
 483     const char *last_name 
= type
->str
; 
 485     for (s 
= type
->str
; *s
; s
++) 
 486       if (*s 
== '|') last_name 
= s
+1; 
 494    Set the clientdata field for a type 
 497 SWIG_TypeClientData(swig_type_info 
*ti
, void *clientdata
) { 
 498   swig_cast_info 
*cast 
= ti
->cast
; 
 499   /* if (ti->clientdata == clientdata) return; */ 
 500   ti
->clientdata 
= clientdata
; 
 503     if (!cast
->converter
) { 
 504       swig_type_info 
*tc 
= cast
->type
; 
 505       if (!tc
->clientdata
) { 
 506         SWIG_TypeClientData(tc
, clientdata
); 
 513 SWIG_TypeNewClientData(swig_type_info 
*ti
, void *clientdata
) { 
 514   SWIG_TypeClientData(ti
, clientdata
); 
 519   Search for a swig_type_info structure only by mangled name 
 520   Search is a O(log #types) 
 522   We start searching at module start, and finish searching when start == end.   
 523   Note: if start == end at the beginning of the function, we go all the way around 
 526 SWIGRUNTIME swig_type_info 
* 
 527 SWIG_MangledTypeQueryModule(swig_module_info 
*start
,  
 528                             swig_module_info 
*end
,  
 530   swig_module_info 
*iter 
= start
; 
 533       register size_t l 
= 0; 
 534       register size_t r 
= iter
->size 
- 1; 
 536         /* since l+r >= 0, we can (>> 1) instead (/ 2) */ 
 537         register size_t i 
= (l 
+ r
) >> 1;  
 538         const char *iname 
= iter
->types
[i
]->name
; 
 540           register int compare 
= strcmp(name
, iname
); 
 542             return iter
->types
[i
]; 
 543           } else if (compare 
< 0) { 
 549           } else if (compare 
> 0) { 
 553           break; /* should never happen */ 
 558   } while (iter 
!= end
); 
 563   Search for a swig_type_info structure for either a mangled name or a human readable name. 
 564   It first searches the mangled names of the types, which is a O(log #types) 
 565   If a type is not found it then searches the human readable names, which is O(#types). 
 567   We start searching at module start, and finish searching when start == end.   
 568   Note: if start == end at the beginning of the function, we go all the way around 
 571 SWIGRUNTIME swig_type_info 
* 
 572 SWIG_TypeQueryModule(swig_module_info 
*start
,  
 573                      swig_module_info 
*end
,  
 575   /* STEP 1: Search the name field using binary search */ 
 576   swig_type_info 
*ret 
= SWIG_MangledTypeQueryModule(start
, end
, name
); 
 580     /* STEP 2: If the type hasn't been found, do a complete search 
 581        of the str field (the human readable name) */ 
 582     swig_module_info 
*iter 
= start
; 
 584       register size_t i 
= 0; 
 585       for (; i 
< iter
->size
; ++i
) { 
 586         if (iter
->types
[i
]->str 
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
))) 
 587           return iter
->types
[i
]; 
 590     } while (iter 
!= end
); 
 593   /* neither found a match */ 
 598    Pack binary data into a string 
 601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) { 
 602   static const char hex
[17] = "0123456789abcdef"; 
 603   register const unsigned char *u 
= (unsigned char *) ptr
; 
 604   register const unsigned char *eu 
=  u 
+ sz
; 
 605   for (; u 
!= eu
; ++u
) { 
 606     register unsigned char uu 
= *u
; 
 607     *(c
++) = hex
[(uu 
& 0xf0) >> 4]; 
 608     *(c
++) = hex
[uu 
& 0xf]; 
 614    Unpack binary data from a string 
 616 SWIGRUNTIME 
const char * 
 617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) { 
 618   register unsigned char *u 
= (unsigned char *) ptr
; 
 619   register const unsigned char *eu 
= u 
+ sz
; 
 620   for (; u 
!= eu
; ++u
) { 
 621     register char d 
= *(c
++); 
 622     register unsigned char uu
; 
 623     if ((d 
>= '0') && (d 
<= '9')) 
 624       uu 
= ((d 
- '0') << 4); 
 625     else if ((d 
>= 'a') && (d 
<= 'f')) 
 626       uu 
= ((d 
- ('a'-10)) << 4); 
 630     if ((d 
>= '0') && (d 
<= '9')) 
 632     else if ((d 
>= 'a') && (d 
<= 'f')) 
 633       uu 
|= (d 
- ('a'-10)); 
 642    Pack 'void *' into a string buffer. 
 645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) { 
 647   if ((2*sizeof(void *) + 2) > bsz
) return 0; 
 649   r 
= SWIG_PackData(r
,&ptr
,sizeof(void *)); 
 650   if (strlen(name
) + 1 > (bsz 
- (r 
- buff
))) return 0; 
 655 SWIGRUNTIME 
const char * 
 656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) { 
 658     if (strcmp(c
,"NULL") == 0) { 
 665   return SWIG_UnpackData(++c
,ptr
,sizeof(void *)); 
 669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) { 
 671   size_t lname 
= (name 
? strlen(name
) : 0); 
 672   if ((2*sz 
+ 2 + lname
) > bsz
) return 0; 
 674   r 
= SWIG_PackData(r
,ptr
,sz
); 
 676     strncpy(r
,name
,lname
+1); 
 683 SWIGRUNTIME 
const char * 
 684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) { 
 686     if (strcmp(c
,"NULL") == 0) { 
 693   return SWIG_UnpackData(++c
,ptr
,sz
); 
 701 #define  SWIG_UnknownError         -1  
 702 #define  SWIG_IOError              -2  
 703 #define  SWIG_RuntimeError         -3  
 704 #define  SWIG_IndexError           -4  
 705 #define  SWIG_TypeError            -5  
 706 #define  SWIG_DivisionByZero       -6  
 707 #define  SWIG_OverflowError        -7  
 708 #define  SWIG_SyntaxError          -8  
 709 #define  SWIG_ValueError           -9  
 710 #define  SWIG_SystemError          -10 
 711 #define  SWIG_AttributeError       -11 
 712 #define  SWIG_MemoryError          -12  
 713 #define  SWIG_NullReferenceError   -13 
 717 /* Python.h has to appear first */ 
 720 /* Add PyOS_snprintf for old Pythons */ 
 721 #if PY_VERSION_HEX < 0x02020000 
 722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM) 
 723 #  define PyOS_snprintf _snprintf 
 725 #  define PyOS_snprintf snprintf 
 729 /* A crude PyString_FromFormat implementation for old Pythons */ 
 730 #if PY_VERSION_HEX < 0x02020000 
 732 #ifndef SWIG_PYBUFFER_SIZE 
 733 # define SWIG_PYBUFFER_SIZE 1024 
 737 PyString_FromFormat(const char *fmt
, ...) { 
 739   char buf
[SWIG_PYBUFFER_SIZE 
* 2]; 
 742   res 
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
); 
 744   return (res 
< 0 || res 
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
); 
 748 /* Add PyObject_Del for old Pythons */ 
 749 #if PY_VERSION_HEX < 0x01060000 
 750 # define PyObject_Del(op) PyMem_DEL((op)) 
 753 # define PyObject_DEL PyObject_Del 
 756 /* A crude PyExc_StopIteration exception for old Pythons */ 
 757 #if PY_VERSION_HEX < 0x02020000 
 758 # ifndef PyExc_StopIteration 
 759 #  define PyExc_StopIteration PyExc_RuntimeError 
 761 # ifndef PyObject_GenericGetAttr 
 762 #  define PyObject_GenericGetAttr 0 
 765 /* Py_NotImplemented is defined in 2.1 and up. */ 
 766 #if PY_VERSION_HEX < 0x02010000 
 767 # ifndef Py_NotImplemented 
 768 #  define Py_NotImplemented PyExc_RuntimeError 
 773 /* A crude PyString_AsStringAndSize implementation for old Pythons */ 
 774 #if PY_VERSION_HEX < 0x02010000 
 775 # ifndef PyString_AsStringAndSize 
 776 #  define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;} 
 780 /* PySequence_Size for old Pythons */ 
 781 #if PY_VERSION_HEX < 0x02000000 
 782 # ifndef PySequence_Size 
 783 #  define PySequence_Size PySequence_Length 
 788 /* PyBool_FromLong for old Pythons */ 
 789 #if PY_VERSION_HEX < 0x02030000 
 791 PyObject 
*PyBool_FromLong(long ok
) 
 793   PyObject 
*result 
= ok 
? Py_True 
: Py_False
; 
 800 /* ----------------------------------------------------------------------------- 
 802  * ----------------------------------------------------------------------------- */ 
 804 SWIGRUNTIME PyObject
* 
 805 SWIG_Python_ErrorType(int code
) { 
 808   case SWIG_MemoryError
: 
 809     type 
= PyExc_MemoryError
; 
 812     type 
= PyExc_IOError
; 
 814   case SWIG_RuntimeError
: 
 815     type 
= PyExc_RuntimeError
; 
 817   case SWIG_IndexError
: 
 818     type 
= PyExc_IndexError
; 
 821     type 
= PyExc_TypeError
; 
 823   case SWIG_DivisionByZero
: 
 824     type 
= PyExc_ZeroDivisionError
; 
 826   case SWIG_OverflowError
: 
 827     type 
= PyExc_OverflowError
; 
 829   case SWIG_SyntaxError
: 
 830     type 
= PyExc_SyntaxError
; 
 832   case SWIG_ValueError
: 
 833     type 
= PyExc_ValueError
; 
 835   case SWIG_SystemError
: 
 836     type 
= PyExc_SystemError
; 
 838   case SWIG_AttributeError
: 
 839     type 
= PyExc_AttributeError
; 
 842     type 
= PyExc_RuntimeError
; 
 849 SWIG_Python_AddErrorMsg(const char* mesg
) 
 853   PyObject 
*traceback 
= 0; 
 855   if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
); 
 857     PyObject 
*old_str 
= PyObject_Str(value
); 
 860     PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
); 
 864     PyErr_Format(PyExc_RuntimeError
, mesg
); 
 870 #if defined(SWIG_PYTHON_NO_THREADS) 
 871 #  if defined(SWIG_PYTHON_THREADS) 
 872 #    undef SWIG_PYTHON_THREADS 
 875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */ 
 876 #  if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL) 
 877 #    if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */ 
 878 #      define SWIG_PYTHON_USE_GIL 
 881 #  if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */ 
 882 #    ifndef SWIG_PYTHON_INITIALIZE_THREADS 
 883 #     define SWIG_PYTHON_INITIALIZE_THREADS  PyEval_InitThreads()  
 885 #    ifdef __cplusplus /* C++ code */ 
 886        class SWIG_Python_Thread_Block 
{ 
 888          PyGILState_STATE state
; 
 890          void end() { if (status
) { PyGILState_Release(state
); status 
= false;} } 
 891          SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {} 
 892          ~SWIG_Python_Thread_Block() { end(); } 
 894        class SWIG_Python_Thread_Allow 
{ 
 898          void end() { if (status
) { PyEval_RestoreThread(save
); status 
= false; }} 
 899          SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {} 
 900          ~SWIG_Python_Thread_Allow() { end(); } 
 902 #      define SWIG_PYTHON_THREAD_BEGIN_BLOCK   SWIG_Python_Thread_Block _swig_thread_block 
 903 #      define SWIG_PYTHON_THREAD_END_BLOCK     _swig_thread_block.end() 
 904 #      define SWIG_PYTHON_THREAD_BEGIN_ALLOW   SWIG_Python_Thread_Allow _swig_thread_allow 
 905 #      define SWIG_PYTHON_THREAD_END_ALLOW     _swig_thread_allow.end() 
 907 #      define SWIG_PYTHON_THREAD_BEGIN_BLOCK   PyGILState_STATE _swig_thread_block = PyGILState_Ensure() 
 908 #      define SWIG_PYTHON_THREAD_END_BLOCK     PyGILState_Release(_swig_thread_block) 
 909 #      define SWIG_PYTHON_THREAD_BEGIN_ALLOW   PyThreadState *_swig_thread_allow = PyEval_SaveThread() 
 910 #      define SWIG_PYTHON_THREAD_END_ALLOW     PyEval_RestoreThread(_swig_thread_allow) 
 912 #  else /* Old thread way, not implemented, user must provide it */ 
 913 #    if !defined(SWIG_PYTHON_INITIALIZE_THREADS) 
 914 #      define SWIG_PYTHON_INITIALIZE_THREADS 
 916 #    if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK) 
 917 #      define SWIG_PYTHON_THREAD_BEGIN_BLOCK 
 919 #    if !defined(SWIG_PYTHON_THREAD_END_BLOCK) 
 920 #      define SWIG_PYTHON_THREAD_END_BLOCK 
 922 #    if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW) 
 923 #      define SWIG_PYTHON_THREAD_BEGIN_ALLOW 
 925 #    if !defined(SWIG_PYTHON_THREAD_END_ALLOW) 
 926 #      define SWIG_PYTHON_THREAD_END_ALLOW 
 929 #else /* No thread support */ 
 930 #  define SWIG_PYTHON_INITIALIZE_THREADS 
 931 #  define SWIG_PYTHON_THREAD_BEGIN_BLOCK 
 932 #  define SWIG_PYTHON_THREAD_END_BLOCK 
 933 #  define SWIG_PYTHON_THREAD_BEGIN_ALLOW 
 934 #  define SWIG_PYTHON_THREAD_END_ALLOW 
 937 /* ----------------------------------------------------------------------------- 
 938  * Python API portion that goes into the runtime 
 939  * ----------------------------------------------------------------------------- */ 
 948 /* ----------------------------------------------------------------------------- 
 949  * Constant declarations 
 950  * ----------------------------------------------------------------------------- */ 
 953 #define SWIG_PY_POINTER 4 
 954 #define SWIG_PY_BINARY  5 
 956 /* Constant information structure */ 
 957 typedef struct swig_const_info 
{ 
 963   swig_type_info 
**ptype
; 
 974 /* ----------------------------------------------------------------------------- 
 975  * See the LICENSE file for information on copyright, usage and redistribution 
 976  * of SWIG, and the README file for authors - http://www.swig.org/release.html. 
 980  * This file contains the runtime support for Python modules 
 981  * and includes code for managing global variables and pointer 
 984  * ----------------------------------------------------------------------------- */ 
 986 /* Common SWIG API */ 
 988 #if PY_VERSION_HEX < 0x02050000 
 989 typedef int Py_ssize_t
; 
 992 /* for raw pointers */ 
 993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags)  SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0) 
 994 #define SWIG_ConvertPtr(obj, pptr, type, flags)         SWIG_Python_ConvertPtr(obj, pptr, type, flags) 
 995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own)  SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own) 
 996 #define SWIG_NewPointerObj(ptr, type, flags)            SWIG_Python_NewPointerObj(ptr, type, flags) 
 997 #define SWIG_CheckImplicit(ty)                          SWIG_Python_CheckImplicit(ty)  
 998 #define SWIG_AcquirePtr(ptr, src)                       SWIG_Python_AcquirePtr(ptr, src) 
 999 #define swig_owntype                                    int 
1001 /* for raw packed data */ 
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty)            SWIG_Python_ConvertPacked(obj, ptr, sz, ty) 
1003 #define SWIG_NewPackedObj(ptr, sz, type)                SWIG_Python_NewPackedObj(ptr, sz, type) 
1005 /* for class or struct pointers */ 
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags)    SWIG_ConvertPtr(obj, pptr, type, flags) 
1007 #define SWIG_NewInstanceObj(ptr, type, flags)           SWIG_NewPointerObj(ptr, type, flags) 
1009 /* for C or C++ function pointers */ 
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type)        SWIG_Python_ConvertFunctionPtr(obj, pptr, type) 
1011 #define SWIG_NewFunctionPtrObj(ptr, type)               SWIG_Python_NewPointerObj(ptr, type, 0) 
1013 /* for C++ member pointers, ie, member methods */ 
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty)            SWIG_Python_ConvertPacked(obj, ptr, sz, ty) 
1015 #define SWIG_NewMemberObj(ptr, sz, type)                SWIG_Python_NewPackedObj(ptr, sz, type) 
1020 #define SWIG_GetModule(clientdata)                      SWIG_Python_GetModule() 
1021 #define SWIG_SetModule(clientdata, pointer)             SWIG_Python_SetModule(pointer) 
1022 #define SWIG_NewClientData(obj)                         PySwigClientData_New(obj) 
1024 #define SWIG_SetErrorObj                                SWIG_Python_SetErrorObj                             
1025 #define SWIG_SetErrorMsg                                SWIG_Python_SetErrorMsg                             
1026 #define SWIG_ErrorType(code)                            SWIG_Python_ErrorType(code)                         
1027 #define SWIG_Error(code, msg)                           SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)  
1028 #define SWIG_fail                                       goto fail                                           
1031 /* Runtime API implementation */ 
1033 /* Error manipulation */ 
1036 SWIG_Python_SetErrorObj(PyObject 
*errtype
, PyObject 
*obj
) { 
1037   SWIG_PYTHON_THREAD_BEGIN_BLOCK
;  
1038   PyErr_SetObject(errtype
, obj
); 
1040   SWIG_PYTHON_THREAD_END_BLOCK
; 
1044 SWIG_Python_SetErrorMsg(PyObject 
*errtype
, const char *msg
) { 
1045   SWIG_PYTHON_THREAD_BEGIN_BLOCK
; 
1046   PyErr_SetString(errtype
, (char *) msg
); 
1047   SWIG_PYTHON_THREAD_END_BLOCK
; 
1050 #define SWIG_Python_Raise(obj, type, desc)  SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj) 
1052 /* Set a constant value */ 
1055 SWIG_Python_SetConstant(PyObject 
*d
, const char *name
, PyObject 
*obj
) {    
1056   PyDict_SetItemString(d
, (char*) name
, obj
); 
1060 /* Append a value to the result obj */ 
1062 SWIGINTERN PyObject
* 
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) { 
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE) 
1067   } else if (result 
== Py_None
) { 
1071     if (!PyList_Check(result
)) { 
1072       PyObject 
*o2 
= result
; 
1073       result 
= PyList_New(1); 
1074       PyList_SetItem(result
, 0, o2
); 
1076     PyList_Append(result
,obj
); 
1085   } else if (result 
== Py_None
) { 
1089     if (!PyTuple_Check(result
)) { 
1091       result 
= PyTuple_New(1); 
1092       PyTuple_SET_ITEM(result
, 0, o2
); 
1094     o3 
= PyTuple_New(1); 
1095     PyTuple_SET_ITEM(o3
, 0, obj
); 
1097     result 
= PySequence_Concat(o2
, o3
); 
1105 /* Unpack the argument tuple */ 
1108 SWIG_Python_UnpackTuple(PyObject 
*args
, const char *name
, int min
, int max
, PyObject 
**objs
) 
1114       PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",  
1115                    name
, (min 
== max 
? "" : "at least "), min
); 
1119   if (!PyTuple_Check(args
)) { 
1120     PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple"); 
1123     register int l 
= PyTuple_GET_SIZE(args
); 
1125       PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",  
1126                    name
, (min 
== max 
? "" : "at least "), min
, l
); 
1128     } else if (l 
> max
) { 
1129       PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",  
1130                    name
, (min 
== max 
? "" : "at most "), max
, l
); 
1134       for (i 
= 0; i 
< l
; ++i
) { 
1135         objs
[i
] = PyTuple_GET_ITEM(args
, i
); 
1137       for (; l 
< max
; ++l
) { 
1145 /* A functor is a function object with one single object argument */ 
1146 #if PY_VERSION_HEX >= 0x02020000 
1147 #define SWIG_Python_CallFunctor(functor, obj)           PyObject_CallFunctionObjArgs(functor, obj, NULL); 
1149 #define SWIG_Python_CallFunctor(functor, obj)           PyObject_CallFunction(functor, "O", obj); 
1153   Helper for static pointer initialization for both C and C++ code, for example 
1154   static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...); 
1157 #define SWIG_STATIC_POINTER(var)  var 
1159 #define SWIG_STATIC_POINTER(var)  var = 0; if (!var) var 
1162 /* ----------------------------------------------------------------------------- 
1163  * Pointer declarations 
1164  * ----------------------------------------------------------------------------- */ 
1166 /* Flags for new pointer objects */ 
1167 #define SWIG_POINTER_NOSHADOW       (SWIG_POINTER_OWN      << 1) 
1168 #define SWIG_POINTER_NEW            (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN) 
1170 #define SWIG_POINTER_IMPLICIT_CONV  (SWIG_POINTER_DISOWN   << 1) 
1179 /*  How to access Py_None */ 
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) 
1181 #  ifndef SWIG_PYTHON_NO_BUILD_NONE 
1182 #    ifndef SWIG_PYTHON_BUILD_NONE 
1183 #      define SWIG_PYTHON_BUILD_NONE 
1188 #ifdef SWIG_PYTHON_BUILD_NONE 
1191 #   define Py_None SWIG_Py_None() 
1193 SWIGRUNTIMEINLINE PyObject 
*  
1196   PyObject 
*none 
= Py_BuildValue(""); 
1200 SWIGRUNTIME PyObject 
*  
1203   static PyObject 
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None(); 
1208 /* The python void return value */ 
1210 SWIGRUNTIMEINLINE PyObject 
*  
1213   PyObject 
*none 
= Py_None
; 
1218 /* PySwigClientData */ 
1229 SWIGRUNTIMEINLINE 
int  
1230 SWIG_Python_CheckImplicit(swig_type_info 
*ty
) 
1232   PySwigClientData 
*data 
= (PySwigClientData 
*)ty
->clientdata
; 
1233   return data 
? data
->implicitconv 
: 0; 
1236 SWIGRUNTIMEINLINE PyObject 
* 
1237 SWIG_Python_ExceptionType(swig_type_info 
*desc
) { 
1238   PySwigClientData 
*data 
= desc 
? (PySwigClientData 
*) desc
->clientdata 
: 0; 
1239   PyObject 
*klass 
= data 
? data
->klass 
: 0; 
1240   return (klass 
? klass 
: PyExc_RuntimeError
); 
1244 SWIGRUNTIME PySwigClientData 
*  
1245 PySwigClientData_New(PyObject
* obj
) 
1250     PySwigClientData 
*data 
= (PySwigClientData 
*)malloc(sizeof(PySwigClientData
)); 
1251     /* the klass element */ 
1253     Py_INCREF(data
->klass
); 
1254     /* the newraw method and newargs arguments used to create a new raw instance */ 
1255     if (PyClass_Check(obj
)) { 
1257       data
->newargs 
= obj
; 
1260 #if (PY_VERSION_HEX < 0x02020000) 
1263       data
->newraw 
= PyObject_GetAttrString(data
->klass
, (char *)"__new__"); 
1266         Py_INCREF(data
->newraw
); 
1267         data
->newargs 
= PyTuple_New(1); 
1268         PyTuple_SetItem(data
->newargs
, 0, obj
); 
1270         data
->newargs 
= obj
; 
1272       Py_INCREF(data
->newargs
); 
1274     /* the destroy method, aka as the C++ delete method */ 
1275     data
->destroy 
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__"); 
1276     if (PyErr_Occurred()) { 
1280     if (data
->destroy
) { 
1282       Py_INCREF(data
->destroy
); 
1283       flags 
= PyCFunction_GET_FLAGS(data
->destroy
); 
1285       data
->delargs 
= !(flags 
& (METH_O
)); 
1292     data
->implicitconv 
= 0; 
1298 PySwigClientData_Del(PySwigClientData
* data
) 
1300   Py_XDECREF(data
->newraw
); 
1301   Py_XDECREF(data
->newargs
); 
1302   Py_XDECREF(data
->destroy
); 
1305 /* =============== PySwigObject =====================*/ 
1315 SWIGRUNTIME PyObject 
* 
1316 PySwigObject_long(PySwigObject 
*v
) 
1318   return PyLong_FromVoidPtr(v
->ptr
); 
1321 SWIGRUNTIME PyObject 
* 
1322 PySwigObject_format(const char* fmt
, PySwigObject 
*v
) 
1324   PyObject 
*res 
= NULL
; 
1325   PyObject 
*args 
= PyTuple_New(1); 
1327     if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) { 
1328       PyObject 
*ofmt 
= PyString_FromString(fmt
); 
1330         res 
= PyString_Format(ofmt
,args
); 
1339 SWIGRUNTIME PyObject 
* 
1340 PySwigObject_oct(PySwigObject 
*v
) 
1342   return PySwigObject_format("%o",v
); 
1345 SWIGRUNTIME PyObject 
* 
1346 PySwigObject_hex(PySwigObject 
*v
) 
1348   return PySwigObject_format("%x",v
); 
1351 SWIGRUNTIME PyObject 
* 
1353 PySwigObject_repr(PySwigObject 
*v
) 
1355 PySwigObject_repr(PySwigObject 
*v
, PyObject 
*args
) 
1358   const char *name 
= SWIG_TypePrettyName(v
->ty
); 
1359   PyObject 
*hex 
= PySwigObject_hex(v
);     
1360   PyObject 
*repr 
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
)); 
1364     PyObject 
*nrep 
= PySwigObject_repr((PySwigObject 
*)v
->next
); 
1366     PyObject 
*nrep 
= PySwigObject_repr((PySwigObject 
*)v
->next
, args
); 
1368     PyString_ConcatAndDel(&repr
,nrep
); 
1374 PySwigObject_print(PySwigObject 
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) 
1377   PyObject 
*repr 
= PySwigObject_repr(v
); 
1379   PyObject 
*repr 
= PySwigObject_repr(v
, NULL
); 
1382     fputs(PyString_AsString(repr
), fp
); 
1390 SWIGRUNTIME PyObject 
* 
1391 PySwigObject_str(PySwigObject 
*v
) 
1393   char result
[SWIG_BUFFER_SIZE
]; 
1394   return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ? 
1395     PyString_FromString(result
) : 0; 
1399 PySwigObject_compare(PySwigObject 
*v
, PySwigObject 
*w
) 
1403   return (i 
< j
) ? -1 : ((i 
> j
) ? 1 : 0); 
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void); 
1408 SWIGRUNTIME PyTypeObject
* 
1409 PySwigObject_type(void) { 
1410   static PyTypeObject 
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type(); 
1414 SWIGRUNTIMEINLINE 
int 
1415 PySwigObject_Check(PyObject 
*op
) { 
1416   return ((op
)->ob_type 
== PySwigObject_type()) 
1417     || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0); 
1420 SWIGRUNTIME PyObject 
* 
1421 PySwigObject_New(void *ptr
, swig_type_info 
*ty
, int own
); 
1424 PySwigObject_dealloc(PyObject 
*v
) 
1426   PySwigObject 
*sobj 
= (PySwigObject 
*) v
; 
1427   PyObject 
*next 
= sobj
->next
; 
1429     swig_type_info 
*ty 
= sobj
->ty
; 
1430     PySwigClientData 
*data 
= ty 
? (PySwigClientData 
*) ty
->clientdata 
: 0; 
1431     PyObject 
*destroy 
= data 
? data
->destroy 
: 0; 
1433       /* destroy is always a VARARGS method */ 
1435       if (data
->delargs
) { 
1436         /* we need to create a temporal object to carry the destroy operation */ 
1437         PyObject 
*tmp 
= PySwigObject_New(sobj
->ptr
, ty
, 0); 
1438         res 
= SWIG_Python_CallFunctor(destroy
, tmp
); 
1441         PyCFunction meth 
= PyCFunction_GET_FUNCTION(destroy
); 
1442         PyObject 
*mself 
= PyCFunction_GET_SELF(destroy
); 
1443         res 
= ((*meth
)(mself
, v
)); 
1447       const char *name 
= SWIG_TypePrettyName(ty
); 
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK) 
1449       printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
); 
1457 SWIGRUNTIME PyObject
*  
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
) 
1460   PySwigObject 
*sobj 
= (PySwigObject 
*) v
; 
1463   if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
; 
1466   if (!PySwigObject_Check(next
)) { 
1471   return SWIG_Py_Void(); 
1474 SWIGRUNTIME PyObject
*  
1476 PySwigObject_next(PyObject
* v
) 
1478 PySwigObject_next(PyObject
* v
, PyObject 
*SWIGUNUSEDPARM(args
)) 
1481   PySwigObject 
*sobj 
= (PySwigObject 
*) v
; 
1483     Py_INCREF(sobj
->next
); 
1486     return SWIG_Py_Void(); 
1490 SWIGINTERN PyObject
* 
1492 PySwigObject_disown(PyObject 
*v
) 
1494 PySwigObject_disown(PyObject
* v
, PyObject 
*SWIGUNUSEDPARM(args
)) 
1497   PySwigObject 
*sobj 
= (PySwigObject 
*)v
; 
1499   return SWIG_Py_Void(); 
1502 SWIGINTERN PyObject
* 
1504 PySwigObject_acquire(PyObject 
*v
) 
1506 PySwigObject_acquire(PyObject
* v
, PyObject 
*SWIGUNUSEDPARM(args
)) 
1509   PySwigObject 
*sobj 
= (PySwigObject 
*)v
; 
1510   sobj
->own 
= SWIG_POINTER_OWN
; 
1511   return SWIG_Py_Void(); 
1514 SWIGINTERN PyObject
* 
1515 PySwigObject_own(PyObject 
*v
, PyObject 
*args
) 
1518 #if (PY_VERSION_HEX < 0x02020000) 
1519   if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
)) 
1521   if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))  
1528       PySwigObject 
*sobj 
= (PySwigObject 
*)v
; 
1529       PyObject 
*obj 
= PyBool_FromLong(sobj
->own
); 
1532         if (PyObject_IsTrue(val
)) { 
1533           PySwigObject_acquire(v
); 
1535           PySwigObject_disown(v
); 
1538         if (PyObject_IsTrue(val
)) { 
1539           PySwigObject_acquire(v
,args
); 
1541           PySwigObject_disown(v
,args
); 
1551 swigobject_methods
[] = { 
1552   {(char *)"disown",  (PyCFunction
)PySwigObject_disown
,  METH_NOARGS
,  (char *)"releases ownership of the pointer"}, 
1553   {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
,  (char *)"aquires ownership of the pointer"}, 
1554   {(char *)"own",     (PyCFunction
)PySwigObject_own
,     METH_VARARGS
, (char *)"returns/sets ownership of the pointer"}, 
1555   {(char *)"append",  (PyCFunction
)PySwigObject_append
,  METH_O
,       (char *)"appends another 'this' object"}, 
1556   {(char *)"next",    (PyCFunction
)PySwigObject_next
,    METH_NOARGS
,  (char *)"returns the next 'this' object"}, 
1557   {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
,    METH_NOARGS
,  (char *)"returns object representation"}, 
1562 swigobject_methods
[] = { 
1563   {(char *)"disown",  (PyCFunction
)PySwigObject_disown
,  METH_VARARGS
,  (char *)"releases ownership of the pointer"}, 
1564   {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
,  (char *)"aquires ownership of the pointer"}, 
1565   {(char *)"own",     (PyCFunction
)PySwigObject_own
,     METH_VARARGS
,  (char *)"returns/sets ownership of the pointer"}, 
1566   {(char *)"append",  (PyCFunction
)PySwigObject_append
,  METH_VARARGS
,  (char *)"appends another 'this' object"}, 
1567   {(char *)"next",    (PyCFunction
)PySwigObject_next
,    METH_VARARGS
,  (char *)"returns the next 'this' object"}, 
1568   {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
,   METH_VARARGS
,  (char *)"returns object representation"}, 
1573 #if PY_VERSION_HEX < 0x02020000 
1574 SWIGINTERN PyObject 
* 
1575 PySwigObject_getattr(PySwigObject 
*sobj
,char *name
) 
1577   return Py_FindMethod(swigobject_methods
, (PyObject 
*)sobj
, name
); 
1581 SWIGRUNTIME PyTypeObject
* 
1582 _PySwigObject_type(void) { 
1583   static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer"; 
1585   static PyNumberMethods PySwigObject_as_number 
= { 
1586     (binaryfunc
)0, /*nb_add*/ 
1587     (binaryfunc
)0, /*nb_subtract*/ 
1588     (binaryfunc
)0, /*nb_multiply*/ 
1589     (binaryfunc
)0, /*nb_divide*/ 
1590     (binaryfunc
)0, /*nb_remainder*/ 
1591     (binaryfunc
)0, /*nb_divmod*/ 
1592     (ternaryfunc
)0,/*nb_power*/ 
1593     (unaryfunc
)0,  /*nb_negative*/ 
1594     (unaryfunc
)0,  /*nb_positive*/ 
1595     (unaryfunc
)0,  /*nb_absolute*/ 
1596     (inquiry
)0,    /*nb_nonzero*/ 
1603     (coercion
)0,   /*nb_coerce*/ 
1604     (unaryfunc
)PySwigObject_long
, /*nb_int*/ 
1605     (unaryfunc
)PySwigObject_long
, /*nb_long*/ 
1606     (unaryfunc
)0,                 /*nb_float*/ 
1607     (unaryfunc
)PySwigObject_oct
,  /*nb_oct*/ 
1608     (unaryfunc
)PySwigObject_hex
,  /*nb_hex*/ 
1609 #if PY_VERSION_HEX >= 0x02020000 
1610     0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */  
1611 #elif PY_VERSION_HEX >= 0x02000000 
1612     0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */ 
1616   static PyTypeObject pyswigobject_type
;   
1617   static int type_init 
= 0; 
1619     const PyTypeObject tmp
 
1621         PyObject_HEAD_INIT(NULL
) 
1623         (char *)"PySwigObject",             /* tp_name */ 
1624         sizeof(PySwigObject
),               /* tp_basicsize */ 
1625         0,                                  /* tp_itemsize */ 
1626         (destructor
)PySwigObject_dealloc
,   /* tp_dealloc */ 
1627         (printfunc
)PySwigObject_print
,      /* tp_print */ 
1628 #if PY_VERSION_HEX < 0x02020000 
1629         (getattrfunc
)PySwigObject_getattr
,  /* tp_getattr */  
1631         (getattrfunc
)0,                     /* tp_getattr */  
1633         (setattrfunc
)0,                     /* tp_setattr */  
1634         (cmpfunc
)PySwigObject_compare
,      /* tp_compare */  
1635         (reprfunc
)PySwigObject_repr
,        /* tp_repr */     
1636         &PySwigObject_as_number
,            /* tp_as_number */ 
1637         0,                                  /* tp_as_sequence */ 
1638         0,                                  /* tp_as_mapping */ 
1639         (hashfunc
)0,                        /* tp_hash */ 
1640         (ternaryfunc
)0,                     /* tp_call */ 
1641         (reprfunc
)PySwigObject_str
,         /* tp_str */ 
1642         PyObject_GenericGetAttr
,            /* tp_getattro */ 
1643         0,                                  /* tp_setattro */ 
1644         0,                                  /* tp_as_buffer */ 
1645         Py_TPFLAGS_DEFAULT
,                 /* tp_flags */ 
1646         swigobject_doc
,                     /* tp_doc */         
1647         0,                                  /* tp_traverse */ 
1649         0,                                  /* tp_richcompare */ 
1650         0,                                  /* tp_weaklistoffset */ 
1651 #if PY_VERSION_HEX >= 0x02020000 
1653         0,                                  /* tp_iternext */ 
1654         swigobject_methods
,                 /* tp_methods */  
1659         0,                                  /* tp_descr_get */           
1660         0,                                  /* tp_descr_set */           
1661         0,                                  /* tp_dictoffset */          
1670         0,                                  /* tp_subclasses */ 
1671         0,                                  /* tp_weaklist */ 
1673 #if PY_VERSION_HEX >= 0x02030000 
1677         0,0,0,0                             /* tp_alloc -> tp_next */ 
1680     pyswigobject_type 
= tmp
; 
1681     pyswigobject_type
.ob_type 
= &PyType_Type
; 
1684   return &pyswigobject_type
; 
1687 SWIGRUNTIME PyObject 
* 
1688 PySwigObject_New(void *ptr
, swig_type_info 
*ty
, int own
) 
1690   PySwigObject 
*sobj 
= PyObject_NEW(PySwigObject
, PySwigObject_type()); 
1697   return (PyObject 
*)sobj
; 
1700 /* ----------------------------------------------------------------------------- 
1701  * Implements a simple Swig Packed type, and use it instead of string 
1702  * ----------------------------------------------------------------------------- */ 
1712 PySwigPacked_print(PySwigPacked 
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) 
1714   char result
[SWIG_BUFFER_SIZE
]; 
1715   fputs("<Swig Packed ", fp
);  
1716   if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) { 
1720   fputs(v
->ty
->name
,fp
);  
1725 SWIGRUNTIME PyObject 
* 
1726 PySwigPacked_repr(PySwigPacked 
*v
) 
1728   char result
[SWIG_BUFFER_SIZE
]; 
1729   if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) { 
1730     return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
); 
1732     return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
); 
1736 SWIGRUNTIME PyObject 
* 
1737 PySwigPacked_str(PySwigPacked 
*v
) 
1739   char result
[SWIG_BUFFER_SIZE
]; 
1740   if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){ 
1741     return PyString_FromFormat("%s%s", result
, v
->ty
->name
); 
1743     return PyString_FromString(v
->ty
->name
); 
1748 PySwigPacked_compare(PySwigPacked 
*v
, PySwigPacked 
*w
) 
1752   int s 
= (i 
< j
) ? -1 : ((i 
> j
) ? 1 : 0); 
1753   return s 
? s 
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
); 
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void); 
1758 SWIGRUNTIME PyTypeObject
* 
1759 PySwigPacked_type(void) { 
1760   static PyTypeObject 
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type(); 
1764 SWIGRUNTIMEINLINE 
int 
1765 PySwigPacked_Check(PyObject 
*op
) { 
1766   return ((op
)->ob_type 
== _PySwigPacked_type())  
1767     || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0); 
1771 PySwigPacked_dealloc(PyObject 
*v
) 
1773   if (PySwigPacked_Check(v
)) { 
1774     PySwigPacked 
*sobj 
= (PySwigPacked 
*) v
; 
1780 SWIGRUNTIME PyTypeObject
* 
1781 _PySwigPacked_type(void) { 
1782   static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer"; 
1783   static PyTypeObject pyswigpacked_type
; 
1784   static int type_init 
= 0;   
1786     const PyTypeObject tmp
 
1788         PyObject_HEAD_INIT(NULL
) 
1790         (char *)"PySwigPacked",             /* tp_name */        
1791         sizeof(PySwigPacked
),               /* tp_basicsize */   
1792         0,                                  /* tp_itemsize */    
1793         (destructor
)PySwigPacked_dealloc
,   /* tp_dealloc */     
1794         (printfunc
)PySwigPacked_print
,      /* tp_print */       
1795         (getattrfunc
)0,                     /* tp_getattr */     
1796         (setattrfunc
)0,                     /* tp_setattr */     
1797         (cmpfunc
)PySwigPacked_compare
,      /* tp_compare */     
1798         (reprfunc
)PySwigPacked_repr
,        /* tp_repr */        
1799         0,                                  /* tp_as_number */   
1800         0,                                  /* tp_as_sequence */ 
1801         0,                                  /* tp_as_mapping */  
1802         (hashfunc
)0,                        /* tp_hash */        
1803         (ternaryfunc
)0,                     /* tp_call */        
1804         (reprfunc
)PySwigPacked_str
,         /* tp_str */         
1805         PyObject_GenericGetAttr
,            /* tp_getattro */ 
1806         0,                                  /* tp_setattro */ 
1807         0,                                  /* tp_as_buffer */ 
1808         Py_TPFLAGS_DEFAULT
,                 /* tp_flags */ 
1809         swigpacked_doc
,                     /* tp_doc */ 
1810         0,                                  /* tp_traverse */ 
1812         0,                                  /* tp_richcompare */ 
1813         0,                                  /* tp_weaklistoffset */ 
1814 #if PY_VERSION_HEX >= 0x02020000 
1816         0,                                  /* tp_iternext */ 
1822         0,                                  /* tp_descr_get */           
1823         0,                                  /* tp_descr_set */           
1824         0,                                  /* tp_dictoffset */          
1833         0,                                  /* tp_subclasses */ 
1834         0,                                  /* tp_weaklist */ 
1836 #if PY_VERSION_HEX >= 0x02030000 
1840         0,0,0,0                             /* tp_alloc -> tp_next */ 
1843     pyswigpacked_type 
= tmp
; 
1844     pyswigpacked_type
.ob_type 
= &PyType_Type
; 
1847   return &pyswigpacked_type
; 
1850 SWIGRUNTIME PyObject 
* 
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info 
*ty
) 
1853   PySwigPacked 
*sobj 
= PyObject_NEW(PySwigPacked
, PySwigPacked_type()); 
1855     void *pack 
= malloc(size
); 
1857       memcpy(pack
, ptr
, size
); 
1862       PyObject_DEL((PyObject 
*) sobj
); 
1866   return (PyObject 
*) sobj
; 
1869 SWIGRUNTIME swig_type_info 
* 
1870 PySwigPacked_UnpackData(PyObject 
*obj
, void *ptr
, size_t size
) 
1872   if (PySwigPacked_Check(obj
)) { 
1873     PySwigPacked 
*sobj 
= (PySwigPacked 
*)obj
; 
1874     if (sobj
->size 
!= size
) return 0; 
1875     memcpy(ptr
, sobj
->pack
, size
); 
1882 /* ----------------------------------------------------------------------------- 
1883  * pointers/data manipulation 
1884  * ----------------------------------------------------------------------------- */ 
1886 SWIGRUNTIMEINLINE PyObject 
* 
1889   return PyString_FromString("this"); 
1892 SWIGRUNTIME PyObject 
* 
1895   static PyObject 
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This(); 
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */ 
1901 SWIGRUNTIME PySwigObject 
* 
1902 SWIG_Python_GetSwigThis(PyObject 
*pyobj
)  
1904   if (PySwigObject_Check(pyobj
)) { 
1905     return (PySwigObject 
*) pyobj
; 
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000)) 
1909     if (PyInstance_Check(pyobj
)) { 
1910       obj 
= _PyInstance_Lookup(pyobj
, SWIG_This());       
1912       PyObject 
**dictptr 
= _PyObject_GetDictPtr(pyobj
); 
1913       if (dictptr 
!= NULL
) { 
1914         PyObject 
*dict 
= *dictptr
; 
1915         obj 
= dict 
? PyDict_GetItem(dict
, SWIG_This()) : 0; 
1917 #ifdef PyWeakref_CheckProxy 
1918         if (PyWeakref_CheckProxy(pyobj
)) { 
1919           PyObject 
*wobj 
= PyWeakref_GET_OBJECT(pyobj
); 
1920           return wobj 
? SWIG_Python_GetSwigThis(wobj
) : 0; 
1923         obj 
= PyObject_GetAttr(pyobj
,SWIG_This()); 
1927           if (PyErr_Occurred()) PyErr_Clear(); 
1933     obj 
= PyObject_GetAttr(pyobj
,SWIG_This()); 
1937       if (PyErr_Occurred()) PyErr_Clear(); 
1941     if (obj 
&& !PySwigObject_Check(obj
)) { 
1942       /* a PyObject is called 'this', try to get the 'real this' 
1943          PySwigObject from it */  
1944       return SWIG_Python_GetSwigThis(obj
); 
1946     return (PySwigObject 
*)obj
; 
1950 /* Acquire a pointer value */ 
1953 SWIG_Python_AcquirePtr(PyObject 
*obj
, int own
) { 
1955     PySwigObject 
*sobj 
= SWIG_Python_GetSwigThis(obj
); 
1957       int oldown 
= sobj
->own
; 
1965 /* Convert a pointer value */ 
1968 SWIG_Python_ConvertPtrAndOwn(PyObject 
*obj
, void **ptr
, swig_type_info 
*ty
, int flags
, int *own
) { 
1969   if (!obj
) return SWIG_ERROR
; 
1970   if (obj 
== Py_None
) { 
1974     PySwigObject 
*sobj 
= SWIG_Python_GetSwigThis(obj
); 
1976       void *vptr 
= sobj
->ptr
; 
1978         swig_type_info 
*to 
= sobj
->ty
; 
1980           /* no type cast needed */ 
1981           if (ptr
) *ptr 
= vptr
; 
1984           swig_cast_info 
*tc 
= SWIG_TypeCheck(to
->name
,ty
); 
1986             sobj 
= (PySwigObject 
*)sobj
->next
; 
1988             if (ptr
) *ptr 
= SWIG_TypeCast(tc
,vptr
); 
1993         if (ptr
) *ptr 
= vptr
; 
1998       if (own
) *own 
= sobj
->own
; 
1999       if (flags 
& SWIG_POINTER_DISOWN
) { 
2004       int res 
= SWIG_ERROR
; 
2005       if (flags 
& SWIG_POINTER_IMPLICIT_CONV
) { 
2006         PySwigClientData 
*data 
= ty 
? (PySwigClientData 
*) ty
->clientdata 
: 0; 
2007         if (data 
&& !data
->implicitconv
) { 
2008           PyObject 
*klass 
= data
->klass
; 
2011             data
->implicitconv 
= 1; /* avoid recursion and call 'explicit' constructors*/ 
2012             impconv 
= SWIG_Python_CallFunctor(klass
, obj
); 
2013             data
->implicitconv 
= 0; 
2014             if (PyErr_Occurred()) { 
2019               PySwigObject 
*iobj 
= SWIG_Python_GetSwigThis(impconv
); 
2022                 res 
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0); 
2023                 if (SWIG_IsOK(res
)) { 
2026                     /* transfer the ownership to 'ptr' */ 
2028                     res 
= SWIG_AddCast(res
); 
2029                     res 
= SWIG_AddNewMask(res
); 
2031                     res 
= SWIG_AddCast(res
);                 
2045 /* Convert a function ptr value */ 
2048 SWIG_Python_ConvertFunctionPtr(PyObject 
*obj
, void **ptr
, swig_type_info 
*ty
) { 
2049   if (!PyCFunction_Check(obj
)) { 
2050     return SWIG_ConvertPtr(obj
, ptr
, ty
, 0); 
2054     /* here we get the method pointer for callbacks */ 
2055     const char *doc 
= (((PyCFunctionObject 
*)obj
) -> m_ml 
-> ml_doc
); 
2056     const char *desc 
= doc 
? strstr(doc
, "swig_ptr: ") : 0; 
2058       desc 
= ty 
? SWIG_UnpackVoidPtr(desc 
+ 10, &vptr
, ty
->name
) : 0; 
2059       if (!desc
) return SWIG_ERROR
; 
2062       swig_cast_info 
*tc 
= SWIG_TypeCheck(desc
,ty
); 
2063       if (!tc
) return SWIG_ERROR
; 
2064       *ptr 
= SWIG_TypeCast(tc
,vptr
); 
2072 /* Convert a packed value value */ 
2075 SWIG_Python_ConvertPacked(PyObject 
*obj
, void *ptr
, size_t sz
, swig_type_info 
*ty
) { 
2076   swig_type_info 
*to 
= PySwigPacked_UnpackData(obj
, ptr
, sz
); 
2077   if (!to
) return SWIG_ERROR
; 
2080       /* check type cast? */ 
2081       swig_cast_info 
*tc 
= SWIG_TypeCheck(to
->name
,ty
); 
2082       if (!tc
) return SWIG_ERROR
; 
2088 /* ----------------------------------------------------------------------------- 
2089  * Create a new pointer object 
2090  * ----------------------------------------------------------------------------- */ 
2093   Create a new instance object, whitout calling __init__, and set the 
2097 SWIGRUNTIME PyObject
*  
2098 SWIG_Python_NewShadowInstance(PySwigClientData 
*data
, PyObject 
*swig_this
) 
2100 #if (PY_VERSION_HEX >= 0x02020000) 
2102   PyObject 
*newraw 
= data
->newraw
; 
2104     inst 
= PyObject_Call(newraw
, data
->newargs
, NULL
); 
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS) 
2107       PyObject 
**dictptr 
= _PyObject_GetDictPtr(inst
); 
2108       if (dictptr 
!= NULL
) { 
2109         PyObject 
*dict 
= *dictptr
; 
2111           dict 
= PyDict_New(); 
2113           PyDict_SetItem(dict
, SWIG_This(), swig_this
); 
2117       PyObject 
*key 
= SWIG_This(); 
2118       PyObject_SetAttr(inst
, key
, swig_this
); 
2122     PyObject 
*dict 
= PyDict_New(); 
2123     PyDict_SetItem(dict
, SWIG_This(), swig_this
); 
2124     inst 
= PyInstance_NewRaw(data
->newargs
, dict
); 
2129 #if (PY_VERSION_HEX >= 0x02010000) 
2131   PyObject 
*dict 
= PyDict_New(); 
2132   PyDict_SetItem(dict
, SWIG_This(), swig_this
); 
2133   inst 
= PyInstance_NewRaw(data
->newargs
, dict
); 
2135   return (PyObject 
*) inst
; 
2137   PyInstanceObject 
*inst 
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
); 
2141   inst
->in_class 
= (PyClassObject 
*)data
->newargs
; 
2142   Py_INCREF(inst
->in_class
); 
2143   inst
->in_dict 
= PyDict_New(); 
2144   if (inst
->in_dict 
== NULL
) { 
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS 
2149   inst
->in_weakreflist 
= NULL
; 
2151 #ifdef Py_TPFLAGS_GC 
2152   PyObject_GC_Init(inst
); 
2154   PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
); 
2155   return (PyObject 
*) inst
; 
2161 SWIG_Python_SetSwigThis(PyObject 
*inst
, PyObject 
*swig_this
) 
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS) 
2165  PyObject 
**dictptr 
= _PyObject_GetDictPtr(inst
); 
2166  if (dictptr 
!= NULL
) { 
2169      dict 
= PyDict_New(); 
2172    PyDict_SetItem(dict
, SWIG_This(), swig_this
); 
2176  dict 
= PyObject_GetAttrString(inst
, "__dict__"); 
2177  PyDict_SetItem(dict
, SWIG_This(), swig_this
); 
2182 SWIGINTERN PyObject 
* 
2183 SWIG_Python_InitShadowInstance(PyObject 
*args
) { 
2185   if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) { 
2188     PySwigObject 
*sthis 
= SWIG_Python_GetSwigThis(obj
[0]); 
2190       PySwigObject_append((PyObject
*) sthis
, obj
[1]); 
2192       SWIG_Python_SetSwigThis(obj
[0], obj
[1]); 
2194     return SWIG_Py_Void(); 
2198 /* Create a new pointer object */ 
2200 SWIGRUNTIME PyObject 
* 
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info 
*type
, int flags
) { 
2203     return SWIG_Py_Void(); 
2205     int own 
= (flags 
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN 
: 0; 
2206     PyObject 
*robj 
= PySwigObject_New(ptr
, type
, own
); 
2207     PySwigClientData 
*clientdata 
= type 
? (PySwigClientData 
*)(type
->clientdata
) : 0; 
2208     if (clientdata 
&& !(flags 
& SWIG_POINTER_NOSHADOW
)) { 
2209       PyObject 
*inst 
= SWIG_Python_NewShadowInstance(clientdata
, robj
); 
2219 /* Create a new packed object */ 
2221 SWIGRUNTIMEINLINE PyObject 
* 
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info 
*type
) { 
2223   return ptr 
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void(); 
2226 /* -----------------------------------------------------------------------------* 
2228  * -----------------------------------------------------------------------------*/ 
2230 #ifdef SWIG_LINK_RUNTIME 
2231 void *SWIG_ReturnGlobalTypeList(void *); 
2234 SWIGRUNTIME swig_module_info 
* 
2235 SWIG_Python_GetModule(void) { 
2236   static void *type_pointer 
= (void *)0; 
2237   /* first check if module already created */ 
2238   if (!type_pointer
) { 
2239 #ifdef SWIG_LINK_RUNTIME 
2240     type_pointer 
= SWIG_ReturnGlobalTypeList((void *)0); 
2242     type_pointer 
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
, 
2243                                     (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
); 
2244     if (PyErr_Occurred()) { 
2246       type_pointer 
= (void *)0; 
2250   return (swig_module_info 
*) type_pointer
; 
2253 #if PY_MAJOR_VERSION < 2 
2254 /* PyModule_AddObject function was introduced in Python 2.0.  The following function 
2255    is copied out of Python/modsupport.c in python version 2.3.4 */ 
2257 PyModule_AddObject(PyObject 
*m
, char *name
, PyObject 
*o
) 
2260   if (!PyModule_Check(m
)) { 
2261     PyErr_SetString(PyExc_TypeError
, 
2262                     "PyModule_AddObject() needs module as first arg"); 
2266     PyErr_SetString(PyExc_TypeError
, 
2267                     "PyModule_AddObject() needs non-NULL value"); 
2271   dict 
= PyModule_GetDict(m
); 
2273     /* Internal error -- modules must have a dict! */ 
2274     PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__", 
2275                  PyModule_GetName(m
)); 
2278   if (PyDict_SetItemString(dict
, name
, o
)) 
2286 SWIG_Python_DestroyModule(void *vptr
) 
2288   swig_module_info 
*swig_module 
= (swig_module_info 
*) vptr
; 
2289   swig_type_info 
**types 
= swig_module
->types
; 
2291   for (i 
=0; i 
< swig_module
->size
; ++i
) { 
2292     swig_type_info 
*ty 
= types
[i
]; 
2294       PySwigClientData 
*data 
= (PySwigClientData 
*) ty
->clientdata
; 
2295       if (data
) PySwigClientData_Del(data
); 
2298   Py_DECREF(SWIG_This()); 
2302 SWIG_Python_SetModule(swig_module_info 
*swig_module
) { 
2303   static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */ 
2305   PyObject 
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
, 
2306                                    swig_empty_runtime_method_table
); 
2307   PyObject 
*pointer 
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
); 
2308   if (pointer 
&& module) { 
2309     PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
); 
2311     Py_XDECREF(pointer
); 
2315 /* The python cached type query */ 
2316 SWIGRUNTIME PyObject 
* 
2317 SWIG_Python_TypeCache() { 
2318   static PyObject 
*SWIG_STATIC_POINTER(cache
) = PyDict_New(); 
2322 SWIGRUNTIME swig_type_info 
* 
2323 SWIG_Python_TypeQuery(const char *type
) 
2325   PyObject 
*cache 
= SWIG_Python_TypeCache(); 
2326   PyObject 
*key 
= PyString_FromString(type
);  
2327   PyObject 
*obj 
= PyDict_GetItem(cache
, key
); 
2328   swig_type_info 
*descriptor
; 
2330     descriptor 
= (swig_type_info 
*) PyCObject_AsVoidPtr(obj
); 
2332     swig_module_info 
*swig_module 
= SWIG_Python_GetModule(); 
2333     descriptor 
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
); 
2335       obj 
= PyCObject_FromVoidPtr(descriptor
, NULL
); 
2336       PyDict_SetItem(cache
, key
, obj
); 
2345    For backward compatibility only 
2347 #define SWIG_POINTER_EXCEPTION  0 
2348 #define SWIG_arg_fail(arg)      SWIG_Python_ArgFail(arg) 
2349 #define SWIG_MustGetPtr(p, type, argnum, flags)  SWIG_Python_MustGetPtr(p, type, argnum, flags) 
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
) 
2354   if (PyErr_Occurred()) { 
2356     PyObject 
*value 
= 0; 
2357     PyObject 
*traceback 
= 0; 
2358     PyErr_Fetch(&type
, &value
, &traceback
); 
2360       PyObject 
*old_str 
= PyObject_Str(value
); 
2364         PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
)); 
2366         PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
); 
2377 SWIG_Python_ArgFail(int argnum
) 
2379   if (PyErr_Occurred()) { 
2380     /* add information about failing argument */ 
2382     PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
); 
2383     return SWIG_Python_AddErrMesg(mesg
, 1); 
2389 SWIGRUNTIMEINLINE 
const char * 
2390 PySwigObject_GetDesc(PyObject 
*self
) 
2392   PySwigObject 
*v 
= (PySwigObject 
*)self
; 
2393   swig_type_info 
*ty 
= v 
? v
->ty 
: 0; 
2394   return ty 
? ty
->str 
: (char*)""; 
2398 SWIG_Python_TypeError(const char *type
, PyObject 
*obj
) 
2401 #if defined(SWIG_COBJECT_TYPES) 
2402     if (obj 
&& PySwigObject_Check(obj
)) { 
2403       const char *otype 
= (const char *) PySwigObject_GetDesc(obj
); 
2405         PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received", 
2412       const char *otype 
= (obj 
? obj
->ob_type
->tp_name 
: 0);  
2414         PyObject 
*str 
= PyObject_Str(obj
); 
2415         const char *cstr 
= str 
? PyString_AsString(str
) : 0; 
2417           PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received", 
2420           PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received", 
2427     PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
); 
2429     PyErr_Format(PyExc_TypeError
, "unexpected type is received"); 
2434 /* Convert a pointer value, signal an exception on a type mismatch */ 
2436 SWIG_Python_MustGetPtr(PyObject 
*obj
, swig_type_info 
*ty
, int argnum
, int flags
) { 
2438   if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) { 
2440     if (flags 
& SWIG_POINTER_EXCEPTION
) { 
2441       SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
); 
2442       SWIG_Python_ArgFail(argnum
); 
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)  
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else  
2464 /* -------- TYPES TABLE (BEGIN) -------- */ 
2466 #define SWIGTYPE_p_char swig_types[0] 
2467 #define SWIGTYPE_p_form_ops_t swig_types[1] 
2468 #define SWIGTYPE_p_int swig_types[2] 
2469 #define SWIGTYPE_p_long swig_types[3] 
2470 #define SWIGTYPE_p_unsigned_char swig_types[4] 
2471 #define SWIGTYPE_p_unsigned_int swig_types[5] 
2472 #define SWIGTYPE_p_unsigned_long swig_types[6] 
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7] 
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8] 
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9] 
2476 #define SWIGTYPE_p_wxArrayString swig_types[10] 
2477 #define SWIGTYPE_p_wxBMPHandler swig_types[11] 
2478 #define SWIGTYPE_p_wxBoxSizer swig_types[12] 
2479 #define SWIGTYPE_p_wxCURHandler swig_types[13] 
2480 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[14] 
2481 #define SWIGTYPE_p_wxChildFocusEvent swig_types[15] 
2482 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[16] 
2483 #define SWIGTYPE_p_wxCloseEvent swig_types[17] 
2484 #define SWIGTYPE_p_wxColour swig_types[18] 
2485 #define SWIGTYPE_p_wxColourData swig_types[19] 
2486 #define SWIGTYPE_p_wxColourDialog swig_types[20] 
2487 #define SWIGTYPE_p_wxCommandEvent swig_types[21] 
2488 #define SWIGTYPE_p_wxContextMenuEvent swig_types[22] 
2489 #define SWIGTYPE_p_wxControl swig_types[23] 
2490 #define SWIGTYPE_p_wxControlWithItems swig_types[24] 
2491 #define SWIGTYPE_p_wxDC swig_types[25] 
2492 #define SWIGTYPE_p_wxDateEvent swig_types[26] 
2493 #define SWIGTYPE_p_wxDialog swig_types[27] 
2494 #define SWIGTYPE_p_wxDirDialog swig_types[28] 
2495 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[29] 
2496 #define SWIGTYPE_p_wxDropFilesEvent swig_types[30] 
2497 #define SWIGTYPE_p_wxDuplexMode swig_types[31] 
2498 #define SWIGTYPE_p_wxEraseEvent swig_types[32] 
2499 #define SWIGTYPE_p_wxEvent swig_types[33] 
2500 #define SWIGTYPE_p_wxEventBlocker swig_types[34] 
2501 #define SWIGTYPE_p_wxEvtHandler swig_types[35] 
2502 #define SWIGTYPE_p_wxFSFile swig_types[36] 
2503 #define SWIGTYPE_p_wxFileDialog swig_types[37] 
2504 #define SWIGTYPE_p_wxFileSystem swig_types[38] 
2505 #define SWIGTYPE_p_wxFindDialogEvent swig_types[39] 
2506 #define SWIGTYPE_p_wxFindReplaceData swig_types[40] 
2507 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[41] 
2508 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42] 
2509 #define SWIGTYPE_p_wxFocusEvent swig_types[43] 
2510 #define SWIGTYPE_p_wxFont swig_types[44] 
2511 #define SWIGTYPE_p_wxFontData swig_types[45] 
2512 #define SWIGTYPE_p_wxFontDialog swig_types[46] 
2513 #define SWIGTYPE_p_wxFrame swig_types[47] 
2514 #define SWIGTYPE_p_wxGBSizerItem swig_types[48] 
2515 #define SWIGTYPE_p_wxGIFHandler swig_types[49] 
2516 #define SWIGTYPE_p_wxGrid swig_types[50] 
2517 #define SWIGTYPE_p_wxGridBagSizer swig_types[51] 
2518 #define SWIGTYPE_p_wxGridCellAttr swig_types[52] 
2519 #define SWIGTYPE_p_wxGridCellAttrProvider swig_types[53] 
2520 #define SWIGTYPE_p_wxGridCellAutoWrapStringEditor swig_types[54] 
2521 #define SWIGTYPE_p_wxGridCellAutoWrapStringRenderer swig_types[55] 
2522 #define SWIGTYPE_p_wxGridCellBoolEditor swig_types[56] 
2523 #define SWIGTYPE_p_wxGridCellBoolRenderer swig_types[57] 
2524 #define SWIGTYPE_p_wxGridCellChoiceEditor swig_types[58] 
2525 #define SWIGTYPE_p_wxGridCellCoords swig_types[59] 
2526 #define SWIGTYPE_p_wxGridCellDateTimeRenderer swig_types[60] 
2527 #define SWIGTYPE_p_wxGridCellEditor swig_types[61] 
2528 #define SWIGTYPE_p_wxGridCellEnumEditor swig_types[62] 
2529 #define SWIGTYPE_p_wxGridCellEnumRenderer swig_types[63] 
2530 #define SWIGTYPE_p_wxGridCellFloatEditor swig_types[64] 
2531 #define SWIGTYPE_p_wxGridCellFloatRenderer swig_types[65] 
2532 #define SWIGTYPE_p_wxGridCellNumberEditor swig_types[66] 
2533 #define SWIGTYPE_p_wxGridCellNumberRenderer swig_types[67] 
2534 #define SWIGTYPE_p_wxGridCellRenderer swig_types[68] 
2535 #define SWIGTYPE_p_wxGridCellStringRenderer swig_types[69] 
2536 #define SWIGTYPE_p_wxGridCellTextEditor swig_types[70] 
2537 #define SWIGTYPE_p_wxGridCellWorker swig_types[71] 
2538 #define SWIGTYPE_p_wxGridEditorCreatedEvent swig_types[72] 
2539 #define SWIGTYPE_p_wxGridEvent swig_types[73] 
2540 #define SWIGTYPE_p_wxGridRangeSelectEvent swig_types[74] 
2541 #define SWIGTYPE_p_wxGridSizeEvent swig_types[75] 
2542 #define SWIGTYPE_p_wxGridSizer swig_types[76] 
2543 #define SWIGTYPE_p_wxGridStringTable swig_types[77] 
2544 #define SWIGTYPE_p_wxGridTableBase swig_types[78] 
2545 #define SWIGTYPE_p_wxGridTableMessage swig_types[79] 
2546 #define SWIGTYPE_p_wxICOHandler swig_types[80] 
2547 #define SWIGTYPE_p_wxIconizeEvent swig_types[81] 
2548 #define SWIGTYPE_p_wxIdleEvent swig_types[82] 
2549 #define SWIGTYPE_p_wxImage swig_types[83] 
2550 #define SWIGTYPE_p_wxImageHandler swig_types[84] 
2551 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[85] 
2552 #define SWIGTYPE_p_wxInitDialogEvent swig_types[86] 
2553 #define SWIGTYPE_p_wxJPEGHandler swig_types[87] 
2554 #define SWIGTYPE_p_wxKeyEvent swig_types[88] 
2555 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[89] 
2556 #define SWIGTYPE_p_wxLayoutConstraints swig_types[90] 
2557 #define SWIGTYPE_p_wxMDIChildFrame swig_types[91] 
2558 #define SWIGTYPE_p_wxMDIClientWindow swig_types[92] 
2559 #define SWIGTYPE_p_wxMDIParentFrame swig_types[93] 
2560 #define SWIGTYPE_p_wxMaximizeEvent swig_types[94] 
2561 #define SWIGTYPE_p_wxMenu swig_types[95] 
2562 #define SWIGTYPE_p_wxMenuBar swig_types[96] 
2563 #define SWIGTYPE_p_wxMenuEvent swig_types[97] 
2564 #define SWIGTYPE_p_wxMenuItem swig_types[98] 
2565 #define SWIGTYPE_p_wxMessageDialog swig_types[99] 
2566 #define SWIGTYPE_p_wxMiniFrame swig_types[100] 
2567 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[101] 
2568 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[102] 
2569 #define SWIGTYPE_p_wxMouseEvent swig_types[103] 
2570 #define SWIGTYPE_p_wxMoveEvent swig_types[104] 
2571 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[105] 
2572 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[106] 
2573 #define SWIGTYPE_p_wxNcPaintEvent swig_types[107] 
2574 #define SWIGTYPE_p_wxNotifyEvent swig_types[108] 
2575 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[109] 
2576 #define SWIGTYPE_p_wxObject swig_types[110] 
2577 #define SWIGTYPE_p_wxPCXHandler swig_types[111] 
2578 #define SWIGTYPE_p_wxPNGHandler swig_types[112] 
2579 #define SWIGTYPE_p_wxPNMHandler swig_types[113] 
2580 #define SWIGTYPE_p_wxPageSetupDialog swig_types[114] 
2581 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[115] 
2582 #define SWIGTYPE_p_wxPaintEvent swig_types[116] 
2583 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[117] 
2584 #define SWIGTYPE_p_wxPanel swig_types[118] 
2585 #define SWIGTYPE_p_wxPaperSize swig_types[119] 
2586 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[120] 
2587 #define SWIGTYPE_p_wxPen swig_types[121] 
2588 #define SWIGTYPE_p_wxPoint swig_types[122] 
2589 #define SWIGTYPE_p_wxPopupWindow swig_types[123] 
2590 #define SWIGTYPE_p_wxPreviewCanvas swig_types[124] 
2591 #define SWIGTYPE_p_wxPreviewControlBar swig_types[125] 
2592 #define SWIGTYPE_p_wxPreviewFrame swig_types[126] 
2593 #define SWIGTYPE_p_wxPrintData swig_types[127] 
2594 #define SWIGTYPE_p_wxPrintDialog swig_types[128] 
2595 #define SWIGTYPE_p_wxPrintDialogData swig_types[129] 
2596 #define SWIGTYPE_p_wxPrintPreview swig_types[130] 
2597 #define SWIGTYPE_p_wxPrinter swig_types[131] 
2598 #define SWIGTYPE_p_wxProgressDialog swig_types[132] 
2599 #define SWIGTYPE_p_wxPyApp swig_types[133] 
2600 #define SWIGTYPE_p_wxPyCommandEvent swig_types[134] 
2601 #define SWIGTYPE_p_wxPyEvent swig_types[135] 
2602 #define SWIGTYPE_p_wxPyGridCellAttrProvider swig_types[136] 
2603 #define SWIGTYPE_p_wxPyGridCellEditor swig_types[137] 
2604 #define SWIGTYPE_p_wxPyGridCellRenderer swig_types[138] 
2605 #define SWIGTYPE_p_wxPyGridTableBase swig_types[139] 
2606 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[140] 
2607 #define SWIGTYPE_p_wxPyImageHandler swig_types[141] 
2608 #define SWIGTYPE_p_wxPyPanel swig_types[142] 
2609 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[143] 
2610 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[144] 
2611 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[145] 
2612 #define SWIGTYPE_p_wxPyPrintPreview swig_types[146] 
2613 #define SWIGTYPE_p_wxPyPrintout swig_types[147] 
2614 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[148] 
2615 #define SWIGTYPE_p_wxPySizer swig_types[149] 
2616 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[150] 
2617 #define SWIGTYPE_p_wxPyVListBox swig_types[151] 
2618 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[152] 
2619 #define SWIGTYPE_p_wxPyValidator swig_types[153] 
2620 #define SWIGTYPE_p_wxPyWindow swig_types[154] 
2621 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[155] 
2622 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[156] 
2623 #define SWIGTYPE_p_wxRect swig_types[157] 
2624 #define SWIGTYPE_p_wxSashEvent swig_types[158] 
2625 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[159] 
2626 #define SWIGTYPE_p_wxSashWindow swig_types[160] 
2627 #define SWIGTYPE_p_wxScrollEvent swig_types[161] 
2628 #define SWIGTYPE_p_wxScrollWinEvent swig_types[162] 
2629 #define SWIGTYPE_p_wxScrolledWindow swig_types[163] 
2630 #define SWIGTYPE_p_wxSetCursorEvent swig_types[164] 
2631 #define SWIGTYPE_p_wxShowEvent swig_types[165] 
2632 #define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[166] 
2633 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[167] 
2634 #define SWIGTYPE_p_wxSize swig_types[168] 
2635 #define SWIGTYPE_p_wxSizeEvent swig_types[169] 
2636 #define SWIGTYPE_p_wxSizer swig_types[170] 
2637 #define SWIGTYPE_p_wxSizerItem swig_types[171] 
2638 #define SWIGTYPE_p_wxSplashScreen swig_types[172] 
2639 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[173] 
2640 #define SWIGTYPE_p_wxSplitterEvent swig_types[174] 
2641 #define SWIGTYPE_p_wxSplitterWindow swig_types[175] 
2642 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[176] 
2643 #define SWIGTYPE_p_wxStatusBar swig_types[177] 
2644 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[178] 
2645 #define SWIGTYPE_p_wxString swig_types[179] 
2646 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[180] 
2647 #define SWIGTYPE_p_wxTGAHandler swig_types[181] 
2648 #define SWIGTYPE_p_wxTIFFHandler swig_types[182] 
2649 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[183] 
2650 #define SWIGTYPE_p_wxTextEntryDialog swig_types[184] 
2651 #define SWIGTYPE_p_wxTipWindow swig_types[185] 
2652 #define SWIGTYPE_p_wxTopLevelWindow swig_types[186] 
2653 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[187] 
2654 #define SWIGTYPE_p_wxValidator swig_types[188] 
2655 #define SWIGTYPE_p_wxVisualAttributes swig_types[189] 
2656 #define SWIGTYPE_p_wxWindow swig_types[190] 
2657 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[191] 
2658 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[192] 
2659 #define SWIGTYPE_p_wxXPMHandler swig_types[193] 
2660 static swig_type_info 
*swig_types
[195]; 
2661 static swig_module_info swig_module 
= {swig_types
, 194, 0, 0, 0, 0}; 
2662 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name) 
2663 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name) 
2665 /* -------- TYPES TABLE (END) -------- */ 
2667 #if (PY_VERSION_HEX <= 0x02000000) 
2668 # if !defined(SWIG_PYTHON_CLASSIC) 
2669 #  error "This python version requires to use swig with the '-classic' option" 
2672 #if (PY_VERSION_HEX <= 0x02020000) 
2673 # error "This python version requires to use swig with the '-nomodern' option" 
2675 #if (PY_VERSION_HEX <= 0x02020000) 
2676 # error "This python version requires to use swig with the '-nomodernargs' option" 
2679 # error "This python version requires to use swig with the '-nofastunpack' option" 
2682 /*----------------------------------------------- 
2683               @(target):= _grid.so 
2684   ------------------------------------------------*/ 
2685 #define SWIG_init    init_grid 
2687 #define SWIG_name    "_grid" 
2689 #define SWIGVERSION 0x010329  
2692 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))  
2693 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))  
2696 #include <stdexcept> 
2700   class PyObject_ptr 
{ 
2705     PyObject_ptr() :_obj(0) 
2709     PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
) 
2714     PyObject_ptr(PyObject 
*obj
, bool initial_ref 
= true) :_obj(obj
) 
2716       if (initial_ref
) Py_XINCREF(_obj
); 
2719     PyObject_ptr 
& operator=(const PyObject_ptr
& item
)  
2721       Py_XINCREF(item
._obj
); 
2732     operator PyObject 
*() const 
2737     PyObject 
*operator->() const 
2746   struct PyObject_var 
: PyObject_ptr 
{ 
2747     PyObject_var(PyObject
* obj 
= 0) : PyObject_ptr(obj
, false) { } 
2749     PyObject_var 
& operator = (PyObject
* obj
) 
2759 #include "wx/wxPython/wxPython.h" 
2760 #include "wx/wxPython/pyclasses.h" 
2761 #include "wx/wxPython/printfw.h" 
2763 #include <wx/grid.h> 
2764 #include <wx/generic/gridctrl.h> 
2767  static const wxString 
wxPyEmptyString(wxEmptyString
);  
2768  static const wxString 
wxPyGridNameStr(wxGridNameStr
);  
2769  static const wxString 
wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat
);  
2772 #define wxPyMake_TEMPLATE(TYPE) \ 
2773 PyObject* wxPyMake_##TYPE(TYPE* source, bool setThisOwn) { \ 
2774     PyObject* target = NULL; \ 
2776         /* Check if there is already a pointer to a Python object in the \ 
2777            OOR data that we can use. */ \ 
2778         wxPyOORClientData* data = (wxPyOORClientData*)source->GetClientObject(); \ 
2780             target = data->m_obj; \ 
2782                 Py_INCREF(target); \ 
2784         /* Otherwise make a new wrapper for it the old fashioned way and \ 
2785            give it the OOR treatment */ \ 
2787             target = wxPyConstructObject(source, wxT(#TYPE), setThisOwn); \ 
2789                 source->SetClientObject(new wxPyOORClientData(target)); \ 
2791     } else {  /* source was NULL so return None. */ \ 
2792         Py_INCREF(Py_None); target = Py_None; \ 
2798 wxPyMake_TEMPLATE(wxGridCellRenderer) 
2799 wxPyMake_TEMPLATE(wxGridCellEditor
) 
2800 wxPyMake_TEMPLATE(wxGridCellAttr
) 
2801 wxPyMake_TEMPLATE(wxGridCellAttrProvider
) 
2802 wxPyMake_TEMPLATE(wxGridTableBase
) 
2806 #define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME)                               \ 
2807     wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) {        \ 
2808         wxGridCellAttr* rval = NULL;                                            \ 
2810         wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \ 
2811         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) {                \ 
2813             wxGridCellAttr* ptr;                                                \ 
2814             ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \ 
2816                 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxGridCellAttr"))) \ 
2821         wxPyEndBlockThreads(blocked);                                           \ 
2823             rval = PCLASS::CBNAME(a, b, c);                                     \ 
2828 #define PYCALLBACK__GCAINTINT(PCLASS, CBNAME)                                   \ 
2829     void CBNAME(wxGridCellAttr *attr, int a, int b) {                           \ 
2830         wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \ 
2832         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) {                \ 
2833             PyObject* obj = wxPyMake_wxGridCellAttr(attr,false);                \ 
2834             wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b));  \ 
2837         wxPyEndBlockThreads(blocked);                                           \ 
2839             PCLASS::CBNAME(attr, a, b);                                         \ 
2844 #define PYCALLBACK__GCAINT(PCLASS, CBNAME)                                      \ 
2845     void CBNAME(wxGridCellAttr *attr, int val) {                                \ 
2846         wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \ 
2848         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) {                \ 
2849             PyObject* obj = wxPyMake_wxGridCellAttr(attr,false);                \ 
2850             wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val));    \ 
2853         wxPyEndBlockThreads(blocked);                                           \ 
2855             PCLASS::CBNAME(attr, val);                                          \ 
2860 #define PYCALLBACK_INT__pure(CBNAME)                                            \ 
2862         wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \ 
2864         if (wxPyCBH_findCallback(m_myInst, #CBNAME))                            \ 
2865             rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()"));         \ 
2866         wxPyEndBlockThreads(blocked);                                           \ 
2872 #define PYCALLBACK_BOOL_INTINT_pure(CBNAME)                                     \ 
2873     bool CBNAME(int a, int b) {                                                 \ 
2874         wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \ 
2876         if (wxPyCBH_findCallback(m_myInst, #CBNAME))                            \ 
2877             rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b));   \ 
2878         wxPyEndBlockThreads(blocked);                                           \ 
2883 #define PYCALLBACK_STRING_INTINT_pure(CBNAME)                                   \ 
2884     wxString CBNAME(int a, int b) {                                             \ 
2885         wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \ 
2887         if (wxPyCBH_findCallback(m_myInst, #CBNAME)) {                          \ 
2889             ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b));  \ 
2891                 rval = Py2wxString(ro);                                         \ 
2895         wxPyEndBlockThreads(blocked);                                           \ 
2900 #define PYCALLBACK__INTINTSTRING_pure(CBNAME)                                   \ 
2901     void CBNAME(int a, int b, const wxString& c) {                              \ 
2902         wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \ 
2903         if (wxPyCBH_findCallback(m_myInst, #CBNAME)) {                          \ 
2904             PyObject* s = wx2PyString(c);                                       \ 
2905             rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\ 
2908         wxPyEndBlockThreads(blocked);                                           \ 
2912 #define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME)                                \ 
2913     wxString CBNAME(int a, int b) {                                             \ 
2915         wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \ 
2917         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) {                \ 
2919             ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b));  \ 
2921                 rval = Py2wxString(ro);                                         \ 
2925         wxPyEndBlockThreads(blocked);                                           \ 
2927             rval = PCLASS::CBNAME(a, b);                                        \ 
2932 #define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME)                            \ 
2933     bool CBNAME(int a, int b, const wxString& c)  {                             \ 
2936         wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \ 
2937         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) {                \ 
2938             PyObject* s = wx2PyString(c);                                       \ 
2939             rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\ 
2942         wxPyEndBlockThreads(blocked);                                           \ 
2944             rval = PCLASS::CBNAME(a,b,c);                                       \ 
2951 #define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME)                                  \ 
2952     long CBNAME(int a, int b)  {                                                \ 
2955         wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \ 
2956         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME)))                  \ 
2957             rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b));  \ 
2958         wxPyEndBlockThreads(blocked);                                           \ 
2960             rval = PCLASS::CBNAME(a,b);                                         \ 
2965 #define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME)                                  \ 
2966     bool CBNAME(int a, int b)  {                                                \ 
2969         wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \ 
2970         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME)))                  \ 
2971             rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b));  \ 
2972         wxPyEndBlockThreads(blocked);                                           \ 
2974             rval = PCLASS::CBNAME(a,b);                                         \ 
2980 #define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME)                                \ 
2981     double CBNAME(int a, int b) {                                               \ 
2983         wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \ 
2985         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) {                \ 
2987             ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b));  \ 
2989                 PyObject* str = PyObject_Str(ro);                               \ 
2990                 rval = PyFloat_AsDouble(str);                                   \ 
2991                 Py_DECREF(ro);   Py_DECREF(str);                                \ 
2994         wxPyEndBlockThreads(blocked);                                           \ 
2996             rval = PCLASS::CBNAME(a, b);                                        \ 
3002 #define PYCALLBACK__(PCLASS, CBNAME)                                            \ 
3005         wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \ 
3006         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME)))                  \ 
3007             wxPyCBH_callCallback(m_myInst, Py_BuildValue("()"));                \ 
3008         wxPyEndBlockThreads(blocked);                                           \ 
3015 #define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME)                              \ 
3016     bool CBNAME(size_t a, size_t b)  {                                          \ 
3019         wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \ 
3020         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME)))                  \ 
3021             rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b));  \ 
3022         wxPyEndBlockThreads(blocked);                                           \ 
3024             rval = PCLASS::CBNAME(a,b);                                         \ 
3030 #define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME)                                   \ 
3031     bool CBNAME(size_t a)  {                                                    \ 
3034         wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \ 
3035         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME)))                  \ 
3036             rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a));     \ 
3037         wxPyEndBlockThreads(blocked);                                           \ 
3039             rval = PCLASS::CBNAME(a);                                           \ 
3044 #define PYCALLBACK_STRING_INT(PCLASS, CBNAME)                                   \ 
3045     wxString CBNAME(int a) {                                                    \ 
3047         wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \ 
3049         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) {                \ 
3051             ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a));     \ 
3053                 rval = Py2wxString(ro);                                         \ 
3057         wxPyEndBlockThreads(blocked);                                           \ 
3059             rval = PCLASS::CBNAME(a);                                           \ 
3064 #define PYCALLBACK__INTSTRING(PCLASS, CBNAME)                                   \ 
3065     void CBNAME(int a, const wxString& c)  {                                    \ 
3067         wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \ 
3068         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) {                \ 
3069             PyObject* s = wx2PyString(c);                                       \ 
3070             wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)",a,s));          \ 
3073         wxPyEndBlockThreads(blocked);                                           \ 
3075             PCLASS::CBNAME(a,c);                                                \ 
3081 #define PYCALLBACK_BOOL_(PCLASS, CBNAME)                                        \ 
3085         wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \ 
3086         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME)))                  \ 
3087             rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()"));         \ 
3088         wxPyEndBlockThreads(blocked);                                           \ 
3090             rval = PCLASS::CBNAME();                                            \ 
3096 #define PYCALLBACK__SIZETINT(PCLASS, CBNAME)                                    \ 
3097     void CBNAME(size_t a, int b)  {                                             \ 
3099         wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \ 
3100         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME)))                  \ 
3101             wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b));         \ 
3102         wxPyEndBlockThreads(blocked);                                           \ 
3104             PCLASS::CBNAME(a,b);                                                \ 
3110 #define PYCALLBACK__INTINTLONG(PCLASS, CBNAME)                                  \ 
3111     void CBNAME(int a, int b, long c)  {                                        \ 
3113         wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \ 
3114         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME)))                  \ 
3115             wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c));      \ 
3116         wxPyEndBlockThreads(blocked);                                           \ 
3118             PCLASS::CBNAME(a,b,c);                                              \ 
3124 #define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME)                                \ 
3125     void CBNAME(int a, int b, double c)  {                                      \ 
3127         wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \ 
3128         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME)))                  \ 
3129             wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c));      \ 
3130         wxPyEndBlockThreads(blocked);                                           \ 
3132             PCLASS::CBNAME(a,b,c);                                              \ 
3137 #define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME)                                  \ 
3138     void CBNAME(int a, int b, bool c)  {                                        \ 
3140         wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \ 
3141         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME)))                  \ 
3142             wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c));      \ 
3143         wxPyEndBlockThreads(blocked);                                           \ 
3145             PCLASS::CBNAME(a,b,c);                                              \ 
3152 SWIGINTERN swig_type_info
* 
3153 SWIG_pchar_descriptor() 
3155   static int init 
= 0; 
3156   static swig_type_info
* info 
= 0; 
3158     info 
= SWIG_TypeQuery("_p_char"); 
3165 SWIGINTERNINLINE PyObject 
* 
3166 SWIG_FromCharPtrAndSize(const char* carray
, size_t size
) 
3169     if (size 
> INT_MAX
) { 
3170       swig_type_info
* pchar_descriptor 
= SWIG_pchar_descriptor(); 
3171       return pchar_descriptor 
?  
3172         SWIG_NewPointerObj(const_cast< char * >(carray
), pchar_descriptor
, 0) : SWIG_Py_Void(); 
3174       return PyString_FromStringAndSize(carray
, static_cast< int >(size
)); 
3177     return SWIG_Py_Void(); 
3182 SWIGINTERNINLINE PyObject 
*  
3183 SWIG_FromCharPtr(const char *cptr
) 
3185   return SWIG_FromCharPtrAndSize(cptr
, (cptr 
? strlen(cptr
) : 0)); 
3189 #define wxGRID_DEFAULT_NUMBER_ROWS        WXGRID_DEFAULT_NUMBER_ROWS 
3190 #define wxGRID_DEFAULT_NUMBER_COLS        WXGRID_DEFAULT_NUMBER_COLS 
3191 #define wxGRID_DEFAULT_ROW_HEIGHT         WXGRID_DEFAULT_ROW_HEIGHT 
3192 #define wxGRID_DEFAULT_COL_WIDTH          WXGRID_DEFAULT_COL_WIDTH 
3193 #define wxGRID_DEFAULT_COL_LABEL_HEIGHT   WXGRID_DEFAULT_COL_LABEL_HEIGHT 
3194 #define wxGRID_DEFAULT_ROW_LABEL_WIDTH    WXGRID_DEFAULT_ROW_LABEL_WIDTH 
3195 #define wxGRID_LABEL_EDGE_ZONE            WXGRID_LABEL_EDGE_ZONE 
3196 #define wxGRID_MIN_ROW_HEIGHT             WXGRID_MIN_ROW_HEIGHT 
3197 #define wxGRID_MIN_COL_WIDTH              WXGRID_MIN_COL_WIDTH 
3198 #define wxGRID_DEFAULT_SCROLLBAR_WIDTH    WXGRID_DEFAULT_SCROLLBAR_WIDTH 
3201   #define SWIG_From_long   PyInt_FromLong  
3204 SWIGINTERNINLINE PyObject 
* 
3205 SWIG_From_int  (int value
) 
3207   return SWIG_From_long  (value
); 
3210 SWIGINTERN 
void wxGridCellWorker__setOORInfo(wxGridCellWorker 
*self
,PyObject 
*_self
){ 
3211             if (!self
->GetClientObject()) 
3212                 self
->SetClientObject(new wxPyOORClientData(_self
)); 
3214 SWIGINTERN 
void delete_wxGridCellWorker(wxGridCellWorker 
*self
){ 
3219 # define LLONG_MIN      LONG_LONG_MIN 
3222 # define LLONG_MAX      LONG_LONG_MAX 
3225 # define ULLONG_MAX     ULONG_LONG_MAX 
3230 SWIG_AsVal_long (PyObject
* obj
, long* val
) 
3232     if (PyNumber_Check(obj
)) { 
3233         if (val
) *val 
= PyInt_AsLong(obj
); 
3236     return SWIG_TypeError
; 
3241 SWIG_AsVal_int (PyObject 
* obj
, int *val
) 
3244   int res 
= SWIG_AsVal_long (obj
, &v
); 
3245   if (SWIG_IsOK(res
)) { 
3246     if ((v 
< INT_MIN 
|| v 
> INT_MAX
)) { 
3247       return SWIG_OverflowError
; 
3249       if (val
) *val 
= static_cast< int >(v
); 
3257 SWIG_AsVal_bool (PyObject 
*obj
, bool *val
) 
3259   if (obj 
== Py_True
) { 
3260     if (val
) *val 
= true; 
3262   } else if (obj 
== Py_False
) { 
3263     if (val
) *val 
= false; 
3267     int res 
= SWIG_AddCast(SWIG_AsVal_long (obj
, val 
? &v 
: 0)); 
3268     if (SWIG_IsOK(res
) && val
) *val 
= v 
? true : false; 
3274 class wxPyGridCellRenderer 
: public wxGridCellRenderer
 
3277     wxPyGridCellRenderer() : wxGridCellRenderer() {}; 
3279     // Implement Python callback aware virtual methods 
3280     void Draw(wxGrid
& grid
, wxGridCellAttr
& attr
, 
3281               wxDC
& dc
, const wxRect
& rect
, 
3282               int row
, int col
, bool isSelected
) { 
3283         wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3284         if (wxPyCBH_findCallback(m_myInst
, "Draw")) { 
3285             PyObject
* go 
= wxPyMake_wxObject(&grid
,false); 
3286             PyObject
* dco 
= wxPyMake_wxObject(&dc
,false); 
3287             PyObject
* ao 
= wxPyMake_wxGridCellAttr(&attr
,false); 
3288             PyObject
* ro 
= wxPyConstructObject((void*)&rect
, wxT("wxRect"), 0); 
3290             wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OOOOiii)", go
, ao
, dco
, ro
, 
3291                                                          row
, col
, isSelected
)); 
3297         wxPyEndBlockThreads(blocked
); 
3300     wxSize 
GetBestSize(wxGrid
& grid
, wxGridCellAttr
& attr
, wxDC
& dc
, 
3303         wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3304         if (wxPyCBH_findCallback(m_myInst
, "GetBestSize")) { 
3307             PyObject
* go 
= wxPyMake_wxObject(&grid
,false); 
3308             PyObject
* dco 
= wxPyMake_wxObject(&dc
,false); 
3309             PyObject
* ao 
= wxPyMake_wxGridCellAttr(&attr
,false); 
3311             ro 
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOOii)", 
3319                 const char* errmsg 
= "GetBestSize should return a 2-tuple of integers or a wxSize object."; 
3320                 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxSize"))) { 
3323                 else if (PySequence_Check(ro
) && PyObject_Length(ro
) == 2) { 
3324                     PyErr_Clear();  // Clear the exception left over from wxPyConvertSwigPtr 
3325                     PyObject
* o1 
= PySequence_GetItem(ro
, 0); 
3326                     PyObject
* o2 
= PySequence_GetItem(ro
, 1); 
3327                     if (PyNumber_Check(o1
) && PyNumber_Check(o2
)) 
3328                         rval 
= wxSize(PyInt_AsLong(o1
), PyInt_AsLong(o2
)); 
3330                         PyErr_SetString(PyExc_TypeError
, errmsg
); 
3335                     PyErr_SetString(PyExc_TypeError
, errmsg
); 
3340         wxPyEndBlockThreads(blocked
); 
3345     wxGridCellRenderer 
*Clone() const { 
3346         wxGridCellRenderer
* rval 
= NULL
; 
3347         wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3348         if (wxPyCBH_findCallback(m_myInst
, "Clone")) { 
3350             wxGridCellRenderer
* ptr
; 
3351             ro 
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()")); 
3353                 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxGridCellRenderer"))) 
3358         wxPyEndBlockThreads(blocked
); 
3362     DEC_PYCALLBACK__STRING(SetParameters
); 
3367 IMP_PYCALLBACK__STRING( wxPyGridCellRenderer
, wxGridCellRenderer
, SetParameters
); 
3371 class wxPyGridCellEditor 
: public wxGridCellEditor
 
3374     wxPyGridCellEditor() : wxGridCellEditor() {} 
3376     void Create(wxWindow
* parent
, wxWindowID id
, wxEvtHandler
* evtHandler
) { 
3377         wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3378         if (wxPyCBH_findCallback(m_myInst
, "Create")) { 
3379             PyObject
* po 
= wxPyMake_wxObject(parent
,false); 
3380             PyObject
* eo 
= wxPyMake_wxObject(evtHandler
,false); 
3382             wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OiO)", po
, id
, eo
)); 
3386         wxPyEndBlockThreads(blocked
); 
3390     void BeginEdit(int row
, int col
, wxGrid
* grid
) { 
3391         wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3392         if (wxPyCBH_findCallback(m_myInst
, "BeginEdit")) { 
3393             PyObject
* go 
= wxPyMake_wxObject(grid
,false); 
3394             wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)", row
, col
, go
)); 
3397         wxPyEndBlockThreads(blocked
); 
3401     bool EndEdit(int row
, int col
, wxGrid
* grid
) { 
3403         wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3404         if (wxPyCBH_findCallback(m_myInst
, "EndEdit")) { 
3405             PyObject
* go 
= wxPyMake_wxObject(grid
,false); 
3406             rv 
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)", row
, col
, go
)); 
3409         wxPyEndBlockThreads(blocked
); 
3414     wxGridCellEditor
* Clone() const { 
3415         wxGridCellEditor
* rval 
= NULL
; 
3416         wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3417         if (wxPyCBH_findCallback(m_myInst
, "Clone")) { 
3419             wxGridCellEditor
* ptr
; 
3420             ro 
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()")); 
3422                 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxGridCellEditor"))) 
3427         wxPyEndBlockThreads(blocked
); 
3432     void Show(bool show
, wxGridCellAttr 
*attr
) { 
3434         wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3435         if ((found 
= wxPyCBH_findCallback(m_myInst
, "Show"))) { 
3436             PyObject
* ao 
= wxPyMake_wxGridCellAttr(attr
,false); 
3437             wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", show
, ao
)); 
3440         wxPyEndBlockThreads(blocked
); 
3442             wxGridCellEditor::Show(show
, attr
); 
3446     void PaintBackground(const wxRect
& rectCell
, wxGridCellAttr 
*attr
) { 
3448         wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3449         if ((found 
= wxPyCBH_findCallback(m_myInst
, "PaintBackground)"))) { 
3450             PyObject
* ao 
= wxPyMake_wxGridCellAttr(attr
,false); 
3451             PyObject
* ro 
= wxPyConstructObject((void*)&rectCell
, wxT("wxRect"), 0); 
3453             wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)", ro
, ao
)); 
3458         wxPyEndBlockThreads(blocked
); 
3460             wxGridCellEditor::PaintBackground(rectCell
, attr
); 
3464     DEC_PYCALLBACK___pure(Reset
); 
3465     DEC_PYCALLBACK__constany(SetSize
, wxRect
); 
3466     DEC_PYCALLBACK_bool_any(IsAcceptedKey
, wxKeyEvent
); 
3467     DEC_PYCALLBACK__any(StartingKey
, wxKeyEvent
); 
3468     DEC_PYCALLBACK__any(HandleReturn
, wxKeyEvent
); 
3469     DEC_PYCALLBACK__(StartingClick
); 
3470     DEC_PYCALLBACK__(Destroy
); 
3471     DEC_PYCALLBACK__STRING(SetParameters
); 
3472     DEC_PYCALLBACK_STRING__constpure(GetValue
); 
3478 IMP_PYCALLBACK__STRING( wxPyGridCellEditor
, wxGridCellEditor
, SetParameters
); 
3479 IMP_PYCALLBACK___pure(wxPyGridCellEditor
, wxGridCellEditor
, Reset
); 
3480 IMP_PYCALLBACK__constany(wxPyGridCellEditor
, wxGridCellEditor
, SetSize
, wxRect
); 
3481 IMP_PYCALLBACK_bool_any(wxPyGridCellEditor
, wxGridCellEditor
, IsAcceptedKey
, wxKeyEvent
); 
3482 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, StartingKey
, wxKeyEvent
); 
3483 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, HandleReturn
, wxKeyEvent
); 
3484 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, StartingClick
); 
3485 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, Destroy
); 
3486 IMP_PYCALLBACK_STRING__constpure(wxPyGridCellEditor
, wxGridCellEditor
, GetValue
); 
3489  static const wxString 
wxPyOneString(_T("1"));  
3490 SWIGINTERN 
void wxGridCellAttr__setOORInfo(wxGridCellAttr 
*self
,PyObject 
*_self
){ 
3491             if (!self
->GetClientObject()) 
3492                 self
->SetClientObject(new wxPyOORClientData(_self
)); 
3494 SWIGINTERN 
void delete_wxGridCellAttr(wxGridCellAttr 
*self
){ 
3496 SWIGINTERN 
void wxGridCellAttrProvider__setOORInfo(wxGridCellAttrProvider 
*self
,PyObject 
*_self
){ 
3497             if (!self
->GetClientObject()) 
3498                 self
->SetClientObject(new wxPyOORClientData(_self
)); 
3502 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
) 
3505     if (SWIG_AsVal_long(obj
, &v
) && v 
< 0) { 
3506         return SWIG_TypeError
; 
3509         *val 
= (unsigned long)v
; 
3514 SWIGINTERNINLINE 
int 
3515 SWIG_AsVal_size_t (PyObject 
* obj
, size_t *val
) 
3518   int res 
= SWIG_AsVal_unsigned_SS_long (obj
, val 
? &v 
: 0); 
3519   if (SWIG_IsOK(res
) && val
) *val 
= static_cast< size_t >(v
); 
3524 class wxPyGridCellAttrProvider 
: public wxGridCellAttrProvider
 
3527     wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {}; 
3529     PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider
, GetAttr
); 
3530     PYCALLBACK__GCAINTINT(wxGridCellAttrProvider
, SetAttr
); 
3531     PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetRowAttr
); 
3532     PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetColAttr
); 
3537 SWIGINTERN 
void wxGridTableBase__setOORInfo(wxGridTableBase 
*self
,PyObject 
*_self
){ 
3538             if (!self
->GetClientObject()) 
3539                 self
->SetClientObject(new wxPyOORClientData(_self
)); 
3542   #define SWIG_From_double   PyFloat_FromDouble  
3546 SWIG_AsVal_double (PyObject 
*obj
, double* val
) 
3548     if (PyNumber_Check(obj
)) { 
3549         if (val
) *val 
= PyFloat_AsDouble(obj
); 
3552     return SWIG_TypeError
; 
3556 class wxPyGridTableBase 
: public wxGridTableBase
 
3559     wxPyGridTableBase() : wxGridTableBase() {} 
3561     PYCALLBACK_INT__pure(GetNumberRows
); 
3562     PYCALLBACK_INT__pure(GetNumberCols
); 
3563     PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell
); 
3564     PYCALLBACK_STRING_INTINT(wxGridTableBase
, GetTypeName
); 
3565     PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanGetValueAs
); 
3566     PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanSetValueAs
); 
3567     PYCALLBACK__(wxGridTableBase
, Clear
); 
3568     PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertRows
); 
3569     PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteRows
); 
3570     PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertCols
); 
3571     PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteCols
); 
3572     PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendRows
); 
3573     PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendCols
); 
3574     PYCALLBACK_STRING_INT(wxGridTableBase
, GetRowLabelValue
); 
3575     PYCALLBACK_STRING_INT(wxGridTableBase
, GetColLabelValue
); 
3576     PYCALLBACK__INTSTRING(wxGridTableBase
, SetRowLabelValue
); 
3577     PYCALLBACK__INTSTRING(wxGridTableBase
, SetColLabelValue
); 
3578     PYCALLBACK_BOOL_(wxGridTableBase
, CanHaveAttributes
); 
3579     PYCALLBACK_GCA_INTINTKIND(wxGridTableBase
, GetAttr
); 
3580     PYCALLBACK__GCAINTINT(wxGridTableBase
, SetAttr
); 
3581     PYCALLBACK__GCAINT(wxGridTableBase
, SetRowAttr
); 
3582     PYCALLBACK__GCAINT(wxGridTableBase
, SetColAttr
); 
3585     wxString 
GetValue(int row
, int col
) { 
3586         wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3588         if (wxPyCBH_findCallback(m_myInst
, "GetValue")) { 
3590             ro 
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)",row
,col
)); 
3592                 if (!PyString_Check(ro
) && !PyUnicode_Check(ro
)) { 
3594                     ro 
= PyObject_Str(ro
); 
3597                 rval 
= Py2wxString(ro
); 
3601         wxPyEndBlockThreads(blocked
); 
3605     void SetValue(int row
, int col
, const wxString
& val
) { 
3606         wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3607         if (wxPyCBH_findCallback(m_myInst
, "SetValue")) { 
3608             PyObject
* s 
= wx2PyString(val
); 
3609             wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",row
,col
,s
)); 
3612         wxPyEndBlockThreads(blocked
); 
3616     // Map the Get/Set methods for the standard non-string types to 
3617     // the GetValue and SetValue python methods. 
3618     long GetValueAsLong( int row
, int col 
) { 
3620         wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3621         if (wxPyCBH_findCallback(m_myInst
, "GetValue")) { 
3624             ro 
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
)); 
3625             if (ro 
&& PyNumber_Check(ro
)) { 
3626                 num 
= PyNumber_Int(ro
); 
3628                     rval 
= PyInt_AsLong(num
); 
3634         wxPyEndBlockThreads(blocked
); 
3638     double GetValueAsDouble( int row
, int col 
) { 
3640         wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3641         if (wxPyCBH_findCallback(m_myInst
, "GetValue")) { 
3644             ro 
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
)); 
3645             if (ro 
&& PyNumber_Check(ro
)) { 
3646                 num 
= PyNumber_Float(ro
); 
3648                     rval 
= PyFloat_AsDouble(num
); 
3654         wxPyEndBlockThreads(blocked
); 
3658     bool GetValueAsBool( int row
, int col 
) { 
3659         return (bool)GetValueAsLong(row
, col
); 
3662     void SetValueAsLong( int row
, int col
, long value 
) { 
3663         wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3664         if (wxPyCBH_findCallback(m_myInst
, "SetValue")) { 
3665             wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iii)", row
, col
, value
)); 
3667         wxPyEndBlockThreads(blocked
); 
3670     void SetValueAsDouble( int row
, int col
, double value 
) { 
3671         wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3672         if (wxPyCBH_findCallback(m_myInst
, "SetValue")) { 
3673             wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iid)", row
, col
, value
)); 
3675         wxPyEndBlockThreads(blocked
); 
3678     void SetValueAsBool( int row
, int col
, bool value 
) { 
3679         SetValueAsLong( row
, col
, (long)value 
); 
3686 SWIGINTERN 
void wxPyGridTableBase_Destroy(wxPyGridTableBase 
*self
){ delete self
; } 
3688 bool wxGridCellCoords_helper(PyObject
* source
, wxGridCellCoords
** obj
) { 
3690     if (source 
== Py_None
) { 
3691         **obj 
= wxGridCellCoords(-1,-1); 
3695     // If source is an object instance then it may already be the right type 
3696     if (wxPySwigInstance_Check(source
)) { 
3697         wxGridCellCoords
* ptr
; 
3698         if (! wxPyConvertSwigPtr(source
, (void **)&ptr
, wxT("wxGridCellCoords"))) 
3703     // otherwise a 2-tuple of integers is expected 
3704     else if (PySequence_Check(source
) && PyObject_Length(source
) == 2) { 
3705         PyObject
* o1 
= PySequence_GetItem(source
, 0); 
3706         PyObject
* o2 
= PySequence_GetItem(source
, 1); 
3707         if (!PyNumber_Check(o1
) || !PyNumber_Check(o2
)) { 
3712         **obj 
= wxGridCellCoords(PyInt_AsLong(o1
), PyInt_AsLong(o2
)); 
3719     PyErr_SetString(PyExc_TypeError
, "Expected a 2-tuple of integers or a wxGridCellCoords object."); 
3724 bool wxGridCellCoords_typecheck(PyObject
* source
) { 
3727     if (wxPySwigInstance_Check(source
) && 
3728         wxPyConvertSwigPtr(source
, (void **)&ptr
, wxT("wxGridCellCoords"))) 
3732     if (PySequence_Check(source
) && PySequence_Length(source
) == 2) 
3739 PyObject
* wxGridCellCoordsArray_helper(const wxGridCellCoordsArray
& source
) 
3741     PyObject
* list 
= PyList_New(0); 
3743     for (idx 
= 0; idx 
< source
.GetCount(); idx 
+= 1) { 
3744         wxGridCellCoords
& coord 
= source
.Item(idx
); 
3745         PyObject
* tup 
= PyTuple_New(2); 
3746         PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(coord
.GetRow())); 
3747         PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(coord
.GetCol())); 
3748         PyList_Append(list
, tup
); 
3754 SWIGINTERN 
bool wxGridCellCoords___eq__(wxGridCellCoords 
*self
,PyObject 
*other
){ 
3755             wxGridCellCoords  temp
, *obj 
= &temp
; 
3756             if ( other 
== Py_None 
) return false; 
3757             if ( ! wxGridCellCoords_helper(other
, &obj
) ) { 
3761             return self
->operator==(*obj
); 
3763 SWIGINTERN 
bool wxGridCellCoords___ne__(wxGridCellCoords 
*self
,PyObject 
*other
){ 
3764             wxGridCellCoords  temp
, *obj 
= &temp
; 
3765             if ( other 
== Py_None 
) return true; 
3766             if ( ! wxGridCellCoords_helper(other
, &obj
)) { 
3770             return self
->operator!=(*obj
); 
3772 SWIGINTERN PyObject 
*wxGridCellCoords_Get(wxGridCellCoords 
*self
){ 
3773             PyObject
* tup 
= PyTuple_New(2); 
3774             PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow())); 
3775             PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol())); 
3779 typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES
; 
3781 SWIGINTERN wxGridCellCoords 
wxGrid_XYToCell(wxGrid 
*self
,int x
,int y
){ 
3782             wxGridCellCoords rv
; 
3783             self
->XYToCell(x
, y
, rv
); 
3789 SWIGINTERN 
int GridNoCellCoords_set(PyObject 
*) { 
3790   SWIG_Error(SWIG_AttributeError
,"Variable GridNoCellCoords is read-only."); 
3795 SWIGINTERN PyObject 
*GridNoCellCoords_get(void) { 
3796   PyObject 
*pyobj 
= 0; 
3798   pyobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxGridNoCellCoords
), SWIGTYPE_p_wxGridCellCoords
,  0 ); 
3803 SWIGINTERN 
int GridNoCellRect_set(PyObject 
*) { 
3804   SWIG_Error(SWIG_AttributeError
,"Variable GridNoCellRect is read-only."); 
3809 SWIGINTERN PyObject 
*GridNoCellRect_get(void) { 
3810   PyObject 
*pyobj 
= 0; 
3812   pyobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxGridNoCellRect
), SWIGTYPE_p_wxRect
,  0 ); 
3817 SWIGINTERN PyObject 
*_wrap_GridCellWorker__setOORInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3818   PyObject 
*resultobj 
= 0; 
3819   wxGridCellWorker 
*arg1 
= (wxGridCellWorker 
*) 0 ; 
3820   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
3823   PyObject 
* obj0 
= 0 ; 
3824   PyObject 
* obj1 
= 0 ; 
3825   char *  kwnames
[] = { 
3826     (char *) "self",(char *) "_self", NULL 
 
3829   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellWorker__setOORInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3830   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellWorker
, 0 |  0 ); 
3831   if (!SWIG_IsOK(res1
)) { 
3832     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellWorker__setOORInfo" "', expected argument " "1"" of type '" "wxGridCellWorker *""'");  
3834   arg1 
= reinterpret_cast< wxGridCellWorker 
* >(argp1
); 
3837     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3838     wxGridCellWorker__setOORInfo(arg1
,arg2
); 
3839     wxPyEndAllowThreads(__tstate
); 
3840     if (PyErr_Occurred()) SWIG_fail
; 
3842   resultobj 
= SWIG_Py_Void(); 
3849 SWIGINTERN PyObject 
*_wrap_delete_GridCellWorker(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3850   PyObject 
*resultobj 
= 0; 
3851   wxGridCellWorker 
*arg1 
= (wxGridCellWorker 
*) 0 ; 
3854   PyObject 
*swig_obj
[1] ; 
3856   if (!args
) SWIG_fail
; 
3858   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellWorker
, SWIG_POINTER_DISOWN 
|  0 ); 
3859   if (!SWIG_IsOK(res1
)) { 
3860     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GridCellWorker" "', expected argument " "1"" of type '" "wxGridCellWorker *""'");  
3862   arg1 
= reinterpret_cast< wxGridCellWorker 
* >(argp1
); 
3864     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3865     delete_wxGridCellWorker(arg1
); 
3867     wxPyEndAllowThreads(__tstate
); 
3868     if (PyErr_Occurred()) SWIG_fail
; 
3870   resultobj 
= SWIG_Py_Void(); 
3877 SWIGINTERN PyObject 
*_wrap_GridCellWorker_SetParameters(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3878   PyObject 
*resultobj 
= 0; 
3879   wxGridCellWorker 
*arg1 
= (wxGridCellWorker 
*) 0 ; 
3880   wxString 
*arg2 
= 0 ; 
3883   bool temp2 
= false ; 
3884   PyObject 
* obj0 
= 0 ; 
3885   PyObject 
* obj1 
= 0 ; 
3886   char *  kwnames
[] = { 
3887     (char *) "self",(char *) "params", NULL 
 
3890   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellWorker_SetParameters",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3891   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellWorker
, 0 |  0 ); 
3892   if (!SWIG_IsOK(res1
)) { 
3893     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellWorker_SetParameters" "', expected argument " "1"" of type '" "wxGridCellWorker *""'");  
3895   arg1 
= reinterpret_cast< wxGridCellWorker 
* >(argp1
); 
3897     arg2 
= wxString_in_helper(obj1
); 
3898     if (arg2 
== NULL
) SWIG_fail
; 
3902     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3903     (arg1
)->SetParameters((wxString 
const &)*arg2
); 
3904     wxPyEndAllowThreads(__tstate
); 
3905     if (PyErr_Occurred()) SWIG_fail
; 
3907   resultobj 
= SWIG_Py_Void(); 
3922 SWIGINTERN PyObject 
*_wrap_GridCellWorker_IncRef(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3923   PyObject 
*resultobj 
= 0; 
3924   wxGridCellWorker 
*arg1 
= (wxGridCellWorker 
*) 0 ; 
3927   PyObject 
*swig_obj
[1] ; 
3929   if (!args
) SWIG_fail
; 
3931   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellWorker
, 0 |  0 ); 
3932   if (!SWIG_IsOK(res1
)) { 
3933     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellWorker_IncRef" "', expected argument " "1"" of type '" "wxGridCellWorker *""'");  
3935   arg1 
= reinterpret_cast< wxGridCellWorker 
* >(argp1
); 
3937     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3939     wxPyEndAllowThreads(__tstate
); 
3940     if (PyErr_Occurred()) SWIG_fail
; 
3942   resultobj 
= SWIG_Py_Void(); 
3949 SWIGINTERN PyObject 
*_wrap_GridCellWorker_DecRef(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3950   PyObject 
*resultobj 
= 0; 
3951   wxGridCellWorker 
*arg1 
= (wxGridCellWorker 
*) 0 ; 
3954   PyObject 
*swig_obj
[1] ; 
3956   if (!args
) SWIG_fail
; 
3958   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellWorker
, 0 |  0 ); 
3959   if (!SWIG_IsOK(res1
)) { 
3960     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellWorker_DecRef" "', expected argument " "1"" of type '" "wxGridCellWorker *""'");  
3962   arg1 
= reinterpret_cast< wxGridCellWorker 
* >(argp1
); 
3964     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3966     wxPyEndAllowThreads(__tstate
); 
3967     if (PyErr_Occurred()) SWIG_fail
; 
3969   resultobj 
= SWIG_Py_Void(); 
3976 SWIGINTERN PyObject 
*GridCellWorker_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3978   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
3979   SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellWorker
, SWIG_NewClientData(obj
)); 
3980   return SWIG_Py_Void(); 
3983 SWIGINTERN PyObject 
*_wrap_GridCellRenderer_Draw(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3984   PyObject 
*resultobj 
= 0; 
3985   wxGridCellRenderer 
*arg1 
= (wxGridCellRenderer 
*) 0 ; 
3987   wxGridCellAttr 
*arg3 
= 0 ; 
4008   PyObject 
* obj0 
= 0 ; 
4009   PyObject 
* obj1 
= 0 ; 
4010   PyObject 
* obj2 
= 0 ; 
4011   PyObject 
* obj3 
= 0 ; 
4012   PyObject 
* obj4 
= 0 ; 
4013   PyObject 
* obj5 
= 0 ; 
4014   PyObject 
* obj6 
= 0 ; 
4015   PyObject 
* obj7 
= 0 ; 
4016   char *  kwnames
[] = { 
4017     (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "rect",(char *) "row",(char *) "col",(char *) "isSelected", NULL 
 
4020   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GridCellRenderer_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
; 
4021   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellRenderer
, 0 |  0 ); 
4022   if (!SWIG_IsOK(res1
)) { 
4023     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellRenderer_Draw" "', expected argument " "1"" of type '" "wxGridCellRenderer *""'");  
4025   arg1 
= reinterpret_cast< wxGridCellRenderer 
* >(argp1
); 
4026   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGrid
,  0 ); 
4027   if (!SWIG_IsOK(res2
)) { 
4028     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellRenderer_Draw" "', expected argument " "2"" of type '" "wxGrid &""'");  
4031     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GridCellRenderer_Draw" "', expected argument " "2"" of type '" "wxGrid &""'");  
4033   arg2 
= reinterpret_cast< wxGrid 
* >(argp2
); 
4034   res3 
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxGridCellAttr
,  0 ); 
4035   if (!SWIG_IsOK(res3
)) { 
4036     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "GridCellRenderer_Draw" "', expected argument " "3"" of type '" "wxGridCellAttr &""'");  
4039     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GridCellRenderer_Draw" "', expected argument " "3"" of type '" "wxGridCellAttr &""'");  
4041   arg3 
= reinterpret_cast< wxGridCellAttr 
* >(argp3
); 
4042   res4 
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDC
,  0 ); 
4043   if (!SWIG_IsOK(res4
)) { 
4044     SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GridCellRenderer_Draw" "', expected argument " "4"" of type '" "wxDC &""'");  
4047     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GridCellRenderer_Draw" "', expected argument " "4"" of type '" "wxDC &""'");  
4049   arg4 
= reinterpret_cast< wxDC 
* >(argp4
); 
4052     if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
; 
4054   ecode6 
= SWIG_AsVal_int(obj5
, &val6
); 
4055   if (!SWIG_IsOK(ecode6
)) { 
4056     SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GridCellRenderer_Draw" "', expected argument " "6"" of type '" "int""'"); 
4058   arg6 
= static_cast< int >(val6
); 
4059   ecode7 
= SWIG_AsVal_int(obj6
, &val7
); 
4060   if (!SWIG_IsOK(ecode7
)) { 
4061     SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GridCellRenderer_Draw" "', expected argument " "7"" of type '" "int""'"); 
4063   arg7 
= static_cast< int >(val7
); 
4064   ecode8 
= SWIG_AsVal_bool(obj7
, &val8
); 
4065   if (!SWIG_IsOK(ecode8
)) { 
4066     SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "GridCellRenderer_Draw" "', expected argument " "8"" of type '" "bool""'"); 
4068   arg8 
= static_cast< bool >(val8
); 
4070     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4071     (arg1
)->Draw(*arg2
,*arg3
,*arg4
,(wxRect 
const &)*arg5
,arg6
,arg7
,arg8
); 
4072     wxPyEndAllowThreads(__tstate
); 
4073     if (PyErr_Occurred()) SWIG_fail
; 
4075   resultobj 
= SWIG_Py_Void(); 
4082 SWIGINTERN PyObject 
*_wrap_GridCellRenderer_GetBestSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4083   PyObject 
*resultobj 
= 0; 
4084   wxGridCellRenderer 
*arg1 
= (wxGridCellRenderer 
*) 0 ; 
4086   wxGridCellAttr 
*arg3 
= 0 ; 
4103   PyObject 
* obj0 
= 0 ; 
4104   PyObject 
* obj1 
= 0 ; 
4105   PyObject 
* obj2 
= 0 ; 
4106   PyObject 
* obj3 
= 0 ; 
4107   PyObject 
* obj4 
= 0 ; 
4108   PyObject 
* obj5 
= 0 ; 
4109   char *  kwnames
[] = { 
4110     (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "row",(char *) "col", NULL 
 
4113   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GridCellRenderer_GetBestSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
4114   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellRenderer
, 0 |  0 ); 
4115   if (!SWIG_IsOK(res1
)) { 
4116     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellRenderer_GetBestSize" "', expected argument " "1"" of type '" "wxGridCellRenderer *""'");  
4118   arg1 
= reinterpret_cast< wxGridCellRenderer 
* >(argp1
); 
4119   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGrid
,  0 ); 
4120   if (!SWIG_IsOK(res2
)) { 
4121     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellRenderer_GetBestSize" "', expected argument " "2"" of type '" "wxGrid &""'");  
4124     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GridCellRenderer_GetBestSize" "', expected argument " "2"" of type '" "wxGrid &""'");  
4126   arg2 
= reinterpret_cast< wxGrid 
* >(argp2
); 
4127   res3 
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxGridCellAttr
,  0 ); 
4128   if (!SWIG_IsOK(res3
)) { 
4129     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "GridCellRenderer_GetBestSize" "', expected argument " "3"" of type '" "wxGridCellAttr &""'");  
4132     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GridCellRenderer_GetBestSize" "', expected argument " "3"" of type '" "wxGridCellAttr &""'");  
4134   arg3 
= reinterpret_cast< wxGridCellAttr 
* >(argp3
); 
4135   res4 
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDC
,  0 ); 
4136   if (!SWIG_IsOK(res4
)) { 
4137     SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GridCellRenderer_GetBestSize" "', expected argument " "4"" of type '" "wxDC &""'");  
4140     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GridCellRenderer_GetBestSize" "', expected argument " "4"" of type '" "wxDC &""'");  
4142   arg4 
= reinterpret_cast< wxDC 
* >(argp4
); 
4143   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
4144   if (!SWIG_IsOK(ecode5
)) { 
4145     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GridCellRenderer_GetBestSize" "', expected argument " "5"" of type '" "int""'"); 
4147   arg5 
= static_cast< int >(val5
); 
4148   ecode6 
= SWIG_AsVal_int(obj5
, &val6
); 
4149   if (!SWIG_IsOK(ecode6
)) { 
4150     SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GridCellRenderer_GetBestSize" "', expected argument " "6"" of type '" "int""'"); 
4152   arg6 
= static_cast< int >(val6
); 
4154     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4155     result 
= (arg1
)->GetBestSize(*arg2
,*arg3
,*arg4
,arg5
,arg6
); 
4156     wxPyEndAllowThreads(__tstate
); 
4157     if (PyErr_Occurred()) SWIG_fail
; 
4159   resultobj 
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN 
|  0 ); 
4166 SWIGINTERN PyObject 
*_wrap_GridCellRenderer_Clone(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4167   PyObject 
*resultobj 
= 0; 
4168   wxGridCellRenderer 
*arg1 
= (wxGridCellRenderer 
*) 0 ; 
4169   wxGridCellRenderer 
*result 
= 0 ; 
4172   PyObject 
*swig_obj
[1] ; 
4174   if (!args
) SWIG_fail
; 
4176   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellRenderer
, 0 |  0 ); 
4177   if (!SWIG_IsOK(res1
)) { 
4178     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellRenderer_Clone" "', expected argument " "1"" of type '" "wxGridCellRenderer const *""'");  
4180   arg1 
= reinterpret_cast< wxGridCellRenderer 
* >(argp1
); 
4182     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4183     result 
= (wxGridCellRenderer 
*)((wxGridCellRenderer 
const *)arg1
)->Clone(); 
4184     wxPyEndAllowThreads(__tstate
); 
4185     if (PyErr_Occurred()) SWIG_fail
; 
4188     resultobj 
= wxPyMake_wxGridCellRenderer(result
, (bool)0);  
4196 SWIGINTERN PyObject 
*GridCellRenderer_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4198   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
4199   SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellRenderer
, SWIG_NewClientData(obj
)); 
4200   return SWIG_Py_Void(); 
4203 SWIGINTERN PyObject 
*_wrap_new_PyGridCellRenderer(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4204   PyObject 
*resultobj 
= 0; 
4205   wxPyGridCellRenderer 
*result 
= 0 ; 
4207   if (!SWIG_Python_UnpackTuple(args
,"new_PyGridCellRenderer",0,0,0)) SWIG_fail
; 
4209     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4210     result 
= (wxPyGridCellRenderer 
*)new wxPyGridCellRenderer(); 
4211     wxPyEndAllowThreads(__tstate
); 
4212     if (PyErr_Occurred()) SWIG_fail
; 
4214   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyGridCellRenderer
, SWIG_POINTER_NEW 
|  0 ); 
4221 SWIGINTERN PyObject 
*_wrap_PyGridCellRenderer__setCallbackInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4222   PyObject 
*resultobj 
= 0; 
4223   wxPyGridCellRenderer 
*arg1 
= (wxPyGridCellRenderer 
*) 0 ; 
4224   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
4225   PyObject 
*arg3 
= (PyObject 
*) 0 ; 
4228   PyObject 
* obj0 
= 0 ; 
4229   PyObject 
* obj1 
= 0 ; 
4230   PyObject 
* obj2 
= 0 ; 
4231   char *  kwnames
[] = { 
4232     (char *) "self",(char *) "self",(char *) "_class", NULL 
 
4235   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellRenderer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
4236   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellRenderer
, 0 |  0 ); 
4237   if (!SWIG_IsOK(res1
)) { 
4238     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellRenderer__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyGridCellRenderer *""'");  
4240   arg1 
= reinterpret_cast< wxPyGridCellRenderer 
* >(argp1
); 
4244     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4245     (arg1
)->_setCallbackInfo(arg2
,arg3
); 
4246     wxPyEndAllowThreads(__tstate
); 
4247     if (PyErr_Occurred()) SWIG_fail
; 
4249   resultobj 
= SWIG_Py_Void(); 
4256 SWIGINTERN PyObject 
*_wrap_PyGridCellRenderer_SetParameters(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4257   PyObject 
*resultobj 
= 0; 
4258   wxPyGridCellRenderer 
*arg1 
= (wxPyGridCellRenderer 
*) 0 ; 
4259   wxString 
*arg2 
= 0 ; 
4262   bool temp2 
= false ; 
4263   PyObject 
* obj0 
= 0 ; 
4264   PyObject 
* obj1 
= 0 ; 
4265   char *  kwnames
[] = { 
4266     (char *) "self",(char *) "params", NULL 
 
4269   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellRenderer_SetParameters",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4270   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellRenderer
, 0 |  0 ); 
4271   if (!SWIG_IsOK(res1
)) { 
4272     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellRenderer_SetParameters" "', expected argument " "1"" of type '" "wxPyGridCellRenderer *""'");  
4274   arg1 
= reinterpret_cast< wxPyGridCellRenderer 
* >(argp1
); 
4276     arg2 
= wxString_in_helper(obj1
); 
4277     if (arg2 
== NULL
) SWIG_fail
; 
4281     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4282     (arg1
)->SetParameters((wxString 
const &)*arg2
); 
4283     wxPyEndAllowThreads(__tstate
); 
4284     if (PyErr_Occurred()) SWIG_fail
; 
4286   resultobj 
= SWIG_Py_Void(); 
4301 SWIGINTERN PyObject 
*PyGridCellRenderer_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4303   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
4304   SWIG_TypeNewClientData(SWIGTYPE_p_wxPyGridCellRenderer
, SWIG_NewClientData(obj
)); 
4305   return SWIG_Py_Void(); 
4308 SWIGINTERN PyObject 
*PyGridCellRenderer_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4309   return SWIG_Python_InitShadowInstance(args
); 
4312 SWIGINTERN PyObject 
*_wrap_new_GridCellStringRenderer(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4313   PyObject 
*resultobj 
= 0; 
4314   wxGridCellStringRenderer 
*result 
= 0 ; 
4316   if (!SWIG_Python_UnpackTuple(args
,"new_GridCellStringRenderer",0,0,0)) SWIG_fail
; 
4318     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4319     result 
= (wxGridCellStringRenderer 
*)new wxGridCellStringRenderer(); 
4320     wxPyEndAllowThreads(__tstate
); 
4321     if (PyErr_Occurred()) SWIG_fail
; 
4323   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellStringRenderer
, SWIG_POINTER_NEW 
|  0 ); 
4330 SWIGINTERN PyObject 
*GridCellStringRenderer_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4332   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
4333   SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellStringRenderer
, SWIG_NewClientData(obj
)); 
4334   return SWIG_Py_Void(); 
4337 SWIGINTERN PyObject 
*GridCellStringRenderer_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4338   return SWIG_Python_InitShadowInstance(args
); 
4341 SWIGINTERN PyObject 
*_wrap_new_GridCellNumberRenderer(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4342   PyObject 
*resultobj 
= 0; 
4343   wxGridCellNumberRenderer 
*result 
= 0 ; 
4345   if (!SWIG_Python_UnpackTuple(args
,"new_GridCellNumberRenderer",0,0,0)) SWIG_fail
; 
4347     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4348     result 
= (wxGridCellNumberRenderer 
*)new wxGridCellNumberRenderer(); 
4349     wxPyEndAllowThreads(__tstate
); 
4350     if (PyErr_Occurred()) SWIG_fail
; 
4352   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellNumberRenderer
, SWIG_POINTER_NEW 
|  0 ); 
4359 SWIGINTERN PyObject 
*GridCellNumberRenderer_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4361   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
4362   SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellNumberRenderer
, SWIG_NewClientData(obj
)); 
4363   return SWIG_Py_Void(); 
4366 SWIGINTERN PyObject 
*GridCellNumberRenderer_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4367   return SWIG_Python_InitShadowInstance(args
); 
4370 SWIGINTERN PyObject 
*_wrap_new_GridCellFloatRenderer(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4371   PyObject 
*resultobj 
= 0; 
4372   int arg1 
= (int) -1 ; 
4373   int arg2 
= (int) -1 ; 
4374   wxGridCellFloatRenderer 
*result 
= 0 ; 
4379   PyObject 
* obj0 
= 0 ; 
4380   PyObject 
* obj1 
= 0 ; 
4381   char *  kwnames
[] = { 
4382     (char *) "width",(char *) "precision", NULL 
 
4385   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellFloatRenderer",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4387     ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
4388     if (!SWIG_IsOK(ecode1
)) { 
4389       SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridCellFloatRenderer" "', expected argument " "1"" of type '" "int""'"); 
4391     arg1 
= static_cast< int >(val1
); 
4394     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4395     if (!SWIG_IsOK(ecode2
)) { 
4396       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridCellFloatRenderer" "', expected argument " "2"" of type '" "int""'"); 
4398     arg2 
= static_cast< int >(val2
); 
4401     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4402     result 
= (wxGridCellFloatRenderer 
*)new wxGridCellFloatRenderer(arg1
,arg2
); 
4403     wxPyEndAllowThreads(__tstate
); 
4404     if (PyErr_Occurred()) SWIG_fail
; 
4406   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellFloatRenderer
, SWIG_POINTER_NEW 
|  0 ); 
4413 SWIGINTERN PyObject 
*_wrap_GridCellFloatRenderer_GetWidth(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4414   PyObject 
*resultobj 
= 0; 
4415   wxGridCellFloatRenderer 
*arg1 
= (wxGridCellFloatRenderer 
*) 0 ; 
4419   PyObject 
*swig_obj
[1] ; 
4421   if (!args
) SWIG_fail
; 
4423   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellFloatRenderer
, 0 |  0 ); 
4424   if (!SWIG_IsOK(res1
)) { 
4425     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellFloatRenderer_GetWidth" "', expected argument " "1"" of type '" "wxGridCellFloatRenderer const *""'");  
4427   arg1 
= reinterpret_cast< wxGridCellFloatRenderer 
* >(argp1
); 
4429     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4430     result 
= (int)((wxGridCellFloatRenderer 
const *)arg1
)->GetWidth(); 
4431     wxPyEndAllowThreads(__tstate
); 
4432     if (PyErr_Occurred()) SWIG_fail
; 
4434   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
4441 SWIGINTERN PyObject 
*_wrap_GridCellFloatRenderer_SetWidth(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4442   PyObject 
*resultobj 
= 0; 
4443   wxGridCellFloatRenderer 
*arg1 
= (wxGridCellFloatRenderer 
*) 0 ; 
4449   PyObject 
* obj0 
= 0 ; 
4450   PyObject 
* obj1 
= 0 ; 
4451   char *  kwnames
[] = { 
4452     (char *) "self",(char *) "width", NULL 
 
4455   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellFloatRenderer_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4456   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellFloatRenderer
, 0 |  0 ); 
4457   if (!SWIG_IsOK(res1
)) { 
4458     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellFloatRenderer_SetWidth" "', expected argument " "1"" of type '" "wxGridCellFloatRenderer *""'");  
4460   arg1 
= reinterpret_cast< wxGridCellFloatRenderer 
* >(argp1
); 
4461   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4462   if (!SWIG_IsOK(ecode2
)) { 
4463     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellFloatRenderer_SetWidth" "', expected argument " "2"" of type '" "int""'"); 
4465   arg2 
= static_cast< int >(val2
); 
4467     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4468     (arg1
)->SetWidth(arg2
); 
4469     wxPyEndAllowThreads(__tstate
); 
4470     if (PyErr_Occurred()) SWIG_fail
; 
4472   resultobj 
= SWIG_Py_Void(); 
4479 SWIGINTERN PyObject 
*_wrap_GridCellFloatRenderer_GetPrecision(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4480   PyObject 
*resultobj 
= 0; 
4481   wxGridCellFloatRenderer 
*arg1 
= (wxGridCellFloatRenderer 
*) 0 ; 
4485   PyObject 
*swig_obj
[1] ; 
4487   if (!args
) SWIG_fail
; 
4489   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellFloatRenderer
, 0 |  0 ); 
4490   if (!SWIG_IsOK(res1
)) { 
4491     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellFloatRenderer_GetPrecision" "', expected argument " "1"" of type '" "wxGridCellFloatRenderer const *""'");  
4493   arg1 
= reinterpret_cast< wxGridCellFloatRenderer 
* >(argp1
); 
4495     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4496     result 
= (int)((wxGridCellFloatRenderer 
const *)arg1
)->GetPrecision(); 
4497     wxPyEndAllowThreads(__tstate
); 
4498     if (PyErr_Occurred()) SWIG_fail
; 
4500   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
4507 SWIGINTERN PyObject 
*_wrap_GridCellFloatRenderer_SetPrecision(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4508   PyObject 
*resultobj 
= 0; 
4509   wxGridCellFloatRenderer 
*arg1 
= (wxGridCellFloatRenderer 
*) 0 ; 
4515   PyObject 
* obj0 
= 0 ; 
4516   PyObject 
* obj1 
= 0 ; 
4517   char *  kwnames
[] = { 
4518     (char *) "self",(char *) "precision", NULL 
 
4521   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellFloatRenderer_SetPrecision",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4522   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellFloatRenderer
, 0 |  0 ); 
4523   if (!SWIG_IsOK(res1
)) { 
4524     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellFloatRenderer_SetPrecision" "', expected argument " "1"" of type '" "wxGridCellFloatRenderer *""'");  
4526   arg1 
= reinterpret_cast< wxGridCellFloatRenderer 
* >(argp1
); 
4527   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4528   if (!SWIG_IsOK(ecode2
)) { 
4529     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellFloatRenderer_SetPrecision" "', expected argument " "2"" of type '" "int""'"); 
4531   arg2 
= static_cast< int >(val2
); 
4533     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4534     (arg1
)->SetPrecision(arg2
); 
4535     wxPyEndAllowThreads(__tstate
); 
4536     if (PyErr_Occurred()) SWIG_fail
; 
4538   resultobj 
= SWIG_Py_Void(); 
4545 SWIGINTERN PyObject 
*GridCellFloatRenderer_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4547   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
4548   SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellFloatRenderer
, SWIG_NewClientData(obj
)); 
4549   return SWIG_Py_Void(); 
4552 SWIGINTERN PyObject 
*GridCellFloatRenderer_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4553   return SWIG_Python_InitShadowInstance(args
); 
4556 SWIGINTERN PyObject 
*_wrap_new_GridCellBoolRenderer(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4557   PyObject 
*resultobj 
= 0; 
4558   wxGridCellBoolRenderer 
*result 
= 0 ; 
4560   if (!SWIG_Python_UnpackTuple(args
,"new_GridCellBoolRenderer",0,0,0)) SWIG_fail
; 
4562     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4563     result 
= (wxGridCellBoolRenderer 
*)new wxGridCellBoolRenderer(); 
4564     wxPyEndAllowThreads(__tstate
); 
4565     if (PyErr_Occurred()) SWIG_fail
; 
4567   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellBoolRenderer
, SWIG_POINTER_NEW 
|  0 ); 
4574 SWIGINTERN PyObject 
*GridCellBoolRenderer_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4576   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
4577   SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellBoolRenderer
, SWIG_NewClientData(obj
)); 
4578   return SWIG_Py_Void(); 
4581 SWIGINTERN PyObject 
*GridCellBoolRenderer_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4582   return SWIG_Python_InitShadowInstance(args
); 
4585 SWIGINTERN PyObject 
*_wrap_new_GridCellDateTimeRenderer(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4586   PyObject 
*resultobj 
= 0; 
4587   wxString arg1 
= (wxString
) wxPyDefaultDateTimeFormat 
; 
4588   wxString arg2 
= (wxString
) wxPyDefaultDateTimeFormat 
; 
4589   wxGridCellDateTimeRenderer 
*result 
= 0 ; 
4590   PyObject 
* obj0 
= 0 ; 
4591   PyObject 
* obj1 
= 0 ; 
4592   char *  kwnames
[] = { 
4593     (char *) "outformat",(char *) "informat", NULL 
 
4596   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellDateTimeRenderer",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4599       wxString
* sptr 
= wxString_in_helper(obj0
); 
4600       if (sptr 
== NULL
) SWIG_fail
; 
4607       wxString
* sptr 
= wxString_in_helper(obj1
); 
4608       if (sptr 
== NULL
) SWIG_fail
; 
4614     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4615     result 
= (wxGridCellDateTimeRenderer 
*)new wxGridCellDateTimeRenderer(arg1
,arg2
); 
4616     wxPyEndAllowThreads(__tstate
); 
4617     if (PyErr_Occurred()) SWIG_fail
; 
4619   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellDateTimeRenderer
, SWIG_POINTER_NEW 
|  0 ); 
4626 SWIGINTERN PyObject 
*GridCellDateTimeRenderer_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4628   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
4629   SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellDateTimeRenderer
, SWIG_NewClientData(obj
)); 
4630   return SWIG_Py_Void(); 
4633 SWIGINTERN PyObject 
*GridCellDateTimeRenderer_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4634   return SWIG_Python_InitShadowInstance(args
); 
4637 SWIGINTERN PyObject 
*_wrap_new_GridCellEnumRenderer(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4638   PyObject 
*resultobj 
= 0; 
4639   wxString 
const &arg1_defvalue 
= wxPyEmptyString 
; 
4640   wxString 
*arg1 
= (wxString 
*) &arg1_defvalue 
; 
4641   wxGridCellEnumRenderer 
*result 
= 0 ; 
4642   bool temp1 
= false ; 
4643   PyObject 
* obj0 
= 0 ; 
4644   char *  kwnames
[] = { 
4645     (char *) "choices", NULL 
 
4648   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellEnumRenderer",kwnames
,&obj0
)) SWIG_fail
; 
4651       arg1 
= wxString_in_helper(obj0
); 
4652       if (arg1 
== NULL
) SWIG_fail
; 
4657     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4658     result 
= (wxGridCellEnumRenderer 
*)new wxGridCellEnumRenderer((wxString 
const &)*arg1
); 
4659     wxPyEndAllowThreads(__tstate
); 
4660     if (PyErr_Occurred()) SWIG_fail
; 
4662   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellEnumRenderer
, SWIG_POINTER_NEW 
|  0 ); 
4677 SWIGINTERN PyObject 
*GridCellEnumRenderer_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4679   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
4680   SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellEnumRenderer
, SWIG_NewClientData(obj
)); 
4681   return SWIG_Py_Void(); 
4684 SWIGINTERN PyObject 
*GridCellEnumRenderer_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4685   return SWIG_Python_InitShadowInstance(args
); 
4688 SWIGINTERN PyObject 
*_wrap_new_GridCellAutoWrapStringRenderer(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4689   PyObject 
*resultobj 
= 0; 
4690   wxGridCellAutoWrapStringRenderer 
*result 
= 0 ; 
4692   if (!SWIG_Python_UnpackTuple(args
,"new_GridCellAutoWrapStringRenderer",0,0,0)) SWIG_fail
; 
4694     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4695     result 
= (wxGridCellAutoWrapStringRenderer 
*)new wxGridCellAutoWrapStringRenderer(); 
4696     wxPyEndAllowThreads(__tstate
); 
4697     if (PyErr_Occurred()) SWIG_fail
; 
4699   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellAutoWrapStringRenderer
, SWIG_POINTER_NEW 
|  0 ); 
4706 SWIGINTERN PyObject 
*GridCellAutoWrapStringRenderer_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4708   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
4709   SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellAutoWrapStringRenderer
, SWIG_NewClientData(obj
)); 
4710   return SWIG_Py_Void(); 
4713 SWIGINTERN PyObject 
*GridCellAutoWrapStringRenderer_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4714   return SWIG_Python_InitShadowInstance(args
); 
4717 SWIGINTERN PyObject 
*_wrap_GridCellEditor_IsCreated(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4718   PyObject 
*resultobj 
= 0; 
4719   wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
4723   PyObject 
*swig_obj
[1] ; 
4725   if (!args
) SWIG_fail
; 
4727   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 |  0 ); 
4728   if (!SWIG_IsOK(res1
)) { 
4729     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_IsCreated" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");  
4731   arg1 
= reinterpret_cast< wxGridCellEditor 
* >(argp1
); 
4733     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4734     result 
= (bool)(arg1
)->IsCreated(); 
4735     wxPyEndAllowThreads(__tstate
); 
4736     if (PyErr_Occurred()) SWIG_fail
; 
4739     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4747 SWIGINTERN PyObject 
*_wrap_GridCellEditor_GetControl(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4748   PyObject 
*resultobj 
= 0; 
4749   wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
4750   wxControl 
*result 
= 0 ; 
4753   PyObject 
*swig_obj
[1] ; 
4755   if (!args
) SWIG_fail
; 
4757   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 |  0 ); 
4758   if (!SWIG_IsOK(res1
)) { 
4759     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_GetControl" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");  
4761   arg1 
= reinterpret_cast< wxGridCellEditor 
* >(argp1
); 
4763     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4764     result 
= (wxControl 
*)(arg1
)->GetControl(); 
4765     wxPyEndAllowThreads(__tstate
); 
4766     if (PyErr_Occurred()) SWIG_fail
; 
4769     resultobj 
= wxPyMake_wxObject(result
, 0);  
4777 SWIGINTERN PyObject 
*_wrap_GridCellEditor_SetControl(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4778   PyObject 
*resultobj 
= 0; 
4779   wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
4780   wxControl 
*arg2 
= (wxControl 
*) 0 ; 
4785   PyObject 
* obj0 
= 0 ; 
4786   PyObject 
* obj1 
= 0 ; 
4787   char *  kwnames
[] = { 
4788     (char *) "self",(char *) "control", NULL 
 
4791   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4792   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 |  0 ); 
4793   if (!SWIG_IsOK(res1
)) { 
4794     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_SetControl" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");  
4796   arg1 
= reinterpret_cast< wxGridCellEditor 
* >(argp1
); 
4797   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 |  0 ); 
4798   if (!SWIG_IsOK(res2
)) { 
4799     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellEditor_SetControl" "', expected argument " "2"" of type '" "wxControl *""'");  
4801   arg2 
= reinterpret_cast< wxControl 
* >(argp2
); 
4803     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4804     (arg1
)->SetControl(arg2
); 
4805     wxPyEndAllowThreads(__tstate
); 
4806     if (PyErr_Occurred()) SWIG_fail
; 
4808   resultobj 
= SWIG_Py_Void(); 
4815 SWIGINTERN PyObject 
*_wrap_GridCellEditor_GetCellAttr(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4816   PyObject 
*resultobj 
= 0; 
4817   wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
4818   wxGridCellAttr 
*result 
= 0 ; 
4821   PyObject 
*swig_obj
[1] ; 
4823   if (!args
) SWIG_fail
; 
4825   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 |  0 ); 
4826   if (!SWIG_IsOK(res1
)) { 
4827     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_GetCellAttr" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");  
4829   arg1 
= reinterpret_cast< wxGridCellEditor 
* >(argp1
); 
4831     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4832     result 
= (wxGridCellAttr 
*)(arg1
)->GetCellAttr(); 
4833     wxPyEndAllowThreads(__tstate
); 
4834     if (PyErr_Occurred()) SWIG_fail
; 
4837     resultobj 
= wxPyMake_wxGridCellAttr(result
,     (bool)0);  
4845 SWIGINTERN PyObject 
*_wrap_GridCellEditor_SetCellAttr(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4846   PyObject 
*resultobj 
= 0; 
4847   wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
4848   wxGridCellAttr 
*arg2 
= (wxGridCellAttr 
*) 0 ; 
4853   PyObject 
* obj0 
= 0 ; 
4854   PyObject 
* obj1 
= 0 ; 
4855   char *  kwnames
[] = { 
4856     (char *) "self",(char *) "attr", NULL 
 
4859   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetCellAttr",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4860   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 |  0 ); 
4861   if (!SWIG_IsOK(res1
)) { 
4862     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_SetCellAttr" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");  
4864   arg1 
= reinterpret_cast< wxGridCellEditor 
* >(argp1
); 
4865   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
4866   if (!SWIG_IsOK(res2
)) { 
4867     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellEditor_SetCellAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");  
4869   arg2 
= reinterpret_cast< wxGridCellAttr 
* >(argp2
); 
4871     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4872     (arg1
)->SetCellAttr(arg2
); 
4873     wxPyEndAllowThreads(__tstate
); 
4874     if (PyErr_Occurred()) SWIG_fail
; 
4876   resultobj 
= SWIG_Py_Void(); 
4883 SWIGINTERN PyObject 
*_wrap_GridCellEditor_Create(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4884   PyObject 
*resultobj 
= 0; 
4885   wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
4886   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
4888   wxEvtHandler 
*arg4 
= (wxEvtHandler 
*) 0 ; 
4897   PyObject 
* obj0 
= 0 ; 
4898   PyObject 
* obj1 
= 0 ; 
4899   PyObject 
* obj2 
= 0 ; 
4900   PyObject 
* obj3 
= 0 ; 
4901   char *  kwnames
[] = { 
4902     (char *) "self",(char *) "parent",(char *) "id",(char *) "evtHandler", NULL 
 
4905   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
4906   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 |  0 ); 
4907   if (!SWIG_IsOK(res1
)) { 
4908     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_Create" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");  
4910   arg1 
= reinterpret_cast< wxGridCellEditor 
* >(argp1
); 
4911   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
4912   if (!SWIG_IsOK(res2
)) { 
4913     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellEditor_Create" "', expected argument " "2"" of type '" "wxWindow *""'");  
4915   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
4916   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
4917   if (!SWIG_IsOK(ecode3
)) { 
4918     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellEditor_Create" "', expected argument " "3"" of type '" "int""'"); 
4920   arg3 
= static_cast< int >(val3
); 
4921   res4 
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxEvtHandler
, 0 |  0 ); 
4922   if (!SWIG_IsOK(res4
)) { 
4923     SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GridCellEditor_Create" "', expected argument " "4"" of type '" "wxEvtHandler *""'");  
4925   arg4 
= reinterpret_cast< wxEvtHandler 
* >(argp4
); 
4927     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4928     (arg1
)->Create(arg2
,arg3
,arg4
); 
4929     wxPyEndAllowThreads(__tstate
); 
4930     if (PyErr_Occurred()) SWIG_fail
; 
4932   resultobj 
= SWIG_Py_Void(); 
4939 SWIGINTERN PyObject 
*_wrap_GridCellEditor_BeginEdit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4940   PyObject 
*resultobj 
= 0; 
4941   wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
4944   wxGrid 
*arg4 
= (wxGrid 
*) 0 ; 
4953   PyObject 
* obj0 
= 0 ; 
4954   PyObject 
* obj1 
= 0 ; 
4955   PyObject 
* obj2 
= 0 ; 
4956   PyObject 
* obj3 
= 0 ; 
4957   char *  kwnames
[] = { 
4958     (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL 
 
4961   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_BeginEdit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
4962   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 |  0 ); 
4963   if (!SWIG_IsOK(res1
)) { 
4964     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_BeginEdit" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");  
4966   arg1 
= reinterpret_cast< wxGridCellEditor 
* >(argp1
); 
4967   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4968   if (!SWIG_IsOK(ecode2
)) { 
4969     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellEditor_BeginEdit" "', expected argument " "2"" of type '" "int""'"); 
4971   arg2 
= static_cast< int >(val2
); 
4972   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
4973   if (!SWIG_IsOK(ecode3
)) { 
4974     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellEditor_BeginEdit" "', expected argument " "3"" of type '" "int""'"); 
4976   arg3 
= static_cast< int >(val3
); 
4977   res4 
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
4978   if (!SWIG_IsOK(res4
)) { 
4979     SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GridCellEditor_BeginEdit" "', expected argument " "4"" of type '" "wxGrid *""'");  
4981   arg4 
= reinterpret_cast< wxGrid 
* >(argp4
); 
4983     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4984     (arg1
)->BeginEdit(arg2
,arg3
,arg4
); 
4985     wxPyEndAllowThreads(__tstate
); 
4986     if (PyErr_Occurred()) SWIG_fail
; 
4988   resultobj 
= SWIG_Py_Void(); 
4995 SWIGINTERN PyObject 
*_wrap_GridCellEditor_EndEdit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4996   PyObject 
*resultobj 
= 0; 
4997   wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
5000   wxGrid 
*arg4 
= (wxGrid 
*) 0 ; 
5010   PyObject 
* obj0 
= 0 ; 
5011   PyObject 
* obj1 
= 0 ; 
5012   PyObject 
* obj2 
= 0 ; 
5013   PyObject 
* obj3 
= 0 ; 
5014   char *  kwnames
[] = { 
5015     (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL 
 
5018   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_EndEdit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
5019   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 |  0 ); 
5020   if (!SWIG_IsOK(res1
)) { 
5021     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_EndEdit" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");  
5023   arg1 
= reinterpret_cast< wxGridCellEditor 
* >(argp1
); 
5024   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
5025   if (!SWIG_IsOK(ecode2
)) { 
5026     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellEditor_EndEdit" "', expected argument " "2"" of type '" "int""'"); 
5028   arg2 
= static_cast< int >(val2
); 
5029   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
5030   if (!SWIG_IsOK(ecode3
)) { 
5031     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellEditor_EndEdit" "', expected argument " "3"" of type '" "int""'"); 
5033   arg3 
= static_cast< int >(val3
); 
5034   res4 
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
5035   if (!SWIG_IsOK(res4
)) { 
5036     SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GridCellEditor_EndEdit" "', expected argument " "4"" of type '" "wxGrid *""'");  
5038   arg4 
= reinterpret_cast< wxGrid 
* >(argp4
); 
5040     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5041     result 
= (bool)(arg1
)->EndEdit(arg2
,arg3
,arg4
); 
5042     wxPyEndAllowThreads(__tstate
); 
5043     if (PyErr_Occurred()) SWIG_fail
; 
5046     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5054 SWIGINTERN PyObject 
*_wrap_GridCellEditor_Reset(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5055   PyObject 
*resultobj 
= 0; 
5056   wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
5059   PyObject 
*swig_obj
[1] ; 
5061   if (!args
) SWIG_fail
; 
5063   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 |  0 ); 
5064   if (!SWIG_IsOK(res1
)) { 
5065     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_Reset" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");  
5067   arg1 
= reinterpret_cast< wxGridCellEditor 
* >(argp1
); 
5069     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5071     wxPyEndAllowThreads(__tstate
); 
5072     if (PyErr_Occurred()) SWIG_fail
; 
5074   resultobj 
= SWIG_Py_Void(); 
5081 SWIGINTERN PyObject 
*_wrap_GridCellEditor_Clone(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5082   PyObject 
*resultobj 
= 0; 
5083   wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
5084   wxGridCellEditor 
*result 
= 0 ; 
5087   PyObject 
*swig_obj
[1] ; 
5089   if (!args
) SWIG_fail
; 
5091   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 |  0 ); 
5092   if (!SWIG_IsOK(res1
)) { 
5093     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_Clone" "', expected argument " "1"" of type '" "wxGridCellEditor const *""'");  
5095   arg1 
= reinterpret_cast< wxGridCellEditor 
* >(argp1
); 
5097     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5098     result 
= (wxGridCellEditor 
*)((wxGridCellEditor 
const *)arg1
)->Clone(); 
5099     wxPyEndAllowThreads(__tstate
); 
5100     if (PyErr_Occurred()) SWIG_fail
; 
5103     resultobj 
= wxPyMake_wxGridCellEditor(result
,   (bool)0);  
5111 SWIGINTERN PyObject 
*_wrap_GridCellEditor_SetSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5112   PyObject 
*resultobj 
= 0; 
5113   wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
5118   PyObject 
* obj0 
= 0 ; 
5119   PyObject 
* obj1 
= 0 ; 
5120   char *  kwnames
[] = { 
5121     (char *) "self",(char *) "rect", NULL 
 
5124   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5125   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 |  0 ); 
5126   if (!SWIG_IsOK(res1
)) { 
5127     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_SetSize" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");  
5129   arg1 
= reinterpret_cast< wxGridCellEditor 
* >(argp1
); 
5132     if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
5135     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5136     (arg1
)->SetSize((wxRect 
const &)*arg2
); 
5137     wxPyEndAllowThreads(__tstate
); 
5138     if (PyErr_Occurred()) SWIG_fail
; 
5140   resultobj 
= SWIG_Py_Void(); 
5147 SWIGINTERN PyObject 
*_wrap_GridCellEditor_Show(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5148   PyObject 
*resultobj 
= 0; 
5149   wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
5151   wxGridCellAttr 
*arg3 
= (wxGridCellAttr 
*) NULL 
; 
5158   PyObject 
* obj0 
= 0 ; 
5159   PyObject 
* obj1 
= 0 ; 
5160   PyObject 
* obj2 
= 0 ; 
5161   char *  kwnames
[] = { 
5162     (char *) "self",(char *) "show",(char *) "attr", NULL 
 
5165   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridCellEditor_Show",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
5166   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 |  0 ); 
5167   if (!SWIG_IsOK(res1
)) { 
5168     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_Show" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");  
5170   arg1 
= reinterpret_cast< wxGridCellEditor 
* >(argp1
); 
5171   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
5172   if (!SWIG_IsOK(ecode2
)) { 
5173     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellEditor_Show" "', expected argument " "2"" of type '" "bool""'"); 
5175   arg2 
= static_cast< bool >(val2
); 
5177     res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
5178     if (!SWIG_IsOK(res3
)) { 
5179       SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "GridCellEditor_Show" "', expected argument " "3"" of type '" "wxGridCellAttr *""'");  
5181     arg3 
= reinterpret_cast< wxGridCellAttr 
* >(argp3
); 
5184     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5185     (arg1
)->Show(arg2
,arg3
); 
5186     wxPyEndAllowThreads(__tstate
); 
5187     if (PyErr_Occurred()) SWIG_fail
; 
5189   resultobj 
= SWIG_Py_Void(); 
5196 SWIGINTERN PyObject 
*_wrap_GridCellEditor_PaintBackground(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5197   PyObject 
*resultobj 
= 0; 
5198   wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
5200   wxGridCellAttr 
*arg3 
= (wxGridCellAttr 
*) 0 ; 
5206   PyObject 
* obj0 
= 0 ; 
5207   PyObject 
* obj1 
= 0 ; 
5208   PyObject 
* obj2 
= 0 ; 
5209   char *  kwnames
[] = { 
5210     (char *) "self",(char *) "rectCell",(char *) "attr", NULL 
 
5213   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellEditor_PaintBackground",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
5214   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 |  0 ); 
5215   if (!SWIG_IsOK(res1
)) { 
5216     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_PaintBackground" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");  
5218   arg1 
= reinterpret_cast< wxGridCellEditor 
* >(argp1
); 
5221     if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
5223   res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
5224   if (!SWIG_IsOK(res3
)) { 
5225     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "GridCellEditor_PaintBackground" "', expected argument " "3"" of type '" "wxGridCellAttr *""'");  
5227   arg3 
= reinterpret_cast< wxGridCellAttr 
* >(argp3
); 
5229     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5230     (arg1
)->PaintBackground((wxRect 
const &)*arg2
,arg3
); 
5231     wxPyEndAllowThreads(__tstate
); 
5232     if (PyErr_Occurred()) SWIG_fail
; 
5234   resultobj 
= SWIG_Py_Void(); 
5241 SWIGINTERN PyObject 
*_wrap_GridCellEditor_IsAcceptedKey(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5242   PyObject 
*resultobj 
= 0; 
5243   wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
5244   wxKeyEvent 
*arg2 
= 0 ; 
5250   PyObject 
* obj0 
= 0 ; 
5251   PyObject 
* obj1 
= 0 ; 
5252   char *  kwnames
[] = { 
5253     (char *) "self",(char *) "event", NULL 
 
5256   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_IsAcceptedKey",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5257   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 |  0 ); 
5258   if (!SWIG_IsOK(res1
)) { 
5259     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_IsAcceptedKey" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");  
5261   arg1 
= reinterpret_cast< wxGridCellEditor 
* >(argp1
); 
5262   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
,  0 ); 
5263   if (!SWIG_IsOK(res2
)) { 
5264     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellEditor_IsAcceptedKey" "', expected argument " "2"" of type '" "wxKeyEvent &""'");  
5267     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GridCellEditor_IsAcceptedKey" "', expected argument " "2"" of type '" "wxKeyEvent &""'");  
5269   arg2 
= reinterpret_cast< wxKeyEvent 
* >(argp2
); 
5271     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5272     result 
= (bool)(arg1
)->IsAcceptedKey(*arg2
); 
5273     wxPyEndAllowThreads(__tstate
); 
5274     if (PyErr_Occurred()) SWIG_fail
; 
5277     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5285 SWIGINTERN PyObject 
*_wrap_GridCellEditor_StartingKey(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5286   PyObject 
*resultobj 
= 0; 
5287   wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
5288   wxKeyEvent 
*arg2 
= 0 ; 
5293   PyObject 
* obj0 
= 0 ; 
5294   PyObject 
* obj1 
= 0 ; 
5295   char *  kwnames
[] = { 
5296     (char *) "self",(char *) "event", NULL 
 
5299   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_StartingKey",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5300   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 |  0 ); 
5301   if (!SWIG_IsOK(res1
)) { 
5302     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_StartingKey" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");  
5304   arg1 
= reinterpret_cast< wxGridCellEditor 
* >(argp1
); 
5305   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
,  0 ); 
5306   if (!SWIG_IsOK(res2
)) { 
5307     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellEditor_StartingKey" "', expected argument " "2"" of type '" "wxKeyEvent &""'");  
5310     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GridCellEditor_StartingKey" "', expected argument " "2"" of type '" "wxKeyEvent &""'");  
5312   arg2 
= reinterpret_cast< wxKeyEvent 
* >(argp2
); 
5314     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5315     (arg1
)->StartingKey(*arg2
); 
5316     wxPyEndAllowThreads(__tstate
); 
5317     if (PyErr_Occurred()) SWIG_fail
; 
5319   resultobj 
= SWIG_Py_Void(); 
5326 SWIGINTERN PyObject 
*_wrap_GridCellEditor_StartingClick(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5327   PyObject 
*resultobj 
= 0; 
5328   wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
5331   PyObject 
*swig_obj
[1] ; 
5333   if (!args
) SWIG_fail
; 
5335   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 |  0 ); 
5336   if (!SWIG_IsOK(res1
)) { 
5337     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_StartingClick" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");  
5339   arg1 
= reinterpret_cast< wxGridCellEditor 
* >(argp1
); 
5341     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5342     (arg1
)->StartingClick(); 
5343     wxPyEndAllowThreads(__tstate
); 
5344     if (PyErr_Occurred()) SWIG_fail
; 
5346   resultobj 
= SWIG_Py_Void(); 
5353 SWIGINTERN PyObject 
*_wrap_GridCellEditor_HandleReturn(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5354   PyObject 
*resultobj 
= 0; 
5355   wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
5356   wxKeyEvent 
*arg2 
= 0 ; 
5361   PyObject 
* obj0 
= 0 ; 
5362   PyObject 
* obj1 
= 0 ; 
5363   char *  kwnames
[] = { 
5364     (char *) "self",(char *) "event", NULL 
 
5367   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_HandleReturn",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5368   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 |  0 ); 
5369   if (!SWIG_IsOK(res1
)) { 
5370     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_HandleReturn" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");  
5372   arg1 
= reinterpret_cast< wxGridCellEditor 
* >(argp1
); 
5373   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
,  0 ); 
5374   if (!SWIG_IsOK(res2
)) { 
5375     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellEditor_HandleReturn" "', expected argument " "2"" of type '" "wxKeyEvent &""'");  
5378     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GridCellEditor_HandleReturn" "', expected argument " "2"" of type '" "wxKeyEvent &""'");  
5380   arg2 
= reinterpret_cast< wxKeyEvent 
* >(argp2
); 
5382     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5383     (arg1
)->HandleReturn(*arg2
); 
5384     wxPyEndAllowThreads(__tstate
); 
5385     if (PyErr_Occurred()) SWIG_fail
; 
5387   resultobj 
= SWIG_Py_Void(); 
5394 SWIGINTERN PyObject 
*_wrap_GridCellEditor_Destroy(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5395   PyObject 
*resultobj 
= 0; 
5396   wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
5399   PyObject 
*swig_obj
[1] ; 
5401   if (!args
) SWIG_fail
; 
5403   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 |  0 ); 
5404   if (!SWIG_IsOK(res1
)) { 
5405     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_Destroy" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");  
5407   arg1 
= reinterpret_cast< wxGridCellEditor 
* >(argp1
); 
5409     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5411     wxPyEndAllowThreads(__tstate
); 
5412     if (PyErr_Occurred()) SWIG_fail
; 
5414   resultobj 
= SWIG_Py_Void(); 
5421 SWIGINTERN PyObject 
*GridCellEditor_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5423   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
5424   SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellEditor
, SWIG_NewClientData(obj
)); 
5425   return SWIG_Py_Void(); 
5428 SWIGINTERN PyObject 
*_wrap_new_PyGridCellEditor(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5429   PyObject 
*resultobj 
= 0; 
5430   wxPyGridCellEditor 
*result 
= 0 ; 
5432   if (!SWIG_Python_UnpackTuple(args
,"new_PyGridCellEditor",0,0,0)) SWIG_fail
; 
5434     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5435     result 
= (wxPyGridCellEditor 
*)new wxPyGridCellEditor(); 
5436     wxPyEndAllowThreads(__tstate
); 
5437     if (PyErr_Occurred()) SWIG_fail
; 
5439   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_NEW 
|  0 ); 
5446 SWIGINTERN PyObject 
*_wrap_PyGridCellEditor__setCallbackInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5447   PyObject 
*resultobj 
= 0; 
5448   wxPyGridCellEditor 
*arg1 
= (wxPyGridCellEditor 
*) 0 ; 
5449   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
5450   PyObject 
*arg3 
= (PyObject 
*) 0 ; 
5453   PyObject 
* obj0 
= 0 ; 
5454   PyObject 
* obj1 
= 0 ; 
5455   PyObject 
* obj2 
= 0 ; 
5456   char *  kwnames
[] = { 
5457     (char *) "self",(char *) "self",(char *) "_class", NULL 
 
5460   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellEditor__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
5461   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellEditor
, 0 |  0 ); 
5462   if (!SWIG_IsOK(res1
)) { 
5463     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellEditor__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyGridCellEditor *""'");  
5465   arg1 
= reinterpret_cast< wxPyGridCellEditor 
* >(argp1
); 
5469     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5470     (arg1
)->_setCallbackInfo(arg2
,arg3
); 
5471     wxPyEndAllowThreads(__tstate
); 
5472     if (PyErr_Occurred()) SWIG_fail
; 
5474   resultobj 
= SWIG_Py_Void(); 
5481 SWIGINTERN PyObject 
*_wrap_PyGridCellEditor_SetParameters(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5482   PyObject 
*resultobj 
= 0; 
5483   wxPyGridCellEditor 
*arg1 
= (wxPyGridCellEditor 
*) 0 ; 
5484   wxString 
*arg2 
= 0 ; 
5487   bool temp2 
= false ; 
5488   PyObject 
* obj0 
= 0 ; 
5489   PyObject 
* obj1 
= 0 ; 
5490   char *  kwnames
[] = { 
5491     (char *) "self",(char *) "params", NULL 
 
5494   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_SetParameters",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5495   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellEditor
, 0 |  0 ); 
5496   if (!SWIG_IsOK(res1
)) { 
5497     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellEditor_SetParameters" "', expected argument " "1"" of type '" "wxPyGridCellEditor *""'");  
5499   arg1 
= reinterpret_cast< wxPyGridCellEditor 
* >(argp1
); 
5501     arg2 
= wxString_in_helper(obj1
); 
5502     if (arg2 
== NULL
) SWIG_fail
; 
5506     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5507     (arg1
)->SetParameters((wxString 
const &)*arg2
); 
5508     wxPyEndAllowThreads(__tstate
); 
5509     if (PyErr_Occurred()) SWIG_fail
; 
5511   resultobj 
= SWIG_Py_Void(); 
5526 SWIGINTERN PyObject 
*PyGridCellEditor_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5528   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
5529   SWIG_TypeNewClientData(SWIGTYPE_p_wxPyGridCellEditor
, SWIG_NewClientData(obj
)); 
5530   return SWIG_Py_Void(); 
5533 SWIGINTERN PyObject 
*PyGridCellEditor_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5534   return SWIG_Python_InitShadowInstance(args
); 
5537 SWIGINTERN PyObject 
*_wrap_new_GridCellTextEditor(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5538   PyObject 
*resultobj 
= 0; 
5539   wxGridCellTextEditor 
*result 
= 0 ; 
5541   if (!SWIG_Python_UnpackTuple(args
,"new_GridCellTextEditor",0,0,0)) SWIG_fail
; 
5543     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5544     result 
= (wxGridCellTextEditor 
*)new wxGridCellTextEditor(); 
5545     wxPyEndAllowThreads(__tstate
); 
5546     if (PyErr_Occurred()) SWIG_fail
; 
5548   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellTextEditor
, SWIG_POINTER_NEW 
|  0 ); 
5555 SWIGINTERN PyObject 
*_wrap_GridCellTextEditor_GetValue(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5556   PyObject 
*resultobj 
= 0; 
5557   wxGridCellTextEditor 
*arg1 
= (wxGridCellTextEditor 
*) 0 ; 
5561   PyObject 
*swig_obj
[1] ; 
5563   if (!args
) SWIG_fail
; 
5565   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellTextEditor
, 0 |  0 ); 
5566   if (!SWIG_IsOK(res1
)) { 
5567     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellTextEditor_GetValue" "', expected argument " "1"" of type '" "wxGridCellTextEditor *""'");  
5569   arg1 
= reinterpret_cast< wxGridCellTextEditor 
* >(argp1
); 
5571     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5572     result 
= (arg1
)->GetValue(); 
5573     wxPyEndAllowThreads(__tstate
); 
5574     if (PyErr_Occurred()) SWIG_fail
; 
5578     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
5580     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
5589 SWIGINTERN PyObject 
*GridCellTextEditor_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5591   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
5592   SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellTextEditor
, SWIG_NewClientData(obj
)); 
5593   return SWIG_Py_Void(); 
5596 SWIGINTERN PyObject 
*GridCellTextEditor_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5597   return SWIG_Python_InitShadowInstance(args
); 
5600 SWIGINTERN PyObject 
*_wrap_new_GridCellNumberEditor(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5601   PyObject 
*resultobj 
= 0; 
5602   int arg1 
= (int) -1 ; 
5603   int arg2 
= (int) -1 ; 
5604   wxGridCellNumberEditor 
*result 
= 0 ; 
5609   PyObject 
* obj0 
= 0 ; 
5610   PyObject 
* obj1 
= 0 ; 
5611   char *  kwnames
[] = { 
5612     (char *) "min",(char *) "max", NULL 
 
5615   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellNumberEditor",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5617     ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
5618     if (!SWIG_IsOK(ecode1
)) { 
5619       SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridCellNumberEditor" "', expected argument " "1"" of type '" "int""'"); 
5621     arg1 
= static_cast< int >(val1
); 
5624     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
5625     if (!SWIG_IsOK(ecode2
)) { 
5626       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridCellNumberEditor" "', expected argument " "2"" of type '" "int""'"); 
5628     arg2 
= static_cast< int >(val2
); 
5631     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5632     result 
= (wxGridCellNumberEditor 
*)new wxGridCellNumberEditor(arg1
,arg2
); 
5633     wxPyEndAllowThreads(__tstate
); 
5634     if (PyErr_Occurred()) SWIG_fail
; 
5636   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellNumberEditor
, SWIG_POINTER_NEW 
|  0 ); 
5643 SWIGINTERN PyObject 
*GridCellNumberEditor_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5645   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
5646   SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellNumberEditor
, SWIG_NewClientData(obj
)); 
5647   return SWIG_Py_Void(); 
5650 SWIGINTERN PyObject 
*GridCellNumberEditor_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5651   return SWIG_Python_InitShadowInstance(args
); 
5654 SWIGINTERN PyObject 
*_wrap_new_GridCellFloatEditor(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5655   PyObject 
*resultobj 
= 0; 
5656   int arg1 
= (int) -1 ; 
5657   int arg2 
= (int) -1 ; 
5658   wxGridCellFloatEditor 
*result 
= 0 ; 
5663   PyObject 
* obj0 
= 0 ; 
5664   PyObject 
* obj1 
= 0 ; 
5665   char *  kwnames
[] = { 
5666     (char *) "width",(char *) "precision", NULL 
 
5669   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellFloatEditor",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5671     ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
5672     if (!SWIG_IsOK(ecode1
)) { 
5673       SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridCellFloatEditor" "', expected argument " "1"" of type '" "int""'"); 
5675     arg1 
= static_cast< int >(val1
); 
5678     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
5679     if (!SWIG_IsOK(ecode2
)) { 
5680       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridCellFloatEditor" "', expected argument " "2"" of type '" "int""'"); 
5682     arg2 
= static_cast< int >(val2
); 
5685     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5686     result 
= (wxGridCellFloatEditor 
*)new wxGridCellFloatEditor(arg1
,arg2
); 
5687     wxPyEndAllowThreads(__tstate
); 
5688     if (PyErr_Occurred()) SWIG_fail
; 
5690   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellFloatEditor
, SWIG_POINTER_NEW 
|  0 ); 
5697 SWIGINTERN PyObject 
*GridCellFloatEditor_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5699   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
5700   SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellFloatEditor
, SWIG_NewClientData(obj
)); 
5701   return SWIG_Py_Void(); 
5704 SWIGINTERN PyObject 
*GridCellFloatEditor_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5705   return SWIG_Python_InitShadowInstance(args
); 
5708 SWIGINTERN 
int OneString_set(PyObject 
*) { 
5709   SWIG_Error(SWIG_AttributeError
,"Variable OneString is read-only."); 
5714 SWIGINTERN PyObject 
*OneString_get(void) { 
5715   PyObject 
*pyobj 
= 0; 
5719     pyobj 
= PyUnicode_FromWideChar((&wxPyOneString
)->c_str(), (&wxPyOneString
)->Len()); 
5721     pyobj 
= PyString_FromStringAndSize((&wxPyOneString
)->c_str(), (&wxPyOneString
)->Len()); 
5728 SWIGINTERN PyObject 
*_wrap_new_GridCellBoolEditor(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5729   PyObject 
*resultobj 
= 0; 
5730   wxGridCellBoolEditor 
*result 
= 0 ; 
5732   if (!SWIG_Python_UnpackTuple(args
,"new_GridCellBoolEditor",0,0,0)) SWIG_fail
; 
5734     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5735     result 
= (wxGridCellBoolEditor 
*)new wxGridCellBoolEditor(); 
5736     wxPyEndAllowThreads(__tstate
); 
5737     if (PyErr_Occurred()) SWIG_fail
; 
5739   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellBoolEditor
, SWIG_POINTER_NEW 
|  0 ); 
5746 SWIGINTERN PyObject 
*_wrap_GridCellBoolEditor_UseStringValues(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5747   PyObject 
*resultobj 
= 0; 
5748   wxString 
const &arg1_defvalue 
= wxPyOneString 
; 
5749   wxString 
*arg1 
= (wxString 
*) &arg1_defvalue 
; 
5750   wxString 
const &arg2_defvalue 
= wxPyEmptyString 
; 
5751   wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
5752   bool temp1 
= false ; 
5753   bool temp2 
= false ; 
5754   PyObject 
* obj0 
= 0 ; 
5755   PyObject 
* obj1 
= 0 ; 
5756   char *  kwnames
[] = { 
5757     (char *) "valueTrue",(char *) "valueFalse", NULL 
 
5760   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:GridCellBoolEditor_UseStringValues",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5763       arg1 
= wxString_in_helper(obj0
); 
5764       if (arg1 
== NULL
) SWIG_fail
; 
5770       arg2 
= wxString_in_helper(obj1
); 
5771       if (arg2 
== NULL
) SWIG_fail
; 
5776     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5777     wxGridCellBoolEditor::UseStringValues((wxString 
const &)*arg1
,(wxString 
const &)*arg2
); 
5778     wxPyEndAllowThreads(__tstate
); 
5779     if (PyErr_Occurred()) SWIG_fail
; 
5781   resultobj 
= SWIG_Py_Void(); 
5804 SWIGINTERN PyObject 
*_wrap_GridCellBoolEditor_IsTrueValue(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5805   PyObject 
*resultobj 
= 0; 
5806   wxString 
*arg1 
= 0 ; 
5808   bool temp1 
= false ; 
5809   PyObject 
* obj0 
= 0 ; 
5810   char *  kwnames
[] = { 
5811     (char *) "value", NULL 
 
5814   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellBoolEditor_IsTrueValue",kwnames
,&obj0
)) SWIG_fail
; 
5816     arg1 
= wxString_in_helper(obj0
); 
5817     if (arg1 
== NULL
) SWIG_fail
; 
5821     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5822     result 
= (bool)wxGridCellBoolEditor::IsTrueValue((wxString 
const &)*arg1
); 
5823     wxPyEndAllowThreads(__tstate
); 
5824     if (PyErr_Occurred()) SWIG_fail
; 
5827     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5843 SWIGINTERN PyObject 
*GridCellBoolEditor_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5845   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
5846   SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellBoolEditor
, SWIG_NewClientData(obj
)); 
5847   return SWIG_Py_Void(); 
5850 SWIGINTERN PyObject 
*GridCellBoolEditor_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5851   return SWIG_Python_InitShadowInstance(args
); 
5854 SWIGINTERN PyObject 
*_wrap_new_GridCellChoiceEditor(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5855   PyObject 
*resultobj 
= 0; 
5856   int arg1 
= (int) 0 ; 
5857   wxString 
*arg2 
= (wxString 
*) NULL 
; 
5858   bool arg3 
= (bool) false ; 
5859   wxGridCellChoiceEditor 
*result 
= 0 ; 
5862   PyObject 
* obj0 
= 0 ; 
5863   PyObject 
* obj1 
= 0 ; 
5864   char *  kwnames
[] = { 
5865     (char *) "choices",(char *) "allowOthers", NULL 
 
5868   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellChoiceEditor",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5871       arg1 
= PyList_Size(obj0
); 
5872       arg2 
= wxString_LIST_helper(obj0
); 
5873       if (arg2 
== NULL
) SWIG_fail
; 
5877     ecode3 
= SWIG_AsVal_bool(obj1
, &val3
); 
5878     if (!SWIG_IsOK(ecode3
)) { 
5879       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_GridCellChoiceEditor" "', expected argument " "3"" of type '" "bool""'"); 
5881     arg3 
= static_cast< bool >(val3
); 
5884     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5885     result 
= (wxGridCellChoiceEditor 
*)new wxGridCellChoiceEditor(arg1
,(wxString 
const *)arg2
,arg3
); 
5886     wxPyEndAllowThreads(__tstate
); 
5887     if (PyErr_Occurred()) SWIG_fail
; 
5889   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellChoiceEditor
, SWIG_POINTER_NEW 
|  0 ); 
5891     if (arg2
) delete [] arg2
; 
5896     if (arg2
) delete [] arg2
; 
5902 SWIGINTERN PyObject 
*GridCellChoiceEditor_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5904   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
5905   SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellChoiceEditor
, SWIG_NewClientData(obj
)); 
5906   return SWIG_Py_Void(); 
5909 SWIGINTERN PyObject 
*GridCellChoiceEditor_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5910   return SWIG_Python_InitShadowInstance(args
); 
5913 SWIGINTERN PyObject 
*_wrap_new_GridCellEnumEditor(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5914   PyObject 
*resultobj 
= 0; 
5915   wxString 
const &arg1_defvalue 
= wxPyEmptyString 
; 
5916   wxString 
*arg1 
= (wxString 
*) &arg1_defvalue 
; 
5917   wxGridCellEnumEditor 
*result 
= 0 ; 
5918   bool temp1 
= false ; 
5919   PyObject 
* obj0 
= 0 ; 
5920   char *  kwnames
[] = { 
5921     (char *) "choices", NULL 
 
5924   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellEnumEditor",kwnames
,&obj0
)) SWIG_fail
; 
5927       arg1 
= wxString_in_helper(obj0
); 
5928       if (arg1 
== NULL
) SWIG_fail
; 
5933     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5934     result 
= (wxGridCellEnumEditor 
*)new wxGridCellEnumEditor((wxString 
const &)*arg1
); 
5935     wxPyEndAllowThreads(__tstate
); 
5936     if (PyErr_Occurred()) SWIG_fail
; 
5938   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellEnumEditor
, SWIG_POINTER_NEW 
|  0 ); 
5953 SWIGINTERN PyObject 
*GridCellEnumEditor_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5955   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
5956   SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellEnumEditor
, SWIG_NewClientData(obj
)); 
5957   return SWIG_Py_Void(); 
5960 SWIGINTERN PyObject 
*GridCellEnumEditor_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5961   return SWIG_Python_InitShadowInstance(args
); 
5964 SWIGINTERN PyObject 
*_wrap_new_GridCellAutoWrapStringEditor(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5965   PyObject 
*resultobj 
= 0; 
5966   wxGridCellAutoWrapStringEditor 
*result 
= 0 ; 
5968   if (!SWIG_Python_UnpackTuple(args
,"new_GridCellAutoWrapStringEditor",0,0,0)) SWIG_fail
; 
5970     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5971     result 
= (wxGridCellAutoWrapStringEditor 
*)new wxGridCellAutoWrapStringEditor(); 
5972     wxPyEndAllowThreads(__tstate
); 
5973     if (PyErr_Occurred()) SWIG_fail
; 
5975   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, SWIG_POINTER_NEW 
|  0 ); 
5982 SWIGINTERN PyObject 
*GridCellAutoWrapStringEditor_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5984   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
5985   SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, SWIG_NewClientData(obj
)); 
5986   return SWIG_Py_Void(); 
5989 SWIGINTERN PyObject 
*GridCellAutoWrapStringEditor_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5990   return SWIG_Python_InitShadowInstance(args
); 
5993 SWIGINTERN PyObject 
*_wrap_GridCellAttr__setOORInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5994   PyObject 
*resultobj 
= 0; 
5995   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
5996   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
5999   PyObject 
* obj0 
= 0 ; 
6000   PyObject 
* obj1 
= 0 ; 
6001   char *  kwnames
[] = { 
6002     (char *) "self",(char *) "_self", NULL 
 
6005   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr__setOORInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6006   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
6007   if (!SWIG_IsOK(res1
)) { 
6008     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr__setOORInfo" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");  
6010   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
6013     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6014     wxGridCellAttr__setOORInfo(arg1
,arg2
); 
6015     wxPyEndAllowThreads(__tstate
); 
6016     if (PyErr_Occurred()) SWIG_fail
; 
6018   resultobj 
= SWIG_Py_Void(); 
6025 SWIGINTERN PyObject 
*_wrap_new_GridCellAttr(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6026   PyObject 
*resultobj 
= 0; 
6027   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) NULL 
; 
6028   wxGridCellAttr 
*result 
= 0 ; 
6031   PyObject 
* obj0 
= 0 ; 
6032   char *  kwnames
[] = { 
6033     (char *) "attrDefault", NULL 
 
6036   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellAttr",kwnames
,&obj0
)) SWIG_fail
; 
6038     res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
6039     if (!SWIG_IsOK(res1
)) { 
6040       SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GridCellAttr" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");  
6042     arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
6045     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6046     result 
= (wxGridCellAttr 
*)new wxGridCellAttr(arg1
); 
6047     wxPyEndAllowThreads(__tstate
); 
6048     if (PyErr_Occurred()) SWIG_fail
; 
6051     resultobj 
= wxPyMake_wxGridCellAttr(result
,     (bool)SWIG_POINTER_NEW
);  
6059 SWIGINTERN PyObject 
*_wrap_delete_GridCellAttr(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6060   PyObject 
*resultobj 
= 0; 
6061   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
6064   PyObject 
*swig_obj
[1] ; 
6066   if (!args
) SWIG_fail
; 
6068   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_DISOWN 
|  0 ); 
6069   if (!SWIG_IsOK(res1
)) { 
6070     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GridCellAttr" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");  
6072   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
6074     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6075     delete_wxGridCellAttr(arg1
); 
6077     wxPyEndAllowThreads(__tstate
); 
6078     if (PyErr_Occurred()) SWIG_fail
; 
6080   resultobj 
= SWIG_Py_Void(); 
6087 SWIGINTERN PyObject 
*_wrap_GridCellAttr_Clone(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6088   PyObject 
*resultobj 
= 0; 
6089   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
6090   wxGridCellAttr 
*result 
= 0 ; 
6093   PyObject 
*swig_obj
[1] ; 
6095   if (!args
) SWIG_fail
; 
6097   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
6098   if (!SWIG_IsOK(res1
)) { 
6099     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_Clone" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");  
6101   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
6103     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6104     result 
= (wxGridCellAttr 
*)((wxGridCellAttr 
const *)arg1
)->Clone(); 
6105     wxPyEndAllowThreads(__tstate
); 
6106     if (PyErr_Occurred()) SWIG_fail
; 
6109     resultobj 
= wxPyMake_wxGridCellAttr(result
,     (bool)0);  
6117 SWIGINTERN PyObject 
*_wrap_GridCellAttr_MergeWith(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6118   PyObject 
*resultobj 
= 0; 
6119   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
6120   wxGridCellAttr 
*arg2 
= (wxGridCellAttr 
*) 0 ; 
6125   PyObject 
* obj0 
= 0 ; 
6126   PyObject 
* obj1 
= 0 ; 
6127   char *  kwnames
[] = { 
6128     (char *) "self",(char *) "mergefrom", NULL 
 
6131   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_MergeWith",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6132   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
6133   if (!SWIG_IsOK(res1
)) { 
6134     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_MergeWith" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");  
6136   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
6137   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
6138   if (!SWIG_IsOK(res2
)) { 
6139     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttr_MergeWith" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");  
6141   arg2 
= reinterpret_cast< wxGridCellAttr 
* >(argp2
); 
6143     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6144     (arg1
)->MergeWith(arg2
); 
6145     wxPyEndAllowThreads(__tstate
); 
6146     if (PyErr_Occurred()) SWIG_fail
; 
6148   resultobj 
= SWIG_Py_Void(); 
6155 SWIGINTERN PyObject 
*_wrap_GridCellAttr_IncRef(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6156   PyObject 
*resultobj 
= 0; 
6157   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
6160   PyObject 
*swig_obj
[1] ; 
6162   if (!args
) SWIG_fail
; 
6164   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
6165   if (!SWIG_IsOK(res1
)) { 
6166     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_IncRef" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");  
6168   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
6170     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6172     wxPyEndAllowThreads(__tstate
); 
6173     if (PyErr_Occurred()) SWIG_fail
; 
6175   resultobj 
= SWIG_Py_Void(); 
6182 SWIGINTERN PyObject 
*_wrap_GridCellAttr_DecRef(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6183   PyObject 
*resultobj 
= 0; 
6184   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
6187   PyObject 
*swig_obj
[1] ; 
6189   if (!args
) SWIG_fail
; 
6191   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
6192   if (!SWIG_IsOK(res1
)) { 
6193     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_DecRef" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");  
6195   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
6197     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6199     wxPyEndAllowThreads(__tstate
); 
6200     if (PyErr_Occurred()) SWIG_fail
; 
6202   resultobj 
= SWIG_Py_Void(); 
6209 SWIGINTERN PyObject 
*_wrap_GridCellAttr_SetTextColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6210   PyObject 
*resultobj 
= 0; 
6211   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
6212   wxColour 
*arg2 
= 0 ; 
6216   PyObject 
* obj0 
= 0 ; 
6217   PyObject 
* obj1 
= 0 ; 
6218   char *  kwnames
[] = { 
6219     (char *) "self",(char *) "colText", NULL 
 
6222   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6223   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
6224   if (!SWIG_IsOK(res1
)) { 
6225     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetTextColour" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");  
6227   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
6230     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
6233     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6234     (arg1
)->SetTextColour((wxColour 
const &)*arg2
); 
6235     wxPyEndAllowThreads(__tstate
); 
6236     if (PyErr_Occurred()) SWIG_fail
; 
6238   resultobj 
= SWIG_Py_Void(); 
6245 SWIGINTERN PyObject 
*_wrap_GridCellAttr_SetBackgroundColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6246   PyObject 
*resultobj 
= 0; 
6247   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
6248   wxColour 
*arg2 
= 0 ; 
6252   PyObject 
* obj0 
= 0 ; 
6253   PyObject 
* obj1 
= 0 ; 
6254   char *  kwnames
[] = { 
6255     (char *) "self",(char *) "colBack", NULL 
 
6258   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6259   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
6260   if (!SWIG_IsOK(res1
)) { 
6261     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");  
6263   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
6266     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
6269     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6270     (arg1
)->SetBackgroundColour((wxColour 
const &)*arg2
); 
6271     wxPyEndAllowThreads(__tstate
); 
6272     if (PyErr_Occurred()) SWIG_fail
; 
6274   resultobj 
= SWIG_Py_Void(); 
6281 SWIGINTERN PyObject 
*_wrap_GridCellAttr_SetFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6282   PyObject 
*resultobj 
= 0; 
6283   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
6289   PyObject 
* obj0 
= 0 ; 
6290   PyObject 
* obj1 
= 0 ; 
6291   char *  kwnames
[] = { 
6292     (char *) "self",(char *) "font", NULL 
 
6295   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6296   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
6297   if (!SWIG_IsOK(res1
)) { 
6298     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetFont" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");  
6300   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
6301   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
,  0  | 0); 
6302   if (!SWIG_IsOK(res2
)) { 
6303     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");  
6306     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GridCellAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");  
6308   arg2 
= reinterpret_cast< wxFont 
* >(argp2
); 
6310     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6311     (arg1
)->SetFont((wxFont 
const &)*arg2
); 
6312     wxPyEndAllowThreads(__tstate
); 
6313     if (PyErr_Occurred()) SWIG_fail
; 
6315   resultobj 
= SWIG_Py_Void(); 
6322 SWIGINTERN PyObject 
*_wrap_GridCellAttr_SetAlignment(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6323   PyObject 
*resultobj 
= 0; 
6324   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
6333   PyObject 
* obj0 
= 0 ; 
6334   PyObject 
* obj1 
= 0 ; 
6335   PyObject 
* obj2 
= 0 ; 
6336   char *  kwnames
[] = { 
6337     (char *) "self",(char *) "hAlign",(char *) "vAlign", NULL 
 
6340   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttr_SetAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
6341   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
6342   if (!SWIG_IsOK(res1
)) { 
6343     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetAlignment" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");  
6345   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
6346   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
6347   if (!SWIG_IsOK(ecode2
)) { 
6348     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellAttr_SetAlignment" "', expected argument " "2"" of type '" "int""'"); 
6350   arg2 
= static_cast< int >(val2
); 
6351   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
6352   if (!SWIG_IsOK(ecode3
)) { 
6353     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttr_SetAlignment" "', expected argument " "3"" of type '" "int""'"); 
6355   arg3 
= static_cast< int >(val3
); 
6357     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6358     (arg1
)->SetAlignment(arg2
,arg3
); 
6359     wxPyEndAllowThreads(__tstate
); 
6360     if (PyErr_Occurred()) SWIG_fail
; 
6362   resultobj 
= SWIG_Py_Void(); 
6369 SWIGINTERN PyObject 
*_wrap_GridCellAttr_SetSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6370   PyObject 
*resultobj 
= 0; 
6371   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
6380   PyObject 
* obj0 
= 0 ; 
6381   PyObject 
* obj1 
= 0 ; 
6382   PyObject 
* obj2 
= 0 ; 
6383   char *  kwnames
[] = { 
6384     (char *) "self",(char *) "num_rows",(char *) "num_cols", NULL 
 
6387   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttr_SetSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
6388   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
6389   if (!SWIG_IsOK(res1
)) { 
6390     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetSize" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");  
6392   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
6393   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
6394   if (!SWIG_IsOK(ecode2
)) { 
6395     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellAttr_SetSize" "', expected argument " "2"" of type '" "int""'"); 
6397   arg2 
= static_cast< int >(val2
); 
6398   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
6399   if (!SWIG_IsOK(ecode3
)) { 
6400     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttr_SetSize" "', expected argument " "3"" of type '" "int""'"); 
6402   arg3 
= static_cast< int >(val3
); 
6404     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6405     (arg1
)->SetSize(arg2
,arg3
); 
6406     wxPyEndAllowThreads(__tstate
); 
6407     if (PyErr_Occurred()) SWIG_fail
; 
6409   resultobj 
= SWIG_Py_Void(); 
6416 SWIGINTERN PyObject 
*_wrap_GridCellAttr_SetOverflow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6417   PyObject 
*resultobj 
= 0; 
6418   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
6419   bool arg2 
= (bool) true ; 
6424   PyObject 
* obj0 
= 0 ; 
6425   PyObject 
* obj1 
= 0 ; 
6426   char *  kwnames
[] = { 
6427     (char *) "self",(char *) "allow", NULL 
 
6430   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridCellAttr_SetOverflow",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6431   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
6432   if (!SWIG_IsOK(res1
)) { 
6433     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetOverflow" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");  
6435   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
6437     ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
6438     if (!SWIG_IsOK(ecode2
)) { 
6439       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellAttr_SetOverflow" "', expected argument " "2"" of type '" "bool""'"); 
6441     arg2 
= static_cast< bool >(val2
); 
6444     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6445     (arg1
)->SetOverflow(arg2
); 
6446     wxPyEndAllowThreads(__tstate
); 
6447     if (PyErr_Occurred()) SWIG_fail
; 
6449   resultobj 
= SWIG_Py_Void(); 
6456 SWIGINTERN PyObject 
*_wrap_GridCellAttr_SetReadOnly(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6457   PyObject 
*resultobj 
= 0; 
6458   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
6459   bool arg2 
= (bool) true ; 
6464   PyObject 
* obj0 
= 0 ; 
6465   PyObject 
* obj1 
= 0 ; 
6466   char *  kwnames
[] = { 
6467     (char *) "self",(char *) "isReadOnly", NULL 
 
6470   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridCellAttr_SetReadOnly",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6471   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
6472   if (!SWIG_IsOK(res1
)) { 
6473     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetReadOnly" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");  
6475   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
6477     ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
6478     if (!SWIG_IsOK(ecode2
)) { 
6479       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellAttr_SetReadOnly" "', expected argument " "2"" of type '" "bool""'"); 
6481     arg2 
= static_cast< bool >(val2
); 
6484     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6485     (arg1
)->SetReadOnly(arg2
); 
6486     wxPyEndAllowThreads(__tstate
); 
6487     if (PyErr_Occurred()) SWIG_fail
; 
6489   resultobj 
= SWIG_Py_Void(); 
6496 SWIGINTERN PyObject 
*_wrap_GridCellAttr_SetRenderer(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6497   PyObject 
*resultobj 
= 0; 
6498   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
6499   wxGridCellRenderer 
*arg2 
= (wxGridCellRenderer 
*) 0 ; 
6504   PyObject 
* obj0 
= 0 ; 
6505   PyObject 
* obj1 
= 0 ; 
6506   char *  kwnames
[] = { 
6507     (char *) "self",(char *) "renderer", NULL 
 
6510   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetRenderer",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6511   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
6512   if (!SWIG_IsOK(res1
)) { 
6513     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetRenderer" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");  
6515   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
6516   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellRenderer
, 0 |  0 ); 
6517   if (!SWIG_IsOK(res2
)) { 
6518     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttr_SetRenderer" "', expected argument " "2"" of type '" "wxGridCellRenderer *""'");  
6520   arg2 
= reinterpret_cast< wxGridCellRenderer 
* >(argp2
); 
6522     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6523     (arg1
)->SetRenderer(arg2
); 
6524     wxPyEndAllowThreads(__tstate
); 
6525     if (PyErr_Occurred()) SWIG_fail
; 
6527   resultobj 
= SWIG_Py_Void(); 
6534 SWIGINTERN PyObject 
*_wrap_GridCellAttr_SetEditor(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6535   PyObject 
*resultobj 
= 0; 
6536   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
6537   wxGridCellEditor 
*arg2 
= (wxGridCellEditor 
*) 0 ; 
6542   PyObject 
* obj0 
= 0 ; 
6543   PyObject 
* obj1 
= 0 ; 
6544   char *  kwnames
[] = { 
6545     (char *) "self",(char *) "editor", NULL 
 
6548   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetEditor",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6549   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
6550   if (!SWIG_IsOK(res1
)) { 
6551     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetEditor" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");  
6553   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
6554   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellEditor
, 0 |  0 ); 
6555   if (!SWIG_IsOK(res2
)) { 
6556     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttr_SetEditor" "', expected argument " "2"" of type '" "wxGridCellEditor *""'");  
6558   arg2 
= reinterpret_cast< wxGridCellEditor 
* >(argp2
); 
6560     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6561     (arg1
)->SetEditor(arg2
); 
6562     wxPyEndAllowThreads(__tstate
); 
6563     if (PyErr_Occurred()) SWIG_fail
; 
6565   resultobj 
= SWIG_Py_Void(); 
6572 SWIGINTERN PyObject 
*_wrap_GridCellAttr_SetKind(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6573   PyObject 
*resultobj 
= 0; 
6574   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
6575   wxGridCellAttr::wxAttrKind arg2 
; 
6580   PyObject 
* obj0 
= 0 ; 
6581   PyObject 
* obj1 
= 0 ; 
6582   char *  kwnames
[] = { 
6583     (char *) "self",(char *) "kind", NULL 
 
6586   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetKind",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6587   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
6588   if (!SWIG_IsOK(res1
)) { 
6589     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetKind" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");  
6591   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
6592   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
6593   if (!SWIG_IsOK(ecode2
)) { 
6594     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellAttr_SetKind" "', expected argument " "2"" of type '" "wxGridCellAttr::wxAttrKind""'"); 
6596   arg2 
= static_cast< wxGridCellAttr::wxAttrKind 
>(val2
); 
6598     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6599     (arg1
)->SetKind(arg2
); 
6600     wxPyEndAllowThreads(__tstate
); 
6601     if (PyErr_Occurred()) SWIG_fail
; 
6603   resultobj 
= SWIG_Py_Void(); 
6610 SWIGINTERN PyObject 
*_wrap_GridCellAttr_HasTextColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6611   PyObject 
*resultobj 
= 0; 
6612   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
6616   PyObject 
*swig_obj
[1] ; 
6618   if (!args
) SWIG_fail
; 
6620   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
6621   if (!SWIG_IsOK(res1
)) { 
6622     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_HasTextColour" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");  
6624   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
6626     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6627     result 
= (bool)((wxGridCellAttr 
const *)arg1
)->HasTextColour(); 
6628     wxPyEndAllowThreads(__tstate
); 
6629     if (PyErr_Occurred()) SWIG_fail
; 
6632     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6640 SWIGINTERN PyObject 
*_wrap_GridCellAttr_HasBackgroundColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6641   PyObject 
*resultobj 
= 0; 
6642   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
6646   PyObject 
*swig_obj
[1] ; 
6648   if (!args
) SWIG_fail
; 
6650   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
6651   if (!SWIG_IsOK(res1
)) { 
6652     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");  
6654   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
6656     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6657     result 
= (bool)((wxGridCellAttr 
const *)arg1
)->HasBackgroundColour(); 
6658     wxPyEndAllowThreads(__tstate
); 
6659     if (PyErr_Occurred()) SWIG_fail
; 
6662     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6670 SWIGINTERN PyObject 
*_wrap_GridCellAttr_HasFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6671   PyObject 
*resultobj 
= 0; 
6672   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
6676   PyObject 
*swig_obj
[1] ; 
6678   if (!args
) SWIG_fail
; 
6680   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
6681   if (!SWIG_IsOK(res1
)) { 
6682     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_HasFont" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");  
6684   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
6686     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6687     result 
= (bool)((wxGridCellAttr 
const *)arg1
)->HasFont(); 
6688     wxPyEndAllowThreads(__tstate
); 
6689     if (PyErr_Occurred()) SWIG_fail
; 
6692     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6700 SWIGINTERN PyObject 
*_wrap_GridCellAttr_HasAlignment(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6701   PyObject 
*resultobj 
= 0; 
6702   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
6706   PyObject 
*swig_obj
[1] ; 
6708   if (!args
) SWIG_fail
; 
6710   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
6711   if (!SWIG_IsOK(res1
)) { 
6712     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_HasAlignment" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");  
6714   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
6716     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6717     result 
= (bool)((wxGridCellAttr 
const *)arg1
)->HasAlignment(); 
6718     wxPyEndAllowThreads(__tstate
); 
6719     if (PyErr_Occurred()) SWIG_fail
; 
6722     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6730 SWIGINTERN PyObject 
*_wrap_GridCellAttr_HasRenderer(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6731   PyObject 
*resultobj 
= 0; 
6732   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
6736   PyObject 
*swig_obj
[1] ; 
6738   if (!args
) SWIG_fail
; 
6740   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
6741   if (!SWIG_IsOK(res1
)) { 
6742     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_HasRenderer" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");  
6744   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
6746     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6747     result 
= (bool)((wxGridCellAttr 
const *)arg1
)->HasRenderer(); 
6748     wxPyEndAllowThreads(__tstate
); 
6749     if (PyErr_Occurred()) SWIG_fail
; 
6752     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6760 SWIGINTERN PyObject 
*_wrap_GridCellAttr_HasEditor(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6761   PyObject 
*resultobj 
= 0; 
6762   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
6766   PyObject 
*swig_obj
[1] ; 
6768   if (!args
) SWIG_fail
; 
6770   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
6771   if (!SWIG_IsOK(res1
)) { 
6772     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_HasEditor" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");  
6774   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
6776     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6777     result 
= (bool)((wxGridCellAttr 
const *)arg1
)->HasEditor(); 
6778     wxPyEndAllowThreads(__tstate
); 
6779     if (PyErr_Occurred()) SWIG_fail
; 
6782     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6790 SWIGINTERN PyObject 
*_wrap_GridCellAttr_HasReadWriteMode(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6791   PyObject 
*resultobj 
= 0; 
6792   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
6796   PyObject 
*swig_obj
[1] ; 
6798   if (!args
) SWIG_fail
; 
6800   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
6801   if (!SWIG_IsOK(res1
)) { 
6802     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_HasReadWriteMode" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");  
6804   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
6806     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6807     result 
= (bool)((wxGridCellAttr 
const *)arg1
)->HasReadWriteMode(); 
6808     wxPyEndAllowThreads(__tstate
); 
6809     if (PyErr_Occurred()) SWIG_fail
; 
6812     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6820 SWIGINTERN PyObject 
*_wrap_GridCellAttr_HasOverflowMode(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6821   PyObject 
*resultobj 
= 0; 
6822   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
6826   PyObject 
*swig_obj
[1] ; 
6828   if (!args
) SWIG_fail
; 
6830   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
6831   if (!SWIG_IsOK(res1
)) { 
6832     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_HasOverflowMode" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");  
6834   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
6836     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6837     result 
= (bool)((wxGridCellAttr 
const *)arg1
)->HasOverflowMode(); 
6838     wxPyEndAllowThreads(__tstate
); 
6839     if (PyErr_Occurred()) SWIG_fail
; 
6842     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6850 SWIGINTERN PyObject 
*_wrap_GridCellAttr_GetTextColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6851   PyObject 
*resultobj 
= 0; 
6852   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
6856   PyObject 
*swig_obj
[1] ; 
6858   if (!args
) SWIG_fail
; 
6860   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
6861   if (!SWIG_IsOK(res1
)) { 
6862     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetTextColour" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");  
6864   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
6866     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6867     result 
= ((wxGridCellAttr 
const *)arg1
)->GetTextColour(); 
6868     wxPyEndAllowThreads(__tstate
); 
6869     if (PyErr_Occurred()) SWIG_fail
; 
6871   resultobj 
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN 
|  0 ); 
6878 SWIGINTERN PyObject 
*_wrap_GridCellAttr_GetBackgroundColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6879   PyObject 
*resultobj 
= 0; 
6880   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
6884   PyObject 
*swig_obj
[1] ; 
6886   if (!args
) SWIG_fail
; 
6888   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
6889   if (!SWIG_IsOK(res1
)) { 
6890     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");  
6892   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
6894     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6895     result 
= ((wxGridCellAttr 
const *)arg1
)->GetBackgroundColour(); 
6896     wxPyEndAllowThreads(__tstate
); 
6897     if (PyErr_Occurred()) SWIG_fail
; 
6899   resultobj 
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN 
|  0 ); 
6906 SWIGINTERN PyObject 
*_wrap_GridCellAttr_GetFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6907   PyObject 
*resultobj 
= 0; 
6908   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
6912   PyObject 
*swig_obj
[1] ; 
6914   if (!args
) SWIG_fail
; 
6916   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
6917   if (!SWIG_IsOK(res1
)) { 
6918     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetFont" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");  
6920   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
6922     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6923     result 
= ((wxGridCellAttr 
const *)arg1
)->GetFont(); 
6924     wxPyEndAllowThreads(__tstate
); 
6925     if (PyErr_Occurred()) SWIG_fail
; 
6927   resultobj 
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN 
|  0 ); 
6934 SWIGINTERN PyObject 
*_wrap_GridCellAttr_GetAlignment(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6935   PyObject 
*resultobj 
= 0; 
6936   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
6937   int *arg2 
= (int *) 0 ; 
6938   int *arg3 
= (int *) 0 ; 
6942   int res2 
= SWIG_TMPOBJ 
; 
6944   int res3 
= SWIG_TMPOBJ 
; 
6945   PyObject 
*swig_obj
[1] ; 
6949   if (!args
) SWIG_fail
; 
6951   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
6952   if (!SWIG_IsOK(res1
)) { 
6953     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetAlignment" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");  
6955   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
6957     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6958     ((wxGridCellAttr 
const *)arg1
)->GetAlignment(arg2
,arg3
); 
6959     wxPyEndAllowThreads(__tstate
); 
6960     if (PyErr_Occurred()) SWIG_fail
; 
6962   resultobj 
= SWIG_Py_Void(); 
6963   if (SWIG_IsTmpObj(res2
)) { 
6964     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
6966     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
6967     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
6969   if (SWIG_IsTmpObj(res3
)) { 
6970     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
6972     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
6973     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
6981 SWIGINTERN PyObject 
*_wrap_GridCellAttr_GetSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6982   PyObject 
*resultobj 
= 0; 
6983   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
6984   int *arg2 
= (int *) 0 ; 
6985   int *arg3 
= (int *) 0 ; 
6989   int res2 
= SWIG_TMPOBJ 
; 
6991   int res3 
= SWIG_TMPOBJ 
; 
6992   PyObject 
*swig_obj
[1] ; 
6996   if (!args
) SWIG_fail
; 
6998   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
6999   if (!SWIG_IsOK(res1
)) { 
7000     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetSize" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");  
7002   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
7004     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7005     ((wxGridCellAttr 
const *)arg1
)->GetSize(arg2
,arg3
); 
7006     wxPyEndAllowThreads(__tstate
); 
7007     if (PyErr_Occurred()) SWIG_fail
; 
7009   resultobj 
= SWIG_Py_Void(); 
7010   if (SWIG_IsTmpObj(res2
)) { 
7011     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
7013     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
7014     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
7016   if (SWIG_IsTmpObj(res3
)) { 
7017     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
7019     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
7020     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
7028 SWIGINTERN PyObject 
*_wrap_GridCellAttr_GetOverflow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7029   PyObject 
*resultobj 
= 0; 
7030   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
7034   PyObject 
*swig_obj
[1] ; 
7036   if (!args
) SWIG_fail
; 
7038   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
7039   if (!SWIG_IsOK(res1
)) { 
7040     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetOverflow" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");  
7042   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
7044     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7045     result 
= (bool)((wxGridCellAttr 
const *)arg1
)->GetOverflow(); 
7046     wxPyEndAllowThreads(__tstate
); 
7047     if (PyErr_Occurred()) SWIG_fail
; 
7050     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7058 SWIGINTERN PyObject 
*_wrap_GridCellAttr_GetRenderer(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7059   PyObject 
*resultobj 
= 0; 
7060   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
7061   wxGrid 
*arg2 
= (wxGrid 
*) 0 ; 
7064   wxGridCellRenderer 
*result 
= 0 ; 
7073   PyObject 
* obj0 
= 0 ; 
7074   PyObject 
* obj1 
= 0 ; 
7075   PyObject 
* obj2 
= 0 ; 
7076   PyObject 
* obj3 
= 0 ; 
7077   char *  kwnames
[] = { 
7078     (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL 
 
7081   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttr_GetRenderer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
7082   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
7083   if (!SWIG_IsOK(res1
)) { 
7084     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetRenderer" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");  
7086   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
7087   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
7088   if (!SWIG_IsOK(res2
)) { 
7089     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttr_GetRenderer" "', expected argument " "2"" of type '" "wxGrid *""'");  
7091   arg2 
= reinterpret_cast< wxGrid 
* >(argp2
); 
7092   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
7093   if (!SWIG_IsOK(ecode3
)) { 
7094     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttr_GetRenderer" "', expected argument " "3"" of type '" "int""'"); 
7096   arg3 
= static_cast< int >(val3
); 
7097   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
7098   if (!SWIG_IsOK(ecode4
)) { 
7099     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridCellAttr_GetRenderer" "', expected argument " "4"" of type '" "int""'"); 
7101   arg4 
= static_cast< int >(val4
); 
7103     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7104     result 
= (wxGridCellRenderer 
*)((wxGridCellAttr 
const *)arg1
)->GetRenderer(arg2
,arg3
,arg4
); 
7105     wxPyEndAllowThreads(__tstate
); 
7106     if (PyErr_Occurred()) SWIG_fail
; 
7109     resultobj 
= wxPyMake_wxGridCellRenderer(result
, (bool)0);  
7117 SWIGINTERN PyObject 
*_wrap_GridCellAttr_GetEditor(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7118   PyObject 
*resultobj 
= 0; 
7119   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
7120   wxGrid 
*arg2 
= (wxGrid 
*) 0 ; 
7123   wxGridCellEditor 
*result 
= 0 ; 
7132   PyObject 
* obj0 
= 0 ; 
7133   PyObject 
* obj1 
= 0 ; 
7134   PyObject 
* obj2 
= 0 ; 
7135   PyObject 
* obj3 
= 0 ; 
7136   char *  kwnames
[] = { 
7137     (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL 
 
7140   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttr_GetEditor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
7141   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
7142   if (!SWIG_IsOK(res1
)) { 
7143     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetEditor" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");  
7145   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
7146   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
7147   if (!SWIG_IsOK(res2
)) { 
7148     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttr_GetEditor" "', expected argument " "2"" of type '" "wxGrid *""'");  
7150   arg2 
= reinterpret_cast< wxGrid 
* >(argp2
); 
7151   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
7152   if (!SWIG_IsOK(ecode3
)) { 
7153     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttr_GetEditor" "', expected argument " "3"" of type '" "int""'"); 
7155   arg3 
= static_cast< int >(val3
); 
7156   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
7157   if (!SWIG_IsOK(ecode4
)) { 
7158     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridCellAttr_GetEditor" "', expected argument " "4"" of type '" "int""'"); 
7160   arg4 
= static_cast< int >(val4
); 
7162     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7163     result 
= (wxGridCellEditor 
*)((wxGridCellAttr 
const *)arg1
)->GetEditor(arg2
,arg3
,arg4
); 
7164     wxPyEndAllowThreads(__tstate
); 
7165     if (PyErr_Occurred()) SWIG_fail
; 
7168     resultobj 
= wxPyMake_wxGridCellEditor(result
,   (bool)0);  
7176 SWIGINTERN PyObject 
*_wrap_GridCellAttr_IsReadOnly(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7177   PyObject 
*resultobj 
= 0; 
7178   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
7182   PyObject 
*swig_obj
[1] ; 
7184   if (!args
) SWIG_fail
; 
7186   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
7187   if (!SWIG_IsOK(res1
)) { 
7188     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_IsReadOnly" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");  
7190   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
7192     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7193     result 
= (bool)((wxGridCellAttr 
const *)arg1
)->IsReadOnly(); 
7194     wxPyEndAllowThreads(__tstate
); 
7195     if (PyErr_Occurred()) SWIG_fail
; 
7198     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7206 SWIGINTERN PyObject 
*_wrap_GridCellAttr_GetKind(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7207   PyObject 
*resultobj 
= 0; 
7208   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
7209   wxGridCellAttr::wxAttrKind result
; 
7212   PyObject 
*swig_obj
[1] ; 
7214   if (!args
) SWIG_fail
; 
7216   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
7217   if (!SWIG_IsOK(res1
)) { 
7218     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetKind" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");  
7220   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
7222     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7223     result 
= (wxGridCellAttr::wxAttrKind
)(arg1
)->GetKind(); 
7224     wxPyEndAllowThreads(__tstate
); 
7225     if (PyErr_Occurred()) SWIG_fail
; 
7227   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
7234 SWIGINTERN PyObject 
*_wrap_GridCellAttr_SetDefAttr(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7235   PyObject 
*resultobj 
= 0; 
7236   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
7237   wxGridCellAttr 
*arg2 
= (wxGridCellAttr 
*) 0 ; 
7242   PyObject 
* obj0 
= 0 ; 
7243   PyObject 
* obj1 
= 0 ; 
7244   char *  kwnames
[] = { 
7245     (char *) "self",(char *) "defAttr", NULL 
 
7248   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetDefAttr",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7249   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
7250   if (!SWIG_IsOK(res1
)) { 
7251     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetDefAttr" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");  
7253   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
7254   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
7255   if (!SWIG_IsOK(res2
)) { 
7256     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttr_SetDefAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");  
7258   arg2 
= reinterpret_cast< wxGridCellAttr 
* >(argp2
); 
7260     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7261     (arg1
)->SetDefAttr(arg2
); 
7262     wxPyEndAllowThreads(__tstate
); 
7263     if (PyErr_Occurred()) SWIG_fail
; 
7265   resultobj 
= SWIG_Py_Void(); 
7272 SWIGINTERN PyObject 
*GridCellAttr_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7274   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
7275   SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellAttr
, SWIG_NewClientData(obj
)); 
7276   return SWIG_Py_Void(); 
7279 SWIGINTERN PyObject 
*GridCellAttr_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7280   return SWIG_Python_InitShadowInstance(args
); 
7283 SWIGINTERN PyObject 
*_wrap_new_GridCellAttrProvider(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7284   PyObject 
*resultobj 
= 0; 
7285   wxGridCellAttrProvider 
*result 
= 0 ; 
7287   if (!SWIG_Python_UnpackTuple(args
,"new_GridCellAttrProvider",0,0,0)) SWIG_fail
; 
7289     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7290     result 
= (wxGridCellAttrProvider 
*)new wxGridCellAttrProvider(); 
7291     wxPyEndAllowThreads(__tstate
); 
7292     if (PyErr_Occurred()) SWIG_fail
; 
7295     resultobj 
= wxPyMake_wxGridCellAttrProvider(result
, (bool)SWIG_POINTER_NEW
);  
7303 SWIGINTERN PyObject 
*_wrap_GridCellAttrProvider__setOORInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7304   PyObject 
*resultobj 
= 0; 
7305   wxGridCellAttrProvider 
*arg1 
= (wxGridCellAttrProvider 
*) 0 ; 
7306   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
7309   PyObject 
* obj0 
= 0 ; 
7310   PyObject 
* obj1 
= 0 ; 
7311   char *  kwnames
[] = { 
7312     (char *) "self",(char *) "_self", NULL 
 
7315   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttrProvider__setOORInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7316   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttrProvider
, 0 |  0 ); 
7317   if (!SWIG_IsOK(res1
)) { 
7318     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttrProvider__setOORInfo" "', expected argument " "1"" of type '" "wxGridCellAttrProvider *""'");  
7320   arg1 
= reinterpret_cast< wxGridCellAttrProvider 
* >(argp1
); 
7323     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7324     wxGridCellAttrProvider__setOORInfo(arg1
,arg2
); 
7325     wxPyEndAllowThreads(__tstate
); 
7326     if (PyErr_Occurred()) SWIG_fail
; 
7328   resultobj 
= SWIG_Py_Void(); 
7335 SWIGINTERN PyObject 
*_wrap_GridCellAttrProvider_GetAttr(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7336   PyObject 
*resultobj 
= 0; 
7337   wxGridCellAttrProvider 
*arg1 
= (wxGridCellAttrProvider 
*) 0 ; 
7340   wxGridCellAttr::wxAttrKind arg4 
; 
7341   wxGridCellAttr 
*result 
= 0 ; 
7350   PyObject 
* obj0 
= 0 ; 
7351   PyObject 
* obj1 
= 0 ; 
7352   PyObject 
* obj2 
= 0 ; 
7353   PyObject 
* obj3 
= 0 ; 
7354   char *  kwnames
[] = { 
7355     (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL 
 
7358   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttrProvider_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
7359   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttrProvider
, 0 |  0 ); 
7360   if (!SWIG_IsOK(res1
)) { 
7361     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttrProvider_GetAttr" "', expected argument " "1"" of type '" "wxGridCellAttrProvider const *""'");  
7363   arg1 
= reinterpret_cast< wxGridCellAttrProvider 
* >(argp1
); 
7364   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
7365   if (!SWIG_IsOK(ecode2
)) { 
7366     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellAttrProvider_GetAttr" "', expected argument " "2"" of type '" "int""'"); 
7368   arg2 
= static_cast< int >(val2
); 
7369   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
7370   if (!SWIG_IsOK(ecode3
)) { 
7371     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttrProvider_GetAttr" "', expected argument " "3"" of type '" "int""'"); 
7373   arg3 
= static_cast< int >(val3
); 
7374   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
7375   if (!SWIG_IsOK(ecode4
)) { 
7376     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridCellAttrProvider_GetAttr" "', expected argument " "4"" of type '" "wxGridCellAttr::wxAttrKind""'"); 
7378   arg4 
= static_cast< wxGridCellAttr::wxAttrKind 
>(val4
); 
7380     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7381     result 
= (wxGridCellAttr 
*)((wxGridCellAttrProvider 
const *)arg1
)->GetAttr(arg2
,arg3
,arg4
); 
7382     wxPyEndAllowThreads(__tstate
); 
7383     if (PyErr_Occurred()) SWIG_fail
; 
7386     resultobj 
= wxPyMake_wxGridCellAttr(result
,     (bool)0);  
7394 SWIGINTERN PyObject 
*_wrap_GridCellAttrProvider_SetAttr(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7395   PyObject 
*resultobj 
= 0; 
7396   wxGridCellAttrProvider 
*arg1 
= (wxGridCellAttrProvider 
*) 0 ; 
7397   wxGridCellAttr 
*arg2 
= (wxGridCellAttr 
*) 0 ; 
7408   PyObject 
* obj0 
= 0 ; 
7409   PyObject 
* obj1 
= 0 ; 
7410   PyObject 
* obj2 
= 0 ; 
7411   PyObject 
* obj3 
= 0 ; 
7412   char *  kwnames
[] = { 
7413     (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL 
 
7416   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttrProvider_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
7417   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttrProvider
, 0 |  0 ); 
7418   if (!SWIG_IsOK(res1
)) { 
7419     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttrProvider_SetAttr" "', expected argument " "1"" of type '" "wxGridCellAttrProvider *""'");  
7421   arg1 
= reinterpret_cast< wxGridCellAttrProvider 
* >(argp1
); 
7422   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
7423   if (!SWIG_IsOK(res2
)) { 
7424     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttrProvider_SetAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");  
7426   arg2 
= reinterpret_cast< wxGridCellAttr 
* >(argp2
); 
7427   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
7428   if (!SWIG_IsOK(ecode3
)) { 
7429     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttrProvider_SetAttr" "', expected argument " "3"" of type '" "int""'"); 
7431   arg3 
= static_cast< int >(val3
); 
7432   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
7433   if (!SWIG_IsOK(ecode4
)) { 
7434     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridCellAttrProvider_SetAttr" "', expected argument " "4"" of type '" "int""'"); 
7436   arg4 
= static_cast< int >(val4
); 
7438     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7439     (arg1
)->SetAttr(arg2
,arg3
,arg4
); 
7440     wxPyEndAllowThreads(__tstate
); 
7441     if (PyErr_Occurred()) SWIG_fail
; 
7443   resultobj 
= SWIG_Py_Void(); 
7450 SWIGINTERN PyObject 
*_wrap_GridCellAttrProvider_SetRowAttr(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7451   PyObject 
*resultobj 
= 0; 
7452   wxGridCellAttrProvider 
*arg1 
= (wxGridCellAttrProvider 
*) 0 ; 
7453   wxGridCellAttr 
*arg2 
= (wxGridCellAttr 
*) 0 ; 
7461   PyObject 
* obj0 
= 0 ; 
7462   PyObject 
* obj1 
= 0 ; 
7463   PyObject 
* obj2 
= 0 ; 
7464   char *  kwnames
[] = { 
7465     (char *) "self",(char *) "attr",(char *) "row", NULL 
 
7468   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
7469   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttrProvider
, 0 |  0 ); 
7470   if (!SWIG_IsOK(res1
)) { 
7471     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttrProvider_SetRowAttr" "', expected argument " "1"" of type '" "wxGridCellAttrProvider *""'");  
7473   arg1 
= reinterpret_cast< wxGridCellAttrProvider 
* >(argp1
); 
7474   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
7475   if (!SWIG_IsOK(res2
)) { 
7476     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttrProvider_SetRowAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");  
7478   arg2 
= reinterpret_cast< wxGridCellAttr 
* >(argp2
); 
7479   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
7480   if (!SWIG_IsOK(ecode3
)) { 
7481     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttrProvider_SetRowAttr" "', expected argument " "3"" of type '" "int""'"); 
7483   arg3 
= static_cast< int >(val3
); 
7485     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7486     (arg1
)->SetRowAttr(arg2
,arg3
); 
7487     wxPyEndAllowThreads(__tstate
); 
7488     if (PyErr_Occurred()) SWIG_fail
; 
7490   resultobj 
= SWIG_Py_Void(); 
7497 SWIGINTERN PyObject 
*_wrap_GridCellAttrProvider_SetColAttr(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7498   PyObject 
*resultobj 
= 0; 
7499   wxGridCellAttrProvider 
*arg1 
= (wxGridCellAttrProvider 
*) 0 ; 
7500   wxGridCellAttr 
*arg2 
= (wxGridCellAttr 
*) 0 ; 
7508   PyObject 
* obj0 
= 0 ; 
7509   PyObject 
* obj1 
= 0 ; 
7510   PyObject 
* obj2 
= 0 ; 
7511   char *  kwnames
[] = { 
7512     (char *) "self",(char *) "attr",(char *) "col", NULL 
 
7515   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
7516   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttrProvider
, 0 |  0 ); 
7517   if (!SWIG_IsOK(res1
)) { 
7518     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttrProvider_SetColAttr" "', expected argument " "1"" of type '" "wxGridCellAttrProvider *""'");  
7520   arg1 
= reinterpret_cast< wxGridCellAttrProvider 
* >(argp1
); 
7521   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
7522   if (!SWIG_IsOK(res2
)) { 
7523     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttrProvider_SetColAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");  
7525   arg2 
= reinterpret_cast< wxGridCellAttr 
* >(argp2
); 
7526   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
7527   if (!SWIG_IsOK(ecode3
)) { 
7528     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttrProvider_SetColAttr" "', expected argument " "3"" of type '" "int""'"); 
7530   arg3 
= static_cast< int >(val3
); 
7532     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7533     (arg1
)->SetColAttr(arg2
,arg3
); 
7534     wxPyEndAllowThreads(__tstate
); 
7535     if (PyErr_Occurred()) SWIG_fail
; 
7537   resultobj 
= SWIG_Py_Void(); 
7544 SWIGINTERN PyObject 
*_wrap_GridCellAttrProvider_UpdateAttrRows(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7545   PyObject 
*resultobj 
= 0; 
7546   wxGridCellAttrProvider 
*arg1 
= (wxGridCellAttrProvider 
*) 0 ; 
7555   PyObject 
* obj0 
= 0 ; 
7556   PyObject 
* obj1 
= 0 ; 
7557   PyObject 
* obj2 
= 0 ; 
7558   char *  kwnames
[] = { 
7559     (char *) "self",(char *) "pos",(char *) "numRows", NULL 
 
7562   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_UpdateAttrRows",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
7563   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttrProvider
, 0 |  0 ); 
7564   if (!SWIG_IsOK(res1
)) { 
7565     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttrProvider_UpdateAttrRows" "', expected argument " "1"" of type '" "wxGridCellAttrProvider *""'");  
7567   arg1 
= reinterpret_cast< wxGridCellAttrProvider 
* >(argp1
); 
7568   ecode2 
= SWIG_AsVal_size_t(obj1
, &val2
); 
7569   if (!SWIG_IsOK(ecode2
)) { 
7570     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellAttrProvider_UpdateAttrRows" "', expected argument " "2"" of type '" "size_t""'"); 
7572   arg2 
= static_cast< size_t >(val2
); 
7573   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
7574   if (!SWIG_IsOK(ecode3
)) { 
7575     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttrProvider_UpdateAttrRows" "', expected argument " "3"" of type '" "int""'"); 
7577   arg3 
= static_cast< int >(val3
); 
7579     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7580     (arg1
)->UpdateAttrRows(arg2
,arg3
); 
7581     wxPyEndAllowThreads(__tstate
); 
7582     if (PyErr_Occurred()) SWIG_fail
; 
7584   resultobj 
= SWIG_Py_Void(); 
7591 SWIGINTERN PyObject 
*_wrap_GridCellAttrProvider_UpdateAttrCols(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7592   PyObject 
*resultobj 
= 0; 
7593   wxGridCellAttrProvider 
*arg1 
= (wxGridCellAttrProvider 
*) 0 ; 
7602   PyObject 
* obj0 
= 0 ; 
7603   PyObject 
* obj1 
= 0 ; 
7604   PyObject 
* obj2 
= 0 ; 
7605   char *  kwnames
[] = { 
7606     (char *) "self",(char *) "pos",(char *) "numCols", NULL 
 
7609   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_UpdateAttrCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
7610   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttrProvider
, 0 |  0 ); 
7611   if (!SWIG_IsOK(res1
)) { 
7612     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttrProvider_UpdateAttrCols" "', expected argument " "1"" of type '" "wxGridCellAttrProvider *""'");  
7614   arg1 
= reinterpret_cast< wxGridCellAttrProvider 
* >(argp1
); 
7615   ecode2 
= SWIG_AsVal_size_t(obj1
, &val2
); 
7616   if (!SWIG_IsOK(ecode2
)) { 
7617     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellAttrProvider_UpdateAttrCols" "', expected argument " "2"" of type '" "size_t""'"); 
7619   arg2 
= static_cast< size_t >(val2
); 
7620   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
7621   if (!SWIG_IsOK(ecode3
)) { 
7622     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttrProvider_UpdateAttrCols" "', expected argument " "3"" of type '" "int""'"); 
7624   arg3 
= static_cast< int >(val3
); 
7626     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7627     (arg1
)->UpdateAttrCols(arg2
,arg3
); 
7628     wxPyEndAllowThreads(__tstate
); 
7629     if (PyErr_Occurred()) SWIG_fail
; 
7631   resultobj 
= SWIG_Py_Void(); 
7638 SWIGINTERN PyObject 
*GridCellAttrProvider_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7640   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
7641   SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellAttrProvider
, SWIG_NewClientData(obj
)); 
7642   return SWIG_Py_Void(); 
7645 SWIGINTERN PyObject 
*GridCellAttrProvider_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7646   return SWIG_Python_InitShadowInstance(args
); 
7649 SWIGINTERN PyObject 
*_wrap_new_PyGridCellAttrProvider(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7650   PyObject 
*resultobj 
= 0; 
7651   wxPyGridCellAttrProvider 
*result 
= 0 ; 
7653   if (!SWIG_Python_UnpackTuple(args
,"new_PyGridCellAttrProvider",0,0,0)) SWIG_fail
; 
7655     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7656     result 
= (wxPyGridCellAttrProvider 
*)new wxPyGridCellAttrProvider(); 
7657     wxPyEndAllowThreads(__tstate
); 
7658     if (PyErr_Occurred()) SWIG_fail
; 
7660   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyGridCellAttrProvider
, SWIG_POINTER_NEW 
|  0 ); 
7667 SWIGINTERN PyObject 
*_wrap_PyGridCellAttrProvider__setCallbackInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7668   PyObject 
*resultobj 
= 0; 
7669   wxPyGridCellAttrProvider 
*arg1 
= (wxPyGridCellAttrProvider 
*) 0 ; 
7670   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
7671   PyObject 
*arg3 
= (PyObject 
*) 0 ; 
7674   PyObject 
* obj0 
= 0 ; 
7675   PyObject 
* obj1 
= 0 ; 
7676   PyObject 
* obj2 
= 0 ; 
7677   char *  kwnames
[] = { 
7678     (char *) "self",(char *) "self",(char *) "_class", NULL 
 
7681   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
7682   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellAttrProvider
, 0 |  0 ); 
7683   if (!SWIG_IsOK(res1
)) { 
7684     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellAttrProvider__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyGridCellAttrProvider *""'");  
7686   arg1 
= reinterpret_cast< wxPyGridCellAttrProvider 
* >(argp1
); 
7690     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7691     (arg1
)->_setCallbackInfo(arg2
,arg3
); 
7692     wxPyEndAllowThreads(__tstate
); 
7693     if (PyErr_Occurred()) SWIG_fail
; 
7695   resultobj 
= SWIG_Py_Void(); 
7702 SWIGINTERN PyObject 
*_wrap_PyGridCellAttrProvider_GetAttr(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7703   PyObject 
*resultobj 
= 0; 
7704   wxPyGridCellAttrProvider 
*arg1 
= (wxPyGridCellAttrProvider 
*) 0 ; 
7707   wxGridCellAttr::wxAttrKind arg4 
; 
7708   wxGridCellAttr 
*result 
= 0 ; 
7717   PyObject 
* obj0 
= 0 ; 
7718   PyObject 
* obj1 
= 0 ; 
7719   PyObject 
* obj2 
= 0 ; 
7720   PyObject 
* obj3 
= 0 ; 
7721   char *  kwnames
[] = { 
7722     (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL 
 
7725   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridCellAttrProvider_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
7726   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellAttrProvider
, 0 |  0 ); 
7727   if (!SWIG_IsOK(res1
)) { 
7728     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellAttrProvider_GetAttr" "', expected argument " "1"" of type '" "wxPyGridCellAttrProvider *""'");  
7730   arg1 
= reinterpret_cast< wxPyGridCellAttrProvider 
* >(argp1
); 
7731   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
7732   if (!SWIG_IsOK(ecode2
)) { 
7733     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyGridCellAttrProvider_GetAttr" "', expected argument " "2"" of type '" "int""'"); 
7735   arg2 
= static_cast< int >(val2
); 
7736   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
7737   if (!SWIG_IsOK(ecode3
)) { 
7738     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyGridCellAttrProvider_GetAttr" "', expected argument " "3"" of type '" "int""'"); 
7740   arg3 
= static_cast< int >(val3
); 
7741   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
7742   if (!SWIG_IsOK(ecode4
)) { 
7743     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyGridCellAttrProvider_GetAttr" "', expected argument " "4"" of type '" "wxGridCellAttr::wxAttrKind""'"); 
7745   arg4 
= static_cast< wxGridCellAttr::wxAttrKind 
>(val4
); 
7747     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7748     result 
= (wxGridCellAttr 
*)(arg1
)->GetAttr(arg2
,arg3
,arg4
); 
7749     wxPyEndAllowThreads(__tstate
); 
7750     if (PyErr_Occurred()) SWIG_fail
; 
7753     resultobj 
= wxPyMake_wxGridCellAttr(result
,     (bool)0);  
7761 SWIGINTERN PyObject 
*_wrap_PyGridCellAttrProvider_SetAttr(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7762   PyObject 
*resultobj 
= 0; 
7763   wxPyGridCellAttrProvider 
*arg1 
= (wxPyGridCellAttrProvider 
*) 0 ; 
7764   wxGridCellAttr 
*arg2 
= (wxGridCellAttr 
*) 0 ; 
7775   PyObject 
* obj0 
= 0 ; 
7776   PyObject 
* obj1 
= 0 ; 
7777   PyObject 
* obj2 
= 0 ; 
7778   PyObject 
* obj3 
= 0 ; 
7779   char *  kwnames
[] = { 
7780     (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL 
 
7783   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridCellAttrProvider_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
7784   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellAttrProvider
, 0 |  0 ); 
7785   if (!SWIG_IsOK(res1
)) { 
7786     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellAttrProvider_SetAttr" "', expected argument " "1"" of type '" "wxPyGridCellAttrProvider *""'");  
7788   arg1 
= reinterpret_cast< wxPyGridCellAttrProvider 
* >(argp1
); 
7789   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
7790   if (!SWIG_IsOK(res2
)) { 
7791     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyGridCellAttrProvider_SetAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");  
7793   arg2 
= reinterpret_cast< wxGridCellAttr 
* >(argp2
); 
7794   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
7795   if (!SWIG_IsOK(ecode3
)) { 
7796     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyGridCellAttrProvider_SetAttr" "', expected argument " "3"" of type '" "int""'"); 
7798   arg3 
= static_cast< int >(val3
); 
7799   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
7800   if (!SWIG_IsOK(ecode4
)) { 
7801     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyGridCellAttrProvider_SetAttr" "', expected argument " "4"" of type '" "int""'"); 
7803   arg4 
= static_cast< int >(val4
); 
7805     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7806     (arg1
)->SetAttr(arg2
,arg3
,arg4
); 
7807     wxPyEndAllowThreads(__tstate
); 
7808     if (PyErr_Occurred()) SWIG_fail
; 
7810   resultobj 
= SWIG_Py_Void(); 
7817 SWIGINTERN PyObject 
*_wrap_PyGridCellAttrProvider_SetRowAttr(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7818   PyObject 
*resultobj 
= 0; 
7819   wxPyGridCellAttrProvider 
*arg1 
= (wxPyGridCellAttrProvider 
*) 0 ; 
7820   wxGridCellAttr 
*arg2 
= (wxGridCellAttr 
*) 0 ; 
7828   PyObject 
* obj0 
= 0 ; 
7829   PyObject 
* obj1 
= 0 ; 
7830   PyObject 
* obj2 
= 0 ; 
7831   char *  kwnames
[] = { 
7832     (char *) "self",(char *) "attr",(char *) "row", NULL 
 
7835   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
7836   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellAttrProvider
, 0 |  0 ); 
7837   if (!SWIG_IsOK(res1
)) { 
7838     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellAttrProvider_SetRowAttr" "', expected argument " "1"" of type '" "wxPyGridCellAttrProvider *""'");  
7840   arg1 
= reinterpret_cast< wxPyGridCellAttrProvider 
* >(argp1
); 
7841   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
7842   if (!SWIG_IsOK(res2
)) { 
7843     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyGridCellAttrProvider_SetRowAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");  
7845   arg2 
= reinterpret_cast< wxGridCellAttr 
* >(argp2
); 
7846   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
7847   if (!SWIG_IsOK(ecode3
)) { 
7848     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyGridCellAttrProvider_SetRowAttr" "', expected argument " "3"" of type '" "int""'"); 
7850   arg3 
= static_cast< int >(val3
); 
7852     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7853     (arg1
)->SetRowAttr(arg2
,arg3
); 
7854     wxPyEndAllowThreads(__tstate
); 
7855     if (PyErr_Occurred()) SWIG_fail
; 
7857   resultobj 
= SWIG_Py_Void(); 
7864 SWIGINTERN PyObject 
*_wrap_PyGridCellAttrProvider_SetColAttr(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7865   PyObject 
*resultobj 
= 0; 
7866   wxPyGridCellAttrProvider 
*arg1 
= (wxPyGridCellAttrProvider 
*) 0 ; 
7867   wxGridCellAttr 
*arg2 
= (wxGridCellAttr 
*) 0 ; 
7875   PyObject 
* obj0 
= 0 ; 
7876   PyObject 
* obj1 
= 0 ; 
7877   PyObject 
* obj2 
= 0 ; 
7878   char *  kwnames
[] = { 
7879     (char *) "self",(char *) "attr",(char *) "col", NULL 
 
7882   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
7883   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellAttrProvider
, 0 |  0 ); 
7884   if (!SWIG_IsOK(res1
)) { 
7885     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellAttrProvider_SetColAttr" "', expected argument " "1"" of type '" "wxPyGridCellAttrProvider *""'");  
7887   arg1 
= reinterpret_cast< wxPyGridCellAttrProvider 
* >(argp1
); 
7888   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
7889   if (!SWIG_IsOK(res2
)) { 
7890     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyGridCellAttrProvider_SetColAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");  
7892   arg2 
= reinterpret_cast< wxGridCellAttr 
* >(argp2
); 
7893   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
7894   if (!SWIG_IsOK(ecode3
)) { 
7895     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyGridCellAttrProvider_SetColAttr" "', expected argument " "3"" of type '" "int""'"); 
7897   arg3 
= static_cast< int >(val3
); 
7899     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7900     (arg1
)->SetColAttr(arg2
,arg3
); 
7901     wxPyEndAllowThreads(__tstate
); 
7902     if (PyErr_Occurred()) SWIG_fail
; 
7904   resultobj 
= SWIG_Py_Void(); 
7911 SWIGINTERN PyObject 
*PyGridCellAttrProvider_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7913   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
7914   SWIG_TypeNewClientData(SWIGTYPE_p_wxPyGridCellAttrProvider
, SWIG_NewClientData(obj
)); 
7915   return SWIG_Py_Void(); 
7918 SWIGINTERN PyObject 
*PyGridCellAttrProvider_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7919   return SWIG_Python_InitShadowInstance(args
); 
7922 SWIGINTERN PyObject 
*_wrap_delete_GridTableBase(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7923   PyObject 
*resultobj 
= 0; 
7924   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
7927   PyObject 
*swig_obj
[1] ; 
7929   if (!args
) SWIG_fail
; 
7931   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_DISOWN 
|  0 ); 
7932   if (!SWIG_IsOK(res1
)) { 
7933     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GridTableBase" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
7935   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
7937     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7940     wxPyEndAllowThreads(__tstate
); 
7941     if (PyErr_Occurred()) SWIG_fail
; 
7943   resultobj 
= SWIG_Py_Void(); 
7950 SWIGINTERN PyObject 
*_wrap_GridTableBase__setOORInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7951   PyObject 
*resultobj 
= 0; 
7952   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
7953   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
7956   PyObject 
* obj0 
= 0 ; 
7957   PyObject 
* obj1 
= 0 ; 
7958   char *  kwnames
[] = { 
7959     (char *) "self",(char *) "_self", NULL 
 
7962   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase__setOORInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7963   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
7964   if (!SWIG_IsOK(res1
)) { 
7965     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase__setOORInfo" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
7967   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
7970     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7971     wxGridTableBase__setOORInfo(arg1
,arg2
); 
7972     wxPyEndAllowThreads(__tstate
); 
7973     if (PyErr_Occurred()) SWIG_fail
; 
7975   resultobj 
= SWIG_Py_Void(); 
7982 SWIGINTERN PyObject 
*_wrap_GridTableBase_SetAttrProvider(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7983   PyObject 
*resultobj 
= 0; 
7984   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
7985   wxGridCellAttrProvider 
*arg2 
= (wxGridCellAttrProvider 
*) 0 ; 
7990   PyObject 
* obj0 
= 0 ; 
7991   PyObject 
* obj1 
= 0 ; 
7992   char *  kwnames
[] = { 
7993     (char *) "self",(char *) "attrProvider", NULL 
 
7996   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_SetAttrProvider",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7997   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
7998   if (!SWIG_IsOK(res1
)) { 
7999     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetAttrProvider" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
8001   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
8002   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttrProvider
, 0 |  0 ); 
8003   if (!SWIG_IsOK(res2
)) { 
8004     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridTableBase_SetAttrProvider" "', expected argument " "2"" of type '" "wxGridCellAttrProvider *""'");  
8006   arg2 
= reinterpret_cast< wxGridCellAttrProvider 
* >(argp2
); 
8008     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8009     (arg1
)->SetAttrProvider(arg2
); 
8010     wxPyEndAllowThreads(__tstate
); 
8011     if (PyErr_Occurred()) SWIG_fail
; 
8013   resultobj 
= SWIG_Py_Void(); 
8020 SWIGINTERN PyObject 
*_wrap_GridTableBase_GetAttrProvider(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8021   PyObject 
*resultobj 
= 0; 
8022   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
8023   wxGridCellAttrProvider 
*result 
= 0 ; 
8026   PyObject 
*swig_obj
[1] ; 
8028   if (!args
) SWIG_fail
; 
8030   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
8031   if (!SWIG_IsOK(res1
)) { 
8032     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetAttrProvider" "', expected argument " "1"" of type '" "wxGridTableBase const *""'");  
8034   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
8036     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8037     result 
= (wxGridCellAttrProvider 
*)((wxGridTableBase 
const *)arg1
)->GetAttrProvider(); 
8038     wxPyEndAllowThreads(__tstate
); 
8039     if (PyErr_Occurred()) SWIG_fail
; 
8042     resultobj 
= wxPyMake_wxGridCellAttrProvider(result
, (bool)0);  
8050 SWIGINTERN PyObject 
*_wrap_GridTableBase_SetView(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8051   PyObject 
*resultobj 
= 0; 
8052   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
8053   wxGrid 
*arg2 
= (wxGrid 
*) 0 ; 
8058   PyObject 
* obj0 
= 0 ; 
8059   PyObject 
* obj1 
= 0 ; 
8060   char *  kwnames
[] = { 
8061     (char *) "self",(char *) "grid", NULL 
 
8064   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_SetView",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
8065   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
8066   if (!SWIG_IsOK(res1
)) { 
8067     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetView" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
8069   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
8070   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
8071   if (!SWIG_IsOK(res2
)) { 
8072     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridTableBase_SetView" "', expected argument " "2"" of type '" "wxGrid *""'");  
8074   arg2 
= reinterpret_cast< wxGrid 
* >(argp2
); 
8076     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8077     (arg1
)->SetView(arg2
); 
8078     wxPyEndAllowThreads(__tstate
); 
8079     if (PyErr_Occurred()) SWIG_fail
; 
8081   resultobj 
= SWIG_Py_Void(); 
8088 SWIGINTERN PyObject 
*_wrap_GridTableBase_GetView(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8089   PyObject 
*resultobj 
= 0; 
8090   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
8091   wxGrid 
*result 
= 0 ; 
8094   PyObject 
*swig_obj
[1] ; 
8096   if (!args
) SWIG_fail
; 
8098   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
8099   if (!SWIG_IsOK(res1
)) { 
8100     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetView" "', expected argument " "1"" of type '" "wxGridTableBase const *""'");  
8102   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
8104     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8105     result 
= (wxGrid 
*)((wxGridTableBase 
const *)arg1
)->GetView(); 
8106     wxPyEndAllowThreads(__tstate
); 
8107     if (PyErr_Occurred()) SWIG_fail
; 
8110     resultobj 
= wxPyMake_wxObject(result
, (bool)0);  
8118 SWIGINTERN PyObject 
*_wrap_GridTableBase_GetNumberRows(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8119   PyObject 
*resultobj 
= 0; 
8120   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
8124   PyObject 
*swig_obj
[1] ; 
8126   if (!args
) SWIG_fail
; 
8128   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
8129   if (!SWIG_IsOK(res1
)) { 
8130     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetNumberRows" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
8132   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
8134     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8135     result 
= (int)(arg1
)->GetNumberRows(); 
8136     wxPyEndAllowThreads(__tstate
); 
8137     if (PyErr_Occurred()) SWIG_fail
; 
8139   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
8146 SWIGINTERN PyObject 
*_wrap_GridTableBase_GetNumberCols(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8147   PyObject 
*resultobj 
= 0; 
8148   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
8152   PyObject 
*swig_obj
[1] ; 
8154   if (!args
) SWIG_fail
; 
8156   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
8157   if (!SWIG_IsOK(res1
)) { 
8158     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetNumberCols" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
8160   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
8162     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8163     result 
= (int)(arg1
)->GetNumberCols(); 
8164     wxPyEndAllowThreads(__tstate
); 
8165     if (PyErr_Occurred()) SWIG_fail
; 
8167   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
8174 SWIGINTERN PyObject 
*_wrap_GridTableBase_IsEmptyCell(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8175   PyObject 
*resultobj 
= 0; 
8176   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
8186   PyObject 
* obj0 
= 0 ; 
8187   PyObject 
* obj1 
= 0 ; 
8188   PyObject 
* obj2 
= 0 ; 
8189   char *  kwnames
[] = { 
8190     (char *) "self",(char *) "row",(char *) "col", NULL 
 
8193   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_IsEmptyCell",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
8194   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
8195   if (!SWIG_IsOK(res1
)) { 
8196     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_IsEmptyCell" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
8198   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
8199   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
8200   if (!SWIG_IsOK(ecode2
)) { 
8201     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_IsEmptyCell" "', expected argument " "2"" of type '" "int""'"); 
8203   arg2 
= static_cast< int >(val2
); 
8204   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
8205   if (!SWIG_IsOK(ecode3
)) { 
8206     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_IsEmptyCell" "', expected argument " "3"" of type '" "int""'"); 
8208   arg3 
= static_cast< int >(val3
); 
8210     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8211     result 
= (bool)(arg1
)->IsEmptyCell(arg2
,arg3
); 
8212     wxPyEndAllowThreads(__tstate
); 
8213     if (PyErr_Occurred()) SWIG_fail
; 
8216     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8224 SWIGINTERN PyObject 
*_wrap_GridTableBase_GetValue(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8225   PyObject 
*resultobj 
= 0; 
8226   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
8236   PyObject 
* obj0 
= 0 ; 
8237   PyObject 
* obj1 
= 0 ; 
8238   PyObject 
* obj2 
= 0 ; 
8239   char *  kwnames
[] = { 
8240     (char *) "self",(char *) "row",(char *) "col", NULL 
 
8243   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
8244   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
8245   if (!SWIG_IsOK(res1
)) { 
8246     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetValue" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
8248   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
8249   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
8250   if (!SWIG_IsOK(ecode2
)) { 
8251     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_GetValue" "', expected argument " "2"" of type '" "int""'"); 
8253   arg2 
= static_cast< int >(val2
); 
8254   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
8255   if (!SWIG_IsOK(ecode3
)) { 
8256     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_GetValue" "', expected argument " "3"" of type '" "int""'"); 
8258   arg3 
= static_cast< int >(val3
); 
8260     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8261     result 
= (arg1
)->GetValue(arg2
,arg3
); 
8262     wxPyEndAllowThreads(__tstate
); 
8263     if (PyErr_Occurred()) SWIG_fail
; 
8267     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
8269     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
8278 SWIGINTERN PyObject 
*_wrap_GridTableBase_SetValue(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8279   PyObject 
*resultobj 
= 0; 
8280   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
8283   wxString 
*arg4 
= 0 ; 
8290   bool temp4 
= false ; 
8291   PyObject 
* obj0 
= 0 ; 
8292   PyObject 
* obj1 
= 0 ; 
8293   PyObject 
* obj2 
= 0 ; 
8294   PyObject 
* obj3 
= 0 ; 
8295   char *  kwnames
[] = { 
8296     (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL 
 
8299   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValue",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
8300   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
8301   if (!SWIG_IsOK(res1
)) { 
8302     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetValue" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
8304   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
8305   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
8306   if (!SWIG_IsOK(ecode2
)) { 
8307     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_SetValue" "', expected argument " "2"" of type '" "int""'"); 
8309   arg2 
= static_cast< int >(val2
); 
8310   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
8311   if (!SWIG_IsOK(ecode3
)) { 
8312     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_SetValue" "', expected argument " "3"" of type '" "int""'"); 
8314   arg3 
= static_cast< int >(val3
); 
8316     arg4 
= wxString_in_helper(obj3
); 
8317     if (arg4 
== NULL
) SWIG_fail
; 
8321     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8322     (arg1
)->SetValue(arg2
,arg3
,(wxString 
const &)*arg4
); 
8323     wxPyEndAllowThreads(__tstate
); 
8324     if (PyErr_Occurred()) SWIG_fail
; 
8326   resultobj 
= SWIG_Py_Void(); 
8341 SWIGINTERN PyObject 
*_wrap_GridTableBase_GetTypeName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8342   PyObject 
*resultobj 
= 0; 
8343   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
8353   PyObject 
* obj0 
= 0 ; 
8354   PyObject 
* obj1 
= 0 ; 
8355   PyObject 
* obj2 
= 0 ; 
8356   char *  kwnames
[] = { 
8357     (char *) "self",(char *) "row",(char *) "col", NULL 
 
8360   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetTypeName",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
8361   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
8362   if (!SWIG_IsOK(res1
)) { 
8363     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetTypeName" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
8365   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
8366   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
8367   if (!SWIG_IsOK(ecode2
)) { 
8368     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_GetTypeName" "', expected argument " "2"" of type '" "int""'"); 
8370   arg2 
= static_cast< int >(val2
); 
8371   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
8372   if (!SWIG_IsOK(ecode3
)) { 
8373     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_GetTypeName" "', expected argument " "3"" of type '" "int""'"); 
8375   arg3 
= static_cast< int >(val3
); 
8377     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8378     result 
= (arg1
)->GetTypeName(arg2
,arg3
); 
8379     wxPyEndAllowThreads(__tstate
); 
8380     if (PyErr_Occurred()) SWIG_fail
; 
8384     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
8386     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
8395 SWIGINTERN PyObject 
*_wrap_GridTableBase_CanGetValueAs(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8396   PyObject 
*resultobj 
= 0; 
8397   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
8400   wxString 
*arg4 
= 0 ; 
8408   bool temp4 
= false ; 
8409   PyObject 
* obj0 
= 0 ; 
8410   PyObject 
* obj1 
= 0 ; 
8411   PyObject 
* obj2 
= 0 ; 
8412   PyObject 
* obj3 
= 0 ; 
8413   char *  kwnames
[] = { 
8414     (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL 
 
8417   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_CanGetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
8418   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
8419   if (!SWIG_IsOK(res1
)) { 
8420     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_CanGetValueAs" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
8422   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
8423   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
8424   if (!SWIG_IsOK(ecode2
)) { 
8425     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_CanGetValueAs" "', expected argument " "2"" of type '" "int""'"); 
8427   arg2 
= static_cast< int >(val2
); 
8428   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
8429   if (!SWIG_IsOK(ecode3
)) { 
8430     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_CanGetValueAs" "', expected argument " "3"" of type '" "int""'"); 
8432   arg3 
= static_cast< int >(val3
); 
8434     arg4 
= wxString_in_helper(obj3
); 
8435     if (arg4 
== NULL
) SWIG_fail
; 
8439     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8440     result 
= (bool)(arg1
)->CanGetValueAs(arg2
,arg3
,(wxString 
const &)*arg4
); 
8441     wxPyEndAllowThreads(__tstate
); 
8442     if (PyErr_Occurred()) SWIG_fail
; 
8445     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8461 SWIGINTERN PyObject 
*_wrap_GridTableBase_CanSetValueAs(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8462   PyObject 
*resultobj 
= 0; 
8463   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
8466   wxString 
*arg4 
= 0 ; 
8474   bool temp4 
= false ; 
8475   PyObject 
* obj0 
= 0 ; 
8476   PyObject 
* obj1 
= 0 ; 
8477   PyObject 
* obj2 
= 0 ; 
8478   PyObject 
* obj3 
= 0 ; 
8479   char *  kwnames
[] = { 
8480     (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL 
 
8483   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_CanSetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
8484   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
8485   if (!SWIG_IsOK(res1
)) { 
8486     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_CanSetValueAs" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
8488   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
8489   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
8490   if (!SWIG_IsOK(ecode2
)) { 
8491     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_CanSetValueAs" "', expected argument " "2"" of type '" "int""'"); 
8493   arg2 
= static_cast< int >(val2
); 
8494   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
8495   if (!SWIG_IsOK(ecode3
)) { 
8496     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_CanSetValueAs" "', expected argument " "3"" of type '" "int""'"); 
8498   arg3 
= static_cast< int >(val3
); 
8500     arg4 
= wxString_in_helper(obj3
); 
8501     if (arg4 
== NULL
) SWIG_fail
; 
8505     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8506     result 
= (bool)(arg1
)->CanSetValueAs(arg2
,arg3
,(wxString 
const &)*arg4
); 
8507     wxPyEndAllowThreads(__tstate
); 
8508     if (PyErr_Occurred()) SWIG_fail
; 
8511     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8527 SWIGINTERN PyObject 
*_wrap_GridTableBase_GetValueAsLong(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8528   PyObject 
*resultobj 
= 0; 
8529   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
8539   PyObject 
* obj0 
= 0 ; 
8540   PyObject 
* obj1 
= 0 ; 
8541   PyObject 
* obj2 
= 0 ; 
8542   char *  kwnames
[] = { 
8543     (char *) "self",(char *) "row",(char *) "col", NULL 
 
8546   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsLong",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
8547   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
8548   if (!SWIG_IsOK(res1
)) { 
8549     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetValueAsLong" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
8551   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
8552   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
8553   if (!SWIG_IsOK(ecode2
)) { 
8554     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_GetValueAsLong" "', expected argument " "2"" of type '" "int""'"); 
8556   arg2 
= static_cast< int >(val2
); 
8557   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
8558   if (!SWIG_IsOK(ecode3
)) { 
8559     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_GetValueAsLong" "', expected argument " "3"" of type '" "int""'"); 
8561   arg3 
= static_cast< int >(val3
); 
8563     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8564     result 
= (long)(arg1
)->GetValueAsLong(arg2
,arg3
); 
8565     wxPyEndAllowThreads(__tstate
); 
8566     if (PyErr_Occurred()) SWIG_fail
; 
8568   resultobj 
= SWIG_From_long(static_cast< long >(result
)); 
8575 SWIGINTERN PyObject 
*_wrap_GridTableBase_GetValueAsDouble(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8576   PyObject 
*resultobj 
= 0; 
8577   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
8587   PyObject 
* obj0 
= 0 ; 
8588   PyObject 
* obj1 
= 0 ; 
8589   PyObject 
* obj2 
= 0 ; 
8590   char *  kwnames
[] = { 
8591     (char *) "self",(char *) "row",(char *) "col", NULL 
 
8594   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsDouble",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
8595   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
8596   if (!SWIG_IsOK(res1
)) { 
8597     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetValueAsDouble" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
8599   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
8600   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
8601   if (!SWIG_IsOK(ecode2
)) { 
8602     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_GetValueAsDouble" "', expected argument " "2"" of type '" "int""'"); 
8604   arg2 
= static_cast< int >(val2
); 
8605   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
8606   if (!SWIG_IsOK(ecode3
)) { 
8607     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_GetValueAsDouble" "', expected argument " "3"" of type '" "int""'"); 
8609   arg3 
= static_cast< int >(val3
); 
8611     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8612     result 
= (double)(arg1
)->GetValueAsDouble(arg2
,arg3
); 
8613     wxPyEndAllowThreads(__tstate
); 
8614     if (PyErr_Occurred()) SWIG_fail
; 
8616   resultobj 
= SWIG_From_double(static_cast< double >(result
)); 
8623 SWIGINTERN PyObject 
*_wrap_GridTableBase_GetValueAsBool(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8624   PyObject 
*resultobj 
= 0; 
8625   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
8635   PyObject 
* obj0 
= 0 ; 
8636   PyObject 
* obj1 
= 0 ; 
8637   PyObject 
* obj2 
= 0 ; 
8638   char *  kwnames
[] = { 
8639     (char *) "self",(char *) "row",(char *) "col", NULL 
 
8642   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsBool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
8643   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
8644   if (!SWIG_IsOK(res1
)) { 
8645     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetValueAsBool" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
8647   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
8648   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
8649   if (!SWIG_IsOK(ecode2
)) { 
8650     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_GetValueAsBool" "', expected argument " "2"" of type '" "int""'"); 
8652   arg2 
= static_cast< int >(val2
); 
8653   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
8654   if (!SWIG_IsOK(ecode3
)) { 
8655     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_GetValueAsBool" "', expected argument " "3"" of type '" "int""'"); 
8657   arg3 
= static_cast< int >(val3
); 
8659     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8660     result 
= (bool)(arg1
)->GetValueAsBool(arg2
,arg3
); 
8661     wxPyEndAllowThreads(__tstate
); 
8662     if (PyErr_Occurred()) SWIG_fail
; 
8665     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8673 SWIGINTERN PyObject 
*_wrap_GridTableBase_SetValueAsLong(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8674   PyObject 
*resultobj 
= 0; 
8675   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
8687   PyObject 
* obj0 
= 0 ; 
8688   PyObject 
* obj1 
= 0 ; 
8689   PyObject 
* obj2 
= 0 ; 
8690   PyObject 
* obj3 
= 0 ; 
8691   char *  kwnames
[] = { 
8692     (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL 
 
8695   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsLong",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
8696   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
8697   if (!SWIG_IsOK(res1
)) { 
8698     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetValueAsLong" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
8700   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
8701   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
8702   if (!SWIG_IsOK(ecode2
)) { 
8703     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_SetValueAsLong" "', expected argument " "2"" of type '" "int""'"); 
8705   arg2 
= static_cast< int >(val2
); 
8706   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
8707   if (!SWIG_IsOK(ecode3
)) { 
8708     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_SetValueAsLong" "', expected argument " "3"" of type '" "int""'"); 
8710   arg3 
= static_cast< int >(val3
); 
8711   ecode4 
= SWIG_AsVal_long(obj3
, &val4
); 
8712   if (!SWIG_IsOK(ecode4
)) { 
8713     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridTableBase_SetValueAsLong" "', expected argument " "4"" of type '" "long""'"); 
8715   arg4 
= static_cast< long >(val4
); 
8717     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8718     (arg1
)->SetValueAsLong(arg2
,arg3
,arg4
); 
8719     wxPyEndAllowThreads(__tstate
); 
8720     if (PyErr_Occurred()) SWIG_fail
; 
8722   resultobj 
= SWIG_Py_Void(); 
8729 SWIGINTERN PyObject 
*_wrap_GridTableBase_SetValueAsDouble(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8730   PyObject 
*resultobj 
= 0; 
8731   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
8743   PyObject 
* obj0 
= 0 ; 
8744   PyObject 
* obj1 
= 0 ; 
8745   PyObject 
* obj2 
= 0 ; 
8746   PyObject 
* obj3 
= 0 ; 
8747   char *  kwnames
[] = { 
8748     (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL 
 
8751   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsDouble",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
8752   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
8753   if (!SWIG_IsOK(res1
)) { 
8754     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetValueAsDouble" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
8756   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
8757   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
8758   if (!SWIG_IsOK(ecode2
)) { 
8759     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_SetValueAsDouble" "', expected argument " "2"" of type '" "int""'"); 
8761   arg2 
= static_cast< int >(val2
); 
8762   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
8763   if (!SWIG_IsOK(ecode3
)) { 
8764     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_SetValueAsDouble" "', expected argument " "3"" of type '" "int""'"); 
8766   arg3 
= static_cast< int >(val3
); 
8767   ecode4 
= SWIG_AsVal_double(obj3
, &val4
); 
8768   if (!SWIG_IsOK(ecode4
)) { 
8769     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridTableBase_SetValueAsDouble" "', expected argument " "4"" of type '" "double""'"); 
8771   arg4 
= static_cast< double >(val4
); 
8773     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8774     (arg1
)->SetValueAsDouble(arg2
,arg3
,arg4
); 
8775     wxPyEndAllowThreads(__tstate
); 
8776     if (PyErr_Occurred()) SWIG_fail
; 
8778   resultobj 
= SWIG_Py_Void(); 
8785 SWIGINTERN PyObject 
*_wrap_GridTableBase_SetValueAsBool(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8786   PyObject 
*resultobj 
= 0; 
8787   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
8799   PyObject 
* obj0 
= 0 ; 
8800   PyObject 
* obj1 
= 0 ; 
8801   PyObject 
* obj2 
= 0 ; 
8802   PyObject 
* obj3 
= 0 ; 
8803   char *  kwnames
[] = { 
8804     (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL 
 
8807   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsBool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
8808   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
8809   if (!SWIG_IsOK(res1
)) { 
8810     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetValueAsBool" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
8812   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
8813   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
8814   if (!SWIG_IsOK(ecode2
)) { 
8815     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_SetValueAsBool" "', expected argument " "2"" of type '" "int""'"); 
8817   arg2 
= static_cast< int >(val2
); 
8818   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
8819   if (!SWIG_IsOK(ecode3
)) { 
8820     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_SetValueAsBool" "', expected argument " "3"" of type '" "int""'"); 
8822   arg3 
= static_cast< int >(val3
); 
8823   ecode4 
= SWIG_AsVal_bool(obj3
, &val4
); 
8824   if (!SWIG_IsOK(ecode4
)) { 
8825     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridTableBase_SetValueAsBool" "', expected argument " "4"" of type '" "bool""'"); 
8827   arg4 
= static_cast< bool >(val4
); 
8829     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8830     (arg1
)->SetValueAsBool(arg2
,arg3
,arg4
); 
8831     wxPyEndAllowThreads(__tstate
); 
8832     if (PyErr_Occurred()) SWIG_fail
; 
8834   resultobj 
= SWIG_Py_Void(); 
8841 SWIGINTERN PyObject 
*_wrap_GridTableBase_Clear(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8842   PyObject 
*resultobj 
= 0; 
8843   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
8846   PyObject 
*swig_obj
[1] ; 
8848   if (!args
) SWIG_fail
; 
8850   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
8851   if (!SWIG_IsOK(res1
)) { 
8852     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_Clear" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
8854   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
8856     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8858     wxPyEndAllowThreads(__tstate
); 
8859     if (PyErr_Occurred()) SWIG_fail
; 
8861   resultobj 
= SWIG_Py_Void(); 
8868 SWIGINTERN PyObject 
*_wrap_GridTableBase_InsertRows(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8869   PyObject 
*resultobj 
= 0; 
8870   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
8871   size_t arg2 
= (size_t) 0 ; 
8872   size_t arg3 
= (size_t) 1 ; 
8880   PyObject 
* obj0 
= 0 ; 
8881   PyObject 
* obj1 
= 0 ; 
8882   PyObject 
* obj2 
= 0 ; 
8883   char *  kwnames
[] = { 
8884     (char *) "self",(char *) "pos",(char *) "numRows", NULL 
 
8887   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
8888   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
8889   if (!SWIG_IsOK(res1
)) { 
8890     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_InsertRows" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
8892   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
8894     ecode2 
= SWIG_AsVal_size_t(obj1
, &val2
); 
8895     if (!SWIG_IsOK(ecode2
)) { 
8896       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_InsertRows" "', expected argument " "2"" of type '" "size_t""'"); 
8898     arg2 
= static_cast< size_t >(val2
); 
8901     ecode3 
= SWIG_AsVal_size_t(obj2
, &val3
); 
8902     if (!SWIG_IsOK(ecode3
)) { 
8903       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_InsertRows" "', expected argument " "3"" of type '" "size_t""'"); 
8905     arg3 
= static_cast< size_t >(val3
); 
8908     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8909     result 
= (bool)(arg1
)->InsertRows(arg2
,arg3
); 
8910     wxPyEndAllowThreads(__tstate
); 
8911     if (PyErr_Occurred()) SWIG_fail
; 
8914     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8922 SWIGINTERN PyObject 
*_wrap_GridTableBase_AppendRows(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8923   PyObject 
*resultobj 
= 0; 
8924   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
8925   size_t arg2 
= (size_t) 1 ; 
8931   PyObject 
* obj0 
= 0 ; 
8932   PyObject 
* obj1 
= 0 ; 
8933   char *  kwnames
[] = { 
8934     (char *) "self",(char *) "numRows", NULL 
 
8937   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridTableBase_AppendRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
8938   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
8939   if (!SWIG_IsOK(res1
)) { 
8940     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_AppendRows" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
8942   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
8944     ecode2 
= SWIG_AsVal_size_t(obj1
, &val2
); 
8945     if (!SWIG_IsOK(ecode2
)) { 
8946       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_AppendRows" "', expected argument " "2"" of type '" "size_t""'"); 
8948     arg2 
= static_cast< size_t >(val2
); 
8951     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8952     result 
= (bool)(arg1
)->AppendRows(arg2
); 
8953     wxPyEndAllowThreads(__tstate
); 
8954     if (PyErr_Occurred()) SWIG_fail
; 
8957     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8965 SWIGINTERN PyObject 
*_wrap_GridTableBase_DeleteRows(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8966   PyObject 
*resultobj 
= 0; 
8967   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
8968   size_t arg2 
= (size_t) 0 ; 
8969   size_t arg3 
= (size_t) 1 ; 
8977   PyObject 
* obj0 
= 0 ; 
8978   PyObject 
* obj1 
= 0 ; 
8979   PyObject 
* obj2 
= 0 ; 
8980   char *  kwnames
[] = { 
8981     (char *) "self",(char *) "pos",(char *) "numRows", NULL 
 
8984   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
8985   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
8986   if (!SWIG_IsOK(res1
)) { 
8987     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_DeleteRows" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
8989   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
8991     ecode2 
= SWIG_AsVal_size_t(obj1
, &val2
); 
8992     if (!SWIG_IsOK(ecode2
)) { 
8993       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_DeleteRows" "', expected argument " "2"" of type '" "size_t""'"); 
8995     arg2 
= static_cast< size_t >(val2
); 
8998     ecode3 
= SWIG_AsVal_size_t(obj2
, &val3
); 
8999     if (!SWIG_IsOK(ecode3
)) { 
9000       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_DeleteRows" "', expected argument " "3"" of type '" "size_t""'"); 
9002     arg3 
= static_cast< size_t >(val3
); 
9005     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9006     result 
= (bool)(arg1
)->DeleteRows(arg2
,arg3
); 
9007     wxPyEndAllowThreads(__tstate
); 
9008     if (PyErr_Occurred()) SWIG_fail
; 
9011     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9019 SWIGINTERN PyObject 
*_wrap_GridTableBase_InsertCols(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9020   PyObject 
*resultobj 
= 0; 
9021   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
9022   size_t arg2 
= (size_t) 0 ; 
9023   size_t arg3 
= (size_t) 1 ; 
9031   PyObject 
* obj0 
= 0 ; 
9032   PyObject 
* obj1 
= 0 ; 
9033   PyObject 
* obj2 
= 0 ; 
9034   char *  kwnames
[] = { 
9035     (char *) "self",(char *) "pos",(char *) "numCols", NULL 
 
9038   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
9039   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
9040   if (!SWIG_IsOK(res1
)) { 
9041     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_InsertCols" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
9043   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
9045     ecode2 
= SWIG_AsVal_size_t(obj1
, &val2
); 
9046     if (!SWIG_IsOK(ecode2
)) { 
9047       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_InsertCols" "', expected argument " "2"" of type '" "size_t""'"); 
9049     arg2 
= static_cast< size_t >(val2
); 
9052     ecode3 
= SWIG_AsVal_size_t(obj2
, &val3
); 
9053     if (!SWIG_IsOK(ecode3
)) { 
9054       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_InsertCols" "', expected argument " "3"" of type '" "size_t""'"); 
9056     arg3 
= static_cast< size_t >(val3
); 
9059     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9060     result 
= (bool)(arg1
)->InsertCols(arg2
,arg3
); 
9061     wxPyEndAllowThreads(__tstate
); 
9062     if (PyErr_Occurred()) SWIG_fail
; 
9065     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9073 SWIGINTERN PyObject 
*_wrap_GridTableBase_AppendCols(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9074   PyObject 
*resultobj 
= 0; 
9075   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
9076   size_t arg2 
= (size_t) 1 ; 
9082   PyObject 
* obj0 
= 0 ; 
9083   PyObject 
* obj1 
= 0 ; 
9084   char *  kwnames
[] = { 
9085     (char *) "self",(char *) "numCols", NULL 
 
9088   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridTableBase_AppendCols",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9089   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
9090   if (!SWIG_IsOK(res1
)) { 
9091     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_AppendCols" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
9093   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
9095     ecode2 
= SWIG_AsVal_size_t(obj1
, &val2
); 
9096     if (!SWIG_IsOK(ecode2
)) { 
9097       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_AppendCols" "', expected argument " "2"" of type '" "size_t""'"); 
9099     arg2 
= static_cast< size_t >(val2
); 
9102     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9103     result 
= (bool)(arg1
)->AppendCols(arg2
); 
9104     wxPyEndAllowThreads(__tstate
); 
9105     if (PyErr_Occurred()) SWIG_fail
; 
9108     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9116 SWIGINTERN PyObject 
*_wrap_GridTableBase_DeleteCols(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9117   PyObject 
*resultobj 
= 0; 
9118   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
9119   size_t arg2 
= (size_t) 0 ; 
9120   size_t arg3 
= (size_t) 1 ; 
9128   PyObject 
* obj0 
= 0 ; 
9129   PyObject 
* obj1 
= 0 ; 
9130   PyObject 
* obj2 
= 0 ; 
9131   char *  kwnames
[] = { 
9132     (char *) "self",(char *) "pos",(char *) "numCols", NULL 
 
9135   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
9136   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
9137   if (!SWIG_IsOK(res1
)) { 
9138     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_DeleteCols" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
9140   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
9142     ecode2 
= SWIG_AsVal_size_t(obj1
, &val2
); 
9143     if (!SWIG_IsOK(ecode2
)) { 
9144       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_DeleteCols" "', expected argument " "2"" of type '" "size_t""'"); 
9146     arg2 
= static_cast< size_t >(val2
); 
9149     ecode3 
= SWIG_AsVal_size_t(obj2
, &val3
); 
9150     if (!SWIG_IsOK(ecode3
)) { 
9151       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_DeleteCols" "', expected argument " "3"" of type '" "size_t""'"); 
9153     arg3 
= static_cast< size_t >(val3
); 
9156     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9157     result 
= (bool)(arg1
)->DeleteCols(arg2
,arg3
); 
9158     wxPyEndAllowThreads(__tstate
); 
9159     if (PyErr_Occurred()) SWIG_fail
; 
9162     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9170 SWIGINTERN PyObject 
*_wrap_GridTableBase_GetRowLabelValue(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9171   PyObject 
*resultobj 
= 0; 
9172   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
9179   PyObject 
* obj0 
= 0 ; 
9180   PyObject 
* obj1 
= 0 ; 
9181   char *  kwnames
[] = { 
9182     (char *) "self",(char *) "row", NULL 
 
9185   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9186   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
9187   if (!SWIG_IsOK(res1
)) { 
9188     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetRowLabelValue" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
9190   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
9191   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9192   if (!SWIG_IsOK(ecode2
)) { 
9193     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_GetRowLabelValue" "', expected argument " "2"" of type '" "int""'"); 
9195   arg2 
= static_cast< int >(val2
); 
9197     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9198     result 
= (arg1
)->GetRowLabelValue(arg2
); 
9199     wxPyEndAllowThreads(__tstate
); 
9200     if (PyErr_Occurred()) SWIG_fail
; 
9204     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
9206     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
9215 SWIGINTERN PyObject 
*_wrap_GridTableBase_GetColLabelValue(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9216   PyObject 
*resultobj 
= 0; 
9217   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
9224   PyObject 
* obj0 
= 0 ; 
9225   PyObject 
* obj1 
= 0 ; 
9226   char *  kwnames
[] = { 
9227     (char *) "self",(char *) "col", NULL 
 
9230   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_GetColLabelValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9231   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
9232   if (!SWIG_IsOK(res1
)) { 
9233     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetColLabelValue" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
9235   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
9236   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9237   if (!SWIG_IsOK(ecode2
)) { 
9238     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_GetColLabelValue" "', expected argument " "2"" of type '" "int""'"); 
9240   arg2 
= static_cast< int >(val2
); 
9242     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9243     result 
= (arg1
)->GetColLabelValue(arg2
); 
9244     wxPyEndAllowThreads(__tstate
); 
9245     if (PyErr_Occurred()) SWIG_fail
; 
9249     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
9251     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
9260 SWIGINTERN PyObject 
*_wrap_GridTableBase_SetRowLabelValue(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9261   PyObject 
*resultobj 
= 0; 
9262   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
9264   wxString 
*arg3 
= 0 ; 
9269   bool temp3 
= false ; 
9270   PyObject 
* obj0 
= 0 ; 
9271   PyObject 
* obj1 
= 0 ; 
9272   PyObject 
* obj2 
= 0 ; 
9273   char *  kwnames
[] = { 
9274     (char *) "self",(char *) "row",(char *) "value", NULL 
 
9277   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
9278   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
9279   if (!SWIG_IsOK(res1
)) { 
9280     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetRowLabelValue" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
9282   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
9283   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9284   if (!SWIG_IsOK(ecode2
)) { 
9285     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_SetRowLabelValue" "', expected argument " "2"" of type '" "int""'"); 
9287   arg2 
= static_cast< int >(val2
); 
9289     arg3 
= wxString_in_helper(obj2
); 
9290     if (arg3 
== NULL
) SWIG_fail
; 
9294     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9295     (arg1
)->SetRowLabelValue(arg2
,(wxString 
const &)*arg3
); 
9296     wxPyEndAllowThreads(__tstate
); 
9297     if (PyErr_Occurred()) SWIG_fail
; 
9299   resultobj 
= SWIG_Py_Void(); 
9314 SWIGINTERN PyObject 
*_wrap_GridTableBase_SetColLabelValue(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9315   PyObject 
*resultobj 
= 0; 
9316   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
9318   wxString 
*arg3 
= 0 ; 
9323   bool temp3 
= false ; 
9324   PyObject 
* obj0 
= 0 ; 
9325   PyObject 
* obj1 
= 0 ; 
9326   PyObject 
* obj2 
= 0 ; 
9327   char *  kwnames
[] = { 
9328     (char *) "self",(char *) "col",(char *) "value", NULL 
 
9331   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
9332   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
9333   if (!SWIG_IsOK(res1
)) { 
9334     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetColLabelValue" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
9336   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
9337   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9338   if (!SWIG_IsOK(ecode2
)) { 
9339     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_SetColLabelValue" "', expected argument " "2"" of type '" "int""'"); 
9341   arg2 
= static_cast< int >(val2
); 
9343     arg3 
= wxString_in_helper(obj2
); 
9344     if (arg3 
== NULL
) SWIG_fail
; 
9348     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9349     (arg1
)->SetColLabelValue(arg2
,(wxString 
const &)*arg3
); 
9350     wxPyEndAllowThreads(__tstate
); 
9351     if (PyErr_Occurred()) SWIG_fail
; 
9353   resultobj 
= SWIG_Py_Void(); 
9368 SWIGINTERN PyObject 
*_wrap_GridTableBase_CanHaveAttributes(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9369   PyObject 
*resultobj 
= 0; 
9370   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
9374   PyObject 
*swig_obj
[1] ; 
9376   if (!args
) SWIG_fail
; 
9378   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
9379   if (!SWIG_IsOK(res1
)) { 
9380     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_CanHaveAttributes" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
9382   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
9384     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9385     result 
= (bool)(arg1
)->CanHaveAttributes(); 
9386     wxPyEndAllowThreads(__tstate
); 
9387     if (PyErr_Occurred()) SWIG_fail
; 
9390     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9398 SWIGINTERN PyObject 
*_wrap_GridTableBase_GetAttr(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9399   PyObject 
*resultobj 
= 0; 
9400   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
9403   wxGridCellAttr::wxAttrKind arg4 
; 
9404   wxGridCellAttr 
*result 
= 0 ; 
9413   PyObject 
* obj0 
= 0 ; 
9414   PyObject 
* obj1 
= 0 ; 
9415   PyObject 
* obj2 
= 0 ; 
9416   PyObject 
* obj3 
= 0 ; 
9417   char *  kwnames
[] = { 
9418     (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL 
 
9421   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
9422   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
9423   if (!SWIG_IsOK(res1
)) { 
9424     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetAttr" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
9426   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
9427   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9428   if (!SWIG_IsOK(ecode2
)) { 
9429     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_GetAttr" "', expected argument " "2"" of type '" "int""'"); 
9431   arg2 
= static_cast< int >(val2
); 
9432   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
9433   if (!SWIG_IsOK(ecode3
)) { 
9434     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_GetAttr" "', expected argument " "3"" of type '" "int""'"); 
9436   arg3 
= static_cast< int >(val3
); 
9437   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
9438   if (!SWIG_IsOK(ecode4
)) { 
9439     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridTableBase_GetAttr" "', expected argument " "4"" of type '" "wxGridCellAttr::wxAttrKind""'"); 
9441   arg4 
= static_cast< wxGridCellAttr::wxAttrKind 
>(val4
); 
9443     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9444     result 
= (wxGridCellAttr 
*)(arg1
)->GetAttr(arg2
,arg3
,arg4
); 
9445     wxPyEndAllowThreads(__tstate
); 
9446     if (PyErr_Occurred()) SWIG_fail
; 
9449     resultobj 
= wxPyMake_wxGridCellAttr(result
,     (bool)0);  
9457 SWIGINTERN PyObject 
*_wrap_GridTableBase_SetAttr(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9458   PyObject 
*resultobj 
= 0; 
9459   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
9460   wxGridCellAttr 
*arg2 
= (wxGridCellAttr 
*) 0 ; 
9471   PyObject 
* obj0 
= 0 ; 
9472   PyObject 
* obj1 
= 0 ; 
9473   PyObject 
* obj2 
= 0 ; 
9474   PyObject 
* obj3 
= 0 ; 
9475   char *  kwnames
[] = { 
9476     (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL 
 
9479   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
9480   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
9481   if (!SWIG_IsOK(res1
)) { 
9482     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetAttr" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
9484   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
9485   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
9486   if (!SWIG_IsOK(res2
)) { 
9487     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridTableBase_SetAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");  
9489   arg2 
= reinterpret_cast< wxGridCellAttr 
* >(argp2
); 
9490   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
9491   if (!SWIG_IsOK(ecode3
)) { 
9492     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_SetAttr" "', expected argument " "3"" of type '" "int""'"); 
9494   arg3 
= static_cast< int >(val3
); 
9495   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
9496   if (!SWIG_IsOK(ecode4
)) { 
9497     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridTableBase_SetAttr" "', expected argument " "4"" of type '" "int""'"); 
9499   arg4 
= static_cast< int >(val4
); 
9501     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9502     (arg1
)->SetAttr(arg2
,arg3
,arg4
); 
9503     wxPyEndAllowThreads(__tstate
); 
9504     if (PyErr_Occurred()) SWIG_fail
; 
9506   resultobj 
= SWIG_Py_Void(); 
9513 SWIGINTERN PyObject 
*_wrap_GridTableBase_SetRowAttr(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9514   PyObject 
*resultobj 
= 0; 
9515   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
9516   wxGridCellAttr 
*arg2 
= (wxGridCellAttr 
*) 0 ; 
9524   PyObject 
* obj0 
= 0 ; 
9525   PyObject 
* obj1 
= 0 ; 
9526   PyObject 
* obj2 
= 0 ; 
9527   char *  kwnames
[] = { 
9528     (char *) "self",(char *) "attr",(char *) "row", NULL 
 
9531   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
9532   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
9533   if (!SWIG_IsOK(res1
)) { 
9534     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetRowAttr" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
9536   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
9537   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
9538   if (!SWIG_IsOK(res2
)) { 
9539     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridTableBase_SetRowAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");  
9541   arg2 
= reinterpret_cast< wxGridCellAttr 
* >(argp2
); 
9542   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
9543   if (!SWIG_IsOK(ecode3
)) { 
9544     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_SetRowAttr" "', expected argument " "3"" of type '" "int""'"); 
9546   arg3 
= static_cast< int >(val3
); 
9548     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9549     (arg1
)->SetRowAttr(arg2
,arg3
); 
9550     wxPyEndAllowThreads(__tstate
); 
9551     if (PyErr_Occurred()) SWIG_fail
; 
9553   resultobj 
= SWIG_Py_Void(); 
9560 SWIGINTERN PyObject 
*_wrap_GridTableBase_SetColAttr(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9561   PyObject 
*resultobj 
= 0; 
9562   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
9563   wxGridCellAttr 
*arg2 
= (wxGridCellAttr 
*) 0 ; 
9571   PyObject 
* obj0 
= 0 ; 
9572   PyObject 
* obj1 
= 0 ; 
9573   PyObject 
* obj2 
= 0 ; 
9574   char *  kwnames
[] = { 
9575     (char *) "self",(char *) "attr",(char *) "col", NULL 
 
9578   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
9579   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
9580   if (!SWIG_IsOK(res1
)) { 
9581     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetColAttr" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
9583   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
9584   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
9585   if (!SWIG_IsOK(res2
)) { 
9586     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridTableBase_SetColAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");  
9588   arg2 
= reinterpret_cast< wxGridCellAttr 
* >(argp2
); 
9589   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
9590   if (!SWIG_IsOK(ecode3
)) { 
9591     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_SetColAttr" "', expected argument " "3"" of type '" "int""'"); 
9593   arg3 
= static_cast< int >(val3
); 
9595     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9596     (arg1
)->SetColAttr(arg2
,arg3
); 
9597     wxPyEndAllowThreads(__tstate
); 
9598     if (PyErr_Occurred()) SWIG_fail
; 
9600   resultobj 
= SWIG_Py_Void(); 
9607 SWIGINTERN PyObject 
*GridTableBase_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9609   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
9610   SWIG_TypeNewClientData(SWIGTYPE_p_wxGridTableBase
, SWIG_NewClientData(obj
)); 
9611   return SWIG_Py_Void(); 
9614 SWIGINTERN PyObject 
*_wrap_new_PyGridTableBase(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9615   PyObject 
*resultobj 
= 0; 
9616   wxPyGridTableBase 
*result 
= 0 ; 
9618   if (!SWIG_Python_UnpackTuple(args
,"new_PyGridTableBase",0,0,0)) SWIG_fail
; 
9620     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9621     result 
= (wxPyGridTableBase 
*)new wxPyGridTableBase(); 
9622     wxPyEndAllowThreads(__tstate
); 
9623     if (PyErr_Occurred()) SWIG_fail
; 
9625   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_NEW 
|  0 ); 
9632 SWIGINTERN PyObject 
*_wrap_PyGridTableBase__setCallbackInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9633   PyObject 
*resultobj 
= 0; 
9634   wxPyGridTableBase 
*arg1 
= (wxPyGridTableBase 
*) 0 ; 
9635   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
9636   PyObject 
*arg3 
= (PyObject 
*) 0 ; 
9639   PyObject 
* obj0 
= 0 ; 
9640   PyObject 
* obj1 
= 0 ; 
9641   PyObject 
* obj2 
= 0 ; 
9642   char *  kwnames
[] = { 
9643     (char *) "self",(char *) "self",(char *) "_class", NULL 
 
9646   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
9647   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridTableBase
, 0 |  0 ); 
9648   if (!SWIG_IsOK(res1
)) { 
9649     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridTableBase__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyGridTableBase *""'");  
9651   arg1 
= reinterpret_cast< wxPyGridTableBase 
* >(argp1
); 
9655     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9656     (arg1
)->_setCallbackInfo(arg2
,arg3
); 
9657     wxPyEndAllowThreads(__tstate
); 
9658     if (PyErr_Occurred()) SWIG_fail
; 
9660   resultobj 
= SWIG_Py_Void(); 
9667 SWIGINTERN PyObject 
*_wrap_PyGridTableBase_Destroy(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9668   PyObject 
*resultobj 
= 0; 
9669   wxPyGridTableBase 
*arg1 
= (wxPyGridTableBase 
*) 0 ; 
9672   PyObject 
*swig_obj
[1] ; 
9674   if (!args
) SWIG_fail
; 
9676   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyGridTableBase
, 0 |  0 ); 
9677   if (!SWIG_IsOK(res1
)) { 
9678     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridTableBase_Destroy" "', expected argument " "1"" of type '" "wxPyGridTableBase *""'");  
9680   arg1 
= reinterpret_cast< wxPyGridTableBase 
* >(argp1
); 
9682     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9683     wxPyGridTableBase_Destroy(arg1
); 
9684     wxPyEndAllowThreads(__tstate
); 
9685     if (PyErr_Occurred()) SWIG_fail
; 
9687   resultobj 
= SWIG_Py_Void(); 
9694 SWIGINTERN PyObject 
*PyGridTableBase_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9696   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
9697   SWIG_TypeNewClientData(SWIGTYPE_p_wxPyGridTableBase
, SWIG_NewClientData(obj
)); 
9698   return SWIG_Py_Void(); 
9701 SWIGINTERN PyObject 
*PyGridTableBase_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9702   return SWIG_Python_InitShadowInstance(args
); 
9705 SWIGINTERN PyObject 
*_wrap_new_GridStringTable(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9706   PyObject 
*resultobj 
= 0; 
9707   int arg1 
= (int) 0 ; 
9708   int arg2 
= (int) 0 ; 
9709   wxGridStringTable 
*result 
= 0 ; 
9714   PyObject 
* obj0 
= 0 ; 
9715   PyObject 
* obj1 
= 0 ; 
9716   char *  kwnames
[] = { 
9717     (char *) "numRows",(char *) "numCols", NULL 
 
9720   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridStringTable",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9722     ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
9723     if (!SWIG_IsOK(ecode1
)) { 
9724       SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridStringTable" "', expected argument " "1"" of type '" "int""'"); 
9726     arg1 
= static_cast< int >(val1
); 
9729     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9730     if (!SWIG_IsOK(ecode2
)) { 
9731       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridStringTable" "', expected argument " "2"" of type '" "int""'"); 
9733     arg2 
= static_cast< int >(val2
); 
9736     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9737     result 
= (wxGridStringTable 
*)new wxGridStringTable(arg1
,arg2
); 
9738     wxPyEndAllowThreads(__tstate
); 
9739     if (PyErr_Occurred()) SWIG_fail
; 
9741   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridStringTable
, SWIG_POINTER_NEW 
|  0 ); 
9748 SWIGINTERN PyObject 
*GridStringTable_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9750   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
9751   SWIG_TypeNewClientData(SWIGTYPE_p_wxGridStringTable
, SWIG_NewClientData(obj
)); 
9752   return SWIG_Py_Void(); 
9755 SWIGINTERN PyObject 
*GridStringTable_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9756   return SWIG_Python_InitShadowInstance(args
); 
9759 SWIGINTERN PyObject 
*_wrap_new_GridTableMessage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9760   PyObject 
*resultobj 
= 0; 
9761   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
9763   int arg3 
= (int) -1 ; 
9764   int arg4 
= (int) -1 ; 
9765   wxGridTableMessage 
*result 
= 0 ; 
9774   PyObject 
* obj0 
= 0 ; 
9775   PyObject 
* obj1 
= 0 ; 
9776   PyObject 
* obj2 
= 0 ; 
9777   PyObject 
* obj3 
= 0 ; 
9778   char *  kwnames
[] = { 
9779     (char *) "table",(char *) "id",(char *) "comInt1",(char *) "comInt2", NULL 
 
9782   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_GridTableMessage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
9783   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
9784   if (!SWIG_IsOK(res1
)) { 
9785     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GridTableMessage" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
9787   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
9788   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9789   if (!SWIG_IsOK(ecode2
)) { 
9790     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridTableMessage" "', expected argument " "2"" of type '" "int""'"); 
9792   arg2 
= static_cast< int >(val2
); 
9794     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
9795     if (!SWIG_IsOK(ecode3
)) { 
9796       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_GridTableMessage" "', expected argument " "3"" of type '" "int""'"); 
9798     arg3 
= static_cast< int >(val3
); 
9801     ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
9802     if (!SWIG_IsOK(ecode4
)) { 
9803       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_GridTableMessage" "', expected argument " "4"" of type '" "int""'"); 
9805     arg4 
= static_cast< int >(val4
); 
9808     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9809     result 
= (wxGridTableMessage 
*)new wxGridTableMessage(arg1
,arg2
,arg3
,arg4
); 
9810     wxPyEndAllowThreads(__tstate
); 
9811     if (PyErr_Occurred()) SWIG_fail
; 
9813   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_NEW 
|  0 ); 
9820 SWIGINTERN PyObject 
*_wrap_delete_GridTableMessage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9821   PyObject 
*resultobj 
= 0; 
9822   wxGridTableMessage 
*arg1 
= (wxGridTableMessage 
*) 0 ; 
9825   PyObject 
*swig_obj
[1] ; 
9827   if (!args
) SWIG_fail
; 
9829   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_DISOWN 
|  0 ); 
9830   if (!SWIG_IsOK(res1
)) { 
9831     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GridTableMessage" "', expected argument " "1"" of type '" "wxGridTableMessage *""'");  
9833   arg1 
= reinterpret_cast< wxGridTableMessage 
* >(argp1
); 
9835     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9838     wxPyEndAllowThreads(__tstate
); 
9839     if (PyErr_Occurred()) SWIG_fail
; 
9841   resultobj 
= SWIG_Py_Void(); 
9848 SWIGINTERN PyObject 
*_wrap_GridTableMessage_SetTableObject(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9849   PyObject 
*resultobj 
= 0; 
9850   wxGridTableMessage 
*arg1 
= (wxGridTableMessage 
*) 0 ; 
9851   wxGridTableBase 
*arg2 
= (wxGridTableBase 
*) 0 ; 
9856   PyObject 
* obj0 
= 0 ; 
9857   PyObject 
* obj1 
= 0 ; 
9858   char *  kwnames
[] = { 
9859     (char *) "self",(char *) "table", NULL 
 
9862   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetTableObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9863   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableMessage
, 0 |  0 ); 
9864   if (!SWIG_IsOK(res1
)) { 
9865     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableMessage_SetTableObject" "', expected argument " "1"" of type '" "wxGridTableMessage *""'");  
9867   arg1 
= reinterpret_cast< wxGridTableMessage 
* >(argp1
); 
9868   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
9869   if (!SWIG_IsOK(res2
)) { 
9870     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridTableMessage_SetTableObject" "', expected argument " "2"" of type '" "wxGridTableBase *""'");  
9872   arg2 
= reinterpret_cast< wxGridTableBase 
* >(argp2
); 
9874     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9875     (arg1
)->SetTableObject(arg2
); 
9876     wxPyEndAllowThreads(__tstate
); 
9877     if (PyErr_Occurred()) SWIG_fail
; 
9879   resultobj 
= SWIG_Py_Void(); 
9886 SWIGINTERN PyObject 
*_wrap_GridTableMessage_GetTableObject(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9887   PyObject 
*resultobj 
= 0; 
9888   wxGridTableMessage 
*arg1 
= (wxGridTableMessage 
*) 0 ; 
9889   wxGridTableBase 
*result 
= 0 ; 
9892   PyObject 
*swig_obj
[1] ; 
9894   if (!args
) SWIG_fail
; 
9896   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableMessage
, 0 |  0 ); 
9897   if (!SWIG_IsOK(res1
)) { 
9898     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableMessage_GetTableObject" "', expected argument " "1"" of type '" "wxGridTableMessage const *""'");  
9900   arg1 
= reinterpret_cast< wxGridTableMessage 
* >(argp1
); 
9902     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9903     result 
= (wxGridTableBase 
*)((wxGridTableMessage 
const *)arg1
)->GetTableObject(); 
9904     wxPyEndAllowThreads(__tstate
); 
9905     if (PyErr_Occurred()) SWIG_fail
; 
9908     resultobj 
= wxPyMake_wxGridTableBase(result
,    (bool)0);  
9916 SWIGINTERN PyObject 
*_wrap_GridTableMessage_SetId(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9917   PyObject 
*resultobj 
= 0; 
9918   wxGridTableMessage 
*arg1 
= (wxGridTableMessage 
*) 0 ; 
9924   PyObject 
* obj0 
= 0 ; 
9925   PyObject 
* obj1 
= 0 ; 
9926   char *  kwnames
[] = { 
9927     (char *) "self",(char *) "id", NULL 
 
9930   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9931   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableMessage
, 0 |  0 ); 
9932   if (!SWIG_IsOK(res1
)) { 
9933     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableMessage_SetId" "', expected argument " "1"" of type '" "wxGridTableMessage *""'");  
9935   arg1 
= reinterpret_cast< wxGridTableMessage 
* >(argp1
); 
9936   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9937   if (!SWIG_IsOK(ecode2
)) { 
9938     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableMessage_SetId" "', expected argument " "2"" of type '" "int""'"); 
9940   arg2 
= static_cast< int >(val2
); 
9942     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9943     (arg1
)->SetId(arg2
); 
9944     wxPyEndAllowThreads(__tstate
); 
9945     if (PyErr_Occurred()) SWIG_fail
; 
9947   resultobj 
= SWIG_Py_Void(); 
9954 SWIGINTERN PyObject 
*_wrap_GridTableMessage_GetId(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9955   PyObject 
*resultobj 
= 0; 
9956   wxGridTableMessage 
*arg1 
= (wxGridTableMessage 
*) 0 ; 
9960   PyObject 
*swig_obj
[1] ; 
9962   if (!args
) SWIG_fail
; 
9964   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableMessage
, 0 |  0 ); 
9965   if (!SWIG_IsOK(res1
)) { 
9966     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableMessage_GetId" "', expected argument " "1"" of type '" "wxGridTableMessage *""'");  
9968   arg1 
= reinterpret_cast< wxGridTableMessage 
* >(argp1
); 
9970     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9971     result 
= (int)(arg1
)->GetId(); 
9972     wxPyEndAllowThreads(__tstate
); 
9973     if (PyErr_Occurred()) SWIG_fail
; 
9975   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
9982 SWIGINTERN PyObject 
*_wrap_GridTableMessage_SetCommandInt(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9983   PyObject 
*resultobj 
= 0; 
9984   wxGridTableMessage 
*arg1 
= (wxGridTableMessage 
*) 0 ; 
9990   PyObject 
* obj0 
= 0 ; 
9991   PyObject 
* obj1 
= 0 ; 
9992   char *  kwnames
[] = { 
9993     (char *) "self",(char *) "comInt1", NULL 
 
9996   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetCommandInt",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9997   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableMessage
, 0 |  0 ); 
9998   if (!SWIG_IsOK(res1
)) { 
9999     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableMessage_SetCommandInt" "', expected argument " "1"" of type '" "wxGridTableMessage *""'");  
10001   arg1 
= reinterpret_cast< wxGridTableMessage 
* >(argp1
); 
10002   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10003   if (!SWIG_IsOK(ecode2
)) { 
10004     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableMessage_SetCommandInt" "', expected argument " "2"" of type '" "int""'"); 
10006   arg2 
= static_cast< int >(val2
); 
10008     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10009     (arg1
)->SetCommandInt(arg2
); 
10010     wxPyEndAllowThreads(__tstate
); 
10011     if (PyErr_Occurred()) SWIG_fail
; 
10013   resultobj 
= SWIG_Py_Void(); 
10020 SWIGINTERN PyObject 
*_wrap_GridTableMessage_GetCommandInt(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10021   PyObject 
*resultobj 
= 0; 
10022   wxGridTableMessage 
*arg1 
= (wxGridTableMessage 
*) 0 ; 
10026   PyObject 
*swig_obj
[1] ; 
10028   if (!args
) SWIG_fail
; 
10029   swig_obj
[0] = args
; 
10030   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableMessage
, 0 |  0 ); 
10031   if (!SWIG_IsOK(res1
)) { 
10032     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableMessage_GetCommandInt" "', expected argument " "1"" of type '" "wxGridTableMessage *""'");  
10034   arg1 
= reinterpret_cast< wxGridTableMessage 
* >(argp1
); 
10036     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10037     result 
= (int)(arg1
)->GetCommandInt(); 
10038     wxPyEndAllowThreads(__tstate
); 
10039     if (PyErr_Occurred()) SWIG_fail
; 
10041   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
10048 SWIGINTERN PyObject 
*_wrap_GridTableMessage_SetCommandInt2(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10049   PyObject 
*resultobj 
= 0; 
10050   wxGridTableMessage 
*arg1 
= (wxGridTableMessage 
*) 0 ; 
10056   PyObject 
* obj0 
= 0 ; 
10057   PyObject 
* obj1 
= 0 ; 
10058   char *  kwnames
[] = { 
10059     (char *) "self",(char *) "comInt2", NULL 
 
10062   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetCommandInt2",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10063   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableMessage
, 0 |  0 ); 
10064   if (!SWIG_IsOK(res1
)) { 
10065     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableMessage_SetCommandInt2" "', expected argument " "1"" of type '" "wxGridTableMessage *""'");  
10067   arg1 
= reinterpret_cast< wxGridTableMessage 
* >(argp1
); 
10068   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10069   if (!SWIG_IsOK(ecode2
)) { 
10070     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableMessage_SetCommandInt2" "', expected argument " "2"" of type '" "int""'"); 
10072   arg2 
= static_cast< int >(val2
); 
10074     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10075     (arg1
)->SetCommandInt2(arg2
); 
10076     wxPyEndAllowThreads(__tstate
); 
10077     if (PyErr_Occurred()) SWIG_fail
; 
10079   resultobj 
= SWIG_Py_Void(); 
10086 SWIGINTERN PyObject 
*_wrap_GridTableMessage_GetCommandInt2(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10087   PyObject 
*resultobj 
= 0; 
10088   wxGridTableMessage 
*arg1 
= (wxGridTableMessage 
*) 0 ; 
10092   PyObject 
*swig_obj
[1] ; 
10094   if (!args
) SWIG_fail
; 
10095   swig_obj
[0] = args
; 
10096   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableMessage
, 0 |  0 ); 
10097   if (!SWIG_IsOK(res1
)) { 
10098     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableMessage_GetCommandInt2" "', expected argument " "1"" of type '" "wxGridTableMessage *""'");  
10100   arg1 
= reinterpret_cast< wxGridTableMessage 
* >(argp1
); 
10102     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10103     result 
= (int)(arg1
)->GetCommandInt2(); 
10104     wxPyEndAllowThreads(__tstate
); 
10105     if (PyErr_Occurred()) SWIG_fail
; 
10107   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
10114 SWIGINTERN PyObject 
*GridTableMessage_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10116   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
10117   SWIG_TypeNewClientData(SWIGTYPE_p_wxGridTableMessage
, SWIG_NewClientData(obj
)); 
10118   return SWIG_Py_Void(); 
10121 SWIGINTERN PyObject 
*GridTableMessage_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10122   return SWIG_Python_InitShadowInstance(args
); 
10125 SWIGINTERN PyObject 
*_wrap_new_GridCellCoords(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10126   PyObject 
*resultobj 
= 0; 
10127   int arg1 
= (int) -1 ; 
10128   int arg2 
= (int) -1 ; 
10129   wxGridCellCoords 
*result 
= 0 ; 
10134   PyObject 
* obj0 
= 0 ; 
10135   PyObject 
* obj1 
= 0 ; 
10136   char *  kwnames
[] = { 
10137     (char *) "r",(char *) "c", NULL 
 
10140   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellCoords",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10142     ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
10143     if (!SWIG_IsOK(ecode1
)) { 
10144       SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridCellCoords" "', expected argument " "1"" of type '" "int""'"); 
10146     arg1 
= static_cast< int >(val1
); 
10149     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10150     if (!SWIG_IsOK(ecode2
)) { 
10151       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridCellCoords" "', expected argument " "2"" of type '" "int""'"); 
10153     arg2 
= static_cast< int >(val2
); 
10156     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10157     result 
= (wxGridCellCoords 
*)new wxGridCellCoords(arg1
,arg2
); 
10158     wxPyEndAllowThreads(__tstate
); 
10159     if (PyErr_Occurred()) SWIG_fail
; 
10161   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_NEW 
|  0 ); 
10168 SWIGINTERN PyObject 
*_wrap_delete_GridCellCoords(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10169   PyObject 
*resultobj 
= 0; 
10170   wxGridCellCoords 
*arg1 
= (wxGridCellCoords 
*) 0 ; 
10173   PyObject 
*swig_obj
[1] ; 
10175   if (!args
) SWIG_fail
; 
10176   swig_obj
[0] = args
; 
10177   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_DISOWN 
|  0 ); 
10178   if (!SWIG_IsOK(res1
)) { 
10179     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GridCellCoords" "', expected argument " "1"" of type '" "wxGridCellCoords *""'");  
10181   arg1 
= reinterpret_cast< wxGridCellCoords 
* >(argp1
); 
10183     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10186     wxPyEndAllowThreads(__tstate
); 
10187     if (PyErr_Occurred()) SWIG_fail
; 
10189   resultobj 
= SWIG_Py_Void(); 
10196 SWIGINTERN PyObject 
*_wrap_GridCellCoords_GetRow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10197   PyObject 
*resultobj 
= 0; 
10198   wxGridCellCoords 
*arg1 
= (wxGridCellCoords 
*) 0 ; 
10202   PyObject 
*swig_obj
[1] ; 
10204   if (!args
) SWIG_fail
; 
10205   swig_obj
[0] = args
; 
10206   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellCoords
, 0 |  0 ); 
10207   if (!SWIG_IsOK(res1
)) { 
10208     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellCoords_GetRow" "', expected argument " "1"" of type '" "wxGridCellCoords const *""'");  
10210   arg1 
= reinterpret_cast< wxGridCellCoords 
* >(argp1
); 
10212     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10213     result 
= (int)((wxGridCellCoords 
const *)arg1
)->GetRow(); 
10214     wxPyEndAllowThreads(__tstate
); 
10215     if (PyErr_Occurred()) SWIG_fail
; 
10217   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
10224 SWIGINTERN PyObject 
*_wrap_GridCellCoords_SetRow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10225   PyObject 
*resultobj 
= 0; 
10226   wxGridCellCoords 
*arg1 
= (wxGridCellCoords 
*) 0 ; 
10232   PyObject 
* obj0 
= 0 ; 
10233   PyObject 
* obj1 
= 0 ; 
10234   char *  kwnames
[] = { 
10235     (char *) "self",(char *) "n", NULL 
 
10238   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords_SetRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10239   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellCoords
, 0 |  0 ); 
10240   if (!SWIG_IsOK(res1
)) { 
10241     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellCoords_SetRow" "', expected argument " "1"" of type '" "wxGridCellCoords *""'");  
10243   arg1 
= reinterpret_cast< wxGridCellCoords 
* >(argp1
); 
10244   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10245   if (!SWIG_IsOK(ecode2
)) { 
10246     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellCoords_SetRow" "', expected argument " "2"" of type '" "int""'"); 
10248   arg2 
= static_cast< int >(val2
); 
10250     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10251     (arg1
)->SetRow(arg2
); 
10252     wxPyEndAllowThreads(__tstate
); 
10253     if (PyErr_Occurred()) SWIG_fail
; 
10255   resultobj 
= SWIG_Py_Void(); 
10262 SWIGINTERN PyObject 
*_wrap_GridCellCoords_GetCol(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10263   PyObject 
*resultobj 
= 0; 
10264   wxGridCellCoords 
*arg1 
= (wxGridCellCoords 
*) 0 ; 
10268   PyObject 
*swig_obj
[1] ; 
10270   if (!args
) SWIG_fail
; 
10271   swig_obj
[0] = args
; 
10272   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellCoords
, 0 |  0 ); 
10273   if (!SWIG_IsOK(res1
)) { 
10274     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellCoords_GetCol" "', expected argument " "1"" of type '" "wxGridCellCoords const *""'");  
10276   arg1 
= reinterpret_cast< wxGridCellCoords 
* >(argp1
); 
10278     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10279     result 
= (int)((wxGridCellCoords 
const *)arg1
)->GetCol(); 
10280     wxPyEndAllowThreads(__tstate
); 
10281     if (PyErr_Occurred()) SWIG_fail
; 
10283   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
10290 SWIGINTERN PyObject 
*_wrap_GridCellCoords_SetCol(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10291   PyObject 
*resultobj 
= 0; 
10292   wxGridCellCoords 
*arg1 
= (wxGridCellCoords 
*) 0 ; 
10298   PyObject 
* obj0 
= 0 ; 
10299   PyObject 
* obj1 
= 0 ; 
10300   char *  kwnames
[] = { 
10301     (char *) "self",(char *) "n", NULL 
 
10304   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords_SetCol",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10305   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellCoords
, 0 |  0 ); 
10306   if (!SWIG_IsOK(res1
)) { 
10307     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellCoords_SetCol" "', expected argument " "1"" of type '" "wxGridCellCoords *""'");  
10309   arg1 
= reinterpret_cast< wxGridCellCoords 
* >(argp1
); 
10310   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10311   if (!SWIG_IsOK(ecode2
)) { 
10312     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellCoords_SetCol" "', expected argument " "2"" of type '" "int""'"); 
10314   arg2 
= static_cast< int >(val2
); 
10316     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10317     (arg1
)->SetCol(arg2
); 
10318     wxPyEndAllowThreads(__tstate
); 
10319     if (PyErr_Occurred()) SWIG_fail
; 
10321   resultobj 
= SWIG_Py_Void(); 
10328 SWIGINTERN PyObject 
*_wrap_GridCellCoords_Set(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10329   PyObject 
*resultobj 
= 0; 
10330   wxGridCellCoords 
*arg1 
= (wxGridCellCoords 
*) 0 ; 
10339   PyObject 
* obj0 
= 0 ; 
10340   PyObject 
* obj1 
= 0 ; 
10341   PyObject 
* obj2 
= 0 ; 
10342   char *  kwnames
[] = { 
10343     (char *) "self",(char *) "row",(char *) "col", NULL 
 
10346   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellCoords_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
10347   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellCoords
, 0 |  0 ); 
10348   if (!SWIG_IsOK(res1
)) { 
10349     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellCoords_Set" "', expected argument " "1"" of type '" "wxGridCellCoords *""'");  
10351   arg1 
= reinterpret_cast< wxGridCellCoords 
* >(argp1
); 
10352   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10353   if (!SWIG_IsOK(ecode2
)) { 
10354     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellCoords_Set" "', expected argument " "2"" of type '" "int""'"); 
10356   arg2 
= static_cast< int >(val2
); 
10357   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
10358   if (!SWIG_IsOK(ecode3
)) { 
10359     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellCoords_Set" "', expected argument " "3"" of type '" "int""'"); 
10361   arg3 
= static_cast< int >(val3
); 
10363     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10364     (arg1
)->Set(arg2
,arg3
); 
10365     wxPyEndAllowThreads(__tstate
); 
10366     if (PyErr_Occurred()) SWIG_fail
; 
10368   resultobj 
= SWIG_Py_Void(); 
10375 SWIGINTERN PyObject 
*_wrap_GridCellCoords___eq__(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10376   PyObject 
*resultobj 
= 0; 
10377   wxGridCellCoords 
*arg1 
= (wxGridCellCoords 
*) 0 ; 
10378   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
10382   PyObject 
* obj0 
= 0 ; 
10383   PyObject 
* obj1 
= 0 ; 
10384   char *  kwnames
[] = { 
10385     (char *) "self",(char *) "other", NULL 
 
10388   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10389   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellCoords
, 0 |  0 ); 
10390   if (!SWIG_IsOK(res1
)) { 
10391     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellCoords___eq__" "', expected argument " "1"" of type '" "wxGridCellCoords *""'");  
10393   arg1 
= reinterpret_cast< wxGridCellCoords 
* >(argp1
); 
10396     result 
= (bool)wxGridCellCoords___eq__(arg1
,arg2
); 
10397     if (PyErr_Occurred()) SWIG_fail
; 
10400     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10408 SWIGINTERN PyObject 
*_wrap_GridCellCoords___ne__(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10409   PyObject 
*resultobj 
= 0; 
10410   wxGridCellCoords 
*arg1 
= (wxGridCellCoords 
*) 0 ; 
10411   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
10415   PyObject 
* obj0 
= 0 ; 
10416   PyObject 
* obj1 
= 0 ; 
10417   char *  kwnames
[] = { 
10418     (char *) "self",(char *) "other", NULL 
 
10421   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10422   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellCoords
, 0 |  0 ); 
10423   if (!SWIG_IsOK(res1
)) { 
10424     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellCoords___ne__" "', expected argument " "1"" of type '" "wxGridCellCoords *""'");  
10426   arg1 
= reinterpret_cast< wxGridCellCoords 
* >(argp1
); 
10429     result 
= (bool)wxGridCellCoords___ne__(arg1
,arg2
); 
10430     if (PyErr_Occurred()) SWIG_fail
; 
10433     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10441 SWIGINTERN PyObject 
*_wrap_GridCellCoords_Get(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10442   PyObject 
*resultobj 
= 0; 
10443   wxGridCellCoords 
*arg1 
= (wxGridCellCoords 
*) 0 ; 
10444   PyObject 
*result 
= 0 ; 
10447   PyObject 
*swig_obj
[1] ; 
10449   if (!args
) SWIG_fail
; 
10450   swig_obj
[0] = args
; 
10451   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellCoords
, 0 |  0 ); 
10452   if (!SWIG_IsOK(res1
)) { 
10453     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellCoords_Get" "', expected argument " "1"" of type '" "wxGridCellCoords *""'");  
10455   arg1 
= reinterpret_cast< wxGridCellCoords 
* >(argp1
); 
10457     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10458     result 
= (PyObject 
*)wxGridCellCoords_Get(arg1
); 
10459     wxPyEndAllowThreads(__tstate
); 
10460     if (PyErr_Occurred()) SWIG_fail
; 
10462   resultobj 
= result
; 
10469 SWIGINTERN PyObject 
*GridCellCoords_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10471   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
10472   SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellCoords
, SWIG_NewClientData(obj
)); 
10473   return SWIG_Py_Void(); 
10476 SWIGINTERN PyObject 
*GridCellCoords_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10477   return SWIG_Python_InitShadowInstance(args
); 
10480 SWIGINTERN PyObject 
*_wrap_new_Grid(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10481   PyObject 
*resultobj 
= 0; 
10482   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
10483   int arg2 
= (int) -1 ; 
10484   wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
10485   wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
10486   wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
10487   wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
10488   long arg5 
= (long) wxWANTS_CHARS 
; 
10489   wxString 
const &arg6_defvalue 
= wxPyGridNameStr 
; 
10490   wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
10491   wxGrid 
*result 
= 0 ; 
10500   bool temp6 
= false ; 
10501   PyObject 
* obj0 
= 0 ; 
10502   PyObject 
* obj1 
= 0 ; 
10503   PyObject 
* obj2 
= 0 ; 
10504   PyObject 
* obj3 
= 0 ; 
10505   PyObject 
* obj4 
= 0 ; 
10506   PyObject 
* obj5 
= 0 ; 
10507   char *  kwnames
[] = { 
10508     (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
10511   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Grid",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
10512   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
10513   if (!SWIG_IsOK(res1
)) { 
10514     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Grid" "', expected argument " "1"" of type '" "wxWindow *""'");  
10516   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
10518     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10519     if (!SWIG_IsOK(ecode2
)) { 
10520       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Grid" "', expected argument " "2"" of type '" "int""'"); 
10522     arg2 
= static_cast< int >(val2
); 
10527       if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
10533       if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
10537     ecode5 
= SWIG_AsVal_long(obj4
, &val5
); 
10538     if (!SWIG_IsOK(ecode5
)) { 
10539       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Grid" "', expected argument " "5"" of type '" "long""'"); 
10541     arg5 
= static_cast< long >(val5
); 
10545       arg6 
= wxString_in_helper(obj5
); 
10546       if (arg6 
== NULL
) SWIG_fail
; 
10551     if (!wxPyCheckForApp()) SWIG_fail
; 
10552     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10553     result 
= (wxGrid 
*)new wxGrid(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxString 
const &)*arg6
); 
10554     wxPyEndAllowThreads(__tstate
); 
10555     if (PyErr_Occurred()) SWIG_fail
; 
10557   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGrid
, SWIG_POINTER_NEW 
|  0 ); 
10572 SWIGINTERN PyObject 
*_wrap_new_PreGrid(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10573   PyObject 
*resultobj 
= 0; 
10574   wxGrid 
*result 
= 0 ; 
10576   if (!SWIG_Python_UnpackTuple(args
,"new_PreGrid",0,0,0)) SWIG_fail
; 
10578     if (!wxPyCheckForApp()) SWIG_fail
; 
10579     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10580     result 
= (wxGrid 
*)new wxGrid(); 
10581     wxPyEndAllowThreads(__tstate
); 
10582     if (PyErr_Occurred()) SWIG_fail
; 
10584   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGrid
, SWIG_POINTER_OWN 
|  0 ); 
10591 SWIGINTERN PyObject 
*_wrap_Grid_Create(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10592   PyObject 
*resultobj 
= 0; 
10593   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10594   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
10595   int arg3 
= (int) -1 ; 
10596   wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
10597   wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
10598   wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
10599   wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
10600   long arg6 
= (long) wxWANTS_CHARS 
; 
10601   wxString 
const &arg7_defvalue 
= wxPyGridNameStr 
; 
10602   wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
10614   bool temp7 
= false ; 
10615   PyObject 
* obj0 
= 0 ; 
10616   PyObject 
* obj1 
= 0 ; 
10617   PyObject 
* obj2 
= 0 ; 
10618   PyObject 
* obj3 
= 0 ; 
10619   PyObject 
* obj4 
= 0 ; 
10620   PyObject 
* obj5 
= 0 ; 
10621   PyObject 
* obj6 
= 0 ; 
10622   char *  kwnames
[] = { 
10623     (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
10626   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Grid_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
10627   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
10628   if (!SWIG_IsOK(res1
)) { 
10629     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_Create" "', expected argument " "1"" of type '" "wxGrid *""'");  
10631   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
10632   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
10633   if (!SWIG_IsOK(res2
)) { 
10634     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_Create" "', expected argument " "2"" of type '" "wxWindow *""'");  
10636   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
10638     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
10639     if (!SWIG_IsOK(ecode3
)) { 
10640       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_Create" "', expected argument " "3"" of type '" "int""'"); 
10642     arg3 
= static_cast< int >(val3
); 
10647       if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
10653       if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
10657     ecode6 
= SWIG_AsVal_long(obj5
, &val6
); 
10658     if (!SWIG_IsOK(ecode6
)) { 
10659       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Grid_Create" "', expected argument " "6"" of type '" "long""'"); 
10661     arg6 
= static_cast< long >(val6
); 
10665       arg7 
= wxString_in_helper(obj6
); 
10666       if (arg7 
== NULL
) SWIG_fail
; 
10671     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10672     result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
10673     wxPyEndAllowThreads(__tstate
); 
10674     if (PyErr_Occurred()) SWIG_fail
; 
10677     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10693 SWIGINTERN PyObject 
*_wrap_Grid_CreateGrid(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10694   PyObject 
*resultobj 
= 0; 
10695   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10698   WXGRIDSELECTIONMODES arg4 
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells 
; 
10708   PyObject 
* obj0 
= 0 ; 
10709   PyObject 
* obj1 
= 0 ; 
10710   PyObject 
* obj2 
= 0 ; 
10711   PyObject 
* obj3 
= 0 ; 
10712   char *  kwnames
[] = { 
10713     (char *) "self",(char *) "numRows",(char *) "numCols",(char *) "selmode", NULL 
 
10716   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_CreateGrid",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
10717   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
10718   if (!SWIG_IsOK(res1
)) { 
10719     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_CreateGrid" "', expected argument " "1"" of type '" "wxGrid *""'");  
10721   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
10722   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10723   if (!SWIG_IsOK(ecode2
)) { 
10724     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_CreateGrid" "', expected argument " "2"" of type '" "int""'"); 
10726   arg2 
= static_cast< int >(val2
); 
10727   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
10728   if (!SWIG_IsOK(ecode3
)) { 
10729     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_CreateGrid" "', expected argument " "3"" of type '" "int""'"); 
10731   arg3 
= static_cast< int >(val3
); 
10733     ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
10734     if (!SWIG_IsOK(ecode4
)) { 
10735       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_CreateGrid" "', expected argument " "4"" of type '" "WXGRIDSELECTIONMODES""'"); 
10737     arg4 
= static_cast< WXGRIDSELECTIONMODES 
>(val4
); 
10740     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10741     result 
= (bool)(arg1
)->CreateGrid(arg2
,arg3
,arg4
); 
10742     wxPyEndAllowThreads(__tstate
); 
10743     if (PyErr_Occurred()) SWIG_fail
; 
10746     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10754 SWIGINTERN PyObject 
*_wrap_Grid_SetSelectionMode(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10755   PyObject 
*resultobj 
= 0; 
10756   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10757   WXGRIDSELECTIONMODES arg2 
; 
10762   PyObject 
* obj0 
= 0 ; 
10763   PyObject 
* obj1 
= 0 ; 
10764   char *  kwnames
[] = { 
10765     (char *) "self",(char *) "selmode", NULL 
 
10768   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10769   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
10770   if (!SWIG_IsOK(res1
)) { 
10771     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetSelectionMode" "', expected argument " "1"" of type '" "wxGrid *""'");  
10773   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
10774   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10775   if (!SWIG_IsOK(ecode2
)) { 
10776     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetSelectionMode" "', expected argument " "2"" of type '" "WXGRIDSELECTIONMODES""'"); 
10778   arg2 
= static_cast< WXGRIDSELECTIONMODES 
>(val2
); 
10780     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10781     (arg1
)->SetSelectionMode(arg2
); 
10782     wxPyEndAllowThreads(__tstate
); 
10783     if (PyErr_Occurred()) SWIG_fail
; 
10785   resultobj 
= SWIG_Py_Void(); 
10792 SWIGINTERN PyObject 
*_wrap_Grid_GetSelectionMode(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10793   PyObject 
*resultobj 
= 0; 
10794   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10795   WXGRIDSELECTIONMODES result
; 
10798   PyObject 
*swig_obj
[1] ; 
10800   if (!args
) SWIG_fail
; 
10801   swig_obj
[0] = args
; 
10802   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
10803   if (!SWIG_IsOK(res1
)) { 
10804     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetSelectionMode" "', expected argument " "1"" of type '" "wxGrid *""'");  
10806   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
10808     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10809     result 
= (WXGRIDSELECTIONMODES
)(arg1
)->GetSelectionMode(); 
10810     wxPyEndAllowThreads(__tstate
); 
10811     if (PyErr_Occurred()) SWIG_fail
; 
10813   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
10820 SWIGINTERN PyObject 
*_wrap_Grid_GetNumberRows(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10821   PyObject 
*resultobj 
= 0; 
10822   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10826   PyObject 
*swig_obj
[1] ; 
10828   if (!args
) SWIG_fail
; 
10829   swig_obj
[0] = args
; 
10830   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
10831   if (!SWIG_IsOK(res1
)) { 
10832     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetNumberRows" "', expected argument " "1"" of type '" "wxGrid *""'");  
10834   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
10836     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10837     result 
= (int)(arg1
)->GetNumberRows(); 
10838     wxPyEndAllowThreads(__tstate
); 
10839     if (PyErr_Occurred()) SWIG_fail
; 
10841   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
10848 SWIGINTERN PyObject 
*_wrap_Grid_GetNumberCols(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10849   PyObject 
*resultobj 
= 0; 
10850   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10854   PyObject 
*swig_obj
[1] ; 
10856   if (!args
) SWIG_fail
; 
10857   swig_obj
[0] = args
; 
10858   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
10859   if (!SWIG_IsOK(res1
)) { 
10860     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetNumberCols" "', expected argument " "1"" of type '" "wxGrid *""'");  
10862   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
10864     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10865     result 
= (int)(arg1
)->GetNumberCols(); 
10866     wxPyEndAllowThreads(__tstate
); 
10867     if (PyErr_Occurred()) SWIG_fail
; 
10869   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
10876 SWIGINTERN PyObject 
*_wrap_Grid_ProcessTableMessage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10877   PyObject 
*resultobj 
= 0; 
10878   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10879   wxGridTableMessage 
*arg2 
= 0 ; 
10885   PyObject 
* obj0 
= 0 ; 
10886   PyObject 
* obj1 
= 0 ; 
10887   char *  kwnames
[] = { 
10888     (char *) "self",(char *)"arg2", NULL 
 
10891   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_ProcessTableMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10892   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
10893   if (!SWIG_IsOK(res1
)) { 
10894     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_ProcessTableMessage" "', expected argument " "1"" of type '" "wxGrid *""'");  
10896   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
10897   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGridTableMessage
,  0 ); 
10898   if (!SWIG_IsOK(res2
)) { 
10899     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_ProcessTableMessage" "', expected argument " "2"" of type '" "wxGridTableMessage &""'");  
10902     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Grid_ProcessTableMessage" "', expected argument " "2"" of type '" "wxGridTableMessage &""'");  
10904   arg2 
= reinterpret_cast< wxGridTableMessage 
* >(argp2
); 
10906     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10907     result 
= (bool)(arg1
)->ProcessTableMessage(*arg2
); 
10908     wxPyEndAllowThreads(__tstate
); 
10909     if (PyErr_Occurred()) SWIG_fail
; 
10912     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10920 SWIGINTERN PyObject 
*_wrap_Grid_GetTable(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10921   PyObject 
*resultobj 
= 0; 
10922   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10923   wxGridTableBase 
*result 
= 0 ; 
10926   PyObject 
*swig_obj
[1] ; 
10928   if (!args
) SWIG_fail
; 
10929   swig_obj
[0] = args
; 
10930   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
10931   if (!SWIG_IsOK(res1
)) { 
10932     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetTable" "', expected argument " "1"" of type '" "wxGrid const *""'");  
10934   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
10936     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10937     result 
= (wxGridTableBase 
*)((wxGrid 
const *)arg1
)->GetTable(); 
10938     wxPyEndAllowThreads(__tstate
); 
10939     if (PyErr_Occurred()) SWIG_fail
; 
10942     resultobj 
= wxPyMake_wxGridTableBase(result
,    (bool)0);  
10950 SWIGINTERN PyObject 
*_wrap_Grid_SetTable(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10951   PyObject 
*resultobj 
= 0; 
10952   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10953   wxGridTableBase 
*arg2 
= (wxGridTableBase 
*) 0 ; 
10954   bool arg3 
= (bool) false ; 
10955   WXGRIDSELECTIONMODES arg4 
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells 
; 
10964   PyObject 
* obj0 
= 0 ; 
10965   PyObject 
* obj1 
= 0 ; 
10966   PyObject 
* obj2 
= 0 ; 
10967   PyObject 
* obj3 
= 0 ; 
10968   char *  kwnames
[] = { 
10969     (char *) "self",(char *) "table",(char *) "takeOwnership",(char *) "selmode", NULL 
 
10972   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Grid_SetTable",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
10973   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
10974   if (!SWIG_IsOK(res1
)) { 
10975     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetTable" "', expected argument " "1"" of type '" "wxGrid *""'");  
10977   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
10978   res2 
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_DISOWN 
|  0 ); 
10979   if (!SWIG_IsOK(res2
)) { 
10980     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_SetTable" "', expected argument " "2"" of type '" "wxGridTableBase *""'"); 
10983     ecode3 
= SWIG_AsVal_bool(obj2
, &val3
); 
10984     if (!SWIG_IsOK(ecode3
)) { 
10985       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetTable" "', expected argument " "3"" of type '" "bool""'"); 
10987     arg3 
= static_cast< bool >(val3
); 
10990     ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
10991     if (!SWIG_IsOK(ecode4
)) { 
10992       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_SetTable" "', expected argument " "4"" of type '" "WXGRIDSELECTIONMODES""'"); 
10994     arg4 
= static_cast< WXGRIDSELECTIONMODES 
>(val4
); 
10997     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10998     result 
= (bool)(arg1
)->SetTable(arg2
,arg3
,arg4
); 
10999     wxPyEndAllowThreads(__tstate
); 
11000     if (PyErr_Occurred()) SWIG_fail
; 
11003     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11011 SWIGINTERN PyObject 
*_wrap_Grid_ClearGrid(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11012   PyObject 
*resultobj 
= 0; 
11013   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11016   PyObject 
*swig_obj
[1] ; 
11018   if (!args
) SWIG_fail
; 
11019   swig_obj
[0] = args
; 
11020   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
11021   if (!SWIG_IsOK(res1
)) { 
11022     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_ClearGrid" "', expected argument " "1"" of type '" "wxGrid *""'");  
11024   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
11026     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11027     (arg1
)->ClearGrid(); 
11028     wxPyEndAllowThreads(__tstate
); 
11029     if (PyErr_Occurred()) SWIG_fail
; 
11031   resultobj 
= SWIG_Py_Void(); 
11038 SWIGINTERN PyObject 
*_wrap_Grid_InsertRows(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11039   PyObject 
*resultobj 
= 0; 
11040   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11041   int arg2 
= (int) 0 ; 
11042   int arg3 
= (int) 1 ; 
11043   bool arg4 
= (bool) true ; 
11053   PyObject 
* obj0 
= 0 ; 
11054   PyObject 
* obj1 
= 0 ; 
11055   PyObject 
* obj2 
= 0 ; 
11056   PyObject 
* obj3 
= 0 ; 
11057   char *  kwnames
[] = { 
11058     (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL 
 
11061   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
11062   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
11063   if (!SWIG_IsOK(res1
)) { 
11064     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_InsertRows" "', expected argument " "1"" of type '" "wxGrid *""'");  
11066   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
11068     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11069     if (!SWIG_IsOK(ecode2
)) { 
11070       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_InsertRows" "', expected argument " "2"" of type '" "int""'"); 
11072     arg2 
= static_cast< int >(val2
); 
11075     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
11076     if (!SWIG_IsOK(ecode3
)) { 
11077       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_InsertRows" "', expected argument " "3"" of type '" "int""'"); 
11079     arg3 
= static_cast< int >(val3
); 
11082     ecode4 
= SWIG_AsVal_bool(obj3
, &val4
); 
11083     if (!SWIG_IsOK(ecode4
)) { 
11084       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_InsertRows" "', expected argument " "4"" of type '" "bool""'"); 
11086     arg4 
= static_cast< bool >(val4
); 
11089     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11090     result 
= (bool)(arg1
)->InsertRows(arg2
,arg3
,arg4
); 
11091     wxPyEndAllowThreads(__tstate
); 
11092     if (PyErr_Occurred()) SWIG_fail
; 
11095     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11103 SWIGINTERN PyObject 
*_wrap_Grid_AppendRows(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11104   PyObject 
*resultobj 
= 0; 
11105   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11106   int arg2 
= (int) 1 ; 
11107   bool arg3 
= (bool) true ; 
11115   PyObject 
* obj0 
= 0 ; 
11116   PyObject 
* obj1 
= 0 ; 
11117   PyObject 
* obj2 
= 0 ; 
11118   char *  kwnames
[] = { 
11119     (char *) "self",(char *) "numRows",(char *) "updateLabels", NULL 
 
11122   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Grid_AppendRows",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
11123   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
11124   if (!SWIG_IsOK(res1
)) { 
11125     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AppendRows" "', expected argument " "1"" of type '" "wxGrid *""'");  
11127   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
11129     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11130     if (!SWIG_IsOK(ecode2
)) { 
11131       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_AppendRows" "', expected argument " "2"" of type '" "int""'"); 
11133     arg2 
= static_cast< int >(val2
); 
11136     ecode3 
= SWIG_AsVal_bool(obj2
, &val3
); 
11137     if (!SWIG_IsOK(ecode3
)) { 
11138       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_AppendRows" "', expected argument " "3"" of type '" "bool""'"); 
11140     arg3 
= static_cast< bool >(val3
); 
11143     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11144     result 
= (bool)(arg1
)->AppendRows(arg2
,arg3
); 
11145     wxPyEndAllowThreads(__tstate
); 
11146     if (PyErr_Occurred()) SWIG_fail
; 
11149     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11157 SWIGINTERN PyObject 
*_wrap_Grid_DeleteRows(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11158   PyObject 
*resultobj 
= 0; 
11159   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11160   int arg2 
= (int) 0 ; 
11161   int arg3 
= (int) 1 ; 
11162   bool arg4 
= (bool) true ; 
11172   PyObject 
* obj0 
= 0 ; 
11173   PyObject 
* obj1 
= 0 ; 
11174   PyObject 
* obj2 
= 0 ; 
11175   PyObject 
* obj3 
= 0 ; 
11176   char *  kwnames
[] = { 
11177     (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL 
 
11180   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
11181   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
11182   if (!SWIG_IsOK(res1
)) { 
11183     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DeleteRows" "', expected argument " "1"" of type '" "wxGrid *""'");  
11185   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
11187     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11188     if (!SWIG_IsOK(ecode2
)) { 
11189       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_DeleteRows" "', expected argument " "2"" of type '" "int""'"); 
11191     arg2 
= static_cast< int >(val2
); 
11194     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
11195     if (!SWIG_IsOK(ecode3
)) { 
11196       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_DeleteRows" "', expected argument " "3"" of type '" "int""'"); 
11198     arg3 
= static_cast< int >(val3
); 
11201     ecode4 
= SWIG_AsVal_bool(obj3
, &val4
); 
11202     if (!SWIG_IsOK(ecode4
)) { 
11203       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_DeleteRows" "', expected argument " "4"" of type '" "bool""'"); 
11205     arg4 
= static_cast< bool >(val4
); 
11208     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11209     result 
= (bool)(arg1
)->DeleteRows(arg2
,arg3
,arg4
); 
11210     wxPyEndAllowThreads(__tstate
); 
11211     if (PyErr_Occurred()) SWIG_fail
; 
11214     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11222 SWIGINTERN PyObject 
*_wrap_Grid_InsertCols(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11223   PyObject 
*resultobj 
= 0; 
11224   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11225   int arg2 
= (int) 0 ; 
11226   int arg3 
= (int) 1 ; 
11227   bool arg4 
= (bool) true ; 
11237   PyObject 
* obj0 
= 0 ; 
11238   PyObject 
* obj1 
= 0 ; 
11239   PyObject 
* obj2 
= 0 ; 
11240   PyObject 
* obj3 
= 0 ; 
11241   char *  kwnames
[] = { 
11242     (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL 
 
11245   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
11246   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
11247   if (!SWIG_IsOK(res1
)) { 
11248     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_InsertCols" "', expected argument " "1"" of type '" "wxGrid *""'");  
11250   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
11252     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11253     if (!SWIG_IsOK(ecode2
)) { 
11254       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_InsertCols" "', expected argument " "2"" of type '" "int""'"); 
11256     arg2 
= static_cast< int >(val2
); 
11259     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
11260     if (!SWIG_IsOK(ecode3
)) { 
11261       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_InsertCols" "', expected argument " "3"" of type '" "int""'"); 
11263     arg3 
= static_cast< int >(val3
); 
11266     ecode4 
= SWIG_AsVal_bool(obj3
, &val4
); 
11267     if (!SWIG_IsOK(ecode4
)) { 
11268       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_InsertCols" "', expected argument " "4"" of type '" "bool""'"); 
11270     arg4 
= static_cast< bool >(val4
); 
11273     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11274     result 
= (bool)(arg1
)->InsertCols(arg2
,arg3
,arg4
); 
11275     wxPyEndAllowThreads(__tstate
); 
11276     if (PyErr_Occurred()) SWIG_fail
; 
11279     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11287 SWIGINTERN PyObject 
*_wrap_Grid_AppendCols(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11288   PyObject 
*resultobj 
= 0; 
11289   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11290   int arg2 
= (int) 1 ; 
11291   bool arg3 
= (bool) true ; 
11299   PyObject 
* obj0 
= 0 ; 
11300   PyObject 
* obj1 
= 0 ; 
11301   PyObject 
* obj2 
= 0 ; 
11302   char *  kwnames
[] = { 
11303     (char *) "self",(char *) "numCols",(char *) "updateLabels", NULL 
 
11306   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Grid_AppendCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
11307   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
11308   if (!SWIG_IsOK(res1
)) { 
11309     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AppendCols" "', expected argument " "1"" of type '" "wxGrid *""'");  
11311   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
11313     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11314     if (!SWIG_IsOK(ecode2
)) { 
11315       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_AppendCols" "', expected argument " "2"" of type '" "int""'"); 
11317     arg2 
= static_cast< int >(val2
); 
11320     ecode3 
= SWIG_AsVal_bool(obj2
, &val3
); 
11321     if (!SWIG_IsOK(ecode3
)) { 
11322       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_AppendCols" "', expected argument " "3"" of type '" "bool""'"); 
11324     arg3 
= static_cast< bool >(val3
); 
11327     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11328     result 
= (bool)(arg1
)->AppendCols(arg2
,arg3
); 
11329     wxPyEndAllowThreads(__tstate
); 
11330     if (PyErr_Occurred()) SWIG_fail
; 
11333     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11341 SWIGINTERN PyObject 
*_wrap_Grid_DeleteCols(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11342   PyObject 
*resultobj 
= 0; 
11343   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11344   int arg2 
= (int) 0 ; 
11345   int arg3 
= (int) 1 ; 
11346   bool arg4 
= (bool) true ; 
11356   PyObject 
* obj0 
= 0 ; 
11357   PyObject 
* obj1 
= 0 ; 
11358   PyObject 
* obj2 
= 0 ; 
11359   PyObject 
* obj3 
= 0 ; 
11360   char *  kwnames
[] = { 
11361     (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL 
 
11364   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
11365   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
11366   if (!SWIG_IsOK(res1
)) { 
11367     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DeleteCols" "', expected argument " "1"" of type '" "wxGrid *""'");  
11369   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
11371     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11372     if (!SWIG_IsOK(ecode2
)) { 
11373       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_DeleteCols" "', expected argument " "2"" of type '" "int""'"); 
11375     arg2 
= static_cast< int >(val2
); 
11378     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
11379     if (!SWIG_IsOK(ecode3
)) { 
11380       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_DeleteCols" "', expected argument " "3"" of type '" "int""'"); 
11382     arg3 
= static_cast< int >(val3
); 
11385     ecode4 
= SWIG_AsVal_bool(obj3
, &val4
); 
11386     if (!SWIG_IsOK(ecode4
)) { 
11387       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_DeleteCols" "', expected argument " "4"" of type '" "bool""'"); 
11389     arg4 
= static_cast< bool >(val4
); 
11392     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11393     result 
= (bool)(arg1
)->DeleteCols(arg2
,arg3
,arg4
); 
11394     wxPyEndAllowThreads(__tstate
); 
11395     if (PyErr_Occurred()) SWIG_fail
; 
11398     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11406 SWIGINTERN PyObject 
*_wrap_Grid_DrawCellHighlight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11407   PyObject 
*resultobj 
= 0; 
11408   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11410   wxGridCellAttr 
*arg3 
= (wxGridCellAttr 
*) 0 ; 
11417   PyObject 
* obj0 
= 0 ; 
11418   PyObject 
* obj1 
= 0 ; 
11419   PyObject 
* obj2 
= 0 ; 
11420   char *  kwnames
[] = { 
11421     (char *) "self",(char *) "dc",(char *) "attr", NULL 
 
11424   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_DrawCellHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
11425   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
11426   if (!SWIG_IsOK(res1
)) { 
11427     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DrawCellHighlight" "', expected argument " "1"" of type '" "wxGrid *""'");  
11429   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
11430   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
,  0 ); 
11431   if (!SWIG_IsOK(res2
)) { 
11432     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_DrawCellHighlight" "', expected argument " "2"" of type '" "wxDC &""'");  
11435     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Grid_DrawCellHighlight" "', expected argument " "2"" of type '" "wxDC &""'");  
11437   arg2 
= reinterpret_cast< wxDC 
* >(argp2
); 
11438   res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
11439   if (!SWIG_IsOK(res3
)) { 
11440     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Grid_DrawCellHighlight" "', expected argument " "3"" of type '" "wxGridCellAttr const *""'");  
11442   arg3 
= reinterpret_cast< wxGridCellAttr 
* >(argp3
); 
11444     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11445     (arg1
)->DrawCellHighlight(*arg2
,(wxGridCellAttr 
const *)arg3
); 
11446     wxPyEndAllowThreads(__tstate
); 
11447     if (PyErr_Occurred()) SWIG_fail
; 
11449   resultobj 
= SWIG_Py_Void(); 
11456 SWIGINTERN PyObject 
*_wrap_Grid_DrawTextRectangle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11457   PyObject 
*resultobj 
= 0; 
11458   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11460   wxString 
*arg3 
= 0 ; 
11462   int arg5 
= (int) wxLEFT 
; 
11463   int arg6 
= (int) wxTOP 
; 
11464   int arg7 
= (int) wxHORIZONTAL 
; 
11469   bool temp3 
= false ; 
11477   PyObject 
* obj0 
= 0 ; 
11478   PyObject 
* obj1 
= 0 ; 
11479   PyObject 
* obj2 
= 0 ; 
11480   PyObject 
* obj3 
= 0 ; 
11481   PyObject 
* obj4 
= 0 ; 
11482   PyObject 
* obj5 
= 0 ; 
11483   PyObject 
* obj6 
= 0 ; 
11484   char *  kwnames
[] = { 
11485     (char *) "self",(char *) "dc",(char *)"arg3",(char *)"arg4",(char *) "horizontalAlignment",(char *) "verticalAlignment",(char *) "textOrientation", NULL 
 
11488   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:Grid_DrawTextRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
11489   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
11490   if (!SWIG_IsOK(res1
)) { 
11491     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DrawTextRectangle" "', expected argument " "1"" of type '" "wxGrid *""'");  
11493   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
11494   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
,  0 ); 
11495   if (!SWIG_IsOK(res2
)) { 
11496     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_DrawTextRectangle" "', expected argument " "2"" of type '" "wxDC &""'");  
11499     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Grid_DrawTextRectangle" "', expected argument " "2"" of type '" "wxDC &""'");  
11501   arg2 
= reinterpret_cast< wxDC 
* >(argp2
); 
11503     arg3 
= wxString_in_helper(obj2
); 
11504     if (arg3 
== NULL
) SWIG_fail
; 
11509     if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
; 
11512     ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
11513     if (!SWIG_IsOK(ecode5
)) { 
11514       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Grid_DrawTextRectangle" "', expected argument " "5"" of type '" "int""'"); 
11516     arg5 
= static_cast< int >(val5
); 
11519     ecode6 
= SWIG_AsVal_int(obj5
, &val6
); 
11520     if (!SWIG_IsOK(ecode6
)) { 
11521       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Grid_DrawTextRectangle" "', expected argument " "6"" of type '" "int""'"); 
11523     arg6 
= static_cast< int >(val6
); 
11526     ecode7 
= SWIG_AsVal_int(obj6
, &val7
); 
11527     if (!SWIG_IsOK(ecode7
)) { 
11528       SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Grid_DrawTextRectangle" "', expected argument " "7"" of type '" "int""'"); 
11530     arg7 
= static_cast< int >(val7
); 
11533     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11534     (arg1
)->DrawTextRectangle(*arg2
,(wxString 
const &)*arg3
,(wxRect 
const &)*arg4
,arg5
,arg6
,arg7
); 
11535     wxPyEndAllowThreads(__tstate
); 
11536     if (PyErr_Occurred()) SWIG_fail
; 
11538   resultobj 
= SWIG_Py_Void(); 
11553 SWIGINTERN PyObject 
*_wrap_Grid_GetTextBoxSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11554   PyObject 
*resultobj 
= 0; 
11555   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11557   wxArrayString 
*arg3 
= 0 ; 
11558   long *arg4 
= (long *) 0 ; 
11559   long *arg5 
= (long *) 0 ; 
11564   bool temp3 
= false ; 
11566   int res4 
= SWIG_TMPOBJ 
; 
11568   int res5 
= SWIG_TMPOBJ 
; 
11569   PyObject 
* obj0 
= 0 ; 
11570   PyObject 
* obj1 
= 0 ; 
11571   PyObject 
* obj2 
= 0 ; 
11572   char *  kwnames
[] = { 
11573     (char *) "self",(char *) "dc",(char *) "lines", NULL 
 
11578   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetTextBoxSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
11579   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
11580   if (!SWIG_IsOK(res1
)) { 
11581     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetTextBoxSize" "', expected argument " "1"" of type '" "wxGrid *""'");  
11583   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
11584   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
,  0 ); 
11585   if (!SWIG_IsOK(res2
)) { 
11586     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_GetTextBoxSize" "', expected argument " "2"" of type '" "wxDC &""'");  
11589     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Grid_GetTextBoxSize" "', expected argument " "2"" of type '" "wxDC &""'");  
11591   arg2 
= reinterpret_cast< wxDC 
* >(argp2
); 
11593     if (! PySequence_Check(obj2
)) { 
11594       PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected."); 
11597     arg3 
= new wxArrayString
; 
11599     int i
, len
=PySequence_Length(obj2
); 
11600     for (i
=0; i
<len
; i
++) { 
11601       PyObject
* item 
= PySequence_GetItem(obj2
, i
); 
11602       wxString
* s 
= wxString_in_helper(item
); 
11603       if (PyErr_Occurred())  SWIG_fail
; 
11610     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11611     (arg1
)->GetTextBoxSize(*arg2
,*arg3
,arg4
,arg5
); 
11612     wxPyEndAllowThreads(__tstate
); 
11613     if (PyErr_Occurred()) SWIG_fail
; 
11615   resultobj 
= SWIG_Py_Void(); 
11616   if (SWIG_IsTmpObj(res4
)) { 
11617     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
))); 
11619     int new_flags 
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
11620     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
)); 
11622   if (SWIG_IsTmpObj(res5
)) { 
11623     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg5
))); 
11625     int new_flags 
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
11626     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_long
, new_flags
)); 
11629     if (temp3
) delete arg3
; 
11634     if (temp3
) delete arg3
; 
11640 SWIGINTERN PyObject 
*_wrap_Grid_BeginBatch(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11641   PyObject 
*resultobj 
= 0; 
11642   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11645   PyObject 
*swig_obj
[1] ; 
11647   if (!args
) SWIG_fail
; 
11648   swig_obj
[0] = args
; 
11649   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
11650   if (!SWIG_IsOK(res1
)) { 
11651     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_BeginBatch" "', expected argument " "1"" of type '" "wxGrid *""'");  
11653   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
11655     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11656     (arg1
)->BeginBatch(); 
11657     wxPyEndAllowThreads(__tstate
); 
11658     if (PyErr_Occurred()) SWIG_fail
; 
11660   resultobj 
= SWIG_Py_Void(); 
11667 SWIGINTERN PyObject 
*_wrap_Grid_EndBatch(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11668   PyObject 
*resultobj 
= 0; 
11669   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11672   PyObject 
*swig_obj
[1] ; 
11674   if (!args
) SWIG_fail
; 
11675   swig_obj
[0] = args
; 
11676   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
11677   if (!SWIG_IsOK(res1
)) { 
11678     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EndBatch" "', expected argument " "1"" of type '" "wxGrid *""'");  
11680   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
11682     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11683     (arg1
)->EndBatch(); 
11684     wxPyEndAllowThreads(__tstate
); 
11685     if (PyErr_Occurred()) SWIG_fail
; 
11687   resultobj 
= SWIG_Py_Void(); 
11694 SWIGINTERN PyObject 
*_wrap_Grid_GetBatchCount(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11695   PyObject 
*resultobj 
= 0; 
11696   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11700   PyObject 
*swig_obj
[1] ; 
11702   if (!args
) SWIG_fail
; 
11703   swig_obj
[0] = args
; 
11704   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
11705   if (!SWIG_IsOK(res1
)) { 
11706     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetBatchCount" "', expected argument " "1"" of type '" "wxGrid *""'");  
11708   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
11710     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11711     result 
= (int)(arg1
)->GetBatchCount(); 
11712     wxPyEndAllowThreads(__tstate
); 
11713     if (PyErr_Occurred()) SWIG_fail
; 
11715   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
11722 SWIGINTERN PyObject 
*_wrap_Grid_ForceRefresh(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11723   PyObject 
*resultobj 
= 0; 
11724   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11727   PyObject 
*swig_obj
[1] ; 
11729   if (!args
) SWIG_fail
; 
11730   swig_obj
[0] = args
; 
11731   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
11732   if (!SWIG_IsOK(res1
)) { 
11733     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_ForceRefresh" "', expected argument " "1"" of type '" "wxGrid *""'");  
11735   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
11737     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11738     (arg1
)->ForceRefresh(); 
11739     wxPyEndAllowThreads(__tstate
); 
11740     if (PyErr_Occurred()) SWIG_fail
; 
11742   resultobj 
= SWIG_Py_Void(); 
11749 SWIGINTERN PyObject 
*_wrap_Grid_IsEditable(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11750   PyObject 
*resultobj 
= 0; 
11751   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11755   PyObject 
*swig_obj
[1] ; 
11757   if (!args
) SWIG_fail
; 
11758   swig_obj
[0] = args
; 
11759   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
11760   if (!SWIG_IsOK(res1
)) { 
11761     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_IsEditable" "', expected argument " "1"" of type '" "wxGrid *""'");  
11763   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
11765     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11766     result 
= (bool)(arg1
)->IsEditable(); 
11767     wxPyEndAllowThreads(__tstate
); 
11768     if (PyErr_Occurred()) SWIG_fail
; 
11771     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11779 SWIGINTERN PyObject 
*_wrap_Grid_EnableEditing(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11780   PyObject 
*resultobj 
= 0; 
11781   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11787   PyObject 
* obj0 
= 0 ; 
11788   PyObject 
* obj1 
= 0 ; 
11789   char *  kwnames
[] = { 
11790     (char *) "self",(char *) "edit", NULL 
 
11793   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_EnableEditing",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11794   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
11795   if (!SWIG_IsOK(res1
)) { 
11796     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EnableEditing" "', expected argument " "1"" of type '" "wxGrid *""'");  
11798   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
11799   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
11800   if (!SWIG_IsOK(ecode2
)) { 
11801     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_EnableEditing" "', expected argument " "2"" of type '" "bool""'"); 
11803   arg2 
= static_cast< bool >(val2
); 
11805     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11806     (arg1
)->EnableEditing(arg2
); 
11807     wxPyEndAllowThreads(__tstate
); 
11808     if (PyErr_Occurred()) SWIG_fail
; 
11810   resultobj 
= SWIG_Py_Void(); 
11817 SWIGINTERN PyObject 
*_wrap_Grid_EnableCellEditControl(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11818   PyObject 
*resultobj 
= 0; 
11819   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11820   bool arg2 
= (bool) true ; 
11825   PyObject 
* obj0 
= 0 ; 
11826   PyObject 
* obj1 
= 0 ; 
11827   char *  kwnames
[] = { 
11828     (char *) "self",(char *) "enable", NULL 
 
11831   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableCellEditControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11832   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
11833   if (!SWIG_IsOK(res1
)) { 
11834     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EnableCellEditControl" "', expected argument " "1"" of type '" "wxGrid *""'");  
11836   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
11838     ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
11839     if (!SWIG_IsOK(ecode2
)) { 
11840       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_EnableCellEditControl" "', expected argument " "2"" of type '" "bool""'"); 
11842     arg2 
= static_cast< bool >(val2
); 
11845     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11846     (arg1
)->EnableCellEditControl(arg2
); 
11847     wxPyEndAllowThreads(__tstate
); 
11848     if (PyErr_Occurred()) SWIG_fail
; 
11850   resultobj 
= SWIG_Py_Void(); 
11857 SWIGINTERN PyObject 
*_wrap_Grid_DisableCellEditControl(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11858   PyObject 
*resultobj 
= 0; 
11859   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11862   PyObject 
*swig_obj
[1] ; 
11864   if (!args
) SWIG_fail
; 
11865   swig_obj
[0] = args
; 
11866   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
11867   if (!SWIG_IsOK(res1
)) { 
11868     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DisableCellEditControl" "', expected argument " "1"" of type '" "wxGrid *""'");  
11870   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
11872     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11873     (arg1
)->DisableCellEditControl(); 
11874     wxPyEndAllowThreads(__tstate
); 
11875     if (PyErr_Occurred()) SWIG_fail
; 
11877   resultobj 
= SWIG_Py_Void(); 
11884 SWIGINTERN PyObject 
*_wrap_Grid_CanEnableCellControl(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11885   PyObject 
*resultobj 
= 0; 
11886   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11890   PyObject 
*swig_obj
[1] ; 
11892   if (!args
) SWIG_fail
; 
11893   swig_obj
[0] = args
; 
11894   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
11895   if (!SWIG_IsOK(res1
)) { 
11896     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_CanEnableCellControl" "', expected argument " "1"" of type '" "wxGrid const *""'");  
11898   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
11900     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11901     result 
= (bool)((wxGrid 
const *)arg1
)->CanEnableCellControl(); 
11902     wxPyEndAllowThreads(__tstate
); 
11903     if (PyErr_Occurred()) SWIG_fail
; 
11906     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11914 SWIGINTERN PyObject 
*_wrap_Grid_IsCellEditControlEnabled(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11915   PyObject 
*resultobj 
= 0; 
11916   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11920   PyObject 
*swig_obj
[1] ; 
11922   if (!args
) SWIG_fail
; 
11923   swig_obj
[0] = args
; 
11924   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
11925   if (!SWIG_IsOK(res1
)) { 
11926     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_IsCellEditControlEnabled" "', expected argument " "1"" of type '" "wxGrid const *""'");  
11928   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
11930     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11931     result 
= (bool)((wxGrid 
const *)arg1
)->IsCellEditControlEnabled(); 
11932     wxPyEndAllowThreads(__tstate
); 
11933     if (PyErr_Occurred()) SWIG_fail
; 
11936     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11944 SWIGINTERN PyObject 
*_wrap_Grid_IsCellEditControlShown(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11945   PyObject 
*resultobj 
= 0; 
11946   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11950   PyObject 
*swig_obj
[1] ; 
11952   if (!args
) SWIG_fail
; 
11953   swig_obj
[0] = args
; 
11954   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
11955   if (!SWIG_IsOK(res1
)) { 
11956     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_IsCellEditControlShown" "', expected argument " "1"" of type '" "wxGrid const *""'");  
11958   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
11960     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11961     result 
= (bool)((wxGrid 
const *)arg1
)->IsCellEditControlShown(); 
11962     wxPyEndAllowThreads(__tstate
); 
11963     if (PyErr_Occurred()) SWIG_fail
; 
11966     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11974 SWIGINTERN PyObject 
*_wrap_Grid_IsCurrentCellReadOnly(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11975   PyObject 
*resultobj 
= 0; 
11976   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11980   PyObject 
*swig_obj
[1] ; 
11982   if (!args
) SWIG_fail
; 
11983   swig_obj
[0] = args
; 
11984   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
11985   if (!SWIG_IsOK(res1
)) { 
11986     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_IsCurrentCellReadOnly" "', expected argument " "1"" of type '" "wxGrid const *""'");  
11988   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
11990     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11991     result 
= (bool)((wxGrid 
const *)arg1
)->IsCurrentCellReadOnly(); 
11992     wxPyEndAllowThreads(__tstate
); 
11993     if (PyErr_Occurred()) SWIG_fail
; 
11996     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12004 SWIGINTERN PyObject 
*_wrap_Grid_ShowCellEditControl(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12005   PyObject 
*resultobj 
= 0; 
12006   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12009   PyObject 
*swig_obj
[1] ; 
12011   if (!args
) SWIG_fail
; 
12012   swig_obj
[0] = args
; 
12013   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
12014   if (!SWIG_IsOK(res1
)) { 
12015     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_ShowCellEditControl" "', expected argument " "1"" of type '" "wxGrid *""'");  
12017   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
12019     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12020     (arg1
)->ShowCellEditControl(); 
12021     wxPyEndAllowThreads(__tstate
); 
12022     if (PyErr_Occurred()) SWIG_fail
; 
12024   resultobj 
= SWIG_Py_Void(); 
12031 SWIGINTERN PyObject 
*_wrap_Grid_HideCellEditControl(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12032   PyObject 
*resultobj 
= 0; 
12033   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12036   PyObject 
*swig_obj
[1] ; 
12038   if (!args
) SWIG_fail
; 
12039   swig_obj
[0] = args
; 
12040   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
12041   if (!SWIG_IsOK(res1
)) { 
12042     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_HideCellEditControl" "', expected argument " "1"" of type '" "wxGrid *""'");  
12044   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
12046     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12047     (arg1
)->HideCellEditControl(); 
12048     wxPyEndAllowThreads(__tstate
); 
12049     if (PyErr_Occurred()) SWIG_fail
; 
12051   resultobj 
= SWIG_Py_Void(); 
12058 SWIGINTERN PyObject 
*_wrap_Grid_SaveEditControlValue(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12059   PyObject 
*resultobj 
= 0; 
12060   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12063   PyObject 
*swig_obj
[1] ; 
12065   if (!args
) SWIG_fail
; 
12066   swig_obj
[0] = args
; 
12067   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
12068   if (!SWIG_IsOK(res1
)) { 
12069     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SaveEditControlValue" "', expected argument " "1"" of type '" "wxGrid *""'");  
12071   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
12073     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12074     (arg1
)->SaveEditControlValue(); 
12075     wxPyEndAllowThreads(__tstate
); 
12076     if (PyErr_Occurred()) SWIG_fail
; 
12078   resultobj 
= SWIG_Py_Void(); 
12085 SWIGINTERN PyObject 
*_wrap_Grid_XYToCell(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12086   PyObject 
*resultobj 
= 0; 
12087   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12090   wxGridCellCoords result
; 
12097   PyObject 
* obj0 
= 0 ; 
12098   PyObject 
* obj1 
= 0 ; 
12099   PyObject 
* obj2 
= 0 ; 
12100   char *  kwnames
[] = { 
12101     (char *) "self",(char *) "x",(char *) "y", NULL 
 
12104   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_XYToCell",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
12105   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
12106   if (!SWIG_IsOK(res1
)) { 
12107     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_XYToCell" "', expected argument " "1"" of type '" "wxGrid *""'");  
12109   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
12110   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
12111   if (!SWIG_IsOK(ecode2
)) { 
12112     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_XYToCell" "', expected argument " "2"" of type '" "int""'"); 
12114   arg2 
= static_cast< int >(val2
); 
12115   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
12116   if (!SWIG_IsOK(ecode3
)) { 
12117     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_XYToCell" "', expected argument " "3"" of type '" "int""'"); 
12119   arg3 
= static_cast< int >(val3
); 
12121     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12122     result 
= wxGrid_XYToCell(arg1
,arg2
,arg3
); 
12123     wxPyEndAllowThreads(__tstate
); 
12124     if (PyErr_Occurred()) SWIG_fail
; 
12126   resultobj 
= SWIG_NewPointerObj((new wxGridCellCoords(static_cast< const wxGridCellCoords
& >(result
))), SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_OWN 
|  0 ); 
12133 SWIGINTERN PyObject 
*_wrap_Grid_YToRow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12134   PyObject 
*resultobj 
= 0; 
12135   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12142   PyObject 
* obj0 
= 0 ; 
12143   PyObject 
* obj1 
= 0 ; 
12144   char *  kwnames
[] = { 
12145     (char *) "self",(char *) "y", NULL 
 
12148   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_YToRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12149   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
12150   if (!SWIG_IsOK(res1
)) { 
12151     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_YToRow" "', expected argument " "1"" of type '" "wxGrid *""'");  
12153   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
12154   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
12155   if (!SWIG_IsOK(ecode2
)) { 
12156     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_YToRow" "', expected argument " "2"" of type '" "int""'"); 
12158   arg2 
= static_cast< int >(val2
); 
12160     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12161     result 
= (int)(arg1
)->YToRow(arg2
); 
12162     wxPyEndAllowThreads(__tstate
); 
12163     if (PyErr_Occurred()) SWIG_fail
; 
12165   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
12172 SWIGINTERN PyObject 
*_wrap_Grid_XToCol(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12173   PyObject 
*resultobj 
= 0; 
12174   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12176   bool arg3 
= (bool) false ; 
12184   PyObject 
* obj0 
= 0 ; 
12185   PyObject 
* obj1 
= 0 ; 
12186   PyObject 
* obj2 
= 0 ; 
12187   char *  kwnames
[] = { 
12188     (char *) "self",(char *) "x",(char *) "clipToMinMax", NULL 
 
12191   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_XToCol",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
12192   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
12193   if (!SWIG_IsOK(res1
)) { 
12194     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_XToCol" "', expected argument " "1"" of type '" "wxGrid *""'");  
12196   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
12197   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
12198   if (!SWIG_IsOK(ecode2
)) { 
12199     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_XToCol" "', expected argument " "2"" of type '" "int""'"); 
12201   arg2 
= static_cast< int >(val2
); 
12203     ecode3 
= SWIG_AsVal_bool(obj2
, &val3
); 
12204     if (!SWIG_IsOK(ecode3
)) { 
12205       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_XToCol" "', expected argument " "3"" of type '" "bool""'"); 
12207     arg3 
= static_cast< bool >(val3
); 
12210     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12211     result 
= (int)(arg1
)->XToCol(arg2
,arg3
); 
12212     wxPyEndAllowThreads(__tstate
); 
12213     if (PyErr_Occurred()) SWIG_fail
; 
12215   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
12222 SWIGINTERN PyObject 
*_wrap_Grid_YToEdgeOfRow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12223   PyObject 
*resultobj 
= 0; 
12224   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12231   PyObject 
* obj0 
= 0 ; 
12232   PyObject 
* obj1 
= 0 ; 
12233   char *  kwnames
[] = { 
12234     (char *) "self",(char *) "y", NULL 
 
12237   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_YToEdgeOfRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12238   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
12239   if (!SWIG_IsOK(res1
)) { 
12240     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_YToEdgeOfRow" "', expected argument " "1"" of type '" "wxGrid *""'");  
12242   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
12243   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
12244   if (!SWIG_IsOK(ecode2
)) { 
12245     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_YToEdgeOfRow" "', expected argument " "2"" of type '" "int""'"); 
12247   arg2 
= static_cast< int >(val2
); 
12249     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12250     result 
= (int)(arg1
)->YToEdgeOfRow(arg2
); 
12251     wxPyEndAllowThreads(__tstate
); 
12252     if (PyErr_Occurred()) SWIG_fail
; 
12254   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
12261 SWIGINTERN PyObject 
*_wrap_Grid_XToEdgeOfCol(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12262   PyObject 
*resultobj 
= 0; 
12263   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12270   PyObject 
* obj0 
= 0 ; 
12271   PyObject 
* obj1 
= 0 ; 
12272   char *  kwnames
[] = { 
12273     (char *) "self",(char *) "x", NULL 
 
12276   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_XToEdgeOfCol",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12277   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
12278   if (!SWIG_IsOK(res1
)) { 
12279     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_XToEdgeOfCol" "', expected argument " "1"" of type '" "wxGrid *""'");  
12281   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
12282   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
12283   if (!SWIG_IsOK(ecode2
)) { 
12284     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_XToEdgeOfCol" "', expected argument " "2"" of type '" "int""'"); 
12286   arg2 
= static_cast< int >(val2
); 
12288     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12289     result 
= (int)(arg1
)->XToEdgeOfCol(arg2
); 
12290     wxPyEndAllowThreads(__tstate
); 
12291     if (PyErr_Occurred()) SWIG_fail
; 
12293   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
12300 SWIGINTERN PyObject 
*_wrap_Grid_CellToRect(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12301   PyObject 
*resultobj 
= 0; 
12302   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12312   PyObject 
* obj0 
= 0 ; 
12313   PyObject 
* obj1 
= 0 ; 
12314   PyObject 
* obj2 
= 0 ; 
12315   char *  kwnames
[] = { 
12316     (char *) "self",(char *) "row",(char *) "col", NULL 
 
12319   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_CellToRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
12320   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
12321   if (!SWIG_IsOK(res1
)) { 
12322     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_CellToRect" "', expected argument " "1"" of type '" "wxGrid *""'");  
12324   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
12325   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
12326   if (!SWIG_IsOK(ecode2
)) { 
12327     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_CellToRect" "', expected argument " "2"" of type '" "int""'"); 
12329   arg2 
= static_cast< int >(val2
); 
12330   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
12331   if (!SWIG_IsOK(ecode3
)) { 
12332     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_CellToRect" "', expected argument " "3"" of type '" "int""'"); 
12334   arg3 
= static_cast< int >(val3
); 
12336     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12337     result 
= (arg1
)->CellToRect(arg2
,arg3
); 
12338     wxPyEndAllowThreads(__tstate
); 
12339     if (PyErr_Occurred()) SWIG_fail
; 
12341   resultobj 
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN 
|  0 ); 
12348 SWIGINTERN PyObject 
*_wrap_Grid_GetGridCursorRow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12349   PyObject 
*resultobj 
= 0; 
12350   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12354   PyObject 
*swig_obj
[1] ; 
12356   if (!args
) SWIG_fail
; 
12357   swig_obj
[0] = args
; 
12358   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
12359   if (!SWIG_IsOK(res1
)) { 
12360     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetGridCursorRow" "', expected argument " "1"" of type '" "wxGrid *""'");  
12362   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
12364     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12365     result 
= (int)(arg1
)->GetGridCursorRow(); 
12366     wxPyEndAllowThreads(__tstate
); 
12367     if (PyErr_Occurred()) SWIG_fail
; 
12369   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
12376 SWIGINTERN PyObject 
*_wrap_Grid_GetGridCursorCol(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12377   PyObject 
*resultobj 
= 0; 
12378   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12382   PyObject 
*swig_obj
[1] ; 
12384   if (!args
) SWIG_fail
; 
12385   swig_obj
[0] = args
; 
12386   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
12387   if (!SWIG_IsOK(res1
)) { 
12388     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetGridCursorCol" "', expected argument " "1"" of type '" "wxGrid *""'");  
12390   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
12392     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12393     result 
= (int)(arg1
)->GetGridCursorCol(); 
12394     wxPyEndAllowThreads(__tstate
); 
12395     if (PyErr_Occurred()) SWIG_fail
; 
12397   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
12404 SWIGINTERN PyObject 
*_wrap_Grid_IsVisible(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12405   PyObject 
*resultobj 
= 0; 
12406   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12409   bool arg4 
= (bool) true ; 
12419   PyObject 
* obj0 
= 0 ; 
12420   PyObject 
* obj1 
= 0 ; 
12421   PyObject 
* obj2 
= 0 ; 
12422   PyObject 
* obj3 
= 0 ; 
12423   char *  kwnames
[] = { 
12424     (char *) "self",(char *) "row",(char *) "col",(char *) "wholeCellVisible", NULL 
 
12427   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_IsVisible",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
12428   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
12429   if (!SWIG_IsOK(res1
)) { 
12430     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_IsVisible" "', expected argument " "1"" of type '" "wxGrid *""'");  
12432   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
12433   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
12434   if (!SWIG_IsOK(ecode2
)) { 
12435     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_IsVisible" "', expected argument " "2"" of type '" "int""'"); 
12437   arg2 
= static_cast< int >(val2
); 
12438   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
12439   if (!SWIG_IsOK(ecode3
)) { 
12440     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_IsVisible" "', expected argument " "3"" of type '" "int""'"); 
12442   arg3 
= static_cast< int >(val3
); 
12444     ecode4 
= SWIG_AsVal_bool(obj3
, &val4
); 
12445     if (!SWIG_IsOK(ecode4
)) { 
12446       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_IsVisible" "', expected argument " "4"" of type '" "bool""'"); 
12448     arg4 
= static_cast< bool >(val4
); 
12451     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12452     result 
= (bool)(arg1
)->IsVisible(arg2
,arg3
,arg4
); 
12453     wxPyEndAllowThreads(__tstate
); 
12454     if (PyErr_Occurred()) SWIG_fail
; 
12457     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12465 SWIGINTERN PyObject 
*_wrap_Grid_MakeCellVisible(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12466   PyObject 
*resultobj 
= 0; 
12467   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12476   PyObject 
* obj0 
= 0 ; 
12477   PyObject 
* obj1 
= 0 ; 
12478   PyObject 
* obj2 
= 0 ; 
12479   char *  kwnames
[] = { 
12480     (char *) "self",(char *) "row",(char *) "col", NULL 
 
12483   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_MakeCellVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
12484   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
12485   if (!SWIG_IsOK(res1
)) { 
12486     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MakeCellVisible" "', expected argument " "1"" of type '" "wxGrid *""'");  
12488   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
12489   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
12490   if (!SWIG_IsOK(ecode2
)) { 
12491     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MakeCellVisible" "', expected argument " "2"" of type '" "int""'"); 
12493   arg2 
= static_cast< int >(val2
); 
12494   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
12495   if (!SWIG_IsOK(ecode3
)) { 
12496     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_MakeCellVisible" "', expected argument " "3"" of type '" "int""'"); 
12498   arg3 
= static_cast< int >(val3
); 
12500     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12501     (arg1
)->MakeCellVisible(arg2
,arg3
); 
12502     wxPyEndAllowThreads(__tstate
); 
12503     if (PyErr_Occurred()) SWIG_fail
; 
12505   resultobj 
= SWIG_Py_Void(); 
12512 SWIGINTERN PyObject 
*_wrap_Grid_SetGridCursor(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12513   PyObject 
*resultobj 
= 0; 
12514   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12523   PyObject 
* obj0 
= 0 ; 
12524   PyObject 
* obj1 
= 0 ; 
12525   PyObject 
* obj2 
= 0 ; 
12526   char *  kwnames
[] = { 
12527     (char *) "self",(char *) "row",(char *) "col", NULL 
 
12530   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetGridCursor",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
12531   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
12532   if (!SWIG_IsOK(res1
)) { 
12533     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetGridCursor" "', expected argument " "1"" of type '" "wxGrid *""'");  
12535   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
12536   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
12537   if (!SWIG_IsOK(ecode2
)) { 
12538     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetGridCursor" "', expected argument " "2"" of type '" "int""'"); 
12540   arg2 
= static_cast< int >(val2
); 
12541   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
12542   if (!SWIG_IsOK(ecode3
)) { 
12543     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetGridCursor" "', expected argument " "3"" of type '" "int""'"); 
12545   arg3 
= static_cast< int >(val3
); 
12547     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12548     (arg1
)->SetGridCursor(arg2
,arg3
); 
12549     wxPyEndAllowThreads(__tstate
); 
12550     if (PyErr_Occurred()) SWIG_fail
; 
12552   resultobj 
= SWIG_Py_Void(); 
12559 SWIGINTERN PyObject 
*_wrap_Grid_MoveCursorUp(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12560   PyObject 
*resultobj 
= 0; 
12561   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12568   PyObject 
* obj0 
= 0 ; 
12569   PyObject 
* obj1 
= 0 ; 
12570   char *  kwnames
[] = { 
12571     (char *) "self",(char *) "expandSelection", NULL 
 
12574   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorUp",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12575   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
12576   if (!SWIG_IsOK(res1
)) { 
12577     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MoveCursorUp" "', expected argument " "1"" of type '" "wxGrid *""'");  
12579   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
12580   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
12581   if (!SWIG_IsOK(ecode2
)) { 
12582     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MoveCursorUp" "', expected argument " "2"" of type '" "bool""'"); 
12584   arg2 
= static_cast< bool >(val2
); 
12586     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12587     result 
= (bool)(arg1
)->MoveCursorUp(arg2
); 
12588     wxPyEndAllowThreads(__tstate
); 
12589     if (PyErr_Occurred()) SWIG_fail
; 
12592     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12600 SWIGINTERN PyObject 
*_wrap_Grid_MoveCursorDown(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12601   PyObject 
*resultobj 
= 0; 
12602   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12609   PyObject 
* obj0 
= 0 ; 
12610   PyObject 
* obj1 
= 0 ; 
12611   char *  kwnames
[] = { 
12612     (char *) "self",(char *) "expandSelection", NULL 
 
12615   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12616   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
12617   if (!SWIG_IsOK(res1
)) { 
12618     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MoveCursorDown" "', expected argument " "1"" of type '" "wxGrid *""'");  
12620   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
12621   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
12622   if (!SWIG_IsOK(ecode2
)) { 
12623     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MoveCursorDown" "', expected argument " "2"" of type '" "bool""'"); 
12625   arg2 
= static_cast< bool >(val2
); 
12627     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12628     result 
= (bool)(arg1
)->MoveCursorDown(arg2
); 
12629     wxPyEndAllowThreads(__tstate
); 
12630     if (PyErr_Occurred()) SWIG_fail
; 
12633     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12641 SWIGINTERN PyObject 
*_wrap_Grid_MoveCursorLeft(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12642   PyObject 
*resultobj 
= 0; 
12643   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12650   PyObject 
* obj0 
= 0 ; 
12651   PyObject 
* obj1 
= 0 ; 
12652   char *  kwnames
[] = { 
12653     (char *) "self",(char *) "expandSelection", NULL 
 
12656   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12657   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
12658   if (!SWIG_IsOK(res1
)) { 
12659     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MoveCursorLeft" "', expected argument " "1"" of type '" "wxGrid *""'");  
12661   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
12662   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
12663   if (!SWIG_IsOK(ecode2
)) { 
12664     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MoveCursorLeft" "', expected argument " "2"" of type '" "bool""'"); 
12666   arg2 
= static_cast< bool >(val2
); 
12668     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12669     result 
= (bool)(arg1
)->MoveCursorLeft(arg2
); 
12670     wxPyEndAllowThreads(__tstate
); 
12671     if (PyErr_Occurred()) SWIG_fail
; 
12674     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12682 SWIGINTERN PyObject 
*_wrap_Grid_MoveCursorRight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12683   PyObject 
*resultobj 
= 0; 
12684   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12691   PyObject 
* obj0 
= 0 ; 
12692   PyObject 
* obj1 
= 0 ; 
12693   char *  kwnames
[] = { 
12694     (char *) "self",(char *) "expandSelection", NULL 
 
12697   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12698   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
12699   if (!SWIG_IsOK(res1
)) { 
12700     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MoveCursorRight" "', expected argument " "1"" of type '" "wxGrid *""'");  
12702   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
12703   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
12704   if (!SWIG_IsOK(ecode2
)) { 
12705     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MoveCursorRight" "', expected argument " "2"" of type '" "bool""'"); 
12707   arg2 
= static_cast< bool >(val2
); 
12709     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12710     result 
= (bool)(arg1
)->MoveCursorRight(arg2
); 
12711     wxPyEndAllowThreads(__tstate
); 
12712     if (PyErr_Occurred()) SWIG_fail
; 
12715     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12723 SWIGINTERN PyObject 
*_wrap_Grid_MovePageDown(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12724   PyObject 
*resultobj 
= 0; 
12725   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12729   PyObject 
*swig_obj
[1] ; 
12731   if (!args
) SWIG_fail
; 
12732   swig_obj
[0] = args
; 
12733   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
12734   if (!SWIG_IsOK(res1
)) { 
12735     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MovePageDown" "', expected argument " "1"" of type '" "wxGrid *""'");  
12737   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
12739     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12740     result 
= (bool)(arg1
)->MovePageDown(); 
12741     wxPyEndAllowThreads(__tstate
); 
12742     if (PyErr_Occurred()) SWIG_fail
; 
12745     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12753 SWIGINTERN PyObject 
*_wrap_Grid_MovePageUp(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12754   PyObject 
*resultobj 
= 0; 
12755   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12759   PyObject 
*swig_obj
[1] ; 
12761   if (!args
) SWIG_fail
; 
12762   swig_obj
[0] = args
; 
12763   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
12764   if (!SWIG_IsOK(res1
)) { 
12765     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MovePageUp" "', expected argument " "1"" of type '" "wxGrid *""'");  
12767   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
12769     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12770     result 
= (bool)(arg1
)->MovePageUp(); 
12771     wxPyEndAllowThreads(__tstate
); 
12772     if (PyErr_Occurred()) SWIG_fail
; 
12775     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12783 SWIGINTERN PyObject 
*_wrap_Grid_MoveCursorUpBlock(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12784   PyObject 
*resultobj 
= 0; 
12785   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12792   PyObject 
* obj0 
= 0 ; 
12793   PyObject 
* obj1 
= 0 ; 
12794   char *  kwnames
[] = { 
12795     (char *) "self",(char *) "expandSelection", NULL 
 
12798   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorUpBlock",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12799   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
12800   if (!SWIG_IsOK(res1
)) { 
12801     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MoveCursorUpBlock" "', expected argument " "1"" of type '" "wxGrid *""'");  
12803   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
12804   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
12805   if (!SWIG_IsOK(ecode2
)) { 
12806     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MoveCursorUpBlock" "', expected argument " "2"" of type '" "bool""'"); 
12808   arg2 
= static_cast< bool >(val2
); 
12810     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12811     result 
= (bool)(arg1
)->MoveCursorUpBlock(arg2
); 
12812     wxPyEndAllowThreads(__tstate
); 
12813     if (PyErr_Occurred()) SWIG_fail
; 
12816     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12824 SWIGINTERN PyObject 
*_wrap_Grid_MoveCursorDownBlock(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12825   PyObject 
*resultobj 
= 0; 
12826   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12833   PyObject 
* obj0 
= 0 ; 
12834   PyObject 
* obj1 
= 0 ; 
12835   char *  kwnames
[] = { 
12836     (char *) "self",(char *) "expandSelection", NULL 
 
12839   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorDownBlock",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12840   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
12841   if (!SWIG_IsOK(res1
)) { 
12842     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MoveCursorDownBlock" "', expected argument " "1"" of type '" "wxGrid *""'");  
12844   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
12845   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
12846   if (!SWIG_IsOK(ecode2
)) { 
12847     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MoveCursorDownBlock" "', expected argument " "2"" of type '" "bool""'"); 
12849   arg2 
= static_cast< bool >(val2
); 
12851     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12852     result 
= (bool)(arg1
)->MoveCursorDownBlock(arg2
); 
12853     wxPyEndAllowThreads(__tstate
); 
12854     if (PyErr_Occurred()) SWIG_fail
; 
12857     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12865 SWIGINTERN PyObject 
*_wrap_Grid_MoveCursorLeftBlock(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12866   PyObject 
*resultobj 
= 0; 
12867   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12874   PyObject 
* obj0 
= 0 ; 
12875   PyObject 
* obj1 
= 0 ; 
12876   char *  kwnames
[] = { 
12877     (char *) "self",(char *) "expandSelection", NULL 
 
12880   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorLeftBlock",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12881   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
12882   if (!SWIG_IsOK(res1
)) { 
12883     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MoveCursorLeftBlock" "', expected argument " "1"" of type '" "wxGrid *""'");  
12885   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
12886   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
12887   if (!SWIG_IsOK(ecode2
)) { 
12888     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MoveCursorLeftBlock" "', expected argument " "2"" of type '" "bool""'"); 
12890   arg2 
= static_cast< bool >(val2
); 
12892     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12893     result 
= (bool)(arg1
)->MoveCursorLeftBlock(arg2
); 
12894     wxPyEndAllowThreads(__tstate
); 
12895     if (PyErr_Occurred()) SWIG_fail
; 
12898     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12906 SWIGINTERN PyObject 
*_wrap_Grid_MoveCursorRightBlock(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12907   PyObject 
*resultobj 
= 0; 
12908   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12915   PyObject 
* obj0 
= 0 ; 
12916   PyObject 
* obj1 
= 0 ; 
12917   char *  kwnames
[] = { 
12918     (char *) "self",(char *) "expandSelection", NULL 
 
12921   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorRightBlock",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12922   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
12923   if (!SWIG_IsOK(res1
)) { 
12924     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MoveCursorRightBlock" "', expected argument " "1"" of type '" "wxGrid *""'");  
12926   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
12927   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
12928   if (!SWIG_IsOK(ecode2
)) { 
12929     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MoveCursorRightBlock" "', expected argument " "2"" of type '" "bool""'"); 
12931   arg2 
= static_cast< bool >(val2
); 
12933     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12934     result 
= (bool)(arg1
)->MoveCursorRightBlock(arg2
); 
12935     wxPyEndAllowThreads(__tstate
); 
12936     if (PyErr_Occurred()) SWIG_fail
; 
12939     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12947 SWIGINTERN PyObject 
*_wrap_Grid_GetDefaultRowLabelSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12948   PyObject 
*resultobj 
= 0; 
12949   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12953   PyObject 
*swig_obj
[1] ; 
12955   if (!args
) SWIG_fail
; 
12956   swig_obj
[0] = args
; 
12957   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
12958   if (!SWIG_IsOK(res1
)) { 
12959     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultRowLabelSize" "', expected argument " "1"" of type '" "wxGrid *""'");  
12961   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
12963     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12964     result 
= (int)(arg1
)->GetDefaultRowLabelSize(); 
12965     wxPyEndAllowThreads(__tstate
); 
12966     if (PyErr_Occurred()) SWIG_fail
; 
12968   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
12975 SWIGINTERN PyObject 
*_wrap_Grid_GetRowLabelSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12976   PyObject 
*resultobj 
= 0; 
12977   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12981   PyObject 
*swig_obj
[1] ; 
12983   if (!args
) SWIG_fail
; 
12984   swig_obj
[0] = args
; 
12985   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
12986   if (!SWIG_IsOK(res1
)) { 
12987     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetRowLabelSize" "', expected argument " "1"" of type '" "wxGrid *""'");  
12989   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
12991     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12992     result 
= (int)(arg1
)->GetRowLabelSize(); 
12993     wxPyEndAllowThreads(__tstate
); 
12994     if (PyErr_Occurred()) SWIG_fail
; 
12996   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
13003 SWIGINTERN PyObject 
*_wrap_Grid_GetDefaultColLabelSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13004   PyObject 
*resultobj 
= 0; 
13005   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13009   PyObject 
*swig_obj
[1] ; 
13011   if (!args
) SWIG_fail
; 
13012   swig_obj
[0] = args
; 
13013   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
13014   if (!SWIG_IsOK(res1
)) { 
13015     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultColLabelSize" "', expected argument " "1"" of type '" "wxGrid *""'");  
13017   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
13019     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13020     result 
= (int)(arg1
)->GetDefaultColLabelSize(); 
13021     wxPyEndAllowThreads(__tstate
); 
13022     if (PyErr_Occurred()) SWIG_fail
; 
13024   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
13031 SWIGINTERN PyObject 
*_wrap_Grid_GetColLabelSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13032   PyObject 
*resultobj 
= 0; 
13033   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13037   PyObject 
*swig_obj
[1] ; 
13039   if (!args
) SWIG_fail
; 
13040   swig_obj
[0] = args
; 
13041   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
13042   if (!SWIG_IsOK(res1
)) { 
13043     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetColLabelSize" "', expected argument " "1"" of type '" "wxGrid *""'");  
13045   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
13047     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13048     result 
= (int)(arg1
)->GetColLabelSize(); 
13049     wxPyEndAllowThreads(__tstate
); 
13050     if (PyErr_Occurred()) SWIG_fail
; 
13052   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
13059 SWIGINTERN PyObject 
*_wrap_Grid_GetLabelBackgroundColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13060   PyObject 
*resultobj 
= 0; 
13061   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13065   PyObject 
*swig_obj
[1] ; 
13067   if (!args
) SWIG_fail
; 
13068   swig_obj
[0] = args
; 
13069   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
13070   if (!SWIG_IsOK(res1
)) { 
13071     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetLabelBackgroundColour" "', expected argument " "1"" of type '" "wxGrid *""'");  
13073   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
13075     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13076     result 
= (arg1
)->GetLabelBackgroundColour(); 
13077     wxPyEndAllowThreads(__tstate
); 
13078     if (PyErr_Occurred()) SWIG_fail
; 
13080   resultobj 
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN 
|  0 ); 
13087 SWIGINTERN PyObject 
*_wrap_Grid_GetLabelTextColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13088   PyObject 
*resultobj 
= 0; 
13089   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13093   PyObject 
*swig_obj
[1] ; 
13095   if (!args
) SWIG_fail
; 
13096   swig_obj
[0] = args
; 
13097   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
13098   if (!SWIG_IsOK(res1
)) { 
13099     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetLabelTextColour" "', expected argument " "1"" of type '" "wxGrid *""'");  
13101   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
13103     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13104     result 
= (arg1
)->GetLabelTextColour(); 
13105     wxPyEndAllowThreads(__tstate
); 
13106     if (PyErr_Occurred()) SWIG_fail
; 
13108   resultobj 
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN 
|  0 ); 
13115 SWIGINTERN PyObject 
*_wrap_Grid_GetLabelFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13116   PyObject 
*resultobj 
= 0; 
13117   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13121   PyObject 
*swig_obj
[1] ; 
13123   if (!args
) SWIG_fail
; 
13124   swig_obj
[0] = args
; 
13125   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
13126   if (!SWIG_IsOK(res1
)) { 
13127     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetLabelFont" "', expected argument " "1"" of type '" "wxGrid *""'");  
13129   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
13131     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13132     result 
= (arg1
)->GetLabelFont(); 
13133     wxPyEndAllowThreads(__tstate
); 
13134     if (PyErr_Occurred()) SWIG_fail
; 
13136   resultobj 
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN 
|  0 ); 
13143 SWIGINTERN PyObject 
*_wrap_Grid_GetRowLabelAlignment(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13144   PyObject 
*resultobj 
= 0; 
13145   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13146   int *arg2 
= (int *) 0 ; 
13147   int *arg3 
= (int *) 0 ; 
13151   int res2 
= SWIG_TMPOBJ 
; 
13153   int res3 
= SWIG_TMPOBJ 
; 
13154   PyObject 
*swig_obj
[1] ; 
13158   if (!args
) SWIG_fail
; 
13159   swig_obj
[0] = args
; 
13160   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
13161   if (!SWIG_IsOK(res1
)) { 
13162     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetRowLabelAlignment" "', expected argument " "1"" of type '" "wxGrid *""'");  
13164   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
13166     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13167     (arg1
)->GetRowLabelAlignment(arg2
,arg3
); 
13168     wxPyEndAllowThreads(__tstate
); 
13169     if (PyErr_Occurred()) SWIG_fail
; 
13171   resultobj 
= SWIG_Py_Void(); 
13172   if (SWIG_IsTmpObj(res2
)) { 
13173     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
13175     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
13176     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
13178   if (SWIG_IsTmpObj(res3
)) { 
13179     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
13181     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
13182     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
13190 SWIGINTERN PyObject 
*_wrap_Grid_GetColLabelAlignment(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13191   PyObject 
*resultobj 
= 0; 
13192   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13193   int *arg2 
= (int *) 0 ; 
13194   int *arg3 
= (int *) 0 ; 
13198   int res2 
= SWIG_TMPOBJ 
; 
13200   int res3 
= SWIG_TMPOBJ 
; 
13201   PyObject 
*swig_obj
[1] ; 
13205   if (!args
) SWIG_fail
; 
13206   swig_obj
[0] = args
; 
13207   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
13208   if (!SWIG_IsOK(res1
)) { 
13209     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetColLabelAlignment" "', expected argument " "1"" of type '" "wxGrid *""'");  
13211   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
13213     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13214     (arg1
)->GetColLabelAlignment(arg2
,arg3
); 
13215     wxPyEndAllowThreads(__tstate
); 
13216     if (PyErr_Occurred()) SWIG_fail
; 
13218   resultobj 
= SWIG_Py_Void(); 
13219   if (SWIG_IsTmpObj(res2
)) { 
13220     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
13222     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
13223     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
13225   if (SWIG_IsTmpObj(res3
)) { 
13226     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
13228     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
13229     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
13237 SWIGINTERN PyObject 
*_wrap_Grid_GetColLabelTextOrientation(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13238   PyObject 
*resultobj 
= 0; 
13239   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13243   PyObject 
*swig_obj
[1] ; 
13245   if (!args
) SWIG_fail
; 
13246   swig_obj
[0] = args
; 
13247   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
13248   if (!SWIG_IsOK(res1
)) { 
13249     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetColLabelTextOrientation" "', expected argument " "1"" of type '" "wxGrid *""'");  
13251   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
13253     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13254     result 
= (int)(arg1
)->GetColLabelTextOrientation(); 
13255     wxPyEndAllowThreads(__tstate
); 
13256     if (PyErr_Occurred()) SWIG_fail
; 
13258   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
13265 SWIGINTERN PyObject 
*_wrap_Grid_GetRowLabelValue(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13266   PyObject 
*resultobj 
= 0; 
13267   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13274   PyObject 
* obj0 
= 0 ; 
13275   PyObject 
* obj1 
= 0 ; 
13276   char *  kwnames
[] = { 
13277     (char *) "self",(char *) "row", NULL 
 
13280   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
13281   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
13282   if (!SWIG_IsOK(res1
)) { 
13283     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetRowLabelValue" "', expected argument " "1"" of type '" "wxGrid *""'");  
13285   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
13286   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
13287   if (!SWIG_IsOK(ecode2
)) { 
13288     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetRowLabelValue" "', expected argument " "2"" of type '" "int""'"); 
13290   arg2 
= static_cast< int >(val2
); 
13292     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13293     result 
= (arg1
)->GetRowLabelValue(arg2
); 
13294     wxPyEndAllowThreads(__tstate
); 
13295     if (PyErr_Occurred()) SWIG_fail
; 
13299     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
13301     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
13310 SWIGINTERN PyObject 
*_wrap_Grid_GetColLabelValue(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13311   PyObject 
*resultobj 
= 0; 
13312   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13319   PyObject 
* obj0 
= 0 ; 
13320   PyObject 
* obj1 
= 0 ; 
13321   char *  kwnames
[] = { 
13322     (char *) "self",(char *) "col", NULL 
 
13325   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColLabelValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
13326   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
13327   if (!SWIG_IsOK(res1
)) { 
13328     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetColLabelValue" "', expected argument " "1"" of type '" "wxGrid *""'");  
13330   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
13331   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
13332   if (!SWIG_IsOK(ecode2
)) { 
13333     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetColLabelValue" "', expected argument " "2"" of type '" "int""'"); 
13335   arg2 
= static_cast< int >(val2
); 
13337     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13338     result 
= (arg1
)->GetColLabelValue(arg2
); 
13339     wxPyEndAllowThreads(__tstate
); 
13340     if (PyErr_Occurred()) SWIG_fail
; 
13344     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
13346     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
13355 SWIGINTERN PyObject 
*_wrap_Grid_GetGridLineColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13356   PyObject 
*resultobj 
= 0; 
13357   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13361   PyObject 
*swig_obj
[1] ; 
13363   if (!args
) SWIG_fail
; 
13364   swig_obj
[0] = args
; 
13365   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
13366   if (!SWIG_IsOK(res1
)) { 
13367     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetGridLineColour" "', expected argument " "1"" of type '" "wxGrid *""'");  
13369   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
13371     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13372     result 
= (arg1
)->GetGridLineColour(); 
13373     wxPyEndAllowThreads(__tstate
); 
13374     if (PyErr_Occurred()) SWIG_fail
; 
13376   resultobj 
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN 
|  0 ); 
13383 SWIGINTERN PyObject 
*_wrap_Grid_GetDefaultGridLinePen(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13384   PyObject 
*resultobj 
= 0; 
13385   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13389   PyObject 
*swig_obj
[1] ; 
13391   if (!args
) SWIG_fail
; 
13392   swig_obj
[0] = args
; 
13393   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
13394   if (!SWIG_IsOK(res1
)) { 
13395     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultGridLinePen" "', expected argument " "1"" of type '" "wxGrid *""'");  
13397   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
13399     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13400     result 
= (arg1
)->GetDefaultGridLinePen(); 
13401     wxPyEndAllowThreads(__tstate
); 
13402     if (PyErr_Occurred()) SWIG_fail
; 
13404   resultobj 
= SWIG_NewPointerObj((new wxPen(static_cast< const wxPen
& >(result
))), SWIGTYPE_p_wxPen
, SWIG_POINTER_OWN 
|  0 ); 
13411 SWIGINTERN PyObject 
*_wrap_Grid_GetRowGridLinePen(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13412   PyObject 
*resultobj 
= 0; 
13413   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13420   PyObject 
* obj0 
= 0 ; 
13421   PyObject 
* obj1 
= 0 ; 
13422   char *  kwnames
[] = { 
13423     (char *) "self",(char *) "row", NULL 
 
13426   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetRowGridLinePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
13427   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
13428   if (!SWIG_IsOK(res1
)) { 
13429     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetRowGridLinePen" "', expected argument " "1"" of type '" "wxGrid *""'");  
13431   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
13432   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
13433   if (!SWIG_IsOK(ecode2
)) { 
13434     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetRowGridLinePen" "', expected argument " "2"" of type '" "int""'"); 
13436   arg2 
= static_cast< int >(val2
); 
13438     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13439     result 
= (arg1
)->GetRowGridLinePen(arg2
); 
13440     wxPyEndAllowThreads(__tstate
); 
13441     if (PyErr_Occurred()) SWIG_fail
; 
13443   resultobj 
= SWIG_NewPointerObj((new wxPen(static_cast< const wxPen
& >(result
))), SWIGTYPE_p_wxPen
, SWIG_POINTER_OWN 
|  0 ); 
13450 SWIGINTERN PyObject 
*_wrap_Grid_GetColGridLinePen(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13451   PyObject 
*resultobj 
= 0; 
13452   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13459   PyObject 
* obj0 
= 0 ; 
13460   PyObject 
* obj1 
= 0 ; 
13461   char *  kwnames
[] = { 
13462     (char *) "self",(char *) "col", NULL 
 
13465   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColGridLinePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
13466   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
13467   if (!SWIG_IsOK(res1
)) { 
13468     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetColGridLinePen" "', expected argument " "1"" of type '" "wxGrid *""'");  
13470   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
13471   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
13472   if (!SWIG_IsOK(ecode2
)) { 
13473     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetColGridLinePen" "', expected argument " "2"" of type '" "int""'"); 
13475   arg2 
= static_cast< int >(val2
); 
13477     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13478     result 
= (arg1
)->GetColGridLinePen(arg2
); 
13479     wxPyEndAllowThreads(__tstate
); 
13480     if (PyErr_Occurred()) SWIG_fail
; 
13482   resultobj 
= SWIG_NewPointerObj((new wxPen(static_cast< const wxPen
& >(result
))), SWIGTYPE_p_wxPen
, SWIG_POINTER_OWN 
|  0 ); 
13489 SWIGINTERN PyObject 
*_wrap_Grid_GetCellHighlightColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13490   PyObject 
*resultobj 
= 0; 
13491   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13495   PyObject 
*swig_obj
[1] ; 
13497   if (!args
) SWIG_fail
; 
13498   swig_obj
[0] = args
; 
13499   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
13500   if (!SWIG_IsOK(res1
)) { 
13501     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellHighlightColour" "', expected argument " "1"" of type '" "wxGrid *""'");  
13503   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
13505     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13506     result 
= (arg1
)->GetCellHighlightColour(); 
13507     wxPyEndAllowThreads(__tstate
); 
13508     if (PyErr_Occurred()) SWIG_fail
; 
13510   resultobj 
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN 
|  0 ); 
13517 SWIGINTERN PyObject 
*_wrap_Grid_GetCellHighlightPenWidth(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13518   PyObject 
*resultobj 
= 0; 
13519   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13523   PyObject 
*swig_obj
[1] ; 
13525   if (!args
) SWIG_fail
; 
13526   swig_obj
[0] = args
; 
13527   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
13528   if (!SWIG_IsOK(res1
)) { 
13529     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellHighlightPenWidth" "', expected argument " "1"" of type '" "wxGrid *""'");  
13531   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
13533     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13534     result 
= (int)(arg1
)->GetCellHighlightPenWidth(); 
13535     wxPyEndAllowThreads(__tstate
); 
13536     if (PyErr_Occurred()) SWIG_fail
; 
13538   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
13545 SWIGINTERN PyObject 
*_wrap_Grid_GetCellHighlightROPenWidth(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13546   PyObject 
*resultobj 
= 0; 
13547   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13551   PyObject 
*swig_obj
[1] ; 
13553   if (!args
) SWIG_fail
; 
13554   swig_obj
[0] = args
; 
13555   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
13556   if (!SWIG_IsOK(res1
)) { 
13557     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellHighlightROPenWidth" "', expected argument " "1"" of type '" "wxGrid *""'");  
13559   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
13561     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13562     result 
= (int)(arg1
)->GetCellHighlightROPenWidth(); 
13563     wxPyEndAllowThreads(__tstate
); 
13564     if (PyErr_Occurred()) SWIG_fail
; 
13566   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
13573 SWIGINTERN PyObject 
*_wrap_Grid_SetRowLabelSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13574   PyObject 
*resultobj 
= 0; 
13575   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13581   PyObject 
* obj0 
= 0 ; 
13582   PyObject 
* obj1 
= 0 ; 
13583   char *  kwnames
[] = { 
13584     (char *) "self",(char *) "width", NULL 
 
13587   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetRowLabelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
13588   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
13589   if (!SWIG_IsOK(res1
)) { 
13590     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetRowLabelSize" "', expected argument " "1"" of type '" "wxGrid *""'");  
13592   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
13593   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
13594   if (!SWIG_IsOK(ecode2
)) { 
13595     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetRowLabelSize" "', expected argument " "2"" of type '" "int""'"); 
13597   arg2 
= static_cast< int >(val2
); 
13599     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13600     (arg1
)->SetRowLabelSize(arg2
); 
13601     wxPyEndAllowThreads(__tstate
); 
13602     if (PyErr_Occurred()) SWIG_fail
; 
13604   resultobj 
= SWIG_Py_Void(); 
13611 SWIGINTERN PyObject 
*_wrap_Grid_SetColLabelSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13612   PyObject 
*resultobj 
= 0; 
13613   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13619   PyObject 
* obj0 
= 0 ; 
13620   PyObject 
* obj1 
= 0 ; 
13621   char *  kwnames
[] = { 
13622     (char *) "self",(char *) "height", NULL 
 
13625   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColLabelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
13626   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
13627   if (!SWIG_IsOK(res1
)) { 
13628     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColLabelSize" "', expected argument " "1"" of type '" "wxGrid *""'");  
13630   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
13631   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
13632   if (!SWIG_IsOK(ecode2
)) { 
13633     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColLabelSize" "', expected argument " "2"" of type '" "int""'"); 
13635   arg2 
= static_cast< int >(val2
); 
13637     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13638     (arg1
)->SetColLabelSize(arg2
); 
13639     wxPyEndAllowThreads(__tstate
); 
13640     if (PyErr_Occurred()) SWIG_fail
; 
13642   resultobj 
= SWIG_Py_Void(); 
13649 SWIGINTERN PyObject 
*_wrap_Grid_SetLabelBackgroundColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13650   PyObject 
*resultobj 
= 0; 
13651   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13652   wxColour 
*arg2 
= 0 ; 
13656   PyObject 
* obj0 
= 0 ; 
13657   PyObject 
* obj1 
= 0 ; 
13658   char *  kwnames
[] = { 
13659     (char *) "self",(char *)"arg2", NULL 
 
13662   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
13663   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
13664   if (!SWIG_IsOK(res1
)) { 
13665     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetLabelBackgroundColour" "', expected argument " "1"" of type '" "wxGrid *""'");  
13667   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
13670     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
13673     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13674     (arg1
)->SetLabelBackgroundColour((wxColour 
const &)*arg2
); 
13675     wxPyEndAllowThreads(__tstate
); 
13676     if (PyErr_Occurred()) SWIG_fail
; 
13678   resultobj 
= SWIG_Py_Void(); 
13685 SWIGINTERN PyObject 
*_wrap_Grid_SetLabelTextColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13686   PyObject 
*resultobj 
= 0; 
13687   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13688   wxColour 
*arg2 
= 0 ; 
13692   PyObject 
* obj0 
= 0 ; 
13693   PyObject 
* obj1 
= 0 ; 
13694   char *  kwnames
[] = { 
13695     (char *) "self",(char *)"arg2", NULL 
 
13698   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
13699   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
13700   if (!SWIG_IsOK(res1
)) { 
13701     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetLabelTextColour" "', expected argument " "1"" of type '" "wxGrid *""'");  
13703   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
13706     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
13709     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13710     (arg1
)->SetLabelTextColour((wxColour 
const &)*arg2
); 
13711     wxPyEndAllowThreads(__tstate
); 
13712     if (PyErr_Occurred()) SWIG_fail
; 
13714   resultobj 
= SWIG_Py_Void(); 
13721 SWIGINTERN PyObject 
*_wrap_Grid_SetLabelFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13722   PyObject 
*resultobj 
= 0; 
13723   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13729   PyObject 
* obj0 
= 0 ; 
13730   PyObject 
* obj1 
= 0 ; 
13731   char *  kwnames
[] = { 
13732     (char *) "self",(char *)"arg2", NULL 
 
13735   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
13736   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
13737   if (!SWIG_IsOK(res1
)) { 
13738     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetLabelFont" "', expected argument " "1"" of type '" "wxGrid *""'");  
13740   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
13741   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
,  0  | 0); 
13742   if (!SWIG_IsOK(res2
)) { 
13743     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_SetLabelFont" "', expected argument " "2"" of type '" "wxFont const &""'");  
13746     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Grid_SetLabelFont" "', expected argument " "2"" of type '" "wxFont const &""'");  
13748   arg2 
= reinterpret_cast< wxFont 
* >(argp2
); 
13750     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13751     (arg1
)->SetLabelFont((wxFont 
const &)*arg2
); 
13752     wxPyEndAllowThreads(__tstate
); 
13753     if (PyErr_Occurred()) SWIG_fail
; 
13755   resultobj 
= SWIG_Py_Void(); 
13762 SWIGINTERN PyObject 
*_wrap_Grid_SetRowLabelAlignment(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13763   PyObject 
*resultobj 
= 0; 
13764   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13773   PyObject 
* obj0 
= 0 ; 
13774   PyObject 
* obj1 
= 0 ; 
13775   PyObject 
* obj2 
= 0 ; 
13776   char *  kwnames
[] = { 
13777     (char *) "self",(char *) "horiz",(char *) "vert", NULL 
 
13780   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowLabelAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
13781   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
13782   if (!SWIG_IsOK(res1
)) { 
13783     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetRowLabelAlignment" "', expected argument " "1"" of type '" "wxGrid *""'");  
13785   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
13786   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
13787   if (!SWIG_IsOK(ecode2
)) { 
13788     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetRowLabelAlignment" "', expected argument " "2"" of type '" "int""'"); 
13790   arg2 
= static_cast< int >(val2
); 
13791   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
13792   if (!SWIG_IsOK(ecode3
)) { 
13793     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetRowLabelAlignment" "', expected argument " "3"" of type '" "int""'"); 
13795   arg3 
= static_cast< int >(val3
); 
13797     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13798     (arg1
)->SetRowLabelAlignment(arg2
,arg3
); 
13799     wxPyEndAllowThreads(__tstate
); 
13800     if (PyErr_Occurred()) SWIG_fail
; 
13802   resultobj 
= SWIG_Py_Void(); 
13809 SWIGINTERN PyObject 
*_wrap_Grid_SetColLabelAlignment(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13810   PyObject 
*resultobj 
= 0; 
13811   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13820   PyObject 
* obj0 
= 0 ; 
13821   PyObject 
* obj1 
= 0 ; 
13822   PyObject 
* obj2 
= 0 ; 
13823   char *  kwnames
[] = { 
13824     (char *) "self",(char *) "horiz",(char *) "vert", NULL 
 
13827   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColLabelAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
13828   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
13829   if (!SWIG_IsOK(res1
)) { 
13830     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColLabelAlignment" "', expected argument " "1"" of type '" "wxGrid *""'");  
13832   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
13833   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
13834   if (!SWIG_IsOK(ecode2
)) { 
13835     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColLabelAlignment" "', expected argument " "2"" of type '" "int""'"); 
13837   arg2 
= static_cast< int >(val2
); 
13838   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
13839   if (!SWIG_IsOK(ecode3
)) { 
13840     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetColLabelAlignment" "', expected argument " "3"" of type '" "int""'"); 
13842   arg3 
= static_cast< int >(val3
); 
13844     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13845     (arg1
)->SetColLabelAlignment(arg2
,arg3
); 
13846     wxPyEndAllowThreads(__tstate
); 
13847     if (PyErr_Occurred()) SWIG_fail
; 
13849   resultobj 
= SWIG_Py_Void(); 
13856 SWIGINTERN PyObject 
*_wrap_Grid_SetColLabelTextOrientation(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13857   PyObject 
*resultobj 
= 0; 
13858   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13864   PyObject 
* obj0 
= 0 ; 
13865   PyObject 
* obj1 
= 0 ; 
13866   char *  kwnames
[] = { 
13867     (char *) "self",(char *) "textOrientation", NULL 
 
13870   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColLabelTextOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
13871   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
13872   if (!SWIG_IsOK(res1
)) { 
13873     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColLabelTextOrientation" "', expected argument " "1"" of type '" "wxGrid *""'");  
13875   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
13876   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
13877   if (!SWIG_IsOK(ecode2
)) { 
13878     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColLabelTextOrientation" "', expected argument " "2"" of type '" "int""'"); 
13880   arg2 
= static_cast< int >(val2
); 
13882     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13883     (arg1
)->SetColLabelTextOrientation(arg2
); 
13884     wxPyEndAllowThreads(__tstate
); 
13885     if (PyErr_Occurred()) SWIG_fail
; 
13887   resultobj 
= SWIG_Py_Void(); 
13894 SWIGINTERN PyObject 
*_wrap_Grid_SetRowLabelValue(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13895   PyObject 
*resultobj 
= 0; 
13896   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13898   wxString 
*arg3 
= 0 ; 
13903   bool temp3 
= false ; 
13904   PyObject 
* obj0 
= 0 ; 
13905   PyObject 
* obj1 
= 0 ; 
13906   PyObject 
* obj2 
= 0 ; 
13907   char *  kwnames
[] = { 
13908     (char *) "self",(char *) "row",(char *)"arg3", NULL 
 
13911   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
13912   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
13913   if (!SWIG_IsOK(res1
)) { 
13914     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetRowLabelValue" "', expected argument " "1"" of type '" "wxGrid *""'");  
13916   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
13917   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
13918   if (!SWIG_IsOK(ecode2
)) { 
13919     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetRowLabelValue" "', expected argument " "2"" of type '" "int""'"); 
13921   arg2 
= static_cast< int >(val2
); 
13923     arg3 
= wxString_in_helper(obj2
); 
13924     if (arg3 
== NULL
) SWIG_fail
; 
13928     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13929     (arg1
)->SetRowLabelValue(arg2
,(wxString 
const &)*arg3
); 
13930     wxPyEndAllowThreads(__tstate
); 
13931     if (PyErr_Occurred()) SWIG_fail
; 
13933   resultobj 
= SWIG_Py_Void(); 
13948 SWIGINTERN PyObject 
*_wrap_Grid_SetColLabelValue(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13949   PyObject 
*resultobj 
= 0; 
13950   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13952   wxString 
*arg3 
= 0 ; 
13957   bool temp3 
= false ; 
13958   PyObject 
* obj0 
= 0 ; 
13959   PyObject 
* obj1 
= 0 ; 
13960   PyObject 
* obj2 
= 0 ; 
13961   char *  kwnames
[] = { 
13962     (char *) "self",(char *) "col",(char *)"arg3", NULL 
 
13965   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
13966   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
13967   if (!SWIG_IsOK(res1
)) { 
13968     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColLabelValue" "', expected argument " "1"" of type '" "wxGrid *""'");  
13970   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
13971   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
13972   if (!SWIG_IsOK(ecode2
)) { 
13973     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColLabelValue" "', expected argument " "2"" of type '" "int""'"); 
13975   arg2 
= static_cast< int >(val2
); 
13977     arg3 
= wxString_in_helper(obj2
); 
13978     if (arg3 
== NULL
) SWIG_fail
; 
13982     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13983     (arg1
)->SetColLabelValue(arg2
,(wxString 
const &)*arg3
); 
13984     wxPyEndAllowThreads(__tstate
); 
13985     if (PyErr_Occurred()) SWIG_fail
; 
13987   resultobj 
= SWIG_Py_Void(); 
14002 SWIGINTERN PyObject 
*_wrap_Grid_SetGridLineColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14003   PyObject 
*resultobj 
= 0; 
14004   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14005   wxColour 
*arg2 
= 0 ; 
14009   PyObject 
* obj0 
= 0 ; 
14010   PyObject 
* obj1 
= 0 ; 
14011   char *  kwnames
[] = { 
14012     (char *) "self",(char *)"arg2", NULL 
 
14015   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetGridLineColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
14016   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
14017   if (!SWIG_IsOK(res1
)) { 
14018     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetGridLineColour" "', expected argument " "1"" of type '" "wxGrid *""'");  
14020   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
14023     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
14026     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14027     (arg1
)->SetGridLineColour((wxColour 
const &)*arg2
); 
14028     wxPyEndAllowThreads(__tstate
); 
14029     if (PyErr_Occurred()) SWIG_fail
; 
14031   resultobj 
= SWIG_Py_Void(); 
14038 SWIGINTERN PyObject 
*_wrap_Grid_SetCellHighlightColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14039   PyObject 
*resultobj 
= 0; 
14040   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14041   wxColour 
*arg2 
= 0 ; 
14045   PyObject 
* obj0 
= 0 ; 
14046   PyObject 
* obj1 
= 0 ; 
14047   char *  kwnames
[] = { 
14048     (char *) "self",(char *)"arg2", NULL 
 
14051   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
14052   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
14053   if (!SWIG_IsOK(res1
)) { 
14054     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellHighlightColour" "', expected argument " "1"" of type '" "wxGrid *""'");  
14056   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
14059     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
14062     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14063     (arg1
)->SetCellHighlightColour((wxColour 
const &)*arg2
); 
14064     wxPyEndAllowThreads(__tstate
); 
14065     if (PyErr_Occurred()) SWIG_fail
; 
14067   resultobj 
= SWIG_Py_Void(); 
14074 SWIGINTERN PyObject 
*_wrap_Grid_SetCellHighlightPenWidth(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14075   PyObject 
*resultobj 
= 0; 
14076   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14082   PyObject 
* obj0 
= 0 ; 
14083   PyObject 
* obj1 
= 0 ; 
14084   char *  kwnames
[] = { 
14085     (char *) "self",(char *) "width", NULL 
 
14088   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightPenWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
14089   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
14090   if (!SWIG_IsOK(res1
)) { 
14091     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellHighlightPenWidth" "', expected argument " "1"" of type '" "wxGrid *""'");  
14093   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
14094   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
14095   if (!SWIG_IsOK(ecode2
)) { 
14096     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellHighlightPenWidth" "', expected argument " "2"" of type '" "int""'"); 
14098   arg2 
= static_cast< int >(val2
); 
14100     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14101     (arg1
)->SetCellHighlightPenWidth(arg2
); 
14102     wxPyEndAllowThreads(__tstate
); 
14103     if (PyErr_Occurred()) SWIG_fail
; 
14105   resultobj 
= SWIG_Py_Void(); 
14112 SWIGINTERN PyObject 
*_wrap_Grid_SetCellHighlightROPenWidth(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14113   PyObject 
*resultobj 
= 0; 
14114   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14120   PyObject 
* obj0 
= 0 ; 
14121   PyObject 
* obj1 
= 0 ; 
14122   char *  kwnames
[] = { 
14123     (char *) "self",(char *) "width", NULL 
 
14126   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightROPenWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
14127   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
14128   if (!SWIG_IsOK(res1
)) { 
14129     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellHighlightROPenWidth" "', expected argument " "1"" of type '" "wxGrid *""'");  
14131   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
14132   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
14133   if (!SWIG_IsOK(ecode2
)) { 
14134     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellHighlightROPenWidth" "', expected argument " "2"" of type '" "int""'"); 
14136   arg2 
= static_cast< int >(val2
); 
14138     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14139     (arg1
)->SetCellHighlightROPenWidth(arg2
); 
14140     wxPyEndAllowThreads(__tstate
); 
14141     if (PyErr_Occurred()) SWIG_fail
; 
14143   resultobj 
= SWIG_Py_Void(); 
14150 SWIGINTERN PyObject 
*_wrap_Grid_EnableDragRowSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14151   PyObject 
*resultobj 
= 0; 
14152   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14153   bool arg2 
= (bool) true ; 
14158   PyObject 
* obj0 
= 0 ; 
14159   PyObject 
* obj1 
= 0 ; 
14160   char *  kwnames
[] = { 
14161     (char *) "self",(char *) "enable", NULL 
 
14164   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragRowSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
14165   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
14166   if (!SWIG_IsOK(res1
)) { 
14167     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EnableDragRowSize" "', expected argument " "1"" of type '" "wxGrid *""'");  
14169   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
14171     ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
14172     if (!SWIG_IsOK(ecode2
)) { 
14173       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_EnableDragRowSize" "', expected argument " "2"" of type '" "bool""'"); 
14175     arg2 
= static_cast< bool >(val2
); 
14178     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14179     (arg1
)->EnableDragRowSize(arg2
); 
14180     wxPyEndAllowThreads(__tstate
); 
14181     if (PyErr_Occurred()) SWIG_fail
; 
14183   resultobj 
= SWIG_Py_Void(); 
14190 SWIGINTERN PyObject 
*_wrap_Grid_DisableDragRowSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14191   PyObject 
*resultobj 
= 0; 
14192   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14195   PyObject 
*swig_obj
[1] ; 
14197   if (!args
) SWIG_fail
; 
14198   swig_obj
[0] = args
; 
14199   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
14200   if (!SWIG_IsOK(res1
)) { 
14201     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DisableDragRowSize" "', expected argument " "1"" of type '" "wxGrid *""'");  
14203   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
14205     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14206     (arg1
)->DisableDragRowSize(); 
14207     wxPyEndAllowThreads(__tstate
); 
14208     if (PyErr_Occurred()) SWIG_fail
; 
14210   resultobj 
= SWIG_Py_Void(); 
14217 SWIGINTERN PyObject 
*_wrap_Grid_CanDragRowSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14218   PyObject 
*resultobj 
= 0; 
14219   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14223   PyObject 
*swig_obj
[1] ; 
14225   if (!args
) SWIG_fail
; 
14226   swig_obj
[0] = args
; 
14227   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
14228   if (!SWIG_IsOK(res1
)) { 
14229     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_CanDragRowSize" "', expected argument " "1"" of type '" "wxGrid *""'");  
14231   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
14233     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14234     result 
= (bool)(arg1
)->CanDragRowSize(); 
14235     wxPyEndAllowThreads(__tstate
); 
14236     if (PyErr_Occurred()) SWIG_fail
; 
14239     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14247 SWIGINTERN PyObject 
*_wrap_Grid_EnableDragColSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14248   PyObject 
*resultobj 
= 0; 
14249   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14250   bool arg2 
= (bool) true ; 
14255   PyObject 
* obj0 
= 0 ; 
14256   PyObject 
* obj1 
= 0 ; 
14257   char *  kwnames
[] = { 
14258     (char *) "self",(char *) "enable", NULL 
 
14261   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragColSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
14262   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
14263   if (!SWIG_IsOK(res1
)) { 
14264     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EnableDragColSize" "', expected argument " "1"" of type '" "wxGrid *""'");  
14266   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
14268     ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
14269     if (!SWIG_IsOK(ecode2
)) { 
14270       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_EnableDragColSize" "', expected argument " "2"" of type '" "bool""'"); 
14272     arg2 
= static_cast< bool >(val2
); 
14275     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14276     (arg1
)->EnableDragColSize(arg2
); 
14277     wxPyEndAllowThreads(__tstate
); 
14278     if (PyErr_Occurred()) SWIG_fail
; 
14280   resultobj 
= SWIG_Py_Void(); 
14287 SWIGINTERN PyObject 
*_wrap_Grid_DisableDragColSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14288   PyObject 
*resultobj 
= 0; 
14289   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14292   PyObject 
*swig_obj
[1] ; 
14294   if (!args
) SWIG_fail
; 
14295   swig_obj
[0] = args
; 
14296   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
14297   if (!SWIG_IsOK(res1
)) { 
14298     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DisableDragColSize" "', expected argument " "1"" of type '" "wxGrid *""'");  
14300   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
14302     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14303     (arg1
)->DisableDragColSize(); 
14304     wxPyEndAllowThreads(__tstate
); 
14305     if (PyErr_Occurred()) SWIG_fail
; 
14307   resultobj 
= SWIG_Py_Void(); 
14314 SWIGINTERN PyObject 
*_wrap_Grid_CanDragColSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14315   PyObject 
*resultobj 
= 0; 
14316   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14320   PyObject 
*swig_obj
[1] ; 
14322   if (!args
) SWIG_fail
; 
14323   swig_obj
[0] = args
; 
14324   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
14325   if (!SWIG_IsOK(res1
)) { 
14326     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_CanDragColSize" "', expected argument " "1"" of type '" "wxGrid *""'");  
14328   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
14330     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14331     result 
= (bool)(arg1
)->CanDragColSize(); 
14332     wxPyEndAllowThreads(__tstate
); 
14333     if (PyErr_Occurred()) SWIG_fail
; 
14336     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14344 SWIGINTERN PyObject 
*_wrap_Grid_EnableDragColMove(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14345   PyObject 
*resultobj 
= 0; 
14346   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14347   bool arg2 
= (bool) true ; 
14352   PyObject 
* obj0 
= 0 ; 
14353   PyObject 
* obj1 
= 0 ; 
14354   char *  kwnames
[] = { 
14355     (char *) "self",(char *) "enable", NULL 
 
14358   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragColMove",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
14359   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
14360   if (!SWIG_IsOK(res1
)) { 
14361     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EnableDragColMove" "', expected argument " "1"" of type '" "wxGrid *""'");  
14363   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
14365     ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
14366     if (!SWIG_IsOK(ecode2
)) { 
14367       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_EnableDragColMove" "', expected argument " "2"" of type '" "bool""'"); 
14369     arg2 
= static_cast< bool >(val2
); 
14372     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14373     (arg1
)->EnableDragColMove(arg2
); 
14374     wxPyEndAllowThreads(__tstate
); 
14375     if (PyErr_Occurred()) SWIG_fail
; 
14377   resultobj 
= SWIG_Py_Void(); 
14384 SWIGINTERN PyObject 
*_wrap_Grid_DisableDragColMove(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14385   PyObject 
*resultobj 
= 0; 
14386   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14389   PyObject 
*swig_obj
[1] ; 
14391   if (!args
) SWIG_fail
; 
14392   swig_obj
[0] = args
; 
14393   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
14394   if (!SWIG_IsOK(res1
)) { 
14395     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DisableDragColMove" "', expected argument " "1"" of type '" "wxGrid *""'");  
14397   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
14399     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14400     (arg1
)->DisableDragColMove(); 
14401     wxPyEndAllowThreads(__tstate
); 
14402     if (PyErr_Occurred()) SWIG_fail
; 
14404   resultobj 
= SWIG_Py_Void(); 
14411 SWIGINTERN PyObject 
*_wrap_Grid_CanDragColMove(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14412   PyObject 
*resultobj 
= 0; 
14413   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14417   PyObject 
*swig_obj
[1] ; 
14419   if (!args
) SWIG_fail
; 
14420   swig_obj
[0] = args
; 
14421   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
14422   if (!SWIG_IsOK(res1
)) { 
14423     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_CanDragColMove" "', expected argument " "1"" of type '" "wxGrid *""'");  
14425   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
14427     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14428     result 
= (bool)(arg1
)->CanDragColMove(); 
14429     wxPyEndAllowThreads(__tstate
); 
14430     if (PyErr_Occurred()) SWIG_fail
; 
14433     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14441 SWIGINTERN PyObject 
*_wrap_Grid_EnableDragGridSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14442   PyObject 
*resultobj 
= 0; 
14443   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14444   bool arg2 
= (bool) true ; 
14449   PyObject 
* obj0 
= 0 ; 
14450   PyObject 
* obj1 
= 0 ; 
14451   char *  kwnames
[] = { 
14452     (char *) "self",(char *) "enable", NULL 
 
14455   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragGridSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
14456   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
14457   if (!SWIG_IsOK(res1
)) { 
14458     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EnableDragGridSize" "', expected argument " "1"" of type '" "wxGrid *""'");  
14460   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
14462     ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
14463     if (!SWIG_IsOK(ecode2
)) { 
14464       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_EnableDragGridSize" "', expected argument " "2"" of type '" "bool""'"); 
14466     arg2 
= static_cast< bool >(val2
); 
14469     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14470     (arg1
)->EnableDragGridSize(arg2
); 
14471     wxPyEndAllowThreads(__tstate
); 
14472     if (PyErr_Occurred()) SWIG_fail
; 
14474   resultobj 
= SWIG_Py_Void(); 
14481 SWIGINTERN PyObject 
*_wrap_Grid_DisableDragGridSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14482   PyObject 
*resultobj 
= 0; 
14483   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14486   PyObject 
*swig_obj
[1] ; 
14488   if (!args
) SWIG_fail
; 
14489   swig_obj
[0] = args
; 
14490   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
14491   if (!SWIG_IsOK(res1
)) { 
14492     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DisableDragGridSize" "', expected argument " "1"" of type '" "wxGrid *""'");  
14494   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
14496     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14497     (arg1
)->DisableDragGridSize(); 
14498     wxPyEndAllowThreads(__tstate
); 
14499     if (PyErr_Occurred()) SWIG_fail
; 
14501   resultobj 
= SWIG_Py_Void(); 
14508 SWIGINTERN PyObject 
*_wrap_Grid_CanDragGridSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14509   PyObject 
*resultobj 
= 0; 
14510   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14514   PyObject 
*swig_obj
[1] ; 
14516   if (!args
) SWIG_fail
; 
14517   swig_obj
[0] = args
; 
14518   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
14519   if (!SWIG_IsOK(res1
)) { 
14520     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_CanDragGridSize" "', expected argument " "1"" of type '" "wxGrid *""'");  
14522   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
14524     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14525     result 
= (bool)(arg1
)->CanDragGridSize(); 
14526     wxPyEndAllowThreads(__tstate
); 
14527     if (PyErr_Occurred()) SWIG_fail
; 
14530     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14538 SWIGINTERN PyObject 
*_wrap_Grid_EnableDragCell(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14539   PyObject 
*resultobj 
= 0; 
14540   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14541   bool arg2 
= (bool) true ; 
14546   PyObject 
* obj0 
= 0 ; 
14547   PyObject 
* obj1 
= 0 ; 
14548   char *  kwnames
[] = { 
14549     (char *) "self",(char *) "enable", NULL 
 
14552   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragCell",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
14553   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
14554   if (!SWIG_IsOK(res1
)) { 
14555     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EnableDragCell" "', expected argument " "1"" of type '" "wxGrid *""'");  
14557   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
14559     ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
14560     if (!SWIG_IsOK(ecode2
)) { 
14561       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_EnableDragCell" "', expected argument " "2"" of type '" "bool""'"); 
14563     arg2 
= static_cast< bool >(val2
); 
14566     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14567     (arg1
)->EnableDragCell(arg2
); 
14568     wxPyEndAllowThreads(__tstate
); 
14569     if (PyErr_Occurred()) SWIG_fail
; 
14571   resultobj 
= SWIG_Py_Void(); 
14578 SWIGINTERN PyObject 
*_wrap_Grid_DisableDragCell(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14579   PyObject 
*resultobj 
= 0; 
14580   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14583   PyObject 
*swig_obj
[1] ; 
14585   if (!args
) SWIG_fail
; 
14586   swig_obj
[0] = args
; 
14587   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
14588   if (!SWIG_IsOK(res1
)) { 
14589     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DisableDragCell" "', expected argument " "1"" of type '" "wxGrid *""'");  
14591   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
14593     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14594     (arg1
)->DisableDragCell(); 
14595     wxPyEndAllowThreads(__tstate
); 
14596     if (PyErr_Occurred()) SWIG_fail
; 
14598   resultobj 
= SWIG_Py_Void(); 
14605 SWIGINTERN PyObject 
*_wrap_Grid_CanDragCell(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14606   PyObject 
*resultobj 
= 0; 
14607   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14611   PyObject 
*swig_obj
[1] ; 
14613   if (!args
) SWIG_fail
; 
14614   swig_obj
[0] = args
; 
14615   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
14616   if (!SWIG_IsOK(res1
)) { 
14617     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_CanDragCell" "', expected argument " "1"" of type '" "wxGrid *""'");  
14619   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
14621     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14622     result 
= (bool)(arg1
)->CanDragCell(); 
14623     wxPyEndAllowThreads(__tstate
); 
14624     if (PyErr_Occurred()) SWIG_fail
; 
14627     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14635 SWIGINTERN PyObject 
*_wrap_Grid_SetAttr(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14636   PyObject 
*resultobj 
= 0; 
14637   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14640   wxGridCellAttr 
*arg4 
= (wxGridCellAttr 
*) 0 ; 
14649   PyObject 
* obj0 
= 0 ; 
14650   PyObject 
* obj1 
= 0 ; 
14651   PyObject 
* obj2 
= 0 ; 
14652   PyObject 
* obj3 
= 0 ; 
14653   char *  kwnames
[] = { 
14654     (char *) "self",(char *) "row",(char *) "col",(char *) "attr", NULL 
 
14657   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
14658   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
14659   if (!SWIG_IsOK(res1
)) { 
14660     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetAttr" "', expected argument " "1"" of type '" "wxGrid *""'");  
14662   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
14663   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
14664   if (!SWIG_IsOK(ecode2
)) { 
14665     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetAttr" "', expected argument " "2"" of type '" "int""'"); 
14667   arg2 
= static_cast< int >(val2
); 
14668   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
14669   if (!SWIG_IsOK(ecode3
)) { 
14670     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetAttr" "', expected argument " "3"" of type '" "int""'"); 
14672   arg3 
= static_cast< int >(val3
); 
14673   res4 
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
14674   if (!SWIG_IsOK(res4
)) { 
14675     SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Grid_SetAttr" "', expected argument " "4"" of type '" "wxGridCellAttr *""'");  
14677   arg4 
= reinterpret_cast< wxGridCellAttr 
* >(argp4
); 
14679     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14680     (arg1
)->SetAttr(arg2
,arg3
,arg4
); 
14681     wxPyEndAllowThreads(__tstate
); 
14682     if (PyErr_Occurred()) SWIG_fail
; 
14684   resultobj 
= SWIG_Py_Void(); 
14691 SWIGINTERN PyObject 
*_wrap_Grid_SetRowAttr(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14692   PyObject 
*resultobj 
= 0; 
14693   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14695   wxGridCellAttr 
*arg3 
= (wxGridCellAttr 
*) 0 ; 
14702   PyObject 
* obj0 
= 0 ; 
14703   PyObject 
* obj1 
= 0 ; 
14704   PyObject 
* obj2 
= 0 ; 
14705   char *  kwnames
[] = { 
14706     (char *) "self",(char *) "row",(char *) "attr", NULL 
 
14709   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
14710   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
14711   if (!SWIG_IsOK(res1
)) { 
14712     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetRowAttr" "', expected argument " "1"" of type '" "wxGrid *""'");  
14714   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
14715   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
14716   if (!SWIG_IsOK(ecode2
)) { 
14717     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetRowAttr" "', expected argument " "2"" of type '" "int""'"); 
14719   arg2 
= static_cast< int >(val2
); 
14720   res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
14721   if (!SWIG_IsOK(res3
)) { 
14722     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Grid_SetRowAttr" "', expected argument " "3"" of type '" "wxGridCellAttr *""'");  
14724   arg3 
= reinterpret_cast< wxGridCellAttr 
* >(argp3
); 
14726     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14727     (arg1
)->SetRowAttr(arg2
,arg3
); 
14728     wxPyEndAllowThreads(__tstate
); 
14729     if (PyErr_Occurred()) SWIG_fail
; 
14731   resultobj 
= SWIG_Py_Void(); 
14738 SWIGINTERN PyObject 
*_wrap_Grid_SetColAttr(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14739   PyObject 
*resultobj 
= 0; 
14740   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14742   wxGridCellAttr 
*arg3 
= (wxGridCellAttr 
*) 0 ; 
14749   PyObject 
* obj0 
= 0 ; 
14750   PyObject 
* obj1 
= 0 ; 
14751   PyObject 
* obj2 
= 0 ; 
14752   char *  kwnames
[] = { 
14753     (char *) "self",(char *) "col",(char *) "attr", NULL 
 
14756   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
14757   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
14758   if (!SWIG_IsOK(res1
)) { 
14759     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColAttr" "', expected argument " "1"" of type '" "wxGrid *""'");  
14761   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
14762   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
14763   if (!SWIG_IsOK(ecode2
)) { 
14764     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColAttr" "', expected argument " "2"" of type '" "int""'"); 
14766   arg2 
= static_cast< int >(val2
); 
14767   res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
14768   if (!SWIG_IsOK(res3
)) { 
14769     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Grid_SetColAttr" "', expected argument " "3"" of type '" "wxGridCellAttr *""'");  
14771   arg3 
= reinterpret_cast< wxGridCellAttr 
* >(argp3
); 
14773     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14774     (arg1
)->SetColAttr(arg2
,arg3
); 
14775     wxPyEndAllowThreads(__tstate
); 
14776     if (PyErr_Occurred()) SWIG_fail
; 
14778   resultobj 
= SWIG_Py_Void(); 
14785 SWIGINTERN PyObject 
*_wrap_Grid_GetOrCreateCellAttr(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14786   PyObject 
*resultobj 
= 0; 
14787   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14790   wxGridCellAttr 
*result 
= 0 ; 
14797   PyObject 
* obj0 
= 0 ; 
14798   PyObject 
* obj1 
= 0 ; 
14799   PyObject 
* obj2 
= 0 ; 
14800   char *  kwnames
[] = { 
14801     (char *) "self",(char *) "row",(char *) "col", NULL 
 
14804   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetOrCreateCellAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
14805   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
14806   if (!SWIG_IsOK(res1
)) { 
14807     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetOrCreateCellAttr" "', expected argument " "1"" of type '" "wxGrid const *""'");  
14809   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
14810   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
14811   if (!SWIG_IsOK(ecode2
)) { 
14812     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetOrCreateCellAttr" "', expected argument " "2"" of type '" "int""'"); 
14814   arg2 
= static_cast< int >(val2
); 
14815   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
14816   if (!SWIG_IsOK(ecode3
)) { 
14817     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetOrCreateCellAttr" "', expected argument " "3"" of type '" "int""'"); 
14819   arg3 
= static_cast< int >(val3
); 
14821     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14822     result 
= (wxGridCellAttr 
*)((wxGrid 
const *)arg1
)->GetOrCreateCellAttr(arg2
,arg3
); 
14823     wxPyEndAllowThreads(__tstate
); 
14824     if (PyErr_Occurred()) SWIG_fail
; 
14827     resultobj 
= wxPyMake_wxGridCellAttr(result
,     (bool)0);  
14835 SWIGINTERN PyObject 
*_wrap_Grid_SetColFormatBool(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14836   PyObject 
*resultobj 
= 0; 
14837   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14843   PyObject 
* obj0 
= 0 ; 
14844   PyObject 
* obj1 
= 0 ; 
14845   char *  kwnames
[] = { 
14846     (char *) "self",(char *) "col", NULL 
 
14849   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColFormatBool",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
14850   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
14851   if (!SWIG_IsOK(res1
)) { 
14852     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColFormatBool" "', expected argument " "1"" of type '" "wxGrid *""'");  
14854   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
14855   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
14856   if (!SWIG_IsOK(ecode2
)) { 
14857     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColFormatBool" "', expected argument " "2"" of type '" "int""'"); 
14859   arg2 
= static_cast< int >(val2
); 
14861     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14862     (arg1
)->SetColFormatBool(arg2
); 
14863     wxPyEndAllowThreads(__tstate
); 
14864     if (PyErr_Occurred()) SWIG_fail
; 
14866   resultobj 
= SWIG_Py_Void(); 
14873 SWIGINTERN PyObject 
*_wrap_Grid_SetColFormatNumber(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14874   PyObject 
*resultobj 
= 0; 
14875   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14881   PyObject 
* obj0 
= 0 ; 
14882   PyObject 
* obj1 
= 0 ; 
14883   char *  kwnames
[] = { 
14884     (char *) "self",(char *) "col", NULL 
 
14887   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColFormatNumber",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
14888   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
14889   if (!SWIG_IsOK(res1
)) { 
14890     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColFormatNumber" "', expected argument " "1"" of type '" "wxGrid *""'");  
14892   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
14893   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
14894   if (!SWIG_IsOK(ecode2
)) { 
14895     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColFormatNumber" "', expected argument " "2"" of type '" "int""'"); 
14897   arg2 
= static_cast< int >(val2
); 
14899     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14900     (arg1
)->SetColFormatNumber(arg2
); 
14901     wxPyEndAllowThreads(__tstate
); 
14902     if (PyErr_Occurred()) SWIG_fail
; 
14904   resultobj 
= SWIG_Py_Void(); 
14911 SWIGINTERN PyObject 
*_wrap_Grid_SetColFormatFloat(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14912   PyObject 
*resultobj 
= 0; 
14913   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14915   int arg3 
= (int) -1 ; 
14916   int arg4 
= (int) -1 ; 
14925   PyObject 
* obj0 
= 0 ; 
14926   PyObject 
* obj1 
= 0 ; 
14927   PyObject 
* obj2 
= 0 ; 
14928   PyObject 
* obj3 
= 0 ; 
14929   char *  kwnames
[] = { 
14930     (char *) "self",(char *) "col",(char *) "width",(char *) "precision", NULL 
 
14933   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Grid_SetColFormatFloat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
14934   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
14935   if (!SWIG_IsOK(res1
)) { 
14936     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColFormatFloat" "', expected argument " "1"" of type '" "wxGrid *""'");  
14938   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
14939   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
14940   if (!SWIG_IsOK(ecode2
)) { 
14941     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColFormatFloat" "', expected argument " "2"" of type '" "int""'"); 
14943   arg2 
= static_cast< int >(val2
); 
14945     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
14946     if (!SWIG_IsOK(ecode3
)) { 
14947       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetColFormatFloat" "', expected argument " "3"" of type '" "int""'"); 
14949     arg3 
= static_cast< int >(val3
); 
14952     ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
14953     if (!SWIG_IsOK(ecode4
)) { 
14954       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_SetColFormatFloat" "', expected argument " "4"" of type '" "int""'"); 
14956     arg4 
= static_cast< int >(val4
); 
14959     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14960     (arg1
)->SetColFormatFloat(arg2
,arg3
,arg4
); 
14961     wxPyEndAllowThreads(__tstate
); 
14962     if (PyErr_Occurred()) SWIG_fail
; 
14964   resultobj 
= SWIG_Py_Void(); 
14971 SWIGINTERN PyObject 
*_wrap_Grid_SetColFormatCustom(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14972   PyObject 
*resultobj 
= 0; 
14973   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14975   wxString 
*arg3 
= 0 ; 
14980   bool temp3 
= false ; 
14981   PyObject 
* obj0 
= 0 ; 
14982   PyObject 
* obj1 
= 0 ; 
14983   PyObject 
* obj2 
= 0 ; 
14984   char *  kwnames
[] = { 
14985     (char *) "self",(char *) "col",(char *) "typeName", NULL 
 
14988   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColFormatCustom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
14989   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
14990   if (!SWIG_IsOK(res1
)) { 
14991     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColFormatCustom" "', expected argument " "1"" of type '" "wxGrid *""'");  
14993   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
14994   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
14995   if (!SWIG_IsOK(ecode2
)) { 
14996     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColFormatCustom" "', expected argument " "2"" of type '" "int""'"); 
14998   arg2 
= static_cast< int >(val2
); 
15000     arg3 
= wxString_in_helper(obj2
); 
15001     if (arg3 
== NULL
) SWIG_fail
; 
15005     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15006     (arg1
)->SetColFormatCustom(arg2
,(wxString 
const &)*arg3
); 
15007     wxPyEndAllowThreads(__tstate
); 
15008     if (PyErr_Occurred()) SWIG_fail
; 
15010   resultobj 
= SWIG_Py_Void(); 
15025 SWIGINTERN PyObject 
*_wrap_Grid_EnableGridLines(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15026   PyObject 
*resultobj 
= 0; 
15027   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
15028   bool arg2 
= (bool) true ; 
15033   PyObject 
* obj0 
= 0 ; 
15034   PyObject 
* obj1 
= 0 ; 
15035   char *  kwnames
[] = { 
15036     (char *) "self",(char *) "enable", NULL 
 
15039   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableGridLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
15040   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
15041   if (!SWIG_IsOK(res1
)) { 
15042     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EnableGridLines" "', expected argument " "1"" of type '" "wxGrid *""'");  
15044   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
15046     ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
15047     if (!SWIG_IsOK(ecode2
)) { 
15048       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_EnableGridLines" "', expected argument " "2"" of type '" "bool""'"); 
15050     arg2 
= static_cast< bool >(val2
); 
15053     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15054     (arg1
)->EnableGridLines(arg2
); 
15055     wxPyEndAllowThreads(__tstate
); 
15056     if (PyErr_Occurred()) SWIG_fail
; 
15058   resultobj 
= SWIG_Py_Void(); 
15065 SWIGINTERN PyObject 
*_wrap_Grid_GridLinesEnabled(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15066   PyObject 
*resultobj 
= 0; 
15067   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
15071   PyObject 
*swig_obj
[1] ; 
15073   if (!args
) SWIG_fail
; 
15074   swig_obj
[0] = args
; 
15075   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
15076   if (!SWIG_IsOK(res1
)) { 
15077     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GridLinesEnabled" "', expected argument " "1"" of type '" "wxGrid *""'");  
15079   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
15081     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15082     result 
= (bool)(arg1
)->GridLinesEnabled(); 
15083     wxPyEndAllowThreads(__tstate
); 
15084     if (PyErr_Occurred()) SWIG_fail
; 
15087     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15095 SWIGINTERN PyObject 
*_wrap_Grid_GetDefaultRowSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15096   PyObject 
*resultobj 
= 0; 
15097   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
15101   PyObject 
*swig_obj
[1] ; 
15103   if (!args
) SWIG_fail
; 
15104   swig_obj
[0] = args
; 
15105   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
15106   if (!SWIG_IsOK(res1
)) { 
15107     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultRowSize" "', expected argument " "1"" of type '" "wxGrid *""'");  
15109   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
15111     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15112     result 
= (int)(arg1
)->GetDefaultRowSize(); 
15113     wxPyEndAllowThreads(__tstate
); 
15114     if (PyErr_Occurred()) SWIG_fail
; 
15116   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
15123 SWIGINTERN PyObject 
*_wrap_Grid_GetRowSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15124   PyObject 
*resultobj 
= 0; 
15125   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
15132   PyObject 
* obj0 
= 0 ; 
15133   PyObject 
* obj1 
= 0 ; 
15134   char *  kwnames
[] = { 
15135     (char *) "self",(char *) "row", NULL 
 
15138   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetRowSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
15139   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
15140   if (!SWIG_IsOK(res1
)) { 
15141     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetRowSize" "', expected argument " "1"" of type '" "wxGrid *""'");  
15143   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
15144   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
15145   if (!SWIG_IsOK(ecode2
)) { 
15146     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetRowSize" "', expected argument " "2"" of type '" "int""'"); 
15148   arg2 
= static_cast< int >(val2
); 
15150     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15151     result 
= (int)(arg1
)->GetRowSize(arg2
); 
15152     wxPyEndAllowThreads(__tstate
); 
15153     if (PyErr_Occurred()) SWIG_fail
; 
15155   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
15162 SWIGINTERN PyObject 
*_wrap_Grid_GetDefaultColSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15163   PyObject 
*resultobj 
= 0; 
15164   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
15168   PyObject 
*swig_obj
[1] ; 
15170   if (!args
) SWIG_fail
; 
15171   swig_obj
[0] = args
; 
15172   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
15173   if (!SWIG_IsOK(res1
)) { 
15174     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultColSize" "', expected argument " "1"" of type '" "wxGrid *""'");  
15176   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
15178     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15179     result 
= (int)(arg1
)->GetDefaultColSize(); 
15180     wxPyEndAllowThreads(__tstate
); 
15181     if (PyErr_Occurred()) SWIG_fail
; 
15183   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
15190 SWIGINTERN PyObject 
*_wrap_Grid_GetColSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15191   PyObject 
*resultobj 
= 0; 
15192   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
15199   PyObject 
* obj0 
= 0 ; 
15200   PyObject 
* obj1 
= 0 ; 
15201   char *  kwnames
[] = { 
15202     (char *) "self",(char *) "col", NULL 
 
15205   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
15206   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
15207   if (!SWIG_IsOK(res1
)) { 
15208     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetColSize" "', expected argument " "1"" of type '" "wxGrid *""'");  
15210   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
15211   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
15212   if (!SWIG_IsOK(ecode2
)) { 
15213     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetColSize" "', expected argument " "2"" of type '" "int""'"); 
15215   arg2 
= static_cast< int >(val2
); 
15217     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15218     result 
= (int)(arg1
)->GetColSize(arg2
); 
15219     wxPyEndAllowThreads(__tstate
); 
15220     if (PyErr_Occurred()) SWIG_fail
; 
15222   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
15229 SWIGINTERN PyObject 
*_wrap_Grid_GetDefaultCellBackgroundColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15230   PyObject 
*resultobj 
= 0; 
15231   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
15235   PyObject 
*swig_obj
[1] ; 
15237   if (!args
) SWIG_fail
; 
15238   swig_obj
[0] = args
; 
15239   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
15240   if (!SWIG_IsOK(res1
)) { 
15241     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultCellBackgroundColour" "', expected argument " "1"" of type '" "wxGrid *""'");  
15243   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
15245     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15246     result 
= (arg1
)->GetDefaultCellBackgroundColour(); 
15247     wxPyEndAllowThreads(__tstate
); 
15248     if (PyErr_Occurred()) SWIG_fail
; 
15250   resultobj 
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN 
|  0 ); 
15257 SWIGINTERN PyObject 
*_wrap_Grid_GetCellBackgroundColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15258   PyObject 
*resultobj 
= 0; 
15259   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
15269   PyObject 
* obj0 
= 0 ; 
15270   PyObject 
* obj1 
= 0 ; 
15271   PyObject 
* obj2 
= 0 ; 
15272   char *  kwnames
[] = { 
15273     (char *) "self",(char *) "row",(char *) "col", NULL 
 
15276   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
15277   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
15278   if (!SWIG_IsOK(res1
)) { 
15279     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellBackgroundColour" "', expected argument " "1"" of type '" "wxGrid *""'");  
15281   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
15282   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
15283   if (!SWIG_IsOK(ecode2
)) { 
15284     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellBackgroundColour" "', expected argument " "2"" of type '" "int""'"); 
15286   arg2 
= static_cast< int >(val2
); 
15287   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
15288   if (!SWIG_IsOK(ecode3
)) { 
15289     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellBackgroundColour" "', expected argument " "3"" of type '" "int""'"); 
15291   arg3 
= static_cast< int >(val3
); 
15293     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15294     result 
= (arg1
)->GetCellBackgroundColour(arg2
,arg3
); 
15295     wxPyEndAllowThreads(__tstate
); 
15296     if (PyErr_Occurred()) SWIG_fail
; 
15298   resultobj 
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN 
|  0 ); 
15305 SWIGINTERN PyObject 
*_wrap_Grid_GetDefaultCellTextColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15306   PyObject 
*resultobj 
= 0; 
15307   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
15311   PyObject 
*swig_obj
[1] ; 
15313   if (!args
) SWIG_fail
; 
15314   swig_obj
[0] = args
; 
15315   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
15316   if (!SWIG_IsOK(res1
)) { 
15317     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultCellTextColour" "', expected argument " "1"" of type '" "wxGrid *""'");  
15319   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
15321     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15322     result 
= (arg1
)->GetDefaultCellTextColour(); 
15323     wxPyEndAllowThreads(__tstate
); 
15324     if (PyErr_Occurred()) SWIG_fail
; 
15326   resultobj 
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN 
|  0 ); 
15333 SWIGINTERN PyObject 
*_wrap_Grid_GetCellTextColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15334   PyObject 
*resultobj 
= 0; 
15335   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
15345   PyObject 
* obj0 
= 0 ; 
15346   PyObject 
* obj1 
= 0 ; 
15347   PyObject 
* obj2 
= 0 ; 
15348   char *  kwnames
[] = { 
15349     (char *) "self",(char *) "row",(char *) "col", NULL 
 
15352   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
15353   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
15354   if (!SWIG_IsOK(res1
)) { 
15355     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellTextColour" "', expected argument " "1"" of type '" "wxGrid *""'");  
15357   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
15358   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
15359   if (!SWIG_IsOK(ecode2
)) { 
15360     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellTextColour" "', expected argument " "2"" of type '" "int""'"); 
15362   arg2 
= static_cast< int >(val2
); 
15363   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
15364   if (!SWIG_IsOK(ecode3
)) { 
15365     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellTextColour" "', expected argument " "3"" of type '" "int""'"); 
15367   arg3 
= static_cast< int >(val3
); 
15369     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15370     result 
= (arg1
)->GetCellTextColour(arg2
,arg3
); 
15371     wxPyEndAllowThreads(__tstate
); 
15372     if (PyErr_Occurred()) SWIG_fail
; 
15374   resultobj 
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN 
|  0 ); 
15381 SWIGINTERN PyObject 
*_wrap_Grid_GetDefaultCellFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15382   PyObject 
*resultobj 
= 0; 
15383   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
15387   PyObject 
*swig_obj
[1] ; 
15389   if (!args
) SWIG_fail
; 
15390   swig_obj
[0] = args
; 
15391   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
15392   if (!SWIG_IsOK(res1
)) { 
15393     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultCellFont" "', expected argument " "1"" of type '" "wxGrid *""'");  
15395   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
15397     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15398     result 
= (arg1
)->GetDefaultCellFont(); 
15399     wxPyEndAllowThreads(__tstate
); 
15400     if (PyErr_Occurred()) SWIG_fail
; 
15402   resultobj 
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN 
|  0 ); 
15409 SWIGINTERN PyObject 
*_wrap_Grid_GetCellFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15410   PyObject 
*resultobj 
= 0; 
15411   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
15421   PyObject 
* obj0 
= 0 ; 
15422   PyObject 
* obj1 
= 0 ; 
15423   PyObject 
* obj2 
= 0 ; 
15424   char *  kwnames
[] = { 
15425     (char *) "self",(char *) "row",(char *) "col", NULL 
 
15428   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
15429   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
15430   if (!SWIG_IsOK(res1
)) { 
15431     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellFont" "', expected argument " "1"" of type '" "wxGrid *""'");  
15433   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
15434   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
15435   if (!SWIG_IsOK(ecode2
)) { 
15436     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellFont" "', expected argument " "2"" of type '" "int""'"); 
15438   arg2 
= static_cast< int >(val2
); 
15439   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
15440   if (!SWIG_IsOK(ecode3
)) { 
15441     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellFont" "', expected argument " "3"" of type '" "int""'"); 
15443   arg3 
= static_cast< int >(val3
); 
15445     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15446     result 
= (arg1
)->GetCellFont(arg2
,arg3
); 
15447     wxPyEndAllowThreads(__tstate
); 
15448     if (PyErr_Occurred()) SWIG_fail
; 
15450   resultobj 
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN 
|  0 ); 
15457 SWIGINTERN PyObject 
*_wrap_Grid_GetDefaultCellAlignment(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15458   PyObject 
*resultobj 
= 0; 
15459   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
15460   int *arg2 
= (int *) 0 ; 
15461   int *arg3 
= (int *) 0 ; 
15465   int res2 
= SWIG_TMPOBJ 
; 
15467   int res3 
= SWIG_TMPOBJ 
; 
15468   PyObject 
*swig_obj
[1] ; 
15472   if (!args
) SWIG_fail
; 
15473   swig_obj
[0] = args
; 
15474   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
15475   if (!SWIG_IsOK(res1
)) { 
15476     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultCellAlignment" "', expected argument " "1"" of type '" "wxGrid *""'");  
15478   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
15480     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15481     (arg1
)->GetDefaultCellAlignment(arg2
,arg3
); 
15482     wxPyEndAllowThreads(__tstate
); 
15483     if (PyErr_Occurred()) SWIG_fail
; 
15485   resultobj 
= SWIG_Py_Void(); 
15486   if (SWIG_IsTmpObj(res2
)) { 
15487     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
15489     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
15490     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
15492   if (SWIG_IsTmpObj(res3
)) { 
15493     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
15495     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
15496     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
15504 SWIGINTERN PyObject 
*_wrap_Grid_GetCellAlignment(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15505   PyObject 
*resultobj 
= 0; 
15506   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
15509   int *arg4 
= (int *) 0 ; 
15510   int *arg5 
= (int *) 0 ; 
15518   int res4 
= SWIG_TMPOBJ 
; 
15520   int res5 
= SWIG_TMPOBJ 
; 
15521   PyObject 
* obj0 
= 0 ; 
15522   PyObject 
* obj1 
= 0 ; 
15523   PyObject 
* obj2 
= 0 ; 
15524   char *  kwnames
[] = { 
15525     (char *) "self",(char *) "row",(char *) "col", NULL 
 
15530   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
15531   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
15532   if (!SWIG_IsOK(res1
)) { 
15533     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellAlignment" "', expected argument " "1"" of type '" "wxGrid *""'");  
15535   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
15536   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
15537   if (!SWIG_IsOK(ecode2
)) { 
15538     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellAlignment" "', expected argument " "2"" of type '" "int""'"); 
15540   arg2 
= static_cast< int >(val2
); 
15541   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
15542   if (!SWIG_IsOK(ecode3
)) { 
15543     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellAlignment" "', expected argument " "3"" of type '" "int""'"); 
15545   arg3 
= static_cast< int >(val3
); 
15547     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15548     (arg1
)->GetCellAlignment(arg2
,arg3
,arg4
,arg5
); 
15549     wxPyEndAllowThreads(__tstate
); 
15550     if (PyErr_Occurred()) SWIG_fail
; 
15552   resultobj 
= SWIG_Py_Void(); 
15553   if (SWIG_IsTmpObj(res4
)) { 
15554     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
))); 
15556     int new_flags 
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
15557     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
)); 
15559   if (SWIG_IsTmpObj(res5
)) { 
15560     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
))); 
15562     int new_flags 
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
15563     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
)); 
15571 SWIGINTERN PyObject 
*_wrap_Grid_GetDefaultCellOverflow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15572   PyObject 
*resultobj 
= 0; 
15573   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
15577   PyObject 
*swig_obj
[1] ; 
15579   if (!args
) SWIG_fail
; 
15580   swig_obj
[0] = args
; 
15581   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
15582   if (!SWIG_IsOK(res1
)) { 
15583     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultCellOverflow" "', expected argument " "1"" of type '" "wxGrid *""'");  
15585   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
15587     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15588     result 
= (bool)(arg1
)->GetDefaultCellOverflow(); 
15589     wxPyEndAllowThreads(__tstate
); 
15590     if (PyErr_Occurred()) SWIG_fail
; 
15593     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15601 SWIGINTERN PyObject 
*_wrap_Grid_GetCellOverflow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15602   PyObject 
*resultobj 
= 0; 
15603   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
15613   PyObject 
* obj0 
= 0 ; 
15614   PyObject 
* obj1 
= 0 ; 
15615   PyObject 
* obj2 
= 0 ; 
15616   char *  kwnames
[] = { 
15617     (char *) "self",(char *) "row",(char *) "col", NULL 
 
15620   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellOverflow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
15621   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
15622   if (!SWIG_IsOK(res1
)) { 
15623     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellOverflow" "', expected argument " "1"" of type '" "wxGrid *""'");  
15625   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
15626   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
15627   if (!SWIG_IsOK(ecode2
)) { 
15628     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellOverflow" "', expected argument " "2"" of type '" "int""'"); 
15630   arg2 
= static_cast< int >(val2
); 
15631   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
15632   if (!SWIG_IsOK(ecode3
)) { 
15633     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellOverflow" "', expected argument " "3"" of type '" "int""'"); 
15635   arg3 
= static_cast< int >(val3
); 
15637     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15638     result 
= (bool)(arg1
)->GetCellOverflow(arg2
,arg3
); 
15639     wxPyEndAllowThreads(__tstate
); 
15640     if (PyErr_Occurred()) SWIG_fail
; 
15643     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15651 SWIGINTERN PyObject 
*_wrap_Grid_GetCellSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15652   PyObject 
*resultobj 
= 0; 
15653   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
15656   int *arg4 
= (int *) 0 ; 
15657   int *arg5 
= (int *) 0 ; 
15665   int res4 
= SWIG_TMPOBJ 
; 
15667   int res5 
= SWIG_TMPOBJ 
; 
15668   PyObject 
* obj0 
= 0 ; 
15669   PyObject 
* obj1 
= 0 ; 
15670   PyObject 
* obj2 
= 0 ; 
15671   char *  kwnames
[] = { 
15672     (char *) "self",(char *) "row",(char *) "col", NULL 
 
15677   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
15678   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
15679   if (!SWIG_IsOK(res1
)) { 
15680     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellSize" "', expected argument " "1"" of type '" "wxGrid *""'");  
15682   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
15683   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
15684   if (!SWIG_IsOK(ecode2
)) { 
15685     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellSize" "', expected argument " "2"" of type '" "int""'"); 
15687   arg2 
= static_cast< int >(val2
); 
15688   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
15689   if (!SWIG_IsOK(ecode3
)) { 
15690     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellSize" "', expected argument " "3"" of type '" "int""'"); 
15692   arg3 
= static_cast< int >(val3
); 
15694     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15695     (arg1
)->GetCellSize(arg2
,arg3
,arg4
,arg5
); 
15696     wxPyEndAllowThreads(__tstate
); 
15697     if (PyErr_Occurred()) SWIG_fail
; 
15699   resultobj 
= SWIG_Py_Void(); 
15700   if (SWIG_IsTmpObj(res4
)) { 
15701     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
))); 
15703     int new_flags 
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
15704     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
)); 
15706   if (SWIG_IsTmpObj(res5
)) { 
15707     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
))); 
15709     int new_flags 
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
15710     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
)); 
15718 SWIGINTERN PyObject 
*_wrap_Grid_SetDefaultRowSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15719   PyObject 
*resultobj 
= 0; 
15720   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
15722   bool arg3 
= (bool) false ; 
15729   PyObject 
* obj0 
= 0 ; 
15730   PyObject 
* obj1 
= 0 ; 
15731   PyObject 
* obj2 
= 0 ; 
15732   char *  kwnames
[] = { 
15733     (char *) "self",(char *) "height",(char *) "resizeExistingRows", NULL 
 
15736   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SetDefaultRowSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
15737   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
15738   if (!SWIG_IsOK(res1
)) { 
15739     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultRowSize" "', expected argument " "1"" of type '" "wxGrid *""'");  
15741   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
15742   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
15743   if (!SWIG_IsOK(ecode2
)) { 
15744     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetDefaultRowSize" "', expected argument " "2"" of type '" "int""'"); 
15746   arg2 
= static_cast< int >(val2
); 
15748     ecode3 
= SWIG_AsVal_bool(obj2
, &val3
); 
15749     if (!SWIG_IsOK(ecode3
)) { 
15750       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetDefaultRowSize" "', expected argument " "3"" of type '" "bool""'"); 
15752     arg3 
= static_cast< bool >(val3
); 
15755     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15756     (arg1
)->SetDefaultRowSize(arg2
,arg3
); 
15757     wxPyEndAllowThreads(__tstate
); 
15758     if (PyErr_Occurred()) SWIG_fail
; 
15760   resultobj 
= SWIG_Py_Void(); 
15767 SWIGINTERN PyObject 
*_wrap_Grid_SetRowSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15768   PyObject 
*resultobj 
= 0; 
15769   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
15778   PyObject 
* obj0 
= 0 ; 
15779   PyObject 
* obj1 
= 0 ; 
15780   PyObject 
* obj2 
= 0 ; 
15781   char *  kwnames
[] = { 
15782     (char *) "self",(char *) "row",(char *) "height", NULL 
 
15785   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
15786   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
15787   if (!SWIG_IsOK(res1
)) { 
15788     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetRowSize" "', expected argument " "1"" of type '" "wxGrid *""'");  
15790   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
15791   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
15792   if (!SWIG_IsOK(ecode2
)) { 
15793     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetRowSize" "', expected argument " "2"" of type '" "int""'"); 
15795   arg2 
= static_cast< int >(val2
); 
15796   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
15797   if (!SWIG_IsOK(ecode3
)) { 
15798     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetRowSize" "', expected argument " "3"" of type '" "int""'"); 
15800   arg3 
= static_cast< int >(val3
); 
15802     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15803     (arg1
)->SetRowSize(arg2
,arg3
); 
15804     wxPyEndAllowThreads(__tstate
); 
15805     if (PyErr_Occurred()) SWIG_fail
; 
15807   resultobj 
= SWIG_Py_Void(); 
15814 SWIGINTERN PyObject 
*_wrap_Grid_SetDefaultColSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15815   PyObject 
*resultobj 
= 0; 
15816   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
15818   bool arg3 
= (bool) false ; 
15825   PyObject 
* obj0 
= 0 ; 
15826   PyObject 
* obj1 
= 0 ; 
15827   PyObject 
* obj2 
= 0 ; 
15828   char *  kwnames
[] = { 
15829     (char *) "self",(char *) "width",(char *) "resizeExistingCols", NULL 
 
15832   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SetDefaultColSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
15833   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
15834   if (!SWIG_IsOK(res1
)) { 
15835     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultColSize" "', expected argument " "1"" of type '" "wxGrid *""'");  
15837   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
15838   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
15839   if (!SWIG_IsOK(ecode2
)) { 
15840     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetDefaultColSize" "', expected argument " "2"" of type '" "int""'"); 
15842   arg2 
= static_cast< int >(val2
); 
15844     ecode3 
= SWIG_AsVal_bool(obj2
, &val3
); 
15845     if (!SWIG_IsOK(ecode3
)) { 
15846       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetDefaultColSize" "', expected argument " "3"" of type '" "bool""'"); 
15848     arg3 
= static_cast< bool >(val3
); 
15851     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15852     (arg1
)->SetDefaultColSize(arg2
,arg3
); 
15853     wxPyEndAllowThreads(__tstate
); 
15854     if (PyErr_Occurred()) SWIG_fail
; 
15856   resultobj 
= SWIG_Py_Void(); 
15863 SWIGINTERN PyObject 
*_wrap_Grid_SetColSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15864   PyObject 
*resultobj 
= 0; 
15865   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
15874   PyObject 
* obj0 
= 0 ; 
15875   PyObject 
* obj1 
= 0 ; 
15876   PyObject 
* obj2 
= 0 ; 
15877   char *  kwnames
[] = { 
15878     (char *) "self",(char *) "col",(char *) "width", NULL 
 
15881   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
15882   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
15883   if (!SWIG_IsOK(res1
)) { 
15884     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColSize" "', expected argument " "1"" of type '" "wxGrid *""'");  
15886   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
15887   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
15888   if (!SWIG_IsOK(ecode2
)) { 
15889     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColSize" "', expected argument " "2"" of type '" "int""'"); 
15891   arg2 
= static_cast< int >(val2
); 
15892   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
15893   if (!SWIG_IsOK(ecode3
)) { 
15894     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetColSize" "', expected argument " "3"" of type '" "int""'"); 
15896   arg3 
= static_cast< int >(val3
); 
15898     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15899     (arg1
)->SetColSize(arg2
,arg3
); 
15900     wxPyEndAllowThreads(__tstate
); 
15901     if (PyErr_Occurred()) SWIG_fail
; 
15903   resultobj 
= SWIG_Py_Void(); 
15910 SWIGINTERN PyObject 
*_wrap_Grid_GetColAt(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15911   PyObject 
*resultobj 
= 0; 
15912   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
15919   PyObject 
* obj0 
= 0 ; 
15920   PyObject 
* obj1 
= 0 ; 
15921   char *  kwnames
[] = { 
15922     (char *) "self",(char *) "colPos", NULL 
 
15925   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColAt",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
15926   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
15927   if (!SWIG_IsOK(res1
)) { 
15928     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetColAt" "', expected argument " "1"" of type '" "wxGrid const *""'");  
15930   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
15931   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
15932   if (!SWIG_IsOK(ecode2
)) { 
15933     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetColAt" "', expected argument " "2"" of type '" "int""'"); 
15935   arg2 
= static_cast< int >(val2
); 
15937     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15938     result 
= (int)((wxGrid 
const *)arg1
)->GetColAt(arg2
); 
15939     wxPyEndAllowThreads(__tstate
); 
15940     if (PyErr_Occurred()) SWIG_fail
; 
15942   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
15949 SWIGINTERN PyObject 
*_wrap_Grid_SetColPos(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15950   PyObject 
*resultobj 
= 0; 
15951   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
15960   PyObject 
* obj0 
= 0 ; 
15961   PyObject 
* obj1 
= 0 ; 
15962   PyObject 
* obj2 
= 0 ; 
15963   char *  kwnames
[] = { 
15964     (char *) "self",(char *) "colID",(char *) "newPos", NULL 
 
15967   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColPos",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
15968   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
15969   if (!SWIG_IsOK(res1
)) { 
15970     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColPos" "', expected argument " "1"" of type '" "wxGrid *""'");  
15972   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
15973   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
15974   if (!SWIG_IsOK(ecode2
)) { 
15975     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColPos" "', expected argument " "2"" of type '" "int""'"); 
15977   arg2 
= static_cast< int >(val2
); 
15978   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
15979   if (!SWIG_IsOK(ecode3
)) { 
15980     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetColPos" "', expected argument " "3"" of type '" "int""'"); 
15982   arg3 
= static_cast< int >(val3
); 
15984     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15985     (arg1
)->SetColPos(arg2
,arg3
); 
15986     wxPyEndAllowThreads(__tstate
); 
15987     if (PyErr_Occurred()) SWIG_fail
; 
15989   resultobj 
= SWIG_Py_Void(); 
15996 SWIGINTERN PyObject 
*_wrap_Grid_GetColPos(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15997   PyObject 
*resultobj 
= 0; 
15998   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
16005   PyObject 
* obj0 
= 0 ; 
16006   PyObject 
* obj1 
= 0 ; 
16007   char *  kwnames
[] = { 
16008     (char *) "self",(char *) "colID", NULL 
 
16011   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
16012   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
16013   if (!SWIG_IsOK(res1
)) { 
16014     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetColPos" "', expected argument " "1"" of type '" "wxGrid const *""'");  
16016   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
16017   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
16018   if (!SWIG_IsOK(ecode2
)) { 
16019     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetColPos" "', expected argument " "2"" of type '" "int""'"); 
16021   arg2 
= static_cast< int >(val2
); 
16023     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16024     result 
= (int)((wxGrid 
const *)arg1
)->GetColPos(arg2
); 
16025     wxPyEndAllowThreads(__tstate
); 
16026     if (PyErr_Occurred()) SWIG_fail
; 
16028   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
16035 SWIGINTERN PyObject 
*_wrap_Grid_AutoSizeColumn(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16036   PyObject 
*resultobj 
= 0; 
16037   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
16039   bool arg3 
= (bool) true ; 
16046   PyObject 
* obj0 
= 0 ; 
16047   PyObject 
* obj1 
= 0 ; 
16048   PyObject 
* obj2 
= 0 ; 
16049   char *  kwnames
[] = { 
16050     (char *) "self",(char *) "col",(char *) "setAsMin", NULL 
 
16053   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_AutoSizeColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
16054   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
16055   if (!SWIG_IsOK(res1
)) { 
16056     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AutoSizeColumn" "', expected argument " "1"" of type '" "wxGrid *""'");  
16058   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
16059   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
16060   if (!SWIG_IsOK(ecode2
)) { 
16061     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_AutoSizeColumn" "', expected argument " "2"" of type '" "int""'"); 
16063   arg2 
= static_cast< int >(val2
); 
16065     ecode3 
= SWIG_AsVal_bool(obj2
, &val3
); 
16066     if (!SWIG_IsOK(ecode3
)) { 
16067       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_AutoSizeColumn" "', expected argument " "3"" of type '" "bool""'"); 
16069     arg3 
= static_cast< bool >(val3
); 
16072     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16073     (arg1
)->AutoSizeColumn(arg2
,arg3
); 
16074     wxPyEndAllowThreads(__tstate
); 
16075     if (PyErr_Occurred()) SWIG_fail
; 
16077   resultobj 
= SWIG_Py_Void(); 
16084 SWIGINTERN PyObject 
*_wrap_Grid_AutoSizeRow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16085   PyObject 
*resultobj 
= 0; 
16086   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
16088   bool arg3 
= (bool) true ; 
16095   PyObject 
* obj0 
= 0 ; 
16096   PyObject 
* obj1 
= 0 ; 
16097   PyObject 
* obj2 
= 0 ; 
16098   char *  kwnames
[] = { 
16099     (char *) "self",(char *) "row",(char *) "setAsMin", NULL 
 
16102   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_AutoSizeRow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
16103   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
16104   if (!SWIG_IsOK(res1
)) { 
16105     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AutoSizeRow" "', expected argument " "1"" of type '" "wxGrid *""'");  
16107   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
16108   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
16109   if (!SWIG_IsOK(ecode2
)) { 
16110     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_AutoSizeRow" "', expected argument " "2"" of type '" "int""'"); 
16112   arg2 
= static_cast< int >(val2
); 
16114     ecode3 
= SWIG_AsVal_bool(obj2
, &val3
); 
16115     if (!SWIG_IsOK(ecode3
)) { 
16116       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_AutoSizeRow" "', expected argument " "3"" of type '" "bool""'"); 
16118     arg3 
= static_cast< bool >(val3
); 
16121     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16122     (arg1
)->AutoSizeRow(arg2
,arg3
); 
16123     wxPyEndAllowThreads(__tstate
); 
16124     if (PyErr_Occurred()) SWIG_fail
; 
16126   resultobj 
= SWIG_Py_Void(); 
16133 SWIGINTERN PyObject 
*_wrap_Grid_AutoSizeColumns(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16134   PyObject 
*resultobj 
= 0; 
16135   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
16136   bool arg2 
= (bool) true ; 
16141   PyObject 
* obj0 
= 0 ; 
16142   PyObject 
* obj1 
= 0 ; 
16143   char *  kwnames
[] = { 
16144     (char *) "self",(char *) "setAsMin", NULL 
 
16147   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_AutoSizeColumns",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
16148   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
16149   if (!SWIG_IsOK(res1
)) { 
16150     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AutoSizeColumns" "', expected argument " "1"" of type '" "wxGrid *""'");  
16152   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
16154     ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
16155     if (!SWIG_IsOK(ecode2
)) { 
16156       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_AutoSizeColumns" "', expected argument " "2"" of type '" "bool""'"); 
16158     arg2 
= static_cast< bool >(val2
); 
16161     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16162     (arg1
)->AutoSizeColumns(arg2
); 
16163     wxPyEndAllowThreads(__tstate
); 
16164     if (PyErr_Occurred()) SWIG_fail
; 
16166   resultobj 
= SWIG_Py_Void(); 
16173 SWIGINTERN PyObject 
*_wrap_Grid_AutoSizeRows(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16174   PyObject 
*resultobj 
= 0; 
16175   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
16176   bool arg2 
= (bool) true ; 
16181   PyObject 
* obj0 
= 0 ; 
16182   PyObject 
* obj1 
= 0 ; 
16183   char *  kwnames
[] = { 
16184     (char *) "self",(char *) "setAsMin", NULL 
 
16187   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_AutoSizeRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
16188   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
16189   if (!SWIG_IsOK(res1
)) { 
16190     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AutoSizeRows" "', expected argument " "1"" of type '" "wxGrid *""'");  
16192   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
16194     ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
16195     if (!SWIG_IsOK(ecode2
)) { 
16196       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_AutoSizeRows" "', expected argument " "2"" of type '" "bool""'"); 
16198     arg2 
= static_cast< bool >(val2
); 
16201     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16202     (arg1
)->AutoSizeRows(arg2
); 
16203     wxPyEndAllowThreads(__tstate
); 
16204     if (PyErr_Occurred()) SWIG_fail
; 
16206   resultobj 
= SWIG_Py_Void(); 
16213 SWIGINTERN PyObject 
*_wrap_Grid_AutoSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16214   PyObject 
*resultobj 
= 0; 
16215   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
16218   PyObject 
*swig_obj
[1] ; 
16220   if (!args
) SWIG_fail
; 
16221   swig_obj
[0] = args
; 
16222   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
16223   if (!SWIG_IsOK(res1
)) { 
16224     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AutoSize" "', expected argument " "1"" of type '" "wxGrid *""'");  
16226   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
16228     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16229     (arg1
)->AutoSize(); 
16230     wxPyEndAllowThreads(__tstate
); 
16231     if (PyErr_Occurred()) SWIG_fail
; 
16233   resultobj 
= SWIG_Py_Void(); 
16240 SWIGINTERN PyObject 
*_wrap_Grid_AutoSizeRowLabelSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16241   PyObject 
*resultobj 
= 0; 
16242   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
16248   PyObject 
* obj0 
= 0 ; 
16249   PyObject 
* obj1 
= 0 ; 
16250   char *  kwnames
[] = { 
16251     (char *) "self",(char *) "row", NULL 
 
16254   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_AutoSizeRowLabelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
16255   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
16256   if (!SWIG_IsOK(res1
)) { 
16257     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AutoSizeRowLabelSize" "', expected argument " "1"" of type '" "wxGrid *""'");  
16259   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
16260   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
16261   if (!SWIG_IsOK(ecode2
)) { 
16262     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_AutoSizeRowLabelSize" "', expected argument " "2"" of type '" "int""'"); 
16264   arg2 
= static_cast< int >(val2
); 
16266     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16267     (arg1
)->AutoSizeRowLabelSize(arg2
); 
16268     wxPyEndAllowThreads(__tstate
); 
16269     if (PyErr_Occurred()) SWIG_fail
; 
16271   resultobj 
= SWIG_Py_Void(); 
16278 SWIGINTERN PyObject 
*_wrap_Grid_AutoSizeColLabelSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16279   PyObject 
*resultobj 
= 0; 
16280   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
16286   PyObject 
* obj0 
= 0 ; 
16287   PyObject 
* obj1 
= 0 ; 
16288   char *  kwnames
[] = { 
16289     (char *) "self",(char *) "col", NULL 
 
16292   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_AutoSizeColLabelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
16293   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
16294   if (!SWIG_IsOK(res1
)) { 
16295     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AutoSizeColLabelSize" "', expected argument " "1"" of type '" "wxGrid *""'");  
16297   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
16298   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
16299   if (!SWIG_IsOK(ecode2
)) { 
16300     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_AutoSizeColLabelSize" "', expected argument " "2"" of type '" "int""'"); 
16302   arg2 
= static_cast< int >(val2
); 
16304     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16305     (arg1
)->AutoSizeColLabelSize(arg2
); 
16306     wxPyEndAllowThreads(__tstate
); 
16307     if (PyErr_Occurred()) SWIG_fail
; 
16309   resultobj 
= SWIG_Py_Void(); 
16316 SWIGINTERN PyObject 
*_wrap_Grid_SetColMinimalWidth(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16317   PyObject 
*resultobj 
= 0; 
16318   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
16327   PyObject 
* obj0 
= 0 ; 
16328   PyObject 
* obj1 
= 0 ; 
16329   PyObject 
* obj2 
= 0 ; 
16330   char *  kwnames
[] = { 
16331     (char *) "self",(char *) "col",(char *) "width", NULL 
 
16334   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColMinimalWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
16335   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
16336   if (!SWIG_IsOK(res1
)) { 
16337     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColMinimalWidth" "', expected argument " "1"" of type '" "wxGrid *""'");  
16339   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
16340   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
16341   if (!SWIG_IsOK(ecode2
)) { 
16342     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColMinimalWidth" "', expected argument " "2"" of type '" "int""'"); 
16344   arg2 
= static_cast< int >(val2
); 
16345   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
16346   if (!SWIG_IsOK(ecode3
)) { 
16347     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetColMinimalWidth" "', expected argument " "3"" of type '" "int""'"); 
16349   arg3 
= static_cast< int >(val3
); 
16351     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16352     (arg1
)->SetColMinimalWidth(arg2
,arg3
); 
16353     wxPyEndAllowThreads(__tstate
); 
16354     if (PyErr_Occurred()) SWIG_fail
; 
16356   resultobj 
= SWIG_Py_Void(); 
16363 SWIGINTERN PyObject 
*_wrap_Grid_SetRowMinimalHeight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16364   PyObject 
*resultobj 
= 0; 
16365   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
16374   PyObject 
* obj0 
= 0 ; 
16375   PyObject 
* obj1 
= 0 ; 
16376   PyObject 
* obj2 
= 0 ; 
16377   char *  kwnames
[] = { 
16378     (char *) "self",(char *) "row",(char *) "width", NULL 
 
16381   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowMinimalHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
16382   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
16383   if (!SWIG_IsOK(res1
)) { 
16384     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetRowMinimalHeight" "', expected argument " "1"" of type '" "wxGrid *""'");  
16386   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
16387   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
16388   if (!SWIG_IsOK(ecode2
)) { 
16389     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetRowMinimalHeight" "', expected argument " "2"" of type '" "int""'"); 
16391   arg2 
= static_cast< int >(val2
); 
16392   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
16393   if (!SWIG_IsOK(ecode3
)) { 
16394     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetRowMinimalHeight" "', expected argument " "3"" of type '" "int""'"); 
16396   arg3 
= static_cast< int >(val3
); 
16398     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16399     (arg1
)->SetRowMinimalHeight(arg2
,arg3
); 
16400     wxPyEndAllowThreads(__tstate
); 
16401     if (PyErr_Occurred()) SWIG_fail
; 
16403   resultobj 
= SWIG_Py_Void(); 
16410 SWIGINTERN PyObject 
*_wrap_Grid_SetColMinimalAcceptableWidth(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16411   PyObject 
*resultobj 
= 0; 
16412   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
16418   PyObject 
* obj0 
= 0 ; 
16419   PyObject 
* obj1 
= 0 ; 
16420   char *  kwnames
[] = { 
16421     (char *) "self",(char *) "width", NULL 
 
16424   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColMinimalAcceptableWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
16425   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
16426   if (!SWIG_IsOK(res1
)) { 
16427     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColMinimalAcceptableWidth" "', expected argument " "1"" of type '" "wxGrid *""'");  
16429   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
16430   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
16431   if (!SWIG_IsOK(ecode2
)) { 
16432     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColMinimalAcceptableWidth" "', expected argument " "2"" of type '" "int""'"); 
16434   arg2 
= static_cast< int >(val2
); 
16436     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16437     (arg1
)->SetColMinimalAcceptableWidth(arg2
); 
16438     wxPyEndAllowThreads(__tstate
); 
16439     if (PyErr_Occurred()) SWIG_fail
; 
16441   resultobj 
= SWIG_Py_Void(); 
16448 SWIGINTERN PyObject 
*_wrap_Grid_SetRowMinimalAcceptableHeight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16449   PyObject 
*resultobj 
= 0; 
16450   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
16456   PyObject 
* obj0 
= 0 ; 
16457   PyObject 
* obj1 
= 0 ; 
16458   char *  kwnames
[] = { 
16459     (char *) "self",(char *) "width", NULL 
 
16462   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetRowMinimalAcceptableHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
16463   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
16464   if (!SWIG_IsOK(res1
)) { 
16465     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetRowMinimalAcceptableHeight" "', expected argument " "1"" of type '" "wxGrid *""'");  
16467   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
16468   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
16469   if (!SWIG_IsOK(ecode2
)) { 
16470     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetRowMinimalAcceptableHeight" "', expected argument " "2"" of type '" "int""'"); 
16472   arg2 
= static_cast< int >(val2
); 
16474     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16475     (arg1
)->SetRowMinimalAcceptableHeight(arg2
); 
16476     wxPyEndAllowThreads(__tstate
); 
16477     if (PyErr_Occurred()) SWIG_fail
; 
16479   resultobj 
= SWIG_Py_Void(); 
16486 SWIGINTERN PyObject 
*_wrap_Grid_GetColMinimalAcceptableWidth(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16487   PyObject 
*resultobj 
= 0; 
16488   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
16492   PyObject 
*swig_obj
[1] ; 
16494   if (!args
) SWIG_fail
; 
16495   swig_obj
[0] = args
; 
16496   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
16497   if (!SWIG_IsOK(res1
)) { 
16498     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetColMinimalAcceptableWidth" "', expected argument " "1"" of type '" "wxGrid const *""'");  
16500   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
16502     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16503     result 
= (int)((wxGrid 
const *)arg1
)->GetColMinimalAcceptableWidth(); 
16504     wxPyEndAllowThreads(__tstate
); 
16505     if (PyErr_Occurred()) SWIG_fail
; 
16507   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
16514 SWIGINTERN PyObject 
*_wrap_Grid_GetRowMinimalAcceptableHeight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16515   PyObject 
*resultobj 
= 0; 
16516   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
16520   PyObject 
*swig_obj
[1] ; 
16522   if (!args
) SWIG_fail
; 
16523   swig_obj
[0] = args
; 
16524   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
16525   if (!SWIG_IsOK(res1
)) { 
16526     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetRowMinimalAcceptableHeight" "', expected argument " "1"" of type '" "wxGrid const *""'");  
16528   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
16530     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16531     result 
= (int)((wxGrid 
const *)arg1
)->GetRowMinimalAcceptableHeight(); 
16532     wxPyEndAllowThreads(__tstate
); 
16533     if (PyErr_Occurred()) SWIG_fail
; 
16535   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
16542 SWIGINTERN PyObject 
*_wrap_Grid_SetDefaultCellBackgroundColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16543   PyObject 
*resultobj 
= 0; 
16544   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
16545   wxColour 
*arg2 
= 0 ; 
16549   PyObject 
* obj0 
= 0 ; 
16550   PyObject 
* obj1 
= 0 ; 
16551   char *  kwnames
[] = { 
16552     (char *) "self",(char *)"arg2", NULL 
 
16555   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
16556   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
16557   if (!SWIG_IsOK(res1
)) { 
16558     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultCellBackgroundColour" "', expected argument " "1"" of type '" "wxGrid *""'");  
16560   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
16563     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
16566     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16567     (arg1
)->SetDefaultCellBackgroundColour((wxColour 
const &)*arg2
); 
16568     wxPyEndAllowThreads(__tstate
); 
16569     if (PyErr_Occurred()) SWIG_fail
; 
16571   resultobj 
= SWIG_Py_Void(); 
16578 SWIGINTERN PyObject 
*_wrap_Grid_SetCellBackgroundColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16579   PyObject 
*resultobj 
= 0; 
16580   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
16583   wxColour 
*arg4 
= 0 ; 
16591   PyObject 
* obj0 
= 0 ; 
16592   PyObject 
* obj1 
= 0 ; 
16593   PyObject 
* obj2 
= 0 ; 
16594   PyObject 
* obj3 
= 0 ; 
16595   char *  kwnames
[] = { 
16596     (char *) "self",(char *) "row",(char *) "col",(char *)"arg4", NULL 
 
16599   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
16600   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
16601   if (!SWIG_IsOK(res1
)) { 
16602     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellBackgroundColour" "', expected argument " "1"" of type '" "wxGrid *""'");  
16604   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
16605   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
16606   if (!SWIG_IsOK(ecode2
)) { 
16607     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellBackgroundColour" "', expected argument " "2"" of type '" "int""'"); 
16609   arg2 
= static_cast< int >(val2
); 
16610   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
16611   if (!SWIG_IsOK(ecode3
)) { 
16612     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellBackgroundColour" "', expected argument " "3"" of type '" "int""'"); 
16614   arg3 
= static_cast< int >(val3
); 
16617     if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
; 
16620     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16621     (arg1
)->SetCellBackgroundColour(arg2
,arg3
,(wxColour 
const &)*arg4
); 
16622     wxPyEndAllowThreads(__tstate
); 
16623     if (PyErr_Occurred()) SWIG_fail
; 
16625   resultobj 
= SWIG_Py_Void(); 
16632 SWIGINTERN PyObject 
*_wrap_Grid_SetDefaultCellTextColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16633   PyObject 
*resultobj 
= 0; 
16634   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
16635   wxColour 
*arg2 
= 0 ; 
16639   PyObject 
* obj0 
= 0 ; 
16640   PyObject 
* obj1 
= 0 ; 
16641   char *  kwnames
[] = { 
16642     (char *) "self",(char *)"arg2", NULL 
 
16645   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
16646   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
16647   if (!SWIG_IsOK(res1
)) { 
16648     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultCellTextColour" "', expected argument " "1"" of type '" "wxGrid *""'");  
16650   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
16653     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
16656     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16657     (arg1
)->SetDefaultCellTextColour((wxColour 
const &)*arg2
); 
16658     wxPyEndAllowThreads(__tstate
); 
16659     if (PyErr_Occurred()) SWIG_fail
; 
16661   resultobj 
= SWIG_Py_Void(); 
16668 SWIGINTERN PyObject 
*_wrap_Grid_SetCellTextColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16669   PyObject 
*resultobj 
= 0; 
16670   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
16673   wxColour 
*arg4 
= 0 ; 
16681   PyObject 
* obj0 
= 0 ; 
16682   PyObject 
* obj1 
= 0 ; 
16683   PyObject 
* obj2 
= 0 ; 
16684   PyObject 
* obj3 
= 0 ; 
16685   char *  kwnames
[] = { 
16686     (char *) "self",(char *) "row",(char *) "col",(char *)"arg4", NULL 
 
16689   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellTextColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
16690   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
16691   if (!SWIG_IsOK(res1
)) { 
16692     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellTextColour" "', expected argument " "1"" of type '" "wxGrid *""'");  
16694   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
16695   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
16696   if (!SWIG_IsOK(ecode2
)) { 
16697     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellTextColour" "', expected argument " "2"" of type '" "int""'"); 
16699   arg2 
= static_cast< int >(val2
); 
16700   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
16701   if (!SWIG_IsOK(ecode3
)) { 
16702     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellTextColour" "', expected argument " "3"" of type '" "int""'"); 
16704   arg3 
= static_cast< int >(val3
); 
16707     if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
; 
16710     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16711     (arg1
)->SetCellTextColour(arg2
,arg3
,(wxColour 
const &)*arg4
); 
16712     wxPyEndAllowThreads(__tstate
); 
16713     if (PyErr_Occurred()) SWIG_fail
; 
16715   resultobj 
= SWIG_Py_Void(); 
16722 SWIGINTERN PyObject 
*_wrap_Grid_SetDefaultCellFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16723   PyObject 
*resultobj 
= 0; 
16724   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
16730   PyObject 
* obj0 
= 0 ; 
16731   PyObject 
* obj1 
= 0 ; 
16732   char *  kwnames
[] = { 
16733     (char *) "self",(char *)"arg2", NULL 
 
16736   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
16737   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
16738   if (!SWIG_IsOK(res1
)) { 
16739     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultCellFont" "', expected argument " "1"" of type '" "wxGrid *""'");  
16741   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
16742   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
,  0  | 0); 
16743   if (!SWIG_IsOK(res2
)) { 
16744     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_SetDefaultCellFont" "', expected argument " "2"" of type '" "wxFont const &""'");  
16747     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Grid_SetDefaultCellFont" "', expected argument " "2"" of type '" "wxFont const &""'");  
16749   arg2 
= reinterpret_cast< wxFont 
* >(argp2
); 
16751     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16752     (arg1
)->SetDefaultCellFont((wxFont 
const &)*arg2
); 
16753     wxPyEndAllowThreads(__tstate
); 
16754     if (PyErr_Occurred()) SWIG_fail
; 
16756   resultobj 
= SWIG_Py_Void(); 
16763 SWIGINTERN PyObject 
*_wrap_Grid_SetCellFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16764   PyObject 
*resultobj 
= 0; 
16765   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
16777   PyObject 
* obj0 
= 0 ; 
16778   PyObject 
* obj1 
= 0 ; 
16779   PyObject 
* obj2 
= 0 ; 
16780   PyObject 
* obj3 
= 0 ; 
16781   char *  kwnames
[] = { 
16782     (char *) "self",(char *) "row",(char *) "col",(char *)"arg4", NULL 
 
16785   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
16786   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
16787   if (!SWIG_IsOK(res1
)) { 
16788     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellFont" "', expected argument " "1"" of type '" "wxGrid *""'");  
16790   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
16791   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
16792   if (!SWIG_IsOK(ecode2
)) { 
16793     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellFont" "', expected argument " "2"" of type '" "int""'"); 
16795   arg2 
= static_cast< int >(val2
); 
16796   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
16797   if (!SWIG_IsOK(ecode3
)) { 
16798     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellFont" "', expected argument " "3"" of type '" "int""'"); 
16800   arg3 
= static_cast< int >(val3
); 
16801   res4 
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxFont
,  0  | 0); 
16802   if (!SWIG_IsOK(res4
)) { 
16803     SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Grid_SetCellFont" "', expected argument " "4"" of type '" "wxFont const &""'");  
16806     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Grid_SetCellFont" "', expected argument " "4"" of type '" "wxFont const &""'");  
16808   arg4 
= reinterpret_cast< wxFont 
* >(argp4
); 
16810     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16811     (arg1
)->SetCellFont(arg2
,arg3
,(wxFont 
const &)*arg4
); 
16812     wxPyEndAllowThreads(__tstate
); 
16813     if (PyErr_Occurred()) SWIG_fail
; 
16815   resultobj 
= SWIG_Py_Void(); 
16822 SWIGINTERN PyObject 
*_wrap_Grid_SetDefaultCellAlignment(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16823   PyObject 
*resultobj 
= 0; 
16824   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
16833   PyObject 
* obj0 
= 0 ; 
16834   PyObject 
* obj1 
= 0 ; 
16835   PyObject 
* obj2 
= 0 ; 
16836   char *  kwnames
[] = { 
16837     (char *) "self",(char *) "horiz",(char *) "vert", NULL 
 
16840   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetDefaultCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
16841   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
16842   if (!SWIG_IsOK(res1
)) { 
16843     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultCellAlignment" "', expected argument " "1"" of type '" "wxGrid *""'");  
16845   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
16846   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
16847   if (!SWIG_IsOK(ecode2
)) { 
16848     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetDefaultCellAlignment" "', expected argument " "2"" of type '" "int""'"); 
16850   arg2 
= static_cast< int >(val2
); 
16851   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
16852   if (!SWIG_IsOK(ecode3
)) { 
16853     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetDefaultCellAlignment" "', expected argument " "3"" of type '" "int""'"); 
16855   arg3 
= static_cast< int >(val3
); 
16857     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16858     (arg1
)->SetDefaultCellAlignment(arg2
,arg3
); 
16859     wxPyEndAllowThreads(__tstate
); 
16860     if (PyErr_Occurred()) SWIG_fail
; 
16862   resultobj 
= SWIG_Py_Void(); 
16869 SWIGINTERN PyObject 
*_wrap_Grid_SetCellAlignment(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16870   PyObject 
*resultobj 
= 0; 
16871   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
16886   PyObject 
* obj0 
= 0 ; 
16887   PyObject 
* obj1 
= 0 ; 
16888   PyObject 
* obj2 
= 0 ; 
16889   PyObject 
* obj3 
= 0 ; 
16890   PyObject 
* obj4 
= 0 ; 
16891   char *  kwnames
[] = { 
16892     (char *) "self",(char *) "row",(char *) "col",(char *) "horiz",(char *) "vert", NULL 
 
16895   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Grid_SetCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
16896   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
16897   if (!SWIG_IsOK(res1
)) { 
16898     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellAlignment" "', expected argument " "1"" of type '" "wxGrid *""'");  
16900   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
16901   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
16902   if (!SWIG_IsOK(ecode2
)) { 
16903     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellAlignment" "', expected argument " "2"" of type '" "int""'"); 
16905   arg2 
= static_cast< int >(val2
); 
16906   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
16907   if (!SWIG_IsOK(ecode3
)) { 
16908     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellAlignment" "', expected argument " "3"" of type '" "int""'"); 
16910   arg3 
= static_cast< int >(val3
); 
16911   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
16912   if (!SWIG_IsOK(ecode4
)) { 
16913     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_SetCellAlignment" "', expected argument " "4"" of type '" "int""'"); 
16915   arg4 
= static_cast< int >(val4
); 
16916   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
16917   if (!SWIG_IsOK(ecode5
)) { 
16918     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Grid_SetCellAlignment" "', expected argument " "5"" of type '" "int""'"); 
16920   arg5 
= static_cast< int >(val5
); 
16922     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16923     (arg1
)->SetCellAlignment(arg2
,arg3
,arg4
,arg5
); 
16924     wxPyEndAllowThreads(__tstate
); 
16925     if (PyErr_Occurred()) SWIG_fail
; 
16927   resultobj 
= SWIG_Py_Void(); 
16934 SWIGINTERN PyObject 
*_wrap_Grid_SetDefaultCellOverflow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16935   PyObject 
*resultobj 
= 0; 
16936   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
16942   PyObject 
* obj0 
= 0 ; 
16943   PyObject 
* obj1 
= 0 ; 
16944   char *  kwnames
[] = { 
16945     (char *) "self",(char *) "allow", NULL 
 
16948   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellOverflow",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
16949   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
16950   if (!SWIG_IsOK(res1
)) { 
16951     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultCellOverflow" "', expected argument " "1"" of type '" "wxGrid *""'");  
16953   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
16954   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
16955   if (!SWIG_IsOK(ecode2
)) { 
16956     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetDefaultCellOverflow" "', expected argument " "2"" of type '" "bool""'"); 
16958   arg2 
= static_cast< bool >(val2
); 
16960     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16961     (arg1
)->SetDefaultCellOverflow(arg2
); 
16962     wxPyEndAllowThreads(__tstate
); 
16963     if (PyErr_Occurred()) SWIG_fail
; 
16965   resultobj 
= SWIG_Py_Void(); 
16972 SWIGINTERN PyObject 
*_wrap_Grid_SetCellOverflow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16973   PyObject 
*resultobj 
= 0; 
16974   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
16986   PyObject 
* obj0 
= 0 ; 
16987   PyObject 
* obj1 
= 0 ; 
16988   PyObject 
* obj2 
= 0 ; 
16989   PyObject 
* obj3 
= 0 ; 
16990   char *  kwnames
[] = { 
16991     (char *) "self",(char *) "row",(char *) "col",(char *) "allow", NULL 
 
16994   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellOverflow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
16995   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
16996   if (!SWIG_IsOK(res1
)) { 
16997     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellOverflow" "', expected argument " "1"" of type '" "wxGrid *""'");  
16999   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
17000   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
17001   if (!SWIG_IsOK(ecode2
)) { 
17002     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellOverflow" "', expected argument " "2"" of type '" "int""'"); 
17004   arg2 
= static_cast< int >(val2
); 
17005   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
17006   if (!SWIG_IsOK(ecode3
)) { 
17007     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellOverflow" "', expected argument " "3"" of type '" "int""'"); 
17009   arg3 
= static_cast< int >(val3
); 
17010   ecode4 
= SWIG_AsVal_bool(obj3
, &val4
); 
17011   if (!SWIG_IsOK(ecode4
)) { 
17012     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_SetCellOverflow" "', expected argument " "4"" of type '" "bool""'"); 
17014   arg4 
= static_cast< bool >(val4
); 
17016     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17017     (arg1
)->SetCellOverflow(arg2
,arg3
,arg4
); 
17018     wxPyEndAllowThreads(__tstate
); 
17019     if (PyErr_Occurred()) SWIG_fail
; 
17021   resultobj 
= SWIG_Py_Void(); 
17028 SWIGINTERN PyObject 
*_wrap_Grid_SetCellSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17029   PyObject 
*resultobj 
= 0; 
17030   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
17045   PyObject 
* obj0 
= 0 ; 
17046   PyObject 
* obj1 
= 0 ; 
17047   PyObject 
* obj2 
= 0 ; 
17048   PyObject 
* obj3 
= 0 ; 
17049   PyObject 
* obj4 
= 0 ; 
17050   char *  kwnames
[] = { 
17051     (char *) "self",(char *) "row",(char *) "col",(char *) "num_rows",(char *) "num_cols", NULL 
 
17054   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Grid_SetCellSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
17055   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
17056   if (!SWIG_IsOK(res1
)) { 
17057     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellSize" "', expected argument " "1"" of type '" "wxGrid *""'");  
17059   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
17060   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
17061   if (!SWIG_IsOK(ecode2
)) { 
17062     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellSize" "', expected argument " "2"" of type '" "int""'"); 
17064   arg2 
= static_cast< int >(val2
); 
17065   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
17066   if (!SWIG_IsOK(ecode3
)) { 
17067     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellSize" "', expected argument " "3"" of type '" "int""'"); 
17069   arg3 
= static_cast< int >(val3
); 
17070   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
17071   if (!SWIG_IsOK(ecode4
)) { 
17072     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_SetCellSize" "', expected argument " "4"" of type '" "int""'"); 
17074   arg4 
= static_cast< int >(val4
); 
17075   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
17076   if (!SWIG_IsOK(ecode5
)) { 
17077     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Grid_SetCellSize" "', expected argument " "5"" of type '" "int""'"); 
17079   arg5 
= static_cast< int >(val5
); 
17081     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17082     (arg1
)->SetCellSize(arg2
,arg3
,arg4
,arg5
); 
17083     wxPyEndAllowThreads(__tstate
); 
17084     if (PyErr_Occurred()) SWIG_fail
; 
17086   resultobj 
= SWIG_Py_Void(); 
17093 SWIGINTERN PyObject 
*_wrap_Grid_SetDefaultRenderer(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17094   PyObject 
*resultobj 
= 0; 
17095   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
17096   wxGridCellRenderer 
*arg2 
= (wxGridCellRenderer 
*) 0 ; 
17101   PyObject 
* obj0 
= 0 ; 
17102   PyObject 
* obj1 
= 0 ; 
17103   char *  kwnames
[] = { 
17104     (char *) "self",(char *) "renderer", NULL 
 
17107   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultRenderer",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
17108   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
17109   if (!SWIG_IsOK(res1
)) { 
17110     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultRenderer" "', expected argument " "1"" of type '" "wxGrid *""'");  
17112   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
17113   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellRenderer
, 0 |  0 ); 
17114   if (!SWIG_IsOK(res2
)) { 
17115     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_SetDefaultRenderer" "', expected argument " "2"" of type '" "wxGridCellRenderer *""'");  
17117   arg2 
= reinterpret_cast< wxGridCellRenderer 
* >(argp2
); 
17119     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17120     (arg1
)->SetDefaultRenderer(arg2
); 
17121     wxPyEndAllowThreads(__tstate
); 
17122     if (PyErr_Occurred()) SWIG_fail
; 
17124   resultobj 
= SWIG_Py_Void(); 
17131 SWIGINTERN PyObject 
*_wrap_Grid_SetCellRenderer(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17132   PyObject 
*resultobj 
= 0; 
17133   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
17136   wxGridCellRenderer 
*arg4 
= (wxGridCellRenderer 
*) 0 ; 
17145   PyObject 
* obj0 
= 0 ; 
17146   PyObject 
* obj1 
= 0 ; 
17147   PyObject 
* obj2 
= 0 ; 
17148   PyObject 
* obj3 
= 0 ; 
17149   char *  kwnames
[] = { 
17150     (char *) "self",(char *) "row",(char *) "col",(char *) "renderer", NULL 
 
17153   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellRenderer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
17154   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
17155   if (!SWIG_IsOK(res1
)) { 
17156     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellRenderer" "', expected argument " "1"" of type '" "wxGrid *""'");  
17158   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
17159   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
17160   if (!SWIG_IsOK(ecode2
)) { 
17161     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellRenderer" "', expected argument " "2"" of type '" "int""'"); 
17163   arg2 
= static_cast< int >(val2
); 
17164   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
17165   if (!SWIG_IsOK(ecode3
)) { 
17166     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellRenderer" "', expected argument " "3"" of type '" "int""'"); 
17168   arg3 
= static_cast< int >(val3
); 
17169   res4 
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxGridCellRenderer
, 0 |  0 ); 
17170   if (!SWIG_IsOK(res4
)) { 
17171     SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Grid_SetCellRenderer" "', expected argument " "4"" of type '" "wxGridCellRenderer *""'");  
17173   arg4 
= reinterpret_cast< wxGridCellRenderer 
* >(argp4
); 
17175     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17176     (arg1
)->SetCellRenderer(arg2
,arg3
,arg4
); 
17177     wxPyEndAllowThreads(__tstate
); 
17178     if (PyErr_Occurred()) SWIG_fail
; 
17180   resultobj 
= SWIG_Py_Void(); 
17187 SWIGINTERN PyObject 
*_wrap_Grid_GetDefaultRenderer(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17188   PyObject 
*resultobj 
= 0; 
17189   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
17190   wxGridCellRenderer 
*result 
= 0 ; 
17193   PyObject 
*swig_obj
[1] ; 
17195   if (!args
) SWIG_fail
; 
17196   swig_obj
[0] = args
; 
17197   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
17198   if (!SWIG_IsOK(res1
)) { 
17199     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultRenderer" "', expected argument " "1"" of type '" "wxGrid const *""'");  
17201   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
17203     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17204     result 
= (wxGridCellRenderer 
*)((wxGrid 
const *)arg1
)->GetDefaultRenderer(); 
17205     wxPyEndAllowThreads(__tstate
); 
17206     if (PyErr_Occurred()) SWIG_fail
; 
17209     resultobj 
= wxPyMake_wxGridCellRenderer(result
, (bool)0);  
17217 SWIGINTERN PyObject 
*_wrap_Grid_GetCellRenderer(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17218   PyObject 
*resultobj 
= 0; 
17219   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
17222   wxGridCellRenderer 
*result 
= 0 ; 
17229   PyObject 
* obj0 
= 0 ; 
17230   PyObject 
* obj1 
= 0 ; 
17231   PyObject 
* obj2 
= 0 ; 
17232   char *  kwnames
[] = { 
17233     (char *) "self",(char *) "row",(char *) "col", NULL 
 
17236   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellRenderer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
17237   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
17238   if (!SWIG_IsOK(res1
)) { 
17239     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellRenderer" "', expected argument " "1"" of type '" "wxGrid *""'");  
17241   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
17242   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
17243   if (!SWIG_IsOK(ecode2
)) { 
17244     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellRenderer" "', expected argument " "2"" of type '" "int""'"); 
17246   arg2 
= static_cast< int >(val2
); 
17247   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
17248   if (!SWIG_IsOK(ecode3
)) { 
17249     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellRenderer" "', expected argument " "3"" of type '" "int""'"); 
17251   arg3 
= static_cast< int >(val3
); 
17253     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17254     result 
= (wxGridCellRenderer 
*)(arg1
)->GetCellRenderer(arg2
,arg3
); 
17255     wxPyEndAllowThreads(__tstate
); 
17256     if (PyErr_Occurred()) SWIG_fail
; 
17259     resultobj 
= wxPyMake_wxGridCellRenderer(result
, (bool)0);  
17267 SWIGINTERN PyObject 
*_wrap_Grid_SetDefaultEditor(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17268   PyObject 
*resultobj 
= 0; 
17269   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
17270   wxGridCellEditor 
*arg2 
= (wxGridCellEditor 
*) 0 ; 
17275   PyObject 
* obj0 
= 0 ; 
17276   PyObject 
* obj1 
= 0 ; 
17277   char *  kwnames
[] = { 
17278     (char *) "self",(char *) "editor", NULL 
 
17281   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultEditor",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
17282   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
17283   if (!SWIG_IsOK(res1
)) { 
17284     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultEditor" "', expected argument " "1"" of type '" "wxGrid *""'");  
17286   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
17287   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellEditor
, 0 |  0 ); 
17288   if (!SWIG_IsOK(res2
)) { 
17289     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_SetDefaultEditor" "', expected argument " "2"" of type '" "wxGridCellEditor *""'");  
17291   arg2 
= reinterpret_cast< wxGridCellEditor 
* >(argp2
); 
17293     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17294     (arg1
)->SetDefaultEditor(arg2
); 
17295     wxPyEndAllowThreads(__tstate
); 
17296     if (PyErr_Occurred()) SWIG_fail
; 
17298   resultobj 
= SWIG_Py_Void(); 
17305 SWIGINTERN PyObject 
*_wrap_Grid_SetCellEditor(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17306   PyObject 
*resultobj 
= 0; 
17307   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
17310   wxGridCellEditor 
*arg4 
= (wxGridCellEditor 
*) 0 ; 
17319   PyObject 
* obj0 
= 0 ; 
17320   PyObject 
* obj1 
= 0 ; 
17321   PyObject 
* obj2 
= 0 ; 
17322   PyObject 
* obj3 
= 0 ; 
17323   char *  kwnames
[] = { 
17324     (char *) "self",(char *) "row",(char *) "col",(char *) "editor", NULL 
 
17327   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellEditor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
17328   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
17329   if (!SWIG_IsOK(res1
)) { 
17330     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellEditor" "', expected argument " "1"" of type '" "wxGrid *""'");  
17332   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
17333   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
17334   if (!SWIG_IsOK(ecode2
)) { 
17335     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellEditor" "', expected argument " "2"" of type '" "int""'"); 
17337   arg2 
= static_cast< int >(val2
); 
17338   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
17339   if (!SWIG_IsOK(ecode3
)) { 
17340     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellEditor" "', expected argument " "3"" of type '" "int""'"); 
17342   arg3 
= static_cast< int >(val3
); 
17343   res4 
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxGridCellEditor
, 0 |  0 ); 
17344   if (!SWIG_IsOK(res4
)) { 
17345     SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Grid_SetCellEditor" "', expected argument " "4"" of type '" "wxGridCellEditor *""'");  
17347   arg4 
= reinterpret_cast< wxGridCellEditor 
* >(argp4
); 
17349     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17350     (arg1
)->SetCellEditor(arg2
,arg3
,arg4
); 
17351     wxPyEndAllowThreads(__tstate
); 
17352     if (PyErr_Occurred()) SWIG_fail
; 
17354   resultobj 
= SWIG_Py_Void(); 
17361 SWIGINTERN PyObject 
*_wrap_Grid_GetDefaultEditor(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17362   PyObject 
*resultobj 
= 0; 
17363   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
17364   wxGridCellEditor 
*result 
= 0 ; 
17367   PyObject 
*swig_obj
[1] ; 
17369   if (!args
) SWIG_fail
; 
17370   swig_obj
[0] = args
; 
17371   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
17372   if (!SWIG_IsOK(res1
)) { 
17373     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultEditor" "', expected argument " "1"" of type '" "wxGrid const *""'");  
17375   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
17377     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17378     result 
= (wxGridCellEditor 
*)((wxGrid 
const *)arg1
)->GetDefaultEditor(); 
17379     wxPyEndAllowThreads(__tstate
); 
17380     if (PyErr_Occurred()) SWIG_fail
; 
17383     resultobj 
= wxPyMake_wxGridCellEditor(result
,   (bool)0);  
17391 SWIGINTERN PyObject 
*_wrap_Grid_GetCellEditor(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17392   PyObject 
*resultobj 
= 0; 
17393   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
17396   wxGridCellEditor 
*result 
= 0 ; 
17403   PyObject 
* obj0 
= 0 ; 
17404   PyObject 
* obj1 
= 0 ; 
17405   PyObject 
* obj2 
= 0 ; 
17406   char *  kwnames
[] = { 
17407     (char *) "self",(char *) "row",(char *) "col", NULL 
 
17410   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellEditor",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
17411   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
17412   if (!SWIG_IsOK(res1
)) { 
17413     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellEditor" "', expected argument " "1"" of type '" "wxGrid *""'");  
17415   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
17416   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
17417   if (!SWIG_IsOK(ecode2
)) { 
17418     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellEditor" "', expected argument " "2"" of type '" "int""'"); 
17420   arg2 
= static_cast< int >(val2
); 
17421   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
17422   if (!SWIG_IsOK(ecode3
)) { 
17423     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellEditor" "', expected argument " "3"" of type '" "int""'"); 
17425   arg3 
= static_cast< int >(val3
); 
17427     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17428     result 
= (wxGridCellEditor 
*)(arg1
)->GetCellEditor(arg2
,arg3
); 
17429     wxPyEndAllowThreads(__tstate
); 
17430     if (PyErr_Occurred()) SWIG_fail
; 
17433     resultobj 
= wxPyMake_wxGridCellEditor(result
,   (bool)0);  
17441 SWIGINTERN PyObject 
*_wrap_Grid_GetCellValue(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17442   PyObject 
*resultobj 
= 0; 
17443   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
17453   PyObject 
* obj0 
= 0 ; 
17454   PyObject 
* obj1 
= 0 ; 
17455   PyObject 
* obj2 
= 0 ; 
17456   char *  kwnames
[] = { 
17457     (char *) "self",(char *) "row",(char *) "col", NULL 
 
17460   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
17461   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
17462   if (!SWIG_IsOK(res1
)) { 
17463     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellValue" "', expected argument " "1"" of type '" "wxGrid *""'");  
17465   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
17466   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
17467   if (!SWIG_IsOK(ecode2
)) { 
17468     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellValue" "', expected argument " "2"" of type '" "int""'"); 
17470   arg2 
= static_cast< int >(val2
); 
17471   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
17472   if (!SWIG_IsOK(ecode3
)) { 
17473     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellValue" "', expected argument " "3"" of type '" "int""'"); 
17475   arg3 
= static_cast< int >(val3
); 
17477     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17478     result 
= (arg1
)->GetCellValue(arg2
,arg3
); 
17479     wxPyEndAllowThreads(__tstate
); 
17480     if (PyErr_Occurred()) SWIG_fail
; 
17484     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
17486     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
17495 SWIGINTERN PyObject 
*_wrap_Grid_SetCellValue(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17496   PyObject 
*resultobj 
= 0; 
17497   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
17500   wxString 
*arg4 
= 0 ; 
17507   bool temp4 
= false ; 
17508   PyObject 
* obj0 
= 0 ; 
17509   PyObject 
* obj1 
= 0 ; 
17510   PyObject 
* obj2 
= 0 ; 
17511   PyObject 
* obj3 
= 0 ; 
17512   char *  kwnames
[] = { 
17513     (char *) "self",(char *) "row",(char *) "col",(char *) "s", NULL 
 
17516   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellValue",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
17517   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
17518   if (!SWIG_IsOK(res1
)) { 
17519     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellValue" "', expected argument " "1"" of type '" "wxGrid *""'");  
17521   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
17522   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
17523   if (!SWIG_IsOK(ecode2
)) { 
17524     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellValue" "', expected argument " "2"" of type '" "int""'"); 
17526   arg2 
= static_cast< int >(val2
); 
17527   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
17528   if (!SWIG_IsOK(ecode3
)) { 
17529     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellValue" "', expected argument " "3"" of type '" "int""'"); 
17531   arg3 
= static_cast< int >(val3
); 
17533     arg4 
= wxString_in_helper(obj3
); 
17534     if (arg4 
== NULL
) SWIG_fail
; 
17538     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17539     (arg1
)->SetCellValue(arg2
,arg3
,(wxString 
const &)*arg4
); 
17540     wxPyEndAllowThreads(__tstate
); 
17541     if (PyErr_Occurred()) SWIG_fail
; 
17543   resultobj 
= SWIG_Py_Void(); 
17558 SWIGINTERN PyObject 
*_wrap_Grid_IsReadOnly(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17559   PyObject 
*resultobj 
= 0; 
17560   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
17570   PyObject 
* obj0 
= 0 ; 
17571   PyObject 
* obj1 
= 0 ; 
17572   PyObject 
* obj2 
= 0 ; 
17573   char *  kwnames
[] = { 
17574     (char *) "self",(char *) "row",(char *) "col", NULL 
 
17577   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_IsReadOnly",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
17578   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
17579   if (!SWIG_IsOK(res1
)) { 
17580     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_IsReadOnly" "', expected argument " "1"" of type '" "wxGrid const *""'");  
17582   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
17583   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
17584   if (!SWIG_IsOK(ecode2
)) { 
17585     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_IsReadOnly" "', expected argument " "2"" of type '" "int""'"); 
17587   arg2 
= static_cast< int >(val2
); 
17588   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
17589   if (!SWIG_IsOK(ecode3
)) { 
17590     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_IsReadOnly" "', expected argument " "3"" of type '" "int""'"); 
17592   arg3 
= static_cast< int >(val3
); 
17594     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17595     result 
= (bool)((wxGrid 
const *)arg1
)->IsReadOnly(arg2
,arg3
); 
17596     wxPyEndAllowThreads(__tstate
); 
17597     if (PyErr_Occurred()) SWIG_fail
; 
17600     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
17608 SWIGINTERN PyObject 
*_wrap_Grid_SetReadOnly(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17609   PyObject 
*resultobj 
= 0; 
17610   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
17613   bool arg4 
= (bool) true ; 
17622   PyObject 
* obj0 
= 0 ; 
17623   PyObject 
* obj1 
= 0 ; 
17624   PyObject 
* obj2 
= 0 ; 
17625   PyObject 
* obj3 
= 0 ; 
17626   char *  kwnames
[] = { 
17627     (char *) "self",(char *) "row",(char *) "col",(char *) "isReadOnly", NULL 
 
17630   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_SetReadOnly",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
17631   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
17632   if (!SWIG_IsOK(res1
)) { 
17633     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetReadOnly" "', expected argument " "1"" of type '" "wxGrid *""'");  
17635   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
17636   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
17637   if (!SWIG_IsOK(ecode2
)) { 
17638     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetReadOnly" "', expected argument " "2"" of type '" "int""'"); 
17640   arg2 
= static_cast< int >(val2
); 
17641   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
17642   if (!SWIG_IsOK(ecode3
)) { 
17643     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetReadOnly" "', expected argument " "3"" of type '" "int""'"); 
17645   arg3 
= static_cast< int >(val3
); 
17647     ecode4 
= SWIG_AsVal_bool(obj3
, &val4
); 
17648     if (!SWIG_IsOK(ecode4
)) { 
17649       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_SetReadOnly" "', expected argument " "4"" of type '" "bool""'"); 
17651     arg4 
= static_cast< bool >(val4
); 
17654     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17655     (arg1
)->SetReadOnly(arg2
,arg3
,arg4
); 
17656     wxPyEndAllowThreads(__tstate
); 
17657     if (PyErr_Occurred()) SWIG_fail
; 
17659   resultobj 
= SWIG_Py_Void(); 
17666 SWIGINTERN PyObject 
*_wrap_Grid_SelectRow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17667   PyObject 
*resultobj 
= 0; 
17668   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
17670   bool arg3 
= (bool) false ; 
17677   PyObject 
* obj0 
= 0 ; 
17678   PyObject 
* obj1 
= 0 ; 
17679   PyObject 
* obj2 
= 0 ; 
17680   char *  kwnames
[] = { 
17681     (char *) "self",(char *) "row",(char *) "addToSelected", NULL 
 
17684   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SelectRow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
17685   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
17686   if (!SWIG_IsOK(res1
)) { 
17687     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SelectRow" "', expected argument " "1"" of type '" "wxGrid *""'");  
17689   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
17690   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
17691   if (!SWIG_IsOK(ecode2
)) { 
17692     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SelectRow" "', expected argument " "2"" of type '" "int""'"); 
17694   arg2 
= static_cast< int >(val2
); 
17696     ecode3 
= SWIG_AsVal_bool(obj2
, &val3
); 
17697     if (!SWIG_IsOK(ecode3
)) { 
17698       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SelectRow" "', expected argument " "3"" of type '" "bool""'"); 
17700     arg3 
= static_cast< bool >(val3
); 
17703     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17704     (arg1
)->SelectRow(arg2
,arg3
); 
17705     wxPyEndAllowThreads(__tstate
); 
17706     if (PyErr_Occurred()) SWIG_fail
; 
17708   resultobj 
= SWIG_Py_Void(); 
17715 SWIGINTERN PyObject 
*_wrap_Grid_SelectCol(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17716   PyObject 
*resultobj 
= 0; 
17717   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
17719   bool arg3 
= (bool) false ; 
17726   PyObject 
* obj0 
= 0 ; 
17727   PyObject 
* obj1 
= 0 ; 
17728   PyObject 
* obj2 
= 0 ; 
17729   char *  kwnames
[] = { 
17730     (char *) "self",(char *) "col",(char *) "addToSelected", NULL 
 
17733   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SelectCol",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
17734   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
17735   if (!SWIG_IsOK(res1
)) { 
17736     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SelectCol" "', expected argument " "1"" of type '" "wxGrid *""'");  
17738   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
17739   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
17740   if (!SWIG_IsOK(ecode2
)) { 
17741     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SelectCol" "', expected argument " "2"" of type '" "int""'"); 
17743   arg2 
= static_cast< int >(val2
); 
17745     ecode3 
= SWIG_AsVal_bool(obj2
, &val3
); 
17746     if (!SWIG_IsOK(ecode3
)) { 
17747       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SelectCol" "', expected argument " "3"" of type '" "bool""'"); 
17749     arg3 
= static_cast< bool >(val3
); 
17752     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17753     (arg1
)->SelectCol(arg2
,arg3
); 
17754     wxPyEndAllowThreads(__tstate
); 
17755     if (PyErr_Occurred()) SWIG_fail
; 
17757   resultobj 
= SWIG_Py_Void(); 
17764 SWIGINTERN PyObject 
*_wrap_Grid_SelectBlock(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17765   PyObject 
*resultobj 
= 0; 
17766   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
17771   bool arg6 
= (bool) false ; 
17784   PyObject 
* obj0 
= 0 ; 
17785   PyObject 
* obj1 
= 0 ; 
17786   PyObject 
* obj2 
= 0 ; 
17787   PyObject 
* obj3 
= 0 ; 
17788   PyObject 
* obj4 
= 0 ; 
17789   PyObject 
* obj5 
= 0 ; 
17790   char *  kwnames
[] = { 
17791     (char *) "self",(char *) "topRow",(char *) "leftCol",(char *) "bottomRow",(char *) "rightCol",(char *) "addToSelected", NULL 
 
17794   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Grid_SelectBlock",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
17795   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
17796   if (!SWIG_IsOK(res1
)) { 
17797     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SelectBlock" "', expected argument " "1"" of type '" "wxGrid *""'");  
17799   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
17800   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
17801   if (!SWIG_IsOK(ecode2
)) { 
17802     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SelectBlock" "', expected argument " "2"" of type '" "int""'"); 
17804   arg2 
= static_cast< int >(val2
); 
17805   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
17806   if (!SWIG_IsOK(ecode3
)) { 
17807     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SelectBlock" "', expected argument " "3"" of type '" "int""'"); 
17809   arg3 
= static_cast< int >(val3
); 
17810   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
17811   if (!SWIG_IsOK(ecode4
)) { 
17812     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_SelectBlock" "', expected argument " "4"" of type '" "int""'"); 
17814   arg4 
= static_cast< int >(val4
); 
17815   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
17816   if (!SWIG_IsOK(ecode5
)) { 
17817     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Grid_SelectBlock" "', expected argument " "5"" of type '" "int""'"); 
17819   arg5 
= static_cast< int >(val5
); 
17821     ecode6 
= SWIG_AsVal_bool(obj5
, &val6
); 
17822     if (!SWIG_IsOK(ecode6
)) { 
17823       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Grid_SelectBlock" "', expected argument " "6"" of type '" "bool""'"); 
17825     arg6 
= static_cast< bool >(val6
); 
17828     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17829     (arg1
)->SelectBlock(arg2
,arg3
,arg4
,arg5
,arg6
); 
17830     wxPyEndAllowThreads(__tstate
); 
17831     if (PyErr_Occurred()) SWIG_fail
; 
17833   resultobj 
= SWIG_Py_Void(); 
17840 SWIGINTERN PyObject 
*_wrap_Grid_SelectAll(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17841   PyObject 
*resultobj 
= 0; 
17842   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
17845   PyObject 
*swig_obj
[1] ; 
17847   if (!args
) SWIG_fail
; 
17848   swig_obj
[0] = args
; 
17849   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
17850   if (!SWIG_IsOK(res1
)) { 
17851     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SelectAll" "', expected argument " "1"" of type '" "wxGrid *""'");  
17853   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
17855     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17856     (arg1
)->SelectAll(); 
17857     wxPyEndAllowThreads(__tstate
); 
17858     if (PyErr_Occurred()) SWIG_fail
; 
17860   resultobj 
= SWIG_Py_Void(); 
17867 SWIGINTERN PyObject 
*_wrap_Grid_IsSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17868   PyObject 
*resultobj 
= 0; 
17869   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
17873   PyObject 
*swig_obj
[1] ; 
17875   if (!args
) SWIG_fail
; 
17876   swig_obj
[0] = args
; 
17877   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
17878   if (!SWIG_IsOK(res1
)) { 
17879     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_IsSelection" "', expected argument " "1"" of type '" "wxGrid *""'");  
17881   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
17883     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17884     result 
= (bool)(arg1
)->IsSelection(); 
17885     wxPyEndAllowThreads(__tstate
); 
17886     if (PyErr_Occurred()) SWIG_fail
; 
17889     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
17897 SWIGINTERN PyObject 
*_wrap_Grid_ClearSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17898   PyObject 
*resultobj 
= 0; 
17899   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
17902   PyObject 
*swig_obj
[1] ; 
17904   if (!args
) SWIG_fail
; 
17905   swig_obj
[0] = args
; 
17906   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
17907   if (!SWIG_IsOK(res1
)) { 
17908     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_ClearSelection" "', expected argument " "1"" of type '" "wxGrid *""'");  
17910   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
17912     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17913     (arg1
)->ClearSelection(); 
17914     wxPyEndAllowThreads(__tstate
); 
17915     if (PyErr_Occurred()) SWIG_fail
; 
17917   resultobj 
= SWIG_Py_Void(); 
17924 SWIGINTERN PyObject 
*_wrap_Grid_IsInSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17925   PyObject 
*resultobj 
= 0; 
17926   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
17936   PyObject 
* obj0 
= 0 ; 
17937   PyObject 
* obj1 
= 0 ; 
17938   PyObject 
* obj2 
= 0 ; 
17939   char *  kwnames
[] = { 
17940     (char *) "self",(char *) "row",(char *) "col", NULL 
 
17943   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_IsInSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
17944   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
17945   if (!SWIG_IsOK(res1
)) { 
17946     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_IsInSelection" "', expected argument " "1"" of type '" "wxGrid *""'");  
17948   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
17949   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
17950   if (!SWIG_IsOK(ecode2
)) { 
17951     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_IsInSelection" "', expected argument " "2"" of type '" "int""'"); 
17953   arg2 
= static_cast< int >(val2
); 
17954   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
17955   if (!SWIG_IsOK(ecode3
)) { 
17956     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_IsInSelection" "', expected argument " "3"" of type '" "int""'"); 
17958   arg3 
= static_cast< int >(val3
); 
17960     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17961     result 
= (bool)(arg1
)->IsInSelection(arg2
,arg3
); 
17962     wxPyEndAllowThreads(__tstate
); 
17963     if (PyErr_Occurred()) SWIG_fail
; 
17966     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
17974 SWIGINTERN PyObject 
*_wrap_Grid_GetSelectedCells(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17975   PyObject 
*resultobj 
= 0; 
17976   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
17977   wxGridCellCoordsArray result
; 
17980   PyObject 
*swig_obj
[1] ; 
17982   if (!args
) SWIG_fail
; 
17983   swig_obj
[0] = args
; 
17984   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
17985   if (!SWIG_IsOK(res1
)) { 
17986     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetSelectedCells" "', expected argument " "1"" of type '" "wxGrid const *""'");  
17988   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
17990     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17991     result 
= ((wxGrid 
const *)arg1
)->GetSelectedCells(); 
17992     wxPyEndAllowThreads(__tstate
); 
17993     if (PyErr_Occurred()) SWIG_fail
; 
17996     resultobj 
= wxGridCellCoordsArray_helper(result
); 
18004 SWIGINTERN PyObject 
*_wrap_Grid_GetSelectionBlockTopLeft(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18005   PyObject 
*resultobj 
= 0; 
18006   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
18007   wxGridCellCoordsArray result
; 
18010   PyObject 
*swig_obj
[1] ; 
18012   if (!args
) SWIG_fail
; 
18013   swig_obj
[0] = args
; 
18014   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
18015   if (!SWIG_IsOK(res1
)) { 
18016     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetSelectionBlockTopLeft" "', expected argument " "1"" of type '" "wxGrid const *""'");  
18018   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
18020     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18021     result 
= ((wxGrid 
const *)arg1
)->GetSelectionBlockTopLeft(); 
18022     wxPyEndAllowThreads(__tstate
); 
18023     if (PyErr_Occurred()) SWIG_fail
; 
18026     resultobj 
= wxGridCellCoordsArray_helper(result
); 
18034 SWIGINTERN PyObject 
*_wrap_Grid_GetSelectionBlockBottomRight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18035   PyObject 
*resultobj 
= 0; 
18036   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
18037   wxGridCellCoordsArray result
; 
18040   PyObject 
*swig_obj
[1] ; 
18042   if (!args
) SWIG_fail
; 
18043   swig_obj
[0] = args
; 
18044   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
18045   if (!SWIG_IsOK(res1
)) { 
18046     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetSelectionBlockBottomRight" "', expected argument " "1"" of type '" "wxGrid const *""'");  
18048   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
18050     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18051     result 
= ((wxGrid 
const *)arg1
)->GetSelectionBlockBottomRight(); 
18052     wxPyEndAllowThreads(__tstate
); 
18053     if (PyErr_Occurred()) SWIG_fail
; 
18056     resultobj 
= wxGridCellCoordsArray_helper(result
); 
18064 SWIGINTERN PyObject 
*_wrap_Grid_GetSelectedRows(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18065   PyObject 
*resultobj 
= 0; 
18066   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
18070   PyObject 
*swig_obj
[1] ; 
18072   if (!args
) SWIG_fail
; 
18073   swig_obj
[0] = args
; 
18074   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
18075   if (!SWIG_IsOK(res1
)) { 
18076     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetSelectedRows" "', expected argument " "1"" of type '" "wxGrid const *""'");  
18078   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
18080     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18081     result 
= ((wxGrid 
const *)arg1
)->GetSelectedRows(); 
18082     wxPyEndAllowThreads(__tstate
); 
18083     if (PyErr_Occurred()) SWIG_fail
; 
18086     resultobj 
= wxArrayInt2PyList_helper(result
); 
18094 SWIGINTERN PyObject 
*_wrap_Grid_GetSelectedCols(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18095   PyObject 
*resultobj 
= 0; 
18096   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
18100   PyObject 
*swig_obj
[1] ; 
18102   if (!args
) SWIG_fail
; 
18103   swig_obj
[0] = args
; 
18104   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
18105   if (!SWIG_IsOK(res1
)) { 
18106     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetSelectedCols" "', expected argument " "1"" of type '" "wxGrid const *""'");  
18108   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
18110     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18111     result 
= ((wxGrid 
const *)arg1
)->GetSelectedCols(); 
18112     wxPyEndAllowThreads(__tstate
); 
18113     if (PyErr_Occurred()) SWIG_fail
; 
18116     resultobj 
= wxArrayInt2PyList_helper(result
); 
18124 SWIGINTERN PyObject 
*_wrap_Grid_DeselectRow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18125   PyObject 
*resultobj 
= 0; 
18126   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
18132   PyObject 
* obj0 
= 0 ; 
18133   PyObject 
* obj1 
= 0 ; 
18134   char *  kwnames
[] = { 
18135     (char *) "self",(char *) "row", NULL 
 
18138   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_DeselectRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
18139   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
18140   if (!SWIG_IsOK(res1
)) { 
18141     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DeselectRow" "', expected argument " "1"" of type '" "wxGrid *""'");  
18143   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
18144   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
18145   if (!SWIG_IsOK(ecode2
)) { 
18146     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_DeselectRow" "', expected argument " "2"" of type '" "int""'"); 
18148   arg2 
= static_cast< int >(val2
); 
18150     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18151     (arg1
)->DeselectRow(arg2
); 
18152     wxPyEndAllowThreads(__tstate
); 
18153     if (PyErr_Occurred()) SWIG_fail
; 
18155   resultobj 
= SWIG_Py_Void(); 
18162 SWIGINTERN PyObject 
*_wrap_Grid_DeselectCol(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18163   PyObject 
*resultobj 
= 0; 
18164   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
18170   PyObject 
* obj0 
= 0 ; 
18171   PyObject 
* obj1 
= 0 ; 
18172   char *  kwnames
[] = { 
18173     (char *) "self",(char *) "col", NULL 
 
18176   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_DeselectCol",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
18177   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
18178   if (!SWIG_IsOK(res1
)) { 
18179     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DeselectCol" "', expected argument " "1"" of type '" "wxGrid *""'");  
18181   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
18182   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
18183   if (!SWIG_IsOK(ecode2
)) { 
18184     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_DeselectCol" "', expected argument " "2"" of type '" "int""'"); 
18186   arg2 
= static_cast< int >(val2
); 
18188     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18189     (arg1
)->DeselectCol(arg2
); 
18190     wxPyEndAllowThreads(__tstate
); 
18191     if (PyErr_Occurred()) SWIG_fail
; 
18193   resultobj 
= SWIG_Py_Void(); 
18200 SWIGINTERN PyObject 
*_wrap_Grid_DeselectCell(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18201   PyObject 
*resultobj 
= 0; 
18202   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
18211   PyObject 
* obj0 
= 0 ; 
18212   PyObject 
* obj1 
= 0 ; 
18213   PyObject 
* obj2 
= 0 ; 
18214   char *  kwnames
[] = { 
18215     (char *) "self",(char *) "row",(char *) "col", NULL 
 
18218   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_DeselectCell",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
18219   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
18220   if (!SWIG_IsOK(res1
)) { 
18221     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DeselectCell" "', expected argument " "1"" of type '" "wxGrid *""'");  
18223   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
18224   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
18225   if (!SWIG_IsOK(ecode2
)) { 
18226     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_DeselectCell" "', expected argument " "2"" of type '" "int""'"); 
18228   arg2 
= static_cast< int >(val2
); 
18229   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
18230   if (!SWIG_IsOK(ecode3
)) { 
18231     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_DeselectCell" "', expected argument " "3"" of type '" "int""'"); 
18233   arg3 
= static_cast< int >(val3
); 
18235     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18236     (arg1
)->DeselectCell(arg2
,arg3
); 
18237     wxPyEndAllowThreads(__tstate
); 
18238     if (PyErr_Occurred()) SWIG_fail
; 
18240   resultobj 
= SWIG_Py_Void(); 
18247 SWIGINTERN PyObject 
*_wrap_Grid_BlockToDeviceRect(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18248   PyObject 
*resultobj 
= 0; 
18249   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
18250   wxGridCellCoords 
*arg2 
= 0 ; 
18251   wxGridCellCoords 
*arg3 
= 0 ; 
18255   wxGridCellCoords temp2 
; 
18256   wxGridCellCoords temp3 
; 
18257   PyObject 
* obj0 
= 0 ; 
18258   PyObject 
* obj1 
= 0 ; 
18259   PyObject 
* obj2 
= 0 ; 
18260   char *  kwnames
[] = { 
18261     (char *) "self",(char *) "topLeft",(char *) "bottomRight", NULL 
 
18264   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_BlockToDeviceRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
18265   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
18266   if (!SWIG_IsOK(res1
)) { 
18267     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_BlockToDeviceRect" "', expected argument " "1"" of type '" "wxGrid *""'");  
18269   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
18272     if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
; 
18276     if (! wxGridCellCoords_helper(obj2
, &arg3
)) SWIG_fail
; 
18279     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18280     result 
= (arg1
)->BlockToDeviceRect((wxGridCellCoords 
const &)*arg2
,(wxGridCellCoords 
const &)*arg3
); 
18281     wxPyEndAllowThreads(__tstate
); 
18282     if (PyErr_Occurred()) SWIG_fail
; 
18284   resultobj 
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN 
|  0 ); 
18291 SWIGINTERN PyObject 
*_wrap_Grid_GetSelectionBackground(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18292   PyObject 
*resultobj 
= 0; 
18293   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
18297   PyObject 
*swig_obj
[1] ; 
18299   if (!args
) SWIG_fail
; 
18300   swig_obj
[0] = args
; 
18301   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
18302   if (!SWIG_IsOK(res1
)) { 
18303     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetSelectionBackground" "', expected argument " "1"" of type '" "wxGrid const *""'");  
18305   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
18307     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18308     result 
= ((wxGrid 
const *)arg1
)->GetSelectionBackground(); 
18309     wxPyEndAllowThreads(__tstate
); 
18310     if (PyErr_Occurred()) SWIG_fail
; 
18312   resultobj 
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN 
|  0 ); 
18319 SWIGINTERN PyObject 
*_wrap_Grid_GetSelectionForeground(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18320   PyObject 
*resultobj 
= 0; 
18321   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
18325   PyObject 
*swig_obj
[1] ; 
18327   if (!args
) SWIG_fail
; 
18328   swig_obj
[0] = args
; 
18329   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
18330   if (!SWIG_IsOK(res1
)) { 
18331     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetSelectionForeground" "', expected argument " "1"" of type '" "wxGrid const *""'");  
18333   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
18335     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18336     result 
= ((wxGrid 
const *)arg1
)->GetSelectionForeground(); 
18337     wxPyEndAllowThreads(__tstate
); 
18338     if (PyErr_Occurred()) SWIG_fail
; 
18340   resultobj 
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN 
|  0 ); 
18347 SWIGINTERN PyObject 
*_wrap_Grid_SetSelectionBackground(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18348   PyObject 
*resultobj 
= 0; 
18349   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
18350   wxColour 
*arg2 
= 0 ; 
18354   PyObject 
* obj0 
= 0 ; 
18355   PyObject 
* obj1 
= 0 ; 
18356   char *  kwnames
[] = { 
18357     (char *) "self",(char *) "c", NULL 
 
18360   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
18361   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
18362   if (!SWIG_IsOK(res1
)) { 
18363     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetSelectionBackground" "', expected argument " "1"" of type '" "wxGrid *""'");  
18365   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
18368     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
18371     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18372     (arg1
)->SetSelectionBackground((wxColour 
const &)*arg2
); 
18373     wxPyEndAllowThreads(__tstate
); 
18374     if (PyErr_Occurred()) SWIG_fail
; 
18376   resultobj 
= SWIG_Py_Void(); 
18383 SWIGINTERN PyObject 
*_wrap_Grid_SetSelectionForeground(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18384   PyObject 
*resultobj 
= 0; 
18385   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
18386   wxColour 
*arg2 
= 0 ; 
18390   PyObject 
* obj0 
= 0 ; 
18391   PyObject 
* obj1 
= 0 ; 
18392   char *  kwnames
[] = { 
18393     (char *) "self",(char *) "c", NULL 
 
18396   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
18397   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
18398   if (!SWIG_IsOK(res1
)) { 
18399     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetSelectionForeground" "', expected argument " "1"" of type '" "wxGrid *""'");  
18401   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
18404     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
18407     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18408     (arg1
)->SetSelectionForeground((wxColour 
const &)*arg2
); 
18409     wxPyEndAllowThreads(__tstate
); 
18410     if (PyErr_Occurred()) SWIG_fail
; 
18412   resultobj 
= SWIG_Py_Void(); 
18419 SWIGINTERN PyObject 
*_wrap_Grid_RegisterDataType(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18420   PyObject 
*resultobj 
= 0; 
18421   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
18422   wxString 
*arg2 
= 0 ; 
18423   wxGridCellRenderer 
*arg3 
= (wxGridCellRenderer 
*) 0 ; 
18424   wxGridCellEditor 
*arg4 
= (wxGridCellEditor 
*) 0 ; 
18427   bool temp2 
= false ; 
18432   PyObject 
* obj0 
= 0 ; 
18433   PyObject 
* obj1 
= 0 ; 
18434   PyObject 
* obj2 
= 0 ; 
18435   PyObject 
* obj3 
= 0 ; 
18436   char *  kwnames
[] = { 
18437     (char *) "self",(char *) "typeName",(char *) "renderer",(char *) "editor", NULL 
 
18440   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_RegisterDataType",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
18441   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
18442   if (!SWIG_IsOK(res1
)) { 
18443     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_RegisterDataType" "', expected argument " "1"" of type '" "wxGrid *""'");  
18445   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
18447     arg2 
= wxString_in_helper(obj1
); 
18448     if (arg2 
== NULL
) SWIG_fail
; 
18451   res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGridCellRenderer
, 0 |  0 ); 
18452   if (!SWIG_IsOK(res3
)) { 
18453     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Grid_RegisterDataType" "', expected argument " "3"" of type '" "wxGridCellRenderer *""'");  
18455   arg3 
= reinterpret_cast< wxGridCellRenderer 
* >(argp3
); 
18456   res4 
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxGridCellEditor
, 0 |  0 ); 
18457   if (!SWIG_IsOK(res4
)) { 
18458     SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Grid_RegisterDataType" "', expected argument " "4"" of type '" "wxGridCellEditor *""'");  
18460   arg4 
= reinterpret_cast< wxGridCellEditor 
* >(argp4
); 
18462     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18463     (arg1
)->RegisterDataType((wxString 
const &)*arg2
,arg3
,arg4
); 
18464     wxPyEndAllowThreads(__tstate
); 
18465     if (PyErr_Occurred()) SWIG_fail
; 
18467   resultobj 
= SWIG_Py_Void(); 
18482 SWIGINTERN PyObject 
*_wrap_Grid_GetDefaultEditorForCell(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18483   PyObject 
*resultobj 
= 0; 
18484   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
18487   wxGridCellEditor 
*result 
= 0 ; 
18494   PyObject 
* obj0 
= 0 ; 
18495   PyObject 
* obj1 
= 0 ; 
18496   PyObject 
* obj2 
= 0 ; 
18497   char *  kwnames
[] = { 
18498     (char *) "self",(char *) "row",(char *) "col", NULL 
 
18501   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetDefaultEditorForCell",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
18502   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
18503   if (!SWIG_IsOK(res1
)) { 
18504     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultEditorForCell" "', expected argument " "1"" of type '" "wxGrid const *""'");  
18506   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
18507   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
18508   if (!SWIG_IsOK(ecode2
)) { 
18509     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetDefaultEditorForCell" "', expected argument " "2"" of type '" "int""'"); 
18511   arg2 
= static_cast< int >(val2
); 
18512   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
18513   if (!SWIG_IsOK(ecode3
)) { 
18514     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetDefaultEditorForCell" "', expected argument " "3"" of type '" "int""'"); 
18516   arg3 
= static_cast< int >(val3
); 
18518     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18519     result 
= (wxGridCellEditor 
*)((wxGrid 
const *)arg1
)->GetDefaultEditorForCell(arg2
,arg3
); 
18520     wxPyEndAllowThreads(__tstate
); 
18521     if (PyErr_Occurred()) SWIG_fail
; 
18524     resultobj 
= wxPyMake_wxGridCellEditor(result
,   (bool)0);  
18532 SWIGINTERN PyObject 
*_wrap_Grid_GetDefaultRendererForCell(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18533   PyObject 
*resultobj 
= 0; 
18534   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
18537   wxGridCellRenderer 
*result 
= 0 ; 
18544   PyObject 
* obj0 
= 0 ; 
18545   PyObject 
* obj1 
= 0 ; 
18546   PyObject 
* obj2 
= 0 ; 
18547   char *  kwnames
[] = { 
18548     (char *) "self",(char *) "row",(char *) "col", NULL 
 
18551   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetDefaultRendererForCell",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
18552   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
18553   if (!SWIG_IsOK(res1
)) { 
18554     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultRendererForCell" "', expected argument " "1"" of type '" "wxGrid const *""'");  
18556   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
18557   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
18558   if (!SWIG_IsOK(ecode2
)) { 
18559     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetDefaultRendererForCell" "', expected argument " "2"" of type '" "int""'"); 
18561   arg2 
= static_cast< int >(val2
); 
18562   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
18563   if (!SWIG_IsOK(ecode3
)) { 
18564     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetDefaultRendererForCell" "', expected argument " "3"" of type '" "int""'"); 
18566   arg3 
= static_cast< int >(val3
); 
18568     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18569     result 
= (wxGridCellRenderer 
*)((wxGrid 
const *)arg1
)->GetDefaultRendererForCell(arg2
,arg3
); 
18570     wxPyEndAllowThreads(__tstate
); 
18571     if (PyErr_Occurred()) SWIG_fail
; 
18574     resultobj 
= wxPyMake_wxGridCellRenderer(result
, (bool)0);  
18582 SWIGINTERN PyObject 
*_wrap_Grid_GetDefaultEditorForType(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18583   PyObject 
*resultobj 
= 0; 
18584   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
18585   wxString 
*arg2 
= 0 ; 
18586   wxGridCellEditor 
*result 
= 0 ; 
18589   bool temp2 
= false ; 
18590   PyObject 
* obj0 
= 0 ; 
18591   PyObject 
* obj1 
= 0 ; 
18592   char *  kwnames
[] = { 
18593     (char *) "self",(char *) "typeName", NULL 
 
18596   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetDefaultEditorForType",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
18597   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
18598   if (!SWIG_IsOK(res1
)) { 
18599     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultEditorForType" "', expected argument " "1"" of type '" "wxGrid const *""'");  
18601   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
18603     arg2 
= wxString_in_helper(obj1
); 
18604     if (arg2 
== NULL
) SWIG_fail
; 
18608     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18609     result 
= (wxGridCellEditor 
*)((wxGrid 
const *)arg1
)->GetDefaultEditorForType((wxString 
const &)*arg2
); 
18610     wxPyEndAllowThreads(__tstate
); 
18611     if (PyErr_Occurred()) SWIG_fail
; 
18614     resultobj 
= wxPyMake_wxGridCellEditor(result
,   (bool)0);  
18630 SWIGINTERN PyObject 
*_wrap_Grid_GetDefaultRendererForType(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18631   PyObject 
*resultobj 
= 0; 
18632   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
18633   wxString 
*arg2 
= 0 ; 
18634   wxGridCellRenderer 
*result 
= 0 ; 
18637   bool temp2 
= false ; 
18638   PyObject 
* obj0 
= 0 ; 
18639   PyObject 
* obj1 
= 0 ; 
18640   char *  kwnames
[] = { 
18641     (char *) "self",(char *) "typeName", NULL 
 
18644   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetDefaultRendererForType",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
18645   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
18646   if (!SWIG_IsOK(res1
)) { 
18647     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultRendererForType" "', expected argument " "1"" of type '" "wxGrid const *""'");  
18649   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
18651     arg2 
= wxString_in_helper(obj1
); 
18652     if (arg2 
== NULL
) SWIG_fail
; 
18656     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18657     result 
= (wxGridCellRenderer 
*)((wxGrid 
const *)arg1
)->GetDefaultRendererForType((wxString 
const &)*arg2
); 
18658     wxPyEndAllowThreads(__tstate
); 
18659     if (PyErr_Occurred()) SWIG_fail
; 
18662     resultobj 
= wxPyMake_wxGridCellRenderer(result
, (bool)0);  
18678 SWIGINTERN PyObject 
*_wrap_Grid_SetMargins(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18679   PyObject 
*resultobj 
= 0; 
18680   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
18689   PyObject 
* obj0 
= 0 ; 
18690   PyObject 
* obj1 
= 0 ; 
18691   PyObject 
* obj2 
= 0 ; 
18692   char *  kwnames
[] = { 
18693     (char *) "self",(char *) "extraWidth",(char *) "extraHeight", NULL 
 
18696   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
18697   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
18698   if (!SWIG_IsOK(res1
)) { 
18699     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetMargins" "', expected argument " "1"" of type '" "wxGrid *""'");  
18701   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
18702   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
18703   if (!SWIG_IsOK(ecode2
)) { 
18704     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetMargins" "', expected argument " "2"" of type '" "int""'"); 
18706   arg2 
= static_cast< int >(val2
); 
18707   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
18708   if (!SWIG_IsOK(ecode3
)) { 
18709     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetMargins" "', expected argument " "3"" of type '" "int""'"); 
18711   arg3 
= static_cast< int >(val3
); 
18713     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18714     (arg1
)->SetMargins(arg2
,arg3
); 
18715     wxPyEndAllowThreads(__tstate
); 
18716     if (PyErr_Occurred()) SWIG_fail
; 
18718   resultobj 
= SWIG_Py_Void(); 
18725 SWIGINTERN PyObject 
*_wrap_Grid_GetGridWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18726   PyObject 
*resultobj 
= 0; 
18727   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
18728   wxWindow 
*result 
= 0 ; 
18731   PyObject 
*swig_obj
[1] ; 
18733   if (!args
) SWIG_fail
; 
18734   swig_obj
[0] = args
; 
18735   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
18736   if (!SWIG_IsOK(res1
)) { 
18737     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetGridWindow" "', expected argument " "1"" of type '" "wxGrid *""'");  
18739   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
18741     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18742     result 
= (wxWindow 
*)(arg1
)->GetGridWindow(); 
18743     wxPyEndAllowThreads(__tstate
); 
18744     if (PyErr_Occurred()) SWIG_fail
; 
18747     resultobj 
= wxPyMake_wxObject(result
, 0);  
18755 SWIGINTERN PyObject 
*_wrap_Grid_GetGridRowLabelWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18756   PyObject 
*resultobj 
= 0; 
18757   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
18758   wxWindow 
*result 
= 0 ; 
18761   PyObject 
*swig_obj
[1] ; 
18763   if (!args
) SWIG_fail
; 
18764   swig_obj
[0] = args
; 
18765   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
18766   if (!SWIG_IsOK(res1
)) { 
18767     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetGridRowLabelWindow" "', expected argument " "1"" of type '" "wxGrid *""'");  
18769   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
18771     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18772     result 
= (wxWindow 
*)(arg1
)->GetGridRowLabelWindow(); 
18773     wxPyEndAllowThreads(__tstate
); 
18774     if (PyErr_Occurred()) SWIG_fail
; 
18777     resultobj 
= wxPyMake_wxObject(result
, 0);  
18785 SWIGINTERN PyObject 
*_wrap_Grid_GetGridColLabelWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18786   PyObject 
*resultobj 
= 0; 
18787   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
18788   wxWindow 
*result 
= 0 ; 
18791   PyObject 
*swig_obj
[1] ; 
18793   if (!args
) SWIG_fail
; 
18794   swig_obj
[0] = args
; 
18795   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
18796   if (!SWIG_IsOK(res1
)) { 
18797     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetGridColLabelWindow" "', expected argument " "1"" of type '" "wxGrid *""'");  
18799   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
18801     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18802     result 
= (wxWindow 
*)(arg1
)->GetGridColLabelWindow(); 
18803     wxPyEndAllowThreads(__tstate
); 
18804     if (PyErr_Occurred()) SWIG_fail
; 
18807     resultobj 
= wxPyMake_wxObject(result
, 0);  
18815 SWIGINTERN PyObject 
*_wrap_Grid_GetGridCornerLabelWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18816   PyObject 
*resultobj 
= 0; 
18817   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
18818   wxWindow 
*result 
= 0 ; 
18821   PyObject 
*swig_obj
[1] ; 
18823   if (!args
) SWIG_fail
; 
18824   swig_obj
[0] = args
; 
18825   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
18826   if (!SWIG_IsOK(res1
)) { 
18827     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetGridCornerLabelWindow" "', expected argument " "1"" of type '" "wxGrid *""'");  
18829   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
18831     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18832     result 
= (wxWindow 
*)(arg1
)->GetGridCornerLabelWindow(); 
18833     wxPyEndAllowThreads(__tstate
); 
18834     if (PyErr_Occurred()) SWIG_fail
; 
18837     resultobj 
= wxPyMake_wxObject(result
, 0);  
18845 SWIGINTERN PyObject 
*_wrap_Grid_SetScrollLineX(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18846   PyObject 
*resultobj 
= 0; 
18847   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
18853   PyObject 
* obj0 
= 0 ; 
18854   PyObject 
* obj1 
= 0 ; 
18855   char *  kwnames
[] = { 
18856     (char *) "self",(char *) "x", NULL 
 
18859   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetScrollLineX",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
18860   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
18861   if (!SWIG_IsOK(res1
)) { 
18862     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetScrollLineX" "', expected argument " "1"" of type '" "wxGrid *""'");  
18864   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
18865   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
18866   if (!SWIG_IsOK(ecode2
)) { 
18867     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetScrollLineX" "', expected argument " "2"" of type '" "int""'"); 
18869   arg2 
= static_cast< int >(val2
); 
18871     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18872     (arg1
)->SetScrollLineX(arg2
); 
18873     wxPyEndAllowThreads(__tstate
); 
18874     if (PyErr_Occurred()) SWIG_fail
; 
18876   resultobj 
= SWIG_Py_Void(); 
18883 SWIGINTERN PyObject 
*_wrap_Grid_SetScrollLineY(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18884   PyObject 
*resultobj 
= 0; 
18885   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
18891   PyObject 
* obj0 
= 0 ; 
18892   PyObject 
* obj1 
= 0 ; 
18893   char *  kwnames
[] = { 
18894     (char *) "self",(char *) "y", NULL 
 
18897   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetScrollLineY",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
18898   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
18899   if (!SWIG_IsOK(res1
)) { 
18900     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetScrollLineY" "', expected argument " "1"" of type '" "wxGrid *""'");  
18902   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
18903   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
18904   if (!SWIG_IsOK(ecode2
)) { 
18905     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetScrollLineY" "', expected argument " "2"" of type '" "int""'"); 
18907   arg2 
= static_cast< int >(val2
); 
18909     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18910     (arg1
)->SetScrollLineY(arg2
); 
18911     wxPyEndAllowThreads(__tstate
); 
18912     if (PyErr_Occurred()) SWIG_fail
; 
18914   resultobj 
= SWIG_Py_Void(); 
18921 SWIGINTERN PyObject 
*_wrap_Grid_GetScrollLineX(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18922   PyObject 
*resultobj 
= 0; 
18923   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
18927   PyObject 
*swig_obj
[1] ; 
18929   if (!args
) SWIG_fail
; 
18930   swig_obj
[0] = args
; 
18931   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
18932   if (!SWIG_IsOK(res1
)) { 
18933     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetScrollLineX" "', expected argument " "1"" of type '" "wxGrid const *""'");  
18935   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
18937     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18938     result 
= (int)((wxGrid 
const *)arg1
)->GetScrollLineX(); 
18939     wxPyEndAllowThreads(__tstate
); 
18940     if (PyErr_Occurred()) SWIG_fail
; 
18942   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
18949 SWIGINTERN PyObject 
*_wrap_Grid_GetScrollLineY(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18950   PyObject 
*resultobj 
= 0; 
18951   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
18955   PyObject 
*swig_obj
[1] ; 
18957   if (!args
) SWIG_fail
; 
18958   swig_obj
[0] = args
; 
18959   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
18960   if (!SWIG_IsOK(res1
)) { 
18961     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetScrollLineY" "', expected argument " "1"" of type '" "wxGrid const *""'");  
18963   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
18965     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18966     result 
= (int)((wxGrid 
const *)arg1
)->GetScrollLineY(); 
18967     wxPyEndAllowThreads(__tstate
); 
18968     if (PyErr_Occurred()) SWIG_fail
; 
18970   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
18977 SWIGINTERN PyObject 
*_wrap_Grid_GetScrollX(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18978   PyObject 
*resultobj 
= 0; 
18979   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
18986   PyObject 
* obj0 
= 0 ; 
18987   PyObject 
* obj1 
= 0 ; 
18988   char *  kwnames
[] = { 
18989     (char *) "self",(char *) "x", NULL 
 
18992   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetScrollX",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
18993   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
18994   if (!SWIG_IsOK(res1
)) { 
18995     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetScrollX" "', expected argument " "1"" of type '" "wxGrid const *""'");  
18997   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
18998   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
18999   if (!SWIG_IsOK(ecode2
)) { 
19000     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetScrollX" "', expected argument " "2"" of type '" "int""'"); 
19002   arg2 
= static_cast< int >(val2
); 
19004     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19005     result 
= (int)((wxGrid 
const *)arg1
)->GetScrollX(arg2
); 
19006     wxPyEndAllowThreads(__tstate
); 
19007     if (PyErr_Occurred()) SWIG_fail
; 
19009   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
19016 SWIGINTERN PyObject 
*_wrap_Grid_GetScrollY(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19017   PyObject 
*resultobj 
= 0; 
19018   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
19025   PyObject 
* obj0 
= 0 ; 
19026   PyObject 
* obj1 
= 0 ; 
19027   char *  kwnames
[] = { 
19028     (char *) "self",(char *) "y", NULL 
 
19031   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetScrollY",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
19032   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
19033   if (!SWIG_IsOK(res1
)) { 
19034     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetScrollY" "', expected argument " "1"" of type '" "wxGrid const *""'");  
19036   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
19037   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
19038   if (!SWIG_IsOK(ecode2
)) { 
19039     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetScrollY" "', expected argument " "2"" of type '" "int""'"); 
19041   arg2 
= static_cast< int >(val2
); 
19043     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19044     result 
= (int)((wxGrid 
const *)arg1
)->GetScrollY(arg2
); 
19045     wxPyEndAllowThreads(__tstate
); 
19046     if (PyErr_Occurred()) SWIG_fail
; 
19048   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
19055 SWIGINTERN PyObject 
*_wrap_Grid_GetClassDefaultAttributes(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19056   PyObject 
*resultobj 
= 0; 
19057   wxWindowVariant arg1 
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL 
; 
19058   SwigValueWrapper
<wxVisualAttributes 
> result
; 
19061   PyObject 
* obj0 
= 0 ; 
19062   char *  kwnames
[] = { 
19063     (char *) "variant", NULL 
 
19066   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Grid_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
; 
19068     ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
19069     if (!SWIG_IsOK(ecode1
)) { 
19070       SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Grid_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'"); 
19072     arg1 
= static_cast< wxWindowVariant 
>(val1
); 
19075     if (!wxPyCheckForApp()) SWIG_fail
; 
19076     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19077     result 
= wxGrid::GetClassDefaultAttributes(arg1
); 
19078     wxPyEndAllowThreads(__tstate
); 
19079     if (PyErr_Occurred()) SWIG_fail
; 
19081   resultobj 
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN 
|  0 ); 
19088 SWIGINTERN PyObject 
*Grid_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19090   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
19091   SWIG_TypeNewClientData(SWIGTYPE_p_wxGrid
, SWIG_NewClientData(obj
)); 
19092   return SWIG_Py_Void(); 
19095 SWIGINTERN PyObject 
*Grid_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19096   return SWIG_Python_InitShadowInstance(args
); 
19099 SWIGINTERN PyObject 
*_wrap_new_GridEvent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19100   PyObject 
*resultobj 
= 0; 
19103   wxGrid 
*arg3 
= (wxGrid 
*) 0 ; 
19104   int arg4 
= (int) -1 ; 
19105   int arg5 
= (int) -1 ; 
19106   int arg6 
= (int) -1 ; 
19107   int arg7 
= (int) -1 ; 
19108   bool arg8 
= (bool) true ; 
19109   bool arg9 
= (bool) false ; 
19110   bool arg10 
= (bool) false ; 
19111   bool arg11 
= (bool) false ; 
19112   bool arg12 
= (bool) false ; 
19113   wxGridEvent 
*result 
= 0 ; 
19138   PyObject 
* obj0 
= 0 ; 
19139   PyObject 
* obj1 
= 0 ; 
19140   PyObject 
* obj2 
= 0 ; 
19141   PyObject 
* obj3 
= 0 ; 
19142   PyObject 
* obj4 
= 0 ; 
19143   PyObject 
* obj5 
= 0 ; 
19144   PyObject 
* obj6 
= 0 ; 
19145   PyObject 
* obj7 
= 0 ; 
19146   PyObject 
* obj8 
= 0 ; 
19147   PyObject 
* obj9 
= 0 ; 
19148   PyObject 
* obj10 
= 0 ; 
19149   PyObject 
* obj11 
= 0 ; 
19150   char *  kwnames
[] = { 
19151     (char *) "id",(char *) "type",(char *) "obj",(char *) "row",(char *) "col",(char *) "x",(char *) "y",(char *) "sel",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL 
 
19154   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOOOO:new_GridEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
,&obj11
)) SWIG_fail
; 
19155   ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
19156   if (!SWIG_IsOK(ecode1
)) { 
19157     SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridEvent" "', expected argument " "1"" of type '" "int""'"); 
19159   arg1 
= static_cast< int >(val1
); 
19160   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
19161   if (!SWIG_IsOK(ecode2
)) { 
19162     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridEvent" "', expected argument " "2"" of type '" "wxEventType""'"); 
19164   arg2 
= static_cast< wxEventType 
>(val2
); 
19165   res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
19166   if (!SWIG_IsOK(res3
)) { 
19167     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_GridEvent" "', expected argument " "3"" of type '" "wxGrid *""'");  
19169   arg3 
= reinterpret_cast< wxGrid 
* >(argp3
); 
19171     ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
19172     if (!SWIG_IsOK(ecode4
)) { 
19173       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_GridEvent" "', expected argument " "4"" of type '" "int""'"); 
19175     arg4 
= static_cast< int >(val4
); 
19178     ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
19179     if (!SWIG_IsOK(ecode5
)) { 
19180       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_GridEvent" "', expected argument " "5"" of type '" "int""'"); 
19182     arg5 
= static_cast< int >(val5
); 
19185     ecode6 
= SWIG_AsVal_int(obj5
, &val6
); 
19186     if (!SWIG_IsOK(ecode6
)) { 
19187       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GridEvent" "', expected argument " "6"" of type '" "int""'"); 
19189     arg6 
= static_cast< int >(val6
); 
19192     ecode7 
= SWIG_AsVal_int(obj6
, &val7
); 
19193     if (!SWIG_IsOK(ecode7
)) { 
19194       SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_GridEvent" "', expected argument " "7"" of type '" "int""'"); 
19196     arg7 
= static_cast< int >(val7
); 
19199     ecode8 
= SWIG_AsVal_bool(obj7
, &val8
); 
19200     if (!SWIG_IsOK(ecode8
)) { 
19201       SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GridEvent" "', expected argument " "8"" of type '" "bool""'"); 
19203     arg8 
= static_cast< bool >(val8
); 
19206     ecode9 
= SWIG_AsVal_bool(obj8
, &val9
); 
19207     if (!SWIG_IsOK(ecode9
)) { 
19208       SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_GridEvent" "', expected argument " "9"" of type '" "bool""'"); 
19210     arg9 
= static_cast< bool >(val9
); 
19213     ecode10 
= SWIG_AsVal_bool(obj9
, &val10
); 
19214     if (!SWIG_IsOK(ecode10
)) { 
19215       SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "new_GridEvent" "', expected argument " "10"" of type '" "bool""'"); 
19217     arg10 
= static_cast< bool >(val10
); 
19220     ecode11 
= SWIG_AsVal_bool(obj10
, &val11
); 
19221     if (!SWIG_IsOK(ecode11
)) { 
19222       SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "new_GridEvent" "', expected argument " "11"" of type '" "bool""'"); 
19224     arg11 
= static_cast< bool >(val11
); 
19227     ecode12 
= SWIG_AsVal_bool(obj11
, &val12
); 
19228     if (!SWIG_IsOK(ecode12
)) { 
19229       SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "new_GridEvent" "', expected argument " "12"" of type '" "bool""'"); 
19231     arg12 
= static_cast< bool >(val12
); 
19234     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19235     result 
= (wxGridEvent 
*)new wxGridEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
); 
19236     wxPyEndAllowThreads(__tstate
); 
19237     if (PyErr_Occurred()) SWIG_fail
; 
19239   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridEvent
, SWIG_POINTER_NEW 
|  0 ); 
19246 SWIGINTERN PyObject 
*_wrap_GridEvent_GetRow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19247   PyObject 
*resultobj 
= 0; 
19248   wxGridEvent 
*arg1 
= (wxGridEvent 
*) 0 ; 
19252   PyObject 
*swig_obj
[1] ; 
19254   if (!args
) SWIG_fail
; 
19255   swig_obj
[0] = args
; 
19256   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 |  0 ); 
19257   if (!SWIG_IsOK(res1
)) { 
19258     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_GetRow" "', expected argument " "1"" of type '" "wxGridEvent *""'");  
19260   arg1 
= reinterpret_cast< wxGridEvent 
* >(argp1
); 
19262     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19263     result 
= (int)(arg1
)->GetRow(); 
19264     wxPyEndAllowThreads(__tstate
); 
19265     if (PyErr_Occurred()) SWIG_fail
; 
19267   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
19274 SWIGINTERN PyObject 
*_wrap_GridEvent_GetCol(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19275   PyObject 
*resultobj 
= 0; 
19276   wxGridEvent 
*arg1 
= (wxGridEvent 
*) 0 ; 
19280   PyObject 
*swig_obj
[1] ; 
19282   if (!args
) SWIG_fail
; 
19283   swig_obj
[0] = args
; 
19284   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 |  0 ); 
19285   if (!SWIG_IsOK(res1
)) { 
19286     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_GetCol" "', expected argument " "1"" of type '" "wxGridEvent *""'");  
19288   arg1 
= reinterpret_cast< wxGridEvent 
* >(argp1
); 
19290     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19291     result 
= (int)(arg1
)->GetCol(); 
19292     wxPyEndAllowThreads(__tstate
); 
19293     if (PyErr_Occurred()) SWIG_fail
; 
19295   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
19302 SWIGINTERN PyObject 
*_wrap_GridEvent_GetPosition(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19303   PyObject 
*resultobj 
= 0; 
19304   wxGridEvent 
*arg1 
= (wxGridEvent 
*) 0 ; 
19308   PyObject 
*swig_obj
[1] ; 
19310   if (!args
) SWIG_fail
; 
19311   swig_obj
[0] = args
; 
19312   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 |  0 ); 
19313   if (!SWIG_IsOK(res1
)) { 
19314     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_GetPosition" "', expected argument " "1"" of type '" "wxGridEvent *""'");  
19316   arg1 
= reinterpret_cast< wxGridEvent 
* >(argp1
); 
19318     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19319     result 
= (arg1
)->GetPosition(); 
19320     wxPyEndAllowThreads(__tstate
); 
19321     if (PyErr_Occurred()) SWIG_fail
; 
19323   resultobj 
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN 
|  0 ); 
19330 SWIGINTERN PyObject 
*_wrap_GridEvent_Selecting(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19331   PyObject 
*resultobj 
= 0; 
19332   wxGridEvent 
*arg1 
= (wxGridEvent 
*) 0 ; 
19336   PyObject 
*swig_obj
[1] ; 
19338   if (!args
) SWIG_fail
; 
19339   swig_obj
[0] = args
; 
19340   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 |  0 ); 
19341   if (!SWIG_IsOK(res1
)) { 
19342     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_Selecting" "', expected argument " "1"" of type '" "wxGridEvent *""'");  
19344   arg1 
= reinterpret_cast< wxGridEvent 
* >(argp1
); 
19346     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19347     result 
= (bool)(arg1
)->Selecting(); 
19348     wxPyEndAllowThreads(__tstate
); 
19349     if (PyErr_Occurred()) SWIG_fail
; 
19352     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19360 SWIGINTERN PyObject 
*_wrap_GridEvent_ControlDown(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19361   PyObject 
*resultobj 
= 0; 
19362   wxGridEvent 
*arg1 
= (wxGridEvent 
*) 0 ; 
19366   PyObject 
*swig_obj
[1] ; 
19368   if (!args
) SWIG_fail
; 
19369   swig_obj
[0] = args
; 
19370   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 |  0 ); 
19371   if (!SWIG_IsOK(res1
)) { 
19372     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_ControlDown" "', expected argument " "1"" of type '" "wxGridEvent *""'");  
19374   arg1 
= reinterpret_cast< wxGridEvent 
* >(argp1
); 
19376     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19377     result 
= (bool)(arg1
)->ControlDown(); 
19378     wxPyEndAllowThreads(__tstate
); 
19379     if (PyErr_Occurred()) SWIG_fail
; 
19382     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19390 SWIGINTERN PyObject 
*_wrap_GridEvent_MetaDown(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19391   PyObject 
*resultobj 
= 0; 
19392   wxGridEvent 
*arg1 
= (wxGridEvent 
*) 0 ; 
19396   PyObject 
*swig_obj
[1] ; 
19398   if (!args
) SWIG_fail
; 
19399   swig_obj
[0] = args
; 
19400   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 |  0 ); 
19401   if (!SWIG_IsOK(res1
)) { 
19402     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_MetaDown" "', expected argument " "1"" of type '" "wxGridEvent *""'");  
19404   arg1 
= reinterpret_cast< wxGridEvent 
* >(argp1
); 
19406     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19407     result 
= (bool)(arg1
)->MetaDown(); 
19408     wxPyEndAllowThreads(__tstate
); 
19409     if (PyErr_Occurred()) SWIG_fail
; 
19412     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19420 SWIGINTERN PyObject 
*_wrap_GridEvent_ShiftDown(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19421   PyObject 
*resultobj 
= 0; 
19422   wxGridEvent 
*arg1 
= (wxGridEvent 
*) 0 ; 
19426   PyObject 
*swig_obj
[1] ; 
19428   if (!args
) SWIG_fail
; 
19429   swig_obj
[0] = args
; 
19430   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 |  0 ); 
19431   if (!SWIG_IsOK(res1
)) { 
19432     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_ShiftDown" "', expected argument " "1"" of type '" "wxGridEvent *""'");  
19434   arg1 
= reinterpret_cast< wxGridEvent 
* >(argp1
); 
19436     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19437     result 
= (bool)(arg1
)->ShiftDown(); 
19438     wxPyEndAllowThreads(__tstate
); 
19439     if (PyErr_Occurred()) SWIG_fail
; 
19442     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19450 SWIGINTERN PyObject 
*_wrap_GridEvent_AltDown(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19451   PyObject 
*resultobj 
= 0; 
19452   wxGridEvent 
*arg1 
= (wxGridEvent 
*) 0 ; 
19456   PyObject 
*swig_obj
[1] ; 
19458   if (!args
) SWIG_fail
; 
19459   swig_obj
[0] = args
; 
19460   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 |  0 ); 
19461   if (!SWIG_IsOK(res1
)) { 
19462     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_AltDown" "', expected argument " "1"" of type '" "wxGridEvent *""'");  
19464   arg1 
= reinterpret_cast< wxGridEvent 
* >(argp1
); 
19466     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19467     result 
= (bool)(arg1
)->AltDown(); 
19468     wxPyEndAllowThreads(__tstate
); 
19469     if (PyErr_Occurred()) SWIG_fail
; 
19472     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19480 SWIGINTERN PyObject 
*_wrap_GridEvent_CmdDown(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19481   PyObject 
*resultobj 
= 0; 
19482   wxGridEvent 
*arg1 
= (wxGridEvent 
*) 0 ; 
19486   PyObject 
*swig_obj
[1] ; 
19488   if (!args
) SWIG_fail
; 
19489   swig_obj
[0] = args
; 
19490   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 |  0 ); 
19491   if (!SWIG_IsOK(res1
)) { 
19492     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_CmdDown" "', expected argument " "1"" of type '" "wxGridEvent *""'");  
19494   arg1 
= reinterpret_cast< wxGridEvent 
* >(argp1
); 
19496     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19497     result 
= (bool)(arg1
)->CmdDown(); 
19498     wxPyEndAllowThreads(__tstate
); 
19499     if (PyErr_Occurred()) SWIG_fail
; 
19502     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19510 SWIGINTERN PyObject 
*GridEvent_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19512   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
19513   SWIG_TypeNewClientData(SWIGTYPE_p_wxGridEvent
, SWIG_NewClientData(obj
)); 
19514   return SWIG_Py_Void(); 
19517 SWIGINTERN PyObject 
*GridEvent_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19518   return SWIG_Python_InitShadowInstance(args
); 
19521 SWIGINTERN PyObject 
*_wrap_new_GridSizeEvent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19522   PyObject 
*resultobj 
= 0; 
19525   wxGrid 
*arg3 
= (wxGrid 
*) 0 ; 
19526   int arg4 
= (int) -1 ; 
19527   int arg5 
= (int) -1 ; 
19528   int arg6 
= (int) -1 ; 
19529   bool arg7 
= (bool) false ; 
19530   bool arg8 
= (bool) false ; 
19531   bool arg9 
= (bool) false ; 
19532   bool arg10 
= (bool) false ; 
19533   wxGridSizeEvent 
*result 
= 0 ; 
19554   PyObject 
* obj0 
= 0 ; 
19555   PyObject 
* obj1 
= 0 ; 
19556   PyObject 
* obj2 
= 0 ; 
19557   PyObject 
* obj3 
= 0 ; 
19558   PyObject 
* obj4 
= 0 ; 
19559   PyObject 
* obj5 
= 0 ; 
19560   PyObject 
* obj6 
= 0 ; 
19561   PyObject 
* obj7 
= 0 ; 
19562   PyObject 
* obj8 
= 0 ; 
19563   PyObject 
* obj9 
= 0 ; 
19564   char *  kwnames
[] = { 
19565     (char *) "id",(char *) "type",(char *) "obj",(char *) "rowOrCol",(char *) "x",(char *) "y",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL 
 
19568   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_GridSizeEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
; 
19569   ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
19570   if (!SWIG_IsOK(ecode1
)) { 
19571     SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridSizeEvent" "', expected argument " "1"" of type '" "int""'"); 
19573   arg1 
= static_cast< int >(val1
); 
19574   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
19575   if (!SWIG_IsOK(ecode2
)) { 
19576     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridSizeEvent" "', expected argument " "2"" of type '" "wxEventType""'"); 
19578   arg2 
= static_cast< wxEventType 
>(val2
); 
19579   res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
19580   if (!SWIG_IsOK(res3
)) { 
19581     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_GridSizeEvent" "', expected argument " "3"" of type '" "wxGrid *""'");  
19583   arg3 
= reinterpret_cast< wxGrid 
* >(argp3
); 
19585     ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
19586     if (!SWIG_IsOK(ecode4
)) { 
19587       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_GridSizeEvent" "', expected argument " "4"" of type '" "int""'"); 
19589     arg4 
= static_cast< int >(val4
); 
19592     ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
19593     if (!SWIG_IsOK(ecode5
)) { 
19594       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_GridSizeEvent" "', expected argument " "5"" of type '" "int""'"); 
19596     arg5 
= static_cast< int >(val5
); 
19599     ecode6 
= SWIG_AsVal_int(obj5
, &val6
); 
19600     if (!SWIG_IsOK(ecode6
)) { 
19601       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GridSizeEvent" "', expected argument " "6"" of type '" "int""'"); 
19603     arg6 
= static_cast< int >(val6
); 
19606     ecode7 
= SWIG_AsVal_bool(obj6
, &val7
); 
19607     if (!SWIG_IsOK(ecode7
)) { 
19608       SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_GridSizeEvent" "', expected argument " "7"" of type '" "bool""'"); 
19610     arg7 
= static_cast< bool >(val7
); 
19613     ecode8 
= SWIG_AsVal_bool(obj7
, &val8
); 
19614     if (!SWIG_IsOK(ecode8
)) { 
19615       SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GridSizeEvent" "', expected argument " "8"" of type '" "bool""'"); 
19617     arg8 
= static_cast< bool >(val8
); 
19620     ecode9 
= SWIG_AsVal_bool(obj8
, &val9
); 
19621     if (!SWIG_IsOK(ecode9
)) { 
19622       SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_GridSizeEvent" "', expected argument " "9"" of type '" "bool""'"); 
19624     arg9 
= static_cast< bool >(val9
); 
19627     ecode10 
= SWIG_AsVal_bool(obj9
, &val10
); 
19628     if (!SWIG_IsOK(ecode10
)) { 
19629       SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "new_GridSizeEvent" "', expected argument " "10"" of type '" "bool""'"); 
19631     arg10 
= static_cast< bool >(val10
); 
19634     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19635     result 
= (wxGridSizeEvent 
*)new wxGridSizeEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
); 
19636     wxPyEndAllowThreads(__tstate
); 
19637     if (PyErr_Occurred()) SWIG_fail
; 
19639   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridSizeEvent
, SWIG_POINTER_NEW 
|  0 ); 
19646 SWIGINTERN PyObject 
*_wrap_GridSizeEvent_GetRowOrCol(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19647   PyObject 
*resultobj 
= 0; 
19648   wxGridSizeEvent 
*arg1 
= (wxGridSizeEvent 
*) 0 ; 
19652   PyObject 
*swig_obj
[1] ; 
19654   if (!args
) SWIG_fail
; 
19655   swig_obj
[0] = args
; 
19656   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizeEvent
, 0 |  0 ); 
19657   if (!SWIG_IsOK(res1
)) { 
19658     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizeEvent_GetRowOrCol" "', expected argument " "1"" of type '" "wxGridSizeEvent *""'");  
19660   arg1 
= reinterpret_cast< wxGridSizeEvent 
* >(argp1
); 
19662     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19663     result 
= (int)(arg1
)->GetRowOrCol(); 
19664     wxPyEndAllowThreads(__tstate
); 
19665     if (PyErr_Occurred()) SWIG_fail
; 
19667   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
19674 SWIGINTERN PyObject 
*_wrap_GridSizeEvent_GetPosition(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19675   PyObject 
*resultobj 
= 0; 
19676   wxGridSizeEvent 
*arg1 
= (wxGridSizeEvent 
*) 0 ; 
19680   PyObject 
*swig_obj
[1] ; 
19682   if (!args
) SWIG_fail
; 
19683   swig_obj
[0] = args
; 
19684   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizeEvent
, 0 |  0 ); 
19685   if (!SWIG_IsOK(res1
)) { 
19686     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizeEvent_GetPosition" "', expected argument " "1"" of type '" "wxGridSizeEvent *""'");  
19688   arg1 
= reinterpret_cast< wxGridSizeEvent 
* >(argp1
); 
19690     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19691     result 
= (arg1
)->GetPosition(); 
19692     wxPyEndAllowThreads(__tstate
); 
19693     if (PyErr_Occurred()) SWIG_fail
; 
19695   resultobj 
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN 
|  0 ); 
19702 SWIGINTERN PyObject 
*_wrap_GridSizeEvent_ControlDown(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19703   PyObject 
*resultobj 
= 0; 
19704   wxGridSizeEvent 
*arg1 
= (wxGridSizeEvent 
*) 0 ; 
19708   PyObject 
*swig_obj
[1] ; 
19710   if (!args
) SWIG_fail
; 
19711   swig_obj
[0] = args
; 
19712   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizeEvent
, 0 |  0 ); 
19713   if (!SWIG_IsOK(res1
)) { 
19714     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizeEvent_ControlDown" "', expected argument " "1"" of type '" "wxGridSizeEvent *""'");  
19716   arg1 
= reinterpret_cast< wxGridSizeEvent 
* >(argp1
); 
19718     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19719     result 
= (bool)(arg1
)->ControlDown(); 
19720     wxPyEndAllowThreads(__tstate
); 
19721     if (PyErr_Occurred()) SWIG_fail
; 
19724     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19732 SWIGINTERN PyObject 
*_wrap_GridSizeEvent_MetaDown(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19733   PyObject 
*resultobj 
= 0; 
19734   wxGridSizeEvent 
*arg1 
= (wxGridSizeEvent 
*) 0 ; 
19738   PyObject 
*swig_obj
[1] ; 
19740   if (!args
) SWIG_fail
; 
19741   swig_obj
[0] = args
; 
19742   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizeEvent
, 0 |  0 ); 
19743   if (!SWIG_IsOK(res1
)) { 
19744     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizeEvent_MetaDown" "', expected argument " "1"" of type '" "wxGridSizeEvent *""'");  
19746   arg1 
= reinterpret_cast< wxGridSizeEvent 
* >(argp1
); 
19748     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19749     result 
= (bool)(arg1
)->MetaDown(); 
19750     wxPyEndAllowThreads(__tstate
); 
19751     if (PyErr_Occurred()) SWIG_fail
; 
19754     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19762 SWIGINTERN PyObject 
*_wrap_GridSizeEvent_ShiftDown(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19763   PyObject 
*resultobj 
= 0; 
19764   wxGridSizeEvent 
*arg1 
= (wxGridSizeEvent 
*) 0 ; 
19768   PyObject 
*swig_obj
[1] ; 
19770   if (!args
) SWIG_fail
; 
19771   swig_obj
[0] = args
; 
19772   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizeEvent
, 0 |  0 ); 
19773   if (!SWIG_IsOK(res1
)) { 
19774     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizeEvent_ShiftDown" "', expected argument " "1"" of type '" "wxGridSizeEvent *""'");  
19776   arg1 
= reinterpret_cast< wxGridSizeEvent 
* >(argp1
); 
19778     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19779     result 
= (bool)(arg1
)->ShiftDown(); 
19780     wxPyEndAllowThreads(__tstate
); 
19781     if (PyErr_Occurred()) SWIG_fail
; 
19784     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19792 SWIGINTERN PyObject 
*_wrap_GridSizeEvent_AltDown(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19793   PyObject 
*resultobj 
= 0; 
19794   wxGridSizeEvent 
*arg1 
= (wxGridSizeEvent 
*) 0 ; 
19798   PyObject 
*swig_obj
[1] ; 
19800   if (!args
) SWIG_fail
; 
19801   swig_obj
[0] = args
; 
19802   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizeEvent
, 0 |  0 ); 
19803   if (!SWIG_IsOK(res1
)) { 
19804     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizeEvent_AltDown" "', expected argument " "1"" of type '" "wxGridSizeEvent *""'");  
19806   arg1 
= reinterpret_cast< wxGridSizeEvent 
* >(argp1
); 
19808     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19809     result 
= (bool)(arg1
)->AltDown(); 
19810     wxPyEndAllowThreads(__tstate
); 
19811     if (PyErr_Occurred()) SWIG_fail
; 
19814     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19822 SWIGINTERN PyObject 
*_wrap_GridSizeEvent_CmdDown(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19823   PyObject 
*resultobj 
= 0; 
19824   wxGridSizeEvent 
*arg1 
= (wxGridSizeEvent 
*) 0 ; 
19828   PyObject 
*swig_obj
[1] ; 
19830   if (!args
) SWIG_fail
; 
19831   swig_obj
[0] = args
; 
19832   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizeEvent
, 0 |  0 ); 
19833   if (!SWIG_IsOK(res1
)) { 
19834     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizeEvent_CmdDown" "', expected argument " "1"" of type '" "wxGridSizeEvent *""'");  
19836   arg1 
= reinterpret_cast< wxGridSizeEvent 
* >(argp1
); 
19838     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19839     result 
= (bool)(arg1
)->CmdDown(); 
19840     wxPyEndAllowThreads(__tstate
); 
19841     if (PyErr_Occurred()) SWIG_fail
; 
19844     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19852 SWIGINTERN PyObject 
*GridSizeEvent_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19854   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
19855   SWIG_TypeNewClientData(SWIGTYPE_p_wxGridSizeEvent
, SWIG_NewClientData(obj
)); 
19856   return SWIG_Py_Void(); 
19859 SWIGINTERN PyObject 
*GridSizeEvent_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19860   return SWIG_Python_InitShadowInstance(args
); 
19863 SWIGINTERN PyObject 
*_wrap_new_GridRangeSelectEvent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19864   PyObject 
*resultobj 
= 0; 
19867   wxGrid 
*arg3 
= (wxGrid 
*) 0 ; 
19868   wxGridCellCoords 
*arg4 
= 0 ; 
19869   wxGridCellCoords 
*arg5 
= 0 ; 
19870   bool arg6 
= (bool) true ; 
19871   bool arg7 
= (bool) false ; 
19872   bool arg8 
= (bool) false ; 
19873   bool arg9 
= (bool) false ; 
19874   bool arg10 
= (bool) false ; 
19875   wxGridRangeSelectEvent 
*result 
= 0 ; 
19882   wxGridCellCoords temp4 
; 
19883   wxGridCellCoords temp5 
; 
19894   PyObject 
* obj0 
= 0 ; 
19895   PyObject 
* obj1 
= 0 ; 
19896   PyObject 
* obj2 
= 0 ; 
19897   PyObject 
* obj3 
= 0 ; 
19898   PyObject 
* obj4 
= 0 ; 
19899   PyObject 
* obj5 
= 0 ; 
19900   PyObject 
* obj6 
= 0 ; 
19901   PyObject 
* obj7 
= 0 ; 
19902   PyObject 
* obj8 
= 0 ; 
19903   PyObject 
* obj9 
= 0 ; 
19904   char *  kwnames
[] = { 
19905     (char *) "id",(char *) "type",(char *) "obj",(char *) "topLeft",(char *) "bottomRight",(char *) "sel",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL 
 
19908   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_GridRangeSelectEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
; 
19909   ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
19910   if (!SWIG_IsOK(ecode1
)) { 
19911     SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridRangeSelectEvent" "', expected argument " "1"" of type '" "int""'"); 
19913   arg1 
= static_cast< int >(val1
); 
19914   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
19915   if (!SWIG_IsOK(ecode2
)) { 
19916     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridRangeSelectEvent" "', expected argument " "2"" of type '" "wxEventType""'"); 
19918   arg2 
= static_cast< wxEventType 
>(val2
); 
19919   res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
19920   if (!SWIG_IsOK(res3
)) { 
19921     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_GridRangeSelectEvent" "', expected argument " "3"" of type '" "wxGrid *""'");  
19923   arg3 
= reinterpret_cast< wxGrid 
* >(argp3
); 
19926     if (! wxGridCellCoords_helper(obj3
, &arg4
)) SWIG_fail
; 
19930     if (! wxGridCellCoords_helper(obj4
, &arg5
)) SWIG_fail
; 
19933     ecode6 
= SWIG_AsVal_bool(obj5
, &val6
); 
19934     if (!SWIG_IsOK(ecode6
)) { 
19935       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GridRangeSelectEvent" "', expected argument " "6"" of type '" "bool""'"); 
19937     arg6 
= static_cast< bool >(val6
); 
19940     ecode7 
= SWIG_AsVal_bool(obj6
, &val7
); 
19941     if (!SWIG_IsOK(ecode7
)) { 
19942       SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_GridRangeSelectEvent" "', expected argument " "7"" of type '" "bool""'"); 
19944     arg7 
= static_cast< bool >(val7
); 
19947     ecode8 
= SWIG_AsVal_bool(obj7
, &val8
); 
19948     if (!SWIG_IsOK(ecode8
)) { 
19949       SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GridRangeSelectEvent" "', expected argument " "8"" of type '" "bool""'"); 
19951     arg8 
= static_cast< bool >(val8
); 
19954     ecode9 
= SWIG_AsVal_bool(obj8
, &val9
); 
19955     if (!SWIG_IsOK(ecode9
)) { 
19956       SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_GridRangeSelectEvent" "', expected argument " "9"" of type '" "bool""'"); 
19958     arg9 
= static_cast< bool >(val9
); 
19961     ecode10 
= SWIG_AsVal_bool(obj9
, &val10
); 
19962     if (!SWIG_IsOK(ecode10
)) { 
19963       SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "new_GridRangeSelectEvent" "', expected argument " "10"" of type '" "bool""'"); 
19965     arg10 
= static_cast< bool >(val10
); 
19968     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19969     result 
= (wxGridRangeSelectEvent 
*)new wxGridRangeSelectEvent(arg1
,arg2
,arg3
,(wxGridCellCoords 
const &)*arg4
,(wxGridCellCoords 
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,arg10
); 
19970     wxPyEndAllowThreads(__tstate
); 
19971     if (PyErr_Occurred()) SWIG_fail
; 
19973   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_NEW 
|  0 ); 
19980 SWIGINTERN PyObject 
*_wrap_GridRangeSelectEvent_GetTopLeftCoords(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19981   PyObject 
*resultobj 
= 0; 
19982   wxGridRangeSelectEvent 
*arg1 
= (wxGridRangeSelectEvent 
*) 0 ; 
19983   wxGridCellCoords result
; 
19986   PyObject 
*swig_obj
[1] ; 
19988   if (!args
) SWIG_fail
; 
19989   swig_obj
[0] = args
; 
19990   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 |  0 ); 
19991   if (!SWIG_IsOK(res1
)) { 
19992     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_GetTopLeftCoords" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");  
19994   arg1 
= reinterpret_cast< wxGridRangeSelectEvent 
* >(argp1
); 
19996     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19997     result 
= (arg1
)->GetTopLeftCoords(); 
19998     wxPyEndAllowThreads(__tstate
); 
19999     if (PyErr_Occurred()) SWIG_fail
; 
20001   resultobj 
= SWIG_NewPointerObj((new wxGridCellCoords(static_cast< const wxGridCellCoords
& >(result
))), SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_OWN 
|  0 ); 
20008 SWIGINTERN PyObject 
*_wrap_GridRangeSelectEvent_GetBottomRightCoords(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20009   PyObject 
*resultobj 
= 0; 
20010   wxGridRangeSelectEvent 
*arg1 
= (wxGridRangeSelectEvent 
*) 0 ; 
20011   wxGridCellCoords result
; 
20014   PyObject 
*swig_obj
[1] ; 
20016   if (!args
) SWIG_fail
; 
20017   swig_obj
[0] = args
; 
20018   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 |  0 ); 
20019   if (!SWIG_IsOK(res1
)) { 
20020     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_GetBottomRightCoords" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");  
20022   arg1 
= reinterpret_cast< wxGridRangeSelectEvent 
* >(argp1
); 
20024     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20025     result 
= (arg1
)->GetBottomRightCoords(); 
20026     wxPyEndAllowThreads(__tstate
); 
20027     if (PyErr_Occurred()) SWIG_fail
; 
20029   resultobj 
= SWIG_NewPointerObj((new wxGridCellCoords(static_cast< const wxGridCellCoords
& >(result
))), SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_OWN 
|  0 ); 
20036 SWIGINTERN PyObject 
*_wrap_GridRangeSelectEvent_GetTopRow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20037   PyObject 
*resultobj 
= 0; 
20038   wxGridRangeSelectEvent 
*arg1 
= (wxGridRangeSelectEvent 
*) 0 ; 
20042   PyObject 
*swig_obj
[1] ; 
20044   if (!args
) SWIG_fail
; 
20045   swig_obj
[0] = args
; 
20046   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 |  0 ); 
20047   if (!SWIG_IsOK(res1
)) { 
20048     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_GetTopRow" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");  
20050   arg1 
= reinterpret_cast< wxGridRangeSelectEvent 
* >(argp1
); 
20052     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20053     result 
= (int)(arg1
)->GetTopRow(); 
20054     wxPyEndAllowThreads(__tstate
); 
20055     if (PyErr_Occurred()) SWIG_fail
; 
20057   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
20064 SWIGINTERN PyObject 
*_wrap_GridRangeSelectEvent_GetBottomRow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20065   PyObject 
*resultobj 
= 0; 
20066   wxGridRangeSelectEvent 
*arg1 
= (wxGridRangeSelectEvent 
*) 0 ; 
20070   PyObject 
*swig_obj
[1] ; 
20072   if (!args
) SWIG_fail
; 
20073   swig_obj
[0] = args
; 
20074   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 |  0 ); 
20075   if (!SWIG_IsOK(res1
)) { 
20076     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_GetBottomRow" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");  
20078   arg1 
= reinterpret_cast< wxGridRangeSelectEvent 
* >(argp1
); 
20080     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20081     result 
= (int)(arg1
)->GetBottomRow(); 
20082     wxPyEndAllowThreads(__tstate
); 
20083     if (PyErr_Occurred()) SWIG_fail
; 
20085   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
20092 SWIGINTERN PyObject 
*_wrap_GridRangeSelectEvent_GetLeftCol(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20093   PyObject 
*resultobj 
= 0; 
20094   wxGridRangeSelectEvent 
*arg1 
= (wxGridRangeSelectEvent 
*) 0 ; 
20098   PyObject 
*swig_obj
[1] ; 
20100   if (!args
) SWIG_fail
; 
20101   swig_obj
[0] = args
; 
20102   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 |  0 ); 
20103   if (!SWIG_IsOK(res1
)) { 
20104     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_GetLeftCol" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");  
20106   arg1 
= reinterpret_cast< wxGridRangeSelectEvent 
* >(argp1
); 
20108     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20109     result 
= (int)(arg1
)->GetLeftCol(); 
20110     wxPyEndAllowThreads(__tstate
); 
20111     if (PyErr_Occurred()) SWIG_fail
; 
20113   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
20120 SWIGINTERN PyObject 
*_wrap_GridRangeSelectEvent_GetRightCol(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20121   PyObject 
*resultobj 
= 0; 
20122   wxGridRangeSelectEvent 
*arg1 
= (wxGridRangeSelectEvent 
*) 0 ; 
20126   PyObject 
*swig_obj
[1] ; 
20128   if (!args
) SWIG_fail
; 
20129   swig_obj
[0] = args
; 
20130   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 |  0 ); 
20131   if (!SWIG_IsOK(res1
)) { 
20132     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_GetRightCol" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");  
20134   arg1 
= reinterpret_cast< wxGridRangeSelectEvent 
* >(argp1
); 
20136     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20137     result 
= (int)(arg1
)->GetRightCol(); 
20138     wxPyEndAllowThreads(__tstate
); 
20139     if (PyErr_Occurred()) SWIG_fail
; 
20141   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
20148 SWIGINTERN PyObject 
*_wrap_GridRangeSelectEvent_Selecting(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20149   PyObject 
*resultobj 
= 0; 
20150   wxGridRangeSelectEvent 
*arg1 
= (wxGridRangeSelectEvent 
*) 0 ; 
20154   PyObject 
*swig_obj
[1] ; 
20156   if (!args
) SWIG_fail
; 
20157   swig_obj
[0] = args
; 
20158   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 |  0 ); 
20159   if (!SWIG_IsOK(res1
)) { 
20160     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_Selecting" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");  
20162   arg1 
= reinterpret_cast< wxGridRangeSelectEvent 
* >(argp1
); 
20164     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20165     result 
= (bool)(arg1
)->Selecting(); 
20166     wxPyEndAllowThreads(__tstate
); 
20167     if (PyErr_Occurred()) SWIG_fail
; 
20170     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20178 SWIGINTERN PyObject 
*_wrap_GridRangeSelectEvent_ControlDown(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20179   PyObject 
*resultobj 
= 0; 
20180   wxGridRangeSelectEvent 
*arg1 
= (wxGridRangeSelectEvent 
*) 0 ; 
20184   PyObject 
*swig_obj
[1] ; 
20186   if (!args
) SWIG_fail
; 
20187   swig_obj
[0] = args
; 
20188   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 |  0 ); 
20189   if (!SWIG_IsOK(res1
)) { 
20190     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_ControlDown" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");  
20192   arg1 
= reinterpret_cast< wxGridRangeSelectEvent 
* >(argp1
); 
20194     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20195     result 
= (bool)(arg1
)->ControlDown(); 
20196     wxPyEndAllowThreads(__tstate
); 
20197     if (PyErr_Occurred()) SWIG_fail
; 
20200     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20208 SWIGINTERN PyObject 
*_wrap_GridRangeSelectEvent_MetaDown(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20209   PyObject 
*resultobj 
= 0; 
20210   wxGridRangeSelectEvent 
*arg1 
= (wxGridRangeSelectEvent 
*) 0 ; 
20214   PyObject 
*swig_obj
[1] ; 
20216   if (!args
) SWIG_fail
; 
20217   swig_obj
[0] = args
; 
20218   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 |  0 ); 
20219   if (!SWIG_IsOK(res1
)) { 
20220     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_MetaDown" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");  
20222   arg1 
= reinterpret_cast< wxGridRangeSelectEvent 
* >(argp1
); 
20224     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20225     result 
= (bool)(arg1
)->MetaDown(); 
20226     wxPyEndAllowThreads(__tstate
); 
20227     if (PyErr_Occurred()) SWIG_fail
; 
20230     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20238 SWIGINTERN PyObject 
*_wrap_GridRangeSelectEvent_ShiftDown(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20239   PyObject 
*resultobj 
= 0; 
20240   wxGridRangeSelectEvent 
*arg1 
= (wxGridRangeSelectEvent 
*) 0 ; 
20244   PyObject 
*swig_obj
[1] ; 
20246   if (!args
) SWIG_fail
; 
20247   swig_obj
[0] = args
; 
20248   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 |  0 ); 
20249   if (!SWIG_IsOK(res1
)) { 
20250     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_ShiftDown" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");  
20252   arg1 
= reinterpret_cast< wxGridRangeSelectEvent 
* >(argp1
); 
20254     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20255     result 
= (bool)(arg1
)->ShiftDown(); 
20256     wxPyEndAllowThreads(__tstate
); 
20257     if (PyErr_Occurred()) SWIG_fail
; 
20260     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20268 SWIGINTERN PyObject 
*_wrap_GridRangeSelectEvent_AltDown(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20269   PyObject 
*resultobj 
= 0; 
20270   wxGridRangeSelectEvent 
*arg1 
= (wxGridRangeSelectEvent 
*) 0 ; 
20274   PyObject 
*swig_obj
[1] ; 
20276   if (!args
) SWIG_fail
; 
20277   swig_obj
[0] = args
; 
20278   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 |  0 ); 
20279   if (!SWIG_IsOK(res1
)) { 
20280     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_AltDown" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");  
20282   arg1 
= reinterpret_cast< wxGridRangeSelectEvent 
* >(argp1
); 
20284     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20285     result 
= (bool)(arg1
)->AltDown(); 
20286     wxPyEndAllowThreads(__tstate
); 
20287     if (PyErr_Occurred()) SWIG_fail
; 
20290     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20298 SWIGINTERN PyObject 
*_wrap_GridRangeSelectEvent_CmdDown(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20299   PyObject 
*resultobj 
= 0; 
20300   wxGridRangeSelectEvent 
*arg1 
= (wxGridRangeSelectEvent 
*) 0 ; 
20304   PyObject 
*swig_obj
[1] ; 
20306   if (!args
) SWIG_fail
; 
20307   swig_obj
[0] = args
; 
20308   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 |  0 ); 
20309   if (!SWIG_IsOK(res1
)) { 
20310     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_CmdDown" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");  
20312   arg1 
= reinterpret_cast< wxGridRangeSelectEvent 
* >(argp1
); 
20314     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20315     result 
= (bool)(arg1
)->CmdDown(); 
20316     wxPyEndAllowThreads(__tstate
); 
20317     if (PyErr_Occurred()) SWIG_fail
; 
20320     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20328 SWIGINTERN PyObject 
*GridRangeSelectEvent_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20330   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
20331   SWIG_TypeNewClientData(SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_NewClientData(obj
)); 
20332   return SWIG_Py_Void(); 
20335 SWIGINTERN PyObject 
*GridRangeSelectEvent_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20336   return SWIG_Python_InitShadowInstance(args
); 
20339 SWIGINTERN PyObject 
*_wrap_new_GridEditorCreatedEvent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
20340   PyObject 
*resultobj 
= 0; 
20343   wxObject 
*arg3 
= (wxObject 
*) 0 ; 
20346   wxControl 
*arg6 
= (wxControl 
*) 0 ; 
20347   wxGridEditorCreatedEvent 
*result 
= 0 ; 
20360   PyObject 
* obj0 
= 0 ; 
20361   PyObject 
* obj1 
= 0 ; 
20362   PyObject 
* obj2 
= 0 ; 
20363   PyObject 
* obj3 
= 0 ; 
20364   PyObject 
* obj4 
= 0 ; 
20365   PyObject 
* obj5 
= 0 ; 
20366   char *  kwnames
[] = { 
20367     (char *) "id",(char *) "type",(char *) "obj",(char *) "row",(char *) "col",(char *) "ctrl", NULL 
 
20370   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GridEditorCreatedEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
20371   ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
20372   if (!SWIG_IsOK(ecode1
)) { 
20373     SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridEditorCreatedEvent" "', expected argument " "1"" of type '" "int""'"); 
20375   arg1 
= static_cast< int >(val1
); 
20376   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
20377   if (!SWIG_IsOK(ecode2
)) { 
20378     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridEditorCreatedEvent" "', expected argument " "2"" of type '" "wxEventType""'"); 
20380   arg2 
= static_cast< wxEventType 
>(val2
); 
20381   res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxObject
, 0 |  0 ); 
20382   if (!SWIG_IsOK(res3
)) { 
20383     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_GridEditorCreatedEvent" "', expected argument " "3"" of type '" "wxObject *""'");  
20385   arg3 
= reinterpret_cast< wxObject 
* >(argp3
); 
20386   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
20387   if (!SWIG_IsOK(ecode4
)) { 
20388     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_GridEditorCreatedEvent" "', expected argument " "4"" of type '" "int""'"); 
20390   arg4 
= static_cast< int >(val4
); 
20391   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
20392   if (!SWIG_IsOK(ecode5
)) { 
20393     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_GridEditorCreatedEvent" "', expected argument " "5"" of type '" "int""'"); 
20395   arg5 
= static_cast< int >(val5
); 
20396   res6 
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxControl
, 0 |  0 ); 
20397   if (!SWIG_IsOK(res6
)) { 
20398     SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_GridEditorCreatedEvent" "', expected argument " "6"" of type '" "wxControl *""'");  
20400   arg6 
= reinterpret_cast< wxControl 
* >(argp6
); 
20402     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20403     result 
= (wxGridEditorCreatedEvent 
*)new wxGridEditorCreatedEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
); 
20404     wxPyEndAllowThreads(__tstate
); 
20405     if (PyErr_Occurred()) SWIG_fail
; 
20407   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridEditorCreatedEvent
, SWIG_POINTER_NEW 
|  0 ); 
20414 SWIGINTERN PyObject 
*_wrap_GridEditorCreatedEvent_GetRow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20415   PyObject 
*resultobj 
= 0; 
20416   wxGridEditorCreatedEvent 
*arg1 
= (wxGridEditorCreatedEvent 
*) 0 ; 
20420   PyObject 
*swig_obj
[1] ; 
20422   if (!args
) SWIG_fail
; 
20423   swig_obj
[0] = args
; 
20424   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEditorCreatedEvent
, 0 |  0 ); 
20425   if (!SWIG_IsOK(res1
)) { 
20426     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEditorCreatedEvent_GetRow" "', expected argument " "1"" of type '" "wxGridEditorCreatedEvent *""'");  
20428   arg1 
= reinterpret_cast< wxGridEditorCreatedEvent 
* >(argp1
); 
20430     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20431     result 
= (int)(arg1
)->GetRow(); 
20432     wxPyEndAllowThreads(__tstate
); 
20433     if (PyErr_Occurred()) SWIG_fail
; 
20435   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
20442 SWIGINTERN PyObject 
*_wrap_GridEditorCreatedEvent_GetCol(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20443   PyObject 
*resultobj 
= 0; 
20444   wxGridEditorCreatedEvent 
*arg1 
= (wxGridEditorCreatedEvent 
*) 0 ; 
20448   PyObject 
*swig_obj
[1] ; 
20450   if (!args
) SWIG_fail
; 
20451   swig_obj
[0] = args
; 
20452   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEditorCreatedEvent
, 0 |  0 ); 
20453   if (!SWIG_IsOK(res1
)) { 
20454     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEditorCreatedEvent_GetCol" "', expected argument " "1"" of type '" "wxGridEditorCreatedEvent *""'");  
20456   arg1 
= reinterpret_cast< wxGridEditorCreatedEvent 
* >(argp1
); 
20458     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20459     result 
= (int)(arg1
)->GetCol(); 
20460     wxPyEndAllowThreads(__tstate
); 
20461     if (PyErr_Occurred()) SWIG_fail
; 
20463   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
20470 SWIGINTERN PyObject 
*_wrap_GridEditorCreatedEvent_GetControl(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20471   PyObject 
*resultobj 
= 0; 
20472   wxGridEditorCreatedEvent 
*arg1 
= (wxGridEditorCreatedEvent 
*) 0 ; 
20473   wxControl 
*result 
= 0 ; 
20476   PyObject 
*swig_obj
[1] ; 
20478   if (!args
) SWIG_fail
; 
20479   swig_obj
[0] = args
; 
20480   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEditorCreatedEvent
, 0 |  0 ); 
20481   if (!SWIG_IsOK(res1
)) { 
20482     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEditorCreatedEvent_GetControl" "', expected argument " "1"" of type '" "wxGridEditorCreatedEvent *""'");  
20484   arg1 
= reinterpret_cast< wxGridEditorCreatedEvent 
* >(argp1
); 
20486     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20487     result 
= (wxControl 
*)(arg1
)->GetControl(); 
20488     wxPyEndAllowThreads(__tstate
); 
20489     if (PyErr_Occurred()) SWIG_fail
; 
20492     resultobj 
= wxPyMake_wxObject(result
, 0);  
20500 SWIGINTERN PyObject 
*_wrap_GridEditorCreatedEvent_SetRow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
20501   PyObject 
*resultobj 
= 0; 
20502   wxGridEditorCreatedEvent 
*arg1 
= (wxGridEditorCreatedEvent 
*) 0 ; 
20508   PyObject 
* obj0 
= 0 ; 
20509   PyObject 
* obj1 
= 0 ; 
20510   char *  kwnames
[] = { 
20511     (char *) "self",(char *) "row", NULL 
 
20514   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
20515   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridEditorCreatedEvent
, 0 |  0 ); 
20516   if (!SWIG_IsOK(res1
)) { 
20517     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEditorCreatedEvent_SetRow" "', expected argument " "1"" of type '" "wxGridEditorCreatedEvent *""'");  
20519   arg1 
= reinterpret_cast< wxGridEditorCreatedEvent 
* >(argp1
); 
20520   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
20521   if (!SWIG_IsOK(ecode2
)) { 
20522     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridEditorCreatedEvent_SetRow" "', expected argument " "2"" of type '" "int""'"); 
20524   arg2 
= static_cast< int >(val2
); 
20526     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20527     (arg1
)->SetRow(arg2
); 
20528     wxPyEndAllowThreads(__tstate
); 
20529     if (PyErr_Occurred()) SWIG_fail
; 
20531   resultobj 
= SWIG_Py_Void(); 
20538 SWIGINTERN PyObject 
*_wrap_GridEditorCreatedEvent_SetCol(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
20539   PyObject 
*resultobj 
= 0; 
20540   wxGridEditorCreatedEvent 
*arg1 
= (wxGridEditorCreatedEvent 
*) 0 ; 
20546   PyObject 
* obj0 
= 0 ; 
20547   PyObject 
* obj1 
= 0 ; 
20548   char *  kwnames
[] = { 
20549     (char *) "self",(char *) "col", NULL 
 
20552   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetCol",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
20553   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridEditorCreatedEvent
, 0 |  0 ); 
20554   if (!SWIG_IsOK(res1
)) { 
20555     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEditorCreatedEvent_SetCol" "', expected argument " "1"" of type '" "wxGridEditorCreatedEvent *""'");  
20557   arg1 
= reinterpret_cast< wxGridEditorCreatedEvent 
* >(argp1
); 
20558   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
20559   if (!SWIG_IsOK(ecode2
)) { 
20560     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridEditorCreatedEvent_SetCol" "', expected argument " "2"" of type '" "int""'"); 
20562   arg2 
= static_cast< int >(val2
); 
20564     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20565     (arg1
)->SetCol(arg2
); 
20566     wxPyEndAllowThreads(__tstate
); 
20567     if (PyErr_Occurred()) SWIG_fail
; 
20569   resultobj 
= SWIG_Py_Void(); 
20576 SWIGINTERN PyObject 
*_wrap_GridEditorCreatedEvent_SetControl(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
20577   PyObject 
*resultobj 
= 0; 
20578   wxGridEditorCreatedEvent 
*arg1 
= (wxGridEditorCreatedEvent 
*) 0 ; 
20579   wxControl 
*arg2 
= (wxControl 
*) 0 ; 
20584   PyObject 
* obj0 
= 0 ; 
20585   PyObject 
* obj1 
= 0 ; 
20586   char *  kwnames
[] = { 
20587     (char *) "self",(char *) "ctrl", NULL 
 
20590   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
20591   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridEditorCreatedEvent
, 0 |  0 ); 
20592   if (!SWIG_IsOK(res1
)) { 
20593     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEditorCreatedEvent_SetControl" "', expected argument " "1"" of type '" "wxGridEditorCreatedEvent *""'");  
20595   arg1 
= reinterpret_cast< wxGridEditorCreatedEvent 
* >(argp1
); 
20596   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 |  0 ); 
20597   if (!SWIG_IsOK(res2
)) { 
20598     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridEditorCreatedEvent_SetControl" "', expected argument " "2"" of type '" "wxControl *""'");  
20600   arg2 
= reinterpret_cast< wxControl 
* >(argp2
); 
20602     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20603     (arg1
)->SetControl(arg2
); 
20604     wxPyEndAllowThreads(__tstate
); 
20605     if (PyErr_Occurred()) SWIG_fail
; 
20607   resultobj 
= SWIG_Py_Void(); 
20614 SWIGINTERN PyObject 
*GridEditorCreatedEvent_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20616   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
20617   SWIG_TypeNewClientData(SWIGTYPE_p_wxGridEditorCreatedEvent
, SWIG_NewClientData(obj
)); 
20618   return SWIG_Py_Void(); 
20621 SWIGINTERN PyObject 
*GridEditorCreatedEvent_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20622   return SWIG_Python_InitShadowInstance(args
); 
20625 static PyMethodDef SwigMethods
[] = { 
20626          { (char *)"GridCellWorker__setOORInfo", (PyCFunction
) _wrap_GridCellWorker__setOORInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20627          { (char *)"delete_GridCellWorker", (PyCFunction
)_wrap_delete_GridCellWorker
, METH_O
, NULL
}, 
20628          { (char *)"GridCellWorker_SetParameters", (PyCFunction
) _wrap_GridCellWorker_SetParameters
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20629          { (char *)"GridCellWorker_IncRef", (PyCFunction
)_wrap_GridCellWorker_IncRef
, METH_O
, NULL
}, 
20630          { (char *)"GridCellWorker_DecRef", (PyCFunction
)_wrap_GridCellWorker_DecRef
, METH_O
, NULL
}, 
20631          { (char *)"GridCellWorker_swigregister", GridCellWorker_swigregister
, METH_VARARGS
, NULL
}, 
20632          { (char *)"GridCellRenderer_Draw", (PyCFunction
) _wrap_GridCellRenderer_Draw
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20633          { (char *)"GridCellRenderer_GetBestSize", (PyCFunction
) _wrap_GridCellRenderer_GetBestSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20634          { (char *)"GridCellRenderer_Clone", (PyCFunction
)_wrap_GridCellRenderer_Clone
, METH_O
, NULL
}, 
20635          { (char *)"GridCellRenderer_swigregister", GridCellRenderer_swigregister
, METH_VARARGS
, NULL
}, 
20636          { (char *)"new_PyGridCellRenderer", (PyCFunction
)_wrap_new_PyGridCellRenderer
, METH_NOARGS
, NULL
}, 
20637          { (char *)"PyGridCellRenderer__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellRenderer__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20638          { (char *)"PyGridCellRenderer_SetParameters", (PyCFunction
) _wrap_PyGridCellRenderer_SetParameters
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20639          { (char *)"PyGridCellRenderer_swigregister", PyGridCellRenderer_swigregister
, METH_VARARGS
, NULL
}, 
20640          { (char *)"PyGridCellRenderer_swiginit", PyGridCellRenderer_swiginit
, METH_VARARGS
, NULL
}, 
20641          { (char *)"new_GridCellStringRenderer", (PyCFunction
)_wrap_new_GridCellStringRenderer
, METH_NOARGS
, NULL
}, 
20642          { (char *)"GridCellStringRenderer_swigregister", GridCellStringRenderer_swigregister
, METH_VARARGS
, NULL
}, 
20643          { (char *)"GridCellStringRenderer_swiginit", GridCellStringRenderer_swiginit
, METH_VARARGS
, NULL
}, 
20644          { (char *)"new_GridCellNumberRenderer", (PyCFunction
)_wrap_new_GridCellNumberRenderer
, METH_NOARGS
, NULL
}, 
20645          { (char *)"GridCellNumberRenderer_swigregister", GridCellNumberRenderer_swigregister
, METH_VARARGS
, NULL
}, 
20646          { (char *)"GridCellNumberRenderer_swiginit", GridCellNumberRenderer_swiginit
, METH_VARARGS
, NULL
}, 
20647          { (char *)"new_GridCellFloatRenderer", (PyCFunction
) _wrap_new_GridCellFloatRenderer
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20648          { (char *)"GridCellFloatRenderer_GetWidth", (PyCFunction
)_wrap_GridCellFloatRenderer_GetWidth
, METH_O
, NULL
}, 
20649          { (char *)"GridCellFloatRenderer_SetWidth", (PyCFunction
) _wrap_GridCellFloatRenderer_SetWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20650          { (char *)"GridCellFloatRenderer_GetPrecision", (PyCFunction
)_wrap_GridCellFloatRenderer_GetPrecision
, METH_O
, NULL
}, 
20651          { (char *)"GridCellFloatRenderer_SetPrecision", (PyCFunction
) _wrap_GridCellFloatRenderer_SetPrecision
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20652          { (char *)"GridCellFloatRenderer_swigregister", GridCellFloatRenderer_swigregister
, METH_VARARGS
, NULL
}, 
20653          { (char *)"GridCellFloatRenderer_swiginit", GridCellFloatRenderer_swiginit
, METH_VARARGS
, NULL
}, 
20654          { (char *)"new_GridCellBoolRenderer", (PyCFunction
)_wrap_new_GridCellBoolRenderer
, METH_NOARGS
, NULL
}, 
20655          { (char *)"GridCellBoolRenderer_swigregister", GridCellBoolRenderer_swigregister
, METH_VARARGS
, NULL
}, 
20656          { (char *)"GridCellBoolRenderer_swiginit", GridCellBoolRenderer_swiginit
, METH_VARARGS
, NULL
}, 
20657          { (char *)"new_GridCellDateTimeRenderer", (PyCFunction
) _wrap_new_GridCellDateTimeRenderer
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20658          { (char *)"GridCellDateTimeRenderer_swigregister", GridCellDateTimeRenderer_swigregister
, METH_VARARGS
, NULL
}, 
20659          { (char *)"GridCellDateTimeRenderer_swiginit", GridCellDateTimeRenderer_swiginit
, METH_VARARGS
, NULL
}, 
20660          { (char *)"new_GridCellEnumRenderer", (PyCFunction
) _wrap_new_GridCellEnumRenderer
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20661          { (char *)"GridCellEnumRenderer_swigregister", GridCellEnumRenderer_swigregister
, METH_VARARGS
, NULL
}, 
20662          { (char *)"GridCellEnumRenderer_swiginit", GridCellEnumRenderer_swiginit
, METH_VARARGS
, NULL
}, 
20663          { (char *)"new_GridCellAutoWrapStringRenderer", (PyCFunction
)_wrap_new_GridCellAutoWrapStringRenderer
, METH_NOARGS
, NULL
}, 
20664          { (char *)"GridCellAutoWrapStringRenderer_swigregister", GridCellAutoWrapStringRenderer_swigregister
, METH_VARARGS
, NULL
}, 
20665          { (char *)"GridCellAutoWrapStringRenderer_swiginit", GridCellAutoWrapStringRenderer_swiginit
, METH_VARARGS
, NULL
}, 
20666          { (char *)"GridCellEditor_IsCreated", (PyCFunction
)_wrap_GridCellEditor_IsCreated
, METH_O
, NULL
}, 
20667          { (char *)"GridCellEditor_GetControl", (PyCFunction
)_wrap_GridCellEditor_GetControl
, METH_O
, NULL
}, 
20668          { (char *)"GridCellEditor_SetControl", (PyCFunction
) _wrap_GridCellEditor_SetControl
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20669          { (char *)"GridCellEditor_GetCellAttr", (PyCFunction
)_wrap_GridCellEditor_GetCellAttr
, METH_O
, NULL
}, 
20670          { (char *)"GridCellEditor_SetCellAttr", (PyCFunction
) _wrap_GridCellEditor_SetCellAttr
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20671          { (char *)"GridCellEditor_Create", (PyCFunction
) _wrap_GridCellEditor_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20672          { (char *)"GridCellEditor_BeginEdit", (PyCFunction
) _wrap_GridCellEditor_BeginEdit
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20673          { (char *)"GridCellEditor_EndEdit", (PyCFunction
) _wrap_GridCellEditor_EndEdit
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20674          { (char *)"GridCellEditor_Reset", (PyCFunction
)_wrap_GridCellEditor_Reset
, METH_O
, NULL
}, 
20675          { (char *)"GridCellEditor_Clone", (PyCFunction
)_wrap_GridCellEditor_Clone
, METH_O
, NULL
}, 
20676          { (char *)"GridCellEditor_SetSize", (PyCFunction
) _wrap_GridCellEditor_SetSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20677          { (char *)"GridCellEditor_Show", (PyCFunction
) _wrap_GridCellEditor_Show
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20678          { (char *)"GridCellEditor_PaintBackground", (PyCFunction
) _wrap_GridCellEditor_PaintBackground
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20679          { (char *)"GridCellEditor_IsAcceptedKey", (PyCFunction
) _wrap_GridCellEditor_IsAcceptedKey
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20680          { (char *)"GridCellEditor_StartingKey", (PyCFunction
) _wrap_GridCellEditor_StartingKey
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20681          { (char *)"GridCellEditor_StartingClick", (PyCFunction
)_wrap_GridCellEditor_StartingClick
, METH_O
, NULL
}, 
20682          { (char *)"GridCellEditor_HandleReturn", (PyCFunction
) _wrap_GridCellEditor_HandleReturn
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20683          { (char *)"GridCellEditor_Destroy", (PyCFunction
)_wrap_GridCellEditor_Destroy
, METH_O
, NULL
}, 
20684          { (char *)"GridCellEditor_swigregister", GridCellEditor_swigregister
, METH_VARARGS
, NULL
}, 
20685          { (char *)"new_PyGridCellEditor", (PyCFunction
)_wrap_new_PyGridCellEditor
, METH_NOARGS
, NULL
}, 
20686          { (char *)"PyGridCellEditor__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellEditor__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20687          { (char *)"PyGridCellEditor_SetParameters", (PyCFunction
) _wrap_PyGridCellEditor_SetParameters
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20688          { (char *)"PyGridCellEditor_swigregister", PyGridCellEditor_swigregister
, METH_VARARGS
, NULL
}, 
20689          { (char *)"PyGridCellEditor_swiginit", PyGridCellEditor_swiginit
, METH_VARARGS
, NULL
}, 
20690          { (char *)"new_GridCellTextEditor", (PyCFunction
)_wrap_new_GridCellTextEditor
, METH_NOARGS
, NULL
}, 
20691          { (char *)"GridCellTextEditor_GetValue", (PyCFunction
)_wrap_GridCellTextEditor_GetValue
, METH_O
, NULL
}, 
20692          { (char *)"GridCellTextEditor_swigregister", GridCellTextEditor_swigregister
, METH_VARARGS
, NULL
}, 
20693          { (char *)"GridCellTextEditor_swiginit", GridCellTextEditor_swiginit
, METH_VARARGS
, NULL
}, 
20694          { (char *)"new_GridCellNumberEditor", (PyCFunction
) _wrap_new_GridCellNumberEditor
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20695          { (char *)"GridCellNumberEditor_swigregister", GridCellNumberEditor_swigregister
, METH_VARARGS
, NULL
}, 
20696          { (char *)"GridCellNumberEditor_swiginit", GridCellNumberEditor_swiginit
, METH_VARARGS
, NULL
}, 
20697          { (char *)"new_GridCellFloatEditor", (PyCFunction
) _wrap_new_GridCellFloatEditor
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20698          { (char *)"GridCellFloatEditor_swigregister", GridCellFloatEditor_swigregister
, METH_VARARGS
, NULL
}, 
20699          { (char *)"GridCellFloatEditor_swiginit", GridCellFloatEditor_swiginit
, METH_VARARGS
, NULL
}, 
20700          { (char *)"new_GridCellBoolEditor", (PyCFunction
)_wrap_new_GridCellBoolEditor
, METH_NOARGS
, NULL
}, 
20701          { (char *)"GridCellBoolEditor_UseStringValues", (PyCFunction
) _wrap_GridCellBoolEditor_UseStringValues
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20702          { (char *)"GridCellBoolEditor_IsTrueValue", (PyCFunction
) _wrap_GridCellBoolEditor_IsTrueValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20703          { (char *)"GridCellBoolEditor_swigregister", GridCellBoolEditor_swigregister
, METH_VARARGS
, NULL
}, 
20704          { (char *)"GridCellBoolEditor_swiginit", GridCellBoolEditor_swiginit
, METH_VARARGS
, NULL
}, 
20705          { (char *)"new_GridCellChoiceEditor", (PyCFunction
) _wrap_new_GridCellChoiceEditor
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20706          { (char *)"GridCellChoiceEditor_swigregister", GridCellChoiceEditor_swigregister
, METH_VARARGS
, NULL
}, 
20707          { (char *)"GridCellChoiceEditor_swiginit", GridCellChoiceEditor_swiginit
, METH_VARARGS
, NULL
}, 
20708          { (char *)"new_GridCellEnumEditor", (PyCFunction
) _wrap_new_GridCellEnumEditor
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20709          { (char *)"GridCellEnumEditor_swigregister", GridCellEnumEditor_swigregister
, METH_VARARGS
, NULL
}, 
20710          { (char *)"GridCellEnumEditor_swiginit", GridCellEnumEditor_swiginit
, METH_VARARGS
, NULL
}, 
20711          { (char *)"new_GridCellAutoWrapStringEditor", (PyCFunction
)_wrap_new_GridCellAutoWrapStringEditor
, METH_NOARGS
, NULL
}, 
20712          { (char *)"GridCellAutoWrapStringEditor_swigregister", GridCellAutoWrapStringEditor_swigregister
, METH_VARARGS
, NULL
}, 
20713          { (char *)"GridCellAutoWrapStringEditor_swiginit", GridCellAutoWrapStringEditor_swiginit
, METH_VARARGS
, NULL
}, 
20714          { (char *)"GridCellAttr__setOORInfo", (PyCFunction
) _wrap_GridCellAttr__setOORInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20715          { (char *)"new_GridCellAttr", (PyCFunction
) _wrap_new_GridCellAttr
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20716          { (char *)"delete_GridCellAttr", (PyCFunction
)_wrap_delete_GridCellAttr
, METH_O
, NULL
}, 
20717          { (char *)"GridCellAttr_Clone", (PyCFunction
)_wrap_GridCellAttr_Clone
, METH_O
, NULL
}, 
20718          { (char *)"GridCellAttr_MergeWith", (PyCFunction
) _wrap_GridCellAttr_MergeWith
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20719          { (char *)"GridCellAttr_IncRef", (PyCFunction
)_wrap_GridCellAttr_IncRef
, METH_O
, NULL
}, 
20720          { (char *)"GridCellAttr_DecRef", (PyCFunction
)_wrap_GridCellAttr_DecRef
, METH_O
, NULL
}, 
20721          { (char *)"GridCellAttr_SetTextColour", (PyCFunction
) _wrap_GridCellAttr_SetTextColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20722          { (char *)"GridCellAttr_SetBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_SetBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20723          { (char *)"GridCellAttr_SetFont", (PyCFunction
) _wrap_GridCellAttr_SetFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20724          { (char *)"GridCellAttr_SetAlignment", (PyCFunction
) _wrap_GridCellAttr_SetAlignment
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20725          { (char *)"GridCellAttr_SetSize", (PyCFunction
) _wrap_GridCellAttr_SetSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20726          { (char *)"GridCellAttr_SetOverflow", (PyCFunction
) _wrap_GridCellAttr_SetOverflow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20727          { (char *)"GridCellAttr_SetReadOnly", (PyCFunction
) _wrap_GridCellAttr_SetReadOnly
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20728          { (char *)"GridCellAttr_SetRenderer", (PyCFunction
) _wrap_GridCellAttr_SetRenderer
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20729          { (char *)"GridCellAttr_SetEditor", (PyCFunction
) _wrap_GridCellAttr_SetEditor
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20730          { (char *)"GridCellAttr_SetKind", (PyCFunction
) _wrap_GridCellAttr_SetKind
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20731          { (char *)"GridCellAttr_HasTextColour", (PyCFunction
)_wrap_GridCellAttr_HasTextColour
, METH_O
, NULL
}, 
20732          { (char *)"GridCellAttr_HasBackgroundColour", (PyCFunction
)_wrap_GridCellAttr_HasBackgroundColour
, METH_O
, NULL
}, 
20733          { (char *)"GridCellAttr_HasFont", (PyCFunction
)_wrap_GridCellAttr_HasFont
, METH_O
, NULL
}, 
20734          { (char *)"GridCellAttr_HasAlignment", (PyCFunction
)_wrap_GridCellAttr_HasAlignment
, METH_O
, NULL
}, 
20735          { (char *)"GridCellAttr_HasRenderer", (PyCFunction
)_wrap_GridCellAttr_HasRenderer
, METH_O
, NULL
}, 
20736          { (char *)"GridCellAttr_HasEditor", (PyCFunction
)_wrap_GridCellAttr_HasEditor
, METH_O
, NULL
}, 
20737          { (char *)"GridCellAttr_HasReadWriteMode", (PyCFunction
)_wrap_GridCellAttr_HasReadWriteMode
, METH_O
, NULL
}, 
20738          { (char *)"GridCellAttr_HasOverflowMode", (PyCFunction
)_wrap_GridCellAttr_HasOverflowMode
, METH_O
, NULL
}, 
20739          { (char *)"GridCellAttr_GetTextColour", (PyCFunction
)_wrap_GridCellAttr_GetTextColour
, METH_O
, NULL
}, 
20740          { (char *)"GridCellAttr_GetBackgroundColour", (PyCFunction
)_wrap_GridCellAttr_GetBackgroundColour
, METH_O
, NULL
}, 
20741          { (char *)"GridCellAttr_GetFont", (PyCFunction
)_wrap_GridCellAttr_GetFont
, METH_O
, NULL
}, 
20742          { (char *)"GridCellAttr_GetAlignment", (PyCFunction
)_wrap_GridCellAttr_GetAlignment
, METH_O
, NULL
}, 
20743          { (char *)"GridCellAttr_GetSize", (PyCFunction
)_wrap_GridCellAttr_GetSize
, METH_O
, NULL
}, 
20744          { (char *)"GridCellAttr_GetOverflow", (PyCFunction
)_wrap_GridCellAttr_GetOverflow
, METH_O
, NULL
}, 
20745          { (char *)"GridCellAttr_GetRenderer", (PyCFunction
) _wrap_GridCellAttr_GetRenderer
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20746          { (char *)"GridCellAttr_GetEditor", (PyCFunction
) _wrap_GridCellAttr_GetEditor
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20747          { (char *)"GridCellAttr_IsReadOnly", (PyCFunction
)_wrap_GridCellAttr_IsReadOnly
, METH_O
, NULL
}, 
20748          { (char *)"GridCellAttr_GetKind", (PyCFunction
)_wrap_GridCellAttr_GetKind
, METH_O
, NULL
}, 
20749          { (char *)"GridCellAttr_SetDefAttr", (PyCFunction
) _wrap_GridCellAttr_SetDefAttr
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20750          { (char *)"GridCellAttr_swigregister", GridCellAttr_swigregister
, METH_VARARGS
, NULL
}, 
20751          { (char *)"GridCellAttr_swiginit", GridCellAttr_swiginit
, METH_VARARGS
, NULL
}, 
20752          { (char *)"new_GridCellAttrProvider", (PyCFunction
)_wrap_new_GridCellAttrProvider
, METH_NOARGS
, NULL
}, 
20753          { (char *)"GridCellAttrProvider__setOORInfo", (PyCFunction
) _wrap_GridCellAttrProvider__setOORInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20754          { (char *)"GridCellAttrProvider_GetAttr", (PyCFunction
) _wrap_GridCellAttrProvider_GetAttr
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20755          { (char *)"GridCellAttrProvider_SetAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetAttr
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20756          { (char *)"GridCellAttrProvider_SetRowAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetRowAttr
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20757          { (char *)"GridCellAttrProvider_SetColAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetColAttr
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20758          { (char *)"GridCellAttrProvider_UpdateAttrRows", (PyCFunction
) _wrap_GridCellAttrProvider_UpdateAttrRows
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20759          { (char *)"GridCellAttrProvider_UpdateAttrCols", (PyCFunction
) _wrap_GridCellAttrProvider_UpdateAttrCols
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20760          { (char *)"GridCellAttrProvider_swigregister", GridCellAttrProvider_swigregister
, METH_VARARGS
, NULL
}, 
20761          { (char *)"GridCellAttrProvider_swiginit", GridCellAttrProvider_swiginit
, METH_VARARGS
, NULL
}, 
20762          { (char *)"new_PyGridCellAttrProvider", (PyCFunction
)_wrap_new_PyGridCellAttrProvider
, METH_NOARGS
, NULL
}, 
20763          { (char *)"PyGridCellAttrProvider__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellAttrProvider__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20764          { (char *)"PyGridCellAttrProvider_GetAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_GetAttr
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20765          { (char *)"PyGridCellAttrProvider_SetAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_SetAttr
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20766          { (char *)"PyGridCellAttrProvider_SetRowAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_SetRowAttr
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20767          { (char *)"PyGridCellAttrProvider_SetColAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_SetColAttr
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20768          { (char *)"PyGridCellAttrProvider_swigregister", PyGridCellAttrProvider_swigregister
, METH_VARARGS
, NULL
}, 
20769          { (char *)"PyGridCellAttrProvider_swiginit", PyGridCellAttrProvider_swiginit
, METH_VARARGS
, NULL
}, 
20770          { (char *)"delete_GridTableBase", (PyCFunction
)_wrap_delete_GridTableBase
, METH_O
, NULL
}, 
20771          { (char *)"GridTableBase__setOORInfo", (PyCFunction
) _wrap_GridTableBase__setOORInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20772          { (char *)"GridTableBase_SetAttrProvider", (PyCFunction
) _wrap_GridTableBase_SetAttrProvider
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20773          { (char *)"GridTableBase_GetAttrProvider", (PyCFunction
)_wrap_GridTableBase_GetAttrProvider
, METH_O
, NULL
}, 
20774          { (char *)"GridTableBase_SetView", (PyCFunction
) _wrap_GridTableBase_SetView
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20775          { (char *)"GridTableBase_GetView", (PyCFunction
)_wrap_GridTableBase_GetView
, METH_O
, NULL
}, 
20776          { (char *)"GridTableBase_GetNumberRows", (PyCFunction
)_wrap_GridTableBase_GetNumberRows
, METH_O
, NULL
}, 
20777          { (char *)"GridTableBase_GetNumberCols", (PyCFunction
)_wrap_GridTableBase_GetNumberCols
, METH_O
, NULL
}, 
20778          { (char *)"GridTableBase_IsEmptyCell", (PyCFunction
) _wrap_GridTableBase_IsEmptyCell
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20779          { (char *)"GridTableBase_GetValue", (PyCFunction
) _wrap_GridTableBase_GetValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20780          { (char *)"GridTableBase_SetValue", (PyCFunction
) _wrap_GridTableBase_SetValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20781          { (char *)"GridTableBase_GetTypeName", (PyCFunction
) _wrap_GridTableBase_GetTypeName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20782          { (char *)"GridTableBase_CanGetValueAs", (PyCFunction
) _wrap_GridTableBase_CanGetValueAs
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20783          { (char *)"GridTableBase_CanSetValueAs", (PyCFunction
) _wrap_GridTableBase_CanSetValueAs
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20784          { (char *)"GridTableBase_GetValueAsLong", (PyCFunction
) _wrap_GridTableBase_GetValueAsLong
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20785          { (char *)"GridTableBase_GetValueAsDouble", (PyCFunction
) _wrap_GridTableBase_GetValueAsDouble
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20786          { (char *)"GridTableBase_GetValueAsBool", (PyCFunction
) _wrap_GridTableBase_GetValueAsBool
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20787          { (char *)"GridTableBase_SetValueAsLong", (PyCFunction
) _wrap_GridTableBase_SetValueAsLong
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20788          { (char *)"GridTableBase_SetValueAsDouble", (PyCFunction
) _wrap_GridTableBase_SetValueAsDouble
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20789          { (char *)"GridTableBase_SetValueAsBool", (PyCFunction
) _wrap_GridTableBase_SetValueAsBool
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20790          { (char *)"GridTableBase_Clear", (PyCFunction
)_wrap_GridTableBase_Clear
, METH_O
, NULL
}, 
20791          { (char *)"GridTableBase_InsertRows", (PyCFunction
) _wrap_GridTableBase_InsertRows
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20792          { (char *)"GridTableBase_AppendRows", (PyCFunction
) _wrap_GridTableBase_AppendRows
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20793          { (char *)"GridTableBase_DeleteRows", (PyCFunction
) _wrap_GridTableBase_DeleteRows
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20794          { (char *)"GridTableBase_InsertCols", (PyCFunction
) _wrap_GridTableBase_InsertCols
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20795          { (char *)"GridTableBase_AppendCols", (PyCFunction
) _wrap_GridTableBase_AppendCols
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20796          { (char *)"GridTableBase_DeleteCols", (PyCFunction
) _wrap_GridTableBase_DeleteCols
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20797          { (char *)"GridTableBase_GetRowLabelValue", (PyCFunction
) _wrap_GridTableBase_GetRowLabelValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20798          { (char *)"GridTableBase_GetColLabelValue", (PyCFunction
) _wrap_GridTableBase_GetColLabelValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20799          { (char *)"GridTableBase_SetRowLabelValue", (PyCFunction
) _wrap_GridTableBase_SetRowLabelValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20800          { (char *)"GridTableBase_SetColLabelValue", (PyCFunction
) _wrap_GridTableBase_SetColLabelValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20801          { (char *)"GridTableBase_CanHaveAttributes", (PyCFunction
)_wrap_GridTableBase_CanHaveAttributes
, METH_O
, NULL
}, 
20802          { (char *)"GridTableBase_GetAttr", (PyCFunction
) _wrap_GridTableBase_GetAttr
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20803          { (char *)"GridTableBase_SetAttr", (PyCFunction
) _wrap_GridTableBase_SetAttr
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20804          { (char *)"GridTableBase_SetRowAttr", (PyCFunction
) _wrap_GridTableBase_SetRowAttr
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20805          { (char *)"GridTableBase_SetColAttr", (PyCFunction
) _wrap_GridTableBase_SetColAttr
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20806          { (char *)"GridTableBase_swigregister", GridTableBase_swigregister
, METH_VARARGS
, NULL
}, 
20807          { (char *)"new_PyGridTableBase", (PyCFunction
)_wrap_new_PyGridTableBase
, METH_NOARGS
, NULL
}, 
20808          { (char *)"PyGridTableBase__setCallbackInfo", (PyCFunction
) _wrap_PyGridTableBase__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20809          { (char *)"PyGridTableBase_Destroy", (PyCFunction
)_wrap_PyGridTableBase_Destroy
, METH_O
, NULL
}, 
20810          { (char *)"PyGridTableBase_swigregister", PyGridTableBase_swigregister
, METH_VARARGS
, NULL
}, 
20811          { (char *)"PyGridTableBase_swiginit", PyGridTableBase_swiginit
, METH_VARARGS
, NULL
}, 
20812          { (char *)"new_GridStringTable", (PyCFunction
) _wrap_new_GridStringTable
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20813          { (char *)"GridStringTable_swigregister", GridStringTable_swigregister
, METH_VARARGS
, NULL
}, 
20814          { (char *)"GridStringTable_swiginit", GridStringTable_swiginit
, METH_VARARGS
, NULL
}, 
20815          { (char *)"new_GridTableMessage", (PyCFunction
) _wrap_new_GridTableMessage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20816          { (char *)"delete_GridTableMessage", (PyCFunction
)_wrap_delete_GridTableMessage
, METH_O
, NULL
}, 
20817          { (char *)"GridTableMessage_SetTableObject", (PyCFunction
) _wrap_GridTableMessage_SetTableObject
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20818          { (char *)"GridTableMessage_GetTableObject", (PyCFunction
)_wrap_GridTableMessage_GetTableObject
, METH_O
, NULL
}, 
20819          { (char *)"GridTableMessage_SetId", (PyCFunction
) _wrap_GridTableMessage_SetId
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20820          { (char *)"GridTableMessage_GetId", (PyCFunction
)_wrap_GridTableMessage_GetId
, METH_O
, NULL
}, 
20821          { (char *)"GridTableMessage_SetCommandInt", (PyCFunction
) _wrap_GridTableMessage_SetCommandInt
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20822          { (char *)"GridTableMessage_GetCommandInt", (PyCFunction
)_wrap_GridTableMessage_GetCommandInt
, METH_O
, NULL
}, 
20823          { (char *)"GridTableMessage_SetCommandInt2", (PyCFunction
) _wrap_GridTableMessage_SetCommandInt2
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20824          { (char *)"GridTableMessage_GetCommandInt2", (PyCFunction
)_wrap_GridTableMessage_GetCommandInt2
, METH_O
, NULL
}, 
20825          { (char *)"GridTableMessage_swigregister", GridTableMessage_swigregister
, METH_VARARGS
, NULL
}, 
20826          { (char *)"GridTableMessage_swiginit", GridTableMessage_swiginit
, METH_VARARGS
, NULL
}, 
20827          { (char *)"new_GridCellCoords", (PyCFunction
) _wrap_new_GridCellCoords
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20828          { (char *)"delete_GridCellCoords", (PyCFunction
)_wrap_delete_GridCellCoords
, METH_O
, NULL
}, 
20829          { (char *)"GridCellCoords_GetRow", (PyCFunction
)_wrap_GridCellCoords_GetRow
, METH_O
, NULL
}, 
20830          { (char *)"GridCellCoords_SetRow", (PyCFunction
) _wrap_GridCellCoords_SetRow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20831          { (char *)"GridCellCoords_GetCol", (PyCFunction
)_wrap_GridCellCoords_GetCol
, METH_O
, NULL
}, 
20832          { (char *)"GridCellCoords_SetCol", (PyCFunction
) _wrap_GridCellCoords_SetCol
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20833          { (char *)"GridCellCoords_Set", (PyCFunction
) _wrap_GridCellCoords_Set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20834          { (char *)"GridCellCoords___eq__", (PyCFunction
) _wrap_GridCellCoords___eq__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20835          { (char *)"GridCellCoords___ne__", (PyCFunction
) _wrap_GridCellCoords___ne__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20836          { (char *)"GridCellCoords_Get", (PyCFunction
)_wrap_GridCellCoords_Get
, METH_O
, NULL
}, 
20837          { (char *)"GridCellCoords_swigregister", GridCellCoords_swigregister
, METH_VARARGS
, NULL
}, 
20838          { (char *)"GridCellCoords_swiginit", GridCellCoords_swiginit
, METH_VARARGS
, NULL
}, 
20839          { (char *)"new_Grid", (PyCFunction
) _wrap_new_Grid
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20840          { (char *)"new_PreGrid", (PyCFunction
)_wrap_new_PreGrid
, METH_NOARGS
, NULL
}, 
20841          { (char *)"Grid_Create", (PyCFunction
) _wrap_Grid_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20842          { (char *)"Grid_CreateGrid", (PyCFunction
) _wrap_Grid_CreateGrid
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20843          { (char *)"Grid_SetSelectionMode", (PyCFunction
) _wrap_Grid_SetSelectionMode
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20844          { (char *)"Grid_GetSelectionMode", (PyCFunction
)_wrap_Grid_GetSelectionMode
, METH_O
, NULL
}, 
20845          { (char *)"Grid_GetNumberRows", (PyCFunction
)_wrap_Grid_GetNumberRows
, METH_O
, NULL
}, 
20846          { (char *)"Grid_GetNumberCols", (PyCFunction
)_wrap_Grid_GetNumberCols
, METH_O
, NULL
}, 
20847          { (char *)"Grid_ProcessTableMessage", (PyCFunction
) _wrap_Grid_ProcessTableMessage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20848          { (char *)"Grid_GetTable", (PyCFunction
)_wrap_Grid_GetTable
, METH_O
, NULL
}, 
20849          { (char *)"Grid_SetTable", (PyCFunction
) _wrap_Grid_SetTable
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20850          { (char *)"Grid_ClearGrid", (PyCFunction
)_wrap_Grid_ClearGrid
, METH_O
, NULL
}, 
20851          { (char *)"Grid_InsertRows", (PyCFunction
) _wrap_Grid_InsertRows
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20852          { (char *)"Grid_AppendRows", (PyCFunction
) _wrap_Grid_AppendRows
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20853          { (char *)"Grid_DeleteRows", (PyCFunction
) _wrap_Grid_DeleteRows
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20854          { (char *)"Grid_InsertCols", (PyCFunction
) _wrap_Grid_InsertCols
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20855          { (char *)"Grid_AppendCols", (PyCFunction
) _wrap_Grid_AppendCols
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20856          { (char *)"Grid_DeleteCols", (PyCFunction
) _wrap_Grid_DeleteCols
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20857          { (char *)"Grid_DrawCellHighlight", (PyCFunction
) _wrap_Grid_DrawCellHighlight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20858          { (char *)"Grid_DrawTextRectangle", (PyCFunction
) _wrap_Grid_DrawTextRectangle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20859          { (char *)"Grid_GetTextBoxSize", (PyCFunction
) _wrap_Grid_GetTextBoxSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20860          { (char *)"Grid_BeginBatch", (PyCFunction
)_wrap_Grid_BeginBatch
, METH_O
, NULL
}, 
20861          { (char *)"Grid_EndBatch", (PyCFunction
)_wrap_Grid_EndBatch
, METH_O
, NULL
}, 
20862          { (char *)"Grid_GetBatchCount", (PyCFunction
)_wrap_Grid_GetBatchCount
, METH_O
, NULL
}, 
20863          { (char *)"Grid_ForceRefresh", (PyCFunction
)_wrap_Grid_ForceRefresh
, METH_O
, NULL
}, 
20864          { (char *)"Grid_IsEditable", (PyCFunction
)_wrap_Grid_IsEditable
, METH_O
, NULL
}, 
20865          { (char *)"Grid_EnableEditing", (PyCFunction
) _wrap_Grid_EnableEditing
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20866          { (char *)"Grid_EnableCellEditControl", (PyCFunction
) _wrap_Grid_EnableCellEditControl
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20867          { (char *)"Grid_DisableCellEditControl", (PyCFunction
)_wrap_Grid_DisableCellEditControl
, METH_O
, NULL
}, 
20868          { (char *)"Grid_CanEnableCellControl", (PyCFunction
)_wrap_Grid_CanEnableCellControl
, METH_O
, NULL
}, 
20869          { (char *)"Grid_IsCellEditControlEnabled", (PyCFunction
)_wrap_Grid_IsCellEditControlEnabled
, METH_O
, NULL
}, 
20870          { (char *)"Grid_IsCellEditControlShown", (PyCFunction
)_wrap_Grid_IsCellEditControlShown
, METH_O
, NULL
}, 
20871          { (char *)"Grid_IsCurrentCellReadOnly", (PyCFunction
)_wrap_Grid_IsCurrentCellReadOnly
, METH_O
, NULL
}, 
20872          { (char *)"Grid_ShowCellEditControl", (PyCFunction
)_wrap_Grid_ShowCellEditControl
, METH_O
, NULL
}, 
20873          { (char *)"Grid_HideCellEditControl", (PyCFunction
)_wrap_Grid_HideCellEditControl
, METH_O
, NULL
}, 
20874          { (char *)"Grid_SaveEditControlValue", (PyCFunction
)_wrap_Grid_SaveEditControlValue
, METH_O
, NULL
}, 
20875          { (char *)"Grid_XYToCell", (PyCFunction
) _wrap_Grid_XYToCell
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20876          { (char *)"Grid_YToRow", (PyCFunction
) _wrap_Grid_YToRow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20877          { (char *)"Grid_XToCol", (PyCFunction
) _wrap_Grid_XToCol
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20878          { (char *)"Grid_YToEdgeOfRow", (PyCFunction
) _wrap_Grid_YToEdgeOfRow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20879          { (char *)"Grid_XToEdgeOfCol", (PyCFunction
) _wrap_Grid_XToEdgeOfCol
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20880          { (char *)"Grid_CellToRect", (PyCFunction
) _wrap_Grid_CellToRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20881          { (char *)"Grid_GetGridCursorRow", (PyCFunction
)_wrap_Grid_GetGridCursorRow
, METH_O
, NULL
}, 
20882          { (char *)"Grid_GetGridCursorCol", (PyCFunction
)_wrap_Grid_GetGridCursorCol
, METH_O
, NULL
}, 
20883          { (char *)"Grid_IsVisible", (PyCFunction
) _wrap_Grid_IsVisible
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20884          { (char *)"Grid_MakeCellVisible", (PyCFunction
) _wrap_Grid_MakeCellVisible
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20885          { (char *)"Grid_SetGridCursor", (PyCFunction
) _wrap_Grid_SetGridCursor
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20886          { (char *)"Grid_MoveCursorUp", (PyCFunction
) _wrap_Grid_MoveCursorUp
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20887          { (char *)"Grid_MoveCursorDown", (PyCFunction
) _wrap_Grid_MoveCursorDown
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20888          { (char *)"Grid_MoveCursorLeft", (PyCFunction
) _wrap_Grid_MoveCursorLeft
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20889          { (char *)"Grid_MoveCursorRight", (PyCFunction
) _wrap_Grid_MoveCursorRight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20890          { (char *)"Grid_MovePageDown", (PyCFunction
)_wrap_Grid_MovePageDown
, METH_O
, NULL
}, 
20891          { (char *)"Grid_MovePageUp", (PyCFunction
)_wrap_Grid_MovePageUp
, METH_O
, NULL
}, 
20892          { (char *)"Grid_MoveCursorUpBlock", (PyCFunction
) _wrap_Grid_MoveCursorUpBlock
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20893          { (char *)"Grid_MoveCursorDownBlock", (PyCFunction
) _wrap_Grid_MoveCursorDownBlock
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20894          { (char *)"Grid_MoveCursorLeftBlock", (PyCFunction
) _wrap_Grid_MoveCursorLeftBlock
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20895          { (char *)"Grid_MoveCursorRightBlock", (PyCFunction
) _wrap_Grid_MoveCursorRightBlock
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20896          { (char *)"Grid_GetDefaultRowLabelSize", (PyCFunction
)_wrap_Grid_GetDefaultRowLabelSize
, METH_O
, NULL
}, 
20897          { (char *)"Grid_GetRowLabelSize", (PyCFunction
)_wrap_Grid_GetRowLabelSize
, METH_O
, NULL
}, 
20898          { (char *)"Grid_GetDefaultColLabelSize", (PyCFunction
)_wrap_Grid_GetDefaultColLabelSize
, METH_O
, NULL
}, 
20899          { (char *)"Grid_GetColLabelSize", (PyCFunction
)_wrap_Grid_GetColLabelSize
, METH_O
, NULL
}, 
20900          { (char *)"Grid_GetLabelBackgroundColour", (PyCFunction
)_wrap_Grid_GetLabelBackgroundColour
, METH_O
, NULL
}, 
20901          { (char *)"Grid_GetLabelTextColour", (PyCFunction
)_wrap_Grid_GetLabelTextColour
, METH_O
, NULL
}, 
20902          { (char *)"Grid_GetLabelFont", (PyCFunction
)_wrap_Grid_GetLabelFont
, METH_O
, NULL
}, 
20903          { (char *)"Grid_GetRowLabelAlignment", (PyCFunction
)_wrap_Grid_GetRowLabelAlignment
, METH_O
, NULL
}, 
20904          { (char *)"Grid_GetColLabelAlignment", (PyCFunction
)_wrap_Grid_GetColLabelAlignment
, METH_O
, NULL
}, 
20905          { (char *)"Grid_GetColLabelTextOrientation", (PyCFunction
)_wrap_Grid_GetColLabelTextOrientation
, METH_O
, NULL
}, 
20906          { (char *)"Grid_GetRowLabelValue", (PyCFunction
) _wrap_Grid_GetRowLabelValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20907          { (char *)"Grid_GetColLabelValue", (PyCFunction
) _wrap_Grid_GetColLabelValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20908          { (char *)"Grid_GetGridLineColour", (PyCFunction
)_wrap_Grid_GetGridLineColour
, METH_O
, NULL
}, 
20909          { (char *)"Grid_GetDefaultGridLinePen", (PyCFunction
)_wrap_Grid_GetDefaultGridLinePen
, METH_O
, NULL
}, 
20910          { (char *)"Grid_GetRowGridLinePen", (PyCFunction
) _wrap_Grid_GetRowGridLinePen
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20911          { (char *)"Grid_GetColGridLinePen", (PyCFunction
) _wrap_Grid_GetColGridLinePen
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20912          { (char *)"Grid_GetCellHighlightColour", (PyCFunction
)_wrap_Grid_GetCellHighlightColour
, METH_O
, NULL
}, 
20913          { (char *)"Grid_GetCellHighlightPenWidth", (PyCFunction
)_wrap_Grid_GetCellHighlightPenWidth
, METH_O
, NULL
}, 
20914          { (char *)"Grid_GetCellHighlightROPenWidth", (PyCFunction
)_wrap_Grid_GetCellHighlightROPenWidth
, METH_O
, NULL
}, 
20915          { (char *)"Grid_SetRowLabelSize", (PyCFunction
) _wrap_Grid_SetRowLabelSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20916          { (char *)"Grid_SetColLabelSize", (PyCFunction
) _wrap_Grid_SetColLabelSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20917          { (char *)"Grid_SetLabelBackgroundColour", (PyCFunction
) _wrap_Grid_SetLabelBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20918          { (char *)"Grid_SetLabelTextColour", (PyCFunction
) _wrap_Grid_SetLabelTextColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20919          { (char *)"Grid_SetLabelFont", (PyCFunction
) _wrap_Grid_SetLabelFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20920          { (char *)"Grid_SetRowLabelAlignment", (PyCFunction
) _wrap_Grid_SetRowLabelAlignment
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20921          { (char *)"Grid_SetColLabelAlignment", (PyCFunction
) _wrap_Grid_SetColLabelAlignment
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20922          { (char *)"Grid_SetColLabelTextOrientation", (PyCFunction
) _wrap_Grid_SetColLabelTextOrientation
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20923          { (char *)"Grid_SetRowLabelValue", (PyCFunction
) _wrap_Grid_SetRowLabelValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20924          { (char *)"Grid_SetColLabelValue", (PyCFunction
) _wrap_Grid_SetColLabelValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20925          { (char *)"Grid_SetGridLineColour", (PyCFunction
) _wrap_Grid_SetGridLineColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20926          { (char *)"Grid_SetCellHighlightColour", (PyCFunction
) _wrap_Grid_SetCellHighlightColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20927          { (char *)"Grid_SetCellHighlightPenWidth", (PyCFunction
) _wrap_Grid_SetCellHighlightPenWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20928          { (char *)"Grid_SetCellHighlightROPenWidth", (PyCFunction
) _wrap_Grid_SetCellHighlightROPenWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20929          { (char *)"Grid_EnableDragRowSize", (PyCFunction
) _wrap_Grid_EnableDragRowSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20930          { (char *)"Grid_DisableDragRowSize", (PyCFunction
)_wrap_Grid_DisableDragRowSize
, METH_O
, NULL
}, 
20931          { (char *)"Grid_CanDragRowSize", (PyCFunction
)_wrap_Grid_CanDragRowSize
, METH_O
, NULL
}, 
20932          { (char *)"Grid_EnableDragColSize", (PyCFunction
) _wrap_Grid_EnableDragColSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20933          { (char *)"Grid_DisableDragColSize", (PyCFunction
)_wrap_Grid_DisableDragColSize
, METH_O
, NULL
}, 
20934          { (char *)"Grid_CanDragColSize", (PyCFunction
)_wrap_Grid_CanDragColSize
, METH_O
, NULL
}, 
20935          { (char *)"Grid_EnableDragColMove", (PyCFunction
) _wrap_Grid_EnableDragColMove
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20936          { (char *)"Grid_DisableDragColMove", (PyCFunction
)_wrap_Grid_DisableDragColMove
, METH_O
, NULL
}, 
20937          { (char *)"Grid_CanDragColMove", (PyCFunction
)_wrap_Grid_CanDragColMove
, METH_O
, NULL
}, 
20938          { (char *)"Grid_EnableDragGridSize", (PyCFunction
) _wrap_Grid_EnableDragGridSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20939          { (char *)"Grid_DisableDragGridSize", (PyCFunction
)_wrap_Grid_DisableDragGridSize
, METH_O
, NULL
}, 
20940          { (char *)"Grid_CanDragGridSize", (PyCFunction
)_wrap_Grid_CanDragGridSize
, METH_O
, NULL
}, 
20941          { (char *)"Grid_EnableDragCell", (PyCFunction
) _wrap_Grid_EnableDragCell
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20942          { (char *)"Grid_DisableDragCell", (PyCFunction
)_wrap_Grid_DisableDragCell
, METH_O
, NULL
}, 
20943          { (char *)"Grid_CanDragCell", (PyCFunction
)_wrap_Grid_CanDragCell
, METH_O
, NULL
}, 
20944          { (char *)"Grid_SetAttr", (PyCFunction
) _wrap_Grid_SetAttr
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20945          { (char *)"Grid_SetRowAttr", (PyCFunction
) _wrap_Grid_SetRowAttr
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20946          { (char *)"Grid_SetColAttr", (PyCFunction
) _wrap_Grid_SetColAttr
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20947          { (char *)"Grid_GetOrCreateCellAttr", (PyCFunction
) _wrap_Grid_GetOrCreateCellAttr
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20948          { (char *)"Grid_SetColFormatBool", (PyCFunction
) _wrap_Grid_SetColFormatBool
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20949          { (char *)"Grid_SetColFormatNumber", (PyCFunction
) _wrap_Grid_SetColFormatNumber
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20950          { (char *)"Grid_SetColFormatFloat", (PyCFunction
) _wrap_Grid_SetColFormatFloat
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20951          { (char *)"Grid_SetColFormatCustom", (PyCFunction
) _wrap_Grid_SetColFormatCustom
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20952          { (char *)"Grid_EnableGridLines", (PyCFunction
) _wrap_Grid_EnableGridLines
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20953          { (char *)"Grid_GridLinesEnabled", (PyCFunction
)_wrap_Grid_GridLinesEnabled
, METH_O
, NULL
}, 
20954          { (char *)"Grid_GetDefaultRowSize", (PyCFunction
)_wrap_Grid_GetDefaultRowSize
, METH_O
, NULL
}, 
20955          { (char *)"Grid_GetRowSize", (PyCFunction
) _wrap_Grid_GetRowSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20956          { (char *)"Grid_GetDefaultColSize", (PyCFunction
)_wrap_Grid_GetDefaultColSize
, METH_O
, NULL
}, 
20957          { (char *)"Grid_GetColSize", (PyCFunction
) _wrap_Grid_GetColSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20958          { (char *)"Grid_GetDefaultCellBackgroundColour", (PyCFunction
)_wrap_Grid_GetDefaultCellBackgroundColour
, METH_O
, NULL
}, 
20959          { (char *)"Grid_GetCellBackgroundColour", (PyCFunction
) _wrap_Grid_GetCellBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20960          { (char *)"Grid_GetDefaultCellTextColour", (PyCFunction
)_wrap_Grid_GetDefaultCellTextColour
, METH_O
, NULL
}, 
20961          { (char *)"Grid_GetCellTextColour", (PyCFunction
) _wrap_Grid_GetCellTextColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20962          { (char *)"Grid_GetDefaultCellFont", (PyCFunction
)_wrap_Grid_GetDefaultCellFont
, METH_O
, NULL
}, 
20963          { (char *)"Grid_GetCellFont", (PyCFunction
) _wrap_Grid_GetCellFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20964          { (char *)"Grid_GetDefaultCellAlignment", (PyCFunction
)_wrap_Grid_GetDefaultCellAlignment
, METH_O
, NULL
}, 
20965          { (char *)"Grid_GetCellAlignment", (PyCFunction
) _wrap_Grid_GetCellAlignment
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20966          { (char *)"Grid_GetDefaultCellOverflow", (PyCFunction
)_wrap_Grid_GetDefaultCellOverflow
, METH_O
, NULL
}, 
20967          { (char *)"Grid_GetCellOverflow", (PyCFunction
) _wrap_Grid_GetCellOverflow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20968          { (char *)"Grid_GetCellSize", (PyCFunction
) _wrap_Grid_GetCellSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20969          { (char *)"Grid_SetDefaultRowSize", (PyCFunction
) _wrap_Grid_SetDefaultRowSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20970          { (char *)"Grid_SetRowSize", (PyCFunction
) _wrap_Grid_SetRowSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20971          { (char *)"Grid_SetDefaultColSize", (PyCFunction
) _wrap_Grid_SetDefaultColSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20972          { (char *)"Grid_SetColSize", (PyCFunction
) _wrap_Grid_SetColSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20973          { (char *)"Grid_GetColAt", (PyCFunction
) _wrap_Grid_GetColAt
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20974          { (char *)"Grid_SetColPos", (PyCFunction
) _wrap_Grid_SetColPos
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20975          { (char *)"Grid_GetColPos", (PyCFunction
) _wrap_Grid_GetColPos
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20976          { (char *)"Grid_AutoSizeColumn", (PyCFunction
) _wrap_Grid_AutoSizeColumn
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20977          { (char *)"Grid_AutoSizeRow", (PyCFunction
) _wrap_Grid_AutoSizeRow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20978          { (char *)"Grid_AutoSizeColumns", (PyCFunction
) _wrap_Grid_AutoSizeColumns
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20979          { (char *)"Grid_AutoSizeRows", (PyCFunction
) _wrap_Grid_AutoSizeRows
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20980          { (char *)"Grid_AutoSize", (PyCFunction
)_wrap_Grid_AutoSize
, METH_O
, NULL
}, 
20981          { (char *)"Grid_AutoSizeRowLabelSize", (PyCFunction
) _wrap_Grid_AutoSizeRowLabelSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20982          { (char *)"Grid_AutoSizeColLabelSize", (PyCFunction
) _wrap_Grid_AutoSizeColLabelSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20983          { (char *)"Grid_SetColMinimalWidth", (PyCFunction
) _wrap_Grid_SetColMinimalWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20984          { (char *)"Grid_SetRowMinimalHeight", (PyCFunction
) _wrap_Grid_SetRowMinimalHeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20985          { (char *)"Grid_SetColMinimalAcceptableWidth", (PyCFunction
) _wrap_Grid_SetColMinimalAcceptableWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20986          { (char *)"Grid_SetRowMinimalAcceptableHeight", (PyCFunction
) _wrap_Grid_SetRowMinimalAcceptableHeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20987          { (char *)"Grid_GetColMinimalAcceptableWidth", (PyCFunction
)_wrap_Grid_GetColMinimalAcceptableWidth
, METH_O
, NULL
}, 
20988          { (char *)"Grid_GetRowMinimalAcceptableHeight", (PyCFunction
)_wrap_Grid_GetRowMinimalAcceptableHeight
, METH_O
, NULL
}, 
20989          { (char *)"Grid_SetDefaultCellBackgroundColour", (PyCFunction
) _wrap_Grid_SetDefaultCellBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20990          { (char *)"Grid_SetCellBackgroundColour", (PyCFunction
) _wrap_Grid_SetCellBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20991          { (char *)"Grid_SetDefaultCellTextColour", (PyCFunction
) _wrap_Grid_SetDefaultCellTextColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20992          { (char *)"Grid_SetCellTextColour", (PyCFunction
) _wrap_Grid_SetCellTextColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20993          { (char *)"Grid_SetDefaultCellFont", (PyCFunction
) _wrap_Grid_SetDefaultCellFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20994          { (char *)"Grid_SetCellFont", (PyCFunction
) _wrap_Grid_SetCellFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20995          { (char *)"Grid_SetDefaultCellAlignment", (PyCFunction
) _wrap_Grid_SetDefaultCellAlignment
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20996          { (char *)"Grid_SetCellAlignment", (PyCFunction
) _wrap_Grid_SetCellAlignment
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20997          { (char *)"Grid_SetDefaultCellOverflow", (PyCFunction
) _wrap_Grid_SetDefaultCellOverflow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20998          { (char *)"Grid_SetCellOverflow", (PyCFunction
) _wrap_Grid_SetCellOverflow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20999          { (char *)"Grid_SetCellSize", (PyCFunction
) _wrap_Grid_SetCellSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21000          { (char *)"Grid_SetDefaultRenderer", (PyCFunction
) _wrap_Grid_SetDefaultRenderer
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21001          { (char *)"Grid_SetCellRenderer", (PyCFunction
) _wrap_Grid_SetCellRenderer
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21002          { (char *)"Grid_GetDefaultRenderer", (PyCFunction
)_wrap_Grid_GetDefaultRenderer
, METH_O
, NULL
}, 
21003          { (char *)"Grid_GetCellRenderer", (PyCFunction
) _wrap_Grid_GetCellRenderer
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21004          { (char *)"Grid_SetDefaultEditor", (PyCFunction
) _wrap_Grid_SetDefaultEditor
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21005          { (char *)"Grid_SetCellEditor", (PyCFunction
) _wrap_Grid_SetCellEditor
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21006          { (char *)"Grid_GetDefaultEditor", (PyCFunction
)_wrap_Grid_GetDefaultEditor
, METH_O
, NULL
}, 
21007          { (char *)"Grid_GetCellEditor", (PyCFunction
) _wrap_Grid_GetCellEditor
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21008          { (char *)"Grid_GetCellValue", (PyCFunction
) _wrap_Grid_GetCellValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21009          { (char *)"Grid_SetCellValue", (PyCFunction
) _wrap_Grid_SetCellValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21010          { (char *)"Grid_IsReadOnly", (PyCFunction
) _wrap_Grid_IsReadOnly
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21011          { (char *)"Grid_SetReadOnly", (PyCFunction
) _wrap_Grid_SetReadOnly
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21012          { (char *)"Grid_SelectRow", (PyCFunction
) _wrap_Grid_SelectRow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21013          { (char *)"Grid_SelectCol", (PyCFunction
) _wrap_Grid_SelectCol
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21014          { (char *)"Grid_SelectBlock", (PyCFunction
) _wrap_Grid_SelectBlock
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21015          { (char *)"Grid_SelectAll", (PyCFunction
)_wrap_Grid_SelectAll
, METH_O
, NULL
}, 
21016          { (char *)"Grid_IsSelection", (PyCFunction
)_wrap_Grid_IsSelection
, METH_O
, NULL
}, 
21017          { (char *)"Grid_ClearSelection", (PyCFunction
)_wrap_Grid_ClearSelection
, METH_O
, NULL
}, 
21018          { (char *)"Grid_IsInSelection", (PyCFunction
) _wrap_Grid_IsInSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21019          { (char *)"Grid_GetSelectedCells", (PyCFunction
)_wrap_Grid_GetSelectedCells
, METH_O
, NULL
}, 
21020          { (char *)"Grid_GetSelectionBlockTopLeft", (PyCFunction
)_wrap_Grid_GetSelectionBlockTopLeft
, METH_O
, NULL
}, 
21021          { (char *)"Grid_GetSelectionBlockBottomRight", (PyCFunction
)_wrap_Grid_GetSelectionBlockBottomRight
, METH_O
, NULL
}, 
21022          { (char *)"Grid_GetSelectedRows", (PyCFunction
)_wrap_Grid_GetSelectedRows
, METH_O
, NULL
}, 
21023          { (char *)"Grid_GetSelectedCols", (PyCFunction
)_wrap_Grid_GetSelectedCols
, METH_O
, NULL
}, 
21024          { (char *)"Grid_DeselectRow", (PyCFunction
) _wrap_Grid_DeselectRow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21025          { (char *)"Grid_DeselectCol", (PyCFunction
) _wrap_Grid_DeselectCol
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21026          { (char *)"Grid_DeselectCell", (PyCFunction
) _wrap_Grid_DeselectCell
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21027          { (char *)"Grid_BlockToDeviceRect", (PyCFunction
) _wrap_Grid_BlockToDeviceRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21028          { (char *)"Grid_GetSelectionBackground", (PyCFunction
)_wrap_Grid_GetSelectionBackground
, METH_O
, NULL
}, 
21029          { (char *)"Grid_GetSelectionForeground", (PyCFunction
)_wrap_Grid_GetSelectionForeground
, METH_O
, NULL
}, 
21030          { (char *)"Grid_SetSelectionBackground", (PyCFunction
) _wrap_Grid_SetSelectionBackground
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21031          { (char *)"Grid_SetSelectionForeground", (PyCFunction
) _wrap_Grid_SetSelectionForeground
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21032          { (char *)"Grid_RegisterDataType", (PyCFunction
) _wrap_Grid_RegisterDataType
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21033          { (char *)"Grid_GetDefaultEditorForCell", (PyCFunction
) _wrap_Grid_GetDefaultEditorForCell
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21034          { (char *)"Grid_GetDefaultRendererForCell", (PyCFunction
) _wrap_Grid_GetDefaultRendererForCell
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21035          { (char *)"Grid_GetDefaultEditorForType", (PyCFunction
) _wrap_Grid_GetDefaultEditorForType
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21036          { (char *)"Grid_GetDefaultRendererForType", (PyCFunction
) _wrap_Grid_GetDefaultRendererForType
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21037          { (char *)"Grid_SetMargins", (PyCFunction
) _wrap_Grid_SetMargins
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21038          { (char *)"Grid_GetGridWindow", (PyCFunction
)_wrap_Grid_GetGridWindow
, METH_O
, NULL
}, 
21039          { (char *)"Grid_GetGridRowLabelWindow", (PyCFunction
)_wrap_Grid_GetGridRowLabelWindow
, METH_O
, NULL
}, 
21040          { (char *)"Grid_GetGridColLabelWindow", (PyCFunction
)_wrap_Grid_GetGridColLabelWindow
, METH_O
, NULL
}, 
21041          { (char *)"Grid_GetGridCornerLabelWindow", (PyCFunction
)_wrap_Grid_GetGridCornerLabelWindow
, METH_O
, NULL
}, 
21042          { (char *)"Grid_SetScrollLineX", (PyCFunction
) _wrap_Grid_SetScrollLineX
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21043          { (char *)"Grid_SetScrollLineY", (PyCFunction
) _wrap_Grid_SetScrollLineY
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21044          { (char *)"Grid_GetScrollLineX", (PyCFunction
)_wrap_Grid_GetScrollLineX
, METH_O
, NULL
}, 
21045          { (char *)"Grid_GetScrollLineY", (PyCFunction
)_wrap_Grid_GetScrollLineY
, METH_O
, NULL
}, 
21046          { (char *)"Grid_GetScrollX", (PyCFunction
) _wrap_Grid_GetScrollX
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21047          { (char *)"Grid_GetScrollY", (PyCFunction
) _wrap_Grid_GetScrollY
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21048          { (char *)"Grid_GetClassDefaultAttributes", (PyCFunction
) _wrap_Grid_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21049          { (char *)"Grid_swigregister", Grid_swigregister
, METH_VARARGS
, NULL
}, 
21050          { (char *)"Grid_swiginit", Grid_swiginit
, METH_VARARGS
, NULL
}, 
21051          { (char *)"new_GridEvent", (PyCFunction
) _wrap_new_GridEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21052          { (char *)"GridEvent_GetRow", (PyCFunction
)_wrap_GridEvent_GetRow
, METH_O
, NULL
}, 
21053          { (char *)"GridEvent_GetCol", (PyCFunction
)_wrap_GridEvent_GetCol
, METH_O
, NULL
}, 
21054          { (char *)"GridEvent_GetPosition", (PyCFunction
)_wrap_GridEvent_GetPosition
, METH_O
, NULL
}, 
21055          { (char *)"GridEvent_Selecting", (PyCFunction
)_wrap_GridEvent_Selecting
, METH_O
, NULL
}, 
21056          { (char *)"GridEvent_ControlDown", (PyCFunction
)_wrap_GridEvent_ControlDown
, METH_O
, NULL
}, 
21057          { (char *)"GridEvent_MetaDown", (PyCFunction
)_wrap_GridEvent_MetaDown
, METH_O
, NULL
}, 
21058          { (char *)"GridEvent_ShiftDown", (PyCFunction
)_wrap_GridEvent_ShiftDown
, METH_O
, NULL
}, 
21059          { (char *)"GridEvent_AltDown", (PyCFunction
)_wrap_GridEvent_AltDown
, METH_O
, NULL
}, 
21060          { (char *)"GridEvent_CmdDown", (PyCFunction
)_wrap_GridEvent_CmdDown
, METH_O
, NULL
}, 
21061          { (char *)"GridEvent_swigregister", GridEvent_swigregister
, METH_VARARGS
, NULL
}, 
21062          { (char *)"GridEvent_swiginit", GridEvent_swiginit
, METH_VARARGS
, NULL
}, 
21063          { (char *)"new_GridSizeEvent", (PyCFunction
) _wrap_new_GridSizeEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21064          { (char *)"GridSizeEvent_GetRowOrCol", (PyCFunction
)_wrap_GridSizeEvent_GetRowOrCol
, METH_O
, NULL
}, 
21065          { (char *)"GridSizeEvent_GetPosition", (PyCFunction
)_wrap_GridSizeEvent_GetPosition
, METH_O
, NULL
}, 
21066          { (char *)"GridSizeEvent_ControlDown", (PyCFunction
)_wrap_GridSizeEvent_ControlDown
, METH_O
, NULL
}, 
21067          { (char *)"GridSizeEvent_MetaDown", (PyCFunction
)_wrap_GridSizeEvent_MetaDown
, METH_O
, NULL
}, 
21068          { (char *)"GridSizeEvent_ShiftDown", (PyCFunction
)_wrap_GridSizeEvent_ShiftDown
, METH_O
, NULL
}, 
21069          { (char *)"GridSizeEvent_AltDown", (PyCFunction
)_wrap_GridSizeEvent_AltDown
, METH_O
, NULL
}, 
21070          { (char *)"GridSizeEvent_CmdDown", (PyCFunction
)_wrap_GridSizeEvent_CmdDown
, METH_O
, NULL
}, 
21071          { (char *)"GridSizeEvent_swigregister", GridSizeEvent_swigregister
, METH_VARARGS
, NULL
}, 
21072          { (char *)"GridSizeEvent_swiginit", GridSizeEvent_swiginit
, METH_VARARGS
, NULL
}, 
21073          { (char *)"new_GridRangeSelectEvent", (PyCFunction
) _wrap_new_GridRangeSelectEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21074          { (char *)"GridRangeSelectEvent_GetTopLeftCoords", (PyCFunction
)_wrap_GridRangeSelectEvent_GetTopLeftCoords
, METH_O
, NULL
}, 
21075          { (char *)"GridRangeSelectEvent_GetBottomRightCoords", (PyCFunction
)_wrap_GridRangeSelectEvent_GetBottomRightCoords
, METH_O
, NULL
}, 
21076          { (char *)"GridRangeSelectEvent_GetTopRow", (PyCFunction
)_wrap_GridRangeSelectEvent_GetTopRow
, METH_O
, NULL
}, 
21077          { (char *)"GridRangeSelectEvent_GetBottomRow", (PyCFunction
)_wrap_GridRangeSelectEvent_GetBottomRow
, METH_O
, NULL
}, 
21078          { (char *)"GridRangeSelectEvent_GetLeftCol", (PyCFunction
)_wrap_GridRangeSelectEvent_GetLeftCol
, METH_O
, NULL
}, 
21079          { (char *)"GridRangeSelectEvent_GetRightCol", (PyCFunction
)_wrap_GridRangeSelectEvent_GetRightCol
, METH_O
, NULL
}, 
21080          { (char *)"GridRangeSelectEvent_Selecting", (PyCFunction
)_wrap_GridRangeSelectEvent_Selecting
, METH_O
, NULL
}, 
21081          { (char *)"GridRangeSelectEvent_ControlDown", (PyCFunction
)_wrap_GridRangeSelectEvent_ControlDown
, METH_O
, NULL
}, 
21082          { (char *)"GridRangeSelectEvent_MetaDown", (PyCFunction
)_wrap_GridRangeSelectEvent_MetaDown
, METH_O
, NULL
}, 
21083          { (char *)"GridRangeSelectEvent_ShiftDown", (PyCFunction
)_wrap_GridRangeSelectEvent_ShiftDown
, METH_O
, NULL
}, 
21084          { (char *)"GridRangeSelectEvent_AltDown", (PyCFunction
)_wrap_GridRangeSelectEvent_AltDown
, METH_O
, NULL
}, 
21085          { (char *)"GridRangeSelectEvent_CmdDown", (PyCFunction
)_wrap_GridRangeSelectEvent_CmdDown
, METH_O
, NULL
}, 
21086          { (char *)"GridRangeSelectEvent_swigregister", GridRangeSelectEvent_swigregister
, METH_VARARGS
, NULL
}, 
21087          { (char *)"GridRangeSelectEvent_swiginit", GridRangeSelectEvent_swiginit
, METH_VARARGS
, NULL
}, 
21088          { (char *)"new_GridEditorCreatedEvent", (PyCFunction
) _wrap_new_GridEditorCreatedEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21089          { (char *)"GridEditorCreatedEvent_GetRow", (PyCFunction
)_wrap_GridEditorCreatedEvent_GetRow
, METH_O
, NULL
}, 
21090          { (char *)"GridEditorCreatedEvent_GetCol", (PyCFunction
)_wrap_GridEditorCreatedEvent_GetCol
, METH_O
, NULL
}, 
21091          { (char *)"GridEditorCreatedEvent_GetControl", (PyCFunction
)_wrap_GridEditorCreatedEvent_GetControl
, METH_O
, NULL
}, 
21092          { (char *)"GridEditorCreatedEvent_SetRow", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetRow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21093          { (char *)"GridEditorCreatedEvent_SetCol", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetCol
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21094          { (char *)"GridEditorCreatedEvent_SetControl", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetControl
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21095          { (char *)"GridEditorCreatedEvent_swigregister", GridEditorCreatedEvent_swigregister
, METH_VARARGS
, NULL
}, 
21096          { (char *)"GridEditorCreatedEvent_swiginit", GridEditorCreatedEvent_swiginit
, METH_VARARGS
, NULL
}, 
21097          { NULL
, NULL
, 0, NULL 
} 
21101 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ 
21103 static void *_p_wxPyGridCellRendererTo_p_wxGridCellRenderer(void *x
) { 
21104     return (void *)((wxGridCellRenderer 
*)  ((wxPyGridCellRenderer 
*) x
)); 
21106 static void *_p_wxGridCellStringRendererTo_p_wxGridCellRenderer(void *x
) { 
21107     return (void *)((wxGridCellRenderer 
*)  ((wxGridCellStringRenderer 
*) x
)); 
21109 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellRenderer(void *x
) { 
21110     return (void *)((wxGridCellRenderer 
*) (wxGridCellStringRenderer 
*) ((wxGridCellNumberRenderer 
*) x
)); 
21112 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellRenderer(void *x
) { 
21113     return (void *)((wxGridCellRenderer 
*) (wxGridCellStringRenderer 
*) ((wxGridCellFloatRenderer 
*) x
)); 
21115 static void *_p_wxGridCellBoolRendererTo_p_wxGridCellRenderer(void *x
) { 
21116     return (void *)((wxGridCellRenderer 
*)  ((wxGridCellBoolRenderer 
*) x
)); 
21118 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellRenderer(void *x
) { 
21119     return (void *)((wxGridCellRenderer 
*) (wxGridCellStringRenderer 
*) ((wxGridCellDateTimeRenderer 
*) x
)); 
21121 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellRenderer(void *x
) { 
21122     return (void *)((wxGridCellRenderer 
*) (wxGridCellStringRenderer 
*) ((wxGridCellEnumRenderer 
*) x
)); 
21124 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellRenderer(void *x
) { 
21125     return (void *)((wxGridCellRenderer 
*) (wxGridCellStringRenderer 
*) ((wxGridCellAutoWrapStringRenderer 
*) x
)); 
21127 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellStringRenderer(void *x
) { 
21128     return (void *)((wxGridCellStringRenderer 
*)  ((wxGridCellNumberRenderer 
*) x
)); 
21130 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellStringRenderer(void *x
) { 
21131     return (void *)((wxGridCellStringRenderer 
*)  ((wxGridCellFloatRenderer 
*) x
)); 
21133 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellStringRenderer(void *x
) { 
21134     return (void *)((wxGridCellStringRenderer 
*)  ((wxGridCellDateTimeRenderer 
*) x
)); 
21136 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellStringRenderer(void *x
) { 
21137     return (void *)((wxGridCellStringRenderer 
*)  ((wxGridCellEnumRenderer 
*) x
)); 
21139 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellStringRenderer(void *x
) { 
21140     return (void *)((wxGridCellStringRenderer 
*)  ((wxGridCellAutoWrapStringRenderer 
*) x
)); 
21142 static void *_p_wxGridCellChoiceEditorTo_p_wxGridCellWorker(void *x
) { 
21143     return (void *)((wxGridCellWorker 
*) (wxGridCellEditor 
*) ((wxGridCellChoiceEditor 
*) x
)); 
21145 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellWorker(void *x
) { 
21146     return (void *)((wxGridCellWorker 
*) (wxGridCellEditor 
*)(wxGridCellChoiceEditor 
*) ((wxGridCellEnumEditor 
*) x
)); 
21148 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellWorker(void *x
) { 
21149     return (void *)((wxGridCellWorker 
*) (wxGridCellEditor 
*)(wxGridCellTextEditor 
*) ((wxGridCellAutoWrapStringEditor 
*) x
)); 
21151 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellWorker(void *x
) { 
21152     return (void *)((wxGridCellWorker 
*) (wxGridCellEditor 
*)(wxGridCellTextEditor 
*) ((wxGridCellFloatEditor 
*) x
)); 
21154 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellWorker(void *x
) { 
21155     return (void *)((wxGridCellWorker 
*) (wxGridCellEditor 
*)(wxGridCellTextEditor 
*) ((wxGridCellNumberEditor 
*) x
)); 
21157 static void *_p_wxGridCellTextEditorTo_p_wxGridCellWorker(void *x
) { 
21158     return (void *)((wxGridCellWorker 
*) (wxGridCellEditor 
*) ((wxGridCellTextEditor 
*) x
)); 
21160 static void *_p_wxPyGridCellEditorTo_p_wxGridCellWorker(void *x
) { 
21161     return (void *)((wxGridCellWorker 
*) (wxGridCellEditor 
*) ((wxPyGridCellEditor 
*) x
)); 
21163 static void *_p_wxGridCellEditorTo_p_wxGridCellWorker(void *x
) { 
21164     return (void *)((wxGridCellWorker 
*)  ((wxGridCellEditor 
*) x
)); 
21166 static void *_p_wxGridCellBoolEditorTo_p_wxGridCellWorker(void *x
) { 
21167     return (void *)((wxGridCellWorker 
*) (wxGridCellEditor 
*) ((wxGridCellBoolEditor 
*) x
)); 
21169 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellWorker(void *x
) { 
21170     return (void *)((wxGridCellWorker 
*) (wxGridCellRenderer 
*)(wxGridCellStringRenderer 
*) ((wxGridCellAutoWrapStringRenderer 
*) x
)); 
21172 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellWorker(void *x
) { 
21173     return (void *)((wxGridCellWorker 
*) (wxGridCellRenderer 
*)(wxGridCellStringRenderer 
*) ((wxGridCellEnumRenderer 
*) x
)); 
21175 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellWorker(void *x
) { 
21176     return (void *)((wxGridCellWorker 
*) (wxGridCellRenderer 
*)(wxGridCellStringRenderer 
*) ((wxGridCellDateTimeRenderer 
*) x
)); 
21178 static void *_p_wxGridCellBoolRendererTo_p_wxGridCellWorker(void *x
) { 
21179     return (void *)((wxGridCellWorker 
*) (wxGridCellRenderer 
*) ((wxGridCellBoolRenderer 
*) x
)); 
21181 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellWorker(void *x
) { 
21182     return (void *)((wxGridCellWorker 
*) (wxGridCellRenderer 
*)(wxGridCellStringRenderer 
*) ((wxGridCellFloatRenderer 
*) x
)); 
21184 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellWorker(void *x
) { 
21185     return (void *)((wxGridCellWorker 
*) (wxGridCellRenderer 
*)(wxGridCellStringRenderer 
*) ((wxGridCellNumberRenderer 
*) x
)); 
21187 static void *_p_wxGridCellStringRendererTo_p_wxGridCellWorker(void *x
) { 
21188     return (void *)((wxGridCellWorker 
*) (wxGridCellRenderer 
*) ((wxGridCellStringRenderer 
*) x
)); 
21190 static void *_p_wxPyGridCellRendererTo_p_wxGridCellWorker(void *x
) { 
21191     return (void *)((wxGridCellWorker 
*) (wxGridCellRenderer 
*) ((wxPyGridCellRenderer 
*) x
)); 
21193 static void *_p_wxGridCellRendererTo_p_wxGridCellWorker(void *x
) { 
21194     return (void *)((wxGridCellWorker 
*)  ((wxGridCellRenderer 
*) x
)); 
21196 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) { 
21197     return (void *)((wxPanel 
*)  ((wxScrolledWindow 
*) x
)); 
21199 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) { 
21200     return (void *)((wxPanel 
*)  ((wxPyVScrolledWindow 
*) x
)); 
21202 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) { 
21203     return (void *)((wxPanel 
*) (wxScrolledWindow 
*) ((wxPyScrolledWindow 
*) x
)); 
21205 static void *_p_wxGridTo_p_wxPanel(void *x
) { 
21206     return (void *)((wxPanel 
*) (wxScrolledWindow 
*) ((wxGrid 
*) x
)); 
21208 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) { 
21209     return (void *)((wxPanel 
*) (wxPyVScrolledWindow 
*) ((wxPyVListBox 
*) x
)); 
21211 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) { 
21212     return (void *)((wxPanel 
*) (wxPyVScrolledWindow 
*)(wxPyVListBox 
*) ((wxPyHtmlListBox 
*) x
)); 
21214 static void *_p_wxSimpleHtmlListBoxTo_p_wxPanel(void *x
) { 
21215     return (void *)((wxPanel 
*) (wxPyVScrolledWindow 
*)(wxPyVListBox 
*)(wxPyHtmlListBox 
*) ((wxSimpleHtmlListBox 
*) x
)); 
21217 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) { 
21218     return (void *)((wxPanel 
*)  ((wxPyPanel 
*) x
)); 
21220 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) { 
21221     return (void *)((wxPanel 
*) (wxScrolledWindow 
*) ((wxPreviewCanvas 
*) x
)); 
21223 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) { 
21224     return (void *)((wxPanel 
*)  ((wxPreviewControlBar 
*) x
)); 
21226 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) { 
21227     return (void *)((wxPanel 
*) (wxPreviewControlBar 
*) ((wxPyPreviewControlBar 
*) x
)); 
21229 static void *_p_wxGridSizeEventTo_p_wxNotifyEvent(void *x
) { 
21230     return (void *)((wxNotifyEvent 
*)  ((wxGridSizeEvent 
*) x
)); 
21232 static void *_p_wxGridRangeSelectEventTo_p_wxNotifyEvent(void *x
) { 
21233     return (void *)((wxNotifyEvent 
*)  ((wxGridRangeSelectEvent 
*) x
)); 
21235 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) { 
21236     return (void *)((wxNotifyEvent 
*)  ((wxSplitterEvent 
*) x
)); 
21238 static void *_p_wxGridEventTo_p_wxNotifyEvent(void *x
) { 
21239     return (void *)((wxNotifyEvent 
*)  ((wxGridEvent 
*) x
)); 
21241 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) { 
21242     return (void *)((wxScrolledWindow 
*)  ((wxPyScrolledWindow 
*) x
)); 
21244 static void *_p_wxGridTo_p_wxScrolledWindow(void *x
) { 
21245     return (void *)((wxScrolledWindow 
*)  ((wxGrid 
*) x
)); 
21247 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) { 
21248     return (void *)((wxScrolledWindow 
*)  ((wxPreviewCanvas 
*) x
)); 
21250 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) { 
21251     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxSplashScreen 
*) x
)); 
21253 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) { 
21254     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxMiniFrame 
*) x
)); 
21256 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) { 
21257     return (void *)((wxWindow 
*) (wxPanel 
*) ((wxPyPanel 
*) x
)); 
21259 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) { 
21260     return (void *)((wxWindow 
*)  ((wxMenuBar 
*) x
)); 
21262 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) { 
21263     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxFindReplaceDialog 
*) x
)); 
21265 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) { 
21266     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxProgressDialog 
*) x
)); 
21268 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) { 
21269     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxMessageDialog 
*) x
)); 
21271 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x
) { 
21272     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxNumberEntryDialog 
*) x
)); 
21274 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) { 
21275     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*)(wxTextEntryDialog 
*) ((wxPasswordEntryDialog 
*) x
)); 
21277 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) { 
21278     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxTextEntryDialog 
*) x
)); 
21280 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) { 
21281     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxSingleChoiceDialog 
*) x
)); 
21283 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) { 
21284     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxMultiChoiceDialog 
*) x
)); 
21286 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) { 
21287     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxFileDialog 
*) x
)); 
21289 static void *_p_wxPanelTo_p_wxWindow(void *x
) { 
21290     return (void *)((wxWindow 
*)  ((wxPanel 
*) x
)); 
21292 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) { 
21293     return (void *)((wxWindow 
*)  ((wxStatusBar 
*) x
)); 
21295 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) { 
21296     return (void *)((wxWindow 
*) (wxPanel 
*) ((wxPyVScrolledWindow 
*) x
)); 
21298 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) { 
21299     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxTipWindow 
*) x
)); 
21301 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) { 
21302     return (void *)((wxWindow 
*) (wxPopupWindow 
*) ((wxPyPopupTransientWindow 
*) x
)); 
21304 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) { 
21305     return (void *)((wxWindow 
*)  ((wxPopupWindow 
*) x
)); 
21307 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) { 
21308     return (void *)((wxWindow 
*) (wxSashWindow 
*) ((wxSashLayoutWindow 
*) x
)); 
21310 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) { 
21311     return (void *)((wxWindow 
*) (wxPanel 
*) ((wxScrolledWindow 
*) x
)); 
21313 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) { 
21314     return (void *)((wxWindow 
*)  ((wxTopLevelWindow 
*) x
)); 
21316 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) { 
21317     return (void *)((wxWindow 
*)  ((wxSplashScreenWindow 
*) x
)); 
21319 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) { 
21320     return (void *)((wxWindow 
*)  ((wxSplitterWindow 
*) x
)); 
21322 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) { 
21323     return (void *)((wxWindow 
*)  ((wxSashWindow 
*) x
)); 
21325 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) { 
21326     return (void *)((wxWindow 
*)  ((wxMDIClientWindow 
*) x
)); 
21328 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) { 
21329     return (void *)((wxWindow 
*) (wxPanel 
*)(wxScrolledWindow 
*) ((wxPyScrolledWindow 
*) x
)); 
21331 static void *_p_wxControlTo_p_wxWindow(void *x
) { 
21332     return (void *)((wxWindow 
*)  ((wxControl 
*) x
)); 
21334 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) { 
21335     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxPreviewFrame 
*) x
)); 
21337 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) { 
21338     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*)(wxPreviewFrame 
*) ((wxPyPreviewFrame 
*) x
)); 
21340 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) { 
21341     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIChildFrame 
*) x
)); 
21343 static void *_p_wxGridTo_p_wxWindow(void *x
) { 
21344     return (void *)((wxWindow 
*) (wxPanel 
*)(wxScrolledWindow 
*) ((wxGrid 
*) x
)); 
21346 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) { 
21347     return (void *)((wxWindow 
*) (wxControl 
*) ((wxControlWithItems 
*) x
)); 
21349 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) { 
21350     return (void *)((wxWindow 
*)  ((wxPyWindow 
*) x
)); 
21352 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) { 
21353     return (void *)((wxWindow 
*) (wxPanel 
*)(wxScrolledWindow 
*) ((wxPreviewCanvas 
*) x
)); 
21355 static void *_p_wxSimpleHtmlListBoxTo_p_wxWindow(void *x
) { 
21356     return (void *)((wxWindow 
*) (wxPanel 
*)(wxPyVScrolledWindow 
*)(wxPyVListBox 
*)(wxPyHtmlListBox 
*) ((wxSimpleHtmlListBox 
*) x
)); 
21358 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) { 
21359     return (void *)((wxWindow 
*) (wxPanel 
*)(wxPyVScrolledWindow 
*)(wxPyVListBox 
*) ((wxPyHtmlListBox 
*) x
)); 
21361 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) { 
21362     return (void *)((wxWindow 
*) (wxPanel 
*)(wxPyVScrolledWindow 
*) ((wxPyVListBox 
*) x
)); 
21364 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) { 
21365     return (void *)((wxWindow 
*) (wxPanel 
*) ((wxPreviewControlBar 
*) x
)); 
21367 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) { 
21368     return (void *)((wxWindow 
*) (wxPanel 
*)(wxPreviewControlBar 
*) ((wxPyPreviewControlBar 
*) x
)); 
21370 static void *_p_wxFrameTo_p_wxWindow(void *x
) { 
21371     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*) ((wxFrame 
*) x
)); 
21373 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) { 
21374     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxFontDialog 
*) x
)); 
21376 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) { 
21377     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxDirDialog 
*) x
)); 
21379 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) { 
21380     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxColourDialog 
*) x
)); 
21382 static void *_p_wxDialogTo_p_wxWindow(void *x
) { 
21383     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*) ((wxDialog 
*) x
)); 
21385 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) { 
21386     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIParentFrame 
*) x
)); 
21388 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) { 
21389     return (void *)((wxControl 
*)  ((wxControlWithItems 
*) x
)); 
21391 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) { 
21392     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxContextMenuEvent 
*) x
)); 
21394 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) { 
21395     return (void *)((wxEvent 
*)  ((wxMenuEvent 
*) x
)); 
21397 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) { 
21398     return (void *)((wxEvent 
*)  ((wxCloseEvent 
*) x
)); 
21400 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) { 
21401     return (void *)((wxEvent 
*)  ((wxMouseEvent 
*) x
)); 
21403 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) { 
21404     return (void *)((wxEvent 
*)  ((wxEraseEvent 
*) x
)); 
21406 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) { 
21407     return (void *)((wxEvent 
*)  ((wxSetCursorEvent 
*) x
)); 
21409 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) { 
21410     return (void *)((wxEvent 
*) (wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxSplitterEvent 
*) x
)); 
21412 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) { 
21413     return (void *)((wxEvent 
*)  ((wxInitDialogEvent 
*) x
)); 
21415 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) { 
21416     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxScrollEvent 
*) x
)); 
21418 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) { 
21419     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxFindDialogEvent 
*) x
)); 
21421 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) { 
21422     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxNotifyEvent 
*) x
)); 
21424 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) { 
21425     return (void *)((wxEvent 
*)  ((wxMouseCaptureLostEvent 
*) x
)); 
21427 static void *_p_wxPyEventTo_p_wxEvent(void *x
) { 
21428     return (void *)((wxEvent 
*)  ((wxPyEvent 
*) x
)); 
21430 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) { 
21431     return (void *)((wxEvent 
*)  ((wxCalculateLayoutEvent 
*) x
)); 
21433 static void *_p_wxGridRangeSelectEventTo_p_wxEvent(void *x
) { 
21434     return (void *)((wxEvent 
*) (wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxGridRangeSelectEvent 
*) x
)); 
21436 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) { 
21437     return (void *)((wxEvent 
*)  ((wxIdleEvent 
*) x
)); 
21439 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) { 
21440     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxWindowCreateEvent 
*) x
)); 
21442 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) { 
21443     return (void *)((wxEvent 
*)  ((wxQueryNewPaletteEvent 
*) x
)); 
21445 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) { 
21446     return (void *)((wxEvent 
*)  ((wxMaximizeEvent 
*) x
)); 
21448 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) { 
21449     return (void *)((wxEvent 
*)  ((wxIconizeEvent 
*) x
)); 
21451 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) { 
21452     return (void *)((wxEvent 
*)  ((wxActivateEvent 
*) x
)); 
21454 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) { 
21455     return (void *)((wxEvent 
*)  ((wxSizeEvent 
*) x
)); 
21457 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) { 
21458     return (void *)((wxEvent 
*)  ((wxMoveEvent 
*) x
)); 
21460 static void *_p_wxDateEventTo_p_wxEvent(void *x
) { 
21461     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxDateEvent 
*) x
)); 
21463 static void *_p_wxGridSizeEventTo_p_wxEvent(void *x
) { 
21464     return (void *)((wxEvent 
*) (wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxGridSizeEvent 
*) x
)); 
21466 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) { 
21467     return (void *)((wxEvent 
*)  ((wxPaintEvent 
*) x
)); 
21469 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) { 
21470     return (void *)((wxEvent 
*)  ((wxNcPaintEvent 
*) x
)); 
21472 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) { 
21473     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxClipboardTextEvent 
*) x
)); 
21475 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) { 
21476     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxUpdateUIEvent 
*) x
)); 
21478 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) { 
21479     return (void *)((wxEvent 
*)  ((wxPaletteChangedEvent 
*) x
)); 
21481 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) { 
21482     return (void *)((wxEvent 
*)  ((wxDisplayChangedEvent 
*) x
)); 
21484 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) { 
21485     return (void *)((wxEvent 
*)  ((wxMouseCaptureChangedEvent 
*) x
)); 
21487 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) { 
21488     return (void *)((wxEvent 
*)  ((wxSysColourChangedEvent 
*) x
)); 
21490 static void *_p_wxGridEventTo_p_wxEvent(void *x
) { 
21491     return (void *)((wxEvent 
*) (wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxGridEvent 
*) x
)); 
21493 static void *_p_wxGridEditorCreatedEventTo_p_wxEvent(void *x
) { 
21494     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxGridEditorCreatedEvent 
*) x
)); 
21496 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) { 
21497     return (void *)((wxEvent 
*)  ((wxDropFilesEvent 
*) x
)); 
21499 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) { 
21500     return (void *)((wxEvent 
*)  ((wxFocusEvent 
*) x
)); 
21502 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) { 
21503     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxChildFocusEvent 
*) x
)); 
21505 static void *_p_wxSashEventTo_p_wxEvent(void *x
) { 
21506     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxSashEvent 
*) x
)); 
21508 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) { 
21509     return (void *)((wxEvent 
*)  ((wxQueryLayoutInfoEvent 
*) x
)); 
21511 static void *_p_wxShowEventTo_p_wxEvent(void *x
) { 
21512     return (void *)((wxEvent 
*)  ((wxShowEvent 
*) x
)); 
21514 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) { 
21515     return (void *)((wxEvent 
*)  ((wxCommandEvent 
*) x
)); 
21517 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) { 
21518     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxPyCommandEvent 
*) x
)); 
21520 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) { 
21521     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxWindowDestroyEvent 
*) x
)); 
21523 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) { 
21524     return (void *)((wxEvent 
*)  ((wxNavigationKeyEvent 
*) x
)); 
21526 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) { 
21527     return (void *)((wxEvent 
*)  ((wxKeyEvent 
*) x
)); 
21529 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) { 
21530     return (void *)((wxEvent 
*)  ((wxScrollWinEvent 
*) x
)); 
21532 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) { 
21533     return (void *)((wxEvent 
*)  ((wxTaskBarIconEvent 
*) x
)); 
21535 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) { 
21536     return (void *)((wxObject 
*)  ((wxLayoutConstraints 
*) x
)); 
21538 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) { 
21539     return (void *)((wxObject 
*) (wxEvent 
*) ((wxQueryLayoutInfoEvent 
*) x
)); 
21541 static void *_p_wxEventBlockerTo_p_wxObject(void *x
) { 
21542     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxEventBlocker 
*) x
)); 
21544 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) { 
21545     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxPreviewFrame 
*) x
)); 
21547 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) { 
21548     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*)(wxPreviewFrame 
*) ((wxPyPreviewFrame 
*) x
)); 
21550 static void *_p_wxSizerItemTo_p_wxObject(void *x
) { 
21551     return (void *)((wxObject 
*)  ((wxSizerItem 
*) x
)); 
21553 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) { 
21554     return (void *)((wxObject 
*) (wxSizerItem 
*) ((wxGBSizerItem 
*) x
)); 
21556 static void *_p_wxScrollEventTo_p_wxObject(void *x
) { 
21557     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxScrollEvent 
*) x
)); 
21559 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) { 
21560     return (void *)((wxObject 
*)  ((wxIndividualLayoutConstraint 
*) x
)); 
21562 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) { 
21563     return (void *)((wxObject 
*) (wxSizer 
*)(wxBoxSizer 
*) ((wxStaticBoxSizer 
*) x
)); 
21565 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) { 
21566     return (void *)((wxObject 
*) (wxSizer 
*) ((wxBoxSizer 
*) x
)); 
21568 static void *_p_wxSizerTo_p_wxObject(void *x
) { 
21569     return (void *)((wxObject 
*)  ((wxSizer 
*) x
)); 
21571 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) { 
21572     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*)(wxFlexGridSizer 
*) ((wxGridBagSizer 
*) x
)); 
21574 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) { 
21575     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxUpdateUIEvent 
*) x
)); 
21577 static void *_p_wxPyPanelTo_p_wxObject(void *x
) { 
21578     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*) ((wxPyPanel 
*) x
)); 
21580 static void *_p_wxEventTo_p_wxObject(void *x
) { 
21581     return (void *)((wxObject 
*)  ((wxEvent 
*) x
)); 
21583 static void *_p_wxFontDataTo_p_wxObject(void *x
) { 
21584     return (void *)((wxObject 
*)  ((wxFontData 
*) x
)); 
21586 static void *_p_wxPrintDataTo_p_wxObject(void *x
) { 
21587     return (void *)((wxObject 
*)  ((wxPrintData 
*) x
)); 
21589 static void *_p_wxGridSizerTo_p_wxObject(void *x
) { 
21590     return (void *)((wxObject 
*) (wxSizer 
*) ((wxGridSizer 
*) x
)); 
21592 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) { 
21593     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*) ((wxFlexGridSizer 
*) x
)); 
21595 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) { 
21596     return (void *)((wxObject 
*) (wxEvent 
*) ((wxInitDialogEvent 
*) x
)); 
21598 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) { 
21599     return (void *)((wxObject 
*)  ((wxLayoutAlgorithm 
*) x
)); 
21601 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) { 
21602     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxPyTaskBarIcon 
*) x
)); 
21604 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) { 
21605     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxFindDialogEvent 
*) x
)); 
21607 static void *_p_wxGridStringTableTo_p_wxObject(void *x
) { 
21608     return (void *)((wxObject 
*) (wxGridTableBase 
*) ((wxGridStringTable 
*) x
)); 
21610 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) { 
21611     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxClipboardTextEvent 
*) x
)); 
21613 static void *_p_wxPaintEventTo_p_wxObject(void *x
) { 
21614     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaintEvent 
*) x
)); 
21616 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) { 
21617     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNcPaintEvent 
*) x
)); 
21619 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) { 
21620     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaletteChangedEvent 
*) x
)); 
21622 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) { 
21623     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDisplayChangedEvent 
*) x
)); 
21625 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) { 
21626     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseCaptureChangedEvent 
*) x
)); 
21628 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) { 
21629     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSysColourChangedEvent 
*) x
)); 
21631 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) { 
21632     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*)(wxScrolledWindow 
*) ((wxPreviewCanvas 
*) x
)); 
21634 static void *_p_wxGridEventTo_p_wxObject(void *x
) { 
21635     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxGridEvent 
*) x
)); 
21637 static void *_p_wxGridEditorCreatedEventTo_p_wxObject(void *x
) { 
21638     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxGridEditorCreatedEvent 
*) x
)); 
21640 static void *_p_wxControlTo_p_wxObject(void *x
) { 
21641     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxControl 
*) x
)); 
21643 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) { 
21644     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSetCursorEvent 
*) x
)); 
21646 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) { 
21647     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxSplitterEvent 
*) x
)); 
21649 static void *_p_wxFSFileTo_p_wxObject(void *x
) { 
21650     return (void *)((wxObject 
*)  ((wxFSFile 
*) x
)); 
21652 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) { 
21653     return (void *)((wxObject 
*)  ((wxFindReplaceData 
*) x
)); 
21655 static void *_p_wxGridTo_p_wxObject(void *x
) { 
21656     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*)(wxScrolledWindow 
*) ((wxGrid 
*) x
)); 
21658 static void *_p_wxPySizerTo_p_wxObject(void *x
) { 
21659     return (void *)((wxObject 
*) (wxSizer 
*) ((wxPySizer 
*) x
)); 
21661 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) { 
21662     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIChildFrame 
*) x
)); 
21664 static void *_p_wxColourDataTo_p_wxObject(void *x
) { 
21665     return (void *)((wxObject 
*)  ((wxColourData 
*) x
)); 
21667 static void *_p_wxPyEventTo_p_wxObject(void *x
) { 
21668     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPyEvent 
*) x
)); 
21670 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) { 
21671     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxNotifyEvent 
*) x
)); 
21673 static void *_p_wxPyWindowTo_p_wxObject(void *x
) { 
21674     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxPyWindow 
*) x
)); 
21676 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) { 
21677     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxSplashScreen 
*) x
)); 
21679 static void *_p_wxFileDialogTo_p_wxObject(void *x
) { 
21680     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFileDialog 
*) x
)); 
21682 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) { 
21683     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxMultiChoiceDialog 
*) x
)); 
21685 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) { 
21686     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxSingleChoiceDialog 
*) x
)); 
21688 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) { 
21689     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxTextEntryDialog 
*) x
)); 
21691 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) { 
21692     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*)(wxTextEntryDialog 
*) ((wxPasswordEntryDialog 
*) x
)); 
21694 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x
) { 
21695     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxNumberEntryDialog 
*) x
)); 
21697 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) { 
21698     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxMessageDialog 
*) x
)); 
21700 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) { 
21701     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxProgressDialog 
*) x
)); 
21703 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) { 
21704     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFindReplaceDialog 
*) x
)); 
21706 static void *_p_wxShowEventTo_p_wxObject(void *x
) { 
21707     return (void *)((wxObject 
*) (wxEvent 
*) ((wxShowEvent 
*) x
)); 
21709 static void *_p_wxPrinterTo_p_wxObject(void *x
) { 
21710     return (void *)((wxObject 
*)  ((wxPrinter 
*) x
)); 
21712 static void *_p_wxMenuItemTo_p_wxObject(void *x
) { 
21713     return (void *)((wxObject 
*)  ((wxMenuItem 
*) x
)); 
21715 static void *_p_wxDateEventTo_p_wxObject(void *x
) { 
21716     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxDateEvent 
*) x
)); 
21718 static void *_p_wxIdleEventTo_p_wxObject(void *x
) { 
21719     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIdleEvent 
*) x
)); 
21721 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) { 
21722     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowCreateEvent 
*) x
)); 
21724 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) { 
21725     return (void *)((wxObject 
*) (wxEvent 
*) ((wxQueryNewPaletteEvent 
*) x
)); 
21727 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) { 
21728     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMaximizeEvent 
*) x
)); 
21730 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) { 
21731     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIconizeEvent 
*) x
)); 
21733 static void *_p_wxSizeEventTo_p_wxObject(void *x
) { 
21734     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSizeEvent 
*) x
)); 
21736 static void *_p_wxMoveEventTo_p_wxObject(void *x
) { 
21737     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMoveEvent 
*) x
)); 
21739 static void *_p_wxActivateEventTo_p_wxObject(void *x
) { 
21740     return (void *)((wxObject 
*) (wxEvent 
*) ((wxActivateEvent 
*) x
)); 
21742 static void *_p_wxGridSizeEventTo_p_wxObject(void *x
) { 
21743     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxGridSizeEvent 
*) x
)); 
21745 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) { 
21746     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNMHandler 
*) x
)); 
21748 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) { 
21749     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxJPEGHandler 
*) x
)); 
21751 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) { 
21752     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPCXHandler 
*) x
)); 
21754 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) { 
21755     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxGIFHandler 
*) x
)); 
21757 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) { 
21758     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNGHandler 
*) x
)); 
21760 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) { 
21761     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*)(wxCURHandler 
*) ((wxANIHandler 
*) x
)); 
21763 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) { 
21764     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*) ((wxCURHandler 
*) x
)); 
21766 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) { 
21767     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*) ((wxICOHandler 
*) x
)); 
21769 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) { 
21770     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxBMPHandler 
*) x
)); 
21772 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) { 
21773     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPyImageHandler 
*) x
)); 
21775 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) { 
21776     return (void *)((wxObject 
*)  ((wxImageHandler 
*) x
)); 
21778 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) { 
21779     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxXPMHandler 
*) x
)); 
21781 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) { 
21782     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxTIFFHandler 
*) x
)); 
21784 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) { 
21785     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxTGAHandler 
*) x
)); 
21787 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) { 
21788     return (void *)((wxObject 
*)  ((wxEvtHandler 
*) x
)); 
21790 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) { 
21791     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseCaptureLostEvent 
*) x
)); 
21793 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) { 
21794     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCalculateLayoutEvent 
*) x
)); 
21796 static void *_p_wxGridRangeSelectEventTo_p_wxObject(void *x
) { 
21797     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxGridRangeSelectEvent 
*) x
)); 
21799 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) { 
21800     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*)(wxPyVScrolledWindow 
*) ((wxPyVListBox 
*) x
)); 
21802 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) { 
21803     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*)(wxPyVScrolledWindow 
*)(wxPyVListBox 
*) ((wxPyHtmlListBox 
*) x
)); 
21805 static void *_p_wxSimpleHtmlListBoxTo_p_wxObject(void *x
) { 
21806     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*)(wxPyVScrolledWindow 
*)(wxPyVListBox 
*)(wxPyHtmlListBox 
*) ((wxSimpleHtmlListBox 
*) x
)); 
21808 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) { 
21809     return (void *)((wxObject 
*)  ((wxAcceleratorTable 
*) x
)); 
21811 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) { 
21812     return (void *)((wxObject 
*) (wxSizer 
*)(wxBoxSizer 
*) ((wxStdDialogButtonSizer 
*) x
)); 
21814 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) { 
21815     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMiniFrame 
*) x
)); 
21817 static void *_p_wxImageTo_p_wxObject(void *x
) { 
21818     return (void *)((wxObject 
*)  ((wxImage 
*) x
)); 
21820 static void *_p_wxFrameTo_p_wxObject(void *x
) { 
21821     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*) ((wxFrame 
*) x
)); 
21823 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) { 
21824     return (void *)((wxObject 
*)  ((wxPyPrintout 
*) x
)); 
21826 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) { 
21827     return (void *)((wxObject 
*) (wxEvent 
*) ((wxScrollWinEvent 
*) x
)); 
21829 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) { 
21830     return (void *)((wxObject 
*) (wxEvent 
*) ((wxTaskBarIconEvent 
*) x
)); 
21832 static void *_p_wxStatusBarTo_p_wxObject(void *x
) { 
21833     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxStatusBar 
*) x
)); 
21835 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) { 
21836     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIParentFrame 
*) x
)); 
21838 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) { 
21839     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowDestroyEvent 
*) x
)); 
21841 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) { 
21842     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNavigationKeyEvent 
*) x
)); 
21844 static void *_p_wxKeyEventTo_p_wxObject(void *x
) { 
21845     return (void *)((wxObject 
*) (wxEvent 
*) ((wxKeyEvent 
*) x
)); 
21847 static void *_p_wxWindowTo_p_wxObject(void *x
) { 
21848     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxWindow 
*) x
)); 
21850 static void *_p_wxMenuTo_p_wxObject(void *x
) { 
21851     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxMenu 
*) x
)); 
21853 static void *_p_wxMenuBarTo_p_wxObject(void *x
) { 
21854     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxMenuBar 
*) x
)); 
21856 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) { 
21857     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*) ((wxScrolledWindow 
*) x
)); 
21859 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) { 
21860     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxTopLevelWindow 
*) x
)); 
21862 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) { 
21863     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxSplashScreenWindow 
*) x
)); 
21865 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) { 
21866     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxSplitterWindow 
*) x
)); 
21868 static void *_p_wxSashWindowTo_p_wxObject(void *x
) { 
21869     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxSashWindow 
*) x
)); 
21871 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) { 
21872     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxSashWindow 
*) ((wxSashLayoutWindow 
*) x
)); 
21874 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) { 
21875     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxPopupWindow 
*) x
)); 
21877 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) { 
21878     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPopupWindow 
*) ((wxPyPopupTransientWindow 
*) x
)); 
21880 static void *_p_wxTipWindowTo_p_wxObject(void *x
) { 
21881     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxTipWindow 
*) x
)); 
21883 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) { 
21884     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*) ((wxPyVScrolledWindow 
*) x
)); 
21886 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) { 
21887     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxMDIClientWindow 
*) x
)); 
21889 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) { 
21890     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*)(wxScrolledWindow 
*) ((wxPyScrolledWindow 
*) x
)); 
21892 static void *_p_wxSashEventTo_p_wxObject(void *x
) { 
21893     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxSashEvent 
*) x
)); 
21895 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) { 
21896     return (void *)((wxObject 
*)  ((wxPrintPreview 
*) x
)); 
21898 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) { 
21899     return (void *)((wxObject 
*) (wxPrintPreview 
*) ((wxPyPrintPreview 
*) x
)); 
21901 static void *_p_wxPanelTo_p_wxObject(void *x
) { 
21902     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxPanel 
*) x
)); 
21904 static void *_p_wxDialogTo_p_wxObject(void *x
) { 
21905     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*) ((wxDialog 
*) x
)); 
21907 static void *_p_wxColourDialogTo_p_wxObject(void *x
) { 
21908     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxColourDialog 
*) x
)); 
21910 static void *_p_wxDirDialogTo_p_wxObject(void *x
) { 
21911     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxDirDialog 
*) x
)); 
21913 static void *_p_wxFontDialogTo_p_wxObject(void *x
) { 
21914     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFontDialog 
*) x
)); 
21916 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) { 
21917     return (void *)((wxObject 
*)  ((wxPageSetupDialog 
*) x
)); 
21919 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) { 
21920     return (void *)((wxObject 
*)  ((wxPrintDialog 
*) x
)); 
21922 static void *_p_wxFileSystemTo_p_wxObject(void *x
) { 
21923     return (void *)((wxObject 
*)  ((wxFileSystem 
*) x
)); 
21925 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) { 
21926     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxContextMenuEvent 
*) x
)); 
21928 static void *_p_wxMenuEventTo_p_wxObject(void *x
) { 
21929     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMenuEvent 
*) x
)); 
21931 static void *_p_wxPyAppTo_p_wxObject(void *x
) { 
21932     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxPyApp 
*) x
)); 
21934 static void *_p_wxCloseEventTo_p_wxObject(void *x
) { 
21935     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCloseEvent 
*) x
)); 
21937 static void *_p_wxMouseEventTo_p_wxObject(void *x
) { 
21938     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseEvent 
*) x
)); 
21940 static void *_p_wxEraseEventTo_p_wxObject(void *x
) { 
21941     return (void *)((wxObject 
*) (wxEvent 
*) ((wxEraseEvent 
*) x
)); 
21943 static void *_p_wxGridTableBaseTo_p_wxObject(void *x
) { 
21944     return (void *)((wxObject 
*)  ((wxGridTableBase 
*) x
)); 
21946 static void *_p_wxPyGridTableBaseTo_p_wxObject(void *x
) { 
21947     return (void *)((wxObject 
*) (wxGridTableBase 
*) ((wxPyGridTableBase 
*) x
)); 
21949 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) { 
21950     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxPyCommandEvent 
*) x
)); 
21952 static void *_p_wxCommandEventTo_p_wxObject(void *x
) { 
21953     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCommandEvent 
*) x
)); 
21955 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) { 
21956     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*) ((wxPreviewControlBar 
*) x
)); 
21958 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) { 
21959     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*)(wxPreviewControlBar 
*) ((wxPyPreviewControlBar 
*) x
)); 
21961 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) { 
21962     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDropFilesEvent 
*) x
)); 
21964 static void *_p_wxFocusEventTo_p_wxObject(void *x
) { 
21965     return (void *)((wxObject 
*) (wxEvent 
*) ((wxFocusEvent 
*) x
)); 
21967 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) { 
21968     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxChildFocusEvent 
*) x
)); 
21970 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) { 
21971     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxControlWithItems 
*) x
)); 
21973 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) { 
21974     return (void *)((wxObject 
*)  ((wxPageSetupDialogData 
*) x
)); 
21976 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) { 
21977     return (void *)((wxObject 
*)  ((wxPrintDialogData 
*) x
)); 
21979 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) { 
21980     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxValidator 
*) ((wxPyValidator 
*) x
)); 
21982 static void *_p_wxValidatorTo_p_wxObject(void *x
) { 
21983     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxValidator 
*) x
)); 
21985 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) { 
21986     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxSplashScreen 
*) x
)); 
21988 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) { 
21989     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMiniFrame 
*) x
)); 
21991 static void *_p_wxEventBlockerTo_p_wxEvtHandler(void *x
) { 
21992     return (void *)((wxEvtHandler 
*)  ((wxEventBlocker 
*) x
)); 
21994 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) { 
21995     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*) ((wxPyPanel 
*) x
)); 
21997 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) { 
21998     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxMenuBar 
*) x
)); 
22000 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) { 
22001     return (void *)((wxEvtHandler 
*)  ((wxValidator 
*) x
)); 
22003 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) { 
22004     return (void *)((wxEvtHandler 
*) (wxValidator 
*) ((wxPyValidator 
*) x
)); 
22006 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) { 
22007     return (void *)((wxEvtHandler 
*)  ((wxMenu 
*) x
)); 
22009 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) { 
22010     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxSingleChoiceDialog 
*) x
)); 
22012 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) { 
22013     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxMultiChoiceDialog 
*) x
)); 
22015 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) { 
22016     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFileDialog 
*) x
)); 
22018 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) { 
22019     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxTextEntryDialog 
*) x
)); 
22021 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) { 
22022     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*)(wxTextEntryDialog 
*) ((wxPasswordEntryDialog 
*) x
)); 
22024 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x
) { 
22025     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxNumberEntryDialog 
*) x
)); 
22027 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) { 
22028     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxMessageDialog 
*) x
)); 
22030 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) { 
22031     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxProgressDialog 
*) x
)); 
22033 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) { 
22034     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFindReplaceDialog 
*) x
)); 
22036 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) { 
22037     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxPanel 
*) x
)); 
22039 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) { 
22040     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxStatusBar 
*) x
)); 
22042 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) { 
22043     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*) ((wxPyVScrolledWindow 
*) x
)); 
22045 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) { 
22046     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxTipWindow 
*) x
)); 
22048 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) { 
22049     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPopupWindow 
*) ((wxPyPopupTransientWindow 
*) x
)); 
22051 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) { 
22052     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxPopupWindow 
*) x
)); 
22054 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) { 
22055     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxSashWindow 
*) ((wxSashLayoutWindow 
*) x
)); 
22057 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) { 
22058     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxSashWindow 
*) x
)); 
22060 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) { 
22061     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxSplitterWindow 
*) x
)); 
22063 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) { 
22064     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxSplashScreenWindow 
*) x
)); 
22066 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) { 
22067     return (void *)((wxEvtHandler 
*)  ((wxWindow 
*) x
)); 
22069 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) { 
22070     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*) ((wxScrolledWindow 
*) x
)); 
22072 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) { 
22073     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxTopLevelWindow 
*) x
)); 
22075 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) { 
22076     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxMDIClientWindow 
*) x
)); 
22078 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) { 
22079     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*)(wxScrolledWindow 
*) ((wxPyScrolledWindow 
*) x
)); 
22081 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) { 
22082     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxControl 
*) x
)); 
22084 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) { 
22085     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxPreviewFrame 
*) x
)); 
22087 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) { 
22088     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*)(wxPreviewFrame 
*) ((wxPyPreviewFrame 
*) x
)); 
22090 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) { 
22091     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIChildFrame 
*) x
)); 
22093 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) { 
22094     return (void *)((wxEvtHandler 
*)  ((wxPyApp 
*) x
)); 
22096 static void *_p_wxGridTo_p_wxEvtHandler(void *x
) { 
22097     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*)(wxScrolledWindow 
*) ((wxGrid 
*) x
)); 
22099 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) { 
22100     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxControlWithItems 
*) x
)); 
22102 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) { 
22103     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxPyWindow 
*) x
)); 
22105 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) { 
22106     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*)(wxScrolledWindow 
*) ((wxPreviewCanvas 
*) x
)); 
22108 static void *_p_wxSimpleHtmlListBoxTo_p_wxEvtHandler(void *x
) { 
22109     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*)(wxPyVScrolledWindow 
*)(wxPyVListBox 
*)(wxPyHtmlListBox 
*) ((wxSimpleHtmlListBox 
*) x
)); 
22111 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) { 
22112     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*)(wxPyVScrolledWindow 
*)(wxPyVListBox 
*) ((wxPyHtmlListBox 
*) x
)); 
22114 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) { 
22115     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*)(wxPyVScrolledWindow 
*) ((wxPyVListBox 
*) x
)); 
22117 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) { 
22118     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*) ((wxPreviewControlBar 
*) x
)); 
22120 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) { 
22121     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*)(wxPreviewControlBar 
*) ((wxPyPreviewControlBar 
*) x
)); 
22123 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) { 
22124     return (void *)((wxEvtHandler 
*)  ((wxPyTaskBarIcon 
*) x
)); 
22126 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) { 
22127     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*) ((wxFrame 
*) x
)); 
22129 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) { 
22130     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxDirDialog 
*) x
)); 
22132 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) { 
22133     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxColourDialog 
*) x
)); 
22135 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) { 
22136     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*) ((wxDialog 
*) x
)); 
22138 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) { 
22139     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFontDialog 
*) x
)); 
22141 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) { 
22142     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIParentFrame 
*) x
)); 
22144 static void *_p_wxGridStringTableTo_p_wxGridTableBase(void *x
) { 
22145     return (void *)((wxGridTableBase 
*)  ((wxGridStringTable 
*) x
)); 
22147 static void *_p_wxPyGridTableBaseTo_p_wxGridTableBase(void *x
) { 
22148     return (void *)((wxGridTableBase 
*)  ((wxPyGridTableBase 
*) x
)); 
22150 static void *_p_wxPyGridCellEditorTo_p_wxGridCellEditor(void *x
) { 
22151     return (void *)((wxGridCellEditor 
*)  ((wxPyGridCellEditor 
*) x
)); 
22153 static void *_p_wxGridCellTextEditorTo_p_wxGridCellEditor(void *x
) { 
22154     return (void *)((wxGridCellEditor 
*)  ((wxGridCellTextEditor 
*) x
)); 
22156 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellEditor(void *x
) { 
22157     return (void *)((wxGridCellEditor 
*) (wxGridCellTextEditor 
*) ((wxGridCellNumberEditor 
*) x
)); 
22159 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellEditor(void *x
) { 
22160     return (void *)((wxGridCellEditor 
*) (wxGridCellTextEditor 
*) ((wxGridCellFloatEditor 
*) x
)); 
22162 static void *_p_wxGridCellBoolEditorTo_p_wxGridCellEditor(void *x
) { 
22163     return (void *)((wxGridCellEditor 
*)  ((wxGridCellBoolEditor 
*) x
)); 
22165 static void *_p_wxGridCellChoiceEditorTo_p_wxGridCellEditor(void *x
) { 
22166     return (void *)((wxGridCellEditor 
*)  ((wxGridCellChoiceEditor 
*) x
)); 
22168 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellEditor(void *x
) { 
22169     return (void *)((wxGridCellEditor 
*) (wxGridCellChoiceEditor 
*) ((wxGridCellEnumEditor 
*) x
)); 
22171 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellEditor(void *x
) { 
22172     return (void *)((wxGridCellEditor 
*) (wxGridCellTextEditor 
*) ((wxGridCellAutoWrapStringEditor 
*) x
)); 
22174 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellTextEditor(void *x
) { 
22175     return (void *)((wxGridCellTextEditor 
*)  ((wxGridCellNumberEditor 
*) x
)); 
22177 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellTextEditor(void *x
) { 
22178     return (void *)((wxGridCellTextEditor 
*)  ((wxGridCellFloatEditor 
*) x
)); 
22180 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellTextEditor(void *x
) { 
22181     return (void *)((wxGridCellTextEditor 
*)  ((wxGridCellAutoWrapStringEditor 
*) x
)); 
22183 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) { 
22184     return (void *)((wxCommandEvent 
*)  ((wxSashEvent 
*) x
)); 
22186 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) { 
22187     return (void *)((wxCommandEvent 
*)  ((wxWindowDestroyEvent 
*) x
)); 
22189 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) { 
22190     return (void *)((wxCommandEvent 
*) (wxNotifyEvent 
*) ((wxSplitterEvent 
*) x
)); 
22192 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) { 
22193     return (void *)((wxCommandEvent 
*)  ((wxClipboardTextEvent 
*) x
)); 
22195 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) { 
22196     return (void *)((wxCommandEvent 
*)  ((wxScrollEvent 
*) x
)); 
22198 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) { 
22199     return (void *)((wxCommandEvent 
*)  ((wxPyCommandEvent 
*) x
)); 
22201 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) { 
22202     return (void *)((wxCommandEvent 
*)  ((wxContextMenuEvent 
*) x
)); 
22204 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) { 
22205     return (void *)((wxCommandEvent 
*)  ((wxChildFocusEvent 
*) x
)); 
22207 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) { 
22208     return (void *)((wxCommandEvent 
*)  ((wxDateEvent 
*) x
)); 
22210 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) { 
22211     return (void *)((wxCommandEvent 
*)  ((wxWindowCreateEvent 
*) x
)); 
22213 static void *_p_wxGridSizeEventTo_p_wxCommandEvent(void *x
) { 
22214     return (void *)((wxCommandEvent 
*) (wxNotifyEvent 
*) ((wxGridSizeEvent 
*) x
)); 
22216 static void *_p_wxGridRangeSelectEventTo_p_wxCommandEvent(void *x
) { 
22217     return (void *)((wxCommandEvent 
*) (wxNotifyEvent 
*) ((wxGridRangeSelectEvent 
*) x
)); 
22219 static void *_p_wxGridEventTo_p_wxCommandEvent(void *x
) { 
22220     return (void *)((wxCommandEvent 
*) (wxNotifyEvent 
*) ((wxGridEvent 
*) x
)); 
22222 static void *_p_wxGridEditorCreatedEventTo_p_wxCommandEvent(void *x
) { 
22223     return (void *)((wxCommandEvent 
*)  ((wxGridEditorCreatedEvent 
*) x
)); 
22225 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) { 
22226     return (void *)((wxCommandEvent 
*)  ((wxNotifyEvent 
*) x
)); 
22228 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) { 
22229     return (void *)((wxCommandEvent 
*)  ((wxFindDialogEvent 
*) x
)); 
22231 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) { 
22232     return (void *)((wxCommandEvent 
*)  ((wxUpdateUIEvent 
*) x
)); 
22234 static void *_p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider(void *x
) { 
22235     return (void *)((wxGridCellAttrProvider 
*)  ((wxPyGridCellAttrProvider 
*) x
)); 
22237 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor(void *x
) { 
22238     return (void *)((wxGridCellChoiceEditor 
*)  ((wxGridCellEnumEditor 
*) x
)); 
22240 static swig_type_info _swigt__p_char 
= {"_p_char", "char *", 0, 0, (void*)0, 0}; 
22241 static swig_type_info _swigt__p_form_ops_t 
= {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, (void*)0, 0}; 
22242 static swig_type_info _swigt__p_int 
= {"_p_int", "int *", 0, 0, (void*)0, 0}; 
22243 static swig_type_info _swigt__p_long 
= {"_p_long", "long *", 0, 0, (void*)0, 0}; 
22244 static swig_type_info _swigt__p_unsigned_char 
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0}; 
22245 static swig_type_info _swigt__p_unsigned_int 
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0}; 
22246 static swig_type_info _swigt__p_unsigned_long 
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0}; 
22247 static swig_type_info _swigt__p_wxArrayString 
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0}; 
22248 static swig_type_info _swigt__p_wxColour 
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0}; 
22249 static swig_type_info _swigt__p_wxCommandEvent 
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0}; 
22250 static swig_type_info _swigt__p_wxSashEvent 
= {"_p_wxSashEvent", 0, 0, 0, 0, 0}; 
22251 static swig_type_info _swigt__p_wxWindowDestroyEvent 
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0}; 
22252 static swig_type_info _swigt__p_wxSplitterEvent 
= {"_p_wxSplitterEvent", 0, 0, 0, 0, 0}; 
22253 static swig_type_info _swigt__p_wxClipboardTextEvent 
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0}; 
22254 static swig_type_info _swigt__p_wxScrollEvent 
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0}; 
22255 static swig_type_info _swigt__p_wxPyCommandEvent 
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0}; 
22256 static swig_type_info _swigt__p_wxContextMenuEvent 
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0}; 
22257 static swig_type_info _swigt__p_wxChildFocusEvent 
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0}; 
22258 static swig_type_info _swigt__p_wxDateEvent 
= {"_p_wxDateEvent", 0, 0, 0, 0, 0}; 
22259 static swig_type_info _swigt__p_wxWindowCreateEvent 
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0}; 
22260 static swig_type_info _swigt__p_wxFindDialogEvent 
= {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0}; 
22261 static swig_type_info _swigt__p_wxUpdateUIEvent 
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0}; 
22262 static swig_type_info _swigt__p_wxControl 
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0}; 
22263 static swig_type_info _swigt__p_wxControlWithItems 
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0}; 
22264 static swig_type_info _swigt__p_wxDC 
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0}; 
22265 static swig_type_info _swigt__p_wxDuplexMode 
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0}; 
22266 static swig_type_info _swigt__p_wxEvent 
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0}; 
22267 static swig_type_info _swigt__p_wxMenuEvent 
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0}; 
22268 static swig_type_info _swigt__p_wxCloseEvent 
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0}; 
22269 static swig_type_info _swigt__p_wxMouseEvent 
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0}; 
22270 static swig_type_info _swigt__p_wxEraseEvent 
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0}; 
22271 static swig_type_info _swigt__p_wxSetCursorEvent 
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0}; 
22272 static swig_type_info _swigt__p_wxInitDialogEvent 
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0}; 
22273 static swig_type_info _swigt__p_wxPyEvent 
= {"_p_wxPyEvent", 0, 0, 0, 0, 0}; 
22274 static swig_type_info _swigt__p_wxMouseCaptureLostEvent 
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0}; 
22275 static swig_type_info _swigt__p_wxCalculateLayoutEvent 
= {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0}; 
22276 static swig_type_info _swigt__p_wxIdleEvent 
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0}; 
22277 static swig_type_info _swigt__p_wxQueryNewPaletteEvent 
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0}; 
22278 static swig_type_info _swigt__p_wxMaximizeEvent 
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0}; 
22279 static swig_type_info _swigt__p_wxIconizeEvent 
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0}; 
22280 static swig_type_info _swigt__p_wxActivateEvent 
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0}; 
22281 static swig_type_info _swigt__p_wxSizeEvent 
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0}; 
22282 static swig_type_info _swigt__p_wxMoveEvent 
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0}; 
22283 static swig_type_info _swigt__p_wxPaintEvent 
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0}; 
22284 static swig_type_info _swigt__p_wxNcPaintEvent 
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0}; 
22285 static swig_type_info _swigt__p_wxDisplayChangedEvent 
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0}; 
22286 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent 
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0}; 
22287 static swig_type_info _swigt__p_wxSysColourChangedEvent 
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0}; 
22288 static swig_type_info _swigt__p_wxPaletteChangedEvent 
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0}; 
22289 static swig_type_info _swigt__p_wxDropFilesEvent 
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0}; 
22290 static swig_type_info _swigt__p_wxFocusEvent 
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0}; 
22291 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent 
= {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0}; 
22292 static swig_type_info _swigt__p_wxShowEvent 
= {"_p_wxShowEvent", 0, 0, 0, 0, 0}; 
22293 static swig_type_info _swigt__p_wxNavigationKeyEvent 
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0}; 
22294 static swig_type_info _swigt__p_wxScrollWinEvent 
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0}; 
22295 static swig_type_info _swigt__p_wxTaskBarIconEvent 
= {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0}; 
22296 static swig_type_info _swigt__p_wxEvtHandler 
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0}; 
22297 static swig_type_info _swigt__p_wxSplashScreen 
= {"_p_wxSplashScreen", 0, 0, 0, 0, 0}; 
22298 static swig_type_info _swigt__p_wxMiniFrame 
= {"_p_wxMiniFrame", 0, 0, 0, 0, 0}; 
22299 static swig_type_info _swigt__p_wxPyPanel 
= {"_p_wxPyPanel", 0, 0, 0, 0, 0}; 
22300 static swig_type_info _swigt__p_wxEventBlocker 
= {"_p_wxEventBlocker", 0, 0, 0, 0, 0}; 
22301 static swig_type_info _swigt__p_wxMenuBar 
= {"_p_wxMenuBar", 0, 0, 0, 0, 0}; 
22302 static swig_type_info _swigt__p_wxValidator 
= {"_p_wxValidator", 0, 0, 0, 0, 0}; 
22303 static swig_type_info _swigt__p_wxPyValidator 
= {"_p_wxPyValidator", 0, 0, 0, 0, 0}; 
22304 static swig_type_info _swigt__p_wxPasswordEntryDialog 
= {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0}; 
22305 static swig_type_info _swigt__p_wxTextEntryDialog 
= {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0}; 
22306 static swig_type_info _swigt__p_wxFileDialog 
= {"_p_wxFileDialog", 0, 0, 0, 0, 0}; 
22307 static swig_type_info _swigt__p_wxMultiChoiceDialog 
= {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0}; 
22308 static swig_type_info _swigt__p_wxFindReplaceDialog 
= {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0}; 
22309 static swig_type_info _swigt__p_wxProgressDialog 
= {"_p_wxProgressDialog", 0, 0, 0, 0, 0}; 
22310 static swig_type_info _swigt__p_wxMessageDialog 
= {"_p_wxMessageDialog", 0, 0, 0, 0, 0}; 
22311 static swig_type_info _swigt__p_wxNumberEntryDialog 
= {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0}; 
22312 static swig_type_info _swigt__p_wxSingleChoiceDialog 
= {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0}; 
22313 static swig_type_info _swigt__p_wxStatusBar 
= {"_p_wxStatusBar", 0, 0, 0, 0, 0}; 
22314 static swig_type_info _swigt__p_wxSplitterWindow 
= {"_p_wxSplitterWindow", 0, 0, 0, 0, 0}; 
22315 static swig_type_info _swigt__p_wxSashWindow 
= {"_p_wxSashWindow", 0, 0, 0, 0, 0}; 
22316 static swig_type_info _swigt__p_wxTopLevelWindow 
= {"_p_wxTopLevelWindow", 0, 0, 0, 0, 0}; 
22317 static swig_type_info _swigt__p_wxMDIClientWindow 
= {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0}; 
22318 static swig_type_info _swigt__p_wxPyVScrolledWindow 
= {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0}; 
22319 static swig_type_info _swigt__p_wxPyScrolledWindow 
= {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0}; 
22320 static swig_type_info _swigt__p_wxSplashScreenWindow 
= {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0}; 
22321 static swig_type_info _swigt__p_wxSashLayoutWindow 
= {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0}; 
22322 static swig_type_info _swigt__p_wxPopupWindow 
= {"_p_wxPopupWindow", 0, 0, 0, 0, 0}; 
22323 static swig_type_info _swigt__p_wxPyPopupTransientWindow 
= {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0}; 
22324 static swig_type_info _swigt__p_wxTipWindow 
= {"_p_wxTipWindow", 0, 0, 0, 0, 0}; 
22325 static swig_type_info _swigt__p_wxPyPreviewFrame 
= {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0}; 
22326 static swig_type_info _swigt__p_wxPreviewFrame 
= {"_p_wxPreviewFrame", 0, 0, 0, 0, 0}; 
22327 static swig_type_info _swigt__p_wxMDIChildFrame 
= {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0}; 
22328 static swig_type_info _swigt__p_wxPyApp 
= {"_p_wxPyApp", 0, 0, 0, 0, 0}; 
22329 static swig_type_info _swigt__p_wxPreviewCanvas 
= {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0}; 
22330 static swig_type_info _swigt__p_wxPyWindow 
= {"_p_wxPyWindow", 0, 0, 0, 0, 0}; 
22331 static swig_type_info _swigt__p_wxSimpleHtmlListBox 
= {"_p_wxSimpleHtmlListBox", 0, 0, 0, 0, 0}; 
22332 static swig_type_info _swigt__p_wxPyHtmlListBox 
= {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0}; 
22333 static swig_type_info _swigt__p_wxPyVListBox 
= {"_p_wxPyVListBox", 0, 0, 0, 0, 0}; 
22334 static swig_type_info _swigt__p_wxPyPreviewControlBar 
= {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0}; 
22335 static swig_type_info _swigt__p_wxPreviewControlBar 
= {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0}; 
22336 static swig_type_info _swigt__p_wxPyTaskBarIcon 
= {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0}; 
22337 static swig_type_info _swigt__p_wxFrame 
= {"_p_wxFrame", 0, 0, 0, 0, 0}; 
22338 static swig_type_info _swigt__p_wxFontDialog 
= {"_p_wxFontDialog", 0, 0, 0, 0, 0}; 
22339 static swig_type_info _swigt__p_wxDirDialog 
= {"_p_wxDirDialog", 0, 0, 0, 0, 0}; 
22340 static swig_type_info _swigt__p_wxColourDialog 
= {"_p_wxColourDialog", 0, 0, 0, 0, 0}; 
22341 static swig_type_info _swigt__p_wxDialog 
= {"_p_wxDialog", 0, 0, 0, 0, 0}; 
22342 static swig_type_info _swigt__p_wxMenu 
= {"_p_wxMenu", 0, 0, 0, 0, 0}; 
22343 static swig_type_info _swigt__p_wxMDIParentFrame 
= {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0}; 
22344 static swig_type_info _swigt__p_wxFont 
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0}; 
22345 static swig_type_info _swigt__p_wxGrid 
= {"_p_wxGrid", "wxGrid *", 0, 0, (void*)0, 0}; 
22346 static swig_type_info _swigt__p_wxGridCellAttr 
= {"_p_wxGridCellAttr", "wxGridCellAttr *", 0, 0, (void*)0, 0}; 
22347 static swig_type_info _swigt__p_wxGridCellAttrProvider 
= {"_p_wxGridCellAttrProvider", "wxGridCellAttrProvider *", 0, 0, (void*)0, 0}; 
22348 static swig_type_info _swigt__p_wxGridCellAutoWrapStringEditor 
= {"_p_wxGridCellAutoWrapStringEditor", "wxGridCellAutoWrapStringEditor *", 0, 0, (void*)0, 0}; 
22349 static swig_type_info _swigt__p_wxGridCellAutoWrapStringRenderer 
= {"_p_wxGridCellAutoWrapStringRenderer", "wxGridCellAutoWrapStringRenderer *", 0, 0, (void*)0, 0}; 
22350 static swig_type_info _swigt__p_wxGridCellBoolEditor 
= {"_p_wxGridCellBoolEditor", "wxGridCellBoolEditor *", 0, 0, (void*)0, 0}; 
22351 static swig_type_info _swigt__p_wxGridCellBoolRenderer 
= {"_p_wxGridCellBoolRenderer", "wxGridCellBoolRenderer *", 0, 0, (void*)0, 0}; 
22352 static swig_type_info _swigt__p_wxGridCellChoiceEditor 
= {"_p_wxGridCellChoiceEditor", "wxGridCellChoiceEditor *", 0, 0, (void*)0, 0}; 
22353 static swig_type_info _swigt__p_wxGridCellCoords 
= {"_p_wxGridCellCoords", "wxGridCellCoords *", 0, 0, (void*)0, 0}; 
22354 static swig_type_info _swigt__p_wxGridCellDateTimeRenderer 
= {"_p_wxGridCellDateTimeRenderer", "wxGridCellDateTimeRenderer *", 0, 0, (void*)0, 0}; 
22355 static swig_type_info _swigt__p_wxGridCellEditor 
= {"_p_wxGridCellEditor", "wxGridCellEditor *", 0, 0, (void*)0, 0}; 
22356 static swig_type_info _swigt__p_wxGridCellEnumEditor 
= {"_p_wxGridCellEnumEditor", "wxGridCellEnumEditor *", 0, 0, (void*)0, 0}; 
22357 static swig_type_info _swigt__p_wxGridCellEnumRenderer 
= {"_p_wxGridCellEnumRenderer", "wxGridCellEnumRenderer *", 0, 0, (void*)0, 0}; 
22358 static swig_type_info _swigt__p_wxGridCellFloatEditor 
= {"_p_wxGridCellFloatEditor", "wxGridCellFloatEditor *", 0, 0, (void*)0, 0}; 
22359 static swig_type_info _swigt__p_wxGridCellFloatRenderer 
= {"_p_wxGridCellFloatRenderer", "wxGridCellFloatRenderer *", 0, 0, (void*)0, 0}; 
22360 static swig_type_info _swigt__p_wxGridCellNumberEditor 
= {"_p_wxGridCellNumberEditor", "wxGridCellNumberEditor *", 0, 0, (void*)0, 0}; 
22361 static swig_type_info _swigt__p_wxGridCellNumberRenderer 
= {"_p_wxGridCellNumberRenderer", "wxGridCellNumberRenderer *", 0, 0, (void*)0, 0}; 
22362 static swig_type_info _swigt__p_wxGridCellRenderer 
= {"_p_wxGridCellRenderer", "wxGridCellRenderer *", 0, 0, (void*)0, 0}; 
22363 static swig_type_info _swigt__p_wxGridCellStringRenderer 
= {"_p_wxGridCellStringRenderer", "wxGridCellStringRenderer *", 0, 0, (void*)0, 0}; 
22364 static swig_type_info _swigt__p_wxGridCellTextEditor 
= {"_p_wxGridCellTextEditor", "wxGridCellTextEditor *", 0, 0, (void*)0, 0}; 
22365 static swig_type_info _swigt__p_wxGridCellWorker 
= {"_p_wxGridCellWorker", "wxGridCellWorker *", 0, 0, (void*)0, 0}; 
22366 static swig_type_info _swigt__p_wxGridEditorCreatedEvent 
= {"_p_wxGridEditorCreatedEvent", "wxGridEditorCreatedEvent *", 0, 0, (void*)0, 0}; 
22367 static swig_type_info _swigt__p_wxGridEvent 
= {"_p_wxGridEvent", "wxGridEvent *", 0, 0, (void*)0, 0}; 
22368 static swig_type_info _swigt__p_wxGridRangeSelectEvent 
= {"_p_wxGridRangeSelectEvent", "wxGridRangeSelectEvent *", 0, 0, (void*)0, 0}; 
22369 static swig_type_info _swigt__p_wxGridSizeEvent 
= {"_p_wxGridSizeEvent", "wxGridSizeEvent *", 0, 0, (void*)0, 0}; 
22370 static swig_type_info _swigt__p_wxGridStringTable 
= {"_p_wxGridStringTable", "wxGridStringTable *", 0, 0, (void*)0, 0}; 
22371 static swig_type_info _swigt__p_wxGridTableBase 
= {"_p_wxGridTableBase", "wxGridTableBase *", 0, 0, (void*)0, 0}; 
22372 static swig_type_info _swigt__p_wxGridTableMessage 
= {"_p_wxGridTableMessage", "wxGridTableMessage *", 0, 0, (void*)0, 0}; 
22373 static swig_type_info _swigt__p_wxKeyEvent 
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0}; 
22374 static swig_type_info _swigt__p_wxNotifyEvent 
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0}; 
22375 static swig_type_info _swigt__p_wxObject 
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0}; 
22376 static swig_type_info _swigt__p_wxLayoutConstraints 
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0}; 
22377 static swig_type_info _swigt__p_wxSizerItem 
= {"_p_wxSizerItem", 0, 0, 0, 0, 0}; 
22378 static swig_type_info _swigt__p_wxGBSizerItem 
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0}; 
22379 static swig_type_info _swigt__p_wxIndividualLayoutConstraint 
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0}; 
22380 static swig_type_info _swigt__p_wxStaticBoxSizer 
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0}; 
22381 static swig_type_info _swigt__p_wxBoxSizer 
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0}; 
22382 static swig_type_info _swigt__p_wxSizer 
= {"_p_wxSizer", 0, 0, 0, 0, 0}; 
22383 static swig_type_info _swigt__p_wxGridBagSizer 
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0}; 
22384 static swig_type_info _swigt__p_wxFontData 
= {"_p_wxFontData", 0, 0, 0, 0, 0}; 
22385 static swig_type_info _swigt__p_wxPrintData 
= {"_p_wxPrintData", 0, 0, 0, 0, 0}; 
22386 static swig_type_info _swigt__p_wxFlexGridSizer 
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0}; 
22387 static swig_type_info _swigt__p_wxGridSizer 
= {"_p_wxGridSizer", 0, 0, 0, 0, 0}; 
22388 static swig_type_info _swigt__p_wxLayoutAlgorithm 
= {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0}; 
22389 static swig_type_info _swigt__p_wxFSFile 
= {"_p_wxFSFile", 0, 0, 0, 0, 0}; 
22390 static swig_type_info _swigt__p_wxFindReplaceData 
= {"_p_wxFindReplaceData", 0, 0, 0, 0, 0}; 
22391 static swig_type_info _swigt__p_wxPySizer 
= {"_p_wxPySizer", 0, 0, 0, 0, 0}; 
22392 static swig_type_info _swigt__p_wxColourData 
= {"_p_wxColourData", 0, 0, 0, 0, 0}; 
22393 static swig_type_info _swigt__p_wxPrinter 
= {"_p_wxPrinter", 0, 0, 0, 0, 0}; 
22394 static swig_type_info _swigt__p_wxMenuItem 
= {"_p_wxMenuItem", 0, 0, 0, 0, 0}; 
22395 static swig_type_info _swigt__p_wxPCXHandler 
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0}; 
22396 static swig_type_info _swigt__p_wxJPEGHandler 
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0}; 
22397 static swig_type_info _swigt__p_wxPNMHandler 
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0}; 
22398 static swig_type_info _swigt__p_wxGIFHandler 
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0}; 
22399 static swig_type_info _swigt__p_wxPNGHandler 
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0}; 
22400 static swig_type_info _swigt__p_wxANIHandler 
= {"_p_wxANIHandler", 0, 0, 0, 0, 0}; 
22401 static swig_type_info _swigt__p_wxCURHandler 
= {"_p_wxCURHandler", 0, 0, 0, 0, 0}; 
22402 static swig_type_info _swigt__p_wxICOHandler 
= {"_p_wxICOHandler", 0, 0, 0, 0, 0}; 
22403 static swig_type_info _swigt__p_wxBMPHandler 
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0}; 
22404 static swig_type_info _swigt__p_wxPyImageHandler 
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0}; 
22405 static swig_type_info _swigt__p_wxImageHandler 
= {"_p_wxImageHandler", 0, 0, 0, 0, 0}; 
22406 static swig_type_info _swigt__p_wxXPMHandler 
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0}; 
22407 static swig_type_info _swigt__p_wxTIFFHandler 
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0}; 
22408 static swig_type_info _swigt__p_wxTGAHandler 
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0}; 
22409 static swig_type_info _swigt__p_wxAcceleratorTable 
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0}; 
22410 static swig_type_info _swigt__p_wxStdDialogButtonSizer 
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0}; 
22411 static swig_type_info _swigt__p_wxImage 
= {"_p_wxImage", 0, 0, 0, 0, 0}; 
22412 static swig_type_info _swigt__p_wxPyPrintout 
= {"_p_wxPyPrintout", 0, 0, 0, 0, 0}; 
22413 static swig_type_info _swigt__p_wxPrintPreview 
= {"_p_wxPrintPreview", 0, 0, 0, 0, 0}; 
22414 static swig_type_info _swigt__p_wxPyPrintPreview 
= {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0}; 
22415 static swig_type_info _swigt__p_wxPageSetupDialog 
= {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0}; 
22416 static swig_type_info _swigt__p_wxPrintDialog 
= {"_p_wxPrintDialog", 0, 0, 0, 0, 0}; 
22417 static swig_type_info _swigt__p_wxFileSystem 
= {"_p_wxFileSystem", 0, 0, 0, 0, 0}; 
22418 static swig_type_info _swigt__p_wxPageSetupDialogData 
= {"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0}; 
22419 static swig_type_info _swigt__p_wxPrintDialogData 
= {"_p_wxPrintDialogData", 0, 0, 0, 0, 0}; 
22420 static swig_type_info _swigt__p_wxPanel 
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0}; 
22421 static swig_type_info _swigt__p_wxPaperSize 
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0}; 
22422 static swig_type_info _swigt__p_wxPen 
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0}; 
22423 static swig_type_info _swigt__p_wxPoint 
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0}; 
22424 static swig_type_info _swigt__p_wxPyGridCellAttrProvider 
= {"_p_wxPyGridCellAttrProvider", "wxPyGridCellAttrProvider *", 0, 0, (void*)0, 0}; 
22425 static swig_type_info _swigt__p_wxPyGridCellEditor 
= {"_p_wxPyGridCellEditor", "wxPyGridCellEditor *", 0, 0, (void*)0, 0}; 
22426 static swig_type_info _swigt__p_wxPyGridCellRenderer 
= {"_p_wxPyGridCellRenderer", "wxPyGridCellRenderer *", 0, 0, (void*)0, 0}; 
22427 static swig_type_info _swigt__p_wxPyGridTableBase 
= {"_p_wxPyGridTableBase", "wxPyGridTableBase *", 0, 0, (void*)0, 0}; 
22428 static swig_type_info _swigt__p_wxRect 
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0}; 
22429 static swig_type_info _swigt__p_wxScrolledWindow 
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0}; 
22430 static swig_type_info _swigt__p_wxSize 
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0}; 
22431 static swig_type_info _swigt__p_wxString 
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0}; 
22432 static swig_type_info _swigt__p_wxVisualAttributes 
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0}; 
22433 static swig_type_info _swigt__p_wxWindow 
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0}; 
22435 static swig_type_info 
*swig_type_initial
[] = { 
22437   &_swigt__p_form_ops_t
, 
22440   &_swigt__p_unsigned_char
, 
22441   &_swigt__p_unsigned_int
, 
22442   &_swigt__p_unsigned_long
, 
22443   &_swigt__p_wxANIHandler
, 
22444   &_swigt__p_wxAcceleratorTable
, 
22445   &_swigt__p_wxActivateEvent
, 
22446   &_swigt__p_wxArrayString
, 
22447   &_swigt__p_wxBMPHandler
, 
22448   &_swigt__p_wxBoxSizer
, 
22449   &_swigt__p_wxCURHandler
, 
22450   &_swigt__p_wxCalculateLayoutEvent
, 
22451   &_swigt__p_wxChildFocusEvent
, 
22452   &_swigt__p_wxClipboardTextEvent
, 
22453   &_swigt__p_wxCloseEvent
, 
22454   &_swigt__p_wxColour
, 
22455   &_swigt__p_wxColourData
, 
22456   &_swigt__p_wxColourDialog
, 
22457   &_swigt__p_wxCommandEvent
, 
22458   &_swigt__p_wxContextMenuEvent
, 
22459   &_swigt__p_wxControl
, 
22460   &_swigt__p_wxControlWithItems
, 
22462   &_swigt__p_wxDateEvent
, 
22463   &_swigt__p_wxDialog
, 
22464   &_swigt__p_wxDirDialog
, 
22465   &_swigt__p_wxDisplayChangedEvent
, 
22466   &_swigt__p_wxDropFilesEvent
, 
22467   &_swigt__p_wxDuplexMode
, 
22468   &_swigt__p_wxEraseEvent
, 
22469   &_swigt__p_wxEvent
, 
22470   &_swigt__p_wxEventBlocker
, 
22471   &_swigt__p_wxEvtHandler
, 
22472   &_swigt__p_wxFSFile
, 
22473   &_swigt__p_wxFileDialog
, 
22474   &_swigt__p_wxFileSystem
, 
22475   &_swigt__p_wxFindDialogEvent
, 
22476   &_swigt__p_wxFindReplaceData
, 
22477   &_swigt__p_wxFindReplaceDialog
, 
22478   &_swigt__p_wxFlexGridSizer
, 
22479   &_swigt__p_wxFocusEvent
, 
22481   &_swigt__p_wxFontData
, 
22482   &_swigt__p_wxFontDialog
, 
22483   &_swigt__p_wxFrame
, 
22484   &_swigt__p_wxGBSizerItem
, 
22485   &_swigt__p_wxGIFHandler
, 
22487   &_swigt__p_wxGridBagSizer
, 
22488   &_swigt__p_wxGridCellAttr
, 
22489   &_swigt__p_wxGridCellAttrProvider
, 
22490   &_swigt__p_wxGridCellAutoWrapStringEditor
, 
22491   &_swigt__p_wxGridCellAutoWrapStringRenderer
, 
22492   &_swigt__p_wxGridCellBoolEditor
, 
22493   &_swigt__p_wxGridCellBoolRenderer
, 
22494   &_swigt__p_wxGridCellChoiceEditor
, 
22495   &_swigt__p_wxGridCellCoords
, 
22496   &_swigt__p_wxGridCellDateTimeRenderer
, 
22497   &_swigt__p_wxGridCellEditor
, 
22498   &_swigt__p_wxGridCellEnumEditor
, 
22499   &_swigt__p_wxGridCellEnumRenderer
, 
22500   &_swigt__p_wxGridCellFloatEditor
, 
22501   &_swigt__p_wxGridCellFloatRenderer
, 
22502   &_swigt__p_wxGridCellNumberEditor
, 
22503   &_swigt__p_wxGridCellNumberRenderer
, 
22504   &_swigt__p_wxGridCellRenderer
, 
22505   &_swigt__p_wxGridCellStringRenderer
, 
22506   &_swigt__p_wxGridCellTextEditor
, 
22507   &_swigt__p_wxGridCellWorker
, 
22508   &_swigt__p_wxGridEditorCreatedEvent
, 
22509   &_swigt__p_wxGridEvent
, 
22510   &_swigt__p_wxGridRangeSelectEvent
, 
22511   &_swigt__p_wxGridSizeEvent
, 
22512   &_swigt__p_wxGridSizer
, 
22513   &_swigt__p_wxGridStringTable
, 
22514   &_swigt__p_wxGridTableBase
, 
22515   &_swigt__p_wxGridTableMessage
, 
22516   &_swigt__p_wxICOHandler
, 
22517   &_swigt__p_wxIconizeEvent
, 
22518   &_swigt__p_wxIdleEvent
, 
22519   &_swigt__p_wxImage
, 
22520   &_swigt__p_wxImageHandler
, 
22521   &_swigt__p_wxIndividualLayoutConstraint
, 
22522   &_swigt__p_wxInitDialogEvent
, 
22523   &_swigt__p_wxJPEGHandler
, 
22524   &_swigt__p_wxKeyEvent
, 
22525   &_swigt__p_wxLayoutAlgorithm
, 
22526   &_swigt__p_wxLayoutConstraints
, 
22527   &_swigt__p_wxMDIChildFrame
, 
22528   &_swigt__p_wxMDIClientWindow
, 
22529   &_swigt__p_wxMDIParentFrame
, 
22530   &_swigt__p_wxMaximizeEvent
, 
22532   &_swigt__p_wxMenuBar
, 
22533   &_swigt__p_wxMenuEvent
, 
22534   &_swigt__p_wxMenuItem
, 
22535   &_swigt__p_wxMessageDialog
, 
22536   &_swigt__p_wxMiniFrame
, 
22537   &_swigt__p_wxMouseCaptureChangedEvent
, 
22538   &_swigt__p_wxMouseCaptureLostEvent
, 
22539   &_swigt__p_wxMouseEvent
, 
22540   &_swigt__p_wxMoveEvent
, 
22541   &_swigt__p_wxMultiChoiceDialog
, 
22542   &_swigt__p_wxNavigationKeyEvent
, 
22543   &_swigt__p_wxNcPaintEvent
, 
22544   &_swigt__p_wxNotifyEvent
, 
22545   &_swigt__p_wxNumberEntryDialog
, 
22546   &_swigt__p_wxObject
, 
22547   &_swigt__p_wxPCXHandler
, 
22548   &_swigt__p_wxPNGHandler
, 
22549   &_swigt__p_wxPNMHandler
, 
22550   &_swigt__p_wxPageSetupDialog
, 
22551   &_swigt__p_wxPageSetupDialogData
, 
22552   &_swigt__p_wxPaintEvent
, 
22553   &_swigt__p_wxPaletteChangedEvent
, 
22554   &_swigt__p_wxPanel
, 
22555   &_swigt__p_wxPaperSize
, 
22556   &_swigt__p_wxPasswordEntryDialog
, 
22558   &_swigt__p_wxPoint
, 
22559   &_swigt__p_wxPopupWindow
, 
22560   &_swigt__p_wxPreviewCanvas
, 
22561   &_swigt__p_wxPreviewControlBar
, 
22562   &_swigt__p_wxPreviewFrame
, 
22563   &_swigt__p_wxPrintData
, 
22564   &_swigt__p_wxPrintDialog
, 
22565   &_swigt__p_wxPrintDialogData
, 
22566   &_swigt__p_wxPrintPreview
, 
22567   &_swigt__p_wxPrinter
, 
22568   &_swigt__p_wxProgressDialog
, 
22569   &_swigt__p_wxPyApp
, 
22570   &_swigt__p_wxPyCommandEvent
, 
22571   &_swigt__p_wxPyEvent
, 
22572   &_swigt__p_wxPyGridCellAttrProvider
, 
22573   &_swigt__p_wxPyGridCellEditor
, 
22574   &_swigt__p_wxPyGridCellRenderer
, 
22575   &_swigt__p_wxPyGridTableBase
, 
22576   &_swigt__p_wxPyHtmlListBox
, 
22577   &_swigt__p_wxPyImageHandler
, 
22578   &_swigt__p_wxPyPanel
, 
22579   &_swigt__p_wxPyPopupTransientWindow
, 
22580   &_swigt__p_wxPyPreviewControlBar
, 
22581   &_swigt__p_wxPyPreviewFrame
, 
22582   &_swigt__p_wxPyPrintPreview
, 
22583   &_swigt__p_wxPyPrintout
, 
22584   &_swigt__p_wxPyScrolledWindow
, 
22585   &_swigt__p_wxPySizer
, 
22586   &_swigt__p_wxPyTaskBarIcon
, 
22587   &_swigt__p_wxPyVListBox
, 
22588   &_swigt__p_wxPyVScrolledWindow
, 
22589   &_swigt__p_wxPyValidator
, 
22590   &_swigt__p_wxPyWindow
, 
22591   &_swigt__p_wxQueryLayoutInfoEvent
, 
22592   &_swigt__p_wxQueryNewPaletteEvent
, 
22594   &_swigt__p_wxSashEvent
, 
22595   &_swigt__p_wxSashLayoutWindow
, 
22596   &_swigt__p_wxSashWindow
, 
22597   &_swigt__p_wxScrollEvent
, 
22598   &_swigt__p_wxScrollWinEvent
, 
22599   &_swigt__p_wxScrolledWindow
, 
22600   &_swigt__p_wxSetCursorEvent
, 
22601   &_swigt__p_wxShowEvent
, 
22602   &_swigt__p_wxSimpleHtmlListBox
, 
22603   &_swigt__p_wxSingleChoiceDialog
, 
22605   &_swigt__p_wxSizeEvent
, 
22606   &_swigt__p_wxSizer
, 
22607   &_swigt__p_wxSizerItem
, 
22608   &_swigt__p_wxSplashScreen
, 
22609   &_swigt__p_wxSplashScreenWindow
, 
22610   &_swigt__p_wxSplitterEvent
, 
22611   &_swigt__p_wxSplitterWindow
, 
22612   &_swigt__p_wxStaticBoxSizer
, 
22613   &_swigt__p_wxStatusBar
, 
22614   &_swigt__p_wxStdDialogButtonSizer
, 
22615   &_swigt__p_wxString
, 
22616   &_swigt__p_wxSysColourChangedEvent
, 
22617   &_swigt__p_wxTGAHandler
, 
22618   &_swigt__p_wxTIFFHandler
, 
22619   &_swigt__p_wxTaskBarIconEvent
, 
22620   &_swigt__p_wxTextEntryDialog
, 
22621   &_swigt__p_wxTipWindow
, 
22622   &_swigt__p_wxTopLevelWindow
, 
22623   &_swigt__p_wxUpdateUIEvent
, 
22624   &_swigt__p_wxValidator
, 
22625   &_swigt__p_wxVisualAttributes
, 
22626   &_swigt__p_wxWindow
, 
22627   &_swigt__p_wxWindowCreateEvent
, 
22628   &_swigt__p_wxWindowDestroyEvent
, 
22629   &_swigt__p_wxXPMHandler
, 
22632 static swig_cast_info _swigc__p_char
[] = {  {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}}; 
22633 static swig_cast_info _swigc__p_form_ops_t
[] = {  {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}}; 
22634 static swig_cast_info _swigc__p_int
[] = {  {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}}; 
22635 static swig_cast_info _swigc__p_long
[] = {  {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}}; 
22636 static swig_cast_info _swigc__p_unsigned_char
[] = {  {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}}; 
22637 static swig_cast_info _swigc__p_unsigned_int
[] = {  {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}}; 
22638 static swig_cast_info _swigc__p_unsigned_long
[] = {  {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}}; 
22639 static swig_cast_info _swigc__p_wxArrayString
[] = {  {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}}; 
22640 static swig_cast_info _swigc__p_wxColour
[] = {  {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}}; 
22641 static swig_cast_info _swigc__p_wxSashEvent
[] = {{&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
22642 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
22643 static swig_cast_info _swigc__p_wxSplitterEvent
[] = {{&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
22644 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
22645 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
22646 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
22647 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
22648 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
22649 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
22650 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
22651 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = {{&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
22652 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
22653 static swig_cast_info _swigc__p_wxCommandEvent
[] = {  {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxCommandEvent
, 0, 0},  {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0},  {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxCommandEvent
, 0, 0},  {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxCommandEvent
, 0, 0},  {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0},  {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0},  {&_swigt__p_wxCommandEvent
, 0, 0, 0},  {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0},  {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0},  {&_swigt__p_wxGridRangeSelectEvent
, _p_wxGridRangeSelectEventTo_p_wxCommandEvent
, 0, 0},  {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0},  {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0},  {&_swigt__p_wxGridSizeEvent
, _p_wxGridSizeEventTo_p_wxCommandEvent
, 0, 0},  {&_swigt__p_wxGridEvent
, _p_wxGridEventTo_p_wxCommandEvent
, 0, 0},  {&_swigt__p_wxGridEditorCreatedEvent
, _p_wxGridEditorCreatedEventTo_p_wxCommandEvent
, 0, 0},  {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0},  {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxCommandEvent
, 0, 0},  {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0},{0, 0, 0, 0}}; 
22654 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}}; 
22655 static swig_cast_info _swigc__p_wxControl
[] = {  {&_swigt__p_wxControl
, 0, 0, 0},  {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxControl
, 0, 0},{0, 0, 0, 0}}; 
22656 static swig_cast_info _swigc__p_wxDC
[] = {  {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}}; 
22657 static swig_cast_info _swigc__p_wxDuplexMode
[] = {  {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}}; 
22658 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
22659 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
22660 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
22661 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
22662 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
22663 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
22664 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
22665 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
22666 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = {{&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
22667 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
22668 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
22669 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
22670 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
22671 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
22672 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
22673 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
22674 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
22675 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
22676 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
22677 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
22678 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
22679 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
22680 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
22681 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
22682 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = {{&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
22683 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
22684 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
22685 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
22686 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = {{&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
22687 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_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxGridRangeSelectEvent
, _p_wxGridRangeSelectEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxEvent
, 0, 0, 0},  {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 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_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxGridSizeEvent
, _p_wxGridSizeEventTo_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_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_wxGridEvent
, _p_wxGridEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxGridEditorCreatedEvent
, _p_wxGridEditorCreatedEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_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},  {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}}; 
22688 static swig_cast_info _swigc__p_wxSplashScreen
[] = {{&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}}; 
22689 static swig_cast_info _swigc__p_wxMiniFrame
[] = {{&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}}; 
22690 static swig_cast_info _swigc__p_wxPyPanel
[] = {{&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}}; 
22691 static swig_cast_info _swigc__p_wxEventBlocker
[] = {{&_swigt__p_wxEventBlocker
, 0, 0, 0},{0, 0, 0, 0}}; 
22692 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}}; 
22693 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}}; 
22694 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}}; 
22695 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = {{&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
22696 static swig_cast_info _swigc__p_wxTextEntryDialog
[] = {{&_swigt__p_wxTextEntryDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
22697 static swig_cast_info _swigc__p_wxFileDialog
[] = {{&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
22698 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = {{&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
22699 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = {{&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
22700 static swig_cast_info _swigc__p_wxProgressDialog
[] = {{&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
22701 static swig_cast_info _swigc__p_wxMessageDialog
[] = {{&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
22702 static swig_cast_info _swigc__p_wxNumberEntryDialog
[] = {{&_swigt__p_wxNumberEntryDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
22703 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = {{&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
22704 static swig_cast_info _swigc__p_wxStatusBar
[] = {{&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}}; 
22705 static swig_cast_info _swigc__p_wxSplitterWindow
[] = {{&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
22706 static swig_cast_info _swigc__p_wxSashWindow
[] = {{&_swigt__p_wxSashWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
22707 static swig_cast_info _swigc__p_wxTopLevelWindow
[] = {{&_swigt__p_wxTopLevelWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
22708 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = {{&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
22709 static swig_cast_info _swigc__p_wxPyVScrolledWindow
[] = {{&_swigt__p_wxPyVScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
22710 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = {{&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
22711 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = {{&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
22712 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = {{&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
22713 static swig_cast_info _swigc__p_wxPopupWindow
[] = {{&_swigt__p_wxPopupWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
22714 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = {{&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
22715 static swig_cast_info _swigc__p_wxTipWindow
[] = {{&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
22716 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = {{&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}}; 
22717 static swig_cast_info _swigc__p_wxPreviewFrame
[] = {{&_swigt__p_wxPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}}; 
22718 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = {{&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}}; 
22719 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}}; 
22720 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = {{&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}}; 
22721 static swig_cast_info _swigc__p_wxPyWindow
[] = {{&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
22722 static swig_cast_info _swigc__p_wxSimpleHtmlListBox
[] = {{&_swigt__p_wxSimpleHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}}; 
22723 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = {{&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}}; 
22724 static swig_cast_info _swigc__p_wxPyVListBox
[] = {{&_swigt__p_wxPyVListBox
, 0, 0, 0},{0, 0, 0, 0}}; 
22725 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = {{&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}}; 
22726 static swig_cast_info _swigc__p_wxPreviewControlBar
[] = {{&_swigt__p_wxPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}}; 
22727 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = {{&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}}; 
22728 static swig_cast_info _swigc__p_wxFrame
[] = {{&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}}; 
22729 static swig_cast_info _swigc__p_wxFontDialog
[] = {{&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
22730 static swig_cast_info _swigc__p_wxDirDialog
[] = {{&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
22731 static swig_cast_info _swigc__p_wxColourDialog
[] = {{&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
22732 static swig_cast_info _swigc__p_wxDialog
[] = {{&_swigt__p_wxDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
22733 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}}; 
22734 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = {{&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}}; 
22735 static swig_cast_info _swigc__p_wxEvtHandler
[] = {  {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxEventBlocker
, _p_wxEventBlockerTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxGrid
, _p_wxGridTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxEvtHandler
, 0, 0, 0},  {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}}; 
22736 static swig_cast_info _swigc__p_wxFont
[] = {  {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}}; 
22737 static swig_cast_info _swigc__p_wxGrid
[] = {  {&_swigt__p_wxGrid
, 0, 0, 0},{0, 0, 0, 0}}; 
22738 static swig_cast_info _swigc__p_wxGridCellAttr
[] = {  {&_swigt__p_wxGridCellAttr
, 0, 0, 0},{0, 0, 0, 0}}; 
22739 static swig_cast_info _swigc__p_wxGridCellAttrProvider
[] = {  {&_swigt__p_wxGridCellAttrProvider
, 0, 0, 0},  {&_swigt__p_wxPyGridCellAttrProvider
, _p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider
, 0, 0},{0, 0, 0, 0}}; 
22740 static swig_cast_info _swigc__p_wxGridCellAutoWrapStringEditor
[] = {  {&_swigt__p_wxGridCellAutoWrapStringEditor
, 0, 0, 0},{0, 0, 0, 0}}; 
22741 static swig_cast_info _swigc__p_wxGridCellAutoWrapStringRenderer
[] = {  {&_swigt__p_wxGridCellAutoWrapStringRenderer
, 0, 0, 0},{0, 0, 0, 0}}; 
22742 static swig_cast_info _swigc__p_wxGridCellBoolEditor
[] = {  {&_swigt__p_wxGridCellBoolEditor
, 0, 0, 0},{0, 0, 0, 0}}; 
22743 static swig_cast_info _swigc__p_wxGridCellBoolRenderer
[] = {  {&_swigt__p_wxGridCellBoolRenderer
, 0, 0, 0},{0, 0, 0, 0}}; 
22744 static swig_cast_info _swigc__p_wxGridCellChoiceEditor
[] = {  {&_swigt__p_wxGridCellChoiceEditor
, 0, 0, 0},  {&_swigt__p_wxGridCellEnumEditor
, _p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor
, 0, 0},{0, 0, 0, 0}}; 
22745 static swig_cast_info _swigc__p_wxGridCellCoords
[] = {  {&_swigt__p_wxGridCellCoords
, 0, 0, 0},{0, 0, 0, 0}}; 
22746 static swig_cast_info _swigc__p_wxGridCellDateTimeRenderer
[] = {  {&_swigt__p_wxGridCellDateTimeRenderer
, 0, 0, 0},{0, 0, 0, 0}}; 
22747 static swig_cast_info _swigc__p_wxGridCellEditor
[] = {  {&_swigt__p_wxGridCellEditor
, 0, 0, 0},  {&_swigt__p_wxPyGridCellEditor
, _p_wxPyGridCellEditorTo_p_wxGridCellEditor
, 0, 0},  {&_swigt__p_wxGridCellTextEditor
, _p_wxGridCellTextEditorTo_p_wxGridCellEditor
, 0, 0},  {&_swigt__p_wxGridCellNumberEditor
, _p_wxGridCellNumberEditorTo_p_wxGridCellEditor
, 0, 0},  {&_swigt__p_wxGridCellFloatEditor
, _p_wxGridCellFloatEditorTo_p_wxGridCellEditor
, 0, 0},  {&_swigt__p_wxGridCellBoolEditor
, _p_wxGridCellBoolEditorTo_p_wxGridCellEditor
, 0, 0},  {&_swigt__p_wxGridCellAutoWrapStringEditor
, _p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellEditor
, 0, 0},  {&_swigt__p_wxGridCellChoiceEditor
, _p_wxGridCellChoiceEditorTo_p_wxGridCellEditor
, 0, 0},  {&_swigt__p_wxGridCellEnumEditor
, _p_wxGridCellEnumEditorTo_p_wxGridCellEditor
, 0, 0},{0, 0, 0, 0}}; 
22748 static swig_cast_info _swigc__p_wxGridCellEnumEditor
[] = {  {&_swigt__p_wxGridCellEnumEditor
, 0, 0, 0},{0, 0, 0, 0}}; 
22749 static swig_cast_info _swigc__p_wxGridCellEnumRenderer
[] = {  {&_swigt__p_wxGridCellEnumRenderer
, 0, 0, 0},{0, 0, 0, 0}}; 
22750 static swig_cast_info _swigc__p_wxGridCellFloatEditor
[] = {  {&_swigt__p_wxGridCellFloatEditor
, 0, 0, 0},{0, 0, 0, 0}}; 
22751 static swig_cast_info _swigc__p_wxGridCellFloatRenderer
[] = {  {&_swigt__p_wxGridCellFloatRenderer
, 0, 0, 0},{0, 0, 0, 0}}; 
22752 static swig_cast_info _swigc__p_wxGridCellNumberEditor
[] = {  {&_swigt__p_wxGridCellNumberEditor
, 0, 0, 0},{0, 0, 0, 0}}; 
22753 static swig_cast_info _swigc__p_wxGridCellNumberRenderer
[] = {  {&_swigt__p_wxGridCellNumberRenderer
, 0, 0, 0},{0, 0, 0, 0}}; 
22754 static swig_cast_info _swigc__p_wxGridCellRenderer
[] = {  {&_swigt__p_wxGridCellRenderer
, 0, 0, 0},  {&_swigt__p_wxPyGridCellRenderer
, _p_wxPyGridCellRendererTo_p_wxGridCellRenderer
, 0, 0},  {&_swigt__p_wxGridCellStringRenderer
, _p_wxGridCellStringRendererTo_p_wxGridCellRenderer
, 0, 0},  {&_swigt__p_wxGridCellNumberRenderer
, _p_wxGridCellNumberRendererTo_p_wxGridCellRenderer
, 0, 0},  {&_swigt__p_wxGridCellFloatRenderer
, _p_wxGridCellFloatRendererTo_p_wxGridCellRenderer
, 0, 0},  {&_swigt__p_wxGridCellDateTimeRenderer
, _p_wxGridCellDateTimeRendererTo_p_wxGridCellRenderer
, 0, 0},  {&_swigt__p_wxGridCellEnumRenderer
, _p_wxGridCellEnumRendererTo_p_wxGridCellRenderer
, 0, 0},  {&_swigt__p_wxGridCellAutoWrapStringRenderer
, _p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellRenderer
, 0, 0},  {&_swigt__p_wxGridCellBoolRenderer
, _p_wxGridCellBoolRendererTo_p_wxGridCellRenderer
, 0, 0},{0, 0, 0, 0}}; 
22755 static swig_cast_info _swigc__p_wxGridCellStringRenderer
[] = {  {&_swigt__p_wxGridCellStringRenderer
, 0, 0, 0},  {&_swigt__p_wxGridCellNumberRenderer
, _p_wxGridCellNumberRendererTo_p_wxGridCellStringRenderer
, 0, 0},  {&_swigt__p_wxGridCellFloatRenderer
, _p_wxGridCellFloatRendererTo_p_wxGridCellStringRenderer
, 0, 0},  {&_swigt__p_wxGridCellDateTimeRenderer
, _p_wxGridCellDateTimeRendererTo_p_wxGridCellStringRenderer
, 0, 0},  {&_swigt__p_wxGridCellEnumRenderer
, _p_wxGridCellEnumRendererTo_p_wxGridCellStringRenderer
, 0, 0},  {&_swigt__p_wxGridCellAutoWrapStringRenderer
, _p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellStringRenderer
, 0, 0},{0, 0, 0, 0}}; 
22756 static swig_cast_info _swigc__p_wxGridCellTextEditor
[] = {  {&_swigt__p_wxGridCellTextEditor
, 0, 0, 0},  {&_swigt__p_wxGridCellNumberEditor
, _p_wxGridCellNumberEditorTo_p_wxGridCellTextEditor
, 0, 0},  {&_swigt__p_wxGridCellFloatEditor
, _p_wxGridCellFloatEditorTo_p_wxGridCellTextEditor
, 0, 0},  {&_swigt__p_wxGridCellAutoWrapStringEditor
, _p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellTextEditor
, 0, 0},{0, 0, 0, 0}}; 
22757 static swig_cast_info _swigc__p_wxGridCellWorker
[] = {  {&_swigt__p_wxGridCellChoiceEditor
, _p_wxGridCellChoiceEditorTo_p_wxGridCellWorker
, 0, 0},  {&_swigt__p_wxGridCellEnumEditor
, _p_wxGridCellEnumEditorTo_p_wxGridCellWorker
, 0, 0},  {&_swigt__p_wxGridCellAutoWrapStringEditor
, _p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellWorker
, 0, 0},  {&_swigt__p_wxGridCellFloatEditor
, _p_wxGridCellFloatEditorTo_p_wxGridCellWorker
, 0, 0},  {&_swigt__p_wxGridCellNumberEditor
, _p_wxGridCellNumberEditorTo_p_wxGridCellWorker
, 0, 0},  {&_swigt__p_wxGridCellTextEditor
, _p_wxGridCellTextEditorTo_p_wxGridCellWorker
, 0, 0},  {&_swigt__p_wxPyGridCellEditor
, _p_wxPyGridCellEditorTo_p_wxGridCellWorker
, 0, 0},  {&_swigt__p_wxGridCellEditor
, _p_wxGridCellEditorTo_p_wxGridCellWorker
, 0, 0},  {&_swigt__p_wxGridCellBoolEditor
, _p_wxGridCellBoolEditorTo_p_wxGridCellWorker
, 0, 0},  {&_swigt__p_wxGridCellWorker
, 0, 0, 0},  {&_swigt__p_wxGridCellAutoWrapStringRenderer
, _p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellWorker
, 0, 0},  {&_swigt__p_wxGridCellEnumRenderer
, _p_wxGridCellEnumRendererTo_p_wxGridCellWorker
, 0, 0},  {&_swigt__p_wxGridCellDateTimeRenderer
, _p_wxGridCellDateTimeRendererTo_p_wxGridCellWorker
, 0, 0},  {&_swigt__p_wxGridCellBoolRenderer
, _p_wxGridCellBoolRendererTo_p_wxGridCellWorker
, 0, 0},  {&_swigt__p_wxGridCellFloatRenderer
, _p_wxGridCellFloatRendererTo_p_wxGridCellWorker
, 0, 0},  {&_swigt__p_wxGridCellNumberRenderer
, _p_wxGridCellNumberRendererTo_p_wxGridCellWorker
, 0, 0},  {&_swigt__p_wxGridCellStringRenderer
, _p_wxGridCellStringRendererTo_p_wxGridCellWorker
, 0, 0},  {&_swigt__p_wxPyGridCellRenderer
, _p_wxPyGridCellRendererTo_p_wxGridCellWorker
, 0, 0},  {&_swigt__p_wxGridCellRenderer
, _p_wxGridCellRendererTo_p_wxGridCellWorker
, 0, 0},{0, 0, 0, 0}}; 
22758 static swig_cast_info _swigc__p_wxGridEditorCreatedEvent
[] = {  {&_swigt__p_wxGridEditorCreatedEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
22759 static swig_cast_info _swigc__p_wxGridEvent
[] = {  {&_swigt__p_wxGridEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
22760 static swig_cast_info _swigc__p_wxGridRangeSelectEvent
[] = {  {&_swigt__p_wxGridRangeSelectEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
22761 static swig_cast_info _swigc__p_wxGridSizeEvent
[] = {  {&_swigt__p_wxGridSizeEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
22762 static swig_cast_info _swigc__p_wxGridStringTable
[] = {  {&_swigt__p_wxGridStringTable
, 0, 0, 0},{0, 0, 0, 0}}; 
22763 static swig_cast_info _swigc__p_wxGridTableBase
[] = {  {&_swigt__p_wxGridStringTable
, _p_wxGridStringTableTo_p_wxGridTableBase
, 0, 0},  {&_swigt__p_wxGridTableBase
, 0, 0, 0},  {&_swigt__p_wxPyGridTableBase
, _p_wxPyGridTableBaseTo_p_wxGridTableBase
, 0, 0},{0, 0, 0, 0}}; 
22764 static swig_cast_info _swigc__p_wxGridTableMessage
[] = {  {&_swigt__p_wxGridTableMessage
, 0, 0, 0},{0, 0, 0, 0}}; 
22765 static swig_cast_info _swigc__p_wxKeyEvent
[] = {  {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
22766 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {  {&_swigt__p_wxGridSizeEvent
, _p_wxGridSizeEventTo_p_wxNotifyEvent
, 0, 0},  {&_swigt__p_wxGridRangeSelectEvent
, _p_wxGridRangeSelectEventTo_p_wxNotifyEvent
, 0, 0},  {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxNotifyEvent
, 0, 0},  {&_swigt__p_wxGridEvent
, _p_wxGridEventTo_p_wxNotifyEvent
, 0, 0},  {&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
22767 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}}; 
22768 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}}; 
22769 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}}; 
22770 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}}; 
22771 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
22772 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
22773 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
22774 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
22775 static swig_cast_info _swigc__p_wxFontData
[] = {{&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}}; 
22776 static swig_cast_info _swigc__p_wxPrintData
[] = {{&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}}; 
22777 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
22778 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
22779 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = {{&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}}; 
22780 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}}; 
22781 static swig_cast_info _swigc__p_wxFindReplaceData
[] = {{&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}}; 
22782 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}}; 
22783 static swig_cast_info _swigc__p_wxColourData
[] = {{&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}}; 
22784 static swig_cast_info _swigc__p_wxPrinter
[] = {{&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}}; 
22785 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}}; 
22786 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
22787 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
22788 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
22789 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
22790 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
22791 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
22792 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
22793 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
22794 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
22795 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
22796 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
22797 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
22798 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
22799 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
22800 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}}; 
22801 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
22802 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}}; 
22803 static swig_cast_info _swigc__p_wxPyPrintout
[] = {{&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}}; 
22804 static swig_cast_info _swigc__p_wxPrintPreview
[] = {{&_swigt__p_wxPrintPreview
, 0, 0, 0},{0, 0, 0, 0}}; 
22805 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = {{&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}}; 
22806 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = {{&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
22807 static swig_cast_info _swigc__p_wxPrintDialog
[] = {{&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
22808 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}}; 
22809 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = {{&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}}; 
22810 static swig_cast_info _swigc__p_wxPrintDialogData
[] = {{&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}}; 
22811 static swig_cast_info _swigc__p_wxObject
[] = {  {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_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_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0},  {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0},  {&_swigt__p_wxFontData
, _p_wxFontDataTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPrintData
, _p_wxPrintDataTo_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_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0},  {&_swigt__p_wxGridStringTable
, _p_wxGridStringTableTo_p_wxObject
, 0, 0},  {&_swigt__p_wxLayoutAlgorithm
, _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0},  {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_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_wxGridEditorCreatedEvent
, _p_wxGridEditorCreatedEventTo_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_wxGridEvent
, _p_wxGridEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxObject
, 0, 0},  {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0},  {&_swigt__p_wxFindReplaceData
, _p_wxFindReplaceDataTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxObject
, 0, 0},  {&_swigt__p_wxColourData
, _p_wxColourDataTo_p_wxObject
, 0, 0},  {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxObject
, 0, 0},  {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPrinter
, _p_wxPrinterTo_p_wxObject
, 0, 0},  {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxGridSizeEvent
, _p_wxGridSizeEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxGridRangeSelectEvent
, _p_wxGridRangeSelectEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_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_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxTGAHandler
, _p_wxTGAHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_p_wxObject
, 0, 0},  {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0},  {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxObject
, 0, 0},  {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0},  {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyPrintout
, _p_wxPyPrintoutTo_p_wxObject
, 0, 0},  {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxGrid
, _p_wxGridTo_p_wxObject
, 0, 0},  {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_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_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0},  {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPrintPreview
, _p_wxPrintPreviewTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyPrintPreview
, _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxObject
, 0, 0},  {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPageSetupDialog
, _p_wxPageSetupDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPrintDialog
, _p_wxPrintDialogTo_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_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_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0},  {&_swigt__p_wxGridTableBase
, _p_wxGridTableBaseTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyGridTableBase
, _p_wxPyGridTableBaseTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0},  {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPageSetupDialogData
, _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPrintDialogData
, _p_wxPrintDialogDataTo_p_wxObject
, 0, 0},  {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}}; 
22812 static swig_cast_info _swigc__p_wxPanel
[] = {  {&_swigt__p_wxPanel
, 0, 0, 0},  {&_swigt__p_wxGrid
, _p_wxGridTo_p_wxPanel
, 0, 0},  {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxPanel
, 0, 0},  {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxPanel
, 0, 0},  {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxPanel
, 0, 0},  {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxPanel
, 0, 0},  {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxPanel
, 0, 0},  {&_swigt__p_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_p_wxPanel
, 0, 0},  {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxPanel
, 0, 0},  {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxPanel
, 0, 0},  {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxPanel
, 0, 0},  {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxPanel
, 0, 0},{0, 0, 0, 0}}; 
22813 static swig_cast_info _swigc__p_wxPaperSize
[] = {  {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}}; 
22814 static swig_cast_info _swigc__p_wxPen
[] = {  {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}}; 
22815 static swig_cast_info _swigc__p_wxPoint
[] = {  {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}}; 
22816 static swig_cast_info _swigc__p_wxPyGridCellAttrProvider
[] = {  {&_swigt__p_wxPyGridCellAttrProvider
, 0, 0, 0},{0, 0, 0, 0}}; 
22817 static swig_cast_info _swigc__p_wxPyGridCellEditor
[] = {  {&_swigt__p_wxPyGridCellEditor
, 0, 0, 0},{0, 0, 0, 0}}; 
22818 static swig_cast_info _swigc__p_wxPyGridCellRenderer
[] = {  {&_swigt__p_wxPyGridCellRenderer
, 0, 0, 0},{0, 0, 0, 0}}; 
22819 static swig_cast_info _swigc__p_wxPyGridTableBase
[] = {  {&_swigt__p_wxPyGridTableBase
, 0, 0, 0},{0, 0, 0, 0}}; 
22820 static swig_cast_info _swigc__p_wxRect
[] = {  {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}}; 
22821 static swig_cast_info _swigc__p_wxScrolledWindow
[] = {  {&_swigt__p_wxGrid
, _p_wxGridTo_p_wxScrolledWindow
, 0, 0},  {&_swigt__p_wxScrolledWindow
, 0, 0, 0},  {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxScrolledWindow
, 0, 0},  {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxScrolledWindow
, 0, 0},{0, 0, 0, 0}}; 
22822 static swig_cast_info _swigc__p_wxSize
[] = {  {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}}; 
22823 static swig_cast_info _swigc__p_wxString
[] = {  {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}}; 
22824 static swig_cast_info _swigc__p_wxVisualAttributes
[] = {  {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}}; 
22825 static swig_cast_info _swigc__p_wxWindow
[] = {  {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxGrid
, _p_wxGridTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxWindow
, 0, 0, 0},  {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}}; 
22827 static swig_cast_info 
*swig_cast_initial
[] = { 
22829   _swigc__p_form_ops_t
, 
22832   _swigc__p_unsigned_char
, 
22833   _swigc__p_unsigned_int
, 
22834   _swigc__p_unsigned_long
, 
22835   _swigc__p_wxANIHandler
, 
22836   _swigc__p_wxAcceleratorTable
, 
22837   _swigc__p_wxActivateEvent
, 
22838   _swigc__p_wxArrayString
, 
22839   _swigc__p_wxBMPHandler
, 
22840   _swigc__p_wxBoxSizer
, 
22841   _swigc__p_wxCURHandler
, 
22842   _swigc__p_wxCalculateLayoutEvent
, 
22843   _swigc__p_wxChildFocusEvent
, 
22844   _swigc__p_wxClipboardTextEvent
, 
22845   _swigc__p_wxCloseEvent
, 
22846   _swigc__p_wxColour
, 
22847   _swigc__p_wxColourData
, 
22848   _swigc__p_wxColourDialog
, 
22849   _swigc__p_wxCommandEvent
, 
22850   _swigc__p_wxContextMenuEvent
, 
22851   _swigc__p_wxControl
, 
22852   _swigc__p_wxControlWithItems
, 
22854   _swigc__p_wxDateEvent
, 
22855   _swigc__p_wxDialog
, 
22856   _swigc__p_wxDirDialog
, 
22857   _swigc__p_wxDisplayChangedEvent
, 
22858   _swigc__p_wxDropFilesEvent
, 
22859   _swigc__p_wxDuplexMode
, 
22860   _swigc__p_wxEraseEvent
, 
22862   _swigc__p_wxEventBlocker
, 
22863   _swigc__p_wxEvtHandler
, 
22864   _swigc__p_wxFSFile
, 
22865   _swigc__p_wxFileDialog
, 
22866   _swigc__p_wxFileSystem
, 
22867   _swigc__p_wxFindDialogEvent
, 
22868   _swigc__p_wxFindReplaceData
, 
22869   _swigc__p_wxFindReplaceDialog
, 
22870   _swigc__p_wxFlexGridSizer
, 
22871   _swigc__p_wxFocusEvent
, 
22873   _swigc__p_wxFontData
, 
22874   _swigc__p_wxFontDialog
, 
22876   _swigc__p_wxGBSizerItem
, 
22877   _swigc__p_wxGIFHandler
, 
22879   _swigc__p_wxGridBagSizer
, 
22880   _swigc__p_wxGridCellAttr
, 
22881   _swigc__p_wxGridCellAttrProvider
, 
22882   _swigc__p_wxGridCellAutoWrapStringEditor
, 
22883   _swigc__p_wxGridCellAutoWrapStringRenderer
, 
22884   _swigc__p_wxGridCellBoolEditor
, 
22885   _swigc__p_wxGridCellBoolRenderer
, 
22886   _swigc__p_wxGridCellChoiceEditor
, 
22887   _swigc__p_wxGridCellCoords
, 
22888   _swigc__p_wxGridCellDateTimeRenderer
, 
22889   _swigc__p_wxGridCellEditor
, 
22890   _swigc__p_wxGridCellEnumEditor
, 
22891   _swigc__p_wxGridCellEnumRenderer
, 
22892   _swigc__p_wxGridCellFloatEditor
, 
22893   _swigc__p_wxGridCellFloatRenderer
, 
22894   _swigc__p_wxGridCellNumberEditor
, 
22895   _swigc__p_wxGridCellNumberRenderer
, 
22896   _swigc__p_wxGridCellRenderer
, 
22897   _swigc__p_wxGridCellStringRenderer
, 
22898   _swigc__p_wxGridCellTextEditor
, 
22899   _swigc__p_wxGridCellWorker
, 
22900   _swigc__p_wxGridEditorCreatedEvent
, 
22901   _swigc__p_wxGridEvent
, 
22902   _swigc__p_wxGridRangeSelectEvent
, 
22903   _swigc__p_wxGridSizeEvent
, 
22904   _swigc__p_wxGridSizer
, 
22905   _swigc__p_wxGridStringTable
, 
22906   _swigc__p_wxGridTableBase
, 
22907   _swigc__p_wxGridTableMessage
, 
22908   _swigc__p_wxICOHandler
, 
22909   _swigc__p_wxIconizeEvent
, 
22910   _swigc__p_wxIdleEvent
, 
22912   _swigc__p_wxImageHandler
, 
22913   _swigc__p_wxIndividualLayoutConstraint
, 
22914   _swigc__p_wxInitDialogEvent
, 
22915   _swigc__p_wxJPEGHandler
, 
22916   _swigc__p_wxKeyEvent
, 
22917   _swigc__p_wxLayoutAlgorithm
, 
22918   _swigc__p_wxLayoutConstraints
, 
22919   _swigc__p_wxMDIChildFrame
, 
22920   _swigc__p_wxMDIClientWindow
, 
22921   _swigc__p_wxMDIParentFrame
, 
22922   _swigc__p_wxMaximizeEvent
, 
22924   _swigc__p_wxMenuBar
, 
22925   _swigc__p_wxMenuEvent
, 
22926   _swigc__p_wxMenuItem
, 
22927   _swigc__p_wxMessageDialog
, 
22928   _swigc__p_wxMiniFrame
, 
22929   _swigc__p_wxMouseCaptureChangedEvent
, 
22930   _swigc__p_wxMouseCaptureLostEvent
, 
22931   _swigc__p_wxMouseEvent
, 
22932   _swigc__p_wxMoveEvent
, 
22933   _swigc__p_wxMultiChoiceDialog
, 
22934   _swigc__p_wxNavigationKeyEvent
, 
22935   _swigc__p_wxNcPaintEvent
, 
22936   _swigc__p_wxNotifyEvent
, 
22937   _swigc__p_wxNumberEntryDialog
, 
22938   _swigc__p_wxObject
, 
22939   _swigc__p_wxPCXHandler
, 
22940   _swigc__p_wxPNGHandler
, 
22941   _swigc__p_wxPNMHandler
, 
22942   _swigc__p_wxPageSetupDialog
, 
22943   _swigc__p_wxPageSetupDialogData
, 
22944   _swigc__p_wxPaintEvent
, 
22945   _swigc__p_wxPaletteChangedEvent
, 
22947   _swigc__p_wxPaperSize
, 
22948   _swigc__p_wxPasswordEntryDialog
, 
22951   _swigc__p_wxPopupWindow
, 
22952   _swigc__p_wxPreviewCanvas
, 
22953   _swigc__p_wxPreviewControlBar
, 
22954   _swigc__p_wxPreviewFrame
, 
22955   _swigc__p_wxPrintData
, 
22956   _swigc__p_wxPrintDialog
, 
22957   _swigc__p_wxPrintDialogData
, 
22958   _swigc__p_wxPrintPreview
, 
22959   _swigc__p_wxPrinter
, 
22960   _swigc__p_wxProgressDialog
, 
22962   _swigc__p_wxPyCommandEvent
, 
22963   _swigc__p_wxPyEvent
, 
22964   _swigc__p_wxPyGridCellAttrProvider
, 
22965   _swigc__p_wxPyGridCellEditor
, 
22966   _swigc__p_wxPyGridCellRenderer
, 
22967   _swigc__p_wxPyGridTableBase
, 
22968   _swigc__p_wxPyHtmlListBox
, 
22969   _swigc__p_wxPyImageHandler
, 
22970   _swigc__p_wxPyPanel
, 
22971   _swigc__p_wxPyPopupTransientWindow
, 
22972   _swigc__p_wxPyPreviewControlBar
, 
22973   _swigc__p_wxPyPreviewFrame
, 
22974   _swigc__p_wxPyPrintPreview
, 
22975   _swigc__p_wxPyPrintout
, 
22976   _swigc__p_wxPyScrolledWindow
, 
22977   _swigc__p_wxPySizer
, 
22978   _swigc__p_wxPyTaskBarIcon
, 
22979   _swigc__p_wxPyVListBox
, 
22980   _swigc__p_wxPyVScrolledWindow
, 
22981   _swigc__p_wxPyValidator
, 
22982   _swigc__p_wxPyWindow
, 
22983   _swigc__p_wxQueryLayoutInfoEvent
, 
22984   _swigc__p_wxQueryNewPaletteEvent
, 
22986   _swigc__p_wxSashEvent
, 
22987   _swigc__p_wxSashLayoutWindow
, 
22988   _swigc__p_wxSashWindow
, 
22989   _swigc__p_wxScrollEvent
, 
22990   _swigc__p_wxScrollWinEvent
, 
22991   _swigc__p_wxScrolledWindow
, 
22992   _swigc__p_wxSetCursorEvent
, 
22993   _swigc__p_wxShowEvent
, 
22994   _swigc__p_wxSimpleHtmlListBox
, 
22995   _swigc__p_wxSingleChoiceDialog
, 
22997   _swigc__p_wxSizeEvent
, 
22999   _swigc__p_wxSizerItem
, 
23000   _swigc__p_wxSplashScreen
, 
23001   _swigc__p_wxSplashScreenWindow
, 
23002   _swigc__p_wxSplitterEvent
, 
23003   _swigc__p_wxSplitterWindow
, 
23004   _swigc__p_wxStaticBoxSizer
, 
23005   _swigc__p_wxStatusBar
, 
23006   _swigc__p_wxStdDialogButtonSizer
, 
23007   _swigc__p_wxString
, 
23008   _swigc__p_wxSysColourChangedEvent
, 
23009   _swigc__p_wxTGAHandler
, 
23010   _swigc__p_wxTIFFHandler
, 
23011   _swigc__p_wxTaskBarIconEvent
, 
23012   _swigc__p_wxTextEntryDialog
, 
23013   _swigc__p_wxTipWindow
, 
23014   _swigc__p_wxTopLevelWindow
, 
23015   _swigc__p_wxUpdateUIEvent
, 
23016   _swigc__p_wxValidator
, 
23017   _swigc__p_wxVisualAttributes
, 
23018   _swigc__p_wxWindow
, 
23019   _swigc__p_wxWindowCreateEvent
, 
23020   _swigc__p_wxWindowDestroyEvent
, 
23021   _swigc__p_wxXPMHandler
, 
23025 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ 
23027 static swig_const_info swig_const_table
[] = { 
23028 {0, 0, 0, 0.0, 0, 0}}; 
23033 /* ----------------------------------------------------------------------------- 
23034  * Type initialization: 
23035  * This problem is tough by the requirement that no dynamic  
23036  * memory is used. Also, since swig_type_info structures store pointers to  
23037  * swig_cast_info structures and swig_cast_info structures store pointers back 
23038  * to swig_type_info structures, we need some lookup code at initialization.  
23039  * The idea is that swig generates all the structures that are needed.  
23040  * The runtime then collects these partially filled structures.  
23041  * The SWIG_InitializeModule function takes these initial arrays out of  
23042  * swig_module, and does all the lookup, filling in the swig_module.types 
23043  * array with the correct data and linking the correct swig_cast_info 
23044  * structures together. 
23046  * The generated swig_type_info structures are assigned staticly to an initial  
23047  * array. We just loop though that array, and handle each type individually. 
23048  * First we lookup if this type has been already loaded, and if so, use the 
23049  * loaded structure instead of the generated one. Then we have to fill in the 
23050  * cast linked list. The cast data is initially stored in something like a 
23051  * two-dimensional array. Each row corresponds to a type (there are the same 
23052  * number of rows as there are in the swig_type_initial array). Each entry in 
23053  * a column is one of the swig_cast_info structures for that type. 
23054  * The cast_initial array is actually an array of arrays, because each row has 
23055  * a variable number of columns. So to actually build the cast linked list, 
23056  * we find the array of casts associated with the type, and loop through it  
23057  * adding the casts to the list. The one last trick we need to do is making 
23058  * sure the type pointer in the swig_cast_info struct is correct. 
23060  * First off, we lookup the cast->type name to see if it is already loaded.  
23061  * There are three cases to handle: 
23062  *  1) If the cast->type has already been loaded AND the type we are adding 
23063  *     casting info to has not been loaded (it is in this module), THEN we 
23064  *     replace the cast->type pointer with the type pointer that has already 
23066  *  2) If BOTH types (the one we are adding casting info to, and the  
23067  *     cast->type) are loaded, THEN the cast info has already been loaded by 
23068  *     the previous module so we just ignore it. 
23069  *  3) Finally, if cast->type has not already been loaded, then we add that 
23070  *     swig_cast_info to the linked list (because the cast->type) pointer will 
23072  * ----------------------------------------------------------------------------- */ 
23082 #define SWIGRUNTIME_DEBUG 
23086 SWIG_InitializeModule(void *clientdata
) { 
23088   swig_module_info 
*module_head
; 
23089   static int init_run 
= 0; 
23091   clientdata 
= clientdata
; 
23093   if (init_run
) return; 
23096   /* Initialize the swig_module */ 
23097   swig_module
.type_initial 
= swig_type_initial
; 
23098   swig_module
.cast_initial 
= swig_cast_initial
; 
23100   /* Try and load any already created modules */ 
23101   module_head 
= SWIG_GetModule(clientdata
); 
23103     swig_module
.next 
= module_head
->next
; 
23104     module_head
->next 
= &swig_module
; 
23106     /* This is the first module loaded */ 
23107     swig_module
.next 
= &swig_module
; 
23108     SWIG_SetModule(clientdata
, &swig_module
); 
23111   /* Now work on filling in swig_module.types */ 
23112 #ifdef SWIGRUNTIME_DEBUG 
23113   printf("SWIG_InitializeModule: size %d\n", swig_module
.size
); 
23115   for (i 
= 0; i 
< swig_module
.size
; ++i
) { 
23116     swig_type_info 
*type 
= 0; 
23117     swig_type_info 
*ret
; 
23118     swig_cast_info 
*cast
; 
23120 #ifdef SWIGRUNTIME_DEBUG 
23121     printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
); 
23124     /* if there is another module already loaded */ 
23125     if (swig_module
.next 
!= &swig_module
) { 
23126       type 
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
); 
23129       /* Overwrite clientdata field */ 
23130 #ifdef SWIGRUNTIME_DEBUG 
23131       printf("SWIG_InitializeModule: found type %s\n", type
->name
); 
23133       if (swig_module
.type_initial
[i
]->clientdata
) { 
23134         type
->clientdata 
= swig_module
.type_initial
[i
]->clientdata
; 
23135 #ifdef SWIGRUNTIME_DEBUG 
23136         printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
); 
23140       type 
= swig_module
.type_initial
[i
]; 
23143     /* Insert casting types */ 
23144     cast 
= swig_module
.cast_initial
[i
]; 
23145     while (cast
->type
) { 
23146       /* Don't need to add information already in the list */ 
23148 #ifdef SWIGRUNTIME_DEBUG 
23149       printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
); 
23151       if (swig_module
.next 
!= &swig_module
) { 
23152         ret 
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
); 
23153 #ifdef SWIGRUNTIME_DEBUG 
23154         if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
); 
23158         if (type 
== swig_module
.type_initial
[i
]) { 
23159 #ifdef SWIGRUNTIME_DEBUG 
23160           printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
); 
23165           /* Check for casting already in the list */ 
23166           swig_cast_info 
*ocast 
= SWIG_TypeCheck(ret
->name
, type
); 
23167 #ifdef SWIGRUNTIME_DEBUG 
23168           if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
); 
23170           if (!ocast
) ret 
= 0; 
23175 #ifdef SWIGRUNTIME_DEBUG 
23176         printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
); 
23179           type
->cast
->prev 
= cast
; 
23180           cast
->next 
= type
->cast
; 
23186     /* Set entry in modules->types array equal to the type */ 
23187     swig_module
.types
[i
] = type
; 
23189   swig_module
.types
[i
] = 0; 
23191 #ifdef SWIGRUNTIME_DEBUG 
23192   printf("**** SWIG_InitializeModule: Cast List ******\n"); 
23193   for (i 
= 0; i 
< swig_module
.size
; ++i
) { 
23195     swig_cast_info 
*cast 
= swig_module
.cast_initial
[i
]; 
23196     printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
); 
23197     while (cast
->type
) { 
23198       printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
); 
23202     printf("---- Total casts: %d\n",j
); 
23204   printf("**** SWIG_InitializeModule: Cast List ******\n"); 
23208 /* This function will propagate the clientdata field of type to 
23209 * any new swig_type_info structures that have been added into the list 
23210 * of equivalent types.  It is like calling 
23211 * SWIG_TypeClientData(type, clientdata) a second time. 
23214 SWIG_PropagateClientData(void) { 
23216   swig_cast_info 
*equiv
; 
23217   static int init_run 
= 0; 
23219   if (init_run
) return; 
23222   for (i 
= 0; i 
< swig_module
.size
; i
++) { 
23223     if (swig_module
.types
[i
]->clientdata
) { 
23224       equiv 
= swig_module
.types
[i
]->cast
; 
23226         if (!equiv
->converter
) { 
23227           if (equiv
->type 
&& !equiv
->type
->clientdata
) 
23228           SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
); 
23230         equiv 
= equiv
->next
; 
23250   /* Python-specific SWIG API */ 
23251 #define SWIG_newvarlink()                             SWIG_Python_newvarlink() 
23252 #define SWIG_addvarlink(p, name, get_attr, set_attr)  SWIG_Python_addvarlink(p, name, get_attr, set_attr) 
23253 #define SWIG_InstallConstants(d, constants)           SWIG_Python_InstallConstants(d, constants) 
23255   /* ----------------------------------------------------------------------------- 
23256    * global variable support code. 
23257    * ----------------------------------------------------------------------------- */ 
23259   typedef struct swig_globalvar 
{ 
23260     char       *name
;                  /* Name of global variable */ 
23261     PyObject 
*(*get_attr
)(void);       /* Return the current value */ 
23262     int       (*set_attr
)(PyObject 
*); /* Set the value */ 
23263     struct swig_globalvar 
*next
; 
23266   typedef struct swig_varlinkobject 
{ 
23268     swig_globalvar 
*vars
; 
23269   } swig_varlinkobject
; 
23271   SWIGINTERN PyObject 
* 
23272   swig_varlink_repr(swig_varlinkobject 
*SWIGUNUSEDPARM(v
)) { 
23273     return PyString_FromString("<Swig global variables>"); 
23276   SWIGINTERN PyObject 
* 
23277   swig_varlink_str(swig_varlinkobject 
*v
) { 
23278     PyObject 
*str 
= PyString_FromString("("); 
23279     swig_globalvar  
*var
; 
23280     for (var 
= v
->vars
; var
; var
=var
->next
) { 
23281       PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
)); 
23282       if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", ")); 
23284     PyString_ConcatAndDel(&str
,PyString_FromString(")")); 
23289   swig_varlink_print(swig_varlinkobject 
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) { 
23290     PyObject 
*str 
= swig_varlink_str(v
); 
23291     fprintf(fp
,"Swig global variables "); 
23292     fprintf(fp
,"%s\n", PyString_AsString(str
)); 
23298   swig_varlink_dealloc(swig_varlinkobject 
*v
) { 
23299     swig_globalvar 
*var 
= v
->vars
; 
23301       swig_globalvar 
*n 
= var
->next
; 
23308   SWIGINTERN PyObject 
* 
23309   swig_varlink_getattr(swig_varlinkobject 
*v
, char *n
) { 
23310     PyObject 
*res 
= NULL
; 
23311     swig_globalvar 
*var 
= v
->vars
; 
23313       if (strcmp(var
->name
,n
) == 0) { 
23314         res 
= (*var
->get_attr
)(); 
23319     if (res 
== NULL 
&& !PyErr_Occurred()) { 
23320       PyErr_SetString(PyExc_NameError
,"Unknown C global variable"); 
23326   swig_varlink_setattr(swig_varlinkobject 
*v
, char *n
, PyObject 
*p
) { 
23328     swig_globalvar 
*var 
= v
->vars
; 
23330       if (strcmp(var
->name
,n
) == 0) { 
23331         res 
= (*var
->set_attr
)(p
); 
23336     if (res 
== 1 && !PyErr_Occurred()) { 
23337       PyErr_SetString(PyExc_NameError
,"Unknown C global variable"); 
23342   SWIGINTERN PyTypeObject
* 
23343   swig_varlink_type(void) { 
23344     static char varlink__doc__
[] = "Swig var link object"; 
23345     static PyTypeObject varlink_type
; 
23346     static int type_init 
= 0;   
23348       const PyTypeObject tmp
 
23350         PyObject_HEAD_INIT(NULL
) 
23351         0,                                  /* Number of items in variable part (ob_size) */ 
23352         (char *)"swigvarlink",              /* Type name (tp_name) */ 
23353         sizeof(swig_varlinkobject
),         /* Basic size (tp_basicsize) */ 
23354         0,                                  /* Itemsize (tp_itemsize) */ 
23355         (destructor
) swig_varlink_dealloc
,   /* Deallocator (tp_dealloc) */  
23356         (printfunc
) swig_varlink_print
,     /* Print (tp_print) */ 
23357         (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */ 
23358         (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */ 
23359         0,                                  /* tp_compare */ 
23360         (reprfunc
) swig_varlink_repr
,       /* tp_repr */ 
23361         0,                                  /* tp_as_number */ 
23362         0,                                  /* tp_as_sequence */ 
23363         0,                                  /* tp_as_mapping */ 
23366         (reprfunc
)swig_varlink_str
,        /* tp_str */ 
23367         0,                                  /* tp_getattro */ 
23368         0,                                  /* tp_setattro */ 
23369         0,                                  /* tp_as_buffer */ 
23371         varlink__doc__
,                     /* tp_doc */ 
23372         0,                                  /* tp_traverse */ 
23374         0,                                  /* tp_richcompare */ 
23375         0,                                  /* tp_weaklistoffset */ 
23376 #if PY_VERSION_HEX >= 0x02020000 
23377         0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ 
23379 #if PY_VERSION_HEX >= 0x02030000 
23382 #ifdef COUNT_ALLOCS 
23383         0,0,0,0                             /* tp_alloc -> tp_next */ 
23386       varlink_type 
= tmp
; 
23387       varlink_type
.ob_type 
= &PyType_Type
; 
23390     return &varlink_type
; 
23393   /* Create a variable linking object for use later */ 
23394   SWIGINTERN PyObject 
* 
23395   SWIG_Python_newvarlink(void) { 
23396     swig_varlinkobject 
*result 
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type()); 
23400     return ((PyObject
*) result
); 
23404   SWIG_Python_addvarlink(PyObject 
*p
, char *name
, PyObject 
*(*get_attr
)(void), int (*set_attr
)(PyObject 
*p
)) { 
23405     swig_varlinkobject 
*v 
= (swig_varlinkobject 
*) p
; 
23406     swig_globalvar 
*gv 
= (swig_globalvar 
*) malloc(sizeof(swig_globalvar
)); 
23408       size_t size 
= strlen(name
)+1; 
23409       gv
->name 
= (char *)malloc(size
); 
23411         strncpy(gv
->name
,name
,size
); 
23412         gv
->get_attr 
= get_attr
; 
23413         gv
->set_attr 
= set_attr
; 
23414         gv
->next 
= v
->vars
; 
23420   SWIGINTERN PyObject 
* 
23422     static PyObject 
*_SWIG_globals 
= 0;  
23423     if (!_SWIG_globals
) _SWIG_globals 
= SWIG_newvarlink();   
23424     return _SWIG_globals
; 
23427   /* ----------------------------------------------------------------------------- 
23428    * constants/methods manipulation 
23429    * ----------------------------------------------------------------------------- */ 
23431   /* Install Constants */ 
23433   SWIG_Python_InstallConstants(PyObject 
*d
, swig_const_info constants
[]) { 
23436     for (i 
= 0; constants
[i
].type
; ++i
) { 
23437       switch(constants
[i
].type
) { 
23438       case SWIG_PY_POINTER
: 
23439         obj 
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0); 
23441       case SWIG_PY_BINARY
: 
23442         obj 
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
)); 
23449         PyDict_SetItemString(d
, constants
[i
].name
, obj
); 
23455   /* -----------------------------------------------------------------------------*/ 
23456   /* Fix SwigMethods to carry the callback ptrs when needed */ 
23457   /* -----------------------------------------------------------------------------*/ 
23460   SWIG_Python_FixMethods(PyMethodDef 
*methods
, 
23461     swig_const_info 
*const_table
, 
23462     swig_type_info 
**types
, 
23463     swig_type_info 
**types_initial
) { 
23465     for (i 
= 0; methods
[i
].ml_name
; ++i
) { 
23466       const char *c 
= methods
[i
].ml_doc
; 
23467       if (c 
&& (c 
= strstr(c
, "swig_ptr: "))) { 
23469         swig_const_info 
*ci 
= 0; 
23470         const char *name 
= c 
+ 10; 
23471         for (j 
= 0; const_table
[j
].type
; ++j
) { 
23472           if (strncmp(const_table
[j
].name
, name
,  
23473               strlen(const_table
[j
].name
)) == 0) { 
23474             ci 
= &(const_table
[j
]); 
23479           size_t shift 
= (ci
->ptype
) - types
; 
23480           swig_type_info 
*ty 
= types_initial
[shift
]; 
23481           size_t ldoc 
= (c 
- methods
[i
].ml_doc
); 
23482           size_t lptr 
= strlen(ty
->name
)+2*sizeof(void*)+2; 
23483           char *ndoc 
= (char*)malloc(ldoc 
+ lptr 
+ 10); 
23486             void *ptr 
= (ci
->type 
== SWIG_PY_POINTER
) ? ci
->pvalue 
: 0; 
23488               strncpy(buff
, methods
[i
].ml_doc
, ldoc
); 
23490               strncpy(buff
, "swig_ptr: ", 10); 
23492               SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
); 
23493               methods
[i
].ml_doc 
= ndoc
; 
23505 /* -----------------------------------------------------------------------------* 
23506  *  Partial Init method 
23507  * -----------------------------------------------------------------------------*/ 
23512 SWIGEXPORT 
void SWIG_init(void) { 
23515   /* Fix SwigMethods to carry the callback ptrs when needed */ 
23516   SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
); 
23518   m 
= Py_InitModule((char *) SWIG_name
, SwigMethods
); 
23519   d 
= PyModule_GetDict(m
); 
23521   SWIG_InitializeModule(0); 
23522   SWIG_InstallConstants(d
,swig_const_table
); 
23525   SWIG_Python_SetConstant(d
, "GRID_VALUE_STRING",SWIG_FromCharPtr("string")); 
23526   SWIG_Python_SetConstant(d
, "GRID_VALUE_BOOL",SWIG_FromCharPtr("bool")); 
23527   SWIG_Python_SetConstant(d
, "GRID_VALUE_NUMBER",SWIG_FromCharPtr("long")); 
23528   SWIG_Python_SetConstant(d
, "GRID_VALUE_FLOAT",SWIG_FromCharPtr("double")); 
23529   SWIG_Python_SetConstant(d
, "GRID_VALUE_CHOICE",SWIG_FromCharPtr("choice")); 
23530   SWIG_Python_SetConstant(d
, "GRID_VALUE_TEXT",SWIG_FromCharPtr("string")); 
23531   SWIG_Python_SetConstant(d
, "GRID_VALUE_LONG",SWIG_FromCharPtr("long")); 
23532   SWIG_Python_SetConstant(d
, "GRID_VALUE_CHOICEINT",SWIG_FromCharPtr("choiceint")); 
23533   SWIG_Python_SetConstant(d
, "GRID_VALUE_DATETIME",SWIG_FromCharPtr("datetime")); 
23534   PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals()); 
23535   SWIG_addvarlink(SWIG_globals(),(char*)"GridNoCellCoords",GridNoCellCoords_get
, GridNoCellCoords_set
); 
23536   SWIG_addvarlink(SWIG_globals(),(char*)"GridNoCellRect",GridNoCellRect_get
, GridNoCellRect_set
); 
23537   SWIG_Python_SetConstant(d
, "GRID_DEFAULT_NUMBER_ROWS",SWIG_From_int(static_cast< int >(wxGRID_DEFAULT_NUMBER_ROWS
))); 
23538   SWIG_Python_SetConstant(d
, "GRID_DEFAULT_NUMBER_COLS",SWIG_From_int(static_cast< int >(wxGRID_DEFAULT_NUMBER_COLS
))); 
23539   SWIG_Python_SetConstant(d
, "GRID_DEFAULT_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxGRID_DEFAULT_ROW_HEIGHT
))); 
23540   SWIG_Python_SetConstant(d
, "GRID_DEFAULT_COL_WIDTH",SWIG_From_int(static_cast< int >(wxGRID_DEFAULT_COL_WIDTH
))); 
23541   SWIG_Python_SetConstant(d
, "GRID_DEFAULT_COL_LABEL_HEIGHT",SWIG_From_int(static_cast< int >(wxGRID_DEFAULT_COL_LABEL_HEIGHT
))); 
23542   SWIG_Python_SetConstant(d
, "GRID_DEFAULT_ROW_LABEL_WIDTH",SWIG_From_int(static_cast< int >(wxGRID_DEFAULT_ROW_LABEL_WIDTH
))); 
23543   SWIG_Python_SetConstant(d
, "GRID_LABEL_EDGE_ZONE",SWIG_From_int(static_cast< int >(wxGRID_LABEL_EDGE_ZONE
))); 
23544   SWIG_Python_SetConstant(d
, "GRID_MIN_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxGRID_MIN_ROW_HEIGHT
))); 
23545   SWIG_Python_SetConstant(d
, "GRID_MIN_COL_WIDTH",SWIG_From_int(static_cast< int >(wxGRID_MIN_COL_WIDTH
))); 
23546   SWIG_Python_SetConstant(d
, "GRID_DEFAULT_SCROLLBAR_WIDTH",SWIG_From_int(static_cast< int >(wxGRID_DEFAULT_SCROLLBAR_WIDTH
))); 
23547   SWIG_addvarlink(SWIG_globals(),(char*)"OneString",OneString_get
, OneString_set
); 
23548   SWIG_Python_SetConstant(d
, "GridCellAttr_Any",SWIG_From_int(static_cast< int >(wxGridCellAttr::Any
))); 
23549   SWIG_Python_SetConstant(d
, "GridCellAttr_Default",SWIG_From_int(static_cast< int >(wxGridCellAttr::Default
))); 
23550   SWIG_Python_SetConstant(d
, "GridCellAttr_Cell",SWIG_From_int(static_cast< int >(wxGridCellAttr::Cell
))); 
23551   SWIG_Python_SetConstant(d
, "GridCellAttr_Row",SWIG_From_int(static_cast< int >(wxGridCellAttr::Row
))); 
23552   SWIG_Python_SetConstant(d
, "GridCellAttr_Col",SWIG_From_int(static_cast< int >(wxGridCellAttr::Col
))); 
23553   SWIG_Python_SetConstant(d
, "GridCellAttr_Merged",SWIG_From_int(static_cast< int >(wxGridCellAttr::Merged
))); 
23554   SWIG_Python_SetConstant(d
, "GRIDTABLE_REQUEST_VIEW_GET_VALUES",SWIG_From_int(static_cast< int >(wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
))); 
23555   SWIG_Python_SetConstant(d
, "GRIDTABLE_REQUEST_VIEW_SEND_VALUES",SWIG_From_int(static_cast< int >(wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
))); 
23556   SWIG_Python_SetConstant(d
, "GRIDTABLE_NOTIFY_ROWS_INSERTED",SWIG_From_int(static_cast< int >(wxGRIDTABLE_NOTIFY_ROWS_INSERTED
))); 
23557   SWIG_Python_SetConstant(d
, "GRIDTABLE_NOTIFY_ROWS_APPENDED",SWIG_From_int(static_cast< int >(wxGRIDTABLE_NOTIFY_ROWS_APPENDED
))); 
23558   SWIG_Python_SetConstant(d
, "GRIDTABLE_NOTIFY_ROWS_DELETED",SWIG_From_int(static_cast< int >(wxGRIDTABLE_NOTIFY_ROWS_DELETED
))); 
23559   SWIG_Python_SetConstant(d
, "GRIDTABLE_NOTIFY_COLS_INSERTED",SWIG_From_int(static_cast< int >(wxGRIDTABLE_NOTIFY_COLS_INSERTED
))); 
23560   SWIG_Python_SetConstant(d
, "GRIDTABLE_NOTIFY_COLS_APPENDED",SWIG_From_int(static_cast< int >(wxGRIDTABLE_NOTIFY_COLS_APPENDED
))); 
23561   SWIG_Python_SetConstant(d
, "GRIDTABLE_NOTIFY_COLS_DELETED",SWIG_From_int(static_cast< int >(wxGRIDTABLE_NOTIFY_COLS_DELETED
))); 
23562   SWIG_Python_SetConstant(d
, "Grid_wxGridSelectCells",SWIG_From_int(static_cast< int >(wxGrid::wxGridSelectCells
))); 
23563   SWIG_Python_SetConstant(d
, "Grid_wxGridSelectRows",SWIG_From_int(static_cast< int >(wxGrid::wxGridSelectRows
))); 
23564   SWIG_Python_SetConstant(d
, "Grid_wxGridSelectColumns",SWIG_From_int(static_cast< int >(wxGrid::wxGridSelectColumns
))); 
23565   PyDict_SetItemString(d
, "wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_CLICK
)); 
23566   PyDict_SetItemString(d
, "wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_CLICK
)); 
23567   PyDict_SetItemString(d
, "wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_DCLICK
)); 
23568   PyDict_SetItemString(d
, "wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_DCLICK
)); 
23569   PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_CLICK
)); 
23570   PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_CLICK
)); 
23571   PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_DCLICK
)); 
23572   PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_DCLICK
)); 
23573   PyDict_SetItemString(d
, "wxEVT_GRID_ROW_SIZE", PyInt_FromLong(wxEVT_GRID_ROW_SIZE
)); 
23574   PyDict_SetItemString(d
, "wxEVT_GRID_COL_SIZE", PyInt_FromLong(wxEVT_GRID_COL_SIZE
)); 
23575   PyDict_SetItemString(d
, "wxEVT_GRID_RANGE_SELECT", PyInt_FromLong(wxEVT_GRID_RANGE_SELECT
)); 
23576   PyDict_SetItemString(d
, "wxEVT_GRID_CELL_CHANGE", PyInt_FromLong(wxEVT_GRID_CELL_CHANGE
)); 
23577   PyDict_SetItemString(d
, "wxEVT_GRID_SELECT_CELL", PyInt_FromLong(wxEVT_GRID_SELECT_CELL
)); 
23578   PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong(wxEVT_GRID_EDITOR_SHOWN
)); 
23579   PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong(wxEVT_GRID_EDITOR_HIDDEN
)); 
23580   PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong(wxEVT_GRID_EDITOR_CREATED
)); 
23581   PyDict_SetItemString(d
, "wxEVT_GRID_CELL_BEGIN_DRAG", PyInt_FromLong(wxEVT_GRID_CELL_BEGIN_DRAG
));